diff --git a/README.md b/README.md index 392fc9e55..80a8be547 100755 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The Developer Portal UI can also be used to help build your integration by showi ### Gradle ```groovy -implementation 'com.airbyte.api:public-api:0.0.6' +implementation 'com.airbyte.api:public-api:0.0.1' ``` @@ -33,7 +33,7 @@ implementation 'com.airbyte.api:public-api:0.0.6' package hello.world; import com.airbyte.api.Airbyte; - +import com.airbyte.api.models.shared.Security; import com.airbyte.api.models.operations.CreateConnectionResponse; import com.airbyte.api.models.shared.ConnectionCreateRequestNamespaceDefinitionEnum; import com.airbyte.api.models.shared.ConnectionCreateRequest; @@ -48,6 +48,9 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() + .setSecurity(new Security() {{ + bearerAuth = "Bearer YOUR_BEARER_TOKEN_HERE"; + }}) .build(); com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest() {{ @@ -162,11 +165,6 @@ public class Application { * `getJob` - Get Job status and details * `listJobs` - List Jobs by sync type -### oAuth - -* `createOrUpdateWorkspaceOAuthCredentials` - Initiate OAuth for a source. -* `oauthCallback` - Receive OAuth callbacks - ### sources * `createSource` - Create a source @@ -185,10 +183,6 @@ public class Application { * `deleteWorkspace` - Delete a Workspace * `getWorkspace` - Get Workspace details * `listWorkspaces` - List workspaces - -### health - -* `getHealthCheck` - Health Check ### Maturity diff --git a/RELEASES.md b/RELEASES.md index be07ba76b..6aed82745 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -78,4 +78,12 @@ Based on: - OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download - Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy ### Releases -- [Maven Central v0.0.6] https://central.sonatype.com/artifact/com.airbyte/api/0.0.6 - . \ No newline at end of file +- [Maven Central v0.0.6] https://central.sonatype.com/artifact/com.airbyte/api/0.0.6 - . + +## 2023-04-18 23:55:25 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download +- Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy +### Releases +- [Maven Central v0.0.1] https://central.sonatype.com/artifact/com.airbyte/api/0.0.1 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 07a5fe6bb..fac0dc98d 100755 --- a/USAGE.md +++ b/USAGE.md @@ -3,7 +3,7 @@ package hello.world; import com.airbyte.api.Airbyte; - +import com.airbyte.api.models.shared.Security; import com.airbyte.api.models.operations.CreateConnectionResponse; import com.airbyte.api.models.shared.ConnectionCreateRequestNamespaceDefinitionEnum; import com.airbyte.api.models.shared.ConnectionCreateRequest; @@ -18,6 +18,9 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() + .setSecurity(new Security() {{ + bearerAuth = "Bearer YOUR_BEARER_TOKEN_HERE"; + }}) .build(); com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest() {{ diff --git a/files.gen b/files.gen index 34009073f..085f40d18 100755 --- a/files.gen +++ b/files.gen @@ -1,11 +1,9 @@ lib/src/main/java/com/airbyte/api/Connections.java lib/src/main/java/com/airbyte/api/Destinations.java lib/src/main/java/com/airbyte/api/Jobs.java -lib/src/main/java/com/airbyte/api/OAuth.java lib/src/main/java/com/airbyte/api/Sources.java lib/src/main/java/com/airbyte/api/Streams.java lib/src/main/java/com/airbyte/api/Workspaces.java -lib/src/main/java/com/airbyte/api/Health.java lib/src/main/java/com/airbyte/api/Airbyte.java .gitattributes .gitignore @@ -58,10 +56,6 @@ lib/src/main/java/com/airbyte/api/models/operations/GetJobRequest.java lib/src/main/java/com/airbyte/api/models/operations/GetJobResponse.java lib/src/main/java/com/airbyte/api/models/operations/ListJobsRequest.java lib/src/main/java/com/airbyte/api/models/operations/ListJobsResponse.java -lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java -lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java -lib/src/main/java/com/airbyte/api/models/operations/OauthCallbackRequest.java -lib/src/main/java/com/airbyte/api/models/operations/OauthCallbackResponse.java lib/src/main/java/com/airbyte/api/models/operations/CreateSourceResponse.java lib/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequest.java lib/src/main/java/com/airbyte/api/models/operations/DeleteSourceResponse.java @@ -79,7 +73,6 @@ lib/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequest.java lib/src/main/java/com/airbyte/api/models/operations/GetWorkspaceResponse.java lib/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequest.java lib/src/main/java/com/airbyte/api/models/operations/ListWorkspacesResponse.java -lib/src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java lib/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java lib/src/main/java/com/airbyte/api/models/shared/ConnectionStatusEnumEnum.java lib/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleResponse.java @@ -95,20 +88,1013 @@ lib/src/main/java/com/airbyte/api/models/shared/ConnectionSyncModeEnumEnum.java lib/src/main/java/com/airbyte/api/models/shared/ConnectionsResponse.java lib/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java lib/src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAmazonSqsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAWSRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqs.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMUser.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMRole.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeAwsDatalakeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcardEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorage.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcardEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeChooseHowToPartitionDataEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeS3BucketRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValues.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDatasetLocationEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryBigqueryEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStaging.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodStandardInsertsMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodStandardInserts.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryTransformationQueryRunTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedDatasetLocationEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedBigqueryDenormalizedEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStaging.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodStandardInserts.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalized.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationCassandraCassandraEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationCassandra.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseClickhouseEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationConvexConvexEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationConvex.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabendDatabendEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabend.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAzureBlobStorageDataSourceTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAzureBlobStorage.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3DataSourceTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceRecommendedManagedTables.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDatabricksEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodbDynamodbEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodbDynamoDBRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodUsernamePasswordMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodUsernamePassword.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodApiKeySecretMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodApiKeySecret.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchElasticsearchEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltFireboltEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodExternalTableViaS3MethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodExternalTableViaS3.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodSQLInsertsMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodSQLInserts.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationFirestoreFirestoreEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsCredentialHMACKeyCredentialTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsCredentialHMACKey.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsGcsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorageFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorage.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSON.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValues.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecXz.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2CodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvro.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGCSGCSBucketRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsAuthenticationViaGoogleOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsGoogleSheetsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheets.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationKeenKeenEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationKeen.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationKinesisKinesisEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationKinesis.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreMariadbColumnstoreEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstore.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMeilisearchMeilisearchEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMeilisearch.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeLoginPasswordAuthorizationEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeLoginPassword.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeNoneAuthorizationEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeNone.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbMongodbEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeMongoDBAtlasInstanceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeMongoDBAtlas.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeReplicaSetInstanceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeReplicaSet.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeStandaloneMongoDbInstance.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlMssqlEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedVerifyCertificate.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedTrustServerCertificate.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMssql.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlMysqlEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationMysql.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleOracleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationOracle.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresPostgresEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyFullModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyFull.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyCaModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyCa.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeRequireModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeRequire.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModePreferModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModePrefer.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeAllowModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeAllow.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeDisableModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeDisable.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPubsubPubsubEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarPulsarEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarTopicTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsar.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRabbitmqRabbitmqEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRabbitmq.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisCacheTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisRedisEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeVerifyFullModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeVerifyFull.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeDisableModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeDisable.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedis.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftRedshiftEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3Staging.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodStandardMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodStandard.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRocksetRocksetEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationRockset.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3S3Enum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorageCompressionCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorageFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorage.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSON.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValues.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecSnappy.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecZstandard.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecXzCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecXz.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecBzip2CodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecBzip2.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecDeflate.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvro.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3GlueEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSerializationLibraryEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationS3Glue.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationScyllaScyllaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationScylla.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSftpJsonSftpJsonEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsUsernameAndPassword.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsKeyPairAuthenticationAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsKeyPairAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflakeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAzureBlobStorageStaging.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3Staging.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodRecommendedInternalStaging.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodSelectAnotherOptionMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodSelectAnotherOption.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesenseTypesenseEnum.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java lib/src/main/java/com/airbyte/api/models/shared/DestinationsResponse.java lib/src/main/java/com/airbyte/api/models/shared/JobResponse.java lib/src/main/java/com/airbyte/api/models/shared/JobStatusEnumEnum.java lib/src/main/java/com/airbyte/api/models/shared/JobTypeEnumEnum.java lib/src/main/java/com/airbyte/api/models/shared/JobCreateRequest.java lib/src/main/java/com/airbyte/api/models/shared/JobsResponse.java -lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequestActorTypeEnum.java -lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java lib/src/main/java/com/airbyte/api/models/shared/SourceResponse.java lib/src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapiPokeapiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsPersonalAccessTokenAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsPersonalAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsOAuth20AuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtableEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbReplicationMethodStandardMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbReplicationMethodStandard.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbAlloydbEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydb.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsReportRecordTypesEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAdsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsStateFilterEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSEnvironmentEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartnerEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAmazonSqsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeDataRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeAmplitudeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java +lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDatasetApifyDatasetEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsanaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2ConfidentialApplication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0Auth0Enum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrailAwsCloudtrailEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAzureTableAzureTableEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBambooHrBambooHrEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBigcommerceBigcommerceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBigcommerce.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigqueryEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBigquery.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBingAdsAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAdsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBingAds.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironmentEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBraintreeBraintreeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBraintree.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBrazeBrazeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceBraze.java +lib/src/main/java/com/airbyte/api/models/shared/SourceChargebeeProductCatalogEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceChargebeeChargebeeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceChargebee.java +lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogulIntervalEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogulChartmogulEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouseEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickupApiClickupApiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCloseComCloseComEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCodaCodaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCoda.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApiEnvironmentEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApiCoinApiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcapDataTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcapCoinmarketcapEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java +lib/src/main/java/com/airbyte/api/models/shared/SourceConfigcatConfigcatEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java +lib/src/main/java/com/airbyte/api/models/shared/SourceConfluenceConfluenceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceConfluence.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDatascopeDatascopeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDatascope.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDelightedDelightedEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDelighted.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDixaDixaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDixa.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDockerhubDockerhubEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDremioDremioEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDremio.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java +lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogMultiSchemaTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogMultiSchema.java +lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogSingleSchemaTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogSingleSchema.java +lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudE2eTestCloudEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloud.java +lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopusEmailoctopusEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java +lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRatesExchangeRatesEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidBreakdownsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidEnumsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigLevelEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfig.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketingEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookPagesFacebookPagesEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookPages.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFakerFakerEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFaker.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsEnabledDeletionModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsEnabled.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsDisabledDeletionModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsDisabled.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollection.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaFaunaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFauna.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureFileFormatEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSFTPSecureFileTransferProtocolStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSFTPSecureFileTransferProtocol.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSCPSecureCopyProtocolStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSCPSecureCopyProtocol.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSSHSecureShellStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSSHSecureShell.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderAzBlobAzureBlobStorageStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderAzBlobAzureBlobStorage.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderS3AmazonWebServicesStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderS3AmazonWebServices.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderGCSGoogleCloudStorageStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderGCSGoogleCloudStorage.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderHTTPSPublicWebStorageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderHTTPSPublicWeb.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureFileSecureEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecure.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFireboltFireboltEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFreshcallerFreshcallerEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdeskFreshdeskEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsalesFreshsalesEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGcsGcsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGcs.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGetlagoGetlagoEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGetlago.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsPersonalAccessTokenOptionTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsPersonalAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsOAuthOptionTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGithubGithubEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGithub.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsPrivateTokenAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsPrivateToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlabEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGitlab.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGlassfrogGlassfrogEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsCountryEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsInEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsNullableEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsSortByEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsGnewsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsTopHeadlinesTopicEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGnews.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleCredentials.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsCustomQueries.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAdsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4GoogleAnalyticsV4Enum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleDirectoryEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuthAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsoleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheetsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfontsGoogleWebfontsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReportsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWorkspaceAdminReports.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGreenhouseGreenhouseEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGridlyGridlyEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGridly.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHarvestHarvestEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubplannerHubplannerEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppCredentialsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthCredentialsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspotEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java +lib/src/main/java/com/airbyte/api/models/shared/SourceInsightlyInsightlyEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceInsightly.java +lib/src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagramEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceInstagram.java +lib/src/main/java/com/airbyte/api/models/shared/SourceInstatusInstatusEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceInstatus.java +lib/src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercomEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceIntercom.java +lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whoisIp2whoisEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java +lib/src/main/java/com/airbyte/api/models/shared/SourceIterableIterableEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceIterable.java +lib/src/main/java/com/airbyte/api/models/shared/SourceJiraJiraEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceJira.java +lib/src/main/java/com/airbyte/api/models/shared/SourceK6CloudK6CloudEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java +lib/src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceKlarnaKlarnaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceKlarna.java +lib/src/main/java/com/airbyte/api/models/shared/SourceKlaviyoKlaviyoEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java +lib/src/main/java/com/airbyte/api/models/shared/SourceKustomerSingerKustomerSingerEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceKustomerSinger.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarklyLaunchdarklyEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLemlistLemlistEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLemlist.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsAccessTokenAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsOAuth20AuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAdsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsAccessTokenAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsOAuth20AuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesLinkedinPagesEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinnworksLinnworksEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLokaliseLokaliseEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceLokalise.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsAPIKeyAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsAPIKey.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimpEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailgunMailgunEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailgun.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailjetSmsMailjetSmsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMarketoMarketoEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMarketo.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMetabaseMetabaseEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMetabase.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeamsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsProjectSecretOptionTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsProjectSecret.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsServiceAccountOptionTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsServiceAccount.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelMixpanelEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsAPITokenAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsAPIToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMondayMondayEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMonday.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeMongoDBAtlasInstanceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeMongoDBAtlas.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeReplicaSetInstanceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeReplicaSet.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeStandaloneMongoDbInstance.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbMongodbEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMongodb.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDC.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodStandardMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodStandard.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlMssqlEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedVerifyCertificate.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedTrustServerCertificate.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMssql.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMyHoursMyHoursEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMyHours.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodLogicalReplicationCDCMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodLogicalReplicationCDC.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodStandardMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodStandard.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlMysqlEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyIdentityModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyIdentity.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyCAModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyCA.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeRequiredModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeRequired.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModePreferredModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModePreferred.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/SourceMysql.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNetsuiteNetsuiteEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsAccessTokenAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNotionNotionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNotion.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesPeriodUsedForMostPopularStreamsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesNytimesEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceNytimes.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsAPITokenAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsAPIToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOktaOktaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOkta.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOmnisendOmnisendEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignalApplications.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignalOnesignalEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherLanguageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherOpenweatherEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherUnitsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataSystemIDSIDConnectionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataSystemIDSID.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataServiceNameConnectionTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataServiceName.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionTLSEncryptedVerifyCertificate.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNE.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleOracleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOracle.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOrbOrbEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOrb.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOrbitOrbitEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOrbit.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOutreachOutreachEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceOutreach.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransactionPaypalTransactionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePaystackPaystackEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePaystack.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePendoPendoEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePendo.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePersistiqPersistiqEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePexelsApiPexelsApiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsAccessTokenAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsOAuth20AuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterestEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestStatusEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePipedriveAPIKeyAuthenticationAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePipedriveAPIKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePipedrivePipedriveEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePocketContentTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePocketDetailTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePocketSortByEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePocketPocketEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePocketStateEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePocket.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApiPolygonStockApiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresReplicationMethodStandardMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresReplicationMethodStandard.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgresEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostgres.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePosthogPosthogEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePosthog.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostmarkappPostmarkappEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePrestashopPrestashopEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePublicApisPublicApisEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePublicApis.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePunkApiPunkApiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePunkApi.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePypiPypiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePypi.java +lib/src/main/java/com/airbyte/api/models/shared/SourceQualarooQualarooEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java +lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksQuickbooksEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRailzRailzEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRailz.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRechargeRechargeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRecharge.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRecreationRecreationEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRecreation.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRecruiteeRecruiteeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRecurlyRecurlyEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRecurly.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshiftEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRedshift.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetentlyEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRetently.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovidRkiCovidEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRssRssEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceRss.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlFiletypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlUnexpectedFieldBehaviorEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonl.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvroFiletypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvro.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatParquetFiletypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatParquet.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatCSVFiletypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatCSV.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3S3AmazonWebServices.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3S3Enum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceS3.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceStreamsCriteriaSearchCriteriaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceStreamsCriteria.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSingerApiTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSingerSalesforceSingerEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSinger.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaAPIKey.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaOAuthAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftSalesloftEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglassSapFieldglassEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSecodaSecodaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSecoda.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSendgridSendgridEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSendinblueSendinblueEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSenseforceSenseforceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSentrySentryEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSentry.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftpSftpEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftp.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSftpBulkEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java +lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsOAuth20AuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsAPIPasswordAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsAPIPassword.java +lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyShopifyEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceShopify.java +lib/src/main/java/com/airbyte/api/models/shared/SourceShortioShortioEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceShortio.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsAPITokenOptionTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsAPIToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsSignInViaSlackOAuthOptionTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsSignInViaSlackOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSlackSlackEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSlack.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmailySmailyEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmaily.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmartengageSmartengageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsAPIAccessTokenAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsAPIAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheetsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketingEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsUsernameAndPassword.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflakeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSonarCloudSonarCloudEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApiSpacexApiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsAPIKeyCredentialsTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsAPIKey.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsOauthAuthenticationCredentialsTitleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsOauthAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSquareSquareEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSquare.java +lib/src/main/java/com/airbyte/api/models/shared/SourceStravaAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceStravaStravaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceStrava.java +lib/src/main/java/com/airbyte/api/models/shared/SourceStripeStripeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceStripe.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionGlobalAccountUrlBaseEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionGlobalAccount.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionEUBasedAccountUrlBaseEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionEUBasedAccount.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowSurveySparrowEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveyMonkeyAuthorizationMethod.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkeyEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTempoTempoEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTempo.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApiTheGuardianApiEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsSandboxAccessTokenAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsSandboxAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketingEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTodoistTodoistEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTodoist.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTrelloTrelloEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTrello.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsAPIKeyAuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsAPIKey.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsOAuth20AuthTypeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotTrustpilotEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTvmazeScheduleTvmazeScheduleEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTwilioEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTwilio.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouterTwilioTaskrouterEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTwitterTwitterEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTwitter.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeformEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceTypeform.java +lib/src/main/java/com/airbyte/api/models/shared/SourceUsCensusUsCensusEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java +lib/src/main/java/com/airbyte/api/models/shared/SourceVantageVantageEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceVantage.java +lib/src/main/java/com/airbyte/api/models/shared/SourceWebflowWebflowEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceWebflow.java +lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunterWhiskyHunterEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java +lib/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviewsWikipediaPageviewsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java +lib/src/main/java/com/airbyte/api/models/shared/SourceWoocommerceWoocommerceEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java +lib/src/main/java/com/airbyte/api/models/shared/SourceXeroAuthenticateViaXeroOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceXeroXeroEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceXero.java +lib/src/main/java/com/airbyte/api/models/shared/SourceXkcdXkcdEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java +lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetricaYandexMetricaEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java +lib/src/main/java/com/airbyte/api/models/shared/SourceYouniumYouniumEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceYounium.java +lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalyticsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsAccessTokenCredentialsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsOAuth20CredentialsEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChatEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsAPITokenAuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsAPIToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsOAuth20AuthMethodEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsOAuth20.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshineEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupportEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalkEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZenloopZenloopEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZenloop.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmDataCenterLocationEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCRMZohoCRMEditionEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironmentEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmZohoCrmEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZoomZoomEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZoom.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZuoraZuoraEnum.java +lib/src/main/java/com/airbyte/api/models/shared/SourceZuora.java +lib/src/main/java/com/airbyte/api/models/shared/InitiateOauthResponse.java lib/src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java lib/src/main/java/com/airbyte/api/models/shared/SourcesResponse.java lib/src/main/java/com/airbyte/api/models/shared/StreamProperties.java lib/src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java lib/src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java lib/src/main/java/com/airbyte/api/models/shared/WorkspacesResponse.java +lib/src/main/java/com/airbyte/api/models/shared/Security.java USAGE.md \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 9981fde58..ab76a7907 100644 --- a/gen.yaml +++ b/gen.yaml @@ -1,16 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: dc621e1b6a47afd51fbeedb6a1f094f1 + docChecksum: 9a5d0cf1d2ebcbce14777ece8db4ccc2 docVersion: 1.0.0 - speakeasyVersion: 1.20.0 - generationVersion: 2.18.0 + speakeasyVersion: 1.20.2 + generationVersion: 2.18.2 generation: telemetryEnabled: false sdkClassName: airbyte - sdkFlattening: true singleTagPerOp: false java: - version: "" + version: 0.0.1 artifactID: api companyEmail: info@airbyte.com companyName: Airbyte diff --git a/lib/build.gradle b/lib/build.gradle index cb0b29cb6..8eb1523b6 100755 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -41,7 +41,7 @@ publishing { maven(MavenPublication) { groupId = 'com.airbyte' artifactId = 'api' - version = '0.0.6' + version = '0.0.1' from components.java diff --git a/lib/src/main/java/com/airbyte/api/Airbyte.java b/lib/src/main/java/com/airbyte/api/Airbyte.java index c0ad1e8f8..ad550accb 100755 --- a/lib/src/main/java/com/airbyte/api/Airbyte.java +++ b/lib/src/main/java/com/airbyte/api/Airbyte.java @@ -21,25 +21,23 @@ public class Airbyte { public Connections connections; public Destinations destinations; public Jobs jobs; - public OAuth oAuth; public Sources sources; public Streams streams; - public Workspaces workspaces; - public Health health; + public Workspaces workspaces; private HTTPClient _defaultClient; private HTTPClient _securityClient; - + private com.airbyte.api.models.shared.Security _security; private String _serverUrl; private String _language = "java"; - private String _sdkVersion = "0.0.6"; - private String _genVersion = "2.18.0"; + private String _sdkVersion = "0.0.1"; + private String _genVersion = "2.18.2"; /** * The Builder class allows the configuration of a new instance of the SDK. */ public static class Builder { private HTTPClient client; - + private com.airbyte.api.models.shared.Security security; private String serverUrl; private java.util.Map params = new java.util.HashMap(); @@ -56,6 +54,16 @@ public Builder setClient(HTTPClient client) { return this; } + /** + * Configures the SDK to use the provided security details. + * @param security The security details to use for all requests. + * @return The builder instance. + */ + public Builder setSecurity(com.airbyte.api.models.shared.Security security) { + this.security = security; + return this; + } + /** * Allows the overriding of the default server URL. * @param serverUrl The server URL to use for all requests. @@ -84,7 +92,7 @@ public Builder setServerURL(String serverUrl, java.util.Map para * @throws Exception Thrown if the SDK could not be built. */ public Airbyte build() throws Exception { - return new Airbyte(this.client, this.serverUrl, this.params); + return new Airbyte(this.client, this.security, this.serverUrl, this.params); } } @@ -96,13 +104,18 @@ public static Builder builder() { return new Builder(); } - private Airbyte(HTTPClient client, String serverUrl, java.util.Map params) throws Exception { + private Airbyte(HTTPClient client, com.airbyte.api.models.shared.Security security, String serverUrl, java.util.Map params) throws Exception { this._defaultClient = client; if (this._defaultClient == null) { this._defaultClient = new SpeakeasyHTTPClient(); } + if (security != null) { + this._security = security; + this._securityClient = com.airbyte.api.utils.Utils.configureSecurityClient(this._defaultClient, this._security); + } + if (this._securityClient == null) { this._securityClient = this._defaultClient; } @@ -143,15 +156,6 @@ private Airbyte(HTTPClient client, String serverUrl, java.util.Map httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -91,7 +92,8 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -123,7 +125,8 @@ public com.airbyte.api.models.operations.GetConnectionResponse getConnection(com req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -169,7 +172,8 @@ public com.airbyte.api.models.operations.ListConnectionsResponse listConnections } } - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); diff --git a/lib/src/main/java/com/airbyte/api/Destinations.java b/lib/src/main/java/com/airbyte/api/Destinations.java index c7d0fabb0..95734a9e3 100755 --- a/lib/src/main/java/com/airbyte/api/Destinations.java +++ b/lib/src/main/java/com/airbyte/api/Destinations.java @@ -49,7 +49,8 @@ public com.airbyte.api.models.operations.CreateDestinationResponse createDestina req.setBody(serializedRequestBody); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -89,7 +90,8 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -121,7 +123,8 @@ public com.airbyte.api.models.operations.GetDestinationResponse getDestination(c req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -167,7 +170,8 @@ public com.airbyte.api.models.operations.ListDestinationsResponse listDestinatio } } - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); diff --git a/lib/src/main/java/com/airbyte/api/Health.java b/lib/src/main/java/com/airbyte/api/Health.java deleted file mode 100755 index 083f3dd51..000000000 --- a/lib/src/main/java/com/airbyte/api/Health.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api; - -import com.airbyte.api.utils.HTTPClient; -import com.airbyte.api.utils.HTTPRequest; -import java.net.http.HttpResponse; - -public class Health { - - /** - * GET_HEALTH_CHECK_SERVERS contains the list of server urls available to the SDK. - */ - public static final String[] GET_HEALTH_CHECK_SERVERS = { - /** - * Override base path for health checks - */ - "https://api.airbyte.com/", - }; - - private HTTPClient _defaultClient; - private HTTPClient _securityClient; - private String _serverUrl; - private String _language; - private String _sdkVersion; - private String _genVersion; - - public Health(HTTPClient defaultClient, HTTPClient securityClient, String serverUrl, String language, String sdkVersion, String genVersion) { - this._defaultClient = defaultClient; - this._securityClient = securityClient; - this._serverUrl = serverUrl; - this._language = language; - this._sdkVersion = sdkVersion; - this._genVersion = genVersion; - } - - /** - * Health Check - * @return the response from the API call - * @throws Exception if the API call fails - */ - public com.airbyte.api.models.operations.GetHealthCheckResponse getHealthCheck() throws Exception { - return this.getHealthCheck(null); - } - - /** - * Health Check - * @param serverURL an optional server URL to use - * @return the response from the API call - * @throws Exception if the API call fails - */ - public com.airbyte.api.models.operations.GetHealthCheckResponse getHealthCheck(String serverURL) throws Exception { - String baseUrl = GET_HEALTH_CHECK_SERVERS[0]; - if (serverURL != null && !serverURL.isBlank()) { - baseUrl = serverURL; - } - - String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/health"); - - HTTPRequest req = new HTTPRequest(); - req.setMethod("GET"); - req.setURL(url); - - - HTTPClient client = this._defaultClient; - HttpResponse httpRes = client.send(req); - - String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); - - com.airbyte.api.models.operations.GetHealthCheckResponse res = new com.airbyte.api.models.operations.GetHealthCheckResponse() {{ - }}; - res.statusCode = httpRes.statusCode(); - res.contentType = contentType; - res.rawResponse = httpRes; - - if (httpRes.statusCode() == 200) { - } - - return res; - } -} \ No newline at end of file diff --git a/lib/src/main/java/com/airbyte/api/Jobs.java b/lib/src/main/java/com/airbyte/api/Jobs.java index 080bea374..83618baed 100755 --- a/lib/src/main/java/com/airbyte/api/Jobs.java +++ b/lib/src/main/java/com/airbyte/api/Jobs.java @@ -46,7 +46,8 @@ public com.airbyte.api.models.operations.CancelJobResponse cancelJob(com.airbyte req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -91,7 +92,8 @@ public com.airbyte.api.models.operations.CreateJobResponse createJob(com.airbyte req.setBody(serializedRequestBody); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -131,7 +133,8 @@ public com.airbyte.api.models.operations.GetJobResponse getJob(com.airbyte.api.m req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -177,7 +180,8 @@ public com.airbyte.api.models.operations.ListJobsResponse listJobs(com.airbyte.a } } - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); diff --git a/lib/src/main/java/com/airbyte/api/OAuth.java b/lib/src/main/java/com/airbyte/api/OAuth.java deleted file mode 100755 index 5dc0460ac..000000000 --- a/lib/src/main/java/com/airbyte/api/OAuth.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api; - -import com.airbyte.api.utils.HTTPClient; -import com.airbyte.api.utils.HTTPRequest; -import com.airbyte.api.utils.SerializedBody; -import java.net.http.HttpResponse; -import org.apache.http.NameValuePair; - -public class OAuth { - - private HTTPClient _defaultClient; - private HTTPClient _securityClient; - private String _serverUrl; - private String _language; - private String _sdkVersion; - private String _genVersion; - - public OAuth(HTTPClient defaultClient, HTTPClient securityClient, String serverUrl, String language, String sdkVersion, String genVersion) { - this._defaultClient = defaultClient; - this._securityClient = securityClient; - this._serverUrl = serverUrl; - this._language = language; - this._sdkVersion = sdkVersion; - this._genVersion = genVersion; - } - - /** - * Initiate OAuth for a source. - * Create/update a set of OAuth credentials to override the Airbyte-provided OAuth credentials used for source/destination OAuth. - * In order to determine what the credential configuration needs to be, please see the connector specification of the relevant source/destination. - * @param request the request object containing all of the parameters for the API call - * @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 { - String baseUrl = this._serverUrl; - String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest.class, baseUrl, "/workspaces/{workspaceId}/oauth_credentials", request, null); - - HTTPRequest req = new HTTPRequest(); - req.setMethod("PUT"); - req.setURL(url); - SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "workspaceOAuthCredentialsRequest", "json"); - if (serializedRequestBody == null) { - throw new Exception("Request body is required"); - } - req.setBody(serializedRequestBody); - - - HTTPClient client = this._defaultClient; - HttpResponse httpRes = client.send(req); - - String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); - - com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse res = new com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse() {{ - }}; - res.statusCode = httpRes.statusCode(); - res.contentType = contentType; - res.rawResponse = httpRes; - - if (httpRes.statusCode() == 200 || httpRes.statusCode() == 400 || httpRes.statusCode() == 403) { - } - - return res; - } - - /** - * Receive OAuth callbacks - * Redirected to by identity providers after authentication. - * @param request the request object containing all of the parameters for the API call - * @return the response from the API call - * @throws Exception if the API call fails - */ - public com.airbyte.api.models.operations.OauthCallbackResponse oauthCallback(com.airbyte.api.models.operations.OauthCallbackRequest request) throws Exception { - String baseUrl = this._serverUrl; - String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/oauth/callback"); - - HTTPRequest req = new HTTPRequest(); - req.setMethod("GET"); - req.setURL(url); - - java.util.List queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.OauthCallbackRequest.class, request, null); - if (queryParams != null) { - for (NameValuePair queryParam : queryParams) { - req.addQueryParam(queryParam); - } - } - - HTTPClient client = this._defaultClient; - HttpResponse httpRes = client.send(req); - - String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); - - com.airbyte.api.models.operations.OauthCallbackResponse res = new com.airbyte.api.models.operations.OauthCallbackResponse() {{ - }}; - res.statusCode = httpRes.statusCode(); - res.contentType = contentType; - res.rawResponse = httpRes; - - if (httpRes.statusCode() == 302) { - } - - return res; - } -} \ No newline at end of file diff --git a/lib/src/main/java/com/airbyte/api/Sources.java b/lib/src/main/java/com/airbyte/api/Sources.java index fa8b218c6..c91ea892c 100755 --- a/lib/src/main/java/com/airbyte/api/Sources.java +++ b/lib/src/main/java/com/airbyte/api/Sources.java @@ -49,7 +49,8 @@ public com.airbyte.api.models.operations.CreateSourceResponse createSource(com.a req.setBody(serializedRequestBody); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -89,7 +90,8 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource(com.a req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -121,7 +123,8 @@ public com.airbyte.api.models.operations.GetSourceResponse getSource(com.airbyte req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -171,18 +174,27 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth(com req.setBody(serializedRequestBody); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); com.airbyte.api.models.operations.InitiateOAuthResponse res = new com.airbyte.api.models.operations.InitiateOAuthResponse() {{ + initiateOauthResponse = null; }}; res.statusCode = httpRes.statusCode(); res.contentType = contentType; res.rawResponse = httpRes; - if (httpRes.statusCode() == 200 || httpRes.statusCode() == 400 || httpRes.statusCode() == 403) { + if (httpRes.statusCode() == 200) { + if (com.airbyte.api.utils.Utils.matchContentType(contentType, "application/json")) { + ObjectMapper mapper = JSON.getMapper(); + com.airbyte.api.models.shared.InitiateOauthResponse out = mapper.readValue(new String(httpRes.body(), StandardCharsets.UTF_8), com.airbyte.api.models.shared.InitiateOauthResponse.class); + res.initiateOauthResponse = out; + } + } + else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) { } return res; @@ -209,7 +221,8 @@ public com.airbyte.api.models.operations.ListSourcesResponse listSources(com.air } } - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); diff --git a/lib/src/main/java/com/airbyte/api/Streams.java b/lib/src/main/java/com/airbyte/api/Streams.java index 29e7ec962..f6c5cb2ae 100755 --- a/lib/src/main/java/com/airbyte/api/Streams.java +++ b/lib/src/main/java/com/airbyte/api/Streams.java @@ -51,7 +51,8 @@ public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamPr } } - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); diff --git a/lib/src/main/java/com/airbyte/api/Workspaces.java b/lib/src/main/java/com/airbyte/api/Workspaces.java index c3bc70fdb..31340cd82 100755 --- a/lib/src/main/java/com/airbyte/api/Workspaces.java +++ b/lib/src/main/java/com/airbyte/api/Workspaces.java @@ -51,7 +51,8 @@ public com.airbyte.api.models.operations.CreateWorkspaceResponse createWorkspace req.setBody(serializedRequestBody); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -91,7 +92,8 @@ public com.airbyte.api.models.operations.DeleteWorkspaceResponse deleteWorkspace req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -123,7 +125,8 @@ public com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace(com.a req.setURL(url); - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); @@ -169,7 +172,8 @@ public com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces(c } } - HTTPClient client = this._defaultClient; + HTTPClient client = this._securityClient; + HttpResponse httpRes = client.send(req); String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); diff --git a/lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java b/lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java deleted file mode 100755 index fe7a9f562..000000000 --- a/lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.operations; - -import com.airbyte.api.utils.SpeakeasyMetadata; - -public class CreateOrUpdateWorkspaceOAuthCredentialsRequest { - @SpeakeasyMetadata("request:mediaType=application/json") - public com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest; - public CreateOrUpdateWorkspaceOAuthCredentialsRequest withWorkspaceOAuthCredentialsRequest(com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest) { - this.workspaceOAuthCredentialsRequest = workspaceOAuthCredentialsRequest; - return this; - } - - @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=workspaceId") - public String workspaceId; - public CreateOrUpdateWorkspaceOAuthCredentialsRequest withWorkspaceId(String workspaceId) { - this.workspaceId = workspaceId; - return this; - } - -} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java deleted file mode 100755 index 4b26820b2..000000000 --- a/lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.operations; - -import java.net.http.HttpResponse; - -public class CreateOrUpdateWorkspaceOAuthCredentialsResponse { - - public String contentType; - public CreateOrUpdateWorkspaceOAuthCredentialsResponse withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - - public Integer statusCode; - public CreateOrUpdateWorkspaceOAuthCredentialsResponse withStatusCode(Integer statusCode) { - this.statusCode = statusCode; - return this; - } - - - public HttpResponse rawResponse; - public CreateOrUpdateWorkspaceOAuthCredentialsResponse withRawResponse(HttpResponse rawResponse) { - this.rawResponse = rawResponse; - return this; - } - -} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java deleted file mode 100755 index 21a09b11e..000000000 --- a/lib/src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.operations; - -import java.net.http.HttpResponse; - -public class GetHealthCheckResponse { - - public String contentType; - public GetHealthCheckResponse withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - - public Integer statusCode; - public GetHealthCheckResponse withStatusCode(Integer statusCode) { - this.statusCode = statusCode; - return this; - } - - - public HttpResponse rawResponse; - public GetHealthCheckResponse withRawResponse(HttpResponse rawResponse) { - this.rawResponse = rawResponse; - return this; - } - -} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java index e67486513..bef82171d 100755 --- a/lib/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java +++ b/lib/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java @@ -14,6 +14,16 @@ public InitiateOAuthResponse withContentType(String contentType) { return this; } + /** + * The result of creating an OAuth link + */ + + public com.airbyte.api.models.shared.InitiateOauthResponse initiateOauthResponse; + public InitiateOAuthResponse withInitiateOauthResponse(com.airbyte.api.models.shared.InitiateOauthResponse initiateOauthResponse) { + this.initiateOauthResponse = initiateOauthResponse; + return this; + } + public Integer statusCode; public InitiateOAuthResponse withStatusCode(Integer statusCode) { diff --git a/lib/src/main/java/com/airbyte/api/models/operations/OauthCallbackRequest.java b/lib/src/main/java/com/airbyte/api/models/operations/OauthCallbackRequest.java deleted file mode 100755 index 0185513c8..000000000 --- a/lib/src/main/java/com/airbyte/api/models/operations/OauthCallbackRequest.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.operations; - -import com.airbyte.api.utils.SpeakeasyMetadata; - -public class OauthCallbackRequest { - /** - * Query parameters. Should contain state and code. - */ - @SpeakeasyMetadata("queryParam:style=form,explode=true,name=queryParams") - public java.util.Map queryParams; - public OauthCallbackRequest withQueryParams(java.util.Map queryParams) { - this.queryParams = queryParams; - return this; - } - -} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/OauthCallbackResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/OauthCallbackResponse.java deleted file mode 100755 index 326db30c0..000000000 --- a/lib/src/main/java/com/airbyte/api/models/operations/OauthCallbackResponse.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.operations; - -import java.net.http.HttpResponse; - -public class OauthCallbackResponse { - - public String contentType; - public OauthCallbackResponse withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - - public Integer statusCode; - public OauthCallbackResponse withStatusCode(Integer statusCode) { - this.statusCode = statusCode; - return this; - } - - - public HttpResponse rawResponse; - public OauthCallbackResponse withRawResponse(HttpResponse rawResponse) { - this.rawResponse = rawResponse; - return this; - } - -} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqs.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqs.java new file mode 100755 index 000000000..75b8e47fc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqs.java @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAmazonSqs - The values required to configure the destination. + */ +public class DestinationAmazonSqs { + /** + * The Access Key ID of the AWS IAM Role to use for sending messages + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_key") + public String accessKey; + public DestinationAmazonSqs withAccessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + @JsonProperty("destinationType") + public DestinationAmazonSqsAmazonSqsEnum destinationType; + public DestinationAmazonSqs withDestinationType(DestinationAmazonSqsAmazonSqsEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Use this property to extract the contents of the named key in the input record to use as the SQS message body. If not set, the entire content of the input record data is used as the message body. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message_body_key") + public String messageBodyKey; + public DestinationAmazonSqs withMessageBodyKey(String messageBodyKey) { + this.messageBodyKey = messageBodyKey; + return this; + } + + /** + * Modify the Message Delay of the individual message from the Queue's default (seconds). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message_delay") + public Long messageDelay; + public DestinationAmazonSqs withMessageDelay(Long messageDelay) { + this.messageDelay = messageDelay; + return this; + } + + /** + * The tag that specifies that a message belongs to a specific message group. This parameter applies only to, and is REQUIRED by, FIFO queues. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message_group_id") + public String messageGroupId; + public DestinationAmazonSqs withMessageGroupId(String messageGroupId) { + this.messageGroupId = messageGroupId; + return this; + } + + /** + * URL of the SQS Queue + */ + @JsonProperty("queue_url") + public String queueUrl; + public DestinationAmazonSqs withQueueUrl(String queueUrl) { + this.queueUrl = queueUrl; + return this; + } + + /** + * AWS Region of the SQS Queue + */ + @JsonProperty("region") + public DestinationAmazonSqsAWSRegionEnum region; + public DestinationAmazonSqs withRegion(DestinationAmazonSqsAWSRegionEnum region) { + this.region = region; + return this; + } + + /** + * The Secret Key of the AWS IAM Role to use for sending messages + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secret_key") + public String secretKey; + public DestinationAmazonSqs withSecretKey(String secretKey) { + this.secretKey = secretKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAWSRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAWSRegionEnum.java new file mode 100755 index 000000000..be304907d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAWSRegionEnum.java @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationAmazonSqsAWSRegionEnum - AWS Region of the SQS Queue + */ +public enum DestinationAmazonSqsAWSRegionEnum { + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"); + + @JsonValue + public final String value; + + private DestinationAmazonSqsAWSRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAmazonSqsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAmazonSqsEnum.java new file mode 100755 index 000000000..4ad7257f7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAmazonSqsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationAmazonSqsAmazonSqsEnum { + AMAZON_SQS("amazon-sqs"); + + @JsonValue + public final String value; + + private DestinationAmazonSqsAmazonSqsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java new file mode 100755 index 000000000..c0c061424 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAwsDatalake - The values required to configure the destination. + */ +public class DestinationAwsDatalake { + /** + * target aws account id + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("aws_account_id") + public String awsAccountId; + public DestinationAwsDatalake withAwsAccountId(String awsAccountId) { + this.awsAccountId = awsAccountId; + return this; + } + + /** + * The name of the S3 bucket. Read more <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html">here</a>. + */ + @JsonProperty("bucket_name") + public String bucketName; + public DestinationAwsDatalake withBucketName(String bucketName) { + this.bucketName = bucketName; + return this; + } + + /** + * S3 prefix + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("bucket_prefix") + public String bucketPrefix; + public DestinationAwsDatalake withBucketPrefix(String bucketPrefix) { + this.bucketPrefix = bucketPrefix; + return this; + } + + /** + * Choose How to Authenticate to AWS. + */ + @JsonProperty("credentials") + public Object credentials; + public DestinationAwsDatalake withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("destinationType") + public DestinationAwsDatalakeAwsDatalakeEnum destinationType; + public DestinationAwsDatalake withDestinationType(DestinationAwsDatalakeAwsDatalakeEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Format of the data output. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("format") + public Object format; + public DestinationAwsDatalake withFormat(Object format) { + this.format = format; + return this; + } + + /** + * Cast float/double as decimal(38,18). This can help achieve higher accuracy and represent numbers correctly as received from the source. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("glue_catalog_float_as_decimal") + public Boolean glueCatalogFloatAsDecimal; + public DestinationAwsDatalake withGlueCatalogFloatAsDecimal(Boolean glueCatalogFloatAsDecimal) { + this.glueCatalogFloatAsDecimal = glueCatalogFloatAsDecimal; + return this; + } + + /** + * Add a default tag key to databases created by this destination + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lakeformation_database_default_tag_key") + public String lakeformationDatabaseDefaultTagKey; + public DestinationAwsDatalake withLakeformationDatabaseDefaultTagKey(String lakeformationDatabaseDefaultTagKey) { + this.lakeformationDatabaseDefaultTagKey = lakeformationDatabaseDefaultTagKey; + return this; + } + + /** + * 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") + public String lakeformationDatabaseDefaultTagValues; + public DestinationAwsDatalake withLakeformationDatabaseDefaultTagValues(String lakeformationDatabaseDefaultTagValues) { + this.lakeformationDatabaseDefaultTagValues = lakeformationDatabaseDefaultTagValues; + return this; + } + + /** + * The default database this destination will use to create tables in per stream. Can be changed per connection by customizing the namespace. + */ + @JsonProperty("lakeformation_database_name") + public String lakeformationDatabaseName; + public DestinationAwsDatalake withLakeformationDatabaseName(String lakeformationDatabaseName) { + this.lakeformationDatabaseName = lakeformationDatabaseName; + return this; + } + + /** + * Whether to create tables as LF governed tables. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lakeformation_governed_tables") + public Boolean lakeformationGovernedTables; + public DestinationAwsDatalake withLakeformationGovernedTables(Boolean lakeformationGovernedTables) { + this.lakeformationGovernedTables = lakeformationGovernedTables; + return this; + } + + /** + * Partition data by cursor fields when a cursor field is a date + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("partitioning") + public DestinationAwsDatalakeChooseHowToPartitionDataEnum partitioning; + public DestinationAwsDatalake withPartitioning(DestinationAwsDatalakeChooseHowToPartitionDataEnum partitioning) { + this.partitioning = partitioning; + 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. + */ + @JsonProperty("region") + public DestinationAwsDatalakeS3BucketRegionEnum region; + public DestinationAwsDatalake withRegion(DestinationAwsDatalakeS3BucketRegionEnum region) { + this.region = region; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeAwsDatalakeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeAwsDatalakeEnum.java new file mode 100755 index 000000000..823f8145a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeAwsDatalakeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationAwsDatalakeAwsDatalakeEnum { + AWS_DATALAKE("aws-datalake"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeAwsDatalakeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeChooseHowToPartitionDataEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeChooseHowToPartitionDataEnum.java new file mode 100755 index 000000000..87275aa30 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeChooseHowToPartitionDataEnum.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationAwsDatalakeChooseHowToPartitionDataEnum - Partition data by cursor fields when a cursor field is a date + */ +public enum DestinationAwsDatalakeChooseHowToPartitionDataEnum { + NO_PARTITIONING("NO PARTITIONING"), + DATE("DATE"), + YEAR("YEAR"), + MONTH("MONTH"), + DAY("DAY"), + YEAR_MONTH("YEAR/MONTH"), + YEAR_MONTH_DAY("YEAR/MONTH/DAY"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeChooseHowToPartitionDataEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMRole.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMRole.java new file mode 100755 index 000000000..4bd72081f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMRole.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAwsDatalakeCredentialsIAMRole - Choose How to Authenticate to AWS. + */ +public class DestinationAwsDatalakeCredentialsIAMRole { + /** + * Name of the credentials + */ + @JsonProperty("credentials_title") + public DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum credentialsTitle; + public DestinationAwsDatalakeCredentialsIAMRole withCredentialsTitle(DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum credentialsTitle) { + this.credentialsTitle = credentialsTitle; + return this; + } + + /** + * Will assume this role to write data to s3 + */ + @JsonProperty("role_arn") + public String roleArn; + public DestinationAwsDatalakeCredentialsIAMRole withRoleArn(String roleArn) { + this.roleArn = roleArn; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum.java new file mode 100755 index 000000000..329c8b4a5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum - Name of the credentials + */ +public enum DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum { + IAM_ROLE("IAM Role"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMUser.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMUser.java new file mode 100755 index 000000000..17afafbeb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMUser.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAwsDatalakeCredentialsIAMUser - Choose How to Authenticate to AWS. + */ +public class DestinationAwsDatalakeCredentialsIAMUser { + /** + * AWS User Access Key Id + */ + @JsonProperty("aws_access_key_id") + public String awsAccessKeyId; + public DestinationAwsDatalakeCredentialsIAMUser withAwsAccessKeyId(String awsAccessKeyId) { + this.awsAccessKeyId = awsAccessKeyId; + return this; + } + + /** + * Secret Access Key + */ + @JsonProperty("aws_secret_access_key") + public String awsSecretAccessKey; + public DestinationAwsDatalakeCredentialsIAMUser withAwsSecretAccessKey(String awsSecretAccessKey) { + this.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + + /** + * Name of the credentials + */ + @JsonProperty("credentials_title") + public DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum credentialsTitle; + public DestinationAwsDatalakeCredentialsIAMUser withCredentialsTitle(DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum credentialsTitle) { + this.credentialsTitle = credentialsTitle; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum.java new file mode 100755 index 000000000..137fe9062 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum - Name of the credentials + */ +public enum DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum { + IAM_USER("IAM User"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeCredentialsIAMUserCredentialsTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON.java new file mode 100755 index 000000000..74d87550c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON - Format of the data output. + */ +public class DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON { + /** + * The compression algorithm used to compress data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_codec") + public DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum compressionCodec; + public DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON withCompressionCodec(DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum compressionCodec) { + this.compressionCodec = compressionCodec; + return this; + } + + @JsonProperty("format_type") + public DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcardEnum formatType; + public DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON withFormatType(DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcardEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum.java new file mode 100755 index 000000000..136d7bfa3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum - The compression algorithm used to compress data. + */ +public enum DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum { + UNCOMPRESSED("UNCOMPRESSED"), + GZIP("GZIP"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptionalEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcardEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcardEnum.java new file mode 100755 index 000000000..b25fcb9bd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcardEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcardEnum { + JSONL("JSONL"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcardEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorage.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorage.java new file mode 100755 index 000000000..7e9485cf6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorage.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAwsDatalakeFormatParquetColumnarStorage - Format of the data output. + */ +public class DestinationAwsDatalakeFormatParquetColumnarStorage { + /** + * The compression algorithm used to compress data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_codec") + public DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum compressionCodec; + public DestinationAwsDatalakeFormatParquetColumnarStorage withCompressionCodec(DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum compressionCodec) { + this.compressionCodec = compressionCodec; + return this; + } + + @JsonProperty("format_type") + public DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcardEnum formatType; + public DestinationAwsDatalakeFormatParquetColumnarStorage withFormatType(DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcardEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum.java new file mode 100755 index 000000000..a6e74cd7b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum - The compression algorithm used to compress data. + */ +public enum DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum { + UNCOMPRESSED("UNCOMPRESSED"), + SNAPPY("SNAPPY"), + GZIP("GZIP"), + ZSTD("ZSTD"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptionalEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcardEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcardEnum.java new file mode 100755 index 000000000..46ff21af1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcardEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcardEnum { + PARQUET("Parquet"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcardEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeS3BucketRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeS3BucketRegionEnum.java new file mode 100755 index 000000000..844e35c96 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeS3BucketRegionEnum.java @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationAwsDatalakeS3BucketRegionEnum - 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 DestinationAwsDatalakeS3BucketRegionEnum { + UNKNOWN(""), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"); + + @JsonValue + public final String value; + + private DestinationAwsDatalakeS3BucketRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java new file mode 100755 index 000000000..d000717fa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAzureBlobStorage - The values required to configure the destination. + */ +public class DestinationAzureBlobStorage { + /** + * The Azure blob storage account key. + */ + @JsonProperty("azure_blob_storage_account_key") + public String azureBlobStorageAccountKey; + public DestinationAzureBlobStorage withAzureBlobStorageAccountKey(String azureBlobStorageAccountKey) { + this.azureBlobStorageAccountKey = azureBlobStorageAccountKey; + return this; + } + + /** + * The account's name of the Azure Blob Storage. + */ + @JsonProperty("azure_blob_storage_account_name") + public String azureBlobStorageAccountName; + public DestinationAzureBlobStorage withAzureBlobStorageAccountName(String azureBlobStorageAccountName) { + this.azureBlobStorageAccountName = azureBlobStorageAccountName; + return this; + } + + /** + * 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 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("azure_blob_storage_container_name") + public String azureBlobStorageContainerName; + public DestinationAzureBlobStorage withAzureBlobStorageContainerName(String azureBlobStorageContainerName) { + this.azureBlobStorageContainerName = azureBlobStorageContainerName; + return this; + } + + /** + * 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") + public String azureBlobStorageEndpointDomainName; + public DestinationAzureBlobStorage withAzureBlobStorageEndpointDomainName(String azureBlobStorageEndpointDomainName) { + this.azureBlobStorageEndpointDomainName = azureBlobStorageEndpointDomainName; + return this; + } + + /** + * 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") + public Long azureBlobStorageOutputBufferSize; + public DestinationAzureBlobStorage withAzureBlobStorageOutputBufferSize(Long azureBlobStorageOutputBufferSize) { + this.azureBlobStorageOutputBufferSize = azureBlobStorageOutputBufferSize; + return this; + } + + /** + * 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") + public Long azureBlobStorageSpillSize; + public DestinationAzureBlobStorage withAzureBlobStorageSpillSize(Long azureBlobStorageSpillSize) { + this.azureBlobStorageSpillSize = azureBlobStorageSpillSize; + return this; + } + + @JsonProperty("destinationType") + public DestinationAzureBlobStorageAzureBlobStorageEnum destinationType; + public DestinationAzureBlobStorage withDestinationType(DestinationAzureBlobStorageAzureBlobStorageEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Output data format + */ + @JsonProperty("format") + public Object format; + public DestinationAzureBlobStorage withFormat(Object format) { + this.format = format; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorageEnum.java new file mode 100755 index 000000000..20bd2dd60 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationAzureBlobStorageAzureBlobStorageEnum { + AZURE_BLOB_STORAGE("azure-blob-storage"); + + @JsonValue + public final String value; + + private DestinationAzureBlobStorageAzureBlobStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValues.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValues.java new file mode 100755 index 000000000..3e7dff995 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValues.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAzureBlobStorageFormatCSVCommaSeparatedValues - Output data format + */ +public class DestinationAzureBlobStorageFormatCSVCommaSeparatedValues { + /** + * Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. + */ + @JsonProperty("flattening") + public DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum flattening; + public DestinationAzureBlobStorageFormatCSVCommaSeparatedValues withFlattening(DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum flattening) { + this.flattening = flattening; + return this; + } + + @JsonProperty("format_type") + public DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatTypeEnum formatType; + public DestinationAzureBlobStorageFormatCSVCommaSeparatedValues withFormatType(DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatTypeEnum.java new file mode 100755 index 000000000..e9c5cf381 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatTypeEnum { + CSV("CSV"); + + @JsonValue + public final String value; + + private DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum.java new file mode 100755 index 000000000..ec0d07cc6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum - Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. + */ +public enum DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum { + NO_FLATTENING("No flattening"), + ROOT_LEVEL_FLATTENING("Root level flattening"); + + @JsonValue + public final String value; + + private DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlatteningEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON.java new file mode 100755 index 000000000..102155bf8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON - Output data format + */ +public class DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON { + @JsonProperty("format_type") + public DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType; + public DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON withFormatType(DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java new file mode 100755 index 000000000..05f6e2442 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum { + JSONL("JSONL"); + + @JsonValue + public final String value; + + private DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java new file mode 100755 index 000000000..2ea8cf992 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationBigquery - The values required to configure the destination. + */ +public class 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("big_query_client_buffer_size_mb") + public Long bigQueryClientBufferSizeMb; + public DestinationBigquery withBigQueryClientBufferSizeMb(Long bigQueryClientBufferSizeMb) { + this.bigQueryClientBufferSizeMb = bigQueryClientBufferSizeMb; + return this; + } + + /** + * 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") + public String credentialsJson; + public DestinationBigquery withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + + /** + * 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>. + */ + @JsonProperty("dataset_id") + public String datasetId; + public DestinationBigquery withDatasetId(String datasetId) { + this.datasetId = datasetId; + return this; + } + + /** + * 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>. + */ + @JsonProperty("dataset_location") + public DestinationBigqueryDatasetLocationEnum datasetLocation; + public DestinationBigquery withDatasetLocation(DestinationBigqueryDatasetLocationEnum datasetLocation) { + this.datasetLocation = datasetLocation; + return this; + } + + @JsonProperty("destinationType") + public DestinationBigqueryBigqueryEnum destinationType; + public DestinationBigquery withDestinationType(DestinationBigqueryBigqueryEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Loading method used to send select the way data will be uploaded to BigQuery. <br/><b>Standard Inserts</b> - Direct uploading using SQL INSERT statements. This method is extremely inefficient and provided only for quick testing. In almost all cases, you should use staging. <br/><b>GCS Staging</b> - Writes large batches of records to a file, uploads the file to GCS, then uses <b>COPY INTO table</b> to upload the file. Recommended for most workloads for better speed and scalability. Read more about GCS Staging <a href="https://docs.airbyte.com/integrations/destinations/bigquery#gcs-staging">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("loading_method") + public Object loadingMethod; + public DestinationBigquery withLoadingMethod(Object loadingMethod) { + this.loadingMethod = loadingMethod; + return this; + } + + /** + * The GCP project ID for the project containing the target BigQuery dataset. Read more <a href="https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects">here</a>. + */ + @JsonProperty("project_id") + public String projectId; + public DestinationBigquery withProjectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * 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\u2019t 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("transformation_priority") + public DestinationBigqueryTransformationQueryRunTypeEnum transformationPriority; + public DestinationBigquery withTransformationPriority(DestinationBigqueryTransformationQueryRunTypeEnum transformationPriority) { + this.transformationPriority = transformationPriority; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryBigqueryEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryBigqueryEnum.java new file mode 100755 index 000000000..96e90a14d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryBigqueryEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationBigqueryBigqueryEnum { + BIGQUERY("bigquery"); + + @JsonValue + public final String value; + + private DestinationBigqueryBigqueryEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDatasetLocationEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDatasetLocationEnum.java new file mode 100755 index 000000000..624eaff2b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDatasetLocationEnum.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationBigqueryDatasetLocationEnum - 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>. + */ +public enum DestinationBigqueryDatasetLocationEnum { + US("US"), + EU("EU"), + ASIA_EAST1("asia-east1"), + ASIA_EAST2("asia-east2"), + ASIA_NORTHEAST1("asia-northeast1"), + ASIA_NORTHEAST2("asia-northeast2"), + ASIA_NORTHEAST3("asia-northeast3"), + ASIA_SOUTH1("asia-south1"), + ASIA_SOUTH2("asia-south2"), + ASIA_SOUTHEAST1("asia-southeast1"), + ASIA_SOUTHEAST2("asia-southeast2"), + AUSTRALIA_SOUTHEAST1("australia-southeast1"), + AUSTRALIA_SOUTHEAST2("australia-southeast2"), + EUROPE_CENTRAL1("europe-central1"), + EUROPE_CENTRAL2("europe-central2"), + EUROPE_NORTH1("europe-north1"), + EUROPE_SOUTHWEST1("europe-southwest1"), + EUROPE_WEST1("europe-west1"), + EUROPE_WEST2("europe-west2"), + EUROPE_WEST3("europe-west3"), + EUROPE_WEST4("europe-west4"), + EUROPE_WEST6("europe-west6"), + EUROPE_WEST7("europe-west7"), + EUROPE_WEST8("europe-west8"), + EUROPE_WEST9("europe-west9"), + ME_WEST1("me-west1"), + NORTHAMERICA_NORTHEAST1("northamerica-northeast1"), + NORTHAMERICA_NORTHEAST2("northamerica-northeast2"), + SOUTHAMERICA_EAST1("southamerica-east1"), + SOUTHAMERICA_WEST1("southamerica-west1"), + US_CENTRAL1("us-central1"), + US_EAST1("us-east1"), + US_EAST2("us-east2"), + US_EAST3("us-east3"), + US_EAST4("us-east4"), + US_EAST5("us-east5"), + US_WEST1("us-west1"), + US_WEST2("us-west2"), + US_WEST3("us-west3"), + US_WEST4("us-west4"); + + @JsonValue + public final String value; + + private DestinationBigqueryDatasetLocationEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalized.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalized.java new file mode 100755 index 000000000..021ac471b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalized.java @@ -0,0 +1,86 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationBigqueryDenormalized - The values required to configure the destination. + */ +public class DestinationBigqueryDenormalized { + /** + * 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("big_query_client_buffer_size_mb") + public Long bigQueryClientBufferSizeMb; + public DestinationBigqueryDenormalized withBigQueryClientBufferSizeMb(Long bigQueryClientBufferSizeMb) { + this.bigQueryClientBufferSizeMb = bigQueryClientBufferSizeMb; + return this; + } + + /** + * 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") + public String credentialsJson; + public DestinationBigqueryDenormalized withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + + /** + * 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>. + */ + @JsonProperty("dataset_id") + public String datasetId; + public DestinationBigqueryDenormalized withDatasetId(String datasetId) { + this.datasetId = datasetId; + return this; + } + + /** + * The location of the dataset. Warning: Changes made after creation will not be applied. The default "US" value is used if not set explicitly. Read more <a href="https://cloud.google.com/bigquery/docs/locations">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dataset_location") + public DestinationBigqueryDenormalizedDatasetLocationEnum datasetLocation; + public DestinationBigqueryDenormalized withDatasetLocation(DestinationBigqueryDenormalizedDatasetLocationEnum datasetLocation) { + this.datasetLocation = datasetLocation; + return this; + } + + @JsonProperty("destinationType") + public DestinationBigqueryDenormalizedBigqueryDenormalizedEnum destinationType; + public DestinationBigqueryDenormalized withDestinationType(DestinationBigqueryDenormalizedBigqueryDenormalizedEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Loading method used to send select the way data will be uploaded to BigQuery. <br/><b>Standard Inserts</b> - Direct uploading using SQL INSERT statements. This method is extremely inefficient and provided only for quick testing. In almost all cases, you should use staging. <br/><b>GCS Staging</b> - Writes large batches of records to a file, uploads the file to GCS, then uses <b>COPY INTO table</b> to upload the file. Recommended for most workloads for better speed and scalability. Read more about GCS Staging <a href="https://docs.airbyte.com/integrations/destinations/bigquery#gcs-staging">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("loading_method") + public Object loadingMethod; + public DestinationBigqueryDenormalized withLoadingMethod(Object loadingMethod) { + this.loadingMethod = loadingMethod; + return this; + } + + /** + * The GCP project ID for the project containing the target BigQuery dataset. Read more <a href="https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects">here</a>. + */ + @JsonProperty("project_id") + public String projectId; + public DestinationBigqueryDenormalized withProjectId(String projectId) { + this.projectId = projectId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedBigqueryDenormalizedEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedBigqueryDenormalizedEnum.java new file mode 100755 index 000000000..8bdfef8ca --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedBigqueryDenormalizedEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationBigqueryDenormalizedBigqueryDenormalizedEnum { + BIGQUERY_DENORMALIZED("bigquery-denormalized"); + + @JsonValue + public final String value; + + private DestinationBigqueryDenormalizedBigqueryDenormalizedEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedDatasetLocationEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedDatasetLocationEnum.java new file mode 100755 index 000000000..e171b3c97 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedDatasetLocationEnum.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationBigqueryDenormalizedDatasetLocationEnum - The location of the dataset. Warning: Changes made after creation will not be applied. The default "US" value is used if not set explicitly. Read more <a href="https://cloud.google.com/bigquery/docs/locations">here</a>. + */ +public enum DestinationBigqueryDenormalizedDatasetLocationEnum { + US("US"), + EU("EU"), + ASIA_EAST1("asia-east1"), + ASIA_EAST2("asia-east2"), + ASIA_NORTHEAST1("asia-northeast1"), + ASIA_NORTHEAST2("asia-northeast2"), + ASIA_NORTHEAST3("asia-northeast3"), + ASIA_SOUTH1("asia-south1"), + ASIA_SOUTH2("asia-south2"), + ASIA_SOUTHEAST1("asia-southeast1"), + ASIA_SOUTHEAST2("asia-southeast2"), + AUSTRALIA_SOUTHEAST1("australia-southeast1"), + AUSTRALIA_SOUTHEAST2("australia-southeast2"), + EUROPE_CENTRAL1("europe-central1"), + EUROPE_CENTRAL2("europe-central2"), + EUROPE_NORTH1("europe-north1"), + EUROPE_SOUTHWEST1("europe-southwest1"), + EUROPE_WEST1("europe-west1"), + EUROPE_WEST2("europe-west2"), + EUROPE_WEST3("europe-west3"), + EUROPE_WEST4("europe-west4"), + EUROPE_WEST6("europe-west6"), + EUROPE_WEST7("europe-west7"), + EUROPE_WEST8("europe-west8"), + EUROPE_WEST9("europe-west9"), + ME_WEST1("me-west1"), + NORTHAMERICA_NORTHEAST1("northamerica-northeast1"), + NORTHAMERICA_NORTHEAST2("northamerica-northeast2"), + SOUTHAMERICA_EAST1("southamerica-east1"), + SOUTHAMERICA_WEST1("southamerica-west1"), + US_CENTRAL1("us-central1"), + US_EAST1("us-east1"), + US_EAST2("us-east2"), + US_EAST3("us-east3"), + US_EAST4("us-east4"), + US_EAST5("us-east5"), + US_WEST1("us-west1"), + US_WEST2("us-west2"), + US_WEST3("us-west3"), + US_WEST4("us-west4"); + + @JsonValue + public final String value; + + private DestinationBigqueryDenormalizedDatasetLocationEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStaging.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStaging.java new file mode 100755 index 000000000..a91beb598 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStaging.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationBigqueryDenormalizedLoadingMethodGCSStaging - Loading method used to send select the way data will be uploaded to BigQuery. <br/><b>Standard Inserts</b> - Direct uploading using SQL INSERT statements. This method is extremely inefficient and provided only for quick testing. In almost all cases, you should use staging. <br/><b>GCS Staging</b> - Writes large batches of records to a file, uploads the file to GCS, then uses <b>COPY INTO table</b> to upload the file. Recommended for most workloads for better speed and scalability. Read more about GCS Staging <a href="https://docs.airbyte.com/integrations/destinations/bigquery#gcs-staging">here</a>. + */ +public class DestinationBigqueryDenormalizedLoadingMethodGCSStaging { + /** + * 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>. + */ + @JsonProperty("credential") + public Object credential; + public DestinationBigqueryDenormalizedLoadingMethodGCSStaging withCredential(Object credential) { + this.credential = credential; + return this; + } + + /** + * The name of the GCS bucket. Read more <a href="https://cloud.google.com/storage/docs/naming-buckets">here</a>. + */ + @JsonProperty("gcs_bucket_name") + public String gcsBucketName; + public DestinationBigqueryDenormalizedLoadingMethodGCSStaging withGcsBucketName(String gcsBucketName) { + this.gcsBucketName = gcsBucketName; + return this; + } + + /** + * Directory under the GCS bucket where data will be written. Read more <a href="https://cloud.google.com/storage/docs/locations">here</a>. + */ + @JsonProperty("gcs_bucket_path") + public String gcsBucketPath; + public DestinationBigqueryDenormalizedLoadingMethodGCSStaging withGcsBucketPath(String gcsBucketPath) { + this.gcsBucketPath = gcsBucketPath; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("keep_files_in_gcs-bucket") + public DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum keepFilesInGcsBucket; + public DestinationBigqueryDenormalizedLoadingMethodGCSStaging withKeepFilesInGcsBucket(DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum keepFilesInGcsBucket) { + this.keepFilesInGcsBucket = keepFilesInGcsBucket; + return this; + } + + @JsonProperty("method") + public DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethodEnum method; + public DestinationBigqueryDenormalizedLoadingMethodGCSStaging withMethod(DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey.java new file mode 100755 index 000000000..ebe0b408c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey - 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>. + */ +public class DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey { + @JsonProperty("credential_type") + public DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum credentialType; + public DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey withCredentialType(DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum credentialType) { + this.credentialType = credentialType; + return this; + } + + /** + * 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. + */ + @JsonProperty("hmac_key_access_id") + public String hmacKeyAccessId; + public DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey withHmacKeyAccessId(String hmacKeyAccessId) { + this.hmacKeyAccessId = hmacKeyAccessId; + return this; + } + + /** + * The corresponding secret for the access ID. It is a 40-character base-64 encoded string. + */ + @JsonProperty("hmac_key_secret") + public String hmacKeySecret; + public DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey withHmacKeySecret(String hmacKeySecret) { + this.hmacKeySecret = hmacKeySecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.java new file mode 100755 index 000000000..6fa43b972 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum { + HMAC_KEY("HMAC_KEY"); + + @JsonValue + public final String value; + + private DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.java new file mode 100755 index 000000000..94dc55878 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum - 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. + */ +public enum DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum { + DELETE_ALL_TMP_FILES_FROM_GCS("Delete all tmp files from GCS"), + KEEP_ALL_TMP_FILES_IN_GCS("Keep all tmp files in GCS"); + + @JsonValue + public final String value; + + private DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethodEnum.java new file mode 100755 index 000000000..02ce96c38 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethodEnum { + GCS_STAGING("GCS Staging"); + + @JsonValue + public final String value; + + private DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodStandardInserts.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodStandardInserts.java new file mode 100755 index 000000000..3a7e59ff9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodStandardInserts.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationBigqueryDenormalizedLoadingMethodStandardInserts - Loading method used to send select the way data will be uploaded to BigQuery. <br/><b>Standard Inserts</b> - Direct uploading using SQL INSERT statements. This method is extremely inefficient and provided only for quick testing. In almost all cases, you should use staging. <br/><b>GCS Staging</b> - Writes large batches of records to a file, uploads the file to GCS, then uses <b>COPY INTO table</b> to upload the file. Recommended for most workloads for better speed and scalability. Read more about GCS Staging <a href="https://docs.airbyte.com/integrations/destinations/bigquery#gcs-staging">here</a>. + */ +public class DestinationBigqueryDenormalizedLoadingMethodStandardInserts { + @JsonProperty("method") + public DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethodEnum method; + public DestinationBigqueryDenormalizedLoadingMethodStandardInserts withMethod(DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethodEnum.java new file mode 100755 index 000000000..c895ffff6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethodEnum { + STANDARD("Standard"); + + @JsonValue + public final String value; + + private DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStaging.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStaging.java new file mode 100755 index 000000000..b87e4ff5b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStaging.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationBigqueryLoadingMethodGCSStaging - Loading method used to send select the way data will be uploaded to BigQuery. <br/><b>Standard Inserts</b> - Direct uploading using SQL INSERT statements. This method is extremely inefficient and provided only for quick testing. In almost all cases, you should use staging. <br/><b>GCS Staging</b> - Writes large batches of records to a file, uploads the file to GCS, then uses <b>COPY INTO table</b> to upload the file. Recommended for most workloads for better speed and scalability. Read more about GCS Staging <a href="https://docs.airbyte.com/integrations/destinations/bigquery#gcs-staging">here</a>. + */ +public class DestinationBigqueryLoadingMethodGCSStaging { + /** + * 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>. + */ + @JsonProperty("credential") + public Object credential; + public DestinationBigqueryLoadingMethodGCSStaging withCredential(Object credential) { + this.credential = credential; + return this; + } + + /** + * The name of the GCS bucket. Read more <a href="https://cloud.google.com/storage/docs/naming-buckets">here</a>. + */ + @JsonProperty("gcs_bucket_name") + public String gcsBucketName; + public DestinationBigqueryLoadingMethodGCSStaging withGcsBucketName(String gcsBucketName) { + this.gcsBucketName = gcsBucketName; + return this; + } + + /** + * Directory under the GCS bucket where data will be written. + */ + @JsonProperty("gcs_bucket_path") + public String gcsBucketPath; + public DestinationBigqueryLoadingMethodGCSStaging withGcsBucketPath(String gcsBucketPath) { + this.gcsBucketPath = gcsBucketPath; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("keep_files_in_gcs-bucket") + public DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum keepFilesInGcsBucket; + public DestinationBigqueryLoadingMethodGCSStaging withKeepFilesInGcsBucket(DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum keepFilesInGcsBucket) { + this.keepFilesInGcsBucket = keepFilesInGcsBucket; + return this; + } + + @JsonProperty("method") + public DestinationBigqueryLoadingMethodGCSStagingMethodEnum method; + public DestinationBigqueryLoadingMethodGCSStaging withMethod(DestinationBigqueryLoadingMethodGCSStagingMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey.java new file mode 100755 index 000000000..896192dca --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey - 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>. + */ +public class DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey { + @JsonProperty("credential_type") + public DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum credentialType; + public DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey withCredentialType(DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum credentialType) { + this.credentialType = credentialType; + return this; + } + + /** + * 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. + */ + @JsonProperty("hmac_key_access_id") + public String hmacKeyAccessId; + public DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey withHmacKeyAccessId(String hmacKeyAccessId) { + this.hmacKeyAccessId = hmacKeyAccessId; + return this; + } + + /** + * The corresponding secret for the access ID. It is a 40-character base-64 encoded string. + */ + @JsonProperty("hmac_key_secret") + public String hmacKeySecret; + public DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey withHmacKeySecret(String hmacKeySecret) { + this.hmacKeySecret = hmacKeySecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.java new file mode 100755 index 000000000..a5fc71ab9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum { + HMAC_KEY("HMAC_KEY"); + + @JsonValue + public final String value; + + private DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.java new file mode 100755 index 000000000..69aaf386e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum - 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. + */ +public enum DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum { + DELETE_ALL_TMP_FILES_FROM_GCS("Delete all tmp files from GCS"), + KEEP_ALL_TMP_FILES_IN_GCS("Keep all tmp files in GCS"); + + @JsonValue + public final String value; + + private DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingMethodEnum.java new file mode 100755 index 000000000..2cc9da255 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodGCSStagingMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationBigqueryLoadingMethodGCSStagingMethodEnum { + GCS_STAGING("GCS Staging"); + + @JsonValue + public final String value; + + private DestinationBigqueryLoadingMethodGCSStagingMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodStandardInserts.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodStandardInserts.java new file mode 100755 index 000000000..889572649 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodStandardInserts.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationBigqueryLoadingMethodStandardInserts - Loading method used to send select the way data will be uploaded to BigQuery. <br/><b>Standard Inserts</b> - Direct uploading using SQL INSERT statements. This method is extremely inefficient and provided only for quick testing. In almost all cases, you should use staging. <br/><b>GCS Staging</b> - Writes large batches of records to a file, uploads the file to GCS, then uses <b>COPY INTO table</b> to upload the file. Recommended for most workloads for better speed and scalability. Read more about GCS Staging <a href="https://docs.airbyte.com/integrations/destinations/bigquery#gcs-staging">here</a>. + */ +public class DestinationBigqueryLoadingMethodStandardInserts { + @JsonProperty("method") + public DestinationBigqueryLoadingMethodStandardInsertsMethodEnum method; + public DestinationBigqueryLoadingMethodStandardInserts withMethod(DestinationBigqueryLoadingMethodStandardInsertsMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodStandardInsertsMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodStandardInsertsMethodEnum.java new file mode 100755 index 000000000..54120ac8b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryLoadingMethodStandardInsertsMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationBigqueryLoadingMethodStandardInsertsMethodEnum { + STANDARD("Standard"); + + @JsonValue + public final String value; + + private DestinationBigqueryLoadingMethodStandardInsertsMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryTransformationQueryRunTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryTransformationQueryRunTypeEnum.java new file mode 100755 index 000000000..7425d7a95 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryTransformationQueryRunTypeEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationBigqueryTransformationQueryRunTypeEnum - 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\u2019t 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. + */ +public enum DestinationBigqueryTransformationQueryRunTypeEnum { + INTERACTIVE("interactive"), + BATCH("batch"); + + @JsonValue + public final String value; + + private DestinationBigqueryTransformationQueryRunTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationCassandra.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationCassandra.java new file mode 100755 index 000000000..30c6c3496 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationCassandra.java @@ -0,0 +1,94 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationCassandra - The values required to configure the destination. + */ +public class DestinationCassandra { + /** + * Address to connect to. + */ + @JsonProperty("address") + public String address; + public DestinationCassandra withAddress(String address) { + this.address = address; + return this; + } + + /** + * Datacenter of the cassandra cluster. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("datacenter") + public String datacenter; + public DestinationCassandra withDatacenter(String datacenter) { + this.datacenter = datacenter; + return this; + } + + @JsonProperty("destinationType") + public DestinationCassandraCassandraEnum destinationType; + public DestinationCassandra withDestinationType(DestinationCassandraCassandraEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Default Cassandra keyspace to create data in. + */ + @JsonProperty("keyspace") + public String keyspace; + public DestinationCassandra withKeyspace(String keyspace) { + this.keyspace = keyspace; + return this; + } + + /** + * Password associated with Cassandra. + */ + @JsonProperty("password") + public String password; + public DestinationCassandra withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of Cassandra. + */ + @JsonProperty("port") + public Long port; + public DestinationCassandra withPort(Long port) { + this.port = port; + return this; + } + + /** + * Indicates to how many nodes the data should be replicated to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("replication") + public Long replication; + public DestinationCassandra withReplication(Long replication) { + this.replication = replication; + return this; + } + + /** + * Username to use to access Cassandra. + */ + @JsonProperty("username") + public String username; + public DestinationCassandra withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationCassandraCassandraEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationCassandraCassandraEnum.java new file mode 100755 index 000000000..10241d968 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationCassandraCassandraEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationCassandraCassandraEnum { + CASSANDRA("cassandra"); + + @JsonValue + public final String value; + + private DestinationCassandraCassandraEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java new file mode 100755 index 000000000..0034b51b3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationClickhouse - The values required to configure the destination. + */ +public class DestinationClickhouse { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public DestinationClickhouse withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationClickhouseClickhouseEnum destinationType; + public DestinationClickhouse withDestinationType(DestinationClickhouseClickhouseEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Hostname of the database. + */ + @JsonProperty("host") + public String host; + public DestinationClickhouse withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public DestinationClickhouse withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationClickhouse withPassword(String password) { + this.password = password; + return this; + } + + /** + * HTTP port of the database. + */ + @JsonProperty("port") + public Long port; + public DestinationClickhouse withPort(Long port) { + this.port = port; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationClickhouse withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Username to use to access the database. + */ + @JsonProperty("username") + public String username; + public DestinationClickhouse withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseClickhouseEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseClickhouseEnum.java new file mode 100755 index 000000000..4f1cd3b58 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseClickhouseEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationClickhouseClickhouseEnum { + CLICKHOUSE("clickhouse"); + + @JsonValue + public final String value; + + private DestinationClickhouseClickhouseEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodNoTunnel.java new file mode 100755 index 000000000..c73f93fb8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationClickhouseTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationClickhouseTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationClickhouseTunnelMethodNoTunnel withTunnelMethod(DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..3fc61d8df --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..db145c98c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationClickhouseTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationClickhouseTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationClickhouseTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationClickhouseTunnelMethodPasswordAuthentication withTunnelMethod(DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationClickhouseTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationClickhouseTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationClickhouseTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..f43950a42 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..98669ffaf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationClickhouseTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationClickhouseTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationClickhouseTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationClickhouseTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationClickhouseTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationClickhouseTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationClickhouseTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..2872b1395 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationConvex.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationConvex.java new file mode 100755 index 000000000..ead881438 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationConvex.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationConvex - The values required to configure the destination. + */ +public class DestinationConvex { + /** + * API access key used to send data to a Convex deployment. + */ + @JsonProperty("access_key") + public String accessKey; + public DestinationConvex withAccessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + /** + * URL of the Convex deployment that is the destination + */ + @JsonProperty("deployment_url") + public String deploymentUrl; + public DestinationConvex withDeploymentUrl(String deploymentUrl) { + this.deploymentUrl = deploymentUrl; + return this; + } + + @JsonProperty("destinationType") + public DestinationConvexConvexEnum destinationType; + public DestinationConvex withDestinationType(DestinationConvexConvexEnum destinationType) { + this.destinationType = destinationType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationConvexConvexEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationConvexConvexEnum.java new file mode 100755 index 000000000..e8171578d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationConvexConvexEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationConvexConvexEnum { + CONVEX("convex"); + + @JsonValue + public final String value; + + private DestinationConvexConvexEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabend.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabend.java new file mode 100755 index 000000000..9cfcf8b19 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabend.java @@ -0,0 +1,85 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationDatabend - The values required to configure the destination. + */ +public class DestinationDatabend { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public DestinationDatabend withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationDatabendDatabendEnum destinationType; + public DestinationDatabend withDestinationType(DestinationDatabendDatabendEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Hostname of the database. + */ + @JsonProperty("host") + public String host; + public DestinationDatabend withHost(String host) { + this.host = host; + return this; + } + + /** + * Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationDatabend withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("port") + public Long port; + public DestinationDatabend withPort(Long port) { + this.port = port; + return this; + } + + /** + * The default table was written to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("table") + public String table; + public DestinationDatabend withTable(String table) { + this.table = table; + return this; + } + + /** + * Username to use to access the database. + */ + @JsonProperty("username") + public String username; + public DestinationDatabend withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabendDatabendEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabendDatabendEnum.java new file mode 100755 index 000000000..5e82f89aa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabendDatabendEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationDatabendDatabendEnum { + DATABEND("databend"); + + @JsonValue + public final String value; + + private DestinationDatabendDatabendEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java new file mode 100755 index 000000000..1dbccaa48 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationDatabricks - The values required to configure the destination. + */ +public class 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. + */ + @JsonProperty("accept_terms") + public Boolean acceptTerms; + public DestinationDatabricks withAcceptTerms(Boolean acceptTerms) { + this.acceptTerms = acceptTerms; + return this; + } + + /** + * Storage on which the delta lake is built. + */ + @JsonProperty("data_source") + public Object dataSource; + public DestinationDatabricks withDataSource(Object dataSource) { + this.dataSource = dataSource; + return this; + } + + /** + * The name of the catalog. If not specified otherwise, the "hive_metastore" will be used. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("database") + public String database; + public DestinationDatabricks withDatabase(String database) { + this.database = database; + return this; + } + + /** + * Databricks Cluster HTTP Path. + */ + @JsonProperty("databricks_http_path") + public String databricksHttpPath; + public DestinationDatabricks withDatabricksHttpPath(String databricksHttpPath) { + this.databricksHttpPath = databricksHttpPath; + return this; + } + + /** + * Databricks Personal Access Token for making authenticated requests. + */ + @JsonProperty("databricks_personal_access_token") + public String databricksPersonalAccessToken; + public DestinationDatabricks withDatabricksPersonalAccessToken(String databricksPersonalAccessToken) { + this.databricksPersonalAccessToken = databricksPersonalAccessToken; + return this; + } + + /** + * Databricks Cluster Port. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("databricks_port") + public String databricksPort; + public DestinationDatabricks withDatabricksPort(String databricksPort) { + this.databricksPort = databricksPort; + return this; + } + + /** + * Databricks Cluster Server Hostname. + */ + @JsonProperty("databricks_server_hostname") + public String databricksServerHostname; + public DestinationDatabricks withDatabricksServerHostname(String databricksServerHostname) { + this.databricksServerHostname = databricksServerHostname; + return this; + } + + @JsonProperty("destinationType") + public DestinationDatabricksDatabricksEnum destinationType; + public DestinationDatabricks withDestinationType(DestinationDatabricksDatabricksEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Default to 'true'. Switch it to 'false' for debugging purpose. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("purge_staging_data") + public Boolean purgeStagingData; + public DestinationDatabricks withPurgeStagingData(Boolean purgeStagingData) { + this.purgeStagingData = purgeStagingData; + return this; + } + + /** + * The default schema tables are written. If not specified otherwise, the "default" will be used. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schema") + public String schema; + public DestinationDatabricks withSchema(String schema) { + this.schema = schema; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3.java new file mode 100755 index 000000000..2292c06a6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3.java @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationDatabricksDataSourceAmazonS3 - Storage on which the delta lake is built. + */ +public class DestinationDatabricksDataSourceAmazonS3 { + @JsonProperty("data_source_type") + public DestinationDatabricksDataSourceAmazonS3DataSourceTypeEnum dataSourceType; + public DestinationDatabricksDataSourceAmazonS3 withDataSourceType(DestinationDatabricksDataSourceAmazonS3DataSourceTypeEnum dataSourceType) { + this.dataSourceType = dataSourceType; + return this; + } + + /** + * The pattern allows you to set the file-name format for the S3 staging file(s) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_name_pattern") + public String fileNamePattern; + public DestinationDatabricksDataSourceAmazonS3 withFileNamePattern(String fileNamePattern) { + this.fileNamePattern = fileNamePattern; + return this; + } + + /** + * The Access Key Id granting allow one to access the above S3 staging bucket. Airbyte requires Read and Write permissions to the given bucket. + */ + @JsonProperty("s3_access_key_id") + public String s3AccessKeyId; + public DestinationDatabricksDataSourceAmazonS3 withS3AccessKeyId(String s3AccessKeyId) { + this.s3AccessKeyId = s3AccessKeyId; + return this; + } + + /** + * The name of the S3 bucket to use for intermittent staging of the data. + */ + @JsonProperty("s3_bucket_name") + public String s3BucketName; + public DestinationDatabricksDataSourceAmazonS3 withS3BucketName(String s3BucketName) { + this.s3BucketName = s3BucketName; + return this; + } + + /** + * The directory under the S3 bucket where data will be written. + */ + @JsonProperty("s3_bucket_path") + public String s3BucketPath; + public DestinationDatabricksDataSourceAmazonS3 withS3BucketPath(String s3BucketPath) { + this.s3BucketPath = s3BucketPath; + return this; + } + + /** + * The region of the S3 staging bucket to use if utilising a copy strategy. + */ + @JsonProperty("s3_bucket_region") + public DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum s3BucketRegion; + public DestinationDatabricksDataSourceAmazonS3 withS3BucketRegion(DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum s3BucketRegion) { + this.s3BucketRegion = s3BucketRegion; + return this; + } + + /** + * The corresponding secret to the above access key id. + */ + @JsonProperty("s3_secret_access_key") + public String s3SecretAccessKey; + public DestinationDatabricksDataSourceAmazonS3 withS3SecretAccessKey(String s3SecretAccessKey) { + this.s3SecretAccessKey = s3SecretAccessKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3DataSourceTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3DataSourceTypeEnum.java new file mode 100755 index 000000000..5e2957ca6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3DataSourceTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationDatabricksDataSourceAmazonS3DataSourceTypeEnum { + S3_STORAGE("S3_STORAGE"); + + @JsonValue + public final String value; + + private DestinationDatabricksDataSourceAmazonS3DataSourceTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum.java new file mode 100755 index 000000000..8342fe35a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum.java @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum - The region of the S3 staging bucket to use if utilising a copy strategy. + */ +public enum DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum { + UNKNOWN(""), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"); + + @JsonValue + public final String value; + + private DestinationDatabricksDataSourceAmazonS3S3BucketRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAzureBlobStorage.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAzureBlobStorage.java new file mode 100755 index 000000000..2d1d08ccb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAzureBlobStorage.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationDatabricksDataSourceAzureBlobStorage - Storage on which the delta lake is built. + */ +public class DestinationDatabricksDataSourceAzureBlobStorage { + /** + * The account's name of the Azure Blob Storage. + */ + @JsonProperty("azure_blob_storage_account_name") + public String azureBlobStorageAccountName; + public DestinationDatabricksDataSourceAzureBlobStorage withAzureBlobStorageAccountName(String azureBlobStorageAccountName) { + this.azureBlobStorageAccountName = azureBlobStorageAccountName; + return this; + } + + /** + * The name of the Azure blob storage container. + */ + @JsonProperty("azure_blob_storage_container_name") + public String azureBlobStorageContainerName; + public DestinationDatabricksDataSourceAzureBlobStorage withAzureBlobStorageContainerName(String azureBlobStorageContainerName) { + this.azureBlobStorageContainerName = azureBlobStorageContainerName; + return this; + } + + /** + * 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") + public String azureBlobStorageEndpointDomainName; + public DestinationDatabricksDataSourceAzureBlobStorage withAzureBlobStorageEndpointDomainName(String azureBlobStorageEndpointDomainName) { + this.azureBlobStorageEndpointDomainName = azureBlobStorageEndpointDomainName; + return this; + } + + /** + * Shared access signature (SAS) token to grant limited access to objects in your storage account. + */ + @JsonProperty("azure_blob_storage_sas_token") + public String azureBlobStorageSasToken; + public DestinationDatabricksDataSourceAzureBlobStorage withAzureBlobStorageSasToken(String azureBlobStorageSasToken) { + this.azureBlobStorageSasToken = azureBlobStorageSasToken; + return this; + } + + @JsonProperty("data_source_type") + public DestinationDatabricksDataSourceAzureBlobStorageDataSourceTypeEnum dataSourceType; + public DestinationDatabricksDataSourceAzureBlobStorage withDataSourceType(DestinationDatabricksDataSourceAzureBlobStorageDataSourceTypeEnum dataSourceType) { + this.dataSourceType = dataSourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAzureBlobStorageDataSourceTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAzureBlobStorageDataSourceTypeEnum.java new file mode 100755 index 000000000..20b0cb139 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceAzureBlobStorageDataSourceTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationDatabricksDataSourceAzureBlobStorageDataSourceTypeEnum { + AZURE_BLOB_STORAGE("AZURE_BLOB_STORAGE"); + + @JsonValue + public final String value; + + private DestinationDatabricksDataSourceAzureBlobStorageDataSourceTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceRecommendedManagedTables.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceRecommendedManagedTables.java new file mode 100755 index 000000000..0bf8d1d54 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceRecommendedManagedTables.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationDatabricksDataSourceRecommendedManagedTables - Storage on which the delta lake is built. + */ +public class DestinationDatabricksDataSourceRecommendedManagedTables { + @JsonProperty("data_source_type") + public DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceTypeEnum dataSourceType; + public DestinationDatabricksDataSourceRecommendedManagedTables withDataSourceType(DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceTypeEnum dataSourceType) { + this.dataSourceType = dataSourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceTypeEnum.java new file mode 100755 index 000000000..bde455d76 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceTypeEnum { + MANAGED_TABLES_STORAGE("MANAGED_TABLES_STORAGE"); + + @JsonValue + public final String value; + + private DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDatabricksEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDatabricksEnum.java new file mode 100755 index 000000000..8aa73653f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDatabricksEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationDatabricksDatabricksEnum { + DATABRICKS("databricks"); + + @JsonValue + public final String value; + + private DestinationDatabricksDatabricksEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java new file mode 100755 index 000000000..d8aa0e818 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationDynamodb - The values required to configure the destination. + */ +public class DestinationDynamodb { + /** + * The access key id to access the DynamoDB. Airbyte requires Read and Write permissions to the DynamoDB. + */ + @JsonProperty("access_key_id") + public String accessKeyId; + public DestinationDynamodb withAccessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + return this; + } + + @JsonProperty("destinationType") + public DestinationDynamodbDynamodbEnum destinationType; + public DestinationDynamodb withDestinationType(DestinationDynamodbDynamodbEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * This is your DynamoDB endpoint url.(if you are working with AWS DynamoDB, just leave empty). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dynamodb_endpoint") + public String dynamodbEndpoint; + public DestinationDynamodb withDynamodbEndpoint(String dynamodbEndpoint) { + this.dynamodbEndpoint = dynamodbEndpoint; + return this; + } + + /** + * The region of the DynamoDB. + */ + @JsonProperty("dynamodb_region") + public DestinationDynamodbDynamoDBRegionEnum dynamodbRegion; + public DestinationDynamodb withDynamodbRegion(DestinationDynamodbDynamoDBRegionEnum dynamodbRegion) { + this.dynamodbRegion = dynamodbRegion; + return this; + } + + /** + * The prefix to use when naming DynamoDB tables. + */ + @JsonProperty("dynamodb_table_name_prefix") + public String dynamodbTableNamePrefix; + public DestinationDynamodb withDynamodbTableNamePrefix(String dynamodbTableNamePrefix) { + this.dynamodbTableNamePrefix = dynamodbTableNamePrefix; + return this; + } + + /** + * The corresponding secret to the access key id. + */ + @JsonProperty("secret_access_key") + public String secretAccessKey; + public DestinationDynamodb withSecretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodbDynamoDBRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodbDynamoDBRegionEnum.java new file mode 100755 index 000000000..dd1c3eadc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodbDynamoDBRegionEnum.java @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationDynamodbDynamoDBRegionEnum - The region of the DynamoDB. + */ +public enum DestinationDynamodbDynamoDBRegionEnum { + UNKNOWN(""), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"); + + @JsonValue + public final String value; + + private DestinationDynamodbDynamoDBRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodbDynamodbEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodbDynamodbEnum.java new file mode 100755 index 000000000..eea9a6187 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationDynamodbDynamodbEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationDynamodbDynamodbEnum { + DYNAMODB("dynamodb"); + + @JsonValue + public final String value; + + private DestinationDynamodbDynamodbEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java new file mode 100755 index 000000000..6f9f6738e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationElasticsearch - The values required to configure the destination. + */ +public class DestinationElasticsearch { + /** + * The type of authentication to be used + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("authenticationMethod") + public Object authenticationMethod; + public DestinationElasticsearch withAuthenticationMethod(Object authenticationMethod) { + this.authenticationMethod = authenticationMethod; + return this; + } + + /** + * CA certificate + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ca_certificate") + public String caCertificate; + public DestinationElasticsearch withCaCertificate(String caCertificate) { + this.caCertificate = caCertificate; + return this; + } + + @JsonProperty("destinationType") + public DestinationElasticsearchElasticsearchEnum destinationType; + public DestinationElasticsearch withDestinationType(DestinationElasticsearchElasticsearchEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The full url of the Elasticsearch server + */ + @JsonProperty("endpoint") + public String endpoint; + public DestinationElasticsearch withEndpoint(String endpoint) { + this.endpoint = endpoint; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("upsert") + public Boolean upsert; + public DestinationElasticsearch withUpsert(Boolean upsert) { + this.upsert = upsert; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodApiKeySecret.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodApiKeySecret.java new file mode 100755 index 000000000..bfed37cf6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodApiKeySecret.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationElasticsearchAuthenticationMethodApiKeySecret - Use a api key and secret combination to authenticate + */ +public class DestinationElasticsearchAuthenticationMethodApiKeySecret { + /** + * The Key ID to used when accessing an enterprise Elasticsearch instance. + */ + @JsonProperty("apiKeyId") + public String apiKeyId; + public DestinationElasticsearchAuthenticationMethodApiKeySecret withApiKeyId(String apiKeyId) { + this.apiKeyId = apiKeyId; + return this; + } + + /** + * The secret associated with the API Key ID. + */ + @JsonProperty("apiKeySecret") + public String apiKeySecret; + public DestinationElasticsearchAuthenticationMethodApiKeySecret withApiKeySecret(String apiKeySecret) { + this.apiKeySecret = apiKeySecret; + return this; + } + + @JsonProperty("method") + public DestinationElasticsearchAuthenticationMethodApiKeySecretMethodEnum method; + public DestinationElasticsearchAuthenticationMethodApiKeySecret withMethod(DestinationElasticsearchAuthenticationMethodApiKeySecretMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodApiKeySecretMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodApiKeySecretMethodEnum.java new file mode 100755 index 000000000..b63c3ac31 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodApiKeySecretMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationElasticsearchAuthenticationMethodApiKeySecretMethodEnum { + SECRET("secret"); + + @JsonValue + public final String value; + + private DestinationElasticsearchAuthenticationMethodApiKeySecretMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodUsernamePassword.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodUsernamePassword.java new file mode 100755 index 000000000..837f89a51 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodUsernamePassword.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationElasticsearchAuthenticationMethodUsernamePassword - Basic auth header with a username and password + */ +public class DestinationElasticsearchAuthenticationMethodUsernamePassword { + @JsonProperty("method") + public DestinationElasticsearchAuthenticationMethodUsernamePasswordMethodEnum method; + public DestinationElasticsearchAuthenticationMethodUsernamePassword withMethod(DestinationElasticsearchAuthenticationMethodUsernamePasswordMethodEnum method) { + this.method = method; + return this; + } + + /** + * Basic auth password to access a secure Elasticsearch server + */ + @JsonProperty("password") + public String password; + public DestinationElasticsearchAuthenticationMethodUsernamePassword withPassword(String password) { + this.password = password; + return this; + } + + /** + * Basic auth username to access a secure Elasticsearch server + */ + @JsonProperty("username") + public String username; + public DestinationElasticsearchAuthenticationMethodUsernamePassword withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodUsernamePasswordMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodUsernamePasswordMethodEnum.java new file mode 100755 index 000000000..f9e9498ae --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchAuthenticationMethodUsernamePasswordMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationElasticsearchAuthenticationMethodUsernamePasswordMethodEnum { + BASIC("basic"); + + @JsonValue + public final String value; + + private DestinationElasticsearchAuthenticationMethodUsernamePasswordMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchElasticsearchEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchElasticsearchEnum.java new file mode 100755 index 000000000..10aafe494 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchElasticsearchEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationElasticsearchElasticsearchEnum { + ELASTICSEARCH("elasticsearch"); + + @JsonValue + public final String value; + + private DestinationElasticsearchElasticsearchEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java new file mode 100755 index 000000000..398b871f6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationFirebolt - The values required to configure the destination. + */ +public class DestinationFirebolt { + /** + * Firebolt account to login. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("account") + public String account; + public DestinationFirebolt withAccount(String account) { + this.account = account; + return this; + } + + /** + * The database to connect to. + */ + @JsonProperty("database") + public String database; + public DestinationFirebolt withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationFireboltFireboltEnum destinationType; + public DestinationFirebolt withDestinationType(DestinationFireboltFireboltEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Engine name or url to connect to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("engine") + public String engine; + public DestinationFirebolt withEngine(String engine) { + this.engine = engine; + return this; + } + + /** + * The host name of your Firebolt database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("host") + public String host; + public DestinationFirebolt withHost(String host) { + this.host = host; + return this; + } + + /** + * Loading method used to select the way data will be uploaded to Firebolt + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("loading_method") + public Object loadingMethod; + public DestinationFirebolt withLoadingMethod(Object loadingMethod) { + this.loadingMethod = loadingMethod; + return this; + } + + /** + * Firebolt password. + */ + @JsonProperty("password") + public String password; + public DestinationFirebolt withPassword(String password) { + this.password = password; + return this; + } + + /** + * Firebolt email address you use to login. + */ + @JsonProperty("username") + public String username; + public DestinationFirebolt withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltFireboltEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltFireboltEnum.java new file mode 100755 index 000000000..01c4c7c92 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltFireboltEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationFireboltFireboltEnum { + FIREBOLT("firebolt"); + + @JsonValue + public final String value; + + private DestinationFireboltFireboltEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodExternalTableViaS3.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodExternalTableViaS3.java new file mode 100755 index 000000000..eb57c067b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodExternalTableViaS3.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationFireboltLoadingMethodExternalTableViaS3 - Loading method used to select the way data will be uploaded to Firebolt + */ +public class DestinationFireboltLoadingMethodExternalTableViaS3 { + /** + * AWS access key granting read and write access to S3. + */ + @JsonProperty("aws_key_id") + public String awsKeyId; + public DestinationFireboltLoadingMethodExternalTableViaS3 withAwsKeyId(String awsKeyId) { + this.awsKeyId = awsKeyId; + return this; + } + + /** + * Corresponding secret part of the AWS Key + */ + @JsonProperty("aws_key_secret") + public String awsKeySecret; + public DestinationFireboltLoadingMethodExternalTableViaS3 withAwsKeySecret(String awsKeySecret) { + this.awsKeySecret = awsKeySecret; + return this; + } + + @JsonProperty("method") + public DestinationFireboltLoadingMethodExternalTableViaS3MethodEnum method; + public DestinationFireboltLoadingMethodExternalTableViaS3 withMethod(DestinationFireboltLoadingMethodExternalTableViaS3MethodEnum method) { + this.method = method; + return this; + } + + /** + * The name of the S3 bucket. + */ + @JsonProperty("s3_bucket") + public String s3Bucket; + public DestinationFireboltLoadingMethodExternalTableViaS3 withS3Bucket(String s3Bucket) { + this.s3Bucket = s3Bucket; + return this; + } + + /** + * Region name of the S3 bucket. + */ + @JsonProperty("s3_region") + public String s3Region; + public DestinationFireboltLoadingMethodExternalTableViaS3 withS3Region(String s3Region) { + this.s3Region = s3Region; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodExternalTableViaS3MethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodExternalTableViaS3MethodEnum.java new file mode 100755 index 000000000..9d25cb419 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodExternalTableViaS3MethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationFireboltLoadingMethodExternalTableViaS3MethodEnum { + S3("S3"); + + @JsonValue + public final String value; + + private DestinationFireboltLoadingMethodExternalTableViaS3MethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodSQLInserts.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodSQLInserts.java new file mode 100755 index 000000000..01b744f45 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodSQLInserts.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationFireboltLoadingMethodSQLInserts - Loading method used to select the way data will be uploaded to Firebolt + */ +public class DestinationFireboltLoadingMethodSQLInserts { + @JsonProperty("method") + public DestinationFireboltLoadingMethodSQLInsertsMethodEnum method; + public DestinationFireboltLoadingMethodSQLInserts withMethod(DestinationFireboltLoadingMethodSQLInsertsMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodSQLInsertsMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodSQLInsertsMethodEnum.java new file mode 100755 index 000000000..7fcc29532 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethodSQLInsertsMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationFireboltLoadingMethodSQLInsertsMethodEnum { + SQL("SQL"); + + @JsonValue + public final String value; + + private DestinationFireboltLoadingMethodSQLInsertsMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java new file mode 100755 index 000000000..dc0674c3e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationFirestore - The values required to configure the destination. + */ +public class DestinationFirestore { + /** + * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.io/integrations/destinations/firestore">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") + public String credentialsJson; + public DestinationFirestore withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + + @JsonProperty("destinationType") + public DestinationFirestoreFirestoreEnum destinationType; + public DestinationFirestore withDestinationType(DestinationFirestoreFirestoreEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The GCP project ID for the project containing the target BigQuery dataset. + */ + @JsonProperty("project_id") + public String projectId; + public DestinationFirestore withProjectId(String projectId) { + this.projectId = projectId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirestoreFirestoreEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirestoreFirestoreEnum.java new file mode 100755 index 000000000..b91b7de1d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationFirestoreFirestoreEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationFirestoreFirestoreEnum { + FIRESTORE("firestore"); + + @JsonValue + public final String value; + + private DestinationFirestoreFirestoreEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGCSGCSBucketRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGCSGCSBucketRegionEnum.java new file mode 100755 index 000000000..7c134c63e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGCSGCSBucketRegionEnum.java @@ -0,0 +1,55 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationGCSGCSBucketRegionEnum - Select a Region of the GCS Bucket. Read more <a href="https://cloud.google.com/storage/docs/locations">here</a>. + */ +public enum DestinationGCSGCSBucketRegionEnum { + NORTHAMERICA_NORTHEAST1("northamerica-northeast1"), + NORTHAMERICA_NORTHEAST2("northamerica-northeast2"), + US_CENTRAL1("us-central1"), + US_EAST1("us-east1"), + US_EAST4("us-east4"), + US_WEST1("us-west1"), + US_WEST2("us-west2"), + US_WEST3("us-west3"), + US_WEST4("us-west4"), + SOUTHAMERICA_EAST1("southamerica-east1"), + SOUTHAMERICA_WEST1("southamerica-west1"), + EUROPE_CENTRAL2("europe-central2"), + EUROPE_NORTH1("europe-north1"), + EUROPE_WEST1("europe-west1"), + EUROPE_WEST2("europe-west2"), + EUROPE_WEST3("europe-west3"), + EUROPE_WEST4("europe-west4"), + EUROPE_WEST6("europe-west6"), + ASIA_EAST1("asia-east1"), + ASIA_EAST2("asia-east2"), + ASIA_NORTHEAST1("asia-northeast1"), + ASIA_NORTHEAST2("asia-northeast2"), + ASIA_NORTHEAST3("asia-northeast3"), + ASIA_SOUTH1("asia-south1"), + ASIA_SOUTH2("asia-south2"), + ASIA_SOUTHEAST1("asia-southeast1"), + ASIA_SOUTHEAST2("asia-southeast2"), + AUSTRALIA_SOUTHEAST1("australia-southeast1"), + AUSTRALIA_SOUTHEAST2("australia-southeast2"), + ASIA("asia"), + EU("eu"), + US("us"), + ASIA1("asia1"), + EUR4("eur4"), + NAM4("nam4"); + + @JsonValue + public final String value; + + private DestinationGCSGCSBucketRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java new file mode 100755 index 000000000..b63560ce3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcs - The values required to configure the destination. + */ +public class DestinationGcs { + /** + * 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>. + */ + @JsonProperty("credential") + public Object credential; + public DestinationGcs withCredential(Object credential) { + this.credential = credential; + return this; + } + + @JsonProperty("destinationType") + public DestinationGcsGcsEnum destinationType; + public DestinationGcs withDestinationType(DestinationGcsGcsEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * 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. + */ + @JsonProperty("format") + public Object format; + public DestinationGcs withFormat(Object format) { + this.format = format; + return this; + } + + /** + * You can find the bucket name in the App Engine Admin console Application Settings page, under the label Google Cloud Storage Bucket. Read more <a href="https://cloud.google.com/storage/docs/naming-buckets">here</a>. + */ + @JsonProperty("gcs_bucket_name") + public String gcsBucketName; + public DestinationGcs withGcsBucketName(String gcsBucketName) { + this.gcsBucketName = gcsBucketName; + return this; + } + + /** + * GCS Bucket Path string Subdirectory under the above bucket to sync the data into. + */ + @JsonProperty("gcs_bucket_path") + public String gcsBucketPath; + public DestinationGcs withGcsBucketPath(String gcsBucketPath) { + this.gcsBucketPath = gcsBucketPath; + return this; + } + + /** + * Select a Region of the GCS Bucket. Read more <a href="https://cloud.google.com/storage/docs/locations">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("gcs_bucket_region") + public DestinationGCSGCSBucketRegionEnum gcsBucketRegion; + public DestinationGcs withGcsBucketRegion(DestinationGCSGCSBucketRegionEnum gcsBucketRegion) { + this.gcsBucketRegion = gcsBucketRegion; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsCredentialHMACKey.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsCredentialHMACKey.java new file mode 100755 index 000000000..d10998679 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsCredentialHMACKey.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsCredentialHMACKey - 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>. + */ +public class DestinationGcsCredentialHMACKey { + @JsonProperty("credential_type") + public DestinationGcsCredentialHMACKeyCredentialTypeEnum credentialType; + public DestinationGcsCredentialHMACKey withCredentialType(DestinationGcsCredentialHMACKeyCredentialTypeEnum credentialType) { + this.credentialType = credentialType; + return this; + } + + /** + * 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 <a href="https://cloud.google.com/storage/docs/authentication/hmackeys#overview">here</a>. + */ + @JsonProperty("hmac_key_access_id") + public String hmacKeyAccessId; + public DestinationGcsCredentialHMACKey withHmacKeyAccessId(String hmacKeyAccessId) { + this.hmacKeyAccessId = hmacKeyAccessId; + return this; + } + + /** + * The corresponding secret for the access ID. It is a 40-character base-64 encoded string. Read more <a href="https://cloud.google.com/storage/docs/authentication/hmackeys#secrets">here</a>. + */ + @JsonProperty("hmac_key_secret") + public String hmacKeySecret; + public DestinationGcsCredentialHMACKey withHmacKeySecret(String hmacKeySecret) { + this.hmacKeySecret = hmacKeySecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsCredentialHMACKeyCredentialTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsCredentialHMACKeyCredentialTypeEnum.java new file mode 100755 index 000000000..d2129f47c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsCredentialHMACKeyCredentialTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsCredentialHMACKeyCredentialTypeEnum { + HMAC_KEY("HMAC_KEY"); + + @JsonValue + public final String value; + + private DestinationGcsCredentialHMACKeyCredentialTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvro.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvro.java new file mode 100755 index 000000000..682f53aa2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvro.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatAvroApacheAvro - 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. + */ +public class DestinationGcsFormatAvroApacheAvro { + /** + * The compression algorithm used to compress data. Default to no compression. + */ + @JsonProperty("compression_codec") + public Object compressionCodec; + public DestinationGcsFormatAvroApacheAvro withCompressionCodec(Object compressionCodec) { + this.compressionCodec = compressionCodec; + return this; + } + + @JsonProperty("format_type") + public DestinationGcsFormatAvroApacheAvroFormatTypeEnum formatType; + public DestinationGcsFormatAvroApacheAvro withFormatType(DestinationGcsFormatAvroApacheAvroFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2.java new file mode 100755 index 000000000..746d6373a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2 - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2 { + @JsonProperty("codec") + public DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2CodecEnum codec; + public DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2 withCodec(DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2CodecEnum codec) { + this.codec = codec; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2CodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2CodecEnum.java new file mode 100755 index 000000000..ec5ba7af0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2CodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2CodecEnum { + BZIP2("bzip2"); + + @JsonValue + public final String value; + + private DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2CodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate.java new file mode 100755 index 000000000..84b7c3371 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate { + @JsonProperty("codec") + public DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodecEnum codec; + public DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate withCodec(DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodecEnum codec) { + this.codec = codec; + return this; + } + + /** + * 0: no compression & fastest, 9: best compression & slowest. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_level") + public Long compressionLevel; + public DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate withCompressionLevel(Long compressionLevel) { + this.compressionLevel = compressionLevel; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodecEnum.java new file mode 100755 index 000000000..d5c9a0c74 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodecEnum { + DEFLATE("Deflate"); + + @JsonValue + public final String value; + + private DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression.java new file mode 100755 index 000000000..cae266664 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression { + @JsonProperty("codec") + public DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum codec; + public DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression withCodec(DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum codec) { + this.codec = codec; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum.java new file mode 100755 index 000000000..4e5c8111d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum { + NO_COMPRESSION("no compression"); + + @JsonValue + public final String value; + + private DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy.java new file mode 100755 index 000000000..2d8fbd94d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy { + @JsonProperty("codec") + public DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodecEnum codec; + public DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy withCodec(DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodecEnum codec) { + this.codec = codec; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodecEnum.java new file mode 100755 index 000000000..ff99599ff --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodecEnum { + SNAPPY("snappy"); + + @JsonValue + public final String value; + + private DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecXz.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecXz.java new file mode 100755 index 000000000..994d3ba77 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecXz.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatAvroApacheAvroCompressionCodecXz - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationGcsFormatAvroApacheAvroCompressionCodecXz { + @JsonProperty("codec") + public DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodecEnum codec; + public DestinationGcsFormatAvroApacheAvroCompressionCodecXz withCodec(DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodecEnum codec) { + this.codec = codec; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_level") + public Long compressionLevel; + public DestinationGcsFormatAvroApacheAvroCompressionCodecXz withCompressionLevel(Long compressionLevel) { + this.compressionLevel = compressionLevel; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodecEnum.java new file mode 100755 index 000000000..67b9128f5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodecEnum { + XZ("xz"); + + @JsonValue + public final String value; + + private DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard.java new file mode 100755 index 000000000..310972045 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard { + @JsonProperty("codec") + public DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodecEnum codec; + public DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard withCodec(DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodecEnum codec) { + this.codec = codec; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_level") + public Long compressionLevel; + public DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard withCompressionLevel(Long compressionLevel) { + this.compressionLevel = compressionLevel; + return this; + } + + /** + * If true, include a checksum with each data block. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("include_checksum") + public Boolean includeChecksum; + public DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard withIncludeChecksum(Boolean includeChecksum) { + this.includeChecksum = includeChecksum; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodecEnum.java new file mode 100755 index 000000000..1d8a99340 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodecEnum { + ZSTANDARD("zstandard"); + + @JsonValue + public final String value; + + private DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroFormatTypeEnum.java new file mode 100755 index 000000000..0816abbaf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatAvroApacheAvroFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatAvroApacheAvroFormatTypeEnum { + AVRO("Avro"); + + @JsonValue + public final String value; + + private DestinationGcsFormatAvroApacheAvroFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValues.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValues.java new file mode 100755 index 000000000..d88687bc0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValues.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatCSVCommaSeparatedValues - 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. + */ +public class DestinationGcsFormatCSVCommaSeparatedValues { + /** + * Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression") + public Object compression; + public DestinationGcsFormatCSVCommaSeparatedValues withCompression(Object compression) { + this.compression = compression; + return this; + } + + /** + * Whether the input JSON data should be normalized (flattened) in the output CSV. Please refer to docs for details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("flattening") + public DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum flattening; + public DestinationGcsFormatCSVCommaSeparatedValues withFlattening(DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum flattening) { + this.flattening = flattening; + return this; + } + + @JsonProperty("format_type") + public DestinationGcsFormatCSVCommaSeparatedValuesFormatTypeEnum formatType; + public DestinationGcsFormatCSVCommaSeparatedValues withFormatType(DestinationGcsFormatCSVCommaSeparatedValuesFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP.java new file mode 100755 index 000000000..c401ff690 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). + */ +public class DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum compressionType; + public DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP withCompressionType(DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum.java new file mode 100755 index 000000000..e549d7b26 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum { + GZIP("GZIP"); + + @JsonValue + public final String value; + + private DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression.java new file mode 100755 index 000000000..ccde6bce3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). + */ +public class DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum compressionType; + public DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression withCompressionType(DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum.java new file mode 100755 index 000000000..25d8d8adb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum { + NO_COMPRESSION("No Compression"); + + @JsonValue + public final String value; + + private DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesFormatTypeEnum.java new file mode 100755 index 000000000..8afcd5009 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatCSVCommaSeparatedValuesFormatTypeEnum { + CSV("CSV"); + + @JsonValue + public final String value; + + private DestinationGcsFormatCSVCommaSeparatedValuesFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum.java new file mode 100755 index 000000000..d727ce0db --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum - Whether the input JSON data should be normalized (flattened) in the output CSV. Please refer to docs for details. + */ +public enum DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum { + NO_FLATTENING("No flattening"), + ROOT_LEVEL_FLATTENING("Root level flattening"); + + @JsonValue + public final String value; + + private DestinationGcsFormatCSVCommaSeparatedValuesNormalizationEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSON.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSON.java new file mode 100755 index 000000000..846478841 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSON.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatJSONLinesNewlineDelimitedJSON - 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. + */ +public class DestinationGcsFormatJSONLinesNewlineDelimitedJSON { + /** + * Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression") + public Object compression; + public DestinationGcsFormatJSONLinesNewlineDelimitedJSON withCompression(Object compression) { + this.compression = compression; + return this; + } + + @JsonProperty("format_type") + public DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType; + public DestinationGcsFormatJSONLinesNewlineDelimitedJSON withFormatType(DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java new file mode 100755 index 000000000..6bd675d98 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ +public class DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum compressionType; + public DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP withCompressionType(DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java new file mode 100755 index 000000000..606f7ffe1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum { + GZIP("GZIP"); + + @JsonValue + public final String value; + + private DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java new file mode 100755 index 000000000..f9b35498f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ +public class DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum compressionType; + public DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression withCompressionType(DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java new file mode 100755 index 000000000..7e6e3c9d1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum { + NO_COMPRESSION("No Compression"); + + @JsonValue + public final String value; + + private DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java new file mode 100755 index 000000000..f6e1dedff --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum { + JSONL("JSONL"); + + @JsonValue + public final String value; + + private DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorage.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorage.java new file mode 100755 index 000000000..a6aa07e83 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorage.java @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGcsFormatParquetColumnarStorage - 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. + */ +public class DestinationGcsFormatParquetColumnarStorage { + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("block_size_mb") + public Long blockSizeMb; + public DestinationGcsFormatParquetColumnarStorage withBlockSizeMb(Long blockSizeMb) { + this.blockSizeMb = blockSizeMb; + return this; + } + + /** + * The compression algorithm used to compress data pages. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_codec") + public DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum compressionCodec; + public DestinationGcsFormatParquetColumnarStorage withCompressionCodec(DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum compressionCodec) { + this.compressionCodec = compressionCodec; + return this; + } + + /** + * Default: true. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dictionary_encoding") + public Boolean dictionaryEncoding; + public DestinationGcsFormatParquetColumnarStorage withDictionaryEncoding(Boolean dictionaryEncoding) { + this.dictionaryEncoding = dictionaryEncoding; + return this; + } + + /** + * 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") + public Long dictionaryPageSizeKb; + public DestinationGcsFormatParquetColumnarStorage withDictionaryPageSizeKb(Long dictionaryPageSizeKb) { + this.dictionaryPageSizeKb = dictionaryPageSizeKb; + return this; + } + + @JsonProperty("format_type") + public DestinationGcsFormatParquetColumnarStorageFormatTypeEnum formatType; + public DestinationGcsFormatParquetColumnarStorage withFormatType(DestinationGcsFormatParquetColumnarStorageFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + + /** + * Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("max_padding_size_mb") + public Long maxPaddingSizeMb; + public DestinationGcsFormatParquetColumnarStorage withMaxPaddingSizeMb(Long maxPaddingSizeMb) { + this.maxPaddingSizeMb = maxPaddingSizeMb; + return this; + } + + /** + * 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") + public Long pageSizeKb; + public DestinationGcsFormatParquetColumnarStorage withPageSizeKb(Long pageSizeKb) { + this.pageSizeKb = pageSizeKb; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum.java new file mode 100755 index 000000000..4c9cb5083 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum - The compression algorithm used to compress data pages. + */ +public enum DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum { + UNCOMPRESSED("UNCOMPRESSED"), + SNAPPY("SNAPPY"), + GZIP("GZIP"), + LZO("LZO"), + BROTLI("BROTLI"), + LZ4("LZ4"), + ZSTD("ZSTD"); + + @JsonValue + public final String value; + + private DestinationGcsFormatParquetColumnarStorageCompressionCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorageFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorageFormatTypeEnum.java new file mode 100755 index 000000000..9b5208890 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatParquetColumnarStorageFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsFormatParquetColumnarStorageFormatTypeEnum { + PARQUET("Parquet"); + + @JsonValue + public final String value; + + private DestinationGcsFormatParquetColumnarStorageFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsGcsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsGcsEnum.java new file mode 100755 index 000000000..05ab2143c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGcsGcsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGcsGcsEnum { + GCS("gcs"); + + @JsonValue + public final String value; + + private DestinationGcsGcsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheets.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheets.java new file mode 100755 index 000000000..82c68e23c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheets.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGoogleSheets - The values required to configure the destination. + */ +public class DestinationGoogleSheets { + /** + * Google API Credentials for connecting to Google Sheets and Google Drive APIs + */ + @JsonProperty("credentials") + public DestinationGoogleSheetsAuthenticationViaGoogleOAuth credentials; + public DestinationGoogleSheets withCredentials(DestinationGoogleSheetsAuthenticationViaGoogleOAuth credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("destinationType") + public DestinationGoogleSheetsGoogleSheetsEnum destinationType; + public DestinationGoogleSheets withDestinationType(DestinationGoogleSheetsGoogleSheetsEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The link to your spreadsheet. See <a href='https://docs.airbyte.com/integrations/destinations/google-sheets#sheetlink'>this guide</a> for more details. + */ + @JsonProperty("spreadsheet_id") + public String spreadsheetId; + public DestinationGoogleSheets withSpreadsheetId(String spreadsheetId) { + this.spreadsheetId = spreadsheetId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsAuthenticationViaGoogleOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsAuthenticationViaGoogleOAuth.java new file mode 100755 index 000000000..ae8acc1fb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsAuthenticationViaGoogleOAuth.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationGoogleSheetsAuthenticationViaGoogleOAuth - Google API Credentials for connecting to Google Sheets and Google Drive APIs + */ +public class DestinationGoogleSheetsAuthenticationViaGoogleOAuth { + /** + * The Client ID of your Google Sheets developer application. + */ + @JsonProperty("client_id") + public String clientId; + public DestinationGoogleSheetsAuthenticationViaGoogleOAuth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Google Sheets developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public DestinationGoogleSheetsAuthenticationViaGoogleOAuth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The token for obtaining new access token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public DestinationGoogleSheetsAuthenticationViaGoogleOAuth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsGoogleSheetsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsGoogleSheetsEnum.java new file mode 100755 index 000000000..fa7243c00 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsGoogleSheetsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationGoogleSheetsGoogleSheetsEnum { + GOOGLE_SHEETS("google-sheets"); + + @JsonValue + public final String value; + + private DestinationGoogleSheetsGoogleSheetsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationKeen.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationKeen.java new file mode 100755 index 000000000..394873c02 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationKeen.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationKeen - The values required to configure the destination. + */ +public class DestinationKeen { + /** + * To get Keen Master API Key, navigate to the Access tab from the left-hand, side panel and check the Project Details section. + */ + @JsonProperty("api_key") + public String apiKey; + public DestinationKeen withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("destinationType") + public DestinationKeenKeenEnum destinationType; + public DestinationKeen withDestinationType(DestinationKeenKeenEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Allow connector to guess keen.timestamp value based on the streamed data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("infer_timestamp") + public Boolean inferTimestamp; + public DestinationKeen withInferTimestamp(Boolean inferTimestamp) { + this.inferTimestamp = inferTimestamp; + return this; + } + + /** + * To get Keen Project ID, navigate to the Access tab from the left-hand, side panel and check the Project Details section. + */ + @JsonProperty("project_id") + public String projectId; + public DestinationKeen withProjectId(String projectId) { + this.projectId = projectId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationKeenKeenEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationKeenKeenEnum.java new file mode 100755 index 000000000..e6b4da213 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationKeenKeenEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationKeenKeenEnum { + KEEN("keen"); + + @JsonValue + public final String value; + + private DestinationKeenKeenEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationKinesis.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationKinesis.java new file mode 100755 index 000000000..bb547a1a0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationKinesis.java @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationKinesis - The values required to configure the destination. + */ +public class DestinationKinesis { + /** + * Generate the AWS Access Key for current user. + */ + @JsonProperty("accessKey") + public String accessKey; + public DestinationKinesis withAccessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + /** + * Buffer size for storing kinesis records before being batch streamed. + */ + @JsonProperty("bufferSize") + public Long bufferSize; + public DestinationKinesis withBufferSize(Long bufferSize) { + this.bufferSize = bufferSize; + return this; + } + + @JsonProperty("destinationType") + public DestinationKinesisKinesisEnum destinationType; + public DestinationKinesis withDestinationType(DestinationKinesisKinesisEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * AWS Kinesis endpoint. + */ + @JsonProperty("endpoint") + public String endpoint; + public DestinationKinesis withEndpoint(String endpoint) { + this.endpoint = endpoint; + return this; + } + + /** + * The AWS Private Key - a string of numbers and letters that are unique for each account, also known as a "recovery phrase". + */ + @JsonProperty("privateKey") + public String privateKey; + public DestinationKinesis withPrivateKey(String privateKey) { + this.privateKey = privateKey; + return this; + } + + /** + * AWS region. Your account determines the Regions that are available to you. + */ + @JsonProperty("region") + public String region; + public DestinationKinesis withRegion(String region) { + this.region = region; + return this; + } + + /** + * Number of shards to which the data should be streamed. + */ + @JsonProperty("shardCount") + public Long shardCount; + public DestinationKinesis withShardCount(Long shardCount) { + this.shardCount = shardCount; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationKinesisKinesisEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationKinesisKinesisEnum.java new file mode 100755 index 000000000..7d5778b11 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationKinesisKinesisEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationKinesisKinesisEnum { + KINESIS("kinesis"); + + @JsonValue + public final String value; + + private DestinationKinesisKinesisEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstore.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstore.java new file mode 100755 index 000000000..b57f56ab6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstore.java @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMariadbColumnstore - The values required to configure the destination. + */ +public class DestinationMariadbColumnstore { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public DestinationMariadbColumnstore withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationMariadbColumnstoreMariadbColumnstoreEnum destinationType; + public DestinationMariadbColumnstore withDestinationType(DestinationMariadbColumnstoreMariadbColumnstoreEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The Hostname of the database. + */ + @JsonProperty("host") + public String host; + public DestinationMariadbColumnstore withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public DestinationMariadbColumnstore withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * The Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationMariadbColumnstore withPassword(String password) { + this.password = password; + return this; + } + + /** + * The Port of the database. + */ + @JsonProperty("port") + public Long port; + public DestinationMariadbColumnstore withPort(Long port) { + this.port = port; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationMariadbColumnstore withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * The Username which is used to access the database. + */ + @JsonProperty("username") + public String username; + public DestinationMariadbColumnstore withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreMariadbColumnstoreEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreMariadbColumnstoreEnum.java new file mode 100755 index 000000000..b4269e7b4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreMariadbColumnstoreEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMariadbColumnstoreMariadbColumnstoreEnum { + MARIADB_COLUMNSTORE("mariadb-columnstore"); + + @JsonValue + public final String value; + + private DestinationMariadbColumnstoreMariadbColumnstoreEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodNoTunnel.java new file mode 100755 index 000000000..dc8cce418 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMariadbColumnstoreTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMariadbColumnstoreTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationMariadbColumnstoreTunnelMethodNoTunnel withTunnelMethod(DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..ec2db9839 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..d4c24e731 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication withTunnelMethod(DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..b971bc23d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..8a05ec5dd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..a2e1926a1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMeilisearch.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMeilisearch.java new file mode 100755 index 000000000..897f58f17 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMeilisearch.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMeilisearch - The values required to configure the destination. + */ +public class DestinationMeilisearch { + /** + * MeiliSearch API Key. See the <a href="https://docs.airbyte.com/integrations/destinations/meilisearch">docs</a> for more information on how to obtain this key. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("api_key") + public String apiKey; + public DestinationMeilisearch withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("destinationType") + public DestinationMeilisearchMeilisearchEnum destinationType; + public DestinationMeilisearch withDestinationType(DestinationMeilisearchMeilisearchEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Hostname of the MeiliSearch instance. + */ + @JsonProperty("host") + public String host; + public DestinationMeilisearch withHost(String host) { + this.host = host; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMeilisearchMeilisearchEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMeilisearchMeilisearchEnum.java new file mode 100755 index 000000000..0f2fad393 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMeilisearchMeilisearchEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMeilisearchMeilisearchEnum { + MEILISEARCH("meilisearch"); + + @JsonValue + public final String value; + + private DestinationMeilisearchMeilisearchEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java new file mode 100755 index 000000000..f00e509b0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodb - The values required to configure the destination. + */ +public class DestinationMongodb { + /** + * Authorization type. + */ + @JsonProperty("auth_type") + public Object authType; + public DestinationMongodb withAuthType(Object authType) { + this.authType = authType; + return this; + } + + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public DestinationMongodb withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationMongodbMongodbEnum destinationType; + public DestinationMongodb withDestinationType(DestinationMongodbMongodbEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("instance_type") + public Object instanceType; + public DestinationMongodb withInstanceType(Object instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationMongodb withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeLoginPassword.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeLoginPassword.java new file mode 100755 index 000000000..45883679f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeLoginPassword.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodbAuthTypeLoginPassword - Login/Password. + */ +public class DestinationMongodbAuthTypeLoginPassword { + @JsonProperty("authorization") + public DestinationMongodbAuthTypeLoginPasswordAuthorizationEnum authorization; + public DestinationMongodbAuthTypeLoginPassword withAuthorization(DestinationMongodbAuthTypeLoginPasswordAuthorizationEnum authorization) { + this.authorization = authorization; + return this; + } + + /** + * Password associated with the username. + */ + @JsonProperty("password") + public String password; + public DestinationMongodbAuthTypeLoginPassword withPassword(String password) { + this.password = password; + return this; + } + + /** + * Username to use to access the database. + */ + @JsonProperty("username") + public String username; + public DestinationMongodbAuthTypeLoginPassword withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeLoginPasswordAuthorizationEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeLoginPasswordAuthorizationEnum.java new file mode 100755 index 000000000..89920c353 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeLoginPasswordAuthorizationEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMongodbAuthTypeLoginPasswordAuthorizationEnum { + LOGIN_PASSWORD("login/password"); + + @JsonValue + public final String value; + + private DestinationMongodbAuthTypeLoginPasswordAuthorizationEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeNone.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeNone.java new file mode 100755 index 000000000..c276ae04d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeNone.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodbAuthTypeNone - None. + */ +public class DestinationMongodbAuthTypeNone { + @JsonProperty("authorization") + public DestinationMongodbAuthTypeNoneAuthorizationEnum authorization; + public DestinationMongodbAuthTypeNone withAuthorization(DestinationMongodbAuthTypeNoneAuthorizationEnum authorization) { + this.authorization = authorization; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeNoneAuthorizationEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeNoneAuthorizationEnum.java new file mode 100755 index 000000000..b1578b238 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthTypeNoneAuthorizationEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMongodbAuthTypeNoneAuthorizationEnum { + NONE("none"); + + @JsonValue + public final String value; + + private DestinationMongodbAuthTypeNoneAuthorizationEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeMongoDBAtlas.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeMongoDBAtlas.java new file mode 100755 index 000000000..164383d9c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeMongoDBAtlas.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodbInstanceTypeMongoDBAtlas - MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. + */ +public class DestinationMongodbInstanceTypeMongoDBAtlas { + /** + * URL of a cluster to connect to. + */ + @JsonProperty("cluster_url") + public String clusterUrl; + public DestinationMongodbInstanceTypeMongoDBAtlas withClusterUrl(String clusterUrl) { + this.clusterUrl = clusterUrl; + return this; + } + + @JsonProperty("instance") + public DestinationMongodbInstanceTypeMongoDBAtlasInstanceEnum instance; + public DestinationMongodbInstanceTypeMongoDBAtlas withInstance(DestinationMongodbInstanceTypeMongoDBAtlasInstanceEnum instance) { + this.instance = instance; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeMongoDBAtlasInstanceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeMongoDBAtlasInstanceEnum.java new file mode 100755 index 000000000..833d53602 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeMongoDBAtlasInstanceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMongodbInstanceTypeMongoDBAtlasInstanceEnum { + ATLAS("atlas"); + + @JsonValue + public final String value; + + private DestinationMongodbInstanceTypeMongoDBAtlasInstanceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeReplicaSet.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeReplicaSet.java new file mode 100755 index 000000000..7e5c7aa52 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeReplicaSet.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodbInstanceTypeReplicaSet - MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. + */ +public class DestinationMongodbInstanceTypeReplicaSet { + @JsonProperty("instance") + public DestinationMongodbInstanceTypeReplicaSetInstanceEnum instance; + public DestinationMongodbInstanceTypeReplicaSet withInstance(DestinationMongodbInstanceTypeReplicaSetInstanceEnum instance) { + this.instance = instance; + return this; + } + + /** + * A replica set name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("replica_set") + public String replicaSet; + public DestinationMongodbInstanceTypeReplicaSet withReplicaSet(String replicaSet) { + this.replicaSet = replicaSet; + return this; + } + + /** + * The members of a replica set. Please specify `host`:`port` of each member seperated by comma. + */ + @JsonProperty("server_addresses") + public String serverAddresses; + public DestinationMongodbInstanceTypeReplicaSet withServerAddresses(String serverAddresses) { + this.serverAddresses = serverAddresses; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeReplicaSetInstanceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeReplicaSetInstanceEnum.java new file mode 100755 index 000000000..be3de6290 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeReplicaSetInstanceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMongodbInstanceTypeReplicaSetInstanceEnum { + REPLICA("replica"); + + @JsonValue + public final String value; + + private DestinationMongodbInstanceTypeReplicaSetInstanceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeStandaloneMongoDbInstance.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeStandaloneMongoDbInstance.java new file mode 100755 index 000000000..bb071b9c1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeStandaloneMongoDbInstance.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodbInstanceTypeStandaloneMongoDbInstance - MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. + */ +public class DestinationMongodbInstanceTypeStandaloneMongoDbInstance { + /** + * The Host of a Mongo database to be replicated. + */ + @JsonProperty("host") + public String host; + public DestinationMongodbInstanceTypeStandaloneMongoDbInstance withHost(String host) { + this.host = host; + return this; + } + + @JsonProperty("instance") + public DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum instance; + public DestinationMongodbInstanceTypeStandaloneMongoDbInstance withInstance(DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum instance) { + this.instance = instance; + return this; + } + + /** + * The Port of a Mongo database to be replicated. + */ + @JsonProperty("port") + public Long port; + public DestinationMongodbInstanceTypeStandaloneMongoDbInstance withPort(Long port) { + this.port = port; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum.java new file mode 100755 index 000000000..7223d6b3f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum { + STANDALONE("standalone"); + + @JsonValue + public final String value; + + private DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbMongodbEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbMongodbEnum.java new file mode 100755 index 000000000..a3a7e694a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbMongodbEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMongodbMongodbEnum { + MONGODB("mongodb"); + + @JsonValue + public final String value; + + private DestinationMongodbMongodbEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodNoTunnel.java new file mode 100755 index 000000000..4af00dd65 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodbTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMongodbTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationMongodbTunnelMethodNoTunnel withTunnelMethod(DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..7e8ee9d2e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationMongodbTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..8a98fc278 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodbTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMongodbTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationMongodbTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationMongodbTunnelMethodPasswordAuthentication withTunnelMethod(DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationMongodbTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationMongodbTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationMongodbTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..353bc6638 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..f515853ed --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMongodbTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMongodbTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationMongodbTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationMongodbTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationMongodbTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationMongodbTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationMongodbTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..71c3c018a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssql.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssql.java new file mode 100755 index 000000000..8956555cd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssql.java @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMssql - The values required to configure the destination. + */ +public class DestinationMssql { + /** + * The name of the MSSQL database. + */ + @JsonProperty("database") + public String database; + public DestinationMssql withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationMssqlMssqlEnum destinationType; + public DestinationMssql withDestinationType(DestinationMssqlMssqlEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The host name of the MSSQL database. + */ + @JsonProperty("host") + public String host; + public DestinationMssql withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public DestinationMssql withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * The password associated with this username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationMssql withPassword(String password) { + this.password = password; + return this; + } + + /** + * The port of the MSSQL database. + */ + @JsonProperty("port") + public Long port; + public DestinationMssql withPort(Long port) { + this.port = port; + 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". + */ + @JsonProperty("schema") + public String schema; + public DestinationMssql withSchema(String schema) { + this.schema = schema; + return this; + } + + /** + * The encryption method which is used to communicate with the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl_method") + public Object sslMethod; + public DestinationMssql withSslMethod(Object sslMethod) { + this.sslMethod = sslMethod; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationMssql withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * The username which is used to access the database. + */ + @JsonProperty("username") + public String username; + public DestinationMssql withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlMssqlEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlMssqlEnum.java new file mode 100755 index 000000000..1d92a97de --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlMssqlEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMssqlMssqlEnum { + MSSQL("mssql"); + + @JsonValue + public final String value; + + private DestinationMssqlMssqlEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedTrustServerCertificate.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedTrustServerCertificate.java new file mode 100755 index 000000000..c50433186 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedTrustServerCertificate.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMssqlSslMethodEncryptedTrustServerCertificate - Use the certificate provided by the server without verification. (For testing purposes only!) + */ +public class DestinationMssqlSslMethodEncryptedTrustServerCertificate { + @JsonProperty("ssl_method") + public DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum sslMethod; + public DestinationMssqlSslMethodEncryptedTrustServerCertificate withSslMethod(DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum sslMethod) { + this.sslMethod = sslMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum.java new file mode 100755 index 000000000..17d24aa7f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum { + ENCRYPTED_TRUST_SERVER_CERTIFICATE("encrypted_trust_server_certificate"); + + @JsonValue + public final String value; + + private DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedVerifyCertificate.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedVerifyCertificate.java new file mode 100755 index 000000000..6d7d1ad38 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedVerifyCertificate.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMssqlSslMethodEncryptedVerifyCertificate - Verify and use the certificate provided by the server. + */ +public class DestinationMssqlSslMethodEncryptedVerifyCertificate { + /** + * 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") + public String hostNameInCertificate; + public DestinationMssqlSslMethodEncryptedVerifyCertificate withHostNameInCertificate(String hostNameInCertificate) { + this.hostNameInCertificate = hostNameInCertificate; + return this; + } + + @JsonProperty("ssl_method") + public DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum sslMethod; + public DestinationMssqlSslMethodEncryptedVerifyCertificate withSslMethod(DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum sslMethod) { + this.sslMethod = sslMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum.java new file mode 100755 index 000000000..1d07b7444 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum { + ENCRYPTED_VERIFY_CERTIFICATE("encrypted_verify_certificate"); + + @JsonValue + public final String value; + + private DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodNoTunnel.java new file mode 100755 index 000000000..1e5fbbdfc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMssqlTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMssqlTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationMssqlTunnelMethodNoTunnel withTunnelMethod(DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..0fcc5ed16 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationMssqlTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..6a5e1199f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMssqlTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMssqlTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationMssqlTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationMssqlTunnelMethodPasswordAuthentication withTunnelMethod(DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationMssqlTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationMssqlTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationMssqlTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..f8c7bf323 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..2dea59898 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMssqlTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMssqlTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationMssqlTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationMssqlTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationMssqlTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationMssqlTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationMssqlTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..8f09c620d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysql.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysql.java new file mode 100755 index 000000000..afff0b0fa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysql.java @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMysql - The values required to configure the destination. + */ +public class DestinationMysql { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public DestinationMysql withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationMysqlMysqlEnum destinationType; + public DestinationMysql withDestinationType(DestinationMysqlMysqlEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Hostname of the database. + */ + @JsonProperty("host") + public String host; + public DestinationMysql withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public DestinationMysql withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationMysql withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the database. + */ + @JsonProperty("port") + public Long port; + public DestinationMysql withPort(Long port) { + this.port = port; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationMysql withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Username to use to access the database. + */ + @JsonProperty("username") + public String username; + public DestinationMysql withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlMysqlEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlMysqlEnum.java new file mode 100755 index 000000000..e285d6e32 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlMysqlEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationMysqlMysqlEnum { + MYSQL("mysql"); + + @JsonValue + public final String value; + + private DestinationMysqlMysqlEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodNoTunnel.java new file mode 100755 index 000000000..869e59461 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMysqlTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMysqlTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationMysqlTunnelMethodNoTunnel withTunnelMethod(DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..85836777f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationMysqlTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..04d9a8587 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMysqlTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMysqlTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationMysqlTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationMysqlTunnelMethodPasswordAuthentication withTunnelMethod(DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationMysqlTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationMysqlTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationMysqlTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..71f633347 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..a082fca0d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationMysqlTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationMysqlTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationMysqlTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationMysqlTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationMysqlTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationMysqlTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationMysqlTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..ca906ce09 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracle.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracle.java new file mode 100755 index 000000000..ab08e2e1e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracle.java @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationOracle - The values required to configure the destination. + */ +public class DestinationOracle { + @JsonProperty("destinationType") + public DestinationOracleOracleEnum destinationType; + public DestinationOracle withDestinationType(DestinationOracleOracleEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The hostname of the database. + */ + @JsonProperty("host") + public String host; + public DestinationOracle withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public DestinationOracle withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * The password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationOracle withPassword(String password) { + this.password = password; + return this; + } + + /** + * The port of the database. + */ + @JsonProperty("port") + public Long port; + public DestinationOracle withPort(Long port) { + this.port = port; + return this; + } + + /** + * 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") + public String schema; + public DestinationOracle withSchema(String schema) { + this.schema = schema; + return this; + } + + /** + * The System Identifier uniquely distinguishes the instance from any other instance on the same computer. + */ + @JsonProperty("sid") + public String sid; + public DestinationOracle withSid(String sid) { + this.sid = sid; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationOracle withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * The username to access the database. This user must have CREATE USER privileges in the database. + */ + @JsonProperty("username") + public String username; + public DestinationOracle withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleOracleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleOracleEnum.java new file mode 100755 index 000000000..facba456a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleOracleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationOracleOracleEnum { + ORACLE("oracle"); + + @JsonValue + public final String value; + + private DestinationOracleOracleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodNoTunnel.java new file mode 100755 index 000000000..7a80adb8d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationOracleTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationOracleTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationOracleTunnelMethodNoTunnel withTunnelMethod(DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..e0619e5a0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationOracleTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..4e5bbf021 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationOracleTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationOracleTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationOracleTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationOracleTunnelMethodPasswordAuthentication withTunnelMethod(DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationOracleTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationOracleTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationOracleTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..15011da34 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..26a572d18 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationOracleTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationOracleTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationOracleTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationOracleTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationOracleTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationOracleTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationOracleTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..30931e641 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java new file mode 100755 index 000000000..82385dc8e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java @@ -0,0 +1,123 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgres - The values required to configure the destination. + */ +public class DestinationPostgres { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public DestinationPostgres withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationPostgresPostgresEnum destinationType; + public DestinationPostgres withDestinationType(DestinationPostgresPostgresEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Hostname of the database. + */ + @JsonProperty("host") + public String host; + public DestinationPostgres withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public DestinationPostgres withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationPostgres withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the database. + */ + @JsonProperty("port") + public Long port; + public DestinationPostgres withPort(Long port) { + this.port = port; + 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". + */ + @JsonProperty("schema") + public String schema; + public DestinationPostgres withSchema(String schema) { + this.schema = schema; + return this; + } + + /** + * SSL connection modes. + * <b>disable</b> - Chose this mode to disable encryption of communication between Airbyte and destination database + * <b>allow</b> - Chose this mode to enable encryption only when required by the source database + * <b>prefer</b> - Chose this mode to allow unencrypted connection only if the source database does not support encryption + * <b>require</b> - Chose this mode to always require encryption. If the source database server does not support encryption, connection will fail + * <b>verify-ca</b> - Chose this mode to always require encryption and to verify that the source database server has a valid SSL certificate + * <b>verify-full</b> - 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 - <a href="https://jdbc.postgresql.org/documentation/head/ssl-client.html"> in the docs</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl_mode") + public Object sslMode; + public DestinationPostgres withSslMode(Object sslMode) { + this.sslMode = sslMode; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationPostgres withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Username to use to access the database. + */ + @JsonProperty("username") + public String username; + public DestinationPostgres withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresPostgresEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresPostgresEnum.java new file mode 100755 index 000000000..88a78d677 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresPostgresEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPostgresPostgresEnum { + POSTGRES("postgres"); + + @JsonValue + public final String value; + + private DestinationPostgresPostgresEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeAllow.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeAllow.java new file mode 100755 index 000000000..2affdb6b5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeAllow.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresSslModeAllow - Allow SSL mode. + */ +public class DestinationPostgresSslModeAllow { + @JsonProperty("mode") + public DestinationPostgresSslModeAllowModeEnum mode; + public DestinationPostgresSslModeAllow withMode(DestinationPostgresSslModeAllowModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeAllowModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeAllowModeEnum.java new file mode 100755 index 000000000..3ae22a3e5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeAllowModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPostgresSslModeAllowModeEnum { + ALLOW("allow"); + + @JsonValue + public final String value; + + private DestinationPostgresSslModeAllowModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeDisable.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeDisable.java new file mode 100755 index 000000000..d6e331d40 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeDisable.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresSslModeDisable - Disable SSL. + */ +public class DestinationPostgresSslModeDisable { + @JsonProperty("mode") + public DestinationPostgresSslModeDisableModeEnum mode; + public DestinationPostgresSslModeDisable withMode(DestinationPostgresSslModeDisableModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeDisableModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeDisableModeEnum.java new file mode 100755 index 000000000..080372d9a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeDisableModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPostgresSslModeDisableModeEnum { + DISABLE("disable"); + + @JsonValue + public final String value; + + private DestinationPostgresSslModeDisableModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModePrefer.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModePrefer.java new file mode 100755 index 000000000..94626daea --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModePrefer.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresSslModePrefer - Prefer SSL mode. + */ +public class DestinationPostgresSslModePrefer { + @JsonProperty("mode") + public DestinationPostgresSslModePreferModeEnum mode; + public DestinationPostgresSslModePrefer withMode(DestinationPostgresSslModePreferModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModePreferModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModePreferModeEnum.java new file mode 100755 index 000000000..8597756c9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModePreferModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPostgresSslModePreferModeEnum { + PREFER("prefer"); + + @JsonValue + public final String value; + + private DestinationPostgresSslModePreferModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeRequire.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeRequire.java new file mode 100755 index 000000000..e53de7732 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeRequire.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresSslModeRequire - Require SSL mode. + */ +public class DestinationPostgresSslModeRequire { + @JsonProperty("mode") + public DestinationPostgresSslModeRequireModeEnum mode; + public DestinationPostgresSslModeRequire withMode(DestinationPostgresSslModeRequireModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeRequireModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeRequireModeEnum.java new file mode 100755 index 000000000..cde4eb7f0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeRequireModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPostgresSslModeRequireModeEnum { + REQUIRE("require"); + + @JsonValue + public final String value; + + private DestinationPostgresSslModeRequireModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyCa.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyCa.java new file mode 100755 index 000000000..e36812e3c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyCa.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresSslModeVerifyCa - Verify-ca SSL mode. + */ +public class DestinationPostgresSslModeVerifyCa { + /** + * CA certificate + */ + @JsonProperty("ca_certificate") + public String caCertificate; + public DestinationPostgresSslModeVerifyCa withCaCertificate(String caCertificate) { + this.caCertificate = caCertificate; + return this; + } + + /** + * 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") + public String clientKeyPassword; + public DestinationPostgresSslModeVerifyCa withClientKeyPassword(String clientKeyPassword) { + this.clientKeyPassword = clientKeyPassword; + return this; + } + + @JsonProperty("mode") + public DestinationPostgresSslModeVerifyCaModeEnum mode; + public DestinationPostgresSslModeVerifyCa withMode(DestinationPostgresSslModeVerifyCaModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyCaModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyCaModeEnum.java new file mode 100755 index 000000000..9804fed71 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyCaModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPostgresSslModeVerifyCaModeEnum { + VERIFY_CA("verify-ca"); + + @JsonValue + public final String value; + + private DestinationPostgresSslModeVerifyCaModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyFull.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyFull.java new file mode 100755 index 000000000..753a2c628 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyFull.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresSslModeVerifyFull - Verify-full SSL mode. + */ +public class DestinationPostgresSslModeVerifyFull { + /** + * CA certificate + */ + @JsonProperty("ca_certificate") + public String caCertificate; + public DestinationPostgresSslModeVerifyFull withCaCertificate(String caCertificate) { + this.caCertificate = caCertificate; + return this; + } + + /** + * Client certificate + */ + @JsonProperty("client_certificate") + public String clientCertificate; + public DestinationPostgresSslModeVerifyFull withClientCertificate(String clientCertificate) { + this.clientCertificate = clientCertificate; + return this; + } + + /** + * Client key + */ + @JsonProperty("client_key") + public String clientKey; + public DestinationPostgresSslModeVerifyFull withClientKey(String clientKey) { + this.clientKey = clientKey; + return this; + } + + /** + * 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") + public String clientKeyPassword; + public DestinationPostgresSslModeVerifyFull withClientKeyPassword(String clientKeyPassword) { + this.clientKeyPassword = clientKeyPassword; + return this; + } + + @JsonProperty("mode") + public DestinationPostgresSslModeVerifyFullModeEnum mode; + public DestinationPostgresSslModeVerifyFull withMode(DestinationPostgresSslModeVerifyFullModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyFullModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyFullModeEnum.java new file mode 100755 index 000000000..0e26a163e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSslModeVerifyFullModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPostgresSslModeVerifyFullModeEnum { + VERIFY_FULL("verify-full"); + + @JsonValue + public final String value; + + private DestinationPostgresSslModeVerifyFullModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodNoTunnel.java new file mode 100755 index 000000000..73e3e86f8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationPostgresTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationPostgresTunnelMethodNoTunnel withTunnelMethod(DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..e9ffe39fb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationPostgresTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..bf4bdd167 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationPostgresTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationPostgresTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationPostgresTunnelMethodPasswordAuthentication withTunnelMethod(DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationPostgresTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationPostgresTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationPostgresTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..e33d387d3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..c8735de3d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPostgresTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationPostgresTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationPostgresTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationPostgresTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationPostgresTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationPostgresTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationPostgresTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..6b0fead4a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java new file mode 100755 index 000000000..b32de2629 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPubsub - The values required to configure the destination. + */ +public class DestinationPubsub { + /** + * Number of ms before the buffer is flushed + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("batching_delay_threshold") + public Long batchingDelayThreshold; + public DestinationPubsub withBatchingDelayThreshold(Long batchingDelayThreshold) { + this.batchingDelayThreshold = batchingDelayThreshold; + return this; + } + + /** + * Number of messages before the buffer is flushed + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("batching_element_count_threshold") + public Long batchingElementCountThreshold; + public DestinationPubsub withBatchingElementCountThreshold(Long batchingElementCountThreshold) { + this.batchingElementCountThreshold = batchingElementCountThreshold; + return this; + } + + /** + * If TRUE messages will be buffered instead of sending them one by one + */ + @JsonProperty("batching_enabled") + public Boolean batchingEnabled; + public DestinationPubsub withBatchingEnabled(Boolean batchingEnabled) { + this.batchingEnabled = batchingEnabled; + return this; + } + + /** + * Number of bytes before the buffer is flushed + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("batching_request_bytes_threshold") + public Long batchingRequestBytesThreshold; + public DestinationPubsub withBatchingRequestBytesThreshold(Long batchingRequestBytesThreshold) { + this.batchingRequestBytesThreshold = batchingRequestBytesThreshold; + return this; + } + + /** + * 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. + */ + @JsonProperty("credentials_json") + public String credentialsJson; + public DestinationPubsub withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + + @JsonProperty("destinationType") + public DestinationPubsubPubsubEnum destinationType; + public DestinationPubsub withDestinationType(DestinationPubsubPubsubEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * 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 + */ + @JsonProperty("ordering_enabled") + public Boolean orderingEnabled; + public DestinationPubsub withOrderingEnabled(Boolean orderingEnabled) { + this.orderingEnabled = orderingEnabled; + return this; + } + + /** + * The GCP project ID for the project containing the target PubSub. + */ + @JsonProperty("project_id") + public String projectId; + public DestinationPubsub withProjectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * The PubSub topic ID in the given GCP project ID. + */ + @JsonProperty("topic_id") + public String topicId; + public DestinationPubsub withTopicId(String topicId) { + this.topicId = topicId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPubsubPubsubEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPubsubPubsubEnum.java new file mode 100755 index 000000000..a864f9c3e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPubsubPubsubEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPubsubPubsubEnum { + PUBSUB("pubsub"); + + @JsonValue + public final String value; + + private DestinationPubsubPubsubEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsar.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsar.java new file mode 100755 index 000000000..a2bf93428 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsar.java @@ -0,0 +1,195 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationPulsar - The values required to configure the destination. + */ +public class DestinationPulsar { + /** + * Control whether automatic batching of messages is enabled for the producer. + */ + @JsonProperty("batching_enabled") + public Boolean batchingEnabled; + public DestinationPulsar withBatchingEnabled(Boolean batchingEnabled) { + this.batchingEnabled = batchingEnabled; + return this; + } + + /** + * Maximum number of messages permitted in a batch. + */ + @JsonProperty("batching_max_messages") + public Long batchingMaxMessages; + public DestinationPulsar withBatchingMaxMessages(Long batchingMaxMessages) { + this.batchingMaxMessages = batchingMaxMessages; + return this; + } + + /** + * Time period in milliseconds within which the messages sent will be batched. + */ + @JsonProperty("batching_max_publish_delay") + public Long batchingMaxPublishDelay; + public DestinationPulsar withBatchingMaxPublishDelay(Long batchingMaxPublishDelay) { + this.batchingMaxPublishDelay = batchingMaxPublishDelay; + return this; + } + + /** + * If the send operation should block when the outgoing message queue is full. + */ + @JsonProperty("block_if_queue_full") + public Boolean blockIfQueueFull; + public DestinationPulsar withBlockIfQueueFull(Boolean blockIfQueueFull) { + this.blockIfQueueFull = blockIfQueueFull; + return this; + } + + /** + * A list of host/port pairs to use for establishing the initial connection to the Pulsar cluster. + */ + @JsonProperty("brokers") + public String brokers; + public DestinationPulsar withBrokers(String brokers) { + this.brokers = brokers; + return this; + } + + /** + * Compression type for the producer. + */ + @JsonProperty("compression_type") + public DestinationPulsarCompressionTypeEnum compressionType; + public DestinationPulsar withCompressionType(DestinationPulsarCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + + @JsonProperty("destinationType") + public DestinationPulsarPulsarEnum destinationType; + public DestinationPulsar withDestinationType(DestinationPulsarPulsarEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The maximum size of a queue holding pending messages. + */ + @JsonProperty("max_pending_messages") + public Long maxPendingMessages; + public DestinationPulsar withMaxPendingMessages(Long maxPendingMessages) { + this.maxPendingMessages = maxPendingMessages; + return this; + } + + /** + * The maximum number of pending messages across partitions. + */ + @JsonProperty("max_pending_messages_across_partitions") + public Long maxPendingMessagesAcrossPartitions; + public DestinationPulsar withMaxPendingMessagesAcrossPartitions(Long maxPendingMessagesAcrossPartitions) { + this.maxPendingMessagesAcrossPartitions = maxPendingMessagesAcrossPartitions; + return this; + } + + /** + * Name for the producer. If not filled, the system will generate a globally unique name which can be accessed with. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("producer_name") + public String producerName; + public DestinationPulsar withProducerName(String producerName) { + this.producerName = producerName; + return this; + } + + /** + * Wait synchronously until the record has been sent to Pulsar. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("producer_sync") + public Boolean producerSync; + public DestinationPulsar withProducerSync(Boolean producerSync) { + this.producerSync = producerSync; + return this; + } + + /** + * If a message is not acknowledged by a server before the send-timeout expires, an error occurs (in ms). + */ + @JsonProperty("send_timeout_ms") + public Long sendTimeoutMs; + public DestinationPulsar withSendTimeoutMs(Long sendTimeoutMs) { + this.sendTimeoutMs = sendTimeoutMs; + return this; + } + + /** + * The administrative unit of the topic, which acts as a grouping mechanism for related topics. Most topic configuration is performed at the namespace level. Each tenant has one or multiple namespaces. + */ + @JsonProperty("topic_namespace") + public String topicNamespace; + public DestinationPulsar withTopicNamespace(String topicNamespace) { + this.topicNamespace = topicNamespace; + return this; + } + + /** + * Topic pattern in which the records will be sent. You can use patterns like '{namespace}' and/or '{stream}' to send the message to a specific topic based on these values. Notice that the topic name will be transformed to a standard naming convention. + */ + @JsonProperty("topic_pattern") + public String topicPattern; + public DestinationPulsar withTopicPattern(String topicPattern) { + this.topicPattern = topicPattern; + return this; + } + + /** + * The topic tenant within the instance. Tenants are essential to multi-tenancy in Pulsar, and spread across clusters. + */ + @JsonProperty("topic_tenant") + public String topicTenant; + public DestinationPulsar withTopicTenant(String topicTenant) { + this.topicTenant = topicTenant; + return this; + } + + /** + * Topic to test if Airbyte can produce messages. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("topic_test") + public String topicTest; + public DestinationPulsar withTopicTest(String topicTest) { + this.topicTest = topicTest; + return this; + } + + /** + * It identifies type of topic. Pulsar supports two kind of topics: persistent and non-persistent. In persistent topic, all messages are durably persisted on disk (that means on multiple disks unless the broker is standalone), whereas non-persistent topic does not persist message into storage disk. + */ + @JsonProperty("topic_type") + public DestinationPulsarTopicTypeEnum topicType; + public DestinationPulsar withTopicType(DestinationPulsarTopicTypeEnum topicType) { + this.topicType = topicType; + return this; + } + + /** + * Whether to use TLS encryption on the connection. + */ + @JsonProperty("use_tls") + public Boolean useTls; + public DestinationPulsar withUseTls(Boolean useTls) { + this.useTls = useTls; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarCompressionTypeEnum.java new file mode 100755 index 000000000..57457f73e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarCompressionTypeEnum.java @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationPulsarCompressionTypeEnum - Compression type for the producer. + */ +public enum DestinationPulsarCompressionTypeEnum { + NONE("NONE"), + LZ4("LZ4"), + ZLIB("ZLIB"), + ZSTD("ZSTD"), + SNAPPY("SNAPPY"); + + @JsonValue + public final String value; + + private DestinationPulsarCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarPulsarEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarPulsarEnum.java new file mode 100755 index 000000000..c878409e9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarPulsarEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationPulsarPulsarEnum { + PULSAR("pulsar"); + + @JsonValue + public final String value; + + private DestinationPulsarPulsarEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarTopicTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarTopicTypeEnum.java new file mode 100755 index 000000000..57a6e0003 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPulsarTopicTypeEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationPulsarTopicTypeEnum - It identifies type of topic. Pulsar supports two kind of topics: persistent and non-persistent. In persistent topic, all messages are durably persisted on disk (that means on multiple disks unless the broker is standalone), whereas non-persistent topic does not persist message into storage disk. + */ +public enum DestinationPulsarTopicTypeEnum { + PERSISTENT("persistent"), + NON_PERSISTENT("non-persistent"); + + @JsonValue + public final String value; + + private DestinationPulsarTopicTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRabbitmq.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRabbitmq.java new file mode 100755 index 000000000..8de720e09 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRabbitmq.java @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRabbitmq - The values required to configure the destination. + */ +public class DestinationRabbitmq { + @JsonProperty("destinationType") + public DestinationRabbitmqRabbitmqEnum destinationType; + public DestinationRabbitmq withDestinationType(DestinationRabbitmqRabbitmqEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The exchange name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("exchange") + public String exchange; + public DestinationRabbitmq withExchange(String exchange) { + this.exchange = exchange; + return this; + } + + /** + * The RabbitMQ host name. + */ + @JsonProperty("host") + public String host; + public DestinationRabbitmq withHost(String host) { + this.host = host; + return this; + } + + /** + * The password to connect. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationRabbitmq withPassword(String password) { + this.password = password; + return this; + } + + /** + * The RabbitMQ port. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("port") + public Long port; + public DestinationRabbitmq withPort(Long port) { + this.port = port; + return this; + } + + /** + * The routing key. + */ + @JsonProperty("routing_key") + public String routingKey; + public DestinationRabbitmq withRoutingKey(String routingKey) { + this.routingKey = routingKey; + return this; + } + + /** + * SSL enabled. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl") + public Boolean ssl; + public DestinationRabbitmq withSsl(Boolean ssl) { + this.ssl = ssl; + return this; + } + + /** + * The username to connect. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("username") + public String username; + public DestinationRabbitmq withUsername(String username) { + this.username = username; + return this; + } + + /** + * The RabbitMQ virtual host name. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("virtual_host") + public String virtualHost; + public DestinationRabbitmq withVirtualHost(String virtualHost) { + this.virtualHost = virtualHost; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRabbitmqRabbitmqEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRabbitmqRabbitmqEnum.java new file mode 100755 index 000000000..d5afd1bf2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRabbitmqRabbitmqEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRabbitmqRabbitmqEnum { + RABBITMQ("rabbitmq"); + + @JsonValue + public final String value; + + private DestinationRabbitmqRabbitmqEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedis.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedis.java new file mode 100755 index 000000000..fdd8fc90a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedis.java @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedis - The values required to configure the destination. + */ +public class DestinationRedis { + /** + * Redis cache type to store data in. + */ + @JsonProperty("cache_type") + public DestinationRedisCacheTypeEnum cacheType; + public DestinationRedis withCacheType(DestinationRedisCacheTypeEnum cacheType) { + this.cacheType = cacheType; + return this; + } + + @JsonProperty("destinationType") + public DestinationRedisRedisEnum destinationType; + public DestinationRedis withDestinationType(DestinationRedisRedisEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Redis host to connect to. + */ + @JsonProperty("host") + public String host; + public DestinationRedis withHost(String host) { + this.host = host; + return this; + } + + /** + * Password associated with Redis. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public DestinationRedis withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of Redis. + */ + @JsonProperty("port") + public Long port; + public DestinationRedis withPort(Long port) { + this.port = port; + return this; + } + + /** + * 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") + public Boolean ssl; + public DestinationRedis withSsl(Boolean ssl) { + this.ssl = ssl; + return this; + } + + /** + * SSL connection modes. + * <li><b>verify-full</b> - This is the most secure mode. Always require encryption and verifies the identity of the source database server + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl_mode") + public Object sslMode; + public DestinationRedis withSslMode(Object sslMode) { + this.sslMode = sslMode; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationRedis withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Username associated with Redis. + */ + @JsonProperty("username") + public String username; + public DestinationRedis withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisCacheTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisCacheTypeEnum.java new file mode 100755 index 000000000..516fd3f2b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisCacheTypeEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationRedisCacheTypeEnum - Redis cache type to store data in. + */ +public enum DestinationRedisCacheTypeEnum { + HASH("hash"); + + @JsonValue + public final String value; + + private DestinationRedisCacheTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisRedisEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisRedisEnum.java new file mode 100755 index 000000000..9890d18ce --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisRedisEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRedisRedisEnum { + REDIS("redis"); + + @JsonValue + public final String value; + + private DestinationRedisRedisEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeDisable.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeDisable.java new file mode 100755 index 000000000..8985115e2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeDisable.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedisSslModeDisable - Disable SSL. + */ +public class DestinationRedisSslModeDisable { + @JsonProperty("mode") + public DestinationRedisSslModeDisableModeEnum mode; + public DestinationRedisSslModeDisable withMode(DestinationRedisSslModeDisableModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeDisableModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeDisableModeEnum.java new file mode 100755 index 000000000..4fa4edda7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeDisableModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRedisSslModeDisableModeEnum { + DISABLE("disable"); + + @JsonValue + public final String value; + + private DestinationRedisSslModeDisableModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeVerifyFull.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeVerifyFull.java new file mode 100755 index 000000000..30a0d63f1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeVerifyFull.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedisSslModeVerifyFull - Verify-full SSL mode. + */ +public class DestinationRedisSslModeVerifyFull { + /** + * CA certificate + */ + @JsonProperty("ca_certificate") + public String caCertificate; + public DestinationRedisSslModeVerifyFull withCaCertificate(String caCertificate) { + this.caCertificate = caCertificate; + return this; + } + + /** + * Client certificate + */ + @JsonProperty("client_certificate") + public String clientCertificate; + public DestinationRedisSslModeVerifyFull withClientCertificate(String clientCertificate) { + this.clientCertificate = clientCertificate; + return this; + } + + /** + * Client key + */ + @JsonProperty("client_key") + public String clientKey; + public DestinationRedisSslModeVerifyFull withClientKey(String clientKey) { + this.clientKey = clientKey; + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_key_password") + public String clientKeyPassword; + public DestinationRedisSslModeVerifyFull withClientKeyPassword(String clientKeyPassword) { + this.clientKeyPassword = clientKeyPassword; + return this; + } + + @JsonProperty("mode") + public DestinationRedisSslModeVerifyFullModeEnum mode; + public DestinationRedisSslModeVerifyFull withMode(DestinationRedisSslModeVerifyFullModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeVerifyFullModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeVerifyFullModeEnum.java new file mode 100755 index 000000000..3ba2788c2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisSslModeVerifyFullModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRedisSslModeVerifyFullModeEnum { + VERIFY_FULL("verify-full"); + + @JsonValue + public final String value; + + private DestinationRedisSslModeVerifyFullModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodNoTunnel.java new file mode 100755 index 000000000..80f50da1a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedisTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationRedisTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationRedisTunnelMethodNoTunnel withTunnelMethod(DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..b654b76f7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationRedisTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..4a057f1ae --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedisTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationRedisTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationRedisTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationRedisTunnelMethodPasswordAuthentication withTunnelMethod(DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationRedisTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationRedisTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationRedisTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..2dba2257f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..0b508bec5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedisTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationRedisTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationRedisTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationRedisTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationRedisTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationRedisTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationRedisTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..b2709c5d5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java new file mode 100755 index 000000000..a9f6bca8b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedshift - The values required to configure the destination. + */ +public class DestinationRedshift { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public DestinationRedshift withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationRedshiftRedshiftEnum destinationType; + public DestinationRedshift withDestinationType(DestinationRedshiftRedshiftEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Host Endpoint of the Redshift Cluster (must include the cluster-id, region and end with .redshift.amazonaws.com) + */ + @JsonProperty("host") + public String host; + public DestinationRedshift withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public DestinationRedshift withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Password associated with the username. + */ + @JsonProperty("password") + public String password; + public DestinationRedshift withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the database. + */ + @JsonProperty("port") + public Long port; + public DestinationRedshift withPort(Long port) { + this.port = port; + return this; + } + + /** + * 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". + */ + @JsonProperty("schema") + public String schema; + public DestinationRedshift withSchema(String schema) { + this.schema = schema; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public DestinationRedshift withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * The method how the data will be uploaded to the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("uploading_method") + public Object uploadingMethod; + public DestinationRedshift withUploadingMethod(Object uploadingMethod) { + this.uploadingMethod = uploadingMethod; + return this; + } + + /** + * Username to use to access the database. + */ + @JsonProperty("username") + public String username; + public DestinationRedshift withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftRedshiftEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftRedshiftEnum.java new file mode 100755 index 000000000..9c497b49e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftRedshiftEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRedshiftRedshiftEnum { + REDSHIFT("redshift"); + + @JsonValue + public final String value; + + private DestinationRedshiftRedshiftEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodNoTunnel.java new file mode 100755 index 000000000..bbd8e90ca --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedshiftTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationRedshiftTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public DestinationRedshiftTunnelMethodNoTunnel withTunnelMethod(DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..6ed4c60f8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationRedshiftTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..3493c9e78 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedshiftTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationRedshiftTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationRedshiftTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationRedshiftTunnelMethodPasswordAuthentication withTunnelMethod(DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationRedshiftTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationRedshiftTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public DestinationRedshiftTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..65fb247d7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..458f1da3c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedshiftTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationRedshiftTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public DestinationRedshiftTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public DestinationRedshiftTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public DestinationRedshiftTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public DestinationRedshiftTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public DestinationRedshiftTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..39c2a2b00 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3Staging.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3Staging.java new file mode 100755 index 000000000..890e19d4b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3Staging.java @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedshiftUploadingMethodS3Staging - The method how the data will be uploaded to the database. + */ +public class DestinationRedshiftUploadingMethodS3Staging { + /** + * This ID grants access to the above S3 staging bucket. Airbyte requires Read and Write permissions to the given bucket. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">AWS docs</a> on how to generate an access key ID and secret access key. + */ + @JsonProperty("access_key_id") + public String accessKeyId; + public DestinationRedshiftUploadingMethodS3Staging withAccessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + return this; + } + + /** + * How to encrypt the staging data + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("encryption") + public Object encryption; + public DestinationRedshiftUploadingMethodS3Staging withEncryption(Object encryption) { + this.encryption = encryption; + return this; + } + + /** + * Number of file buffers allocated for writing data. Increasing this number is beneficial for connections using Change Data Capture (CDC) and up to the number of streams within a connection. Increasing the number of file buffers past the maximum number of streams has deteriorating effects + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_buffer_count") + public Long fileBufferCount; + public DestinationRedshiftUploadingMethodS3Staging withFileBufferCount(Long fileBufferCount) { + this.fileBufferCount = fileBufferCount; + return this; + } + + /** + * The pattern allows you to set the file-name format for the S3 staging file(s) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_name_pattern") + public String fileNamePattern; + public DestinationRedshiftUploadingMethodS3Staging withFileNamePattern(String fileNamePattern) { + this.fileNamePattern = fileNamePattern; + return this; + } + + @JsonProperty("method") + public DestinationRedshiftUploadingMethodS3StagingMethodEnum method; + public DestinationRedshiftUploadingMethodS3Staging withMethod(DestinationRedshiftUploadingMethodS3StagingMethodEnum method) { + this.method = method; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("purge_staging_data") + public Boolean purgeStagingData; + public DestinationRedshiftUploadingMethodS3Staging withPurgeStagingData(Boolean purgeStagingData) { + this.purgeStagingData = purgeStagingData; + return this; + } + + /** + * The name of the staging S3 bucket to use if utilising a COPY strategy. 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. + */ + @JsonProperty("s3_bucket_name") + public String s3BucketName; + public DestinationRedshiftUploadingMethodS3Staging withS3BucketName(String s3BucketName) { + this.s3BucketName = s3BucketName; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("s3_bucket_path") + public String s3BucketPath; + public DestinationRedshiftUploadingMethodS3Staging withS3BucketPath(String s3BucketPath) { + this.s3BucketPath = s3BucketPath; + return this; + } + + /** + * The region of the S3 staging bucket to use if utilising a COPY strategy. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html#:~:text=In-,Region,-%2C%20choose%20the%20AWS">AWS docs</a> for details. + */ + @JsonProperty("s3_bucket_region") + public DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum s3BucketRegion; + public DestinationRedshiftUploadingMethodS3Staging withS3BucketRegion(DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum s3BucketRegion) { + this.s3BucketRegion = s3BucketRegion; + return this; + } + + /** + * The corresponding secret to the above access key id. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">AWS docs</a> on how to generate an access key ID and secret access key. + */ + @JsonProperty("secret_access_key") + public String secretAccessKey; + public DestinationRedshiftUploadingMethodS3Staging withSecretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption.java new file mode 100755 index 000000000..ee359a6ab --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption - Staging data will be encrypted using AES-CBC envelope encryption. + */ +public class DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption { + @JsonProperty("encryption_type") + public DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum encryptionType; + public DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption withEncryptionType(DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum encryptionType) { + this.encryptionType = encryptionType; + return this; + } + + /** + * The key, base64-encoded. Must be either 128, 192, or 256 bits. Leave blank to have Airbyte generate an ephemeral key for each sync. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("key_encrypting_key") + public String keyEncryptingKey; + public DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption withKeyEncryptingKey(String keyEncryptingKey) { + this.keyEncryptingKey = keyEncryptingKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum.java new file mode 100755 index 000000000..af9cbd459 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum { + AES_CBC_ENVELOPE("aes_cbc_envelope"); + + @JsonValue + public final String value; + + private DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption.java new file mode 100755 index 000000000..3be67ca04 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption - Staging data will be stored in plaintext. + */ +public class DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption { + @JsonProperty("encryption_type") + public DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionTypeEnum encryptionType; + public DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption withEncryptionType(DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionTypeEnum encryptionType) { + this.encryptionType = encryptionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionTypeEnum.java new file mode 100755 index 000000000..2e45beae1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionTypeEnum { + NONE("none"); + + @JsonValue + public final String value; + + private DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingMethodEnum.java new file mode 100755 index 000000000..a78c3729b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRedshiftUploadingMethodS3StagingMethodEnum { + S3_STAGING("S3 Staging"); + + @JsonValue + public final String value; + + private DestinationRedshiftUploadingMethodS3StagingMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum.java new file mode 100755 index 000000000..92178fd79 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum - The region of the S3 staging bucket to use if utilising a COPY strategy. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html#:~:text=In-,Region,-%2C%20choose%20the%20AWS">AWS docs</a> for details. + */ +public enum DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum { + UNKNOWN(""), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"); + + @JsonValue + public final String value; + + private DestinationRedshiftUploadingMethodS3StagingS3BucketRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodStandard.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodStandard.java new file mode 100755 index 000000000..3836c7943 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodStandard.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRedshiftUploadingMethodStandard - The method how the data will be uploaded to the database. + */ +public class DestinationRedshiftUploadingMethodStandard { + @JsonProperty("method") + public DestinationRedshiftUploadingMethodStandardMethodEnum method; + public DestinationRedshiftUploadingMethodStandard withMethod(DestinationRedshiftUploadingMethodStandardMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodStandardMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodStandardMethodEnum.java new file mode 100755 index 000000000..a42c91973 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftUploadingMethodStandardMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRedshiftUploadingMethodStandardMethodEnum { + STANDARD("Standard"); + + @JsonValue + public final String value; + + private DestinationRedshiftUploadingMethodStandardMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRockset.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRockset.java new file mode 100755 index 000000000..4b9c5c296 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRockset.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationRockset - The values required to configure the destination. + */ +public class DestinationRockset { + /** + * Rockset api key + */ + @JsonProperty("api_key") + public String apiKey; + public DestinationRockset withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Rockset api URL + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("api_server") + public String apiServer; + public DestinationRockset withApiServer(String apiServer) { + this.apiServer = apiServer; + return this; + } + + @JsonProperty("destinationType") + public DestinationRocksetRocksetEnum destinationType; + public DestinationRockset withDestinationType(DestinationRocksetRocksetEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The Rockset workspace in which collections will be created + written to. + */ + @JsonProperty("workspace") + public String workspace; + public DestinationRockset withWorkspace(String workspace) { + this.workspace = workspace; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationRocksetRocksetEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRocksetRocksetEnum.java new file mode 100755 index 000000000..f874db65b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationRocksetRocksetEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationRocksetRocksetEnum { + ROCKSET("rockset"); + + @JsonValue + public final String value; + + private DestinationRocksetRocksetEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3.java new file mode 100755 index 000000000..c3012a215 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3.java @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3 - The values required to configure the destination. + */ +public class 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_key_id") + public String accessKeyId; + public DestinationS3 withAccessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + return this; + } + + @JsonProperty("destinationType") + public DestinationS3S3Enum destinationType; + public DestinationS3 withDestinationType(DestinationS3S3Enum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The pattern allows you to set the file-name format for the S3 staging file(s) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_name_pattern") + public String fileNamePattern; + public DestinationS3 withFileNamePattern(String fileNamePattern) { + this.fileNamePattern = fileNamePattern; + return this; + } + + /** + * Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details + */ + @JsonProperty("format") + public Object format; + public DestinationS3 withFormat(Object format) { + this.format = format; + return this; + } + + /** + * The name of the S3 bucket. Read more <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html">here</a>. + */ + @JsonProperty("s3_bucket_name") + public String s3BucketName; + public DestinationS3 withS3BucketName(String s3BucketName) { + this.s3BucketName = s3BucketName; + return this; + } + + /** + * Directory under the S3 bucket where data will be written. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=to%20format%20the-,bucket%20path,-%3A">here</a> + */ + @JsonProperty("s3_bucket_path") + public String s3BucketPath; + public DestinationS3 withS3BucketPath(String s3BucketPath) { + this.s3BucketPath = s3BucketPath; + 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. + */ + @JsonProperty("s3_bucket_region") + public DestinationS3S3BucketRegionEnum s3BucketRegion; + public DestinationS3 withS3BucketRegion(DestinationS3S3BucketRegionEnum 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> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("s3_endpoint") + public String s3Endpoint; + public DestinationS3 withS3Endpoint(String s3Endpoint) { + this.s3Endpoint = s3Endpoint; + return this; + } + + /** + * 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") + public String s3PathFormat; + public DestinationS3 withS3PathFormat(String s3PathFormat) { + this.s3PathFormat = s3PathFormat; + 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> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secret_access_key") + public String secretAccessKey; + public DestinationS3 withSecretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvro.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvro.java new file mode 100755 index 000000000..10645d26d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvro.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatAvroApacheAvro - Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details + */ +public class DestinationS3FormatAvroApacheAvro { + /** + * The compression algorithm used to compress data. Default to no compression. + */ + @JsonProperty("compression_codec") + public Object compressionCodec; + public DestinationS3FormatAvroApacheAvro withCompressionCodec(Object compressionCodec) { + this.compressionCodec = compressionCodec; + return this; + } + + @JsonProperty("format_type") + public DestinationS3FormatAvroApacheAvroFormatTypeEnum formatType; + public DestinationS3FormatAvroApacheAvro withFormatType(DestinationS3FormatAvroApacheAvroFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecBzip2.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecBzip2.java new file mode 100755 index 000000000..fecb4bfcf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecBzip2.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatAvroApacheAvroCompressionCodecBzip2 - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationS3FormatAvroApacheAvroCompressionCodecBzip2 { + @JsonProperty("codec") + public DestinationS3FormatAvroApacheAvroCompressionCodecBzip2CodecEnum codec; + public DestinationS3FormatAvroApacheAvroCompressionCodecBzip2 withCodec(DestinationS3FormatAvroApacheAvroCompressionCodecBzip2CodecEnum codec) { + this.codec = codec; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecBzip2CodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecBzip2CodecEnum.java new file mode 100755 index 000000000..fc7e4d95f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecBzip2CodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatAvroApacheAvroCompressionCodecBzip2CodecEnum { + BZIP2("bzip2"); + + @JsonValue + public final String value; + + private DestinationS3FormatAvroApacheAvroCompressionCodecBzip2CodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecDeflate.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecDeflate.java new file mode 100755 index 000000000..18b50d0c6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecDeflate.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatAvroApacheAvroCompressionCodecDeflate - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationS3FormatAvroApacheAvroCompressionCodecDeflate { + @JsonProperty("codec") + public DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodecEnum codec; + public DestinationS3FormatAvroApacheAvroCompressionCodecDeflate withCodec(DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodecEnum codec) { + this.codec = codec; + return this; + } + + /** + * 0: no compression & fastest, 9: best compression & slowest. + */ + @JsonProperty("compression_level") + public Long compressionLevel; + public DestinationS3FormatAvroApacheAvroCompressionCodecDeflate withCompressionLevel(Long compressionLevel) { + this.compressionLevel = compressionLevel; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodecEnum.java new file mode 100755 index 000000000..546be40f8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodecEnum { + DEFLATE("Deflate"); + + @JsonValue + public final String value; + + private DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression.java new file mode 100755 index 000000000..535d0de69 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression { + @JsonProperty("codec") + public DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum codec; + public DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression withCodec(DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum codec) { + this.codec = codec; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum.java new file mode 100755 index 000000000..70559a948 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum { + NO_COMPRESSION("no compression"); + + @JsonValue + public final String value; + + private DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecSnappy.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecSnappy.java new file mode 100755 index 000000000..a26449071 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecSnappy.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatAvroApacheAvroCompressionCodecSnappy - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationS3FormatAvroApacheAvroCompressionCodecSnappy { + @JsonProperty("codec") + public DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodecEnum codec; + public DestinationS3FormatAvroApacheAvroCompressionCodecSnappy withCodec(DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodecEnum codec) { + this.codec = codec; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodecEnum.java new file mode 100755 index 000000000..36b673ee3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodecEnum { + SNAPPY("snappy"); + + @JsonValue + public final String value; + + private DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecXz.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecXz.java new file mode 100755 index 000000000..b6951b44f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecXz.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatAvroApacheAvroCompressionCodecXz - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationS3FormatAvroApacheAvroCompressionCodecXz { + @JsonProperty("codec") + public DestinationS3FormatAvroApacheAvroCompressionCodecXzCodecEnum codec; + public DestinationS3FormatAvroApacheAvroCompressionCodecXz withCodec(DestinationS3FormatAvroApacheAvroCompressionCodecXzCodecEnum codec) { + this.codec = codec; + return this; + } + + /** + * 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. + */ + @JsonProperty("compression_level") + public Long compressionLevel; + public DestinationS3FormatAvroApacheAvroCompressionCodecXz withCompressionLevel(Long compressionLevel) { + this.compressionLevel = compressionLevel; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecXzCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecXzCodecEnum.java new file mode 100755 index 000000000..e6326599c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecXzCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatAvroApacheAvroCompressionCodecXzCodecEnum { + XZ("xz"); + + @JsonValue + public final String value; + + private DestinationS3FormatAvroApacheAvroCompressionCodecXzCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecZstandard.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecZstandard.java new file mode 100755 index 000000000..c9ef934e3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecZstandard.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatAvroApacheAvroCompressionCodecZstandard - The compression algorithm used to compress data. Default to no compression. + */ +public class DestinationS3FormatAvroApacheAvroCompressionCodecZstandard { + @JsonProperty("codec") + public DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodecEnum codec; + public DestinationS3FormatAvroApacheAvroCompressionCodecZstandard withCodec(DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodecEnum codec) { + this.codec = codec; + return this; + } + + /** + * 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. + */ + @JsonProperty("compression_level") + public Long compressionLevel; + public DestinationS3FormatAvroApacheAvroCompressionCodecZstandard withCompressionLevel(Long compressionLevel) { + this.compressionLevel = compressionLevel; + return this; + } + + /** + * If true, include a checksum with each data block. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("include_checksum") + public Boolean includeChecksum; + public DestinationS3FormatAvroApacheAvroCompressionCodecZstandard withIncludeChecksum(Boolean includeChecksum) { + this.includeChecksum = includeChecksum; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodecEnum.java new file mode 100755 index 000000000..8095d1a93 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodecEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodecEnum { + ZSTANDARD("zstandard"); + + @JsonValue + public final String value; + + private DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroFormatTypeEnum.java new file mode 100755 index 000000000..80a0aef6d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatAvroApacheAvroFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatAvroApacheAvroFormatTypeEnum { + AVRO("Avro"); + + @JsonValue + public final String value; + + private DestinationS3FormatAvroApacheAvroFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValues.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValues.java new file mode 100755 index 000000000..dbe582207 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValues.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatCSVCommaSeparatedValues - Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details + */ +public class DestinationS3FormatCSVCommaSeparatedValues { + /** + * Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression") + public Object compression; + public DestinationS3FormatCSVCommaSeparatedValues withCompression(Object compression) { + this.compression = compression; + return this; + } + + /** + * Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. + */ + @JsonProperty("flattening") + public DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum flattening; + public DestinationS3FormatCSVCommaSeparatedValues withFlattening(DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum flattening) { + this.flattening = flattening; + return this; + } + + @JsonProperty("format_type") + public DestinationS3FormatCSVCommaSeparatedValuesFormatTypeEnum formatType; + public DestinationS3FormatCSVCommaSeparatedValues withFormatType(DestinationS3FormatCSVCommaSeparatedValuesFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP.java new file mode 100755 index 000000000..29691db34 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). + */ +public class DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum compressionType; + public DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP withCompressionType(DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum.java new file mode 100755 index 000000000..a23beb0c5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum { + GZIP("GZIP"); + + @JsonValue + public final String value; + + private DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression.java new file mode 100755 index 000000000..0015a67b7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). + */ +public class DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum compressionType; + public DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression withCompressionType(DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum.java new file mode 100755 index 000000000..fca6633a4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum { + NO_COMPRESSION("No Compression"); + + @JsonValue + public final String value; + + private DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum.java new file mode 100755 index 000000000..a6b695617 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum - Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. + */ +public enum DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum { + NO_FLATTENING("No flattening"), + ROOT_LEVEL_FLATTENING("Root level flattening"); + + @JsonValue + public final String value; + + private DestinationS3FormatCSVCommaSeparatedValuesFlatteningEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesFormatTypeEnum.java new file mode 100755 index 000000000..5f1d67d71 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatCSVCommaSeparatedValuesFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatCSVCommaSeparatedValuesFormatTypeEnum { + CSV("CSV"); + + @JsonValue + public final String value; + + private DestinationS3FormatCSVCommaSeparatedValuesFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSON.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSON.java new file mode 100755 index 000000000..a81b54072 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSON.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatJSONLinesNewlineDelimitedJSON - Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details + */ +public class DestinationS3FormatJSONLinesNewlineDelimitedJSON { + /** + * Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression") + public Object compression; + public DestinationS3FormatJSONLinesNewlineDelimitedJSON withCompression(Object compression) { + this.compression = compression; + return this; + } + + /** + * Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("flattening") + public DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum flattening; + public DestinationS3FormatJSONLinesNewlineDelimitedJSON withFlattening(DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum flattening) { + this.flattening = flattening; + return this; + } + + @JsonProperty("format_type") + public DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType; + public DestinationS3FormatJSONLinesNewlineDelimitedJSON withFormatType(DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java new file mode 100755 index 000000000..a9aeb15bb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ +public class DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum compressionType; + public DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP withCompressionType(DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java new file mode 100755 index 000000000..62625daba --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum { + GZIP("GZIP"); + + @JsonValue + public final String value; + + private DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java new file mode 100755 index 000000000..9e58c6cf2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ +public class DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum compressionType; + public DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression withCompressionType(DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java new file mode 100755 index 000000000..596d067c3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum { + NO_COMPRESSION("No Compression"); + + @JsonValue + public final String value; + + private DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum.java new file mode 100755 index 000000000..444a6cdde --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum - Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. + */ +public enum DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum { + NO_FLATTENING("No flattening"), + ROOT_LEVEL_FLATTENING("Root level flattening"); + + @JsonValue + public final String value; + + private DestinationS3FormatJSONLinesNewlineDelimitedJSONFlatteningEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java new file mode 100755 index 000000000..04e351301 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatTypeEnum { + JSONL("JSONL"); + + @JsonValue + public final String value; + + private DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorage.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorage.java new file mode 100755 index 000000000..f87fca120 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorage.java @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3FormatParquetColumnarStorage - Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details + */ +public class DestinationS3FormatParquetColumnarStorage { + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("block_size_mb") + public Long blockSizeMb; + public DestinationS3FormatParquetColumnarStorage withBlockSizeMb(Long blockSizeMb) { + this.blockSizeMb = blockSizeMb; + return this; + } + + /** + * The compression algorithm used to compress data pages. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_codec") + public DestinationS3FormatParquetColumnarStorageCompressionCodecEnum compressionCodec; + public DestinationS3FormatParquetColumnarStorage withCompressionCodec(DestinationS3FormatParquetColumnarStorageCompressionCodecEnum compressionCodec) { + this.compressionCodec = compressionCodec; + return this; + } + + /** + * Default: true. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dictionary_encoding") + public Boolean dictionaryEncoding; + public DestinationS3FormatParquetColumnarStorage withDictionaryEncoding(Boolean dictionaryEncoding) { + this.dictionaryEncoding = dictionaryEncoding; + return this; + } + + /** + * 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") + public Long dictionaryPageSizeKb; + public DestinationS3FormatParquetColumnarStorage withDictionaryPageSizeKb(Long dictionaryPageSizeKb) { + this.dictionaryPageSizeKb = dictionaryPageSizeKb; + return this; + } + + @JsonProperty("format_type") + public DestinationS3FormatParquetColumnarStorageFormatTypeEnum formatType; + public DestinationS3FormatParquetColumnarStorage withFormatType(DestinationS3FormatParquetColumnarStorageFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + + /** + * Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("max_padding_size_mb") + public Long maxPaddingSizeMb; + public DestinationS3FormatParquetColumnarStorage withMaxPaddingSizeMb(Long maxPaddingSizeMb) { + this.maxPaddingSizeMb = maxPaddingSizeMb; + return this; + } + + /** + * 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") + public Long pageSizeKb; + public DestinationS3FormatParquetColumnarStorage withPageSizeKb(Long pageSizeKb) { + this.pageSizeKb = pageSizeKb; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorageCompressionCodecEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorageCompressionCodecEnum.java new file mode 100755 index 000000000..1f18668ab --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorageCompressionCodecEnum.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationS3FormatParquetColumnarStorageCompressionCodecEnum - The compression algorithm used to compress data pages. + */ +public enum DestinationS3FormatParquetColumnarStorageCompressionCodecEnum { + UNCOMPRESSED("UNCOMPRESSED"), + SNAPPY("SNAPPY"), + GZIP("GZIP"), + LZO("LZO"), + BROTLI("BROTLI"), + LZ4("LZ4"), + ZSTD("ZSTD"); + + @JsonValue + public final String value; + + private DestinationS3FormatParquetColumnarStorageCompressionCodecEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorageFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorageFormatTypeEnum.java new file mode 100755 index 000000000..795879333 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatParquetColumnarStorageFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3FormatParquetColumnarStorageFormatTypeEnum { + PARQUET("Parquet"); + + @JsonValue + public final String value; + + private DestinationS3FormatParquetColumnarStorageFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3Glue.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3Glue.java new file mode 100755 index 000000000..e6563238f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3Glue.java @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3Glue - The values required to configure the destination. + */ +public class 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_key_id") + public String accessKeyId; + public DestinationS3Glue withAccessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + return this; + } + + @JsonProperty("destinationType") + public DestinationS3GlueS3GlueEnum destinationType; + public DestinationS3Glue withDestinationType(DestinationS3GlueS3GlueEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * The pattern allows you to set the file-name format for the S3 staging file(s) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_name_pattern") + public String fileNamePattern; + public DestinationS3Glue withFileNamePattern(String fileNamePattern) { + this.fileNamePattern = fileNamePattern; + return this; + } + + /** + * Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details + */ + @JsonProperty("format") + public Object format; + public DestinationS3Glue withFormat(Object format) { + this.format = format; + return this; + } + + /** + * Name of the glue database for creating the tables, leave blank if no integration + */ + @JsonProperty("glue_database") + public String glueDatabase; + public DestinationS3Glue withGlueDatabase(String glueDatabase) { + this.glueDatabase = glueDatabase; + return this; + } + + /** + * The library that your query engine will use for reading and writing data in your lake. + */ + @JsonProperty("glue_serialization_library") + public DestinationS3GlueSerializationLibraryEnum glueSerializationLibrary; + public DestinationS3Glue withGlueSerializationLibrary(DestinationS3GlueSerializationLibraryEnum glueSerializationLibrary) { + this.glueSerializationLibrary = glueSerializationLibrary; + return this; + } + + /** + * The name of the S3 bucket. Read more <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html">here</a>. + */ + @JsonProperty("s3_bucket_name") + public String s3BucketName; + public DestinationS3Glue withS3BucketName(String s3BucketName) { + this.s3BucketName = s3BucketName; + return this; + } + + /** + * Directory under the S3 bucket where data will be written. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=to%20format%20the-,bucket%20path,-%3A">here</a> + */ + @JsonProperty("s3_bucket_path") + public String s3BucketPath; + public DestinationS3Glue withS3BucketPath(String s3BucketPath) { + this.s3BucketPath = s3BucketPath; + 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. + */ + @JsonProperty("s3_bucket_region") + public DestinationS3GlueS3BucketRegionEnum s3BucketRegion; + public DestinationS3Glue withS3BucketRegion(DestinationS3GlueS3BucketRegionEnum 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> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("s3_endpoint") + public String s3Endpoint; + public DestinationS3Glue withS3Endpoint(String s3Endpoint) { + this.s3Endpoint = s3Endpoint; + return this; + } + + /** + * 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") + public String s3PathFormat; + public DestinationS3Glue withS3PathFormat(String s3PathFormat) { + this.s3PathFormat = s3PathFormat; + 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> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secret_access_key") + public String secretAccessKey; + public DestinationS3Glue withSecretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON.java new file mode 100755 index 000000000..fef80aa84 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON - Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details + */ +public class DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON { + /** + * Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression") + public Object compression; + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON withCompression(Object compression) { + this.compression = compression; + return this; + } + + /** + * Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("flattening") + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum flattening; + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON withFlattening(DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum flattening) { + this.flattening = flattening; + return this; + } + + @JsonProperty("format_type") + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType; + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON withFormatType(DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java new file mode 100755 index 000000000..25c0dd4c7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ +public class DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum compressionType; + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP withCompressionType(DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java new file mode 100755 index 000000000..e5d5805fe --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum { + GZIP("GZIP"); + + @JsonValue + public final String value; + + private DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java new file mode 100755 index 000000000..5aeba5615 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). + */ +public class DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compression_type") + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum compressionType; + public DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression withCompressionType(DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum compressionType) { + this.compressionType = compressionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java new file mode 100755 index 000000000..b4b6b1cad --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum { + NO_COMPRESSION("No Compression"); + + @JsonValue + public final String value; + + private DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum.java new file mode 100755 index 000000000..b677f66ba --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum - Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. + */ +public enum DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum { + NO_FLATTENING("No flattening"), + ROOT_LEVEL_FLATTENING("Root level flattening"); + + @JsonValue + public final String value; + + private DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlatteningEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java new file mode 100755 index 000000000..de6821fd5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum { + JSONL("JSONL"); + + @JsonValue + public final String value; + + private DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegionEnum.java new file mode 100755 index 000000000..9b5fa648e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegionEnum.java @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationS3GlueS3BucketRegionEnum - 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 DestinationS3GlueS3BucketRegionEnum { + UNKNOWN(""), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"); + + @JsonValue + public final String value; + + private DestinationS3GlueS3BucketRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3GlueEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3GlueEnum.java new file mode 100755 index 000000000..19012800c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3GlueEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3GlueS3GlueEnum { + S3_GLUE("s3-glue"); + + @JsonValue + public final String value; + + private DestinationS3GlueS3GlueEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSerializationLibraryEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSerializationLibraryEnum.java new file mode 100755 index 000000000..543098afb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSerializationLibraryEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationS3GlueSerializationLibraryEnum - The library that your query engine will use for reading and writing data in your lake. + */ +public enum DestinationS3GlueSerializationLibraryEnum { + ORG_OPENX_DATA_JSONSERDE_JSON_SER_DE("org.openx.data.jsonserde.JsonSerDe"), + ORG_APACHE_HIVE_HCATALOG_DATA_JSON_SER_DE("org.apache.hive.hcatalog.data.JsonSerDe"); + + @JsonValue + public final String value; + + private DestinationS3GlueSerializationLibraryEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegionEnum.java new file mode 100755 index 000000000..5a9f8fabc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegionEnum.java @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationS3S3BucketRegionEnum - 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 DestinationS3S3BucketRegionEnum { + UNKNOWN(""), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"); + + @JsonValue + public final String value; + + private DestinationS3S3BucketRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3S3Enum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3S3Enum.java new file mode 100755 index 000000000..67eba32df --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationS3S3Enum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationS3S3Enum { + S3("s3"); + + @JsonValue + public final String value; + + private DestinationS3S3Enum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationScylla.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationScylla.java new file mode 100755 index 000000000..a0d89b990 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationScylla.java @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationScylla - The values required to configure the destination. + */ +public class DestinationScylla { + /** + * Address to connect to. + */ + @JsonProperty("address") + public String address; + public DestinationScylla withAddress(String address) { + this.address = address; + return this; + } + + @JsonProperty("destinationType") + public DestinationScyllaScyllaEnum destinationType; + public DestinationScylla withDestinationType(DestinationScyllaScyllaEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Default Scylla keyspace to create data in. + */ + @JsonProperty("keyspace") + public String keyspace; + public DestinationScylla withKeyspace(String keyspace) { + this.keyspace = keyspace; + return this; + } + + /** + * Password associated with Scylla. + */ + @JsonProperty("password") + public String password; + public DestinationScylla withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of Scylla. + */ + @JsonProperty("port") + public Long port; + public DestinationScylla withPort(Long port) { + this.port = port; + return this; + } + + /** + * Indicates to how many nodes the data should be replicated to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("replication") + public Long replication; + public DestinationScylla withReplication(Long replication) { + this.replication = replication; + return this; + } + + /** + * Username to use to access Scylla. + */ + @JsonProperty("username") + public String username; + public DestinationScylla withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationScyllaScyllaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationScyllaScyllaEnum.java new file mode 100755 index 000000000..bd4296f9c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationScyllaScyllaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationScyllaScyllaEnum { + SCYLLA("scylla"); + + @JsonValue + public final String value; + + private DestinationScyllaScyllaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java new file mode 100755 index 000000000..defe8e712 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSftpJson - The values required to configure the destination. + */ +public class DestinationSftpJson { + @JsonProperty("destinationType") + public DestinationSftpJsonSftpJsonEnum destinationType; + public DestinationSftpJson withDestinationType(DestinationSftpJsonSftpJsonEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Path to the directory where json files will be written. + */ + @JsonProperty("destination_path") + public String destinationPath; + public DestinationSftpJson withDestinationPath(String destinationPath) { + this.destinationPath = destinationPath; + return this; + } + + /** + * Hostname of the SFTP server. + */ + @JsonProperty("host") + public String host; + public DestinationSftpJson withHost(String host) { + this.host = host; + return this; + } + + /** + * Password associated with the username. + */ + @JsonProperty("password") + public String password; + public DestinationSftpJson withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the SFTP server. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("port") + public Long port; + public DestinationSftpJson withPort(Long port) { + this.port = port; + return this; + } + + /** + * Username to use to access the SFTP server. + */ + @JsonProperty("username") + public String username; + public DestinationSftpJson withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSftpJsonSftpJsonEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSftpJsonSftpJsonEnum.java new file mode 100755 index 000000000..ee6acc302 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSftpJsonSftpJsonEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSftpJsonSftpJsonEnum { + SFTP_JSON("sftp-json"); + + @JsonValue + public final String value; + + private DestinationSftpJsonSftpJsonEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java new file mode 100755 index 000000000..912b42ee3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java @@ -0,0 +1,123 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSnowflake - The values required to configure the destination. + */ +public class DestinationSnowflake { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public DestinationSnowflake withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * Enter the name of the <a href="https://docs.snowflake.com/en/sql-reference/ddl-database.html#database-schema-share-ddl">database</a> you want to sync data into + */ + @JsonProperty("database") + public String database; + public DestinationSnowflake withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationSnowflakeSnowflakeEnum destinationType; + public DestinationSnowflake withDestinationType(DestinationSnowflakeSnowflakeEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Number of file buffers allocated for writing data. Increasing this number is beneficial for connections using Change Data Capture (CDC) and up to the number of streams within a connection. Increasing the number of file buffers past the maximum number of streams has deteriorating effects + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_buffer_count") + public Long fileBufferCount; + public DestinationSnowflake withFileBufferCount(Long fileBufferCount) { + this.fileBufferCount = fileBufferCount; + return this; + } + + /** + * 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) + */ + @JsonProperty("host") + public String host; + public DestinationSnowflake withHost(String host) { + this.host = host; + return this; + } + + /** + * 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 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public DestinationSnowflake withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Select a data staging method + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("loading_method") + public Object loadingMethod; + public DestinationSnowflake withLoadingMethod(Object loadingMethod) { + this.loadingMethod = loadingMethod; + return this; + } + + /** + * 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 + */ + @JsonProperty("role") + public String role; + public DestinationSnowflake withRole(String role) { + this.role = role; + return this; + } + + /** + * Enter the name of the default <a href="https://docs.snowflake.com/en/sql-reference/ddl-database.html#database-schema-share-ddl">schema</a> + */ + @JsonProperty("schema") + public String schema; + public DestinationSnowflake withSchema(String schema) { + this.schema = schema; + return this; + } + + /** + * Enter the name of the user you want to use to access the database + */ + @JsonProperty("username") + public String username; + public DestinationSnowflake withUsername(String username) { + this.username = username; + return this; + } + + /** + * Enter the name of the <a href="https://docs.snowflake.com/en/user-guide/warehouses-overview.html#overview-of-warehouses">warehouse</a> that you want to sync data into + */ + @JsonProperty("warehouse") + public String warehouse; + public DestinationSnowflake withWarehouse(String warehouse) { + this.warehouse = warehouse; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsKeyPairAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsKeyPairAuthentication.java new file mode 100755 index 000000000..74f7129e6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsKeyPairAuthentication.java @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class DestinationSnowflakeCredentialsKeyPairAuthentication { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public DestinationSnowflakeCredentialsKeyPairAuthenticationAuthTypeEnum authType; + public DestinationSnowflakeCredentialsKeyPairAuthentication withAuthType(DestinationSnowflakeCredentialsKeyPairAuthenticationAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * RSA Private key to use for Snowflake connection. See the <a href="https://docs.airbyte.com/integrations/destinations/snowflake">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("private_key") + public String privateKey; + public DestinationSnowflakeCredentialsKeyPairAuthentication withPrivateKey(String privateKey) { + this.privateKey = privateKey; + return this; + } + + /** + * Passphrase for private key + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("private_key_password") + public String privateKeyPassword; + public DestinationSnowflakeCredentialsKeyPairAuthentication withPrivateKeyPassword(String privateKeyPassword) { + this.privateKeyPassword = privateKeyPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsKeyPairAuthenticationAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsKeyPairAuthenticationAuthTypeEnum.java new file mode 100755 index 000000000..3023d5d33 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsKeyPairAuthenticationAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeCredentialsKeyPairAuthenticationAuthTypeEnum { + KEY_PAIR_AUTHENTICATION("Key Pair Authentication"); + + @JsonValue + public final String value; + + private DestinationSnowflakeCredentialsKeyPairAuthenticationAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsOAuth20.java new file mode 100755 index 000000000..fe09a4bfa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsOAuth20.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class DestinationSnowflakeCredentialsOAuth20 { + /** + * Enter you application's Access Token + */ + @JsonProperty("access_token") + public String accessToken; + public DestinationSnowflakeCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public DestinationSnowflakeCredentialsOAuth20AuthTypeEnum authType; + public DestinationSnowflakeCredentialsOAuth20 withAuthType(DestinationSnowflakeCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * Enter your application's Client ID + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + public String clientId; + public DestinationSnowflakeCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Enter your application's Client secret + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + public String clientSecret; + public DestinationSnowflakeCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Enter your application's Refresh Token + */ + @JsonProperty("refresh_token") + public String refreshToken; + public DestinationSnowflakeCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..458dc079d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeCredentialsOAuth20AuthTypeEnum { + O_AUTH20("OAuth2.0"); + + @JsonValue + public final String value; + + private DestinationSnowflakeCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsUsernameAndPassword.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsUsernameAndPassword.java new file mode 100755 index 000000000..4a1cf8ec1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsUsernameAndPassword.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class DestinationSnowflakeCredentialsUsernameAndPassword { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public DestinationSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum authType; + public DestinationSnowflakeCredentialsUsernameAndPassword withAuthType(DestinationSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * Enter the password associated with the username. + */ + @JsonProperty("password") + public String password; + public DestinationSnowflakeCredentialsUsernameAndPassword withPassword(String password) { + this.password = password; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum.java new file mode 100755 index 000000000..aa4337e8b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum { + USERNAME_AND_PASSWORD("Username and Password"); + + @JsonValue + public final String value; + + private DestinationSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3Staging.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3Staging.java new file mode 100755 index 000000000..59e7d94ff --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3Staging.java @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSnowflakeLoadingMethodAWSS3Staging - Recommended for large production workloads for better speed and scalability. + */ +public class DestinationSnowflakeLoadingMethodAWSS3Staging { + /** + * Enter your <a href="https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html">AWS access key ID</a>. Airbyte requires Read and Write permissions on your S3 bucket + */ + @JsonProperty("access_key_id") + public String accessKeyId; + public DestinationSnowflakeLoadingMethodAWSS3Staging withAccessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + return this; + } + + /** + * Choose a data encryption method for the staging data + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("encryption") + public Object encryption; + public DestinationSnowflakeLoadingMethodAWSS3Staging withEncryption(Object encryption) { + this.encryption = encryption; + return this; + } + + /** + * The pattern allows you to set the file-name format for the S3 staging file(s) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_name_pattern") + public String fileNamePattern; + public DestinationSnowflakeLoadingMethodAWSS3Staging withFileNamePattern(String fileNamePattern) { + this.fileNamePattern = fileNamePattern; + return this; + } + + @JsonProperty("method") + public DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum method; + public DestinationSnowflakeLoadingMethodAWSS3Staging withMethod(DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum method) { + this.method = method; + return this; + } + + /** + * Toggle to delete staging files from the S3 bucket after a successful sync + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("purge_staging_data") + public Boolean purgeStagingData; + public DestinationSnowflakeLoadingMethodAWSS3Staging withPurgeStagingData(Boolean purgeStagingData) { + this.purgeStagingData = purgeStagingData; + return this; + } + + /** + * Enter your S3 bucket name + */ + @JsonProperty("s3_bucket_name") + public String s3BucketName; + public DestinationSnowflakeLoadingMethodAWSS3Staging withS3BucketName(String s3BucketName) { + this.s3BucketName = s3BucketName; + return this; + } + + /** + * Enter the region where your S3 bucket resides + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("s3_bucket_region") + public DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum s3BucketRegion; + public DestinationSnowflakeLoadingMethodAWSS3Staging withS3BucketRegion(DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum s3BucketRegion) { + this.s3BucketRegion = s3BucketRegion; + return this; + } + + /** + * Enter your <a href="https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html">AWS secret access key</a> + */ + @JsonProperty("secret_access_key") + public String secretAccessKey; + public DestinationSnowflakeLoadingMethodAWSS3Staging withSecretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption.java new file mode 100755 index 000000000..67cd77ceb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption - Staging data will be encrypted using AES-CBC envelope encryption. + */ +public class DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption { + @JsonProperty("encryption_type") + public DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum encryptionType; + public DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption withEncryptionType(DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum encryptionType) { + this.encryptionType = encryptionType; + return this; + } + + /** + * The key, base64-encoded. Must be either 128, 192, or 256 bits. Leave blank to have Airbyte generate an ephemeral key for each sync. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("key_encrypting_key") + public String keyEncryptingKey; + public DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption withKeyEncryptingKey(String keyEncryptingKey) { + this.keyEncryptingKey = keyEncryptingKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum.java new file mode 100755 index 000000000..9961468ba --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum { + AES_CBC_ENVELOPE("aes_cbc_envelope"); + + @JsonValue + public final String value; + + private DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption.java new file mode 100755 index 000000000..c42ee1cb1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption - Staging data will be stored in plaintext. + */ +public class DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption { + @JsonProperty("encryption_type") + public DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum encryptionType; + public DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption withEncryptionType(DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum encryptionType) { + this.encryptionType = encryptionType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum.java new file mode 100755 index 000000000..a4c3d6c13 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum { + NONE("none"); + + @JsonValue + public final String value; + + private DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum.java new file mode 100755 index 000000000..a44cc9df3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum { + S3_STAGING("S3 Staging"); + + @JsonValue + public final String value; + + private DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum.java new file mode 100755 index 000000000..2db30e70f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum - Enter the region where your S3 bucket resides + */ +public enum DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum { + UNKNOWN(""), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + EU_SOUTH1("eu-south-1"), + EU_NORTH1("eu-north-1"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"); + + @JsonValue + public final String value; + + private DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAzureBlobStorageStaging.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAzureBlobStorageStaging.java new file mode 100755 index 000000000..443c59aa3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAzureBlobStorageStaging.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSnowflakeLoadingMethodAzureBlobStorageStaging - Recommended for large production workloads for better speed and scalability. + */ +public class DestinationSnowflakeLoadingMethodAzureBlobStorageStaging { + /** + * Enter your Azure Blob Storage account name + */ + @JsonProperty("azure_blob_storage_account_name") + public String azureBlobStorageAccountName; + public DestinationSnowflakeLoadingMethodAzureBlobStorageStaging withAzureBlobStorageAccountName(String azureBlobStorageAccountName) { + this.azureBlobStorageAccountName = azureBlobStorageAccountName; + return this; + } + + /** + * Enter your Azure Blob Storage <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#container-names">container name</a> + */ + @JsonProperty("azure_blob_storage_container_name") + public String azureBlobStorageContainerName; + public DestinationSnowflakeLoadingMethodAzureBlobStorageStaging withAzureBlobStorageContainerName(String azureBlobStorageContainerName) { + this.azureBlobStorageContainerName = azureBlobStorageContainerName; + return this; + } + + /** + * Enter the Azure Blob Storage <a href="https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview#storage-account-endpoints">endpoint domain name</a> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("azure_blob_storage_endpoint_domain_name") + public String azureBlobStorageEndpointDomainName; + public DestinationSnowflakeLoadingMethodAzureBlobStorageStaging withAzureBlobStorageEndpointDomainName(String azureBlobStorageEndpointDomainName) { + this.azureBlobStorageEndpointDomainName = azureBlobStorageEndpointDomainName; + return this; + } + + /** + * Enter the <a href="https://docs.snowflake.com/en/user-guide/data-load-azure-config.html#option-2-generating-a-sas-token">Shared access signature</a> (SAS) token to grant Snowflake limited access to objects in your Azure Blob Storage account + */ + @JsonProperty("azure_blob_storage_sas_token") + public String azureBlobStorageSasToken; + public DestinationSnowflakeLoadingMethodAzureBlobStorageStaging withAzureBlobStorageSasToken(String azureBlobStorageSasToken) { + this.azureBlobStorageSasToken = azureBlobStorageSasToken; + return this; + } + + @JsonProperty("method") + public DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum method; + public DestinationSnowflakeLoadingMethodAzureBlobStorageStaging withMethod(DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum.java new file mode 100755 index 000000000..f84405d96 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum { + AZURE_BLOB_STAGING("Azure Blob Staging"); + + @JsonValue + public final String value; + + private DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging.java new file mode 100755 index 000000000..52d62bbd1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging - Recommended for large production workloads for better speed and scalability. + */ +public class DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging { + /** + * Enter the <a href="https://cloud.google.com/storage/docs/creating-buckets">Cloud Storage bucket name</a> + */ + @JsonProperty("bucket_name") + public String bucketName; + public DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging withBucketName(String bucketName) { + this.bucketName = bucketName; + return this; + } + + /** + * Enter your <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">Google Cloud service account key</a> in the JSON format with read/write access to your Cloud Storage staging bucket + */ + @JsonProperty("credentials_json") + public String credentialsJson; + public DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + + @JsonProperty("method") + public DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum method; + public DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging withMethod(DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum method) { + this.method = method; + return this; + } + + /** + * Enter the <a href="https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects">Google Cloud project ID</a> + */ + @JsonProperty("project_id") + public String projectId; + public DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging withProjectId(String projectId) { + this.projectId = projectId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum.java new file mode 100755 index 000000000..059166e33 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum { + GCS_STAGING("GCS Staging"); + + @JsonValue + public final String value; + + private DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodRecommendedInternalStaging.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodRecommendedInternalStaging.java new file mode 100755 index 000000000..8bea5eac8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodRecommendedInternalStaging.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSnowflakeLoadingMethodRecommendedInternalStaging - Recommended for large production workloads for better speed and scalability. + */ +public class DestinationSnowflakeLoadingMethodRecommendedInternalStaging { + @JsonProperty("method") + public DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethodEnum method; + public DestinationSnowflakeLoadingMethodRecommendedInternalStaging withMethod(DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethodEnum.java new file mode 100755 index 000000000..26c214965 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethodEnum { + INTERNAL_STAGING("Internal Staging"); + + @JsonValue + public final String value; + + private DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodSelectAnotherOption.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodSelectAnotherOption.java new file mode 100755 index 000000000..924acb54c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodSelectAnotherOption.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationSnowflakeLoadingMethodSelectAnotherOption - Select another option + */ +public class DestinationSnowflakeLoadingMethodSelectAnotherOption { + @JsonProperty("method") + public DestinationSnowflakeLoadingMethodSelectAnotherOptionMethodEnum method; + public DestinationSnowflakeLoadingMethodSelectAnotherOption withMethod(DestinationSnowflakeLoadingMethodSelectAnotherOptionMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodSelectAnotherOptionMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodSelectAnotherOptionMethodEnum.java new file mode 100755 index 000000000..1cac22fef --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMethodSelectAnotherOptionMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeLoadingMethodSelectAnotherOptionMethodEnum { + STANDARD("Standard"); + + @JsonValue + public final String value; + + private DestinationSnowflakeLoadingMethodSelectAnotherOptionMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflakeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflakeEnum.java new file mode 100755 index 000000000..a25ff0eca --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflakeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationSnowflakeSnowflakeEnum { + SNOWFLAKE("snowflake"); + + @JsonValue + public final String value; + + private DestinationSnowflakeSnowflakeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java new file mode 100755 index 000000000..b72757f8b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationTypesense - The values required to configure the destination. + */ +public class DestinationTypesense { + /** + * Typesense API Key + */ + @JsonProperty("api_key") + public String apiKey; + public DestinationTypesense withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * How many documents should be imported together. Default 1000 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("batch_size") + public String batchSize; + public DestinationTypesense withBatchSize(String batchSize) { + this.batchSize = batchSize; + return this; + } + + @JsonProperty("destinationType") + public DestinationTypesenseTypesenseEnum destinationType; + public DestinationTypesense withDestinationType(DestinationTypesenseTypesenseEnum destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Hostname of the Typesense instance without protocol. + */ + @JsonProperty("host") + public String host; + public DestinationTypesense withHost(String host) { + this.host = host; + return this; + } + + /** + * Port of the Typesense instance. Ex: 8108, 80, 443. Default is 443 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("port") + public String port; + public DestinationTypesense withPort(String port) { + this.port = port; + return this; + } + + /** + * Protocol of the Typesense instance. Ex: http or https. Default is https + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("protocol") + public String protocol; + public DestinationTypesense withProtocol(String protocol) { + this.protocol = protocol; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesenseTypesenseEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesenseTypesenseEnum.java new file mode 100755 index 000000000..9f588ba6b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesenseTypesenseEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum DestinationTypesenseTypesenseEnum { + TYPESENSE("typesense"); + + @JsonValue + public final String value; + + private DestinationTypesenseTypesenseEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/InitiateOauthResponse.java b/lib/src/main/java/com/airbyte/api/models/shared/InitiateOauthResponse.java new file mode 100755 index 000000000..8c601b0b3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/InitiateOauthResponse.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * InitiateOauthResponse - Response from the initiate OAuth call should be an object with a single property which will be the `redirect_url`. If a user is redirected to this URL, they'll be prompted by the identity provider to authenticate. + */ +public class InitiateOauthResponse { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("consentUrl") + public String consentUrl; + public InitiateOauthResponse withConsentUrl(String consentUrl) { + this.consentUrl = consentUrl; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/Security.java b/lib/src/main/java/com/airbyte/api/models/shared/Security.java new file mode 100755 index 000000000..06c14d397 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/Security.java @@ -0,0 +1,17 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.SpeakeasyMetadata; + +public class Security { + @SpeakeasyMetadata("security:scheme=true,type=http,subtype=bearer,name=Authorization") + public String bearerAuth; + public Security withBearerAuth(String bearerAuth) { + this.bearerAuth = bearerAuth; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java new file mode 100755 index 000000000..ee26df9de --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAirtable - The values required to configure the source. + */ +public class SourceAirtable { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceAirtable withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceAirtableAirtableEnum sourceType; + public SourceAirtable withSourceType(SourceAirtableAirtableEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtableEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtableEnum.java new file mode 100755 index 000000000..2763c39f0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtableEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAirtableAirtableEnum { + AIRTABLE("airtable"); + + @JsonValue + public final String value; + + private SourceAirtableAirtableEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsOAuth20.java new file mode 100755 index 000000000..df307f072 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsOAuth20.java @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +public class SourceAirtableCredentialsOAuth20 { + /** + * Access Token for making authenticated requests. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_token") + public String accessToken; + public SourceAirtableCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_method") + public SourceAirtableCredentialsOAuth20AuthMethodEnum authMethod; + public SourceAirtableCredentialsOAuth20 withAuthMethod(SourceAirtableCredentialsOAuth20AuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The client ID of the Airtable developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceAirtableCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The client secret the Airtable developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceAirtableCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The key to refresh the expired access token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceAirtableCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("token_expiry_date") + public OffsetDateTime tokenExpiryDate; + public SourceAirtableCredentialsOAuth20 withTokenExpiryDate(OffsetDateTime tokenExpiryDate) { + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsOAuth20AuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsOAuth20AuthMethodEnum.java new file mode 100755 index 000000000..797128f0e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsOAuth20AuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAirtableCredentialsOAuth20AuthMethodEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceAirtableCredentialsOAuth20AuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsPersonalAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsPersonalAccessToken.java new file mode 100755 index 000000000..9e6702865 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsPersonalAccessToken.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceAirtableCredentialsPersonalAccessToken { + /** + * The Personal Access Token for the Airtable account. See the <a href="https://airtable.com/developers/web/guides/personal-access-tokens">Support Guide</a> for more information on how to obtain this token. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceAirtableCredentialsPersonalAccessToken withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_method") + public SourceAirtableCredentialsPersonalAccessTokenAuthMethodEnum authMethod; + public SourceAirtableCredentialsPersonalAccessToken withAuthMethod(SourceAirtableCredentialsPersonalAccessTokenAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsPersonalAccessTokenAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsPersonalAccessTokenAuthMethodEnum.java new file mode 100755 index 000000000..a02e1f548 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtableCredentialsPersonalAccessTokenAuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAirtableCredentialsPersonalAccessTokenAuthMethodEnum { + API_KEY("api_key"); + + @JsonValue + public final String value; + + private SourceAirtableCredentialsPersonalAccessTokenAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydb.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydb.java new file mode 100755 index 000000000..a3e46db41 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydb.java @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAlloydb - The values required to configure the source. + */ +public class SourceAlloydb { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public SourceAlloydb withDatabase(String database) { + this.database = database; + return this; + } + + /** + * Hostname of the database. + */ + @JsonProperty("host") + public String host; + public SourceAlloydb withHost(String host) { + this.host = host; + return this; + } + + /** + * 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public SourceAlloydb withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceAlloydb withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the database. + */ + @JsonProperty("port") + public Long port; + public SourceAlloydb withPort(Long port) { + this.port = port; + return this; + } + + /** + * Replication method for extracting data from the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("replication_method") + public Object replicationMethod; + public SourceAlloydb withReplicationMethod(Object replicationMethod) { + this.replicationMethod = replicationMethod; + return this; + } + + /** + * The list of schemas (case sensitive) to sync from. Defaults to public. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schemas") + public String[] schemas; + public SourceAlloydb withSchemas(String[] schemas) { + this.schemas = schemas; + return this; + } + + @JsonProperty("sourceType") + public SourceAlloydbAlloydbEnum sourceType; + public SourceAlloydb withSourceType(SourceAlloydbAlloydbEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * SSL connection modes. + * Read more <a href="https://jdbc.postgresql.org/documentation/head/ssl-client.html"> in the docs</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl_mode") + public Object sslMode; + public SourceAlloydb withSslMode(Object sslMode) { + this.sslMode = sslMode; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public SourceAlloydb withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Username to access the database. + */ + @JsonProperty("username") + public String username; + public SourceAlloydb withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbAlloydbEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbAlloydbEnum.java new file mode 100755 index 000000000..dccaf392e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbAlloydbEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAlloydbAlloydbEnum { + ALLOYDB("alloydb"); + + @JsonValue + public final String value; + + private SourceAlloydbAlloydbEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbReplicationMethodStandard.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbReplicationMethodStandard.java new file mode 100755 index 000000000..6fc2ba163 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbReplicationMethodStandard.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAlloydbReplicationMethodStandard - Standard replication requires no setup on the DB side but will not be able to represent deletions incrementally. + */ +public class SourceAlloydbReplicationMethodStandard { + @JsonProperty("method") + public SourceAlloydbReplicationMethodStandardMethodEnum method; + public SourceAlloydbReplicationMethodStandard withMethod(SourceAlloydbReplicationMethodStandardMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbReplicationMethodStandardMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbReplicationMethodStandardMethodEnum.java new file mode 100755 index 000000000..832d43d98 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbReplicationMethodStandardMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAlloydbReplicationMethodStandardMethodEnum { + STANDARD("Standard"); + + @JsonValue + public final String value; + + private SourceAlloydbReplicationMethodStandardMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodNoTunnel.java new file mode 100755 index 000000000..5597739ac --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAlloydbTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceAlloydbTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public SourceAlloydbTunnelMethodNoTunnel withTunnelMethod(SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..9421df1b5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private SourceAlloydbTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..02148d1c2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAlloydbTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceAlloydbTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceAlloydbTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public SourceAlloydbTunnelMethodPasswordAuthentication withTunnelMethod(SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceAlloydbTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceAlloydbTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public SourceAlloydbTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..a6d80c42c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..46a1ba0eb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAlloydbTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceAlloydbTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public SourceAlloydbTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceAlloydbTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public SourceAlloydbTunnelMethodSSHKeyAuthentication withTunnelMethod(SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceAlloydbTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceAlloydbTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..d2be7c9e0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java new file mode 100755 index 000000000..138deba09 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java @@ -0,0 +1,126 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAmazonAds - The values required to configure the source. + */ +public class SourceAmazonAds { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceAmazonAdsAuthTypeEnum authType; + public SourceAmazonAds withAuthType(SourceAmazonAdsAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * 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. + */ + @JsonProperty("client_id") + public String clientId; + public SourceAmazonAds withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * 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. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceAmazonAds withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The amount of days to go back in time to get the updated data from Amazon Ads + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("look_back_window") + public Long lookBackWindow; + public SourceAmazonAds withLookBackWindow(Long lookBackWindow) { + this.lookBackWindow = lookBackWindow; + return this; + } + + /** + * Profile IDs you want to fetch data for. See <a href="https://advertising.amazon.com/API/docs/en-us/concepts/authorization/profiles">docs</a> for more details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("profiles") + public Long[] profiles; + public SourceAmazonAds withProfiles(Long[] profiles) { + this.profiles = profiles; + return this; + } + + /** + * 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. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceAmazonAds withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + public SourceAmazonAdsRegionEnum region; + public SourceAmazonAds withRegion(SourceAmazonAdsRegionEnum region) { + this.region = region; + return this; + } + + /** + * 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 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("report_record_types") + public SourceAmazonAdsReportRecordTypesEnum[] reportRecordTypes; + public SourceAmazonAds withReportRecordTypes(SourceAmazonAdsReportRecordTypesEnum[] reportRecordTypes) { + this.reportRecordTypes = reportRecordTypes; + return this; + } + + @JsonProperty("sourceType") + public SourceAmazonAdsAmazonAdsEnum sourceType; + public SourceAmazonAds withSourceType(SourceAmazonAdsAmazonAdsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + public String startDate; + public SourceAmazonAds withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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") + public SourceAmazonAdsStateFilterEnum[] stateFilter; + public SourceAmazonAds withStateFilter(SourceAmazonAdsStateFilterEnum[] stateFilter) { + this.stateFilter = stateFilter; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAdsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAdsEnum.java new file mode 100755 index 000000000..75758ce9d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAdsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAmazonAdsAmazonAdsEnum { + AMAZON_ADS("amazon-ads"); + + @JsonValue + public final String value; + + private SourceAmazonAdsAmazonAdsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthTypeEnum.java new file mode 100755 index 000000000..c68205e6a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAmazonAdsAuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceAmazonAdsAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsRegionEnum.java new file mode 100755 index 000000000..33801b3d8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsRegionEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAmazonAdsRegionEnum - 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. + */ +public enum SourceAmazonAdsRegionEnum { + NA("NA"), + EU("EU"), + FE("FE"); + + @JsonValue + public final String value; + + private SourceAmazonAdsRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsReportRecordTypesEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsReportRecordTypesEnum.java new file mode 100755 index 000000000..7e9e3a925 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsReportRecordTypesEnum.java @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAmazonAdsReportRecordTypesEnum { + AD_GROUPS("adGroups"), + ASINS("asins"), + ASINS_KEYWORDS("asins_keywords"), + ASINS_TARGETS("asins_targets"), + CAMPAIGNS("campaigns"), + KEYWORDS("keywords"), + PRODUCT_ADS("productAds"), + TARGETS("targets"); + + @JsonValue + public final String value; + + private SourceAmazonAdsReportRecordTypesEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsStateFilterEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsStateFilterEnum.java new file mode 100755 index 000000000..485afd0b4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsStateFilterEnum.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAmazonAdsStateFilterEnum { + ENABLED("enabled"), + PAUSED("paused"), + ARCHIVED("archived"); + + @JsonValue + public final String value; + + private SourceAmazonAdsStateFilterEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java new file mode 100755 index 000000000..ece426734 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java @@ -0,0 +1,177 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAmazonSellerPartner - The values required to configure the source. + */ +public class SourceAmazonSellerPartner { + /** + * Your Amazon App ID + */ + @JsonProperty("app_id") + public String appId; + public SourceAmazonSellerPartner withAppId(String appId) { + this.appId = appId; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceAmazonSellerPartnerAuthTypeEnum authType; + public SourceAmazonSellerPartner withAuthType(SourceAmazonSellerPartnerAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * Specifies the AWS access key used as part of the credentials to authenticate the user. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("aws_access_key") + public String awsAccessKey; + public SourceAmazonSellerPartner withAwsAccessKey(String awsAccessKey) { + this.awsAccessKey = awsAccessKey; + return this; + } + + /** + * An enumeration. + */ + @JsonProperty("aws_environment") + public SourceAmazonSellerPartnerAWSEnvironmentEnum awsEnvironment; + public SourceAmazonSellerPartner withAwsEnvironment(SourceAmazonSellerPartnerAWSEnvironmentEnum awsEnvironment) { + this.awsEnvironment = awsEnvironment; + return this; + } + + /** + * Specifies the AWS secret key used as part of the credentials to authenticate the user. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("aws_secret_key") + public String awsSecretKey; + public SourceAmazonSellerPartner withAwsSecretKey(String awsSecretKey) { + this.awsSecretKey = awsSecretKey; + return this; + } + + /** + * Your Login with Amazon Client ID. + */ + @JsonProperty("lwa_app_id") + public String lwaAppId; + public SourceAmazonSellerPartner withLwaAppId(String lwaAppId) { + this.lwaAppId = lwaAppId; + return this; + } + + /** + * Your Login with Amazon Client Secret. + */ + @JsonProperty("lwa_client_secret") + public String lwaClientSecret; + public SourceAmazonSellerPartner withLwaClientSecret(String lwaClientSecret) { + this.lwaClientSecret = lwaClientSecret; + return this; + } + + /** + * Sometimes report can take up to 30 minutes to generate. This will set the limit for how long to wait for a successful report. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("max_wait_seconds") + public Long maxWaitSeconds; + public SourceAmazonSellerPartner withMaxWaitSeconds(Long maxWaitSeconds) { + this.maxWaitSeconds = maxWaitSeconds; + return this; + } + + /** + * Will be used for stream slicing for initial full_refresh sync when no updated state is present for reports that support sliced incremental sync. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("period_in_days") + public Long periodInDays; + public SourceAmazonSellerPartner withPeriodInDays(Long periodInDays) { + this.periodInDays = periodInDays; + return this; + } + + /** + * The Refresh Token obtained via OAuth flow authorization. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceAmazonSellerPartner withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * An enumeration. + */ + @JsonProperty("region") + public SourceAmazonSellerPartnerAWSRegionEnum region; + public SourceAmazonSellerPartner withRegion(SourceAmazonSellerPartnerAWSRegionEnum region) { + this.region = region; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("replication_end_date") + public String replicationEndDate; + public SourceAmazonSellerPartner withReplicationEndDate(String replicationEndDate) { + this.replicationEndDate = replicationEndDate; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("replication_start_date") + public String replicationStartDate; + public SourceAmazonSellerPartner withReplicationStartDate(String replicationStartDate) { + this.replicationStartDate = replicationStartDate; + return this; + } + + /** + * Additional information passed to reports. This varies by report type. Must be a valid json string. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("report_options") + public String reportOptions; + public SourceAmazonSellerPartner withReportOptions(String reportOptions) { + this.reportOptions = reportOptions; + return this; + } + + /** + * Specifies the Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations requested using this profile. (Needs permission to 'Assume Role' STS). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("role_arn") + public String roleArn; + public SourceAmazonSellerPartner withRoleArn(String roleArn) { + this.roleArn = roleArn; + return this; + } + + @JsonProperty("sourceType") + public SourceAmazonSellerPartnerAmazonSellerPartnerEnum sourceType; + public SourceAmazonSellerPartner withSourceType(SourceAmazonSellerPartnerAmazonSellerPartnerEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSEnvironmentEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSEnvironmentEnum.java new file mode 100755 index 000000000..6d14ea646 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSEnvironmentEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAmazonSellerPartnerAWSEnvironmentEnum - An enumeration. + */ +public enum SourceAmazonSellerPartnerAWSEnvironmentEnum { + PRODUCTION("PRODUCTION"), + SANDBOX("SANDBOX"); + + @JsonValue + public final String value; + + private SourceAmazonSellerPartnerAWSEnvironmentEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSRegionEnum.java new file mode 100755 index 000000000..e6e884413 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSRegionEnum.java @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAmazonSellerPartnerAWSRegionEnum - An enumeration. + */ +public enum SourceAmazonSellerPartnerAWSRegionEnum { + AE("AE"), + AU("AU"), + BE("BE"), + BR("BR"), + CA("CA"), + DE("DE"), + EG("EG"), + ES("ES"), + FR("FR"), + GB("GB"), + IN("IN"), + IT("IT"), + JP("JP"), + MX("MX"), + NL("NL"), + PL("PL"), + SA("SA"), + SE("SE"), + SG("SG"), + TR("TR"), + UK("UK"), + US("US"); + + @JsonValue + public final String value; + + private SourceAmazonSellerPartnerAWSRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartnerEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartnerEnum.java new file mode 100755 index 000000000..1fc6ffacb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartnerEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAmazonSellerPartnerAmazonSellerPartnerEnum { + AMAZON_SELLER_PARTNER("amazon-seller-partner"); + + @JsonValue + public final String value; + + private SourceAmazonSellerPartnerAmazonSellerPartnerEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthTypeEnum.java new file mode 100755 index 000000000..85e588754 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAmazonSellerPartnerAuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceAmazonSellerPartnerAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java new file mode 100755 index 000000000..39341db85 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAmazonSqs - The values required to configure the source. + */ +public class SourceAmazonSqs { + /** + * The Access Key ID of the AWS IAM Role to use for pulling messages + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_key") + public String accessKey; + public SourceAmazonSqs withAccessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + /** + * Comma separated list of Mesage Attribute names to return + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("attributes_to_return") + public String attributesToReturn; + public SourceAmazonSqs withAttributesToReturn(String attributesToReturn) { + this.attributesToReturn = attributesToReturn; + return this; + } + + /** + * 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. + */ + @JsonProperty("delete_messages") + public Boolean deleteMessages; + public SourceAmazonSqs withDeleteMessages(Boolean deleteMessages) { + this.deleteMessages = deleteMessages; + return this; + } + + /** + * Max amount of messages to get in one batch (10 max) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("max_batch_size") + public Long maxBatchSize; + public SourceAmazonSqs withMaxBatchSize(Long maxBatchSize) { + this.maxBatchSize = maxBatchSize; + return this; + } + + /** + * Max amount of time in seconds to wait for messages in a single poll (20 max) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("max_wait_time") + public Long maxWaitTime; + public SourceAmazonSqs withMaxWaitTime(Long maxWaitTime) { + this.maxWaitTime = maxWaitTime; + return this; + } + + /** + * URL of the SQS Queue + */ + @JsonProperty("queue_url") + public String queueUrl; + public SourceAmazonSqs withQueueUrl(String queueUrl) { + this.queueUrl = queueUrl; + return this; + } + + /** + * AWS Region of the SQS Queue + */ + @JsonProperty("region") + public SourceAmazonSqsAWSRegionEnum region; + public SourceAmazonSqs withRegion(SourceAmazonSqsAWSRegionEnum region) { + this.region = region; + return this; + } + + /** + * The Secret Key of the AWS IAM Role to use for pulling messages + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secret_key") + public String secretKey; + public SourceAmazonSqs withSecretKey(String secretKey) { + this.secretKey = secretKey; + return this; + } + + @JsonProperty("sourceType") + public SourceAmazonSqsAmazonSqsEnum sourceType; + public SourceAmazonSqs withSourceType(SourceAmazonSqsAmazonSqsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Modify the Visibility Timeout of the individual message from the Queue's default (seconds). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("visibility_timeout") + public Long visibilityTimeout; + public SourceAmazonSqs withVisibilityTimeout(Long visibilityTimeout) { + this.visibilityTimeout = visibilityTimeout; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegionEnum.java new file mode 100755 index 000000000..48cdedb0b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegionEnum.java @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAmazonSqsAWSRegionEnum - AWS Region of the SQS Queue + */ +public enum SourceAmazonSqsAWSRegionEnum { + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"); + + @JsonValue + public final String value; + + private SourceAmazonSqsAWSRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAmazonSqsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAmazonSqsEnum.java new file mode 100755 index 000000000..f8959ef34 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAmazonSqsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAmazonSqsAmazonSqsEnum { + AMAZON_SQS("amazon-sqs"); + + @JsonValue + public final String value; + + private SourceAmazonSqsAmazonSqsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java new file mode 100755 index 000000000..28a20b667 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAmplitude - The values required to configure the source. + */ +public class SourceAmplitude { + /** + * 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. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceAmplitude withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Amplitude data region server + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data_region") + public SourceAmplitudeDataRegionEnum dataRegion; + public SourceAmplitude withDataRegion(SourceAmplitudeDataRegionEnum dataRegion) { + this.dataRegion = dataRegion; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("request_time_range") + public Long requestTimeRange; + public SourceAmplitude withRequestTimeRange(Long requestTimeRange) { + this.requestTimeRange = requestTimeRange; + return this; + } + + /** + * 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. + */ + @JsonProperty("secret_key") + public String secretKey; + public SourceAmplitude withSecretKey(String secretKey) { + this.secretKey = secretKey; + return this; + } + + @JsonProperty("sourceType") + public SourceAmplitudeAmplitudeEnum sourceType; + public SourceAmplitude withSourceType(SourceAmplitudeAmplitudeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + public String startDate; + public SourceAmplitude withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeAmplitudeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeAmplitudeEnum.java new file mode 100755 index 000000000..135d2b20e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeAmplitudeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAmplitudeAmplitudeEnum { + AMPLITUDE("amplitude"); + + @JsonValue + public final String value; + + private SourceAmplitudeAmplitudeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeDataRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeDataRegionEnum.java new file mode 100755 index 000000000..266809086 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeDataRegionEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAmplitudeDataRegionEnum - Amplitude data region server + */ +public enum SourceAmplitudeDataRegionEnum { + STANDARD_SERVER("Standard Server"), + EU_RESIDENCY_SERVER("EU Residency Server"); + + @JsonValue + public final String value; + + private SourceAmplitudeDataRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java new file mode 100755 index 000000000..ad9b6148f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceApifyDataset - The values required to configure the source. + */ +public class SourceApifyDataset { + /** + * If set to true, only clean items will be downloaded from the dataset. See description of what clean means in <a href="https://docs.apify.com/api/v2#/reference/datasets/item-collection/get-items">Apify API docs</a>. If not sure, set clean to false. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("clean") + public Boolean clean; + public SourceApifyDataset withClean(Boolean clean) { + this.clean = clean; + return this; + } + + /** + * ID of the dataset you would like to load to Airbyte. + */ + @JsonProperty("datasetId") + public String datasetId; + public SourceApifyDataset withDatasetId(String datasetId) { + this.datasetId = datasetId; + return this; + } + + @JsonProperty("sourceType") + public SourceApifyDatasetApifyDatasetEnum sourceType; + public SourceApifyDataset withSourceType(SourceApifyDatasetApifyDatasetEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDatasetApifyDatasetEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDatasetApifyDatasetEnum.java new file mode 100755 index 000000000..d2344b298 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDatasetApifyDatasetEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceApifyDatasetApifyDatasetEnum { + APIFY_DATASET("apify-dataset"); + + @JsonValue + public final String value; + + private SourceApifyDatasetApifyDatasetEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java new file mode 100755 index 000000000..62984245d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAsana - The values required to configure the source. + */ +public class SourceAsana { + /** + * Choose how to authenticate to Github + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceAsana withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceAsanaAsanaEnum sourceType; + public SourceAsana withSourceType(SourceAsanaAsanaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsanaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsanaEnum.java new file mode 100755 index 000000000..93ea17417 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsanaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAsanaAsanaEnum { + ASANA("asana"); + + @JsonValue + public final String value; + + private SourceAsanaAsanaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauth.java new file mode 100755 index 000000000..7f1792f2b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauth.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAsanaCredentialsAuthenticateViaAsanaOauth - Choose how to authenticate to Github + */ +public class SourceAsanaCredentialsAuthenticateViaAsanaOauth { + @JsonProperty("client_id") + public String clientId; + public SourceAsanaCredentialsAuthenticateViaAsanaOauth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + @JsonProperty("client_secret") + public String clientSecret; + public SourceAsanaCredentialsAuthenticateViaAsanaOauth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * OAuth Credentials + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("option_title") + public SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum optionTitle; + public SourceAsanaCredentialsAuthenticateViaAsanaOauth withOptionTitle(SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum optionTitle) { + this.optionTitle = optionTitle; + return this; + } + + @JsonProperty("refresh_token") + public String refreshToken; + public SourceAsanaCredentialsAuthenticateViaAsanaOauth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum.java new file mode 100755 index 000000000..ca40569e1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum - OAuth Credentials + */ +public enum SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum { + O_AUTH_CREDENTIALS("OAuth Credentials"); + + @JsonValue + public final String value; + + private SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessToken.java new file mode 100755 index 000000000..dc08f99a6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessToken.java @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAsanaCredentialsAuthenticateWithPersonalAccessToken - Choose how to authenticate to Github + */ +public class SourceAsanaCredentialsAuthenticateWithPersonalAccessToken { + /** + * PAT Credentials + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("option_title") + public SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum optionTitle; + public SourceAsanaCredentialsAuthenticateWithPersonalAccessToken withOptionTitle(SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum optionTitle) { + this.optionTitle = optionTitle; + return this; + } + + /** + * Asana Personal Access Token (generate yours <a href="https://app.asana.com/0/developer-console">here</a>). + */ + @JsonProperty("personal_access_token") + public String personalAccessToken; + public SourceAsanaCredentialsAuthenticateWithPersonalAccessToken withPersonalAccessToken(String personalAccessToken) { + this.personalAccessToken = personalAccessToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum.java new file mode 100755 index 000000000..dea0cfc15 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum - PAT Credentials + */ +public enum SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum { + PAT_CREDENTIALS("PAT Credentials"); + + @JsonValue + public final String value; + + private SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0.java new file mode 100755 index 000000000..c28ce6b6f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0.java @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAuth0 - The values required to configure the source. + */ +public class SourceAuth0 { + /** + * The Authentication API is served over HTTPS. All URLs referenced in the documentation have the following base `https://YOUR_DOMAIN` + */ + @JsonProperty("base_url") + public String baseUrl; + public SourceAuth0 withBaseUrl(String baseUrl) { + this.baseUrl = baseUrl; + return this; + } + + @JsonProperty("credentials") + public Object credentials; + public SourceAuth0 withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceAuth0Auth0Enum sourceType; + public SourceAuth0 withSourceType(SourceAuth0Auth0Enum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0Auth0Enum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0Auth0Enum.java new file mode 100755 index 000000000..e02fc57e4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0Auth0Enum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAuth0Auth0Enum { + AUTH0("auth0"); + + @JsonValue + public final String value; + + private SourceAuth0Auth0Enum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessToken.java new file mode 100755 index 000000000..43cc2fec5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessToken.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceAuth0CredentialsOAuth2AccessToken { + /** + * Also called <a href="https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-access-tokens-for-testing">API Access Token </a> The access token used to call the Auth0 Management API Token. It's a JWT that contains specific grant permissions knowns as scopes. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceAuth0CredentialsOAuth2AccessToken withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_type") + public SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethodEnum authType; + public SourceAuth0CredentialsOAuth2AccessToken withAuthType(SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethodEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethodEnum.java new file mode 100755 index 000000000..2c351abaf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethodEnum { + OAUTH2_ACCESS_TOKEN("oauth2_access_token"); + + @JsonValue + public final String value; + + private SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2ConfidentialApplication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2ConfidentialApplication.java new file mode 100755 index 000000000..3459bbb9c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2ConfidentialApplication.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceAuth0CredentialsOAuth2ConfidentialApplication { + /** + * The audience for the token, which is your API. You can find this in the Identifier field on your <a href="https://manage.auth0.com/#/apis">API's settings tab</a> + */ + @JsonProperty("audience") + public String audience; + public SourceAuth0CredentialsOAuth2ConfidentialApplication withAudience(String audience) { + this.audience = audience; + return this; + } + + @JsonProperty("auth_type") + public SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethodEnum authType; + public SourceAuth0CredentialsOAuth2ConfidentialApplication withAuthType(SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethodEnum authType) { + this.authType = authType; + return this; + } + + /** + * Your application's Client ID. You can find this value on the <a href="https://manage.auth0.com/#/applications">application's settings tab</a> after you login the admin portal. + */ + @JsonProperty("client_id") + public String clientId; + public SourceAuth0CredentialsOAuth2ConfidentialApplication withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Your application's Client Secret. You can find this value on the <a href="https://manage.auth0.com/#/applications">application's settings tab</a> after you login the admin portal. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceAuth0CredentialsOAuth2ConfidentialApplication withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethodEnum.java new file mode 100755 index 000000000..adbc8714f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethodEnum { + OAUTH2_CONFIDENTIAL_APPLICATION("oauth2_confidential_application"); + + @JsonValue + public final String value; + + private SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java new file mode 100755 index 000000000..0e00123d8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceAwsCloudtrail - The values required to configure the source. + */ +public class SourceAwsCloudtrail { + /** + * 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. + */ + @JsonProperty("aws_key_id") + public String awsKeyId; + public SourceAwsCloudtrail withAwsKeyId(String awsKeyId) { + this.awsKeyId = awsKeyId; + return this; + } + + /** + * 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. + */ + @JsonProperty("aws_region_name") + public String awsRegionName; + public SourceAwsCloudtrail withAwsRegionName(String awsRegionName) { + this.awsRegionName = awsRegionName; + return this; + } + + /** + * 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. + */ + @JsonProperty("aws_secret_key") + public String awsSecretKey; + public SourceAwsCloudtrail withAwsSecretKey(String awsSecretKey) { + this.awsSecretKey = awsSecretKey; + return this; + } + + @JsonProperty("sourceType") + public SourceAwsCloudtrailAwsCloudtrailEnum sourceType; + public SourceAwsCloudtrail withSourceType(SourceAwsCloudtrailAwsCloudtrailEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date you would like to replicate data. Data in AWS CloudTrail is available for last 90 days only. Format: YYYY-MM-DD. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceAwsCloudtrail withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrailAwsCloudtrailEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrailAwsCloudtrailEnum.java new file mode 100755 index 000000000..f8f49f9c3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrailAwsCloudtrailEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAwsCloudtrailAwsCloudtrailEnum { + AWS_CLOUDTRAIL("aws-cloudtrail"); + + @JsonValue + public final String value; + + private SourceAwsCloudtrailAwsCloudtrailEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java new file mode 100755 index 000000000..255a213e5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAzureBlobStorage - The values required to configure the source. + */ +public class SourceAzureBlobStorage { + /** + * The Azure blob storage account key. + */ + @JsonProperty("azure_blob_storage_account_key") + public String azureBlobStorageAccountKey; + public SourceAzureBlobStorage withAzureBlobStorageAccountKey(String azureBlobStorageAccountKey) { + this.azureBlobStorageAccountKey = azureBlobStorageAccountKey; + return this; + } + + /** + * The account's name of the Azure Blob Storage. + */ + @JsonProperty("azure_blob_storage_account_name") + public String azureBlobStorageAccountName; + public SourceAzureBlobStorage withAzureBlobStorageAccountName(String azureBlobStorageAccountName) { + this.azureBlobStorageAccountName = azureBlobStorageAccountName; + return this; + } + + /** + * The Azure blob storage prefix to be applied + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("azure_blob_storage_blobs_prefix") + public String azureBlobStorageBlobsPrefix; + public SourceAzureBlobStorage withAzureBlobStorageBlobsPrefix(String azureBlobStorageBlobsPrefix) { + this.azureBlobStorageBlobsPrefix = azureBlobStorageBlobsPrefix; + return this; + } + + /** + * The name of the Azure blob storage container. + */ + @JsonProperty("azure_blob_storage_container_name") + public String azureBlobStorageContainerName; + public SourceAzureBlobStorage withAzureBlobStorageContainerName(String azureBlobStorageContainerName) { + this.azureBlobStorageContainerName = azureBlobStorageContainerName; + return this; + } + + /** + * 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") + public String azureBlobStorageEndpoint; + public SourceAzureBlobStorage withAzureBlobStorageEndpoint(String azureBlobStorageEndpoint) { + this.azureBlobStorageEndpoint = azureBlobStorageEndpoint; + return this; + } + + /** + * The Azure blob storage blobs to scan for inferring the schema, useful on large amounts of data with consistent structure + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("azure_blob_storage_schema_inference_limit") + public Long azureBlobStorageSchemaInferenceLimit; + public SourceAzureBlobStorage withAzureBlobStorageSchemaInferenceLimit(Long azureBlobStorageSchemaInferenceLimit) { + this.azureBlobStorageSchemaInferenceLimit = azureBlobStorageSchemaInferenceLimit; + return this; + } + + /** + * Input data format + */ + @JsonProperty("format") + public Object format; + public SourceAzureBlobStorage withFormat(Object format) { + this.format = format; + return this; + } + + @JsonProperty("sourceType") + public SourceAzureBlobStorageAzureBlobStorageEnum sourceType; + public SourceAzureBlobStorage withSourceType(SourceAzureBlobStorageAzureBlobStorageEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorageEnum.java new file mode 100755 index 000000000..d83680d9d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAzureBlobStorageAzureBlobStorageEnum { + AZURE_BLOB_STORAGE("azure-blob-storage"); + + @JsonValue + public final String value; + + private SourceAzureBlobStorageAzureBlobStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON.java new file mode 100755 index 000000000..56c132364 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON - Input data format + */ +public class SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON { + @JsonProperty("format_type") + public SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType; + public SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON withFormatType(SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum formatType) { + this.formatType = formatType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java new file mode 100755 index 000000000..83a2168e6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum { + JSONL("JSONL"); + + @JsonValue + public final String value; + + private SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java new file mode 100755 index 000000000..4f8c6e770 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceAzureTable - The values required to configure the source. + */ +public class SourceAzureTable { + @JsonProperty("sourceType") + public SourceAzureTableAzureTableEnum sourceType; + public SourceAzureTable withSourceType(SourceAzureTableAzureTableEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Azure Table Storage Access Key. See the <a href="https://docs.airbyte.com/integrations/sources/azure-table">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("storage_access_key") + public String storageAccessKey; + public SourceAzureTable withStorageAccessKey(String storageAccessKey) { + this.storageAccessKey = storageAccessKey; + return this; + } + + /** + * The name of your storage account. + */ + @JsonProperty("storage_account_name") + public String storageAccountName; + public SourceAzureTable withStorageAccountName(String storageAccountName) { + this.storageAccountName = storageAccountName; + return this; + } + + /** + * 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 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("storage_endpoint_suffix") + public String storageEndpointSuffix; + public SourceAzureTable withStorageEndpointSuffix(String storageEndpointSuffix) { + this.storageEndpointSuffix = storageEndpointSuffix; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureTableAzureTableEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureTableAzureTableEnum.java new file mode 100755 index 000000000..b0cbb78cc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAzureTableAzureTableEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceAzureTableAzureTableEnum { + AZURE_TABLE("azure-table"); + + @JsonValue + public final String value; + + private SourceAzureTableAzureTableEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java new file mode 100755 index 000000000..6e4ca4f52 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceBambooHr - The values required to configure the source. + */ +public class SourceBambooHr { + /** + * Api key of bamboo hr + */ + @JsonProperty("api_key") + public String apiKey; + public SourceBambooHr withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Comma-separated list of fields to include in custom reports. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("custom_reports_fields") + public String customReportsFields; + public SourceBambooHr withCustomReportsFields(String customReportsFields) { + this.customReportsFields = customReportsFields; + return this; + } + + /** + * 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") + public Boolean customReportsIncludeDefaultFields; + public SourceBambooHr withCustomReportsIncludeDefaultFields(Boolean customReportsIncludeDefaultFields) { + this.customReportsIncludeDefaultFields = customReportsIncludeDefaultFields; + return this; + } + + @JsonProperty("sourceType") + public SourceBambooHrBambooHrEnum sourceType; + public SourceBambooHr withSourceType(SourceBambooHrBambooHrEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Sub Domain of bamboo hr + */ + @JsonProperty("subdomain") + public String subdomain; + public SourceBambooHr withSubdomain(String subdomain) { + this.subdomain = subdomain; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBambooHrBambooHrEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBambooHrBambooHrEnum.java new file mode 100755 index 000000000..037e9d629 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBambooHrBambooHrEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceBambooHrBambooHrEnum { + BAMBOO_HR("bamboo-hr"); + + @JsonValue + public final String value; + + private SourceBambooHrBambooHrEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBigcommerce.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBigcommerce.java new file mode 100755 index 000000000..8db6e8542 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBigcommerce.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceBigcommerce - The values required to configure the source. + */ +public class SourceBigcommerce { + /** + * Access Token for making authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceBigcommerce withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("sourceType") + public SourceBigcommerceBigcommerceEnum sourceType; + public SourceBigcommerce withSourceType(SourceBigcommerceBigcommerceEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date you would like to replicate data. Format: YYYY-MM-DD. + */ + @JsonProperty("start_date") + public String startDate; + public SourceBigcommerce withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * The hash code of the store. For https://api.bigcommerce.com/stores/HASH_CODE/v3/, The store's hash code is 'HASH_CODE'. + */ + @JsonProperty("store_hash") + public String storeHash; + public SourceBigcommerce withStoreHash(String storeHash) { + this.storeHash = storeHash; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBigcommerceBigcommerceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBigcommerceBigcommerceEnum.java new file mode 100755 index 000000000..e89c80f88 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBigcommerceBigcommerceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceBigcommerceBigcommerceEnum { + BIGCOMMERCE("bigcommerce"); + + @JsonValue + public final String value; + + private SourceBigcommerceBigcommerceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBigquery.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBigquery.java new file mode 100755 index 000000000..7738bb645 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBigquery.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceBigquery - The values required to configure the source. + */ +public class SourceBigquery { + /** + * The contents of your Service Account Key JSON file. See the <a href="https://docs.airbyte.com/integrations/sources/bigquery#setup-the-bigquery-source-in-airbyte">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("credentials_json") + public String credentialsJson; + public SourceBigquery withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dataset_id") + public String datasetId; + public SourceBigquery withDatasetId(String datasetId) { + this.datasetId = datasetId; + return this; + } + + /** + * The GCP project ID for the project containing the target BigQuery dataset. + */ + @JsonProperty("project_id") + public String projectId; + public SourceBigquery withProjectId(String projectId) { + this.projectId = projectId; + return this; + } + + @JsonProperty("sourceType") + public SourceBigqueryBigqueryEnum sourceType; + public SourceBigquery withSourceType(SourceBigqueryBigqueryEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigqueryEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigqueryEnum.java new file mode 100755 index 000000000..09e296a6b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigqueryEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceBigqueryBigqueryEnum { + BIGQUERY("bigquery"); + + @JsonValue + public final String value; + + private SourceBigqueryBigqueryEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAds.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAds.java new file mode 100755 index 000000000..48671dd82 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAds.java @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceBingAds - The values required to configure the source. + */ +public class SourceBingAds { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_method") + public SourceBingAdsAuthMethodEnum authMethod; + public SourceBingAds withAuthMethod(SourceBingAdsAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The Client ID of your Microsoft Advertising developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceBingAds withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Microsoft Advertising developer application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + public String clientSecret; + public SourceBingAds withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * 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>. + */ + @JsonProperty("developer_token") + public String developerToken; + public SourceBingAds withDeveloperToken(String developerToken) { + this.developerToken = developerToken; + return this; + } + + /** + * Refresh Token to renew the expired Access Token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceBingAds withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * 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. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("reports_start_date") + public LocalDate reportsStartDate; + public SourceBingAds withReportsStartDate(LocalDate reportsStartDate) { + this.reportsStartDate = reportsStartDate; + return this; + } + + @JsonProperty("sourceType") + public SourceBingAdsBingAdsEnum sourceType; + public SourceBingAds withSourceType(SourceBingAdsBingAdsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The Tenant ID of your Microsoft Advertising developer application. Set this to "common" unless you know you need a different value. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tenant_id") + public String tenantId; + public SourceBingAds withTenantId(String tenantId) { + this.tenantId = tenantId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAdsAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAdsAuthMethodEnum.java new file mode 100755 index 000000000..5178d91cc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAdsAuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceBingAdsAuthMethodEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceBingAdsAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAdsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAdsEnum.java new file mode 100755 index 000000000..7cf2e457a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAdsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceBingAdsBingAdsEnum { + BING_ADS("bing-ads"); + + @JsonValue + public final String value; + + private SourceBingAdsBingAdsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintree.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintree.java new file mode 100755 index 000000000..82953c10d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintree.java @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceBraintree - The values required to configure the source. + */ +public class SourceBraintree { + /** + * Environment specifies where the data will come from. + */ + @JsonProperty("environment") + public SourceBraintreeEnvironmentEnum environment; + public SourceBraintree withEnvironment(SourceBraintreeEnvironmentEnum environment) { + this.environment = environment; + return this; + } + + /** + * The unique identifier for your entire gateway account. See the <a href="https://docs.airbyte.com/integrations/sources/braintree">docs</a> for more information on how to obtain this ID. + */ + @JsonProperty("merchant_id") + public String merchantId; + public SourceBraintree withMerchantId(String merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Braintree Private Key. See the <a href="https://docs.airbyte.com/integrations/sources/braintree">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("private_key") + public String privateKey; + public SourceBraintree withPrivateKey(String privateKey) { + this.privateKey = privateKey; + return this; + } + + /** + * Braintree Public Key. See the <a href="https://docs.airbyte.com/integrations/sources/braintree">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("public_key") + public String publicKey; + public SourceBraintree withPublicKey(String publicKey) { + this.publicKey = publicKey; + return this; + } + + @JsonProperty("sourceType") + public SourceBraintreeBraintreeEnum sourceType; + public SourceBraintree withSourceType(SourceBraintreeBraintreeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceBraintree withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintreeBraintreeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintreeBraintreeEnum.java new file mode 100755 index 000000000..64ef8d52c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintreeBraintreeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceBraintreeBraintreeEnum { + BRAINTREE("braintree"); + + @JsonValue + public final String value; + + private SourceBraintreeBraintreeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironmentEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironmentEnum.java new file mode 100755 index 000000000..62873b023 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironmentEnum.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceBraintreeEnvironmentEnum - Environment specifies where the data will come from. + */ +public enum SourceBraintreeEnvironmentEnum { + DEVELOPMENT("Development"), + SANDBOX("Sandbox"), + QA("Qa"), + PRODUCTION("Production"); + + @JsonValue + public final String value; + + private SourceBraintreeEnvironmentEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBraze.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBraze.java new file mode 100755 index 000000000..ddb148247 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBraze.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceBraze - The values required to configure the source. + */ +public class SourceBraze { + /** + * Braze REST API key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceBraze withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceBrazeBrazeEnum sourceType; + public SourceBraze withSourceType(SourceBrazeBrazeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Rows after this date will be synced + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceBraze withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * Braze REST API endpoint + */ + @JsonProperty("url") + public String url; + public SourceBraze withUrl(String url) { + this.url = url; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceBrazeBrazeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceBrazeBrazeEnum.java new file mode 100755 index 000000000..5f3986fbb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceBrazeBrazeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceBrazeBrazeEnum { + BRAZE("braze"); + + @JsonValue + public final String value; + + private SourceBrazeBrazeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebee.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebee.java new file mode 100755 index 000000000..fd3b0cc33 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebee.java @@ -0,0 +1,67 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceChargebee - The values required to configure the source. + */ +public class SourceChargebee { + /** + * 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. + */ + @JsonProperty("product_catalog") + public SourceChargebeeProductCatalogEnum productCatalog; + public SourceChargebee withProductCatalog(SourceChargebeeProductCatalogEnum productCatalog) { + this.productCatalog = productCatalog; + return this; + } + + /** + * The site prefix for your Chargebee instance. + */ + @JsonProperty("site") + public String site; + public SourceChargebee withSite(String site) { + this.site = site; + return this; + } + + /** + * Chargebee API Key. See the <a href="https://docs.airbyte.com/integrations/sources/chargebee">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("site_api_key") + public String siteApiKey; + public SourceChargebee withSiteApiKey(String siteApiKey) { + this.siteApiKey = siteApiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceChargebeeChargebeeEnum sourceType; + public SourceChargebee withSourceType(SourceChargebeeChargebeeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceChargebee withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebeeChargebeeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebeeChargebeeEnum.java new file mode 100755 index 000000000..efdda73d6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebeeChargebeeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceChargebeeChargebeeEnum { + CHARGEBEE("chargebee"); + + @JsonValue + public final String value; + + private SourceChargebeeChargebeeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebeeProductCatalogEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebeeProductCatalogEnum.java new file mode 100755 index 000000000..4bfc05846 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceChargebeeProductCatalogEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceChargebeeProductCatalogEnum - 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. + */ +public enum SourceChargebeeProductCatalogEnum { + ONE0("1.0"), + TWO0("2.0"); + + @JsonValue + public final String value; + + private SourceChargebeeProductCatalogEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java new file mode 100755 index 000000000..7295e5d59 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java @@ -0,0 +1,57 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceChartmogul - The values required to configure the source. + */ +public class SourceChartmogul { + /** + * Your Chartmogul API key. See <a href="https://help.chartmogul.com/hc/en-us/articles/4407796325906-Creating-and-Managing-API-keys#creating-an-api-key"> the docs </a> for info on how to obtain this. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceChartmogul withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Some APIs such as <a href="https://dev.chartmogul.com/reference/endpoint-overview-metrics-api">Metrics</a> require intervals to cluster data. + */ + @JsonProperty("interval") + public SourceChartmogulIntervalEnum interval; + public SourceChartmogul withInterval(SourceChartmogulIntervalEnum interval) { + this.interval = interval; + return this; + } + + @JsonProperty("sourceType") + public SourceChartmogulChartmogulEnum sourceType; + public SourceChartmogul withSourceType(SourceChartmogulChartmogulEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. When feasible, any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceChartmogul withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogulChartmogulEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogulChartmogulEnum.java new file mode 100755 index 000000000..f4b86d697 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogulChartmogulEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceChartmogulChartmogulEnum { + CHARTMOGUL("chartmogul"); + + @JsonValue + public final String value; + + private SourceChartmogulChartmogulEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogulIntervalEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogulIntervalEnum.java new file mode 100755 index 000000000..8c09e3a95 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceChartmogulIntervalEnum.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceChartmogulIntervalEnum - Some APIs such as <a href="https://dev.chartmogul.com/reference/endpoint-overview-metrics-api">Metrics</a> require intervals to cluster data. + */ +public enum SourceChartmogulIntervalEnum { + DAY("day"), + WEEK("week"), + MONTH("month"), + QUARTER("quarter"); + + @JsonValue + public final String value; + + private SourceChartmogulIntervalEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java new file mode 100755 index 000000000..6bea70d31 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceClickhouse - The values required to configure the source. + */ +public class SourceClickhouse { + /** + * The name of the database. + */ + @JsonProperty("database") + public String database; + public SourceClickhouse withDatabase(String database) { + this.database = database; + return this; + } + + /** + * The host endpoint of the Clickhouse cluster. + */ + @JsonProperty("host") + public String host; + public SourceClickhouse withHost(String host) { + this.host = host; + return this; + } + + /** + * The password associated with this username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceClickhouse withPassword(String password) { + this.password = password; + return this; + } + + /** + * The port of the database. + */ + @JsonProperty("port") + public Long port; + public SourceClickhouse withPort(Long port) { + this.port = port; + return this; + } + + @JsonProperty("sourceType") + public SourceClickhouseClickhouseEnum sourceType; + public SourceClickhouse withSourceType(SourceClickhouseClickhouseEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public SourceClickhouse withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * The username which is used to access the database. + */ + @JsonProperty("username") + public String username; + public SourceClickhouse withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouseEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouseEnum.java new file mode 100755 index 000000000..e94804707 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouseEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceClickhouseClickhouseEnum { + CLICKHOUSE("clickhouse"); + + @JsonValue + public final String value; + + private SourceClickhouseClickhouseEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodNoTunnel.java new file mode 100755 index 000000000..c929b8958 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceClickhouseTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceClickhouseTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public SourceClickhouseTunnelMethodNoTunnel withTunnelMethod(SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..f63f2861c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private SourceClickhouseTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..77ee9e989 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceClickhouseTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceClickhouseTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceClickhouseTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public SourceClickhouseTunnelMethodPasswordAuthentication withTunnelMethod(SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceClickhouseTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceClickhouseTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public SourceClickhouseTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..47e2a1044 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..56d5a1d02 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceClickhouseTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceClickhouseTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public SourceClickhouseTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceClickhouseTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public SourceClickhouseTunnelMethodSSHKeyAuthentication withTunnelMethod(SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceClickhouseTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceClickhouseTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..b2c525d53 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java new file mode 100755 index 000000000..53a01fa92 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java @@ -0,0 +1,87 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceClickupApi - The values required to configure the source. + */ +public class SourceClickupApi { + /** + * Every ClickUp API call required authentication. This field is your personal API token. See <a href="https://clickup.com/api/developer-portal/authentication/#personal-token">here</a>. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceClickupApi withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + /** + * The ID of your folder in your space. Retrieve it from the `/space/{space_id}/folder` of the ClickUp API. See <a href="https://clickup.com/api/clickupreference/operation/GetFolders/">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("folder_id") + public String folderId; + public SourceClickupApi withFolderId(String folderId) { + this.folderId = folderId; + return this; + } + + /** + * 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("include_closed_tasks") + public Boolean includeClosedTasks; + public SourceClickupApi withIncludeClosedTasks(Boolean includeClosedTasks) { + this.includeClosedTasks = includeClosedTasks; + return this; + } + + /** + * The ID of your list in your folder. Retrieve it from the `/folder/{folder_id}/list` of the ClickUp API. See <a href="https://clickup.com/api/clickupreference/operation/GetLists/">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("list_id") + public String listId; + public SourceClickupApi withListId(String listId) { + this.listId = listId; + return this; + } + + @JsonProperty("sourceType") + public SourceClickupApiClickupApiEnum sourceType; + public SourceClickupApi withSourceType(SourceClickupApiClickupApiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The ID of your space in your workspace. Retrieve it from the `/team/{team_id}/space` of the ClickUp API. See <a href="https://clickup.com/api/clickupreference/operation/GetSpaces/">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("space_id") + public String spaceId; + public SourceClickupApi withSpaceId(String spaceId) { + this.spaceId = spaceId; + return this; + } + + /** + * The ID of your team in ClickUp. Retrieve it from the `/team` of the ClickUp API. See <a href="https://clickup.com/api/clickupreference/operation/GetAuthorizedTeams/">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("team_id") + public String teamId; + public SourceClickupApi withTeamId(String teamId) { + this.teamId = teamId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceClickupApiClickupApiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickupApiClickupApiEnum.java new file mode 100755 index 000000000..b14ac4e3b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceClickupApiClickupApiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceClickupApiClickupApiEnum { + CLICKUP_API("clickup-api"); + + @JsonValue + public final String value; + + private SourceClickupApiClickupApiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java new file mode 100755 index 000000000..d7c6c2fc5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceCloseCom - The values required to configure the source. + */ +public class SourceCloseCom { + /** + * Close.com API key (usually starts with 'api_'; find yours <a href="https://app.close.com/settings/api/">here</a>). + */ + @JsonProperty("api_key") + public String apiKey; + public SourceCloseCom withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceCloseComCloseComEnum sourceType; + public SourceCloseCom withSourceType(SourceCloseComCloseComEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The start date to sync data. Leave blank for full sync. Format: YYYY-MM-DD. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceCloseCom withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCloseComCloseComEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCloseComCloseComEnum.java new file mode 100755 index 000000000..ccde6f699 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCloseComCloseComEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceCloseComCloseComEnum { + CLOSE_COM("close-com"); + + @JsonValue + public final String value; + + private SourceCloseComCloseComEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCoda.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoda.java new file mode 100755 index 000000000..c7266053d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoda.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceCoda - The values required to configure the source. + */ +public class SourceCoda { + /** + * Bearer token + */ + @JsonProperty("auth_token") + public String authToken; + public SourceCoda withAuthToken(String authToken) { + this.authToken = authToken; + return this; + } + + @JsonProperty("sourceType") + public SourceCodaCodaEnum sourceType; + public SourceCoda withSourceType(SourceCodaCodaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCodaCodaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCodaCodaEnum.java new file mode 100755 index 000000000..dd0fa5b15 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCodaCodaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceCodaCodaEnum { + CODA("coda"); + + @JsonValue + public final String value; + + private SourceCodaCodaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java new file mode 100755 index 000000000..b4d2fab93 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceCoinApi - The values required to configure the source. + */ +public class SourceCoinApi { + /** + * API Key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceCoinApi withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * 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. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + public String endDate; + public SourceCoinApi withEndDate(String endDate) { + this.endDate = endDate; + return this; + } + + /** + * The environment to use. Either sandbox or production. + * + */ + @JsonProperty("environment") + public SourceCoinApiEnvironmentEnum environment; + public SourceCoinApi withEnvironment(SourceCoinApiEnvironmentEnum environment) { + this.environment = environment; + return this; + } + + /** + * 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. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("limit") + public Long limit; + public SourceCoinApi withLimit(Long limit) { + this.limit = limit; + return this; + } + + /** + * The period to use. See the documentation for a list. https://docs.coinapi.io/#list-all-periods-get + */ + @JsonProperty("period") + public String period; + public SourceCoinApi withPeriod(String period) { + this.period = period; + return this; + } + + @JsonProperty("sourceType") + public SourceCoinApiCoinApiEnum sourceType; + public SourceCoinApi withSourceType(SourceCoinApiCoinApiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The start date in ISO 8601 format. + */ + @JsonProperty("start_date") + public String startDate; + public SourceCoinApi withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * The symbol ID to use. See the documentation for a list. + * https://docs.coinapi.io/#list-all-symbols-get + * + */ + @JsonProperty("symbol_id") + public String symbolId; + public SourceCoinApi withSymbolId(String symbolId) { + this.symbolId = symbolId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApiCoinApiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApiCoinApiEnum.java new file mode 100755 index 000000000..d2c7c4bef --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApiCoinApiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceCoinApiCoinApiEnum { + COIN_API("coin-api"); + + @JsonValue + public final String value; + + private SourceCoinApiCoinApiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApiEnvironmentEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApiEnvironmentEnum.java new file mode 100755 index 000000000..47e1e751e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinApiEnvironmentEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceCoinApiEnvironmentEnum - The environment to use. Either sandbox or production. + * + */ +public enum SourceCoinApiEnvironmentEnum { + SANDBOX("sandbox"), + PRODUCTION("production"); + + @JsonValue + public final String value; + + private SourceCoinApiEnvironmentEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java new file mode 100755 index 000000000..237fb5789 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceCoinmarketcap - The values required to configure the source. + */ +public class SourceCoinmarketcap { + /** + * Your API Key. See <a href="https://coinmarketcap.com/api/documentation/v1/#section/Authentication">here</a>. The token is case sensitive. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceCoinmarketcap withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * /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>. + */ + @JsonProperty("data_type") + public SourceCoinmarketcapDataTypeEnum dataType; + public SourceCoinmarketcap withDataType(SourceCoinmarketcapDataTypeEnum dataType) { + this.dataType = dataType; + return this; + } + + @JsonProperty("sourceType") + public SourceCoinmarketcapCoinmarketcapEnum sourceType; + public SourceCoinmarketcap withSourceType(SourceCoinmarketcapCoinmarketcapEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Cryptocurrency symbols. (only used for quotes stream) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("symbols") + public String[] symbols; + public SourceCoinmarketcap withSymbols(String[] symbols) { + this.symbols = symbols; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcapCoinmarketcapEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcapCoinmarketcapEnum.java new file mode 100755 index 000000000..b1ebcdce3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcapCoinmarketcapEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceCoinmarketcapCoinmarketcapEnum { + COINMARKETCAP("coinmarketcap"); + + @JsonValue + public final String value; + + private SourceCoinmarketcapCoinmarketcapEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcapDataTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcapDataTypeEnum.java new file mode 100755 index 000000000..4706fa1df --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcapDataTypeEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceCoinmarketcapDataTypeEnum - /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>. + */ +public enum SourceCoinmarketcapDataTypeEnum { + LATEST("latest"), + HISTORICAL("historical"); + + @JsonValue + public final String value; + + private SourceCoinmarketcapDataTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java new file mode 100755 index 000000000..a1d18311a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceConfigcat - The values required to configure the source. + */ +public class SourceConfigcat { + /** + * Basic auth password. See <a href="https://api.configcat.com/docs/#section/Authentication">here</a>. + */ + @JsonProperty("password") + public String password; + public SourceConfigcat withPassword(String password) { + this.password = password; + return this; + } + + @JsonProperty("sourceType") + public SourceConfigcatConfigcatEnum sourceType; + public SourceConfigcat withSourceType(SourceConfigcatConfigcatEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Basic auth user name. See <a href="https://api.configcat.com/docs/#section/Authentication">here</a>. + */ + @JsonProperty("username") + public String username; + public SourceConfigcat withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceConfigcatConfigcatEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceConfigcatConfigcatEnum.java new file mode 100755 index 000000000..2ecda06d1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceConfigcatConfigcatEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceConfigcatConfigcatEnum { + CONFIGCAT("configcat"); + + @JsonValue + public final String value; + + private SourceConfigcatConfigcatEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceConfluence.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceConfluence.java new file mode 100755 index 000000000..37d6005cd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceConfluence.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceConfluence - The values required to configure the source. + */ +public class SourceConfluence { + /** + * Please follow the Jira confluence for generating an API token: <a href="https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/">generating an API token</a>. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceConfluence withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + /** + * Your Confluence domain name + */ + @JsonProperty("domain_name") + public String domainName; + public SourceConfluence withDomainName(String domainName) { + this.domainName = domainName; + return this; + } + + /** + * Your Confluence login email + */ + @JsonProperty("email") + public String email; + public SourceConfluence withEmail(String email) { + this.email = email; + return this; + } + + @JsonProperty("sourceType") + public SourceConfluenceConfluenceEnum sourceType; + public SourceConfluence withSourceType(SourceConfluenceConfluenceEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceConfluenceConfluenceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceConfluenceConfluenceEnum.java new file mode 100755 index 000000000..3707f8f77 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceConfluenceConfluenceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceConfluenceConfluenceEnum { + CONFLUENCE("confluence"); + + @JsonValue + public final String value; + + private SourceConfluenceConfluenceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDatascope.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDatascope.java new file mode 100755 index 000000000..14aa7e4a3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDatascope.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceDatascope - The values required to configure the source. + */ +public class SourceDatascope { + /** + * API Key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceDatascope withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceDatascopeDatascopeEnum sourceType; + public SourceDatascope withSourceType(SourceDatascopeDatascopeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start date for the data to be replicated + */ + @JsonProperty("start_date") + public String startDate; + public SourceDatascope withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDatascopeDatascopeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDatascopeDatascopeEnum.java new file mode 100755 index 000000000..f1db8430e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDatascopeDatascopeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceDatascopeDatascopeEnum { + DATASCOPE("datascope"); + + @JsonValue + public final String value; + + private SourceDatascopeDatascopeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDelighted.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDelighted.java new file mode 100755 index 000000000..6fdb9148e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDelighted.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceDelighted - The values required to configure the source. + */ +public class SourceDelighted { + /** + * A Delighted API key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceDelighted withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * The date from which you'd like to replicate the data + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("since") + public OffsetDateTime since; + public SourceDelighted withSince(OffsetDateTime since) { + this.since = since; + return this; + } + + @JsonProperty("sourceType") + public SourceDelightedDelightedEnum sourceType; + public SourceDelighted withSourceType(SourceDelightedDelightedEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDelightedDelightedEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDelightedDelightedEnum.java new file mode 100755 index 000000000..177f8094e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDelightedDelightedEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceDelightedDelightedEnum { + DELIGHTED("delighted"); + + @JsonValue + public final String value; + + private SourceDelightedDelightedEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDixa.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDixa.java new file mode 100755 index 000000000..0a06d8c98 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDixa.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceDixa - The values required to configure the source. + */ +public class SourceDixa { + /** + * Dixa API token + */ + @JsonProperty("api_token") + public String apiToken; + public SourceDixa withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + /** + * Number of days to batch into one request. Max 31. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("batch_size") + public Long batchSize; + public SourceDixa withBatchSize(Long batchSize) { + this.batchSize = batchSize; + return this; + } + + @JsonProperty("sourceType") + public SourceDixaDixaEnum sourceType; + public SourceDixa withSourceType(SourceDixaDixaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The connector pulls records updated from this date onwards. + */ + @JsonProperty("start_date") + public String startDate; + public SourceDixa withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDixaDixaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDixaDixaEnum.java new file mode 100755 index 000000000..a4706985e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDixaDixaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceDixaDixaEnum { + DIXA("dixa"); + + @JsonValue + public final String value; + + private SourceDixaDixaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java new file mode 100755 index 000000000..bbee90fe9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceDockerhub - The values required to configure the source. + */ +public class SourceDockerhub { + /** + * Username of DockerHub person or organization (for https://hub.docker.com/v2/repositories/USERNAME/ API call) + */ + @JsonProperty("docker_username") + public String dockerUsername; + public SourceDockerhub withDockerUsername(String dockerUsername) { + this.dockerUsername = dockerUsername; + return this; + } + + @JsonProperty("sourceType") + public SourceDockerhubDockerhubEnum sourceType; + public SourceDockerhub withSourceType(SourceDockerhubDockerhubEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDockerhubDockerhubEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDockerhubDockerhubEnum.java new file mode 100755 index 000000000..41a43a08e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDockerhubDockerhubEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceDockerhubDockerhubEnum { + DOCKERHUB("dockerhub"); + + @JsonValue + public final String value; + + private SourceDockerhubDockerhubEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDremio.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDremio.java new file mode 100755 index 000000000..3d8d2afdd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDremio.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceDremio - The values required to configure the source. + */ +public class SourceDremio { + /** + * API Key that is generated when you authenticate to Dremio API + */ + @JsonProperty("api_key") + public String apiKey; + public SourceDremio withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * URL of your Dremio instance + */ + @JsonProperty("base_url") + public String baseUrl; + public SourceDremio withBaseUrl(String baseUrl) { + this.baseUrl = baseUrl; + return this; + } + + @JsonProperty("sourceType") + public SourceDremioDremioEnum sourceType; + public SourceDremio withSourceType(SourceDremioDremioEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDremioDremioEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDremioDremioEnum.java new file mode 100755 index 000000000..0e60ab446 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDremioDremioEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceDremioDremioEnum { + DREMIO("dremio"); + + @JsonValue + public final String value; + + private SourceDremioDremioEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java new file mode 100755 index 000000000..b973cf7df --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceDynamodb - The values required to configure the source. + */ +public class SourceDynamodb { + /** + * The access key id to access Dynamodb. Airbyte requires read permissions to the database + */ + @JsonProperty("access_key_id") + public String accessKeyId; + public SourceDynamodb withAccessKeyId(String accessKeyId) { + this.accessKeyId = accessKeyId; + return this; + } + + /** + * the URL of the Dynamodb database + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("endpoint") + public String endpoint; + public SourceDynamodb withEndpoint(String endpoint) { + this.endpoint = endpoint; + return this; + } + + /** + * The region of the Dynamodb database + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + public SourceDynamodbDynamodbRegionEnum region; + public SourceDynamodb withRegion(SourceDynamodbDynamodbRegionEnum region) { + this.region = region; + return this; + } + + /** + * Comma separated reserved attribute names present in your tables + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("reserved_attribute_names") + public String reservedAttributeNames; + public SourceDynamodb withReservedAttributeNames(String reservedAttributeNames) { + this.reservedAttributeNames = reservedAttributeNames; + return this; + } + + /** + * The corresponding secret to the access key id. + */ + @JsonProperty("secret_access_key") + public String secretAccessKey; + public SourceDynamodb withSecretAccessKey(String secretAccessKey) { + this.secretAccessKey = secretAccessKey; + return this; + } + + @JsonProperty("sourceType") + public SourceDynamodbDynamodbEnum sourceType; + public SourceDynamodb withSourceType(SourceDynamodbDynamodbEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbEnum.java new file mode 100755 index 000000000..9445474a6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceDynamodbDynamodbEnum { + DYNAMODB("dynamodb"); + + @JsonValue + public final String value; + + private SourceDynamodbDynamodbEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegionEnum.java new file mode 100755 index 000000000..a01636d7a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegionEnum.java @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceDynamodbDynamodbRegionEnum - The region of the Dynamodb database + */ +public enum SourceDynamodbDynamodbRegionEnum { + UNKNOWN(""), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_SOUTH1("ap-south-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + CA_CENTRAL1("ca-central-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + SA_EAST1("sa-east-1"), + ME_SOUTH1("me-south-1"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"); + + @JsonValue + public final String value; + + private SourceDynamodbDynamodbRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloud.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloud.java new file mode 100755 index 000000000..d9aa0b91d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloud.java @@ -0,0 +1,69 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceE2eTestCloud - The values required to configure the source. + */ +public class SourceE2eTestCloud { + /** + * Number of records to emit per stream. Min 1. Max 100 billion. + */ + @JsonProperty("max_messages") + public Long maxMessages; + public SourceE2eTestCloud withMaxMessages(Long maxMessages) { + this.maxMessages = maxMessages; + return this; + } + + /** + * Interval between messages in ms. Min 0 ms. Max 60000 ms (1 minute). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message_interval_ms") + public Long messageIntervalMs; + public SourceE2eTestCloud withMessageIntervalMs(Long messageIntervalMs) { + this.messageIntervalMs = messageIntervalMs; + return this; + } + + @JsonProperty("mock_catalog") + public Object mockCatalog; + public SourceE2eTestCloud withMockCatalog(Object mockCatalog) { + this.mockCatalog = mockCatalog; + return this; + } + + /** + * When the seed is unspecified, the current time millis will be used as the seed. Range: [0, 1000000]. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seed") + public Long seed; + public SourceE2eTestCloud withSeed(Long seed) { + this.seed = seed; + return this; + } + + @JsonProperty("sourceType") + public SourceE2eTestCloudE2eTestCloudEnum sourceType; + public SourceE2eTestCloud withSourceType(SourceE2eTestCloudE2eTestCloudEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + public SourceE2eTestCloudTypeEnum type; + public SourceE2eTestCloud withType(SourceE2eTestCloudTypeEnum type) { + this.type = type; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudE2eTestCloudEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudE2eTestCloudEnum.java new file mode 100755 index 000000000..7722da8bf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudE2eTestCloudEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceE2eTestCloudE2eTestCloudEnum { + E2E_TEST_CLOUD("e2e-test-cloud"); + + @JsonValue + public final String value; + + private SourceE2eTestCloudE2eTestCloudEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogMultiSchema.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogMultiSchema.java new file mode 100755 index 000000000..79c2efab5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogMultiSchema.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceE2eTestCloudMockCatalogMultiSchema - A catalog with multiple data streams, each with a different schema. + */ +public class SourceE2eTestCloudMockCatalogMultiSchema { + /** + * A Json object specifying multiple data streams and their schemas. Each key in this object is one stream name. Each value is the schema for that stream. The schema should be compatible with <a href="https://json-schema.org/draft-07/json-schema-release-notes.html">draft-07</a>. See <a href="https://cswr.github.io/JsonSchema/spec/introduction/">this doc</a> for examples. + */ + @JsonProperty("stream_schemas") + public String streamSchemas; + public SourceE2eTestCloudMockCatalogMultiSchema withStreamSchemas(String streamSchemas) { + this.streamSchemas = streamSchemas; + return this; + } + + @JsonProperty("type") + public SourceE2eTestCloudMockCatalogMultiSchemaTypeEnum type; + public SourceE2eTestCloudMockCatalogMultiSchema withType(SourceE2eTestCloudMockCatalogMultiSchemaTypeEnum type) { + this.type = type; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogMultiSchemaTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogMultiSchemaTypeEnum.java new file mode 100755 index 000000000..b8f4acbb6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogMultiSchemaTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceE2eTestCloudMockCatalogMultiSchemaTypeEnum { + MULTI_STREAM("MULTI_STREAM"); + + @JsonValue + public final String value; + + private SourceE2eTestCloudMockCatalogMultiSchemaTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogSingleSchema.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogSingleSchema.java new file mode 100755 index 000000000..af4ccc047 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogSingleSchema.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceE2eTestCloudMockCatalogSingleSchema - A catalog with one or multiple streams that share the same schema. + */ +public class SourceE2eTestCloudMockCatalogSingleSchema { + /** + * Duplicate the stream for easy load testing. Each stream name will have a number suffix. For example, if the stream name is "ds", the duplicated streams will be "ds_0", "ds_1", etc. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stream_duplication") + public Long streamDuplication; + public SourceE2eTestCloudMockCatalogSingleSchema withStreamDuplication(Long streamDuplication) { + this.streamDuplication = streamDuplication; + return this; + } + + /** + * Name of the data stream. + */ + @JsonProperty("stream_name") + public String streamName; + public SourceE2eTestCloudMockCatalogSingleSchema withStreamName(String streamName) { + this.streamName = streamName; + return this; + } + + /** + * A Json schema for the stream. The schema should be compatible with <a href="https://json-schema.org/draft-07/json-schema-release-notes.html">draft-07</a>. See <a href="https://cswr.github.io/JsonSchema/spec/introduction/">this doc</a> for examples. + */ + @JsonProperty("stream_schema") + public String streamSchema; + public SourceE2eTestCloudMockCatalogSingleSchema withStreamSchema(String streamSchema) { + this.streamSchema = streamSchema; + return this; + } + + @JsonProperty("type") + public SourceE2eTestCloudMockCatalogSingleSchemaTypeEnum type; + public SourceE2eTestCloudMockCatalogSingleSchema withType(SourceE2eTestCloudMockCatalogSingleSchemaTypeEnum type) { + this.type = type; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogSingleSchemaTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogSingleSchemaTypeEnum.java new file mode 100755 index 000000000..801dfc247 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudMockCatalogSingleSchemaTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceE2eTestCloudMockCatalogSingleSchemaTypeEnum { + SINGLE_STREAM("SINGLE_STREAM"); + + @JsonValue + public final String value; + + private SourceE2eTestCloudMockCatalogSingleSchemaTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudTypeEnum.java new file mode 100755 index 000000000..5eacd5c45 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceE2eTestCloudTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceE2eTestCloudTypeEnum { + CONTINUOUS_FEED("CONTINUOUS_FEED"); + + @JsonValue + public final String value; + + private SourceE2eTestCloudTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java new file mode 100755 index 000000000..f19c5488c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceEmailoctopus - The values required to configure the source. + */ +public class SourceEmailoctopus { + /** + * EmailOctopus API Key. See the <a href="https://help.emailoctopus.com/article/165-how-to-create-and-delete-api-keys">docs</a> for information on how to generate this key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceEmailoctopus withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceEmailoctopusEmailoctopusEnum sourceType; + public SourceEmailoctopus withSourceType(SourceEmailoctopusEmailoctopusEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopusEmailoctopusEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopusEmailoctopusEnum.java new file mode 100755 index 000000000..d70c37a98 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopusEmailoctopusEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceEmailoctopusEmailoctopusEnum { + EMAILOCTOPUS("emailoctopus"); + + @JsonValue + public final String value; + + private SourceEmailoctopusEmailoctopusEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java new file mode 100755 index 000000000..604dd3f18 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java @@ -0,0 +1,67 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceExchangeRates - The values required to configure the source. + */ +public class SourceExchangeRates { + /** + * Your API Key. See <a href="https://apilayer.com/marketplace/exchangerates_data-api">here</a>. The key is case sensitive. + */ + @JsonProperty("access_key") + public String accessKey; + public SourceExchangeRates withAccessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + /** + * 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 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("base") + public String base; + public SourceExchangeRates withBase(String base) { + this.base = base; + return this; + } + + /** + * Ignore weekends? (Exchanges don't run on weekends) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ignore_weekends") + public Boolean ignoreWeekends; + public SourceExchangeRates withIgnoreWeekends(Boolean ignoreWeekends) { + this.ignoreWeekends = ignoreWeekends; + return this; + } + + @JsonProperty("sourceType") + public SourceExchangeRatesExchangeRatesEnum sourceType; + public SourceExchangeRates withSourceType(SourceExchangeRatesExchangeRatesEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start getting data from that date. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceExchangeRates withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRatesExchangeRatesEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRatesExchangeRatesEnum.java new file mode 100755 index 000000000..52e8d0a0c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRatesExchangeRatesEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceExchangeRatesExchangeRatesEnum { + EXCHANGE_RATES("exchange-rates"); + + @JsonValue + public final String value; + + private SourceExchangeRatesExchangeRatesEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java new file mode 100755 index 000000000..1050052f5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java @@ -0,0 +1,147 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceFacebookMarketing - The values required to configure the source. + */ +public class SourceFacebookMarketing { + /** + * The value of the generated access token. From your App\u2019s 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. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceFacebookMarketing withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * The Facebook Ad account ID to use when pulling data from the Facebook Marketing API. Open your Meta Ads Manager. The Ad account ID number is in the account dropdown menu or in your browser's address bar. See the <a href="https://www.facebook.com/business/help/1492627900875762">docs</a> for more information. + */ + @JsonProperty("account_id") + public String accountId; + public SourceFacebookMarketing withAccountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Allows action_breakdowns to be an empty list + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("action_breakdowns_allow_empty") + public Boolean actionBreakdownsAllowEmpty; + public SourceFacebookMarketing withActionBreakdownsAllowEmpty(Boolean actionBreakdownsAllowEmpty) { + this.actionBreakdownsAllowEmpty = actionBreakdownsAllowEmpty; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("custom_insights") + public SourceFacebookMarketingInsightConfig[] customInsights; + public SourceFacebookMarketing withCustomInsights(SourceFacebookMarketingInsightConfig[] customInsights) { + this.customInsights = customInsights; + return this; + } + + /** + * 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") + public String endDate; + public SourceFacebookMarketing withEndDate(String endDate) { + this.endDate = endDate; + return this; + } + + /** + * 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") + public Boolean fetchThumbnailImages; + public SourceFacebookMarketing withFetchThumbnailImages(Boolean fetchThumbnailImages) { + this.fetchThumbnailImages = fetchThumbnailImages; + return this; + } + + /** + * Set to active if you want to include data from deleted Campaigns, Ads, and AdSets. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("include_deleted") + public Boolean includeDeleted; + public SourceFacebookMarketing withIncludeDeleted(Boolean includeDeleted) { + this.includeDeleted = includeDeleted; + return this; + } + + /** + * 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") + public Long insightsLookbackWindow; + public SourceFacebookMarketing withInsightsLookbackWindow(Long insightsLookbackWindow) { + this.insightsLookbackWindow = insightsLookbackWindow; + return this; + } + + /** + * Maximum batch size used when sending batch requests to Facebook API. 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("max_batch_size") + public Long maxBatchSize; + public SourceFacebookMarketing withMaxBatchSize(Long maxBatchSize) { + this.maxBatchSize = maxBatchSize; + return this; + } + + /** + * 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") + public Long pageSize; + public SourceFacebookMarketing withPageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + @JsonProperty("sourceType") + public SourceFacebookMarketingFacebookMarketingEnum sourceType; + public SourceFacebookMarketing withSourceType(SourceFacebookMarketingFacebookMarketingEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceFacebookMarketing withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketingEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketingEnum.java new file mode 100755 index 000000000..b0449f662 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketingEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFacebookMarketingFacebookMarketingEnum { + FACEBOOK_MARKETING("facebook-marketing"); + + @JsonValue + public final String value; + + private SourceFacebookMarketingFacebookMarketingEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfig.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfig.java new file mode 100755 index 000000000..674875fa2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfig.java @@ -0,0 +1,122 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceFacebookMarketingInsightConfig - Config for custom insights + */ +public class SourceFacebookMarketingInsightConfig { + /** + * A list of chosen action_breakdowns for action_breakdowns + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("action_breakdowns") + public SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum[] actionBreakdowns; + public SourceFacebookMarketingInsightConfig withActionBreakdowns(SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum[] actionBreakdowns) { + this.actionBreakdowns = actionBreakdowns; + return this; + } + + /** + * A list of chosen breakdowns for breakdowns + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("breakdowns") + public SourceFacebookMarketingInsightConfigValidBreakdownsEnum[] breakdowns; + public SourceFacebookMarketingInsightConfig withBreakdowns(SourceFacebookMarketingInsightConfigValidBreakdownsEnum[] breakdowns) { + this.breakdowns = breakdowns; + return this; + } + + /** + * 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) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("end_date") + public OffsetDateTime endDate; + public SourceFacebookMarketingInsightConfig withEndDate(OffsetDateTime endDate) { + this.endDate = endDate; + return this; + } + + /** + * A list of chosen fields for fields parameter + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fields") + public SourceFacebookMarketingInsightConfigValidEnumsEnum[] fields; + public SourceFacebookMarketingInsightConfig withFields(SourceFacebookMarketingInsightConfigValidEnumsEnum[] fields) { + this.fields = fields; + return this; + } + + /** + * The attribution window + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("insights_lookback_window") + public Long insightsLookbackWindow; + public SourceFacebookMarketingInsightConfig withInsightsLookbackWindow(Long insightsLookbackWindow) { + this.insightsLookbackWindow = insightsLookbackWindow; + return this; + } + + /** + * Chosen level for API + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("level") + public SourceFacebookMarketingInsightConfigLevelEnum level; + public SourceFacebookMarketingInsightConfig withLevel(SourceFacebookMarketingInsightConfigLevelEnum level) { + this.level = level; + return this; + } + + /** + * The name value of insight + */ + @JsonProperty("name") + public String name; + public SourceFacebookMarketingInsightConfig withName(String name) { + this.name = name; + return this; + } + + /** + * The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceFacebookMarketingInsightConfig withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("time_increment") + public Long timeIncrement; + public SourceFacebookMarketingInsightConfig withTimeIncrement(Long timeIncrement) { + this.timeIncrement = timeIncrement; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigLevelEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigLevelEnum.java new file mode 100755 index 000000000..c25fa6c9a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigLevelEnum.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceFacebookMarketingInsightConfigLevelEnum - Chosen level for API + */ +public enum SourceFacebookMarketingInsightConfigLevelEnum { + AD("ad"), + ADSET("adset"), + CAMPAIGN("campaign"), + ACCOUNT("account"); + + @JsonValue + public final String value; + + private SourceFacebookMarketingInsightConfigLevelEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum.java new file mode 100755 index 000000000..9f108f3ac --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum.java @@ -0,0 +1,32 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum - Generic enumeration. + * + * Derive from this class to define new enumerations. + */ +public enum SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum { + ACTION_CANVAS_COMPONENT_NAME("action_canvas_component_name"), + ACTION_CAROUSEL_CARD_ID("action_carousel_card_id"), + ACTION_CAROUSEL_CARD_NAME("action_carousel_card_name"), + ACTION_DESTINATION("action_destination"), + ACTION_DEVICE("action_device"), + ACTION_REACTION("action_reaction"), + ACTION_TARGET_ID("action_target_id"), + ACTION_TYPE("action_type"), + ACTION_VIDEO_SOUND("action_video_sound"), + ACTION_VIDEO_TYPE("action_video_type"); + + @JsonValue + public final String value; + + private SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidBreakdownsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidBreakdownsEnum.java new file mode 100755 index 000000000..74e3b5a99 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidBreakdownsEnum.java @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceFacebookMarketingInsightConfigValidBreakdownsEnum - Generic enumeration. + * + * Derive from this class to define new enumerations. + */ +public enum SourceFacebookMarketingInsightConfigValidBreakdownsEnum { + AD_FORMAT_ASSET("ad_format_asset"), + AGE("age"), + APP_ID("app_id"), + BODY_ASSET("body_asset"), + CALL_TO_ACTION_ASSET("call_to_action_asset"), + COUNTRY("country"), + DESCRIPTION_ASSET("description_asset"), + DEVICE_PLATFORM("device_platform"), + DMA("dma"), + FREQUENCY_VALUE("frequency_value"), + GENDER("gender"), + HOURLY_STATS_AGGREGATED_BY_ADVERTISER_TIME_ZONE("hourly_stats_aggregated_by_advertiser_time_zone"), + HOURLY_STATS_AGGREGATED_BY_AUDIENCE_TIME_ZONE("hourly_stats_aggregated_by_audience_time_zone"), + IMAGE_ASSET("image_asset"), + IMPRESSION_DEVICE("impression_device"), + IS_CONVERSION_ID_MODELED("is_conversion_id_modeled"), + LINK_URL_ASSET("link_url_asset"), + MMM("mmm"), + PLACE_PAGE_ID("place_page_id"), + PLATFORM_POSITION("platform_position"), + PRODUCT_ID("product_id"), + PUBLISHER_PLATFORM("publisher_platform"), + REGION("region"), + SKAN_CAMPAIGN_ID("skan_campaign_id"), + SKAN_CONVERSION_ID("skan_conversion_id"), + TITLE_ASSET("title_asset"), + VIDEO_ASSET("video_asset"); + + @JsonValue + public final String value; + + private SourceFacebookMarketingInsightConfigValidBreakdownsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidEnumsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidEnumsEnum.java new file mode 100755 index 000000000..c8a68f529 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidEnumsEnum.java @@ -0,0 +1,153 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceFacebookMarketingInsightConfigValidEnumsEnum - Generic enumeration. + * + * Derive from this class to define new enumerations. + */ +public enum SourceFacebookMarketingInsightConfigValidEnumsEnum { + ACCOUNT_CURRENCY("account_currency"), + ACCOUNT_ID("account_id"), + ACCOUNT_NAME("account_name"), + ACTION_VALUES("action_values"), + ACTIONS("actions"), + AD_BID_VALUE("ad_bid_value"), + AD_CLICK_ACTIONS("ad_click_actions"), + AD_ID("ad_id"), + AD_IMPRESSION_ACTIONS("ad_impression_actions"), + AD_NAME("ad_name"), + ADSET_BID_VALUE("adset_bid_value"), + ADSET_END("adset_end"), + ADSET_ID("adset_id"), + ADSET_NAME("adset_name"), + ADSET_START("adset_start"), + AGE_TARGETING("age_targeting"), + ATTRIBUTION_SETTING("attribution_setting"), + AUCTION_BID("auction_bid"), + AUCTION_COMPETITIVENESS("auction_competitiveness"), + AUCTION_MAX_COMPETITOR_BID("auction_max_competitor_bid"), + BUYING_TYPE("buying_type"), + CAMPAIGN_ID("campaign_id"), + CAMPAIGN_NAME("campaign_name"), + CANVAS_AVG_VIEW_PERCENT("canvas_avg_view_percent"), + CANVAS_AVG_VIEW_TIME("canvas_avg_view_time"), + CATALOG_SEGMENT_ACTIONS("catalog_segment_actions"), + CATALOG_SEGMENT_VALUE("catalog_segment_value"), + CATALOG_SEGMENT_VALUE_MOBILE_PURCHASE_ROAS("catalog_segment_value_mobile_purchase_roas"), + CATALOG_SEGMENT_VALUE_OMNI_PURCHASE_ROAS("catalog_segment_value_omni_purchase_roas"), + CATALOG_SEGMENT_VALUE_WEBSITE_PURCHASE_ROAS("catalog_segment_value_website_purchase_roas"), + CLICKS("clicks"), + CONVERSION_RATE_RANKING("conversion_rate_ranking"), + CONVERSION_VALUES("conversion_values"), + CONVERSIONS("conversions"), + CONVERTED_PRODUCT_QUANTITY("converted_product_quantity"), + CONVERTED_PRODUCT_VALUE("converted_product_value"), + COST_PER15_SEC_VIDEO_VIEW("cost_per_15_sec_video_view"), + COST_PER2_SEC_CONTINUOUS_VIDEO_VIEW("cost_per_2_sec_continuous_video_view"), + COST_PER_ACTION_TYPE("cost_per_action_type"), + COST_PER_AD_CLICK("cost_per_ad_click"), + COST_PER_CONVERSION("cost_per_conversion"), + COST_PER_DDA_COUNTBY_CONVS("cost_per_dda_countby_convs"), + COST_PER_ESTIMATED_AD_RECALLERS("cost_per_estimated_ad_recallers"), + COST_PER_INLINE_LINK_CLICK("cost_per_inline_link_click"), + COST_PER_INLINE_POST_ENGAGEMENT("cost_per_inline_post_engagement"), + COST_PER_ONE_THOUSAND_AD_IMPRESSION("cost_per_one_thousand_ad_impression"), + COST_PER_OUTBOUND_CLICK("cost_per_outbound_click"), + COST_PER_THRUPLAY("cost_per_thruplay"), + COST_PER_UNIQUE_ACTION_TYPE("cost_per_unique_action_type"), + COST_PER_UNIQUE_CLICK("cost_per_unique_click"), + COST_PER_UNIQUE_CONVERSION("cost_per_unique_conversion"), + COST_PER_UNIQUE_INLINE_LINK_CLICK("cost_per_unique_inline_link_click"), + COST_PER_UNIQUE_OUTBOUND_CLICK("cost_per_unique_outbound_click"), + CPC("cpc"), + CPM("cpm"), + CPP("cpp"), + CREATED_TIME("created_time"), + CTR("ctr"), + DATE_START("date_start"), + DATE_STOP("date_stop"), + DDA_COUNTBY_CONVS("dda_countby_convs"), + DDA_RESULTS("dda_results"), + ENGAGEMENT_RATE_RANKING("engagement_rate_ranking"), + ESTIMATED_AD_RECALL_RATE("estimated_ad_recall_rate"), + ESTIMATED_AD_RECALL_RATE_LOWER_BOUND("estimated_ad_recall_rate_lower_bound"), + ESTIMATED_AD_RECALL_RATE_UPPER_BOUND("estimated_ad_recall_rate_upper_bound"), + ESTIMATED_AD_RECALLERS("estimated_ad_recallers"), + ESTIMATED_AD_RECALLERS_LOWER_BOUND("estimated_ad_recallers_lower_bound"), + ESTIMATED_AD_RECALLERS_UPPER_BOUND("estimated_ad_recallers_upper_bound"), + FREQUENCY("frequency"), + FULL_VIEW_IMPRESSIONS("full_view_impressions"), + FULL_VIEW_REACH("full_view_reach"), + GENDER_TARGETING("gender_targeting"), + IMPRESSIONS("impressions"), + INLINE_LINK_CLICK_CTR("inline_link_click_ctr"), + INLINE_LINK_CLICKS("inline_link_clicks"), + INLINE_POST_ENGAGEMENT("inline_post_engagement"), + INSTANT_EXPERIENCE_CLICKS_TO_OPEN("instant_experience_clicks_to_open"), + INSTANT_EXPERIENCE_CLICKS_TO_START("instant_experience_clicks_to_start"), + INSTANT_EXPERIENCE_OUTBOUND_CLICKS("instant_experience_outbound_clicks"), + INTERACTIVE_COMPONENT_TAP("interactive_component_tap"), + LABELS("labels"), + LOCATION("location"), + MOBILE_APP_PURCHASE_ROAS("mobile_app_purchase_roas"), + OBJECTIVE("objective"), + OPTIMIZATION_GOAL("optimization_goal"), + OUTBOUND_CLICKS("outbound_clicks"), + OUTBOUND_CLICKS_CTR("outbound_clicks_ctr"), + PLACE_PAGE_NAME("place_page_name"), + PURCHASE_ROAS("purchase_roas"), + QUALIFYING_QUESTION_QUALIFY_ANSWER_RATE("qualifying_question_qualify_answer_rate"), + QUALITY_RANKING("quality_ranking"), + QUALITY_SCORE_ECTR("quality_score_ectr"), + QUALITY_SCORE_ECVR("quality_score_ecvr"), + QUALITY_SCORE_ORGANIC("quality_score_organic"), + REACH("reach"), + SOCIAL_SPEND("social_spend"), + SPEND("spend"), + TOTAL_POSTBACKS("total_postbacks"), + TOTAL_POSTBACKS_DETAILED("total_postbacks_detailed"), + UNIQUE_ACTIONS("unique_actions"), + UNIQUE_CLICKS("unique_clicks"), + UNIQUE_CONVERSIONS("unique_conversions"), + UNIQUE_CTR("unique_ctr"), + UNIQUE_INLINE_LINK_CLICK_CTR("unique_inline_link_click_ctr"), + UNIQUE_INLINE_LINK_CLICKS("unique_inline_link_clicks"), + UNIQUE_LINK_CLICKS_CTR("unique_link_clicks_ctr"), + UNIQUE_OUTBOUND_CLICKS("unique_outbound_clicks"), + UNIQUE_OUTBOUND_CLICKS_CTR("unique_outbound_clicks_ctr"), + UNIQUE_VIDEO_CONTINUOUS2_SEC_WATCHED_ACTIONS("unique_video_continuous_2_sec_watched_actions"), + UNIQUE_VIDEO_VIEW15_SEC("unique_video_view_15_sec"), + UPDATED_TIME("updated_time"), + VIDEO15_SEC_WATCHED_ACTIONS("video_15_sec_watched_actions"), + VIDEO30_SEC_WATCHED_ACTIONS("video_30_sec_watched_actions"), + VIDEO_AVG_TIME_WATCHED_ACTIONS("video_avg_time_watched_actions"), + VIDEO_CONTINUOUS2_SEC_WATCHED_ACTIONS("video_continuous_2_sec_watched_actions"), + VIDEO_P100_WATCHED_ACTIONS("video_p100_watched_actions"), + VIDEO_P25_WATCHED_ACTIONS("video_p25_watched_actions"), + VIDEO_P50_WATCHED_ACTIONS("video_p50_watched_actions"), + VIDEO_P75_WATCHED_ACTIONS("video_p75_watched_actions"), + VIDEO_P95_WATCHED_ACTIONS("video_p95_watched_actions"), + VIDEO_PLAY_ACTIONS("video_play_actions"), + VIDEO_PLAY_CURVE_ACTIONS("video_play_curve_actions"), + VIDEO_PLAY_RETENTION0_TO15S_ACTIONS("video_play_retention_0_to_15s_actions"), + VIDEO_PLAY_RETENTION20_TO60S_ACTIONS("video_play_retention_20_to_60s_actions"), + VIDEO_PLAY_RETENTION_GRAPH_ACTIONS("video_play_retention_graph_actions"), + VIDEO_THRUPLAY_WATCHED_ACTIONS("video_thruplay_watched_actions"), + VIDEO_TIME_WATCHED_ACTIONS("video_time_watched_actions"), + WEBSITE_CTR("website_ctr"), + WEBSITE_PURCHASE_ROAS("website_purchase_roas"), + WISH_BID("wish_bid"); + + @JsonValue + public final String value; + + private SourceFacebookMarketingInsightConfigValidEnumsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookPages.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookPages.java new file mode 100755 index 000000000..dcc2689d7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookPages.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFacebookPages - The values required to configure the source. + */ +public class SourceFacebookPages { + /** + * Facebook Page Access Token + */ + @JsonProperty("access_token") + public String accessToken; + public SourceFacebookPages withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Page ID + */ + @JsonProperty("page_id") + public String pageId; + public SourceFacebookPages withPageId(String pageId) { + this.pageId = pageId; + return this; + } + + @JsonProperty("sourceType") + public SourceFacebookPagesFacebookPagesEnum sourceType; + public SourceFacebookPages withSourceType(SourceFacebookPagesFacebookPagesEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookPagesFacebookPagesEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookPagesFacebookPagesEnum.java new file mode 100755 index 000000000..bf8f8e2c1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookPagesFacebookPagesEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFacebookPagesFacebookPagesEnum { + FACEBOOK_PAGES("facebook-pages"); + + @JsonValue + public final String value; + + private SourceFacebookPagesFacebookPagesEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFaker.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaker.java new file mode 100755 index 000000000..fee7e6d52 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaker.java @@ -0,0 +1,76 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFaker - The values required to configure the source. + */ +public class SourceFaker { + /** + * How many users should be generated in total. This setting does not apply to the purchases or products stream. + */ + @JsonProperty("count") + public Long count; + public SourceFaker withCount(Long count) { + this.count = count; + return this; + } + + /** + * 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") + public Long parallelism; + public SourceFaker withParallelism(Long parallelism) { + this.parallelism = parallelism; + return this; + } + + /** + * 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") + public Long recordsPerSlice; + public SourceFaker withRecordsPerSlice(Long recordsPerSlice) { + this.recordsPerSlice = recordsPerSlice; + return this; + } + + /** + * How many fake records will be returned for each sync, for each stream? By default, it will take 2 syncs to create the requested 1000 records. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("records_per_sync") + public Long recordsPerSync; + public SourceFaker withRecordsPerSync(Long recordsPerSync) { + this.recordsPerSync = recordsPerSync; + return this; + } + + /** + * Manually control the faker random seed to return the same values on subsequent runs (leave -1 for random) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seed") + public Long seed; + public SourceFaker withSeed(Long seed) { + this.seed = seed; + return this; + } + + @JsonProperty("sourceType") + public SourceFakerFakerEnum sourceType; + public SourceFaker withSourceType(SourceFakerFakerEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequestActorTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFakerFakerEnum.java similarity index 51% rename from lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequestActorTypeEnum.java rename to lib/src/main/java/com/airbyte/api/models/shared/SourceFakerFakerEnum.java index 6418e3627..10934a5b5 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequestActorTypeEnum.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFakerFakerEnum.java @@ -6,17 +6,13 @@ import com.fasterxml.jackson.annotation.JsonValue; -/** - * WorkspaceOAuthCredentialsRequestActorTypeEnum - Whether you're setting this override for a source or destination - */ -public enum WorkspaceOAuthCredentialsRequestActorTypeEnum { - SOURCE("source"), - DESTINATION("destination"); +public enum SourceFakerFakerEnum { + FAKER("faker"); @JsonValue public final String value; - private WorkspaceOAuthCredentialsRequestActorTypeEnum(String value) { + private SourceFakerFakerEnum(String value) { this.value = value; } } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFauna.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFauna.java new file mode 100755 index 000000000..c0f141a9f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFauna.java @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFauna - The values required to configure the source. + */ +public class SourceFauna { + /** + * Settings for the Fauna Collection. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("collection") + public SourceFaunaCollection collection; + public SourceFauna withCollection(SourceFaunaCollection collection) { + this.collection = collection; + return this; + } + + /** + * 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>. + */ + @JsonProperty("domain") + public String domain; + public SourceFauna withDomain(String domain) { + this.domain = domain; + return this; + } + + /** + * Endpoint port. + */ + @JsonProperty("port") + public Long port; + public SourceFauna withPort(Long port) { + this.port = port; + return this; + } + + /** + * URL scheme. + */ + @JsonProperty("scheme") + public String scheme; + public SourceFauna withScheme(String scheme) { + this.scheme = scheme; + return this; + } + + /** + * Fauna secret, used when authenticating with the database. + */ + @JsonProperty("secret") + public String secret; + public SourceFauna withSecret(String secret) { + this.secret = secret; + return this; + } + + @JsonProperty("sourceType") + public SourceFaunaFaunaEnum sourceType; + public SourceFauna withSourceType(SourceFaunaFaunaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollection.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollection.java new file mode 100755 index 000000000..c3423b6b9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollection.java @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFaunaCollection - Settings for the Fauna Collection. + */ +public class SourceFaunaCollection { + /** + * <b>This only applies to incremental syncs.</b> <br> + * Enabling deletion mode informs your destination of deleted documents.<br> + * Disabled - Leave this feature disabled, and ignore deleted documents.<br> + * 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. + */ + @JsonProperty("deletions") + public Object deletions; + public SourceFaunaCollection withDeletions(Object deletions) { + this.deletions = deletions; + return this; + } + + /** + * 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. <br> + * 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>. + */ + @JsonProperty("page_size") + public Long pageSize; + public SourceFaunaCollection withPageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsDisabled.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsDisabled.java new file mode 100755 index 000000000..7eae5ab27 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsDisabled.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFaunaCollectionDeletionsDisabled - <b>This only applies to incremental syncs.</b> <br> + * Enabling deletion mode informs your destination of deleted documents.<br> + * Disabled - Leave this feature disabled, and ignore deleted documents.<br> + * 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. + */ +public class SourceFaunaCollectionDeletionsDisabled { + @JsonProperty("deletion_mode") + public SourceFaunaCollectionDeletionsDisabledDeletionModeEnum deletionMode; + public SourceFaunaCollectionDeletionsDisabled withDeletionMode(SourceFaunaCollectionDeletionsDisabledDeletionModeEnum deletionMode) { + this.deletionMode = deletionMode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsDisabledDeletionModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsDisabledDeletionModeEnum.java new file mode 100755 index 000000000..56bbb938b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsDisabledDeletionModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFaunaCollectionDeletionsDisabledDeletionModeEnum { + IGNORE("ignore"); + + @JsonValue + public final String value; + + private SourceFaunaCollectionDeletionsDisabledDeletionModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsEnabled.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsEnabled.java new file mode 100755 index 000000000..11c982346 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsEnabled.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFaunaCollectionDeletionsEnabled - <b>This only applies to incremental syncs.</b> <br> + * Enabling deletion mode informs your destination of deleted documents.<br> + * Disabled - Leave this feature disabled, and ignore deleted documents.<br> + * 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. + */ +public class SourceFaunaCollectionDeletionsEnabled { + /** + * Name of the "deleted at" column. + */ + @JsonProperty("column") + public String column; + public SourceFaunaCollectionDeletionsEnabled withColumn(String column) { + this.column = column; + return this; + } + + @JsonProperty("deletion_mode") + public SourceFaunaCollectionDeletionsEnabledDeletionModeEnum deletionMode; + public SourceFaunaCollectionDeletionsEnabled withDeletionMode(SourceFaunaCollectionDeletionsEnabledDeletionModeEnum deletionMode) { + this.deletionMode = deletionMode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsEnabledDeletionModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsEnabledDeletionModeEnum.java new file mode 100755 index 000000000..3d404320a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaCollectionDeletionsEnabledDeletionModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFaunaCollectionDeletionsEnabledDeletionModeEnum { + DELETED_FIELD("deleted_field"); + + @JsonValue + public final String value; + + private SourceFaunaCollectionDeletionsEnabledDeletionModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaFaunaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaFaunaEnum.java new file mode 100755 index 000000000..1d5524ddf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFaunaFaunaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFaunaFaunaEnum { + FAUNA("fauna"); + + @JsonValue + public final String value; + + private SourceFaunaFaunaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecure.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecure.java new file mode 100755 index 000000000..bf7d5a120 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecure.java @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFileSecure - The values required to configure the source. + */ +public class SourceFileSecure { + /** + * The Name of the final table to replicate this file into (should include letters, numbers dash and underscores only). + */ + @JsonProperty("dataset_name") + public String datasetName; + public SourceFileSecure withDatasetName(String datasetName) { + this.datasetName = datasetName; + return this; + } + + /** + * The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). + */ + @JsonProperty("format") + public SourceFileSecureFileFormatEnum format; + public SourceFileSecure withFormat(SourceFileSecureFileFormatEnum format) { + this.format = format; + return this; + } + + /** + * The storage Provider or Location of the file(s) which should be replicated. + */ + @JsonProperty("provider") + public Object provider; + public SourceFileSecure withProvider(Object provider) { + this.provider = provider; + return this; + } + + /** + * This should be a string in JSON format. It depends on the chosen file format to provide additional options and tune its behavior. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("reader_options") + public String readerOptions; + public SourceFileSecure withReaderOptions(String readerOptions) { + this.readerOptions = readerOptions; + return this; + } + + @JsonProperty("sourceType") + public SourceFileSecureFileSecureEnum sourceType; + public SourceFileSecure withSourceType(SourceFileSecureFileSecureEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The URL path to access the file which should be replicated. + */ + @JsonProperty("url") + public String url; + public SourceFileSecure withUrl(String url) { + this.url = url; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureFileFormatEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureFileFormatEnum.java new file mode 100755 index 000000000..f31585b5c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureFileFormatEnum.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceFileSecureFileFormatEnum - The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). + */ +public enum SourceFileSecureFileFormatEnum { + CSV("csv"), + JSON("json"), + JSONL("jsonl"), + EXCEL("excel"), + EXCEL_BINARY("excel_binary"), + FEATHER("feather"), + PARQUET("parquet"), + YAML("yaml"); + + @JsonValue + public final String value; + + private SourceFileSecureFileFormatEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureFileSecureEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureFileSecureEnum.java new file mode 100755 index 000000000..1df03e024 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureFileSecureEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFileSecureFileSecureEnum { + FILE_SECURE("file-secure"); + + @JsonValue + public final String value; + + private SourceFileSecureFileSecureEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderAzBlobAzureBlobStorage.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderAzBlobAzureBlobStorage.java new file mode 100755 index 000000000..c1e5837e1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderAzBlobAzureBlobStorage.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFileSecureProviderAzBlobAzureBlobStorage - The storage Provider or Location of the file(s) which should be replicated. + */ +public class SourceFileSecureProviderAzBlobAzureBlobStorage { + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sas_token") + public String sasToken; + public SourceFileSecureProviderAzBlobAzureBlobStorage withSasToken(String sasToken) { + this.sasToken = sasToken; + return this; + } + + /** + * 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") + public String sharedKey; + public SourceFileSecureProviderAzBlobAzureBlobStorage withSharedKey(String sharedKey) { + this.sharedKey = sharedKey; + return this; + } + + @JsonProperty("storage") + public SourceFileSecureProviderAzBlobAzureBlobStorageStorageEnum storage; + public SourceFileSecureProviderAzBlobAzureBlobStorage withStorage(SourceFileSecureProviderAzBlobAzureBlobStorageStorageEnum storage) { + this.storage = storage; + return this; + } + + /** + * The globally unique name of the storage account that the desired blob sits within. See <a href="https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview" target="_blank">here</a> for more details. + */ + @JsonProperty("storage_account") + public String storageAccount; + public SourceFileSecureProviderAzBlobAzureBlobStorage withStorageAccount(String storageAccount) { + this.storageAccount = storageAccount; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderAzBlobAzureBlobStorageStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderAzBlobAzureBlobStorageStorageEnum.java new file mode 100755 index 000000000..13da8fa58 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderAzBlobAzureBlobStorageStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFileSecureProviderAzBlobAzureBlobStorageStorageEnum { + AZ_BLOB("AzBlob"); + + @JsonValue + public final String value; + + private SourceFileSecureProviderAzBlobAzureBlobStorageStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderGCSGoogleCloudStorage.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderGCSGoogleCloudStorage.java new file mode 100755 index 000000000..f6d35a754 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderGCSGoogleCloudStorage.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFileSecureProviderGCSGoogleCloudStorage - The storage Provider or Location of the file(s) which should be replicated. + */ +public class SourceFileSecureProviderGCSGoogleCloudStorage { + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("service_account_json") + public String serviceAccountJson; + public SourceFileSecureProviderGCSGoogleCloudStorage withServiceAccountJson(String serviceAccountJson) { + this.serviceAccountJson = serviceAccountJson; + return this; + } + + @JsonProperty("storage") + public SourceFileSecureProviderGCSGoogleCloudStorageStorageEnum storage; + public SourceFileSecureProviderGCSGoogleCloudStorage withStorage(SourceFileSecureProviderGCSGoogleCloudStorageStorageEnum storage) { + this.storage = storage; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderGCSGoogleCloudStorageStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderGCSGoogleCloudStorageStorageEnum.java new file mode 100755 index 000000000..ab53ec27a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderGCSGoogleCloudStorageStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFileSecureProviderGCSGoogleCloudStorageStorageEnum { + GCS("GCS"); + + @JsonValue + public final String value; + + private SourceFileSecureProviderGCSGoogleCloudStorageStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderHTTPSPublicWeb.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderHTTPSPublicWeb.java new file mode 100755 index 000000000..ac806e450 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderHTTPSPublicWeb.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFileSecureProviderHTTPSPublicWeb - The storage Provider or Location of the file(s) which should be replicated. + */ +public class SourceFileSecureProviderHTTPSPublicWeb { + @JsonProperty("storage") + public SourceFileSecureProviderHTTPSPublicWebStorageEnum storage; + public SourceFileSecureProviderHTTPSPublicWeb withStorage(SourceFileSecureProviderHTTPSPublicWebStorageEnum storage) { + this.storage = storage; + return this; + } + + /** + * Add User-Agent to request + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("user_agent") + public Boolean userAgent; + public SourceFileSecureProviderHTTPSPublicWeb withUserAgent(Boolean userAgent) { + this.userAgent = userAgent; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderHTTPSPublicWebStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderHTTPSPublicWebStorageEnum.java new file mode 100755 index 000000000..0af153f77 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderHTTPSPublicWebStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFileSecureProviderHTTPSPublicWebStorageEnum { + HTTPS("HTTPS"); + + @JsonValue + public final String value; + + private SourceFileSecureProviderHTTPSPublicWebStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderS3AmazonWebServices.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderS3AmazonWebServices.java new file mode 100755 index 000000000..20bdab626 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderS3AmazonWebServices.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFileSecureProviderS3AmazonWebServices - The storage Provider or Location of the file(s) which should be replicated. + */ +public class SourceFileSecureProviderS3AmazonWebServices { + /** + * 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_access_key_id") + public String awsAccessKeyId; + public SourceFileSecureProviderS3AmazonWebServices withAwsAccessKeyId(String awsAccessKeyId) { + this.awsAccessKeyId = awsAccessKeyId; + return this; + } + + /** + * 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") + public String awsSecretAccessKey; + public SourceFileSecureProviderS3AmazonWebServices withAwsSecretAccessKey(String awsSecretAccessKey) { + this.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + + @JsonProperty("storage") + public SourceFileSecureProviderS3AmazonWebServicesStorageEnum storage; + public SourceFileSecureProviderS3AmazonWebServices withStorage(SourceFileSecureProviderS3AmazonWebServicesStorageEnum storage) { + this.storage = storage; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderS3AmazonWebServicesStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderS3AmazonWebServicesStorageEnum.java new file mode 100755 index 000000000..5ca3c804b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderS3AmazonWebServicesStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFileSecureProviderS3AmazonWebServicesStorageEnum { + S3("S3"); + + @JsonValue + public final String value; + + private SourceFileSecureProviderS3AmazonWebServicesStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSCPSecureCopyProtocol.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSCPSecureCopyProtocol.java new file mode 100755 index 000000000..b4fd5c5c6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSCPSecureCopyProtocol.java @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFileSecureProviderSCPSecureCopyProtocol - The storage Provider or Location of the file(s) which should be replicated. + */ +public class SourceFileSecureProviderSCPSecureCopyProtocol { + @JsonProperty("host") + public String host; + public SourceFileSecureProviderSCPSecureCopyProtocol withHost(String host) { + this.host = host; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceFileSecureProviderSCPSecureCopyProtocol withPassword(String password) { + this.password = password; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("port") + public String port; + public SourceFileSecureProviderSCPSecureCopyProtocol withPort(String port) { + this.port = port; + return this; + } + + @JsonProperty("storage") + public SourceFileSecureProviderSCPSecureCopyProtocolStorageEnum storage; + public SourceFileSecureProviderSCPSecureCopyProtocol withStorage(SourceFileSecureProviderSCPSecureCopyProtocolStorageEnum storage) { + this.storage = storage; + return this; + } + + @JsonProperty("user") + public String user; + public SourceFileSecureProviderSCPSecureCopyProtocol withUser(String user) { + this.user = user; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSCPSecureCopyProtocolStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSCPSecureCopyProtocolStorageEnum.java new file mode 100755 index 000000000..d5b03f3c4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSCPSecureCopyProtocolStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFileSecureProviderSCPSecureCopyProtocolStorageEnum { + SCP("SCP"); + + @JsonValue + public final String value; + + private SourceFileSecureProviderSCPSecureCopyProtocolStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSFTPSecureFileTransferProtocol.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSFTPSecureFileTransferProtocol.java new file mode 100755 index 000000000..62f0fe835 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSFTPSecureFileTransferProtocol.java @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFileSecureProviderSFTPSecureFileTransferProtocol - The storage Provider or Location of the file(s) which should be replicated. + */ +public class SourceFileSecureProviderSFTPSecureFileTransferProtocol { + @JsonProperty("host") + public String host; + public SourceFileSecureProviderSFTPSecureFileTransferProtocol withHost(String host) { + this.host = host; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceFileSecureProviderSFTPSecureFileTransferProtocol withPassword(String password) { + this.password = password; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("port") + public String port; + public SourceFileSecureProviderSFTPSecureFileTransferProtocol withPort(String port) { + this.port = port; + return this; + } + + @JsonProperty("storage") + public SourceFileSecureProviderSFTPSecureFileTransferProtocolStorageEnum storage; + public SourceFileSecureProviderSFTPSecureFileTransferProtocol withStorage(SourceFileSecureProviderSFTPSecureFileTransferProtocolStorageEnum storage) { + this.storage = storage; + return this; + } + + @JsonProperty("user") + public String user; + public SourceFileSecureProviderSFTPSecureFileTransferProtocol withUser(String user) { + this.user = user; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSFTPSecureFileTransferProtocolStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSFTPSecureFileTransferProtocolStorageEnum.java new file mode 100755 index 000000000..6bcd47815 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSFTPSecureFileTransferProtocolStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFileSecureProviderSFTPSecureFileTransferProtocolStorageEnum { + SFTP("SFTP"); + + @JsonValue + public final String value; + + private SourceFileSecureProviderSFTPSecureFileTransferProtocolStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSSHSecureShell.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSSHSecureShell.java new file mode 100755 index 000000000..b50726ca1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSSHSecureShell.java @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFileSecureProviderSSHSecureShell - The storage Provider or Location of the file(s) which should be replicated. + */ +public class SourceFileSecureProviderSSHSecureShell { + @JsonProperty("host") + public String host; + public SourceFileSecureProviderSSHSecureShell withHost(String host) { + this.host = host; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceFileSecureProviderSSHSecureShell withPassword(String password) { + this.password = password; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("port") + public String port; + public SourceFileSecureProviderSSHSecureShell withPort(String port) { + this.port = port; + return this; + } + + @JsonProperty("storage") + public SourceFileSecureProviderSSHSecureShellStorageEnum storage; + public SourceFileSecureProviderSSHSecureShell withStorage(SourceFileSecureProviderSSHSecureShellStorageEnum storage) { + this.storage = storage; + return this; + } + + @JsonProperty("user") + public String user; + public SourceFileSecureProviderSSHSecureShell withUser(String user) { + this.user = user; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSSHSecureShellStorageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSSHSecureShellStorageEnum.java new file mode 100755 index 000000000..c9a82ce7a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFileSecureProviderSSHSecureShellStorageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFileSecureProviderSSHSecureShellStorageEnum { + SSH("SSH"); + + @JsonValue + public final String value; + + private SourceFileSecureProviderSSHSecureShellStorageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java new file mode 100755 index 000000000..60213ee58 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java @@ -0,0 +1,85 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFirebolt - The values required to configure the source. + */ +public class SourceFirebolt { + /** + * Firebolt account to login. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("account") + public String account; + public SourceFirebolt withAccount(String account) { + this.account = account; + return this; + } + + /** + * The database to connect to. + */ + @JsonProperty("database") + public String database; + public SourceFirebolt withDatabase(String database) { + this.database = database; + return this; + } + + /** + * Engine name or url to connect to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("engine") + public String engine; + public SourceFirebolt withEngine(String engine) { + this.engine = engine; + return this; + } + + /** + * The host name of your Firebolt database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("host") + public String host; + public SourceFirebolt withHost(String host) { + this.host = host; + return this; + } + + /** + * Firebolt password. + */ + @JsonProperty("password") + public String password; + public SourceFirebolt withPassword(String password) { + this.password = password; + return this; + } + + @JsonProperty("sourceType") + public SourceFireboltFireboltEnum sourceType; + public SourceFirebolt withSourceType(SourceFireboltFireboltEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Firebolt email address you use to login. + */ + @JsonProperty("username") + public String username; + public SourceFirebolt withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFireboltFireboltEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFireboltFireboltEnum.java new file mode 100755 index 000000000..8bfe5aaac --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFireboltFireboltEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFireboltFireboltEnum { + FIREBOLT("firebolt"); + + @JsonValue + public final String value; + + private SourceFireboltFireboltEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java new file mode 100755 index 000000000..a0e2ddd32 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFreshcaller - The values required to configure the source. + */ +public class SourceFreshcaller { + /** + * Freshcaller API Key. See the <a href="https://docs.airbyte.io/integrations/sources/freshcaller">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceFreshcaller withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Used to construct Base URL for the Freshcaller APIs + */ + @JsonProperty("domain") + public String domain; + public SourceFreshcaller withDomain(String domain) { + this.domain = domain; + return this; + } + + /** + * 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") + public Long requestsPerMinute; + public SourceFreshcaller withRequestsPerMinute(Long requestsPerMinute) { + this.requestsPerMinute = requestsPerMinute; + return this; + } + + @JsonProperty("sourceType") + public SourceFreshcallerFreshcallerEnum sourceType; + public SourceFreshcaller withSourceType(SourceFreshcallerFreshcallerEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time. Any data created after this date will be replicated. + */ + @JsonProperty("start_date") + public Object startDate; + public SourceFreshcaller withStartDate(Object startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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") + public Long syncLagMinutes; + public SourceFreshcaller withSyncLagMinutes(Long syncLagMinutes) { + this.syncLagMinutes = syncLagMinutes; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshcallerFreshcallerEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshcallerFreshcallerEnum.java new file mode 100755 index 000000000..d9f0cf1d6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshcallerFreshcallerEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFreshcallerFreshcallerEnum { + FRESHCALLER("freshcaller"); + + @JsonValue + public final String value; + + private SourceFreshcallerFreshcallerEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java new file mode 100755 index 000000000..28a77cf56 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java @@ -0,0 +1,71 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceFreshdesk - The values required to configure the source. + */ +public class SourceFreshdesk { + /** + * Freshdesk API Key. See the <a href="https://docs.airbyte.com/integrations/sources/freshdesk">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceFreshdesk withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Freshdesk domain + */ + @JsonProperty("domain") + public String domain; + public SourceFreshdesk withDomain(String domain) { + this.domain = domain; + return this; + } + + /** + * 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") + public Long requestsPerMinute; + public SourceFreshdesk withRequestsPerMinute(Long requestsPerMinute) { + this.requestsPerMinute = requestsPerMinute; + return this; + } + + @JsonProperty("sourceType") + public SourceFreshdeskFreshdeskEnum sourceType; + public SourceFreshdesk withSourceType(SourceFreshdeskFreshdeskEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time. Any data created after this date will be replicated. If this parameter is not set, all data will be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceFreshdesk withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdeskFreshdeskEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdeskFreshdeskEnum.java new file mode 100755 index 000000000..21c0b4818 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdeskFreshdeskEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFreshdeskFreshdeskEnum { + FRESHDESK("freshdesk"); + + @JsonValue + public final String value; + + private SourceFreshdeskFreshdeskEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java new file mode 100755 index 000000000..c7b2fac5e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFreshsales - The values required to configure the source. + */ +public class SourceFreshsales { + /** + * Freshsales API Key. See <a href="https://crmsupport.freshworks.com/support/solutions/articles/50000002503-how-to-find-my-api-key-">here</a>. The key is case sensitive. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceFreshsales withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * The Name of your Freshsales domain + */ + @JsonProperty("domain_name") + public String domainName; + public SourceFreshsales withDomainName(String domainName) { + this.domainName = domainName; + return this; + } + + @JsonProperty("sourceType") + public SourceFreshsalesFreshsalesEnum sourceType; + public SourceFreshsales withSourceType(SourceFreshsalesFreshsalesEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsalesFreshsalesEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsalesFreshsalesEnum.java new file mode 100755 index 000000000..1d7590a12 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsalesFreshsalesEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFreshsalesFreshsalesEnum { + FRESHSALES("freshsales"); + + @JsonValue + public final String value; + + private SourceFreshsalesFreshsalesEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGcs.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGcs.java new file mode 100755 index 000000000..513e597c9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGcs.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGcs - The values required to configure the source. + */ +public class SourceGcs { + /** + * GCS bucket name + */ + @JsonProperty("gcs_bucket") + public String gcsBucket; + public SourceGcs withGcsBucket(String gcsBucket) { + this.gcsBucket = gcsBucket; + return this; + } + + /** + * GCS path to data + */ + @JsonProperty("gcs_path") + public String gcsPath; + public SourceGcs withGcsPath(String gcsPath) { + this.gcsPath = gcsPath; + return this; + } + + /** + * 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") + public String serviceAccount; + public SourceGcs withServiceAccount(String serviceAccount) { + this.serviceAccount = serviceAccount; + return this; + } + + @JsonProperty("sourceType") + public SourceGcsGcsEnum sourceType; + public SourceGcs withSourceType(SourceGcsGcsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGcsGcsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGcsGcsEnum.java new file mode 100755 index 000000000..ba49a1dd2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGcsGcsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGcsGcsEnum { + GCS("gcs"); + + @JsonValue + public final String value; + + private SourceGcsGcsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGetlago.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGetlago.java new file mode 100755 index 000000000..27852d945 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGetlago.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGetlago - The values required to configure the source. + */ +public class SourceGetlago { + /** + * Your API Key. See <a href="https://doc.getlago.com/docs/api/intro">here</a>. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceGetlago withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceGetlagoGetlagoEnum sourceType; + public SourceGetlago withSourceType(SourceGetlagoGetlagoEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGetlagoGetlagoEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGetlagoGetlagoEnum.java new file mode 100755 index 000000000..53fea55cc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGetlagoGetlagoEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGetlagoGetlagoEnum { + GETLAGO("getlago"); + + @JsonValue + public final String value; + + private SourceGetlagoGetlagoEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGithub.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithub.java new file mode 100755 index 000000000..982cd219b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithub.java @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceGithub - The values required to configure the source. + */ +public class SourceGithub { + /** + * Space-delimited 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("branch") + public String branch; + public SourceGithub withBranch(String branch) { + this.branch = branch; + return this; + } + + /** + * Choose how to authenticate to GitHub + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceGithub withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * The Github connector contains several streams with a large amount of data. The page size of such streams depends on the size of your repository. We recommended that you specify values between 10 and 30. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("page_size_for_large_streams") + public Long pageSizeForLargeStreams; + public SourceGithub withPageSizeForLargeStreams(Long pageSizeForLargeStreams) { + this.pageSizeForLargeStreams = pageSizeForLargeStreams; + return this; + } + + /** + * Space-delimited list of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/airbyte airbytehq/another-repo` for multiple repositories. + */ + @JsonProperty("repository") + public String repository; + public SourceGithub withRepository(String repository) { + this.repository = repository; + return this; + } + + @JsonProperty("sourceType") + public SourceGithubGithubEnum sourceType; + public SourceGithub withSourceType(SourceGithubGithubEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate data from GitHub in the format YYYY-MM-DDT00:00:00Z. 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 + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceGithub withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsOAuth.java new file mode 100755 index 000000000..2506f6661 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsOAuth.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGithubCredentialsOAuth - Choose how to authenticate to GitHub + */ +public class SourceGithubCredentialsOAuth { + /** + * OAuth access token + */ + @JsonProperty("access_token") + public String accessToken; + public SourceGithubCredentialsOAuth withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("option_title") + public SourceGithubCredentialsOAuthOptionTitleEnum optionTitle; + public SourceGithubCredentialsOAuth withOptionTitle(SourceGithubCredentialsOAuthOptionTitleEnum optionTitle) { + this.optionTitle = optionTitle; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsOAuthOptionTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsOAuthOptionTitleEnum.java new file mode 100755 index 000000000..11a2f1f1b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsOAuthOptionTitleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGithubCredentialsOAuthOptionTitleEnum { + O_AUTH_CREDENTIALS("OAuth Credentials"); + + @JsonValue + public final String value; + + private SourceGithubCredentialsOAuthOptionTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsPersonalAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsPersonalAccessToken.java new file mode 100755 index 000000000..5445fe2aa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsPersonalAccessToken.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGithubCredentialsPersonalAccessToken - Choose how to authenticate to GitHub + */ +public class SourceGithubCredentialsPersonalAccessToken { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("option_title") + public SourceGithubCredentialsPersonalAccessTokenOptionTitleEnum optionTitle; + public SourceGithubCredentialsPersonalAccessToken withOptionTitle(SourceGithubCredentialsPersonalAccessTokenOptionTitleEnum optionTitle) { + this.optionTitle = optionTitle; + return this; + } + + /** + * Log into GitHub and then generate a <a href="https://github.com/settings/tokens">personal access token</a>. To load balance your API quota consumption across multiple API tokens, input multiple tokens separated with "," + */ + @JsonProperty("personal_access_token") + public String personalAccessToken; + public SourceGithubCredentialsPersonalAccessToken withPersonalAccessToken(String personalAccessToken) { + this.personalAccessToken = personalAccessToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsPersonalAccessTokenOptionTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsPersonalAccessTokenOptionTitleEnum.java new file mode 100755 index 000000000..2d015d833 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubCredentialsPersonalAccessTokenOptionTitleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGithubCredentialsPersonalAccessTokenOptionTitleEnum { + PAT_CREDENTIALS("PAT Credentials"); + + @JsonValue + public final String value; + + private SourceGithubCredentialsPersonalAccessTokenOptionTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubGithubEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubGithubEnum.java new file mode 100755 index 000000000..fadbb524c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithubGithubEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGithubGithubEnum { + GITHUB("github"); + + @JsonValue + public final String value; + + private SourceGithubGithubEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlab.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlab.java new file mode 100755 index 000000000..79eb2c637 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlab.java @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceGitlab - The values required to configure the source. + */ +public class SourceGitlab { + /** + * Please enter your basic URL from GitLab instance. + */ + @JsonProperty("api_url") + public String apiUrl; + public SourceGitlab withApiUrl(String apiUrl) { + this.apiUrl = apiUrl; + return this; + } + + @JsonProperty("credentials") + public Object credentials; + public SourceGitlab withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * Space-delimited list of groups. e.g. airbyte.io. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("groups") + public String groups; + public SourceGitlab withGroups(String groups) { + this.groups = groups; + return this; + } + + /** + * Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("projects") + public String projects; + public SourceGitlab withProjects(String projects) { + this.projects = projects; + return this; + } + + @JsonProperty("sourceType") + public SourceGitlabGitlabEnum sourceType; + public SourceGitlab withSourceType(SourceGitlabGitlabEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate data for GitLab API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceGitlab withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsOAuth20.java new file mode 100755 index 000000000..937515fb5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsOAuth20.java @@ -0,0 +1,77 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +public class SourceGitlabCredentialsOAuth20 { + /** + * Access Token for making authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceGitlabCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceGitlabCredentialsOAuth20AuthTypeEnum authType; + public SourceGitlabCredentialsOAuth20 withAuthType(SourceGitlabCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The API ID of the Gitlab developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceGitlabCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The API Secret the Gitlab developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceGitlabCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The key to refresh the expired access_token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceGitlabCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("token_expiry_date") + public OffsetDateTime tokenExpiryDate; + public SourceGitlabCredentialsOAuth20 withTokenExpiryDate(OffsetDateTime tokenExpiryDate) { + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..67eb70b49 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGitlabCredentialsOAuth20AuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceGitlabCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsPrivateToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsPrivateToken.java new file mode 100755 index 000000000..c9ea22fa0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsPrivateToken.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceGitlabCredentialsPrivateToken { + /** + * Log into your Gitlab account and then generate a personal Access Token. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceGitlabCredentialsPrivateToken withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceGitlabCredentialsPrivateTokenAuthTypeEnum authType; + public SourceGitlabCredentialsPrivateToken withAuthType(SourceGitlabCredentialsPrivateTokenAuthTypeEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsPrivateTokenAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsPrivateTokenAuthTypeEnum.java new file mode 100755 index 000000000..6fbd711f2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabCredentialsPrivateTokenAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGitlabCredentialsPrivateTokenAuthTypeEnum { + ACCESS_TOKEN("access_token"); + + @JsonValue + public final String value; + + private SourceGitlabCredentialsPrivateTokenAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlabEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlabEnum.java new file mode 100755 index 000000000..995804620 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlabEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGitlabGitlabEnum { + GITLAB("gitlab"); + + @JsonValue + public final String value; + + private SourceGitlabGitlabEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java new file mode 100755 index 000000000..84872e496 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGlassfrog - The values required to configure the source. + */ +public class SourceGlassfrog { + /** + * API key provided by Glassfrog + */ + @JsonProperty("api_key") + public String apiKey; + public SourceGlassfrog withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceGlassfrogGlassfrogEnum sourceType; + public SourceGlassfrog withSourceType(SourceGlassfrogGlassfrogEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGlassfrogGlassfrogEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGlassfrogGlassfrogEnum.java new file mode 100755 index 000000000..16bad2495 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGlassfrogGlassfrogEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGlassfrogGlassfrogEnum { + GLASSFROG("glassfrog"); + + @JsonValue + public final String value; + + private SourceGlassfrogGlassfrogEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGnews.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnews.java new file mode 100755 index 000000000..b89ca8b6c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnews.java @@ -0,0 +1,166 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGnews - The values required to configure the source. + */ +public class SourceGnews { + /** + * API Key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceGnews withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + public SourceGnewsCountryEnum country; + public SourceGnews withCountry(SourceGnewsCountryEnum country) { + this.country = country; + return this; + } + + /** + * 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") + public String endDate; + public SourceGnews withEndDate(String endDate) { + this.endDate = endDate; + return this; + } + + /** + * 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") + public SourceGnewsInEnum[] in; + public SourceGnews withIn(SourceGnewsInEnum[] in) { + this.in = in; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("language") + public SourceGnewsLanguageEnum language; + public SourceGnews withLanguage(SourceGnewsLanguageEnum language) { + this.language = language; + return this; + } + + /** + * 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") + public SourceGnewsNullableEnum[] nullable; + public SourceGnews withNullable(SourceGnewsNullableEnum[] nullable) { + this.nullable = nullable; + return this; + } + + /** + * 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 + */ + @JsonProperty("query") + public String query; + public SourceGnews withQuery(String query) { + this.query = query; + return this; + } + + /** + * 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 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sortby") + public SourceGnewsSortByEnum sortby; + public SourceGnews withSortby(SourceGnewsSortByEnum sortby) { + this.sortby = sortby; + return this; + } + + @JsonProperty("sourceType") + public SourceGnewsGnewsEnum sourceType; + public SourceGnews withSourceType(SourceGnewsGnewsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + public String startDate; + public SourceGnews withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("top_headlines_query") + public String topHeadlinesQuery; + public SourceGnews withTopHeadlinesQuery(String topHeadlinesQuery) { + this.topHeadlinesQuery = topHeadlinesQuery; + return this; + } + + /** + * This parameter allows you to change the category for the request. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("top_headlines_topic") + public SourceGnewsTopHeadlinesTopicEnum topHeadlinesTopic; + public SourceGnews withTopHeadlinesTopic(SourceGnewsTopHeadlinesTopicEnum topHeadlinesTopic) { + this.topHeadlinesTopic = topHeadlinesTopic; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsCountryEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsCountryEnum.java new file mode 100755 index 000000000..c4637506b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsCountryEnum.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceGnewsCountryEnum - 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 SourceGnewsCountryEnum { + 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 + public final String value; + + private SourceGnewsCountryEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsGnewsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsGnewsEnum.java new file mode 100755 index 000000000..2a012e2de --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsGnewsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGnewsGnewsEnum { + GNEWS("gnews"); + + @JsonValue + public final String value; + + private SourceGnewsGnewsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsInEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsInEnum.java new file mode 100755 index 000000000..52a93f93c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsInEnum.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGnewsInEnum { + TITLE("title"), + DESCRIPTION("description"), + CONTENT("content"); + + @JsonValue + public final String value; + + private SourceGnewsInEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguageEnum.java new file mode 100755 index 000000000..dc6024931 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguageEnum.java @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGnewsLanguageEnum { + 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 + public final String value; + + private SourceGnewsLanguageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsNullableEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsNullableEnum.java new file mode 100755 index 000000000..42565d214 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsNullableEnum.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGnewsNullableEnum { + TITLE("title"), + DESCRIPTION("description"), + CONTENT("content"); + + @JsonValue + public final String value; + + private SourceGnewsNullableEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsSortByEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsSortByEnum.java new file mode 100755 index 000000000..1784028be --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsSortByEnum.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceGnewsSortByEnum - 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 SourceGnewsSortByEnum { + PUBLISHED_AT("publishedAt"), + RELEVANCE("relevance"); + + @JsonValue + public final String value; + + private SourceGnewsSortByEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsTopHeadlinesTopicEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsTopHeadlinesTopicEnum.java new file mode 100755 index 000000000..f178c1775 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGnewsTopHeadlinesTopicEnum.java @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceGnewsTopHeadlinesTopicEnum - This parameter allows you to change the category for the request. + */ +public enum SourceGnewsTopHeadlinesTopicEnum { + BREAKING_NEWS("breaking-news"), + WORLD("world"), + NATION("nation"), + BUSINESS("business"), + TECHNOLOGY("technology"), + ENTERTAINMENT("entertainment"), + SPORTS("sports"), + SCIENCE("science"), + HEALTH("health"); + + @JsonValue + public final String value; + + private SourceGnewsTopHeadlinesTopicEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java new file mode 100755 index 000000000..1d2334e03 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java @@ -0,0 +1,94 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceGoogleAds - The values required to configure the source. + */ +public class SourceGoogleAds { + /** + * A conversion window is the period of time 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 <a href="https://support.google.com/google-ads/answer/3123169?hl=en">documentation</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("conversion_window_days") + public Long conversionWindowDays; + public SourceGoogleAds withConversionWindowDays(Long conversionWindowDays) { + this.conversionWindowDays = conversionWindowDays; + return this; + } + + @JsonProperty("credentials") + public SourceGoogleAdsGoogleCredentials credentials; + public SourceGoogleAds withCredentials(SourceGoogleAdsGoogleCredentials credentials) { + this.credentials = credentials; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("custom_queries") + public SourceGoogleAdsCustomQueries[] customQueries; + public SourceGoogleAds withCustomQueries(SourceGoogleAdsCustomQueries[] customQueries) { + this.customQueries = customQueries; + return this; + } + + /** + * Comma separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. More instruction on how to find this value in our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">docs</a>. Metrics streams like AdGroupAdReport cannot be requested for a manager account. + */ + @JsonProperty("customer_id") + public String customerId; + public SourceGoogleAds withCustomerId(String customerId) { + this.customerId = customerId; + return this; + } + + /** + * UTC date and time in the format 2017-01-25. Any data after this date will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("end_date") + public LocalDate endDate; + public SourceGoogleAds withEndDate(LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * If your access to the customer account is through a manager account, this field is required and must be set to the customer ID of the manager account (10-digit number without dashes). More information about this field you can see <a href="https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid">here</a> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("login_customer_id") + public String loginCustomerId; + public SourceGoogleAds withLoginCustomerId(String loginCustomerId) { + this.loginCustomerId = loginCustomerId; + return this; + } + + @JsonProperty("sourceType") + public SourceGoogleAdsGoogleAdsEnum sourceType; + public SourceGoogleAds withSourceType(SourceGoogleAdsGoogleAdsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25. Any data before this date will not be replicated. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceGoogleAds withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsCustomQueries.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsCustomQueries.java new file mode 100755 index 000000000..7e5c6772b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsCustomQueries.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceGoogleAdsCustomQueries { + /** + * A custom defined GAQL query for building the report. Should not contain segments.date expression because it is used by incremental streams. See Google's <a href="https://developers.google.com/google-ads/api/fields/v11/overview_query_builder">query builder</a> for more information. + */ + @JsonProperty("query") + public String query; + public SourceGoogleAdsCustomQueries withQuery(String query) { + this.query = query; + return this; + } + + /** + * The table name in your destination database for choosen query. + */ + @JsonProperty("table_name") + public String tableName; + public SourceGoogleAdsCustomQueries withTableName(String tableName) { + this.tableName = tableName; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAdsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAdsEnum.java new file mode 100755 index 000000000..b6b6a3a28 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAdsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleAdsGoogleAdsEnum { + GOOGLE_ADS("google-ads"); + + @JsonValue + public final String value; + + private SourceGoogleAdsGoogleAdsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleCredentials.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleCredentials.java new file mode 100755 index 000000000..160b9ab67 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleCredentials.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceGoogleAdsGoogleCredentials { + /** + * Access Token for making authenticated requests. More instruction on how to find this value in our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">docs</a> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_token") + public String accessToken; + public SourceGoogleAdsGoogleCredentials withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * The Client ID of your Google Ads developer application. More instruction on how to find this value in our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">docs</a> + */ + @JsonProperty("client_id") + public String clientId; + public SourceGoogleAdsGoogleCredentials withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Google Ads developer application. More instruction on how to find this value in our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">docs</a> + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceGoogleAdsGoogleCredentials withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Developer token granted by Google to use their APIs. More instruction on how to find this value in our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">docs</a> + */ + @JsonProperty("developer_token") + public String developerToken; + public SourceGoogleAdsGoogleCredentials withDeveloperToken(String developerToken) { + this.developerToken = developerToken; + return this; + } + + /** + * The token for obtaining a new access token. More instruction on how to find this value in our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">docs</a> + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceGoogleAdsGoogleCredentials withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java new file mode 100755 index 000000000..91573e5b6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceGoogleAnalyticsDataApi - The values required to configure the source. + */ +public class SourceGoogleAnalyticsDataApi { + /** + * Credentials for the service + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceGoogleAnalyticsDataApi withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * A JSON array describing the custom reports you want to sync from Google Analytics. See <a href="https://docs.airbyte.com/integrations/sources/google-analytics-v4/#custom-reports">the docs</a> for more information about the exact format you can use to fill out this field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("custom_reports") + public String customReports; + public SourceGoogleAnalyticsDataApi withCustomReports(String customReports) { + this.customReports = customReports; + return this; + } + + /** + * 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. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("date_ranges_start_date") + public LocalDate dateRangesStartDate; + public SourceGoogleAnalyticsDataApi withDateRangesStartDate(LocalDate dateRangesStartDate) { + this.dateRangesStartDate = dateRangesStartDate; + return this; + } + + /** + * A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body + */ + @JsonProperty("property_id") + public String propertyId; + public SourceGoogleAnalyticsDataApi withPropertyId(String propertyId) { + this.propertyId = propertyId; + return this; + } + + @JsonProperty("sourceType") + public SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApiEnum sourceType; + public SourceGoogleAnalyticsDataApi withSourceType(SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The time increment used by the connector when requesting data from the Google Analytics API. More information is available in the <a href="https://docs.airbyte.com/integrations/sources/google-analytics-v4/#sampling-in-reports">the docs</a>. The bigger this value is, the faster the sync will be, but the more likely that sampling will be applied to your data, potentially causing inaccuracies in the returned results. We recommend setting this to 1 unless you have a hard requirement to make the sync faster at the expense of accuracy. The minimum allowed value for this field is 1, and the maximum is 364. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("window_in_days") + public Long windowInDays; + public SourceGoogleAnalyticsDataApi withWindowInDays(Long windowInDays) { + this.windowInDays = windowInDays; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth.java new file mode 100755 index 000000000..5784630e0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth.java @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth - Credentials for the service + */ +public class SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth { + /** + * Access Token for making authenticated requests. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_token") + public String accessToken; + public SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthTypeEnum authType; + public SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth withAuthType(SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your Google Analytics developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Google Analytics developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The token for obtaining a new access token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthTypeEnum.java new file mode 100755 index 000000000..0c5e3c14a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthTypeEnum { + CLIENT("Client"); + + @JsonValue + public final String value; + + private SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication.java new file mode 100755 index 000000000..361da4087 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication - Credentials for the service + */ +public class SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthTypeEnum authType; + public SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication withAuthType(SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The JSON key of the service account to use for authorization + */ + @JsonProperty("credentials_json") + public String credentialsJson; + public SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java new file mode 100755 index 000000000..080416dc6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthTypeEnum { + SERVICE("Service"); + + @JsonValue + public final String value; + + private SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApiEnum.java new file mode 100755 index 000000000..63382f32a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApiEnum { + GOOGLE_ANALYTICS_DATA_API("google-analytics-data-api"); + + @JsonValue + public final String value; + + private SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4.java new file mode 100755 index 000000000..a1770fe7a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4.java @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleAnalyticsV4 - The values required to configure the source. + */ +public class SourceGoogleAnalyticsV4 { + /** + * Credentials for the service + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceGoogleAnalyticsV4 withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * A JSON array describing the custom reports you want to sync from Google Analytics. See <a href="https://docs.airbyte.com/integrations/sources/google-analytics-v4#data-processing-latency">the docs</a> for more information about the exact format you can use to fill out this field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("custom_reports") + public String customReports; + public SourceGoogleAnalyticsV4 withCustomReports(String customReports) { + this.customReports = customReports; + return this; + } + + @JsonProperty("sourceType") + public SourceGoogleAnalyticsV4GoogleAnalyticsV4Enum sourceType; + public SourceGoogleAnalyticsV4 withSourceType(SourceGoogleAnalyticsV4GoogleAnalyticsV4Enum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date in the format YYYY-MM-DD. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + public String startDate; + public SourceGoogleAnalyticsV4 withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * The ID for the Google Analytics View you want to fetch data from. This can be found from the <a href="https://ga-dev-tools.appspot.com/account-explorer/">Google Analytics Account Explorer</a>. + */ + @JsonProperty("view_id") + public String viewId; + public SourceGoogleAnalyticsV4 withViewId(String viewId) { + this.viewId = viewId; + return this; + } + + /** + * The time increment used by the connector when requesting data from the Google Analytics API. More information is available in the <a href="https://docs.airbyte.com/integrations/sources/google-analytics-v4/#sampling-in-reports">the docs</a>. The bigger this value is, the faster the sync will be, but the more likely that sampling will be applied to your data, potentially causing inaccuracies in the returned results. We recommend setting this to 1 unless you have a hard requirement to make the sync faster at the expense of accuracy. The minimum allowed value for this field is 1, and the maximum is 364. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("window_in_days") + public Long windowInDays; + public SourceGoogleAnalyticsV4 withWindowInDays(Long windowInDays) { + this.windowInDays = windowInDays; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth.java new file mode 100755 index 000000000..df7109de1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth.java @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth - Credentials for the service + */ +public class SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth { + /** + * Access Token for making authenticated requests. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_token") + public String accessToken; + public SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthTypeEnum authType; + public SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth withAuthType(SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your Google Analytics developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Google Analytics developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The token for obtaining a new access token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthTypeEnum.java new file mode 100755 index 000000000..be1bdba31 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthTypeEnum { + CLIENT("Client"); + + @JsonValue + public final String value; + + private SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication.java new file mode 100755 index 000000000..e438a211c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication - Credentials for the service + */ +public class SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthTypeEnum authType; + public SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication withAuthType(SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The JSON key of the service account to use for authorization + */ + @JsonProperty("credentials_json") + public String credentialsJson; + public SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java new file mode 100755 index 000000000..523f1c2d1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthTypeEnum { + SERVICE("Service"); + + @JsonValue + public final String value; + + private SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4GoogleAnalyticsV4Enum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4GoogleAnalyticsV4Enum.java new file mode 100755 index 000000000..c054f9077 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4GoogleAnalyticsV4Enum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleAnalyticsV4GoogleAnalyticsV4Enum { + GOOGLE_ANALYTICS_V4("google-analytics-v4"); + + @JsonValue + public final String value; + + private SourceGoogleAnalyticsV4GoogleAnalyticsV4Enum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java new file mode 100755 index 000000000..1e00a4f16 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleDirectory - The values required to configure the source. + */ +public class SourceGoogleDirectory { + /** + * The contents of the JSON service account key. See the <a href="https://developers.google.com/admin-sdk/directory/v1/guides/delegation">docs</a> for more information on how to generate this key. + */ + @JsonProperty("credentials_json") + public String credentialsJson; + public SourceGoogleDirectory withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + + /** + * The email of the user, which has permissions to access the Google Workspace Admin APIs. + */ + @JsonProperty("email") + public String email; + public SourceGoogleDirectory withEmail(String email) { + this.email = email; + return this; + } + + @JsonProperty("sourceType") + public SourceGoogleDirectoryGoogleDirectoryEnum sourceType; + public SourceGoogleDirectory withSourceType(SourceGoogleDirectoryGoogleDirectoryEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleDirectoryEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleDirectoryEnum.java new file mode 100755 index 000000000..e444a0f23 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleDirectoryEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleDirectoryGoogleDirectoryEnum { + GOOGLE_DIRECTORY("google-directory"); + + @JsonValue + public final String value; + + private SourceGoogleDirectoryGoogleDirectoryEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java new file mode 100755 index 000000000..a1f493be5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceGoogleSearchConsole - The values required to configure the source. + */ +public class SourceGoogleSearchConsole { + @JsonProperty("authorization") + public Object authorization; + public SourceGoogleSearchConsole withAuthorization(Object authorization) { + this.authorization = authorization; + return this; + } + + /** + * A JSON array describing the custom reports you want to sync from Google Search Console. See <a href="https://docs.airbyte.com/integrations/sources/google-search-console#step-2-set-up-the-google-search-console-connector-in-airbyte">the docs</a> for more information about the exact format you can use to fill out this field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("custom_reports") + public String customReports; + public SourceGoogleSearchConsole withCustomReports(String customReports) { + this.customReports = customReports; + return this; + } + + /** + * UTC date in the format 2017-01-25. Any data after this date will not be replicated. Must be greater or equal to the start date field. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("end_date") + public LocalDate endDate; + public SourceGoogleSearchConsole withEndDate(LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * The URLs of the website property attached to your GSC account. Read more <a href="https://support.google.com/webmasters/answer/34592?hl=en">here</a>. + */ + @JsonProperty("site_urls") + public String[] siteUrls; + public SourceGoogleSearchConsole withSiteUrls(String[] siteUrls) { + this.siteUrls = siteUrls; + return this; + } + + @JsonProperty("sourceType") + public SourceGoogleSearchConsoleGoogleSearchConsoleEnum sourceType; + public SourceGoogleSearchConsole withSourceType(SourceGoogleSearchConsoleGoogleSearchConsoleEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date in the format 2017-01-25. Any data before this date will not be replicated. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceGoogleSearchConsole withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuth.java new file mode 100755 index 000000000..9f318d781 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuth.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceGoogleSearchConsoleAuthorizationOAuth { + /** + * Access token for making authenticated requests. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_token") + public String accessToken; + public SourceGoogleSearchConsoleAuthorizationOAuth withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_type") + public SourceGoogleSearchConsoleAuthorizationOAuthAuthTypeEnum authType; + public SourceGoogleSearchConsoleAuthorizationOAuth withAuthType(SourceGoogleSearchConsoleAuthorizationOAuthAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * 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>. + */ + @JsonProperty("client_id") + public String clientId; + public SourceGoogleSearchConsoleAuthorizationOAuth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * 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>. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceGoogleSearchConsoleAuthorizationOAuth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The token for obtaining a new access token. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceGoogleSearchConsoleAuthorizationOAuth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuthAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuthAuthTypeEnum.java new file mode 100755 index 000000000..03751c73d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuthAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleSearchConsoleAuthorizationOAuthAuthTypeEnum { + CLIENT("Client"); + + @JsonValue + public final String value; + + private SourceGoogleSearchConsoleAuthorizationOAuthAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication.java new file mode 100755 index 000000000..74a07c042 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication.java @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication { + @JsonProperty("auth_type") + public SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthTypeEnum authType; + public SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication withAuthType(SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The email of the user which has permissions to access the Google Workspace Admin APIs. + */ + @JsonProperty("email") + public String email; + public SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication withEmail(String email) { + this.email = email; + return this; + } + + /** + * The JSON key of the service account to use for authorization. Read more <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys">here</a>. + */ + @JsonProperty("service_account_info") + public String serviceAccountInfo; + public SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication withServiceAccountInfo(String serviceAccountInfo) { + this.serviceAccountInfo = serviceAccountInfo; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthTypeEnum.java new file mode 100755 index 000000000..dd9252582 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthTypeEnum { + SERVICE("Service"); + + @JsonValue + public final String value; + + private SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsoleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsoleEnum.java new file mode 100755 index 000000000..2e73328e5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsoleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleSearchConsoleGoogleSearchConsoleEnum { + GOOGLE_SEARCH_CONSOLE("google-search-console"); + + @JsonValue + public final String value; + + private SourceGoogleSearchConsoleGoogleSearchConsoleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java new file mode 100755 index 000000000..c529416a6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleSheets - The values required to configure the source. + */ +public class SourceGoogleSheets { + /** + * Credentials for connecting to the Google Sheets API + */ + @JsonProperty("credentials") + public Object credentials; + public SourceGoogleSheets withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * Number of rows fetched when making a Google Sheet API call. Defaults to 200. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("row_batch_size") + public Long rowBatchSize; + public SourceGoogleSheets withRowBatchSize(Long rowBatchSize) { + this.rowBatchSize = rowBatchSize; + return this; + } + + @JsonProperty("sourceType") + public SourceGoogleSheetsGoogleSheetsEnum sourceType; + public SourceGoogleSheets withSourceType(SourceGoogleSheetsGoogleSheetsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Enter the link to the Google spreadsheet you want to sync + */ + @JsonProperty("spreadsheet_id") + public String spreadsheetId; + public SourceGoogleSheets withSpreadsheetId(String spreadsheetId) { + this.spreadsheetId = spreadsheetId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth.java new file mode 100755 index 000000000..4d6079679 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth - Credentials for connecting to the Google Sheets API + */ +public class SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth { + @JsonProperty("auth_type") + public SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthTypeEnum authType; + public SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth withAuthType(SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * Enter your Google application's Client ID + */ + @JsonProperty("client_id") + public String clientId; + public SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Enter your Google application's Client Secret + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Enter your Google application's refresh token + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthTypeEnum.java new file mode 100755 index 000000000..e0f487f07 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthTypeEnum { + CLIENT("Client"); + + @JsonValue + public final String value; + + private SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication.java new file mode 100755 index 000000000..454596456 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication - Credentials for connecting to the Google Sheets API + */ +public class SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication { + @JsonProperty("auth_type") + public SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthTypeEnum authType; + public SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication withAuthType(SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * 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_info") + public String serviceAccountInfo; + public SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication withServiceAccountInfo(String serviceAccountInfo) { + this.serviceAccountInfo = serviceAccountInfo; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java new file mode 100755 index 000000000..30f5a7074 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthTypeEnum { + SERVICE("Service"); + + @JsonValue + public final String value; + + private SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheetsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheetsEnum.java new file mode 100755 index 000000000..aaa96ecc8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheetsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleSheetsGoogleSheetsEnum { + GOOGLE_SHEETS("google-sheets"); + + @JsonValue + public final String value; + + private SourceGoogleSheetsGoogleSheetsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java new file mode 100755 index 000000000..ff22baaeb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleWebfonts - The values required to configure the source. + */ +public class SourceGoogleWebfonts { + /** + * Optional, Available params- json, media, proto + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("alt") + public String alt; + public SourceGoogleWebfonts withAlt(String alt) { + this.alt = alt; + return this; + } + + /** + * API key is required to access google apis, For getting your's goto google console and generate api key for Webfonts + */ + @JsonProperty("api_key") + public String apiKey; + public SourceGoogleWebfonts withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Optional, boolean type + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("prettyPrint") + public String prettyPrint; + public SourceGoogleWebfonts withPrettyPrint(String prettyPrint) { + this.prettyPrint = prettyPrint; + return this; + } + + /** + * Optional, to find how to sort + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sort") + public String sort; + public SourceGoogleWebfonts withSort(String sort) { + this.sort = sort; + return this; + } + + @JsonProperty("sourceType") + public SourceGoogleWebfontsGoogleWebfontsEnum sourceType; + public SourceGoogleWebfonts withSourceType(SourceGoogleWebfontsGoogleWebfontsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfontsGoogleWebfontsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfontsGoogleWebfontsEnum.java new file mode 100755 index 000000000..56677cf62 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfontsGoogleWebfontsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleWebfontsGoogleWebfontsEnum { + GOOGLE_WEBFONTS("google-webfonts"); + + @JsonValue + public final String value; + + private SourceGoogleWebfontsGoogleWebfontsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWorkspaceAdminReports.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWorkspaceAdminReports.java new file mode 100755 index 000000000..bfa8c4e74 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWorkspaceAdminReports.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGoogleWorkspaceAdminReports - The values required to configure the source. + */ +public class SourceGoogleWorkspaceAdminReports { + /** + * The contents of the JSON service account key. See the <a href="https://developers.google.com/admin-sdk/reports/v1/guides/delegation">docs</a> for more information on how to generate this key. + */ + @JsonProperty("credentials_json") + public String credentialsJson; + public SourceGoogleWorkspaceAdminReports withCredentialsJson(String credentialsJson) { + this.credentialsJson = credentialsJson; + return this; + } + + /** + * The email of the user, which has permissions to access the Google Workspace Admin APIs. + */ + @JsonProperty("email") + public String email; + public SourceGoogleWorkspaceAdminReports withEmail(String email) { + this.email = email; + return this; + } + + /** + * Sets the range of time shown in the report. Reports API allows from up to 180 days ago. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lookback") + public Long lookback; + public SourceGoogleWorkspaceAdminReports withLookback(Long lookback) { + this.lookback = lookback; + return this; + } + + @JsonProperty("sourceType") + public SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReportsEnum sourceType; + public SourceGoogleWorkspaceAdminReports withSourceType(SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReportsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReportsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReportsEnum.java new file mode 100755 index 000000000..929dc6f24 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReportsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReportsEnum { + GOOGLE_WORKSPACE_ADMIN_REPORTS("google-workspace-admin-reports"); + + @JsonValue + public final String value; + + private SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReportsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java new file mode 100755 index 000000000..1c3fd6c8f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGreenhouse - The values required to configure the source. + */ +public class SourceGreenhouse { + /** + * Greenhouse API Key. See the <a href="https://docs.airbyte.com/integrations/sources/greenhouse">docs</a> for more information on how to generate this key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceGreenhouse withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceGreenhouseGreenhouseEnum sourceType; + public SourceGreenhouse withSourceType(SourceGreenhouseGreenhouseEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGreenhouseGreenhouseEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGreenhouseGreenhouseEnum.java new file mode 100755 index 000000000..531027220 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGreenhouseGreenhouseEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGreenhouseGreenhouseEnum { + GREENHOUSE("greenhouse"); + + @JsonValue + public final String value; + + private SourceGreenhouseGreenhouseEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGridly.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGridly.java new file mode 100755 index 000000000..55c45358f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGridly.java @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGridly - The values required to configure the source. + */ +public class SourceGridly { + @JsonProperty("api_key") + public String apiKey; + public SourceGridly withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * ID of a grid, or can be ID of a branch + */ + @JsonProperty("grid_id") + public String gridId; + public SourceGridly withGridId(String gridId) { + this.gridId = gridId; + return this; + } + + @JsonProperty("sourceType") + public SourceGridlyGridlyEnum sourceType; + public SourceGridly withSourceType(SourceGridlyGridlyEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGridlyGridlyEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGridlyGridlyEnum.java new file mode 100755 index 000000000..b5604cbf7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGridlyGridlyEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGridlyGridlyEnum { + GRIDLY("gridly"); + + @JsonValue + public final String value; + + private SourceGridlyGridlyEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java new file mode 100755 index 000000000..1d182e025 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceHarvest - The values required to configure the source. + */ +public class SourceHarvest { + /** + * Harvest account ID. Required for all Harvest requests in pair with Personal Access Token + */ + @JsonProperty("account_id") + public String accountId; + public SourceHarvest withAccountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Choose how to authenticate to Harvest. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceHarvest withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("replication_end_date") + public OffsetDateTime replicationEndDate; + public SourceHarvest withReplicationEndDate(OffsetDateTime replicationEndDate) { + this.replicationEndDate = replicationEndDate; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("replication_start_date") + public OffsetDateTime replicationStartDate; + public SourceHarvest withReplicationStartDate(OffsetDateTime replicationStartDate) { + this.replicationStartDate = replicationStartDate; + return this; + } + + @JsonProperty("sourceType") + public SourceHarvestHarvestEnum sourceType; + public SourceHarvest withSourceType(SourceHarvestHarvestEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHarvestHarvestEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHarvestHarvestEnum.java new file mode 100755 index 000000000..32e747fb0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHarvestHarvestEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceHarvestHarvestEnum { + HARVEST("harvest"); + + @JsonValue + public final String value; + + private SourceHarvestHarvestEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java new file mode 100755 index 000000000..22f1d153c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceHubplanner - The values required to configure the source. + */ +public class SourceHubplanner { + /** + * Hubplanner API key. See https://github.com/hubplanner/API#authentication for more details. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceHubplanner withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceHubplannerHubplannerEnum sourceType; + public SourceHubplanner withSourceType(SourceHubplannerHubplannerEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubplannerHubplannerEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubplannerHubplannerEnum.java new file mode 100755 index 000000000..2632b12a0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubplannerHubplannerEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceHubplannerHubplannerEnum { + HUBPLANNER("hubplanner"); + + @JsonValue + public final String value; + + private SourceHubplannerHubplannerEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java new file mode 100755 index 000000000..b806b5341 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceHubspot - The values required to configure the source. + */ +public class SourceHubspot { + /** + * Choose how to authenticate to HubSpot. + */ + @JsonProperty("credentials") + public Object credentials; + public SourceHubspot withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceHubspotHubspotEnum sourceType; + public SourceHubspot withSourceType(SourceHubspotHubspotEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceHubspot withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java new file mode 100755 index 000000000..f73ab74a9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceHubspotCredentialsOAuth - Choose how to authenticate to HubSpot. + */ +public class SourceHubspotCredentialsOAuth { + /** + * 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. + */ + @JsonProperty("client_id") + public String clientId; + public SourceHubspotCredentialsOAuth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * 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. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceHubspotCredentialsOAuth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Name of the credentials + */ + @JsonProperty("credentials_title") + public SourceHubspotCredentialsOAuthCredentialsEnum credentialsTitle; + public SourceHubspotCredentialsOAuth withCredentialsTitle(SourceHubspotCredentialsOAuthCredentialsEnum credentialsTitle) { + this.credentialsTitle = credentialsTitle; + return this; + } + + /** + * Refresh token to renew an expired access token. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceHubspotCredentialsOAuth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthCredentialsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthCredentialsEnum.java new file mode 100755 index 000000000..e4debfcec --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthCredentialsEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceHubspotCredentialsOAuthCredentialsEnum - Name of the credentials + */ +public enum SourceHubspotCredentialsOAuthCredentialsEnum { + O_AUTH_CREDENTIALS("OAuth Credentials"); + + @JsonValue + public final String value; + + private SourceHubspotCredentialsOAuthCredentialsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java new file mode 100755 index 000000000..b8fa5ea0a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceHubspotCredentialsPrivateApp - Choose how to authenticate to HubSpot. + */ +public class SourceHubspotCredentialsPrivateApp { + /** + * HubSpot Access token. See the <a href="https://developers.hubspot.com/docs/api/private-apps">Hubspot docs</a> if you need help finding this token. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceHubspotCredentialsPrivateApp withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Name of the credentials set + */ + @JsonProperty("credentials_title") + public SourceHubspotCredentialsPrivateAppCredentialsEnum credentialsTitle; + public SourceHubspotCredentialsPrivateApp withCredentialsTitle(SourceHubspotCredentialsPrivateAppCredentialsEnum credentialsTitle) { + this.credentialsTitle = credentialsTitle; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppCredentialsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppCredentialsEnum.java new file mode 100755 index 000000000..dc016a43a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppCredentialsEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceHubspotCredentialsPrivateAppCredentialsEnum - Name of the credentials set + */ +public enum SourceHubspotCredentialsPrivateAppCredentialsEnum { + PRIVATE_APP_CREDENTIALS("Private App Credentials"); + + @JsonValue + public final String value; + + private SourceHubspotCredentialsPrivateAppCredentialsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspotEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspotEnum.java new file mode 100755 index 000000000..4bb581887 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspotEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceHubspotHubspotEnum { + HUBSPOT("hubspot"); + + @JsonValue + public final String value; + + private SourceHubspotHubspotEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceInsightly.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceInsightly.java new file mode 100755 index 000000000..bb9fe73da --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceInsightly.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceInsightly - The values required to configure the source. + */ +public class SourceInsightly { + @JsonProperty("sourceType") + public SourceInsightlyInsightlyEnum sourceType; + public SourceInsightly withSourceType(SourceInsightlyInsightlyEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonProperty("start_date") + public String startDate; + public SourceInsightly withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Your Insightly API token. + */ + @JsonProperty("token") + public String token; + public SourceInsightly withToken(String token) { + this.token = token; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceInsightlyInsightlyEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceInsightlyInsightlyEnum.java new file mode 100755 index 000000000..4b14481d8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceInsightlyInsightlyEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceInsightlyInsightlyEnum { + INSIGHTLY("insightly"); + + @JsonValue + public final String value; + + private SourceInsightlyInsightlyEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceInstagram.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceInstagram.java new file mode 100755 index 000000000..fbcdda359 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceInstagram.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceInstagram - The values required to configure the source. + */ +public class SourceInstagram { + /** + * The value of the access token generated with <b>instagram_basic, instagram_manage_insights, pages_show_list, pages_read_engagement, Instagram Public Content Access</b> permissions. See the <a href="https://docs.airbyte.com/integrations/sources/instagram/#step-1-set-up-instagram">docs</a> for more information + */ + @JsonProperty("access_token") + public String accessToken; + public SourceInstagram withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("sourceType") + public SourceInstagramInstagramEnum sourceType; + public SourceInstagram withSourceType(SourceInstagramInstagramEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceInstagram withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagramEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagramEnum.java new file mode 100755 index 000000000..77d96dcf1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagramEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceInstagramInstagramEnum { + INSTAGRAM("instagram"); + + @JsonValue + public final String value; + + private SourceInstagramInstagramEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceInstatus.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceInstatus.java new file mode 100755 index 000000000..c6e32a67c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceInstatus.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceInstatus - The values required to configure the source. + */ +public class SourceInstatus { + /** + * Instatus REST API key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceInstatus withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceInstatusInstatusEnum sourceType; + public SourceInstatus withSourceType(SourceInstatusInstatusEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceInstatusInstatusEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceInstatusInstatusEnum.java new file mode 100755 index 000000000..ff98cca5a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceInstatusInstatusEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceInstatusInstatusEnum { + INSTATUS("instatus"); + + @JsonValue + public final String value; + + private SourceInstatusInstatusEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceIntercom.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceIntercom.java new file mode 100755 index 000000000..25924b05f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceIntercom.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceIntercom - The values required to configure the source. + */ +public class SourceIntercom { + /** + * Access token for making authenticated requests. See the <a href="https://developers.intercom.com/building-apps/docs/authentication-types#how-to-get-your-access-token">Intercom docs</a> for more information. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceIntercom withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("sourceType") + public SourceIntercomIntercomEnum sourceType; + public SourceIntercom withSourceType(SourceIntercomIntercomEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceIntercom withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercomEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercomEnum.java new file mode 100755 index 000000000..2dd13a2a0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercomEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceIntercomIntercomEnum { + INTERCOM("intercom"); + + @JsonValue + public final String value; + + private SourceIntercomIntercomEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java new file mode 100755 index 000000000..2c6cc52da --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceIp2whois - The values required to configure the source. + */ +public class SourceIp2whois { + /** + * Your API Key. See <a href="https://www.ip2whois.com/developers-api">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("api_key") + public String apiKey; + public SourceIp2whois withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Domain name. See <a href="https://www.ip2whois.com/developers-api">here</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domain") + public String domain; + public SourceIp2whois withDomain(String domain) { + this.domain = domain; + return this; + } + + @JsonProperty("sourceType") + public SourceIp2whoisIp2whoisEnum sourceType; + public SourceIp2whois withSourceType(SourceIp2whoisIp2whoisEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whoisIp2whoisEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whoisIp2whoisEnum.java new file mode 100755 index 000000000..b7e1ca163 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whoisIp2whoisEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceIp2whoisIp2whoisEnum { + IP2WHOIS("ip2whois"); + + @JsonValue + public final String value; + + private SourceIp2whoisIp2whoisEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceIterable.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceIterable.java new file mode 100755 index 000000000..df6446cdb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceIterable.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceIterable - The values required to configure the source. + */ +public class SourceIterable { + /** + * Iterable API Key. See the <a href="https://docs.airbyte.com/integrations/sources/iterable">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceIterable withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceIterableIterableEnum sourceType; + public SourceIterable withSourceType(SourceIterableIterableEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceIterable withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceIterableIterableEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceIterableIterableEnum.java new file mode 100755 index 000000000..80e8e1e7d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceIterableIterableEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceIterableIterableEnum { + ITERABLE("iterable"); + + @JsonValue + public final String value; + + private SourceIterableIterableEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceJira.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceJira.java new file mode 100755 index 000000000..59af32e99 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceJira.java @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceJira - The values required to configure the source. + */ +public class SourceJira { + /** + * Jira API Token. See the <a href="https://docs.airbyte.com/integrations/sources/jira">docs</a> for more information on how to generate this key. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceJira withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + /** + * The Domain for your Jira account, e.g. airbyteio.atlassian.net, airbyteio.jira.com, jira.your-domain.com + */ + @JsonProperty("domain") + public String domain; + public SourceJira withDomain(String domain) { + this.domain = domain; + return this; + } + + /** + * The user email for your Jira account. + */ + @JsonProperty("email") + public String email; + public SourceJira withEmail(String email) { + this.email = email; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("enable_experimental_streams") + public Boolean enableExperimentalStreams; + public SourceJira withEnableExperimentalStreams(Boolean enableExperimentalStreams) { + this.enableExperimentalStreams = enableExperimentalStreams; + return this; + } + + /** + * Expand the changelog when replicating issues. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("expand_issue_changelog") + public Boolean expandIssueChangelog; + public SourceJira withExpandIssueChangelog(Boolean expandIssueChangelog) { + this.expandIssueChangelog = expandIssueChangelog; + return this; + } + + /** + * List of Jira project keys to replicate data for. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("projects") + public String[] projects; + public SourceJira withProjects(String[] projects) { + this.projects = projects; + return this; + } + + /** + * Render issue fields in HTML format in addition to Jira JSON-like format. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("render_fields") + public Boolean renderFields; + public SourceJira withRenderFields(Boolean renderFields) { + this.renderFields = renderFields; + return this; + } + + @JsonProperty("sourceType") + public SourceJiraJiraEnum sourceType; + public SourceJira withSourceType(SourceJiraJiraEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. For more information, refer to the <a href="https://docs.airbyte.com/integrations/sources/jira/">documentation</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceJira withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceJiraJiraEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceJiraJiraEnum.java new file mode 100755 index 000000000..a708c838c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceJiraJiraEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceJiraJiraEnum { + JIRA("jira"); + + @JsonValue + public final String value; + + private SourceJiraJiraEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java new file mode 100755 index 000000000..27fb57330 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceK6Cloud - The values required to configure the source. + */ +public class SourceK6Cloud { + /** + * Your API Token. See <a href="https://k6.io/docs/cloud/integrations/token/">here</a>. The key is case sensitive. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceK6Cloud withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("sourceType") + public SourceK6CloudK6CloudEnum sourceType; + public SourceK6Cloud withSourceType(SourceK6CloudK6CloudEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceK6CloudK6CloudEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceK6CloudK6CloudEnum.java new file mode 100755 index 000000000..9430c0ac5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceK6CloudK6CloudEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceK6CloudK6CloudEnum { + K6_CLOUD("k6-cloud"); + + @JsonValue + public final String value; + + private SourceK6CloudK6CloudEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarna.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarna.java new file mode 100755 index 000000000..bea650038 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarna.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceKlarna - The values required to configure the source. + */ +public class SourceKlarna { + /** + * 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) + */ + @JsonProperty("password") + public String password; + public SourceKlarna withPassword(String password) { + this.password = password; + return this; + } + + /** + * Propertie defining if connector is used against playground or production environment + */ + @JsonProperty("playground") + public Boolean playground; + public SourceKlarna withPlayground(Boolean playground) { + this.playground = playground; + return this; + } + + /** + * Base url region (For playground eu https://docs.klarna.com/klarna-payments/api/payments-api/#tag/API-URLs). Supported 'eu', 'us', 'oc' + */ + @JsonProperty("region") + public SourceKlarnaRegionEnum region; + public SourceKlarna withRegion(SourceKlarnaRegionEnum region) { + this.region = region; + return this; + } + + @JsonProperty("sourceType") + public SourceKlarnaKlarnaEnum sourceType; + public SourceKlarna withSourceType(SourceKlarnaKlarnaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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) + */ + @JsonProperty("username") + public String username; + public SourceKlarna withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarnaKlarnaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarnaKlarnaEnum.java new file mode 100755 index 000000000..bcccbf105 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarnaKlarnaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceKlarnaKlarnaEnum { + KLARNA("klarna"); + + @JsonValue + public final String value; + + private SourceKlarnaKlarnaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegionEnum.java new file mode 100755 index 000000000..5010e0efb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegionEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceKlarnaRegionEnum - Base url region (For playground eu https://docs.klarna.com/klarna-payments/api/payments-api/#tag/API-URLs). Supported 'eu', 'us', 'oc' + */ +public enum SourceKlarnaRegionEnum { + EU("eu"), + US("us"), + OC("oc"); + + @JsonValue + public final String value; + + private SourceKlarnaRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java new file mode 100755 index 000000000..1b75c205e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceKlaviyo - The values required to configure the source. + */ +public class SourceKlaviyo { + /** + * Klaviyo API Key. See our <a href="https://docs.airbyte.com/integrations/sources/klaviyo">docs</a> if you need help finding this key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceKlaviyo withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceKlaviyoKlaviyoEnum sourceType; + public SourceKlaviyo withSourceType(SourceKlaviyoKlaviyoEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceKlaviyo withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceKlaviyoKlaviyoEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlaviyoKlaviyoEnum.java new file mode 100755 index 000000000..7b866feb5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceKlaviyoKlaviyoEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceKlaviyoKlaviyoEnum { + KLAVIYO("klaviyo"); + + @JsonValue + public final String value; + + private SourceKlaviyoKlaviyoEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceKustomerSinger.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceKustomerSinger.java new file mode 100755 index 000000000..42f579658 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceKustomerSinger.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceKustomerSinger - The values required to configure the source. + */ +public class SourceKustomerSinger { + /** + * Kustomer API Token. See the <a href="https://developer.kustomer.com/kustomer-api-docs/reference/authentication">docs</a> on how to obtain this + */ + @JsonProperty("api_token") + public String apiToken; + public SourceKustomerSinger withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("sourceType") + public SourceKustomerSingerKustomerSingerEnum sourceType; + public SourceKustomerSinger withSourceType(SourceKustomerSingerKustomerSingerEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate the data + */ + @JsonProperty("start_date") + public String startDate; + public SourceKustomerSinger withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceKustomerSingerKustomerSingerEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceKustomerSingerKustomerSingerEnum.java new file mode 100755 index 000000000..e8b53fdc5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceKustomerSingerKustomerSingerEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceKustomerSingerKustomerSingerEnum { + KUSTOMER_SINGER("kustomer-singer"); + + @JsonValue + public final String value; + + private SourceKustomerSingerKustomerSingerEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java new file mode 100755 index 000000000..1260e34bc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceLaunchdarkly - The values required to configure the source. + */ +public class SourceLaunchdarkly { + /** + * Your Access token. See <a href="https://apidocs.launchdarkly.com/#section/Overview/Authentication">here</a>. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceLaunchdarkly withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("sourceType") + public SourceLaunchdarklyLaunchdarklyEnum sourceType; + public SourceLaunchdarkly withSourceType(SourceLaunchdarklyLaunchdarklyEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarklyLaunchdarklyEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarklyLaunchdarklyEnum.java new file mode 100755 index 000000000..6557d05c2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarklyLaunchdarklyEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLaunchdarklyLaunchdarklyEnum { + LAUNCHDARKLY("launchdarkly"); + + @JsonValue + public final String value; + + private SourceLaunchdarklyLaunchdarklyEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLemlist.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLemlist.java new file mode 100755 index 000000000..c99e71469 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLemlist.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceLemlist - The values required to configure the source. + */ +public class SourceLemlist { + /** + * Lemlist API key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceLemlist withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceLemlistLemlistEnum sourceType; + public SourceLemlist withSourceType(SourceLemlistLemlistEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLemlistLemlistEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLemlistLemlistEnum.java new file mode 100755 index 000000000..1b784d42a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLemlistLemlistEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLemlistLemlistEnum { + LEMLIST("lemlist"); + + @JsonValue + public final String value; + + private SourceLemlistLemlistEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java new file mode 100755 index 000000000..0fb3241a2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceLinkedinAds - The values required to configure the source. + */ +public class SourceLinkedinAds { + /** + * Specify the account IDs separated by a space, to pull the data from. Leave empty, if you want to pull the data from all associated accounts. See the <a href="https://www.linkedin.com/help/linkedin/answer/a424270/find-linkedin-ads-account-details?lang=en">LinkedIn Ads docs</a> for more info. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("account_ids") + public Long[] accountIds; + public SourceLinkedinAds withAccountIds(Long[] accountIds) { + this.accountIds = accountIds; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceLinkedinAds withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceLinkedinAdsLinkedinAdsEnum sourceType; + public SourceLinkedinAds withSourceType(SourceLinkedinAdsLinkedinAdsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date in the format 2020-09-17. Any data before this date will not be replicated. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceLinkedinAds withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsAccessToken.java new file mode 100755 index 000000000..ee1be05cc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsAccessToken.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceLinkedinAdsCredentialsAccessToken { + /** + * The token value generated using the authentication code. See the <a href="https://docs.airbyte.com/integrations/sources/linkedin-ads#authentication">docs</a> to obtain yours. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceLinkedinAdsCredentialsAccessToken withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_method") + public SourceLinkedinAdsCredentialsAccessTokenAuthMethodEnum authMethod; + public SourceLinkedinAdsCredentialsAccessToken withAuthMethod(SourceLinkedinAdsCredentialsAccessTokenAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsAccessTokenAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsAccessTokenAuthMethodEnum.java new file mode 100755 index 000000000..6311eed99 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsAccessTokenAuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLinkedinAdsCredentialsAccessTokenAuthMethodEnum { + ACCESS_TOKEN("access_token"); + + @JsonValue + public final String value; + + private SourceLinkedinAdsCredentialsAccessTokenAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsOAuth20.java new file mode 100755 index 000000000..e77be59a0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsOAuth20.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceLinkedinAdsCredentialsOAuth20 { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_method") + public SourceLinkedinAdsCredentialsOAuth20AuthMethodEnum authMethod; + public SourceLinkedinAdsCredentialsOAuth20 withAuthMethod(SourceLinkedinAdsCredentialsOAuth20AuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The client ID of the LinkedIn Ads developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceLinkedinAdsCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The client secret the LinkedIn Ads developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceLinkedinAdsCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The key to refresh the expired access token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceLinkedinAdsCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsOAuth20AuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsOAuth20AuthMethodEnum.java new file mode 100755 index 000000000..959547e57 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsCredentialsOAuth20AuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLinkedinAdsCredentialsOAuth20AuthMethodEnum { + O_AUTH20("oAuth2.0"); + + @JsonValue + public final String value; + + private SourceLinkedinAdsCredentialsOAuth20AuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAdsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAdsEnum.java new file mode 100755 index 000000000..10ab87a93 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAdsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLinkedinAdsLinkedinAdsEnum { + LINKEDIN_ADS("linkedin-ads"); + + @JsonValue + public final String value; + + private SourceLinkedinAdsLinkedinAdsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java new file mode 100755 index 000000000..96f532262 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceLinkedinPages - The values required to configure the source. + */ +public class SourceLinkedinPages { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceLinkedinPages withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * Specify the Organization ID + */ + @JsonProperty("org_id") + public String orgId; + public SourceLinkedinPages withOrgId(String orgId) { + this.orgId = orgId; + return this; + } + + @JsonProperty("sourceType") + public SourceLinkedinPagesLinkedinPagesEnum sourceType; + public SourceLinkedinPages withSourceType(SourceLinkedinPagesLinkedinPagesEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsAccessToken.java new file mode 100755 index 000000000..137041613 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsAccessToken.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceLinkedinPagesCredentialsAccessToken { + /** + * The token value generated using the LinkedIn Developers OAuth Token Tools. See the <a href="https://docs.airbyte.com/integrations/sources/linkedin-pages/">docs</a> to obtain yours. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceLinkedinPagesCredentialsAccessToken withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_method") + public SourceLinkedinPagesCredentialsAccessTokenAuthMethodEnum authMethod; + public SourceLinkedinPagesCredentialsAccessToken withAuthMethod(SourceLinkedinPagesCredentialsAccessTokenAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsAccessTokenAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsAccessTokenAuthMethodEnum.java new file mode 100755 index 000000000..1d0898da8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsAccessTokenAuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLinkedinPagesCredentialsAccessTokenAuthMethodEnum { + ACCESS_TOKEN("access_token"); + + @JsonValue + public final String value; + + private SourceLinkedinPagesCredentialsAccessTokenAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsOAuth20.java new file mode 100755 index 000000000..4bcef6006 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsOAuth20.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceLinkedinPagesCredentialsOAuth20 { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_method") + public SourceLinkedinPagesCredentialsOAuth20AuthMethodEnum authMethod; + public SourceLinkedinPagesCredentialsOAuth20 withAuthMethod(SourceLinkedinPagesCredentialsOAuth20AuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The client ID of the LinkedIn developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceLinkedinPagesCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The client secret of the LinkedIn developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceLinkedinPagesCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The token value generated using the LinkedIn Developers OAuth Token Tools. See the <a href="https://docs.airbyte.com/integrations/sources/linkedin-pages/">docs</a> to obtain yours. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceLinkedinPagesCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsOAuth20AuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsOAuth20AuthMethodEnum.java new file mode 100755 index 000000000..27488eec8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesCredentialsOAuth20AuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLinkedinPagesCredentialsOAuth20AuthMethodEnum { + O_AUTH20("oAuth2.0"); + + @JsonValue + public final String value; + + private SourceLinkedinPagesCredentialsOAuth20AuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesLinkedinPagesEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesLinkedinPagesEnum.java new file mode 100755 index 000000000..52a9ca6ca --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesLinkedinPagesEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLinkedinPagesLinkedinPagesEnum { + LINKEDIN_PAGES("linkedin-pages"); + + @JsonValue + public final String value; + + private SourceLinkedinPagesLinkedinPagesEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java new file mode 100755 index 000000000..fea4584c3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceLinnworks - The values required to configure the source. + */ +public class SourceLinnworks { + /** + * Linnworks Application ID + */ + @JsonProperty("application_id") + public String applicationId; + public SourceLinnworks withApplicationId(String applicationId) { + this.applicationId = applicationId; + return this; + } + + /** + * Linnworks Application Secret + */ + @JsonProperty("application_secret") + public String applicationSecret; + public SourceLinnworks withApplicationSecret(String applicationSecret) { + this.applicationSecret = applicationSecret; + return this; + } + + @JsonProperty("sourceType") + public SourceLinnworksLinnworksEnum sourceType; + public SourceLinnworks withSourceType(SourceLinnworksLinnworksEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceLinnworks withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + @JsonProperty("token") + public String token; + public SourceLinnworks withToken(String token) { + this.token = token; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLinnworksLinnworksEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinnworksLinnworksEnum.java new file mode 100755 index 000000000..3b307f427 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLinnworksLinnworksEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLinnworksLinnworksEnum { + LINNWORKS("linnworks"); + + @JsonValue + public final String value; + + private SourceLinnworksLinnworksEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLokalise.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLokalise.java new file mode 100755 index 000000000..5eb47773f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLokalise.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceLokalise - The values required to configure the source. + */ +public class SourceLokalise { + /** + * Lokalise API Key with read-access. Available at Profile settings > API tokens. See <a href="https://docs.lokalise.com/en/articles/1929556-api-tokens">here</a>. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceLokalise withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Lokalise project ID. Available at Project Settings > General. + */ + @JsonProperty("project_id") + public String projectId; + public SourceLokalise withProjectId(String projectId) { + this.projectId = projectId; + return this; + } + + @JsonProperty("sourceType") + public SourceLokaliseLokaliseEnum sourceType; + public SourceLokalise withSourceType(SourceLokaliseLokaliseEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceLokaliseLokaliseEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceLokaliseLokaliseEnum.java new file mode 100755 index 000000000..df55fb3a9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceLokaliseLokaliseEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceLokaliseLokaliseEnum { + LOKALISE("lokalise"); + + @JsonValue + public final String value; + + private SourceLokaliseLokaliseEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java new file mode 100755 index 000000000..d1e720620 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMailchimp - The values required to configure the source. + */ +public class SourceMailchimp { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("campaign_id") + public String campaignId; + public SourceMailchimp withCampaignId(String campaignId) { + this.campaignId = campaignId; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceMailchimp withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceMailchimpMailchimpEnum sourceType; + public SourceMailchimp withSourceType(SourceMailchimpMailchimpEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsAPIKey.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsAPIKey.java new file mode 100755 index 000000000..3f02e0cd3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsAPIKey.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceMailchimpCredentialsAPIKey { + /** + * Mailchimp API Key. See the <a href="https://docs.airbyte.com/integrations/sources/mailchimp">docs</a> for information on how to generate this key. + */ + @JsonProperty("apikey") + public String apikey; + public SourceMailchimpCredentialsAPIKey withApikey(String apikey) { + this.apikey = apikey; + return this; + } + + @JsonProperty("auth_type") + public SourceMailchimpCredentialsAPIKeyAuthTypeEnum authType; + public SourceMailchimpCredentialsAPIKey withAuthType(SourceMailchimpCredentialsAPIKeyAuthTypeEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsAPIKeyAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsAPIKeyAuthTypeEnum.java new file mode 100755 index 000000000..8e502928a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsAPIKeyAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMailchimpCredentialsAPIKeyAuthTypeEnum { + APIKEY("apikey"); + + @JsonValue + public final String value; + + private SourceMailchimpCredentialsAPIKeyAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsOAuth20.java new file mode 100755 index 000000000..f5a78172a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsOAuth20.java @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceMailchimpCredentialsOAuth20 { + /** + * An access token generated using the above client ID and secret. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceMailchimpCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_type") + public SourceMailchimpCredentialsOAuth20AuthTypeEnum authType; + public SourceMailchimpCredentialsOAuth20 withAuthType(SourceMailchimpCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your OAuth application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + public String clientId; + public SourceMailchimpCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your OAuth application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + public String clientSecret; + public SourceMailchimpCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..15939d975 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMailchimpCredentialsOAuth20AuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceMailchimpCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimpEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimpEnum.java new file mode 100755 index 000000000..7a20bbe2a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimpEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMailchimpMailchimpEnum { + MAILCHIMP("mailchimp"); + + @JsonValue + public final String value; + + private SourceMailchimpMailchimpEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailgun.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailgun.java new file mode 100755 index 000000000..141b256ae --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailgun.java @@ -0,0 +1,61 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceMailgun - The values required to configure the source. + */ +public class SourceMailgun { + /** + * Domain region code. 'EU' or 'US' are possible values. The default is 'US'. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domain_region") + public String domainRegion; + public SourceMailgun withDomainRegion(String domainRegion) { + this.domainRegion = domainRegion; + return this; + } + + /** + * Primary account API key to access your Mailgun data. + */ + @JsonProperty("private_key") + public String privateKey; + public SourceMailgun withPrivateKey(String privateKey) { + this.privateKey = privateKey; + return this; + } + + @JsonProperty("sourceType") + public SourceMailgunMailgunEnum sourceType; + public SourceMailgun withSourceType(SourceMailgunMailgunEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceMailgun withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailgunMailgunEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailgunMailgunEnum.java new file mode 100755 index 000000000..9c20d7547 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailgunMailgunEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMailgunMailgunEnum { + MAILGUN("mailgun"); + + @JsonValue + public final String value; + + private SourceMailgunMailgunEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java new file mode 100755 index 000000000..307e07438 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMailjetSms - The values required to configure the source. + */ +public class SourceMailjetSms { + /** + * Retrieve SMS messages created before the specified timestamp. Required format - Unix timestamp. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + public Long endDate; + public SourceMailjetSms withEndDate(Long endDate) { + this.endDate = endDate; + return this; + } + + @JsonProperty("sourceType") + public SourceMailjetSmsMailjetSmsEnum sourceType; + public SourceMailjetSms withSourceType(SourceMailjetSmsMailjetSmsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Retrieve SMS messages created after the specified timestamp. Required format - Unix timestamp. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + public Long startDate; + public SourceMailjetSms withStartDate(Long startDate) { + this.startDate = startDate; + return this; + } + + /** + * Your access token. See <a href="https://dev.mailjet.com/sms/reference/overview/authentication">here</a>. + */ + @JsonProperty("token") + public String token; + public SourceMailjetSms withToken(String token) { + this.token = token; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMailjetSmsMailjetSmsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailjetSmsMailjetSmsEnum.java new file mode 100755 index 000000000..78eb90310 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMailjetSmsMailjetSmsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMailjetSmsMailjetSmsEnum { + MAILJET_SMS("mailjet-sms"); + + @JsonValue + public final String value; + + private SourceMailjetSmsMailjetSmsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMarketo.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMarketo.java new file mode 100755 index 000000000..38a0f9035 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMarketo.java @@ -0,0 +1,67 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceMarketo - The values required to configure the source. + */ +public class SourceMarketo { + /** + * The Client ID of your Marketo developer application. See <a href="https://docs.airbyte.com/integrations/sources/marketo"> the docs </a> for info on how to obtain this. + */ + @JsonProperty("client_id") + public String clientId; + public SourceMarketo withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Marketo developer application. See <a href="https://docs.airbyte.com/integrations/sources/marketo"> the docs </a> for info on how to obtain this. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceMarketo withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Your Marketo Base URL. See <a href="https://docs.airbyte.com/integrations/sources/marketo"> the docs </a> for info on how to obtain this. + */ + @JsonProperty("domain_url") + public String domainUrl; + public SourceMarketo withDomainUrl(String domainUrl) { + this.domainUrl = domainUrl; + return this; + } + + @JsonProperty("sourceType") + public SourceMarketoMarketoEnum sourceType; + public SourceMarketo withSourceType(SourceMarketoMarketoEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceMarketo withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMarketoMarketoEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMarketoMarketoEnum.java new file mode 100755 index 000000000..65d687c47 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMarketoMarketoEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMarketoMarketoEnum { + MARKETO("marketo"); + + @JsonValue + public final String value; + + private SourceMarketoMarketoEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMetabase.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMetabase.java new file mode 100755 index 000000000..12912dc96 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMetabase.java @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMetabase - The values required to configure the source. + */ +public class SourceMetabase { + /** + * URL to your metabase instance API + */ + @JsonProperty("instance_api_url") + public String instanceApiUrl; + public SourceMetabase withInstanceApiUrl(String instanceApiUrl) { + this.instanceApiUrl = instanceApiUrl; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceMetabase withPassword(String password) { + this.password = password; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("session_token") + public String sessionToken; + public SourceMetabase withSessionToken(String sessionToken) { + this.sessionToken = sessionToken; + return this; + } + + @JsonProperty("sourceType") + public SourceMetabaseMetabaseEnum sourceType; + public SourceMetabase withSourceType(SourceMetabaseMetabaseEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("username") + public String username; + public SourceMetabase withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMetabaseMetabaseEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMetabaseMetabaseEnum.java new file mode 100755 index 000000000..854fa4da9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMetabaseMetabaseEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMetabaseMetabaseEnum { + METABASE("metabase"); + + @JsonValue + public final String value; + + private SourceMetabaseMetabaseEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java new file mode 100755 index 000000000..d795bc85f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMicrosoftTeams - The values required to configure the source. + */ +public class SourceMicrosoftTeams { + /** + * Choose how to authenticate to Microsoft + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceMicrosoftTeams withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * Specifies the length of time over which the Team Device Report stream is aggregated. The supported values are: D7, D30, D90, and D180. + */ + @JsonProperty("period") + public String period; + public SourceMicrosoftTeams withPeriod(String period) { + this.period = period; + return this; + } + + @JsonProperty("sourceType") + public SourceMicrosoftTeamsMicrosoftTeamsEnum sourceType; + public SourceMicrosoftTeams withSourceType(SourceMicrosoftTeamsMicrosoftTeamsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft.java new file mode 100755 index 000000000..3366af537 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft - Choose how to authenticate to Microsoft + */ +public class SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthTypeEnum authType; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft withAuthType(SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your Microsoft Teams developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Microsoft Teams developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * 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 \u2026 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 + */ + @JsonProperty("tenant_id") + public String tenantId; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft withTenantId(String tenantId) { + this.tenantId = tenantId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthTypeEnum.java new file mode 100755 index 000000000..eeb991f02 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthTypeEnum { + TOKEN("Token"); + + @JsonValue + public final String value; + + private SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20.java new file mode 100755 index 000000000..860517354 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20 - Choose how to authenticate to Microsoft + */ +public class SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20 { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthTypeEnum authType; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20 withAuthType(SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your Microsoft Teams developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Microsoft Teams developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * A Refresh Token to renew the expired Access Token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * 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 \u2026 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 + */ + @JsonProperty("tenant_id") + public String tenantId; + public SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20 withTenantId(String tenantId) { + this.tenantId = tenantId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..999dafac0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthTypeEnum { + CLIENT("Client"); + + @JsonValue + public final String value; + + private SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeamsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeamsEnum.java new file mode 100755 index 000000000..0dba32902 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeamsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMicrosoftTeamsMicrosoftTeamsEnum { + MICROSOFT_TEAMS("microsoft-teams"); + + @JsonValue + public final String value; + + private SourceMicrosoftTeamsMicrosoftTeamsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java new file mode 100755 index 000000000..91c81c46c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceMixpanel - The values required to configure the source. + */ +public class 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("attribution_window") + public Long attributionWindow; + public SourceMixpanel withAttributionWindow(Long attributionWindow) { + this.attributionWindow = attributionWindow; + return this; + } + + /** + * Choose how to authenticate to Mixpanel + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceMixpanel withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("date_window_size") + public Long dateWindowSize; + public SourceMixpanel withDateWindowSize(Long dateWindowSize) { + this.dateWindowSize = dateWindowSize; + return this; + } + + /** + * 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) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("end_date") + public OffsetDateTime endDate; + public SourceMixpanel withEndDate(OffsetDateTime endDate) { + this.endDate = endDate; + return this; + } + + /** + * Your project ID number. See the <a href="https://help.mixpanel.com/hc/en-us/articles/115004490503-Project-Settings#project-id">docs</a> for more information on how to obtain this. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("project_id") + public Long projectId; + public SourceMixpanel withProjectId(Long projectId) { + this.projectId = projectId; + return this; + } + + /** + * 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") + public String projectTimezone; + public SourceMixpanel withProjectTimezone(String projectTimezone) { + this.projectTimezone = projectTimezone; + return this; + } + + /** + * The region of mixpanel domain instance either US or EU. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + public SourceMixpanelRegionEnum region; + public SourceMixpanel withRegion(SourceMixpanelRegionEnum region) { + this.region = region; + return this; + } + + /** + * Setting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("select_properties_by_default") + public Boolean selectPropertiesByDefault; + public SourceMixpanel withSelectPropertiesByDefault(Boolean selectPropertiesByDefault) { + this.selectPropertiesByDefault = selectPropertiesByDefault; + return this; + } + + @JsonProperty("sourceType") + public SourceMixpanelMixpanelEnum sourceType; + public SourceMixpanel withSourceType(SourceMixpanelMixpanelEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceMixpanel withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsProjectSecret.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsProjectSecret.java new file mode 100755 index 000000000..66724d4ac --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsProjectSecret.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMixpanelCredentialsProjectSecret - Choose how to authenticate to Mixpanel + */ +public class SourceMixpanelCredentialsProjectSecret { + /** + * Mixpanel project secret. See the <a href="https://developer.mixpanel.com/reference/project-secret#managing-a-projects-secret">docs</a> for more information on how to obtain this. + */ + @JsonProperty("api_secret") + public String apiSecret; + public SourceMixpanelCredentialsProjectSecret withApiSecret(String apiSecret) { + this.apiSecret = apiSecret; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("option_title") + public SourceMixpanelCredentialsProjectSecretOptionTitleEnum optionTitle; + public SourceMixpanelCredentialsProjectSecret withOptionTitle(SourceMixpanelCredentialsProjectSecretOptionTitleEnum optionTitle) { + this.optionTitle = optionTitle; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsProjectSecretOptionTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsProjectSecretOptionTitleEnum.java new file mode 100755 index 000000000..f759aca0e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsProjectSecretOptionTitleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMixpanelCredentialsProjectSecretOptionTitleEnum { + PROJECT_SECRET("Project Secret"); + + @JsonValue + public final String value; + + private SourceMixpanelCredentialsProjectSecretOptionTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsServiceAccount.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsServiceAccount.java new file mode 100755 index 000000000..563a750d8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsServiceAccount.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMixpanelCredentialsServiceAccount - Choose how to authenticate to Mixpanel + */ +public class SourceMixpanelCredentialsServiceAccount { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("option_title") + public SourceMixpanelCredentialsServiceAccountOptionTitleEnum optionTitle; + public SourceMixpanelCredentialsServiceAccount withOptionTitle(SourceMixpanelCredentialsServiceAccountOptionTitleEnum optionTitle) { + this.optionTitle = optionTitle; + return this; + } + + /** + * Mixpanel Service Account Secret. See the <a href="https://developer.mixpanel.com/reference/service-accounts">docs</a> for more information on how to obtain this. + */ + @JsonProperty("secret") + public String secret; + public SourceMixpanelCredentialsServiceAccount withSecret(String secret) { + this.secret = secret; + return this; + } + + /** + * Mixpanel Service Account Username. See the <a href="https://developer.mixpanel.com/reference/service-accounts">docs</a> for more information on how to obtain this. + */ + @JsonProperty("username") + public String username; + public SourceMixpanelCredentialsServiceAccount withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsServiceAccountOptionTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsServiceAccountOptionTitleEnum.java new file mode 100755 index 000000000..c46411bcc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelCredentialsServiceAccountOptionTitleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMixpanelCredentialsServiceAccountOptionTitleEnum { + SERVICE_ACCOUNT("Service Account"); + + @JsonValue + public final String value; + + private SourceMixpanelCredentialsServiceAccountOptionTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelMixpanelEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelMixpanelEnum.java new file mode 100755 index 000000000..ba226ba20 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelMixpanelEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMixpanelMixpanelEnum { + MIXPANEL("mixpanel"); + + @JsonValue + public final String value; + + private SourceMixpanelMixpanelEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegionEnum.java new file mode 100755 index 000000000..d27daa6ab --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegionEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMixpanelRegionEnum - The region of mixpanel domain instance either US or EU. + */ +public enum SourceMixpanelRegionEnum { + US("US"), + EU("EU"); + + @JsonValue + public final String value; + + private SourceMixpanelRegionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMonday.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMonday.java new file mode 100755 index 000000000..4d65cdcd5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMonday.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMonday - The values required to configure the source. + */ +public class SourceMonday { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceMonday withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceMondayMondayEnum sourceType; + public SourceMonday withSourceType(SourceMondayMondayEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsAPIToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsAPIToken.java new file mode 100755 index 000000000..be597657c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsAPIToken.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceMondayCredentialsAPIToken { + /** + * API Token for making authenticated requests. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceMondayCredentialsAPIToken withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("auth_type") + public SourceMondayCredentialsAPITokenAuthTypeEnum authType; + public SourceMondayCredentialsAPIToken withAuthType(SourceMondayCredentialsAPITokenAuthTypeEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsAPITokenAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsAPITokenAuthTypeEnum.java new file mode 100755 index 000000000..4ef000b82 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsAPITokenAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMondayCredentialsAPITokenAuthTypeEnum { + API_TOKEN("api_token"); + + @JsonValue + public final String value; + + private SourceMondayCredentialsAPITokenAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsOAuth20.java new file mode 100755 index 000000000..8a69b96f3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsOAuth20.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceMondayCredentialsOAuth20 { + /** + * Access Token for making authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceMondayCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_type") + public SourceMondayCredentialsOAuth20AuthTypeEnum authType; + public SourceMondayCredentialsOAuth20 withAuthType(SourceMondayCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your OAuth application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceMondayCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your OAuth application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceMondayCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Slug/subdomain of the account, or the first part of the URL that comes before .monday.com + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("subdomain") + public String subdomain; + public SourceMondayCredentialsOAuth20 withSubdomain(String subdomain) { + this.subdomain = subdomain; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..06f1e31bd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMondayCredentialsOAuth20AuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceMondayCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayMondayEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayMondayEnum.java new file mode 100755 index 000000000..a8c9532f8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMondayMondayEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMondayMondayEnum { + MONDAY("monday"); + + @JsonValue + public final String value; + + private SourceMondayMondayEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodb.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodb.java new file mode 100755 index 000000000..90d5d2fab --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodb.java @@ -0,0 +1,76 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMongodb - The values required to configure the source. + */ +public class SourceMongodb { + /** + * The authentication source where the user information is stored. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_source") + public String authSource; + public SourceMongodb withAuthSource(String authSource) { + this.authSource = authSource; + return this; + } + + /** + * The database you want to replicate. + */ + @JsonProperty("database") + public String database; + public SourceMongodb withDatabase(String database) { + this.database = database; + return this; + } + + /** + * The MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("instance_type") + public Object instanceType; + public SourceMongodb withInstanceType(Object instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * The password associated with this username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceMongodb withPassword(String password) { + this.password = password; + return this; + } + + @JsonProperty("sourceType") + public SourceMongodbMongodbEnum sourceType; + public SourceMongodb withSourceType(SourceMongodbMongodbEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The username which is used to access the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("user") + public String user; + public SourceMongodb withUser(String user) { + this.user = user; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeMongoDBAtlas.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeMongoDBAtlas.java new file mode 100755 index 000000000..ad6b95ccc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeMongoDBAtlas.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMongodbInstanceTypeMongoDBAtlas - The MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. + */ +public class SourceMongodbInstanceTypeMongoDBAtlas { + /** + * The URL of a cluster to connect to. + */ + @JsonProperty("cluster_url") + public String clusterUrl; + public SourceMongodbInstanceTypeMongoDBAtlas withClusterUrl(String clusterUrl) { + this.clusterUrl = clusterUrl; + return this; + } + + @JsonProperty("instance") + public SourceMongodbInstanceTypeMongoDBAtlasInstanceEnum instance; + public SourceMongodbInstanceTypeMongoDBAtlas withInstance(SourceMongodbInstanceTypeMongoDBAtlasInstanceEnum instance) { + this.instance = instance; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeMongoDBAtlasInstanceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeMongoDBAtlasInstanceEnum.java new file mode 100755 index 000000000..f8176719f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeMongoDBAtlasInstanceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMongodbInstanceTypeMongoDBAtlasInstanceEnum { + ATLAS("atlas"); + + @JsonValue + public final String value; + + private SourceMongodbInstanceTypeMongoDBAtlasInstanceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeReplicaSet.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeReplicaSet.java new file mode 100755 index 000000000..0e20eea48 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeReplicaSet.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMongodbInstanceTypeReplicaSet - The MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. + */ +public class SourceMongodbInstanceTypeReplicaSet { + @JsonProperty("instance") + public SourceMongodbInstanceTypeReplicaSetInstanceEnum instance; + public SourceMongodbInstanceTypeReplicaSet withInstance(SourceMongodbInstanceTypeReplicaSetInstanceEnum instance) { + this.instance = instance; + return this; + } + + /** + * A replica set in MongoDB is a group of mongod processes that maintain the same data set. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("replica_set") + public String replicaSet; + public SourceMongodbInstanceTypeReplicaSet withReplicaSet(String replicaSet) { + this.replicaSet = replicaSet; + return this; + } + + /** + * The members of a replica set. Please specify `host`:`port` of each member separated by comma. + */ + @JsonProperty("server_addresses") + public String serverAddresses; + public SourceMongodbInstanceTypeReplicaSet withServerAddresses(String serverAddresses) { + this.serverAddresses = serverAddresses; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeReplicaSetInstanceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeReplicaSetInstanceEnum.java new file mode 100755 index 000000000..ca1606293 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeReplicaSetInstanceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMongodbInstanceTypeReplicaSetInstanceEnum { + REPLICA("replica"); + + @JsonValue + public final String value; + + private SourceMongodbInstanceTypeReplicaSetInstanceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeStandaloneMongoDbInstance.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeStandaloneMongoDbInstance.java new file mode 100755 index 000000000..1d39450e0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeStandaloneMongoDbInstance.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMongodbInstanceTypeStandaloneMongoDbInstance - The MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. + */ +public class SourceMongodbInstanceTypeStandaloneMongoDbInstance { + /** + * The host name of the Mongo database. + */ + @JsonProperty("host") + public String host; + public SourceMongodbInstanceTypeStandaloneMongoDbInstance withHost(String host) { + this.host = host; + return this; + } + + @JsonProperty("instance") + public SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum instance; + public SourceMongodbInstanceTypeStandaloneMongoDbInstance withInstance(SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum instance) { + this.instance = instance; + return this; + } + + /** + * The port of the Mongo database. + */ + @JsonProperty("port") + public Long port; + public SourceMongodbInstanceTypeStandaloneMongoDbInstance withPort(Long port) { + this.port = port; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum.java new file mode 100755 index 000000000..91be3ef1d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum { + STANDALONE("standalone"); + + @JsonValue + public final String value; + + private SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstanceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbMongodbEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbMongodbEnum.java new file mode 100755 index 000000000..b96cee74a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMongodbMongodbEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMongodbMongodbEnum { + MONGODB("mongodb"); + + @JsonValue + public final String value; + + private SourceMongodbMongodbEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssql.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssql.java new file mode 100755 index 000000000..05f6d15d0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssql.java @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMssql - The values required to configure the source. + */ +public class SourceMssql { + /** + * The name of the database. + */ + @JsonProperty("database") + public String database; + public SourceMssql withDatabase(String database) { + this.database = database; + return this; + } + + /** + * The hostname of the database. + */ + @JsonProperty("host") + public String host; + public SourceMssql withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public SourceMssql withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * The password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceMssql withPassword(String password) { + this.password = password; + return this; + } + + /** + * The port of the database. + */ + @JsonProperty("port") + public Long port; + public SourceMssql withPort(Long port) { + this.port = port; + return this; + } + + /** + * The replication method used for extracting data from the database. STANDARD replication requires no setup on the DB side but will not be able to represent deletions incrementally. CDC uses {TBC} to detect inserts, updates, and deletes. This needs to be configured on the source database itself. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("replication_method") + public Object replicationMethod; + public SourceMssql withReplicationMethod(Object replicationMethod) { + this.replicationMethod = replicationMethod; + return this; + } + + /** + * The list of schemas to sync from. Defaults to user. Case sensitive. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schemas") + public String[] schemas; + public SourceMssql withSchemas(String[] schemas) { + this.schemas = schemas; + return this; + } + + @JsonProperty("sourceType") + public SourceMssqlMssqlEnum sourceType; + public SourceMssql withSourceType(SourceMssqlMssqlEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The encryption method which is used when communicating with the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl_method") + public Object sslMethod; + public SourceMssql withSslMethod(Object sslMethod) { + this.sslMethod = sslMethod; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public SourceMssql withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * The username which is used to access the database. + */ + @JsonProperty("username") + public String username; + public SourceMssql withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlMssqlEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlMssqlEnum.java new file mode 100755 index 000000000..35cc61261 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlMssqlEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMssqlMssqlEnum { + MSSQL("mssql"); + + @JsonValue + public final String value; + + private SourceMssqlMssqlEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDC.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDC.java new file mode 100755 index 000000000..6687f3f29 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDC.java @@ -0,0 +1,55 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMssqlReplicationMethodLogicalReplicationCDC - CDC uses {TBC} to detect inserts, updates, and deletes. This needs to be configured on the source database itself. + */ +public class SourceMssqlReplicationMethodLogicalReplicationCDC { + /** + * What data should be synced under the CDC. "Existing and New" will read existing data as a snapshot, and sync new changes through CDC. "New Changes Only" will skip the initial snapshot, and only sync new changes through CDC. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data_to_sync") + public SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum dataToSync; + public SourceMssqlReplicationMethodLogicalReplicationCDC withDataToSync(SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum dataToSync) { + this.dataToSync = dataToSync; + 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 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") + public Long initialWaitingSeconds; + public SourceMssqlReplicationMethodLogicalReplicationCDC withInitialWaitingSeconds(Long initialWaitingSeconds) { + this.initialWaitingSeconds = initialWaitingSeconds; + return this; + } + + @JsonProperty("method") + public SourceMssqlReplicationMethodLogicalReplicationCDCMethodEnum method; + public SourceMssqlReplicationMethodLogicalReplicationCDC withMethod(SourceMssqlReplicationMethodLogicalReplicationCDCMethodEnum method) { + this.method = method; + return this; + } + + /** + * Existing data in the database are synced through an initial snapshot. This parameter controls the isolation level that will be used during the initial snapshotting. If you choose the "Snapshot" level, you must enable the <a href="https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/sql/snapshot-isolation-in-sql-server">snapshot isolation mode</a> on the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("snapshot_isolation") + public SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum snapshotIsolation; + public SourceMssqlReplicationMethodLogicalReplicationCDC withSnapshotIsolation(SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum snapshotIsolation) { + this.snapshotIsolation = snapshotIsolation; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum.java new file mode 100755 index 000000000..f4a84b119 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum - What data should be synced under the CDC. "Existing and New" will read existing data as a snapshot, and sync new changes through CDC. "New Changes Only" will skip the initial snapshot, and only sync new changes through CDC. + */ +public enum SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum { + EXISTING_AND_NEW("Existing and New"), + NEW_CHANGES_ONLY("New Changes Only"); + + @JsonValue + public final String value; + + private SourceMssqlReplicationMethodLogicalReplicationCDCDataToSyncEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum.java new file mode 100755 index 000000000..61e271222 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum - Existing data in the database are synced through an initial snapshot. This parameter controls the isolation level that will be used during the initial snapshotting. If you choose the "Snapshot" level, you must enable the <a href="https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/sql/snapshot-isolation-in-sql-server">snapshot isolation mode</a> on the database. + */ +public enum SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum { + SNAPSHOT("Snapshot"), + READ_COMMITTED("Read Committed"); + + @JsonValue + public final String value; + + private SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevelEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCMethodEnum.java new file mode 100755 index 000000000..609a4b068 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodLogicalReplicationCDCMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMssqlReplicationMethodLogicalReplicationCDCMethodEnum { + CDC("CDC"); + + @JsonValue + public final String value; + + private SourceMssqlReplicationMethodLogicalReplicationCDCMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodStandard.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodStandard.java new file mode 100755 index 000000000..51df91251 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodStandard.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMssqlReplicationMethodStandard - Standard replication requires no setup on the DB side but will not be able to represent deletions incrementally. + */ +public class SourceMssqlReplicationMethodStandard { + @JsonProperty("method") + public SourceMssqlReplicationMethodStandardMethodEnum method; + public SourceMssqlReplicationMethodStandard withMethod(SourceMssqlReplicationMethodStandardMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodStandardMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodStandardMethodEnum.java new file mode 100755 index 000000000..11a7db730 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlReplicationMethodStandardMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMssqlReplicationMethodStandardMethodEnum { + STANDARD("STANDARD"); + + @JsonValue + public final String value; + + private SourceMssqlReplicationMethodStandardMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedTrustServerCertificate.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedTrustServerCertificate.java new file mode 100755 index 000000000..2802cdc3b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedTrustServerCertificate.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMssqlSslMethodEncryptedTrustServerCertificate - Use the certificate provided by the server without verification. (For testing purposes only!) + */ +public class SourceMssqlSslMethodEncryptedTrustServerCertificate { + @JsonProperty("ssl_method") + public SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum sslMethod; + public SourceMssqlSslMethodEncryptedTrustServerCertificate withSslMethod(SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum sslMethod) { + this.sslMethod = sslMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum.java new file mode 100755 index 000000000..b478d3b83 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum { + ENCRYPTED_TRUST_SERVER_CERTIFICATE("encrypted_trust_server_certificate"); + + @JsonValue + public final String value; + + private SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedVerifyCertificate.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedVerifyCertificate.java new file mode 100755 index 000000000..ed19b50fd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedVerifyCertificate.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMssqlSslMethodEncryptedVerifyCertificate - Verify and use the certificate provided by the server. + */ +public class SourceMssqlSslMethodEncryptedVerifyCertificate { + /** + * 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") + public String hostNameInCertificate; + public SourceMssqlSslMethodEncryptedVerifyCertificate withHostNameInCertificate(String hostNameInCertificate) { + this.hostNameInCertificate = hostNameInCertificate; + return this; + } + + @JsonProperty("ssl_method") + public SourceMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum sslMethod; + public SourceMssqlSslMethodEncryptedVerifyCertificate withSslMethod(SourceMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum sslMethod) { + this.sslMethod = sslMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum.java new file mode 100755 index 000000000..5a81d0637 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum { + ENCRYPTED_VERIFY_CERTIFICATE("encrypted_verify_certificate"); + + @JsonValue + public final String value; + + private SourceMssqlSslMethodEncryptedVerifyCertificateSslMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodNoTunnel.java new file mode 100755 index 000000000..890767231 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMssqlTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceMssqlTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public SourceMssqlTunnelMethodNoTunnel withTunnelMethod(SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..967283a9b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private SourceMssqlTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..c38b08d6d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMssqlTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceMssqlTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceMssqlTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public SourceMssqlTunnelMethodPasswordAuthentication withTunnelMethod(SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceMssqlTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceMssqlTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public SourceMssqlTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..60b2be5dc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..3f851598a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMssqlTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceMssqlTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public SourceMssqlTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceMssqlTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public SourceMssqlTunnelMethodSSHKeyAuthentication withTunnelMethod(SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceMssqlTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceMssqlTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..e67e88e04 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMyHours.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMyHours.java new file mode 100755 index 000000000..d47a9891c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMyHours.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMyHours - The values required to configure the source. + */ +public class SourceMyHours { + /** + * Your My Hours username + */ + @JsonProperty("email") + public String email; + public SourceMyHours withEmail(String email) { + this.email = email; + return this; + } + + /** + * Pagination size used for retrieving logs in days + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("logs_batch_size") + public Long logsBatchSize; + public SourceMyHours withLogsBatchSize(Long logsBatchSize) { + this.logsBatchSize = logsBatchSize; + return this; + } + + /** + * The password associated to the username + */ + @JsonProperty("password") + public String password; + public SourceMyHours withPassword(String password) { + this.password = password; + return this; + } + + @JsonProperty("sourceType") + public SourceMyHoursMyHoursEnum sourceType; + public SourceMyHours withSourceType(SourceMyHoursMyHoursEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start date for collecting time logs + */ + @JsonProperty("start_date") + public String startDate; + public SourceMyHours withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMyHoursMyHoursEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMyHoursMyHoursEnum.java new file mode 100755 index 000000000..eddbe384f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMyHoursMyHoursEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMyHoursMyHoursEnum { + MY_HOURS("my-hours"); + + @JsonValue + public final String value; + + private SourceMyHoursMyHoursEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysql.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysql.java new file mode 100755 index 000000000..2cb7db351 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysql.java @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysql - The values required to configure the source. + */ +public class SourceMysql { + /** + * The database name. + */ + @JsonProperty("database") + public String database; + public SourceMysql withDatabase(String database) { + this.database = database; + return this; + } + + /** + * The host name of the database. + */ + @JsonProperty("host") + public String host; + public SourceMysql withHost(String host) { + this.host = host; + return this; + } + + /** + * 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public SourceMysql withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * The password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceMysql withPassword(String password) { + this.password = password; + return this; + } + + /** + * The port to connect to. + */ + @JsonProperty("port") + public Long port; + public SourceMysql withPort(Long port) { + this.port = port; + return this; + } + + /** + * Replication method to use for extracting data from the database. + */ + @JsonProperty("replication_method") + public Object replicationMethod; + public SourceMysql withReplicationMethod(Object replicationMethod) { + this.replicationMethod = replicationMethod; + return this; + } + + @JsonProperty("sourceType") + public SourceMysqlMysqlEnum sourceType; + public SourceMysql withSourceType(SourceMysqlMysqlEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl_mode") + public Object sslMode; + public SourceMysql withSslMode(Object sslMode) { + this.sslMode = sslMode; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public SourceMysql withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * The username which is used to access the database. + */ + @JsonProperty("username") + public String username; + public SourceMysql withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlMysqlEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlMysqlEnum.java new file mode 100755 index 000000000..974545f8a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlMysqlEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMysqlMysqlEnum { + MYSQL("mysql"); + + @JsonValue + public final String value; + + private SourceMysqlMysqlEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodLogicalReplicationCDC.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodLogicalReplicationCDC.java new file mode 100755 index 000000000..c3abd0ae1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodLogicalReplicationCDC.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlReplicationMethodLogicalReplicationCDC - CDC uses the Binlog to detect inserts, updates, and deletes. This needs to be configured on the source database itself. + */ +public class SourceMysqlReplicationMethodLogicalReplicationCDC { + /** + * 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") + public Long initialWaitingSeconds; + public SourceMysqlReplicationMethodLogicalReplicationCDC withInitialWaitingSeconds(Long initialWaitingSeconds) { + this.initialWaitingSeconds = initialWaitingSeconds; + return this; + } + + @JsonProperty("method") + public SourceMysqlReplicationMethodLogicalReplicationCDCMethodEnum method; + public SourceMysqlReplicationMethodLogicalReplicationCDC withMethod(SourceMysqlReplicationMethodLogicalReplicationCDCMethodEnum method) { + this.method = method; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("server_time_zone") + public String serverTimeZone; + public SourceMysqlReplicationMethodLogicalReplicationCDC withServerTimeZone(String serverTimeZone) { + this.serverTimeZone = serverTimeZone; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodLogicalReplicationCDCMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodLogicalReplicationCDCMethodEnum.java new file mode 100755 index 000000000..0f57246d3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodLogicalReplicationCDCMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMysqlReplicationMethodLogicalReplicationCDCMethodEnum { + CDC("CDC"); + + @JsonValue + public final String value; + + private SourceMysqlReplicationMethodLogicalReplicationCDCMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodStandard.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodStandard.java new file mode 100755 index 000000000..7d1bc5a55 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodStandard.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlReplicationMethodStandard - Standard replication requires no setup on the DB side but will not be able to represent deletions incrementally. + */ +public class SourceMysqlReplicationMethodStandard { + @JsonProperty("method") + public SourceMysqlReplicationMethodStandardMethodEnum method; + public SourceMysqlReplicationMethodStandard withMethod(SourceMysqlReplicationMethodStandardMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodStandardMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodStandardMethodEnum.java new file mode 100755 index 000000000..a6b03ef29 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlReplicationMethodStandardMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMysqlReplicationMethodStandardMethodEnum { + STANDARD("STANDARD"); + + @JsonValue + public final String value; + + private SourceMysqlReplicationMethodStandardMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModePreferred.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModePreferred.java new file mode 100755 index 000000000..569c1d572 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModePreferred.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlSslModePreferred - Automatically attempt SSL connection. If the MySQL server does not support SSL, continue with a regular connection. + */ +public class SourceMysqlSslModePreferred { + @JsonProperty("mode") + public SourceMysqlSslModePreferredModeEnum mode; + public SourceMysqlSslModePreferred withMode(SourceMysqlSslModePreferredModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModePreferredModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModePreferredModeEnum.java new file mode 100755 index 000000000..f92402909 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModePreferredModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMysqlSslModePreferredModeEnum { + PREFERRED("preferred"); + + @JsonValue + public final String value; + + private SourceMysqlSslModePreferredModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeRequired.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeRequired.java new file mode 100755 index 000000000..1c5d1ed4e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeRequired.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlSslModeRequired - Always connect with SSL. If the MySQL server doesn\u2019t support SSL, the connection will not be established. Certificate Authority (CA) and Hostname are not verified. + */ +public class SourceMysqlSslModeRequired { + @JsonProperty("mode") + public SourceMysqlSslModeRequiredModeEnum mode; + public SourceMysqlSslModeRequired withMode(SourceMysqlSslModeRequiredModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeRequiredModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeRequiredModeEnum.java new file mode 100755 index 000000000..64bdb52d3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeRequiredModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMysqlSslModeRequiredModeEnum { + REQUIRED("required"); + + @JsonValue + public final String value; + + private SourceMysqlSslModeRequiredModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyCA.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyCA.java new file mode 100755 index 000000000..0c2c861a8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyCA.java @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlSslModeVerifyCA - Always connect with SSL. Verifies CA, but allows connection even if Hostname does not match. + */ +public class SourceMysqlSslModeVerifyCA { + /** + * CA certificate + */ + @JsonProperty("ca_certificate") + public String caCertificate; + public SourceMysqlSslModeVerifyCA withCaCertificate(String caCertificate) { + this.caCertificate = caCertificate; + return this; + } + + /** + * 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) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_certificate") + public String clientCertificate; + public SourceMysqlSslModeVerifyCA withClientCertificate(String clientCertificate) { + this.clientCertificate = clientCertificate; + return this; + } + + /** + * 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") + public String clientKey; + public SourceMysqlSslModeVerifyCA withClientKey(String clientKey) { + this.clientKey = clientKey; + return this; + } + + /** + * 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") + public String clientKeyPassword; + public SourceMysqlSslModeVerifyCA withClientKeyPassword(String clientKeyPassword) { + this.clientKeyPassword = clientKeyPassword; + return this; + } + + @JsonProperty("mode") + public SourceMysqlSslModeVerifyCAModeEnum mode; + public SourceMysqlSslModeVerifyCA withMode(SourceMysqlSslModeVerifyCAModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyCAModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyCAModeEnum.java new file mode 100755 index 000000000..f7ad19512 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyCAModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMysqlSslModeVerifyCAModeEnum { + VERIFY_CA("verify_ca"); + + @JsonValue + public final String value; + + private SourceMysqlSslModeVerifyCAModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyIdentity.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyIdentity.java new file mode 100755 index 000000000..ce08deaf3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyIdentity.java @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlSslModeVerifyIdentity - Always connect with SSL. Verify both CA and Hostname. + */ +public class SourceMysqlSslModeVerifyIdentity { + /** + * CA certificate + */ + @JsonProperty("ca_certificate") + public String caCertificate; + public SourceMysqlSslModeVerifyIdentity withCaCertificate(String caCertificate) { + this.caCertificate = caCertificate; + return this; + } + + /** + * 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) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_certificate") + public String clientCertificate; + public SourceMysqlSslModeVerifyIdentity withClientCertificate(String clientCertificate) { + this.clientCertificate = clientCertificate; + return this; + } + + /** + * 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") + public String clientKey; + public SourceMysqlSslModeVerifyIdentity withClientKey(String clientKey) { + this.clientKey = clientKey; + return this; + } + + /** + * 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") + public String clientKeyPassword; + public SourceMysqlSslModeVerifyIdentity withClientKeyPassword(String clientKeyPassword) { + this.clientKeyPassword = clientKeyPassword; + return this; + } + + @JsonProperty("mode") + public SourceMysqlSslModeVerifyIdentityModeEnum mode; + public SourceMysqlSslModeVerifyIdentity withMode(SourceMysqlSslModeVerifyIdentityModeEnum mode) { + this.mode = mode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyIdentityModeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyIdentityModeEnum.java new file mode 100755 index 000000000..ea7ccac35 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlSslModeVerifyIdentityModeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceMysqlSslModeVerifyIdentityModeEnum { + VERIFY_IDENTITY("verify_identity"); + + @JsonValue + public final String value; + + private SourceMysqlSslModeVerifyIdentityModeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodNoTunnel.java new file mode 100755 index 000000000..114cbb1e9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceMysqlTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public SourceMysqlTunnelMethodNoTunnel withTunnelMethod(SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..784e2735c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private SourceMysqlTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..de730d0cf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceMysqlTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceMysqlTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public SourceMysqlTunnelMethodPasswordAuthentication withTunnelMethod(SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceMysqlTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceMysqlTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public SourceMysqlTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..1e2e908f4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..0982bb840 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceMysqlTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceMysqlTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public SourceMysqlTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceMysqlTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public SourceMysqlTunnelMethodSSHKeyAuthentication withTunnelMethod(SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceMysqlTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceMysqlTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..e54fb41f3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java new file mode 100755 index 000000000..fd18cf293 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java @@ -0,0 +1,104 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceNetsuite - The values required to configure the source. + */ +public class SourceNetsuite { + /** + * Consumer key associated with your integration + */ + @JsonProperty("consumer_key") + public String consumerKey; + public SourceNetsuite withConsumerKey(String consumerKey) { + this.consumerKey = consumerKey; + return this; + } + + /** + * Consumer secret associated with your integration + */ + @JsonProperty("consumer_secret") + public String consumerSecret; + public SourceNetsuite withConsumerSecret(String consumerSecret) { + this.consumerSecret = consumerSecret; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("object_types") + public String[] objectTypes; + public SourceNetsuite withObjectTypes(String[] objectTypes) { + this.objectTypes = objectTypes; + return this; + } + + /** + * Netsuite realm e.g. 2344535, as for `production` or 2344535_SB1, as for the `sandbox` + */ + @JsonProperty("realm") + public String realm; + public SourceNetsuite withRealm(String realm) { + this.realm = realm; + return this; + } + + @JsonProperty("sourceType") + public SourceNetsuiteNetsuiteEnum sourceType; + public SourceNetsuite withSourceType(SourceNetsuiteNetsuiteEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Starting point for your data replication, in format of "YYYY-MM-DDTHH:mm:ssZ" + */ + @JsonProperty("start_datetime") + public String startDatetime; + public SourceNetsuite withStartDatetime(String startDatetime) { + this.startDatetime = startDatetime; + return this; + } + + /** + * Access token key + */ + @JsonProperty("token_key") + public String tokenKey; + public SourceNetsuite withTokenKey(String tokenKey) { + this.tokenKey = tokenKey; + return this; + } + + /** + * Access token secret + */ + @JsonProperty("token_secret") + public String tokenSecret; + public SourceNetsuite withTokenSecret(String tokenSecret) { + this.tokenSecret = tokenSecret; + return this; + } + + /** + * The amount of days used to query the data with date chunks. Set smaller value, if you have lots of data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("window_in_days") + public Long windowInDays; + public SourceNetsuite withWindowInDays(Long windowInDays) { + this.windowInDays = windowInDays; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNetsuiteNetsuiteEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNetsuiteNetsuiteEnum.java new file mode 100755 index 000000000..2aa52ab0b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNetsuiteNetsuiteEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceNetsuiteNetsuiteEnum { + NETSUITE("netsuite"); + + @JsonValue + public final String value; + + private SourceNetsuiteNetsuiteEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNotion.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotion.java new file mode 100755 index 000000000..db4e54dd0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotion.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceNotion - The values required to configure the source. + */ +public class SourceNotion { + /** + * Pick an authentication method. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceNotion withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceNotionNotionEnum sourceType; + public SourceNotion withSourceType(SourceNotionNotionEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00.000Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceNotion withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsAccessToken.java new file mode 100755 index 000000000..32500131f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsAccessToken.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceNotionCredentialsAccessToken - Pick an authentication method. + */ +public class SourceNotionCredentialsAccessToken { + @JsonProperty("auth_type") + public SourceNotionCredentialsAccessTokenAuthTypeEnum authType; + public SourceNotionCredentialsAccessToken withAuthType(SourceNotionCredentialsAccessTokenAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * Notion API access token, see the <a href="https://developers.notion.com/docs/authorization">docs</a> for more information on how to obtain this token. + */ + @JsonProperty("token") + public String token; + public SourceNotionCredentialsAccessToken withToken(String token) { + this.token = token; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsAccessTokenAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsAccessTokenAuthTypeEnum.java new file mode 100755 index 000000000..d5369bb2c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsAccessTokenAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceNotionCredentialsAccessTokenAuthTypeEnum { + TOKEN("token"); + + @JsonValue + public final String value; + + private SourceNotionCredentialsAccessTokenAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsOAuth20.java new file mode 100755 index 000000000..1dc8d7561 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsOAuth20.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceNotionCredentialsOAuth20 - Pick an authentication method. + */ +public class SourceNotionCredentialsOAuth20 { + /** + * Access Token is a token you received by complete the OauthWebFlow of Notion. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceNotionCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_type") + public SourceNotionCredentialsOAuth20AuthTypeEnum authType; + public SourceNotionCredentialsOAuth20 withAuthType(SourceNotionCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The ClientID of your Notion integration. + */ + @JsonProperty("client_id") + public String clientId; + public SourceNotionCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The ClientSecret of your Notion integration. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceNotionCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..eed23d748 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceNotionCredentialsOAuth20AuthTypeEnum { + O_AUTH20("OAuth2.0"); + + @JsonValue + public final String value; + + private SourceNotionCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionNotionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionNotionEnum.java new file mode 100755 index 000000000..fcdd13d85 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNotionNotionEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceNotionNotionEnum { + NOTION("notion"); + + @JsonValue + public final String value; + + private SourceNotionNotionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimes.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimes.java new file mode 100755 index 000000000..fb977d834 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimes.java @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceNytimes - The values required to configure the source. + */ +public class SourceNytimes { + /** + * API Key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceNytimes withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * End date to stop the article retrieval (format YYYY-MM) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("end_date") + public LocalDate endDate; + public SourceNytimes withEndDate(LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * Period of time (in days) + */ + @JsonProperty("period") + public SourceNytimesPeriodUsedForMostPopularStreamsEnum period; + public SourceNytimes withPeriod(SourceNytimesPeriodUsedForMostPopularStreamsEnum period) { + this.period = period; + return this; + } + + /** + * Share Type + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("share_type") + public SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum shareType; + public SourceNytimes withShareType(SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum shareType) { + this.shareType = shareType; + return this; + } + + @JsonProperty("sourceType") + public SourceNytimesNytimesEnum sourceType; + public SourceNytimes withSourceType(SourceNytimesNytimesEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start date to begin the article retrieval (format YYYY-MM) + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceNytimes withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesNytimesEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesNytimesEnum.java new file mode 100755 index 000000000..0cb4cc33b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesNytimesEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceNytimesNytimesEnum { + NYTIMES("nytimes"); + + @JsonValue + public final String value; + + private SourceNytimesNytimesEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesPeriodUsedForMostPopularStreamsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesPeriodUsedForMostPopularStreamsEnum.java new file mode 100755 index 000000000..75f14f843 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesPeriodUsedForMostPopularStreamsEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceNytimesPeriodUsedForMostPopularStreamsEnum - Period of time (in days) + */ +public enum SourceNytimesPeriodUsedForMostPopularStreamsEnum { + ONE("1"), + SEVEN("7"), + THIRTY("30"); + + @JsonValue + public final String value; + + private SourceNytimesPeriodUsedForMostPopularStreamsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum.java new file mode 100755 index 000000000..1d33bdb89 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum - Share Type + */ +public enum SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum { + FACEBOOK("facebook"); + + @JsonValue + public final String value; + + private SourceNytimesShareTypeUsedForMostPopularSharedStreamEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOkta.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOkta.java new file mode 100755 index 000000000..760b77022 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOkta.java @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOkta - The values required to configure the source. + */ +public class SourceOkta { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceOkta withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * The Okta domain. See the <a href="https://docs.airbyte.com/integrations/sources/okta">docs</a> for instructions on how to find it. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domain") + public String domain; + public SourceOkta withDomain(String domain) { + this.domain = domain; + return this; + } + + @JsonProperty("sourceType") + public SourceOktaOktaEnum sourceType; + public SourceOkta withSourceType(SourceOktaOktaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format YYYY-MM-DDTHH:MM:SSZ. Any data before this date will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + public String startDate; + public SourceOkta withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsAPIToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsAPIToken.java new file mode 100755 index 000000000..69225aa38 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsAPIToken.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceOktaCredentialsAPIToken { + /** + * An Okta token. See the <a href="https://docs.airbyte.com/integrations/sources/okta">docs</a> for instructions on how to generate it. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceOktaCredentialsAPIToken withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("auth_type") + public SourceOktaCredentialsAPITokenAuthTypeEnum authType; + public SourceOktaCredentialsAPIToken withAuthType(SourceOktaCredentialsAPITokenAuthTypeEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsAPITokenAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsAPITokenAuthTypeEnum.java new file mode 100755 index 000000000..1ddc333d8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsAPITokenAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOktaCredentialsAPITokenAuthTypeEnum { + API_TOKEN("api_token"); + + @JsonValue + public final String value; + + private SourceOktaCredentialsAPITokenAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsOAuth20.java new file mode 100755 index 000000000..5ecbf7c19 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsOAuth20.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceOktaCredentialsOAuth20 { + @JsonProperty("auth_type") + public SourceOktaCredentialsOAuth20AuthTypeEnum authType; + public SourceOktaCredentialsOAuth20 withAuthType(SourceOktaCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your OAuth application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceOktaCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your OAuth application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceOktaCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token to obtain new Access Token, when it's expired. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceOktaCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..51190f670 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOktaCredentialsOAuth20AuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceOktaCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaOktaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaOktaEnum.java new file mode 100755 index 000000000..60b9b9d0d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOktaOktaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOktaOktaEnum { + OKTA("okta"); + + @JsonValue + public final String value; + + private SourceOktaOktaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java new file mode 100755 index 000000000..9ad3535e8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOmnisend - The values required to configure the source. + */ +public class SourceOmnisend { + /** + * API Key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceOmnisend withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceOmnisendOmnisendEnum sourceType; + public SourceOmnisend withSourceType(SourceOmnisendOmnisendEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOmnisendOmnisendEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOmnisendOmnisendEnum.java new file mode 100755 index 000000000..79c686492 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOmnisendOmnisendEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOmnisendOmnisendEnum { + OMNISEND("omnisend"); + + @JsonValue + public final String value; + + private SourceOmnisendOmnisendEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java new file mode 100755 index 000000000..5f8a6e194 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java @@ -0,0 +1,67 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceOnesignal - The values required to configure the source. + */ +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") + public SourceOnesignalApplications[] applications; + public SourceOnesignal withApplications(SourceOnesignalApplications[] applications) { + this.applications = applications; + return this; + } + + /** + * 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 + */ + @JsonProperty("outcome_names") + public String outcomeNames; + public SourceOnesignal withOutcomeNames(String outcomeNames) { + this.outcomeNames = outcomeNames; + return this; + } + + @JsonProperty("sourceType") + public SourceOnesignalOnesignalEnum sourceType; + public SourceOnesignal withSourceType(SourceOnesignalOnesignalEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceOnesignal withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * OneSignal User Auth Key, see the <a href="https://documentation.onesignal.com/docs/accounts-and-keys#user-auth-key">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("user_auth_key") + public String userAuthKey; + public SourceOnesignal withUserAuthKey(String userAuthKey) { + this.userAuthKey = userAuthKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignalApplications.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignalApplications.java new file mode 100755 index 000000000..a1aee1bc5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignalApplications.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceOnesignalApplications { + @JsonProperty("app_api_key") + public String appApiKey; + public SourceOnesignalApplications withAppApiKey(String appApiKey) { + this.appApiKey = appApiKey; + return this; + } + + @JsonProperty("app_id") + public String appId; + public SourceOnesignalApplications withAppId(String appId) { + this.appId = appId; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("app_name") + public String appName; + public SourceOnesignalApplications withAppName(String appName) { + this.appName = appName; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignalOnesignalEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignalOnesignalEnum.java new file mode 100755 index 000000000..87920455e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOnesignalOnesignalEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOnesignalOnesignalEnum { + ONESIGNAL("onesignal"); + + @JsonValue + public final String value; + + private SourceOnesignalOnesignalEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java new file mode 100755 index 000000000..b68976df7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOpenweather - The values required to configure the source. + */ +public class SourceOpenweather { + /** + * Your OpenWeather API Key. See <a href="https://openweathermap.org/api">here</a>. The key is case sensitive. + */ + @JsonProperty("appid") + public String appid; + public SourceOpenweather withAppid(String 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lang") + public SourceOpenweatherLanguageEnum lang; + public SourceOpenweather withLang(SourceOpenweatherLanguageEnum lang) { + this.lang = lang; + return this; + } + + /** + * Latitude for which you want to get weather condition from. (min -90, max 90) + */ + @JsonProperty("lat") + public String lat; + public SourceOpenweather withLat(String lat) { + this.lat = lat; + return this; + } + + /** + * Longitude for which you want to get weather condition from. (min -180, max 180) + */ + @JsonProperty("lon") + public String lon; + public SourceOpenweather withLon(String lon) { + this.lon = lon; + return this; + } + + @JsonProperty("sourceType") + public SourceOpenweatherOpenweatherEnum sourceType; + public SourceOpenweather withSourceType(SourceOpenweatherOpenweatherEnum sourceType) { + this.sourceType = sourceType; + 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("units") + public SourceOpenweatherUnitsEnum units; + public SourceOpenweather withUnits(SourceOpenweatherUnitsEnum units) { + this.units = units; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherLanguageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherLanguageEnum.java new file mode 100755 index 000000000..5c6815571 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherLanguageEnum.java @@ -0,0 +1,69 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceOpenweatherLanguageEnum - 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 SourceOpenweatherLanguageEnum { + 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 + public final String value; + + private SourceOpenweatherLanguageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherOpenweatherEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherOpenweatherEnum.java new file mode 100755 index 000000000..db7943954 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherOpenweatherEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOpenweatherOpenweatherEnum { + OPENWEATHER("openweather"); + + @JsonValue + public final String value; + + private SourceOpenweatherOpenweatherEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherUnitsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherUnitsEnum.java new file mode 100755 index 000000000..97cd6b5a0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOpenweatherUnitsEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceOpenweatherUnitsEnum - 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 SourceOpenweatherUnitsEnum { + STANDARD("standard"), + METRIC("metric"), + IMPERIAL("imperial"); + + @JsonValue + public final String value; + + private SourceOpenweatherUnitsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracle.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracle.java new file mode 100755 index 000000000..a0a18e771 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracle.java @@ -0,0 +1,120 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOracle - The values required to configure the source. + */ +public class SourceOracle { + /** + * Connect data that will be used for DB connection + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("connection_data") + public Object connectionData; + public SourceOracle withConnectionData(Object connectionData) { + this.connectionData = connectionData; + return this; + } + + /** + * The encryption method with is used when communicating with the database. + */ + @JsonProperty("encryption") + public Object encryption; + public SourceOracle withEncryption(Object encryption) { + this.encryption = encryption; + return this; + } + + /** + * Hostname of the database. + */ + @JsonProperty("host") + public String host; + public SourceOracle withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public SourceOracle withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * The password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceOracle withPassword(String password) { + this.password = password; + return this; + } + + /** + * 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 + */ + @JsonProperty("port") + public Long port; + public SourceOracle withPort(Long port) { + this.port = port; + return this; + } + + /** + * The list of schemas to sync from. Defaults to user. Case sensitive. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schemas") + public String[] schemas; + public SourceOracle withSchemas(String[] schemas) { + this.schemas = schemas; + return this; + } + + @JsonProperty("sourceType") + public SourceOracleOracleEnum sourceType; + public SourceOracle withSourceType(SourceOracleOracleEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public SourceOracle withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * The username which is used to access the database. + */ + @JsonProperty("username") + public String username; + public SourceOracle withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataServiceName.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataServiceName.java new file mode 100755 index 000000000..4fad20eee --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataServiceName.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOracleConnectionDataServiceName - Use service name + */ +public class SourceOracleConnectionDataServiceName { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("connection_type") + public SourceOracleConnectionDataServiceNameConnectionTypeEnum connectionType; + public SourceOracleConnectionDataServiceName withConnectionType(SourceOracleConnectionDataServiceNameConnectionTypeEnum connectionType) { + this.connectionType = connectionType; + return this; + } + + @JsonProperty("service_name") + public String serviceName; + public SourceOracleConnectionDataServiceName withServiceName(String serviceName) { + this.serviceName = serviceName; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataServiceNameConnectionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataServiceNameConnectionTypeEnum.java new file mode 100755 index 000000000..40308f21d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataServiceNameConnectionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOracleConnectionDataServiceNameConnectionTypeEnum { + SERVICE_NAME("service_name"); + + @JsonValue + public final String value; + + private SourceOracleConnectionDataServiceNameConnectionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataSystemIDSID.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataSystemIDSID.java new file mode 100755 index 000000000..24639a57f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataSystemIDSID.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOracleConnectionDataSystemIDSID - Use SID (Oracle System Identifier) + */ +public class SourceOracleConnectionDataSystemIDSID { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("connection_type") + public SourceOracleConnectionDataSystemIDSIDConnectionTypeEnum connectionType; + public SourceOracleConnectionDataSystemIDSID withConnectionType(SourceOracleConnectionDataSystemIDSIDConnectionTypeEnum connectionType) { + this.connectionType = connectionType; + return this; + } + + @JsonProperty("sid") + public String sid; + public SourceOracleConnectionDataSystemIDSID withSid(String sid) { + this.sid = sid; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataSystemIDSIDConnectionTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataSystemIDSIDConnectionTypeEnum.java new file mode 100755 index 000000000..99741be55 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionDataSystemIDSIDConnectionTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOracleConnectionDataSystemIDSIDConnectionTypeEnum { + SID("sid"); + + @JsonValue + public final String value; + + private SourceOracleConnectionDataSystemIDSIDConnectionTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNE.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNE.java new file mode 100755 index 000000000..6d5cd3c82 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNE.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOracleEncryptionNativeNetworkEncryptionNNE - 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. + */ +public class SourceOracleEncryptionNativeNetworkEncryptionNNE { + /** + * This parameter defines what encryption algorithm is used. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("encryption_algorithm") + public SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum encryptionAlgorithm; + public SourceOracleEncryptionNativeNetworkEncryptionNNE withEncryptionAlgorithm(SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum encryptionAlgorithm) { + this.encryptionAlgorithm = encryptionAlgorithm; + return this; + } + + @JsonProperty("encryption_method") + public SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethodEnum encryptionMethod; + public SourceOracleEncryptionNativeNetworkEncryptionNNE withEncryptionMethod(SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethodEnum encryptionMethod) { + this.encryptionMethod = encryptionMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum.java new file mode 100755 index 000000000..84f323fc1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum - This parameter defines what encryption algorithm is used. + */ +public enum SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum { + AES256("AES256"), + RC456("RC4_56"), + THREE_DES168("3DES168"); + + @JsonValue + public final String value; + + private SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithmEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethodEnum.java new file mode 100755 index 000000000..751854f18 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethodEnum { + CLIENT_NNE("client_nne"); + + @JsonValue + public final String value; + + private SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionTLSEncryptedVerifyCertificate.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionTLSEncryptedVerifyCertificate.java new file mode 100755 index 000000000..decd23a64 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionTLSEncryptedVerifyCertificate.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOracleEncryptionTLSEncryptedVerifyCertificate - Verify and use the certificate provided by the server. + */ +public class SourceOracleEncryptionTLSEncryptedVerifyCertificate { + @JsonProperty("encryption_method") + public SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethodEnum encryptionMethod; + public SourceOracleEncryptionTLSEncryptedVerifyCertificate withEncryptionMethod(SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethodEnum encryptionMethod) { + this.encryptionMethod = encryptionMethod; + return this; + } + + /** + * Privacy Enhanced Mail (PEM) files are concatenated certificate containers frequently used in certificate installations. + */ + @JsonProperty("ssl_certificate") + public String sslCertificate; + public SourceOracleEncryptionTLSEncryptedVerifyCertificate withSslCertificate(String sslCertificate) { + this.sslCertificate = sslCertificate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethodEnum.java new file mode 100755 index 000000000..e6067c263 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethodEnum { + ENCRYPTED_VERIFY_CERTIFICATE("encrypted_verify_certificate"); + + @JsonValue + public final String value; + + private SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleOracleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleOracleEnum.java new file mode 100755 index 000000000..d05272953 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleOracleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOracleOracleEnum { + ORACLE("oracle"); + + @JsonValue + public final String value; + + private SourceOracleOracleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodNoTunnel.java new file mode 100755 index 000000000..be0b0b8df --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOracleTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceOracleTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public SourceOracleTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public SourceOracleTunnelMethodNoTunnel withTunnelMethod(SourceOracleTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..feb6a6d33 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceOracleTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum SourceOracleTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private SourceOracleTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..302a67778 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOracleTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceOracleTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceOracleTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public SourceOracleTunnelMethodPasswordAuthentication withTunnelMethod(SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceOracleTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceOracleTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public SourceOracleTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..fceb9c0d8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private SourceOracleTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..fa93cc67f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOracleTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourceOracleTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public SourceOracleTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourceOracleTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public SourceOracleTunnelMethodSSHKeyAuthentication withTunnelMethod(SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourceOracleTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourceOracleTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..7bb38d9e4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOrb.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOrb.java new file mode 100755 index 000000000..35121454f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOrb.java @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOrb - The values required to configure the source. + */ +public class SourceOrb { + /** + * Orb API Key, issued from the Orb admin console. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceOrb withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * 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") + public Long lookbackWindowDays; + public SourceOrb withLookbackWindowDays(Long lookbackWindowDays) { + this.lookbackWindowDays = lookbackWindowDays; + return this; + } + + /** + * 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") + public String[] numericEventPropertiesKeys; + public SourceOrb withNumericEventPropertiesKeys(String[] numericEventPropertiesKeys) { + this.numericEventPropertiesKeys = numericEventPropertiesKeys; + return this; + } + + /** + * Orb Plan ID to filter subscriptions that should have usage fetched. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("plan_id") + public String planId; + public SourceOrb withPlanId(String planId) { + this.planId = planId; + return this; + } + + @JsonProperty("sourceType") + public SourceOrbOrbEnum sourceType; + public SourceOrb withSourceType(SourceOrbOrbEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonProperty("start_date") + public String startDate; + public SourceOrb withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("string_event_properties_keys") + public String[] stringEventPropertiesKeys; + public SourceOrb withStringEventPropertiesKeys(String[] stringEventPropertiesKeys) { + this.stringEventPropertiesKeys = stringEventPropertiesKeys; + return this; + } + + /** + * Property key name to group subscription usage by. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("subscription_usage_grouping_key") + public String subscriptionUsageGroupingKey; + public SourceOrb withSubscriptionUsageGroupingKey(String subscriptionUsageGroupingKey) { + this.subscriptionUsageGroupingKey = subscriptionUsageGroupingKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbOrbEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbOrbEnum.java new file mode 100755 index 000000000..5fcb2374e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbOrbEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOrbOrbEnum { + ORB("orb"); + + @JsonValue + public final String value; + + private SourceOrbOrbEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbit.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbit.java new file mode 100755 index 000000000..1598f38cb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbit.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOrbit - The values required to configure the source. + */ +public class SourceOrbit { + /** + * Authorizes you to work with Orbit workspaces associated with the token. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceOrbit withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("sourceType") + public SourceOrbitOrbitEnum sourceType; + public SourceOrbit withSourceType(SourceOrbitOrbitEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Date in the format 2022-06-26. Only load members whose last activities are after this date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + public String startDate; + public SourceOrbit withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * The unique name of the workspace that your API token is associated with. + */ + @JsonProperty("workspace") + public String workspace; + public SourceOrbit withWorkspace(String workspace) { + this.workspace = workspace; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbitOrbitEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbitOrbitEnum.java new file mode 100755 index 000000000..0299a510f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOrbitOrbitEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOrbitOrbitEnum { + ORBIT("orbit"); + + @JsonValue + public final String value; + + private SourceOrbitOrbitEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOutreach.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOutreach.java new file mode 100755 index 000000000..7c5dd0d45 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOutreach.java @@ -0,0 +1,70 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceOutreach - The values required to configure the source. + */ +public class SourceOutreach { + /** + * The Client ID of your Outreach developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceOutreach withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Outreach developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceOutreach withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * 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. + */ + @JsonProperty("redirect_uri") + public String redirectUri; + public SourceOutreach withRedirectUri(String redirectUri) { + this.redirectUri = redirectUri; + return this; + } + + /** + * The token for obtaining the new access token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceOutreach withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + @JsonProperty("sourceType") + public SourceOutreachOutreachEnum sourceType; + public SourceOutreach withSourceType(SourceOutreachOutreachEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonProperty("start_date") + public String startDate; + public SourceOutreach withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceOutreachOutreachEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceOutreachOutreachEnum.java new file mode 100755 index 000000000..ea0ce640c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceOutreachOutreachEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceOutreachOutreachEnum { + OUTREACH("outreach"); + + @JsonValue + public final String value; + + private SourceOutreachOutreachEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java new file mode 100755 index 000000000..035f6f92b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePaypalTransaction - The values required to configure the source. + */ +public class SourcePaypalTransaction { + /** + * The Client ID of your Paypal developer application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + public String clientId; + public SourcePaypalTransaction withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Paypal developer application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + public String clientSecret; + public SourcePaypalTransaction withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Determines whether to use the sandbox or production environment. + */ + @JsonProperty("is_sandbox") + public Boolean isSandbox; + public SourcePaypalTransaction withIsSandbox(Boolean isSandbox) { + this.isSandbox = isSandbox; + return this; + } + + /** + * The key to refresh the expired access token. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("refresh_token") + public String refreshToken; + public SourcePaypalTransaction withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + @JsonProperty("sourceType") + public SourcePaypalTransactionPaypalTransactionEnum sourceType; + public SourcePaypalTransaction withSourceType(SourcePaypalTransactionPaypalTransactionEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start Date for data extraction in <a href="https://datatracker.ietf.org/doc/html/rfc3339#section-5.6">ISO format</a>. Date must be in range from 3 years till 12 hrs before present time. + */ + @JsonProperty("start_date") + public String startDate; + public SourcePaypalTransaction withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransactionPaypalTransactionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransactionPaypalTransactionEnum.java new file mode 100755 index 000000000..048e0b958 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransactionPaypalTransactionEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePaypalTransactionPaypalTransactionEnum { + PAYPAL_TRANSACTION("paypal-transaction"); + + @JsonValue + public final String value; + + private SourcePaypalTransactionPaypalTransactionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePaystack.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePaystack.java new file mode 100755 index 000000000..eef87ec2a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePaystack.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourcePaystack - The values required to configure the source. + */ +public class 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lookback_window_days") + public Long lookbackWindowDays; + public SourcePaystack withLookbackWindowDays(Long lookbackWindowDays) { + this.lookbackWindowDays = lookbackWindowDays; + return this; + } + + /** + * The Paystack API key (usually starts with 'sk_live_'; find yours <a href="https://dashboard.paystack.com/#/settings/developer">here</a>). + */ + @JsonProperty("secret_key") + public String secretKey; + public SourcePaystack withSecretKey(String secretKey) { + this.secretKey = secretKey; + return this; + } + + @JsonProperty("sourceType") + public SourcePaystackPaystackEnum sourceType; + public SourcePaystack withSourceType(SourcePaystackPaystackEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourcePaystack withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePaystackPaystackEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePaystackPaystackEnum.java new file mode 100755 index 000000000..01616a911 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePaystackPaystackEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePaystackPaystackEnum { + PAYSTACK("paystack"); + + @JsonValue + public final String value; + + private SourcePaystackPaystackEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePendo.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePendo.java new file mode 100755 index 000000000..a6443a884 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePendo.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePendo - The values required to configure the source. + */ +public class SourcePendo { + @JsonProperty("api_key") + public String apiKey; + public SourcePendo withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourcePendoPendoEnum sourceType; + public SourcePendo withSourceType(SourcePendoPendoEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePendoPendoEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePendoPendoEnum.java new file mode 100755 index 000000000..ffbb15fae --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePendoPendoEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePendoPendoEnum { + PENDO("pendo"); + + @JsonValue + public final String value; + + private SourcePendoPendoEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java new file mode 100755 index 000000000..bdc5049db --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePersistiq - The values required to configure the source. + */ +public class SourcePersistiq { + /** + * PersistIq API Key. See the <a href="https://apidocs.persistiq.com/#authentication">docs</a> for more information on where to find that key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourcePersistiq withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourcePersistiqPersistiqEnum sourceType; + public SourcePersistiq withSourceType(SourcePersistiqPersistiqEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePersistiqPersistiqEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePersistiqPersistiqEnum.java new file mode 100755 index 000000000..8a273dc15 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePersistiqPersistiqEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePersistiqPersistiqEnum { + PERSISTIQ("persistiq"); + + @JsonValue + public final String value; + + private SourcePersistiqPersistiqEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java new file mode 100755 index 000000000..fe0b8f334 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java @@ -0,0 +1,86 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePexelsApi - The values required to configure the source. + */ +public class SourcePexelsApi { + /** + * API key is required to access pexels api, For getting your's goto https://www.pexels.com/api/documentation and create account for free. + */ + @JsonProperty("api_key") + public String apiKey; + public SourcePexelsApi withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Optional, Desired photo color. Supported colors red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white or any hexidecimal color code. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("color") + public String color; + public SourcePexelsApi withColor(String color) { + this.color = color; + return this; + } + + /** + * 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") + public String locale; + public SourcePexelsApi withLocale(String locale) { + this.locale = locale; + return this; + } + + /** + * Optional, Desired photo orientation. The current supported orientations are landscape, portrait or square + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("orientation") + public String orientation; + public SourcePexelsApi withOrientation(String orientation) { + this.orientation = orientation; + return this; + } + + /** + * Optional, the search query, Example Ocean, Tigers, Pears, etc. + */ + @JsonProperty("query") + public String query; + public SourcePexelsApi withQuery(String query) { + this.query = query; + return this; + } + + /** + * Optional, Minimum photo size. The current supported sizes are large(24MP), medium(12MP) or small(4MP). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("size") + public String size; + public SourcePexelsApi withSize(String size) { + this.size = size; + return this; + } + + @JsonProperty("sourceType") + public SourcePexelsApiPexelsApiEnum sourceType; + public SourcePexelsApi withSourceType(SourcePexelsApiPexelsApiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePexelsApiPexelsApiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePexelsApiPexelsApiEnum.java new file mode 100755 index 000000000..6f585cc69 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePexelsApiPexelsApiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePexelsApiPexelsApiEnum { + PEXELS_API("pexels-api"); + + @JsonValue + public final String value; + + private SourcePexelsApiPexelsApiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java new file mode 100755 index 000000000..ab982546c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePinterest - The values required to configure the source. + */ +public class SourcePinterest { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourcePinterest withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourcePinterestPinterestEnum sourceType; + public SourcePinterest withSourceType(SourcePinterestPinterestEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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 (914 days from today). + */ + @JsonProperty("start_date") + public String startDate; + public SourcePinterest withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * Entity statuses based off of campaigns, ad_groups, and ads. If you do not have a status set, it will be ignored completely. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + public SourcePinterestStatusEnum[] status; + public SourcePinterest withStatus(SourcePinterestStatusEnum[] status) { + this.status = status; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsAccessToken.java new file mode 100755 index 000000000..dc0d572f7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsAccessToken.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourcePinterestCredentialsAccessToken { + /** + * The Access Token to make authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourcePinterestCredentialsAccessToken withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_method") + public SourcePinterestCredentialsAccessTokenAuthMethodEnum authMethod; + public SourcePinterestCredentialsAccessToken withAuthMethod(SourcePinterestCredentialsAccessTokenAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsAccessTokenAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsAccessTokenAuthMethodEnum.java new file mode 100755 index 000000000..4f9c65d7b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsAccessTokenAuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePinterestCredentialsAccessTokenAuthMethodEnum { + ACCESS_TOKEN("access_token"); + + @JsonValue + public final String value; + + private SourcePinterestCredentialsAccessTokenAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsOAuth20.java new file mode 100755 index 000000000..d6ca7f0e9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsOAuth20.java @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourcePinterestCredentialsOAuth20 { + @JsonProperty("auth_method") + public SourcePinterestCredentialsOAuth20AuthMethodEnum authMethod; + public SourcePinterestCredentialsOAuth20 withAuthMethod(SourcePinterestCredentialsOAuth20AuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The Client ID of your OAuth application + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + public String clientId; + public SourcePinterestCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your OAuth application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + public String clientSecret; + public SourcePinterestCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token to obtain new Access Token, when it's expired. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourcePinterestCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsOAuth20AuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsOAuth20AuthMethodEnum.java new file mode 100755 index 000000000..da2f958bc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestCredentialsOAuth20AuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePinterestCredentialsOAuth20AuthMethodEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourcePinterestCredentialsOAuth20AuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterestEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterestEnum.java new file mode 100755 index 000000000..52cc60904 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterestEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePinterestPinterestEnum { + PINTEREST("pinterest"); + + @JsonValue + public final String value; + + private SourcePinterestPinterestEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestStatusEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestStatusEnum.java new file mode 100755 index 000000000..d89e6b53b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterestStatusEnum.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePinterestStatusEnum { + ACTIVE("ACTIVE"), + PAUSED("PAUSED"), + ARCHIVED("ARCHIVED"); + + @JsonValue + public final String value; + + private SourcePinterestStatusEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java new file mode 100755 index 000000000..e12c6c0a5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourcePipedrive - The values required to configure the source. + */ +public class SourcePipedrive { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("authorization") + public SourcePipedriveAPIKeyAuthentication authorization; + public SourcePipedrive withAuthorization(SourcePipedriveAPIKeyAuthentication 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 + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("replication_start_date") + public OffsetDateTime replicationStartDate; + public SourcePipedrive withReplicationStartDate(OffsetDateTime replicationStartDate) { + this.replicationStartDate = replicationStartDate; + return this; + } + + @JsonProperty("sourceType") + public SourcePipedrivePipedriveEnum sourceType; + public SourcePipedrive withSourceType(SourcePipedrivePipedriveEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedriveAPIKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedriveAPIKeyAuthentication.java new file mode 100755 index 000000000..6a7c177d9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedriveAPIKeyAuthentication.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourcePipedriveAPIKeyAuthentication { + /** + * The Pipedrive API Token. + */ + @JsonProperty("api_token") + public String apiToken; + public SourcePipedriveAPIKeyAuthentication withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("auth_type") + public SourcePipedriveAPIKeyAuthenticationAuthTypeEnum authType; + public SourcePipedriveAPIKeyAuthentication withAuthType(SourcePipedriveAPIKeyAuthenticationAuthTypeEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedriveAPIKeyAuthenticationAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedriveAPIKeyAuthenticationAuthTypeEnum.java new file mode 100755 index 000000000..9e377b4c3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedriveAPIKeyAuthenticationAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePipedriveAPIKeyAuthenticationAuthTypeEnum { + TOKEN("Token"); + + @JsonValue + public final String value; + + private SourcePipedriveAPIKeyAuthenticationAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedrivePipedriveEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedrivePipedriveEnum.java new file mode 100755 index 000000000..b7d13cc13 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePipedrivePipedriveEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePipedrivePipedriveEnum { + PIPEDRIVE("pipedrive"); + + @JsonValue + public final String value; + + private SourcePipedrivePipedriveEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePocket.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocket.java new file mode 100755 index 000000000..a99ec86d7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocket.java @@ -0,0 +1,141 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePocket - The values required to configure the source. + */ +public class SourcePocket { + /** + * The user's Pocket access token. + */ + @JsonProperty("access_token") + public String accessToken; + public SourcePocket withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Your application's Consumer Key. + */ + @JsonProperty("consumer_key") + public String consumerKey; + public SourcePocket withConsumerKey(String consumerKey) { + this.consumerKey = consumerKey; + return this; + } + + /** + * Select the content type of the items to retrieve. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("content_type") + public SourcePocketContentTypeEnum contentType; + public SourcePocket withContentType(SourcePocketContentTypeEnum contentType) { + this.contentType = contentType; + return this; + } + + /** + * Select the granularity of the information about each item. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("detail_type") + public SourcePocketDetailTypeEnum detailType; + public SourcePocket withDetailType(SourcePocketDetailTypeEnum detailType) { + this.detailType = detailType; + return this; + } + + /** + * Only return items from a particular `domain`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domain") + public String domain; + public SourcePocket withDomain(String domain) { + this.domain = domain; + return this; + } + + /** + * Retrieve only favorited items. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("favorite") + public Boolean favorite; + public SourcePocket withFavorite(Boolean favorite) { + this.favorite = favorite; + return this; + } + + /** + * Only return items whose title or url contain the `search` string. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("search") + public String search; + public SourcePocket withSearch(String search) { + this.search = search; + return this; + } + + /** + * Only return items modified since the given timestamp. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("since") + public String since; + public SourcePocket withSince(String since) { + this.since = since; + return this; + } + + /** + * Sort retrieved items by the given criteria. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sort") + public SourcePocketSortByEnum sort; + public SourcePocket withSort(SourcePocketSortByEnum sort) { + this.sort = sort; + return this; + } + + @JsonProperty("sourceType") + public SourcePocketPocketEnum sourceType; + public SourcePocket withSourceType(SourcePocketPocketEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Select the state of the items to retrieve. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("state") + public SourcePocketStateEnum state; + public SourcePocket withState(SourcePocketStateEnum state) { + this.state = state; + return this; + } + + /** + * Return only items tagged with this tag name. Use _untagged_ for retrieving only untagged items. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tag") + public String tag; + public SourcePocket withTag(String tag) { + this.tag = tag; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketContentTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketContentTypeEnum.java new file mode 100755 index 000000000..568005b85 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketContentTypeEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourcePocketContentTypeEnum - Select the content type of the items to retrieve. + */ +public enum SourcePocketContentTypeEnum { + ARTICLE("article"), + VIDEO("video"), + IMAGE("image"); + + @JsonValue + public final String value; + + private SourcePocketContentTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketDetailTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketDetailTypeEnum.java new file mode 100755 index 000000000..c9a11e5e1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketDetailTypeEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourcePocketDetailTypeEnum - Select the granularity of the information about each item. + */ +public enum SourcePocketDetailTypeEnum { + SIMPLE("simple"), + COMPLETE("complete"); + + @JsonValue + public final String value; + + private SourcePocketDetailTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketPocketEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketPocketEnum.java new file mode 100755 index 000000000..5a8d384d0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketPocketEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePocketPocketEnum { + POCKET("pocket"); + + @JsonValue + public final String value; + + private SourcePocketPocketEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketSortByEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketSortByEnum.java new file mode 100755 index 000000000..367d90d05 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketSortByEnum.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourcePocketSortByEnum - Sort retrieved items by the given criteria. + */ +public enum SourcePocketSortByEnum { + NEWEST("newest"), + OLDEST("oldest"), + TITLE("title"), + SITE("site"); + + @JsonValue + public final String value; + + private SourcePocketSortByEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketStateEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketStateEnum.java new file mode 100755 index 000000000..0e0cbc3a8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePocketStateEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourcePocketStateEnum - Select the state of the items to retrieve. + */ +public enum SourcePocketStateEnum { + UNREAD("unread"), + ARCHIVE("archive"), + ALL("all"); + + @JsonValue + public final String value; + + private SourcePocketStateEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java new file mode 100755 index 000000000..813fe402d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePokeapi - The values required to configure the source. + */ +public class SourcePokeapi { + /** + * Pokemon requested from the API. + */ + @JsonProperty("pokemon_name") + public String pokemonName; + public SourcePokeapi withPokemonName(String pokemonName) { + this.pokemonName = pokemonName; + return this; + } + + @JsonProperty("sourceType") + public SourcePokeapiPokeapiEnum sourceType; + public SourcePokeapi withSourceType(SourcePokeapiPokeapiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapiPokeapiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapiPokeapiEnum.java new file mode 100755 index 000000000..170f2960a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapiPokeapiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePokeapiPokeapiEnum { + POKEAPI("pokeapi"); + + @JsonValue + public final String value; + + private SourcePokeapiPokeapiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java new file mode 100755 index 000000000..22853a709 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourcePolygonStockApi - The values required to configure the source. + */ +public class 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("adjusted") + public String adjusted; + public SourcePolygonStockApi withAdjusted(String adjusted) { + this.adjusted = adjusted; + return this; + } + + /** + * Your API ACCESS Key + */ + @JsonProperty("apiKey") + public String apiKey; + public SourcePolygonStockApi withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * The target date for the aggregate window. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("end_date") + public LocalDate endDate; + public SourcePolygonStockApi withEndDate(LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * The target date for the aggregate window. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("limit") + public Long limit; + public SourcePolygonStockApi withLimit(Long limit) { + this.limit = limit; + return this; + } + + /** + * The size of the timespan multiplier. + */ + @JsonProperty("multiplier") + public Long multiplier; + public SourcePolygonStockApi withMultiplier(Long multiplier) { + this.multiplier = multiplier; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sort") + public String sort; + public SourcePolygonStockApi withSort(String sort) { + this.sort = sort; + return this; + } + + @JsonProperty("sourceType") + public SourcePolygonStockApiPolygonStockApiEnum sourceType; + public SourcePolygonStockApi withSourceType(SourcePolygonStockApiPolygonStockApiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The beginning date for the aggregate window. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourcePolygonStockApi withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * The exchange symbol that this item is traded under. + */ + @JsonProperty("stocksTicker") + public String stocksTicker; + public SourcePolygonStockApi withStocksTicker(String stocksTicker) { + this.stocksTicker = stocksTicker; + return this; + } + + /** + * The size of the time window. + */ + @JsonProperty("timespan") + public String timespan; + public SourcePolygonStockApi withTimespan(String timespan) { + this.timespan = timespan; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApiPolygonStockApiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApiPolygonStockApiEnum.java new file mode 100755 index 000000000..8cce7643e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApiPolygonStockApiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePolygonStockApiPolygonStockApiEnum { + POLYGON_STOCK_API("polygon-stock-api"); + + @JsonValue + public final String value; + + private SourcePolygonStockApiPolygonStockApiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgres.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgres.java new file mode 100755 index 000000000..26613a30c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgres.java @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePostgres - The values required to configure the source. + */ +public class SourcePostgres { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public SourcePostgres withDatabase(String database) { + this.database = database; + return this; + } + + /** + * Hostname of the database. + */ + @JsonProperty("host") + public String host; + public SourcePostgres withHost(String host) { + this.host = host; + return this; + } + + /** + * 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>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public SourcePostgres withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourcePostgres withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the database. + */ + @JsonProperty("port") + public Long port; + public SourcePostgres withPort(Long port) { + this.port = port; + return this; + } + + /** + * Replication method for extracting data from the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("replication_method") + public Object replicationMethod; + public SourcePostgres withReplicationMethod(Object replicationMethod) { + this.replicationMethod = replicationMethod; + return this; + } + + /** + * The list of schemas (case sensitive) to sync from. Defaults to public. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schemas") + public String[] schemas; + public SourcePostgres withSchemas(String[] schemas) { + this.schemas = schemas; + return this; + } + + @JsonProperty("sourceType") + public SourcePostgresPostgresEnum sourceType; + public SourcePostgres withSourceType(SourcePostgresPostgresEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * SSL connection modes. + * Read more <a href="https://jdbc.postgresql.org/documentation/head/ssl-client.html"> in the docs</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl_mode") + public Object sslMode; + public SourcePostgres withSslMode(Object sslMode) { + this.sslMode = sslMode; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + public SourcePostgres withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Username to access the database. + */ + @JsonProperty("username") + public String username; + public SourcePostgres withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgresEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgresEnum.java new file mode 100755 index 000000000..19732cddf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgresEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePostgresPostgresEnum { + POSTGRES("postgres"); + + @JsonValue + public final String value; + + private SourcePostgresPostgresEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresReplicationMethodStandard.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresReplicationMethodStandard.java new file mode 100755 index 000000000..571865567 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresReplicationMethodStandard.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePostgresReplicationMethodStandard - Standard replication requires no setup on the DB side but will not be able to represent deletions incrementally. + */ +public class SourcePostgresReplicationMethodStandard { + @JsonProperty("method") + public SourcePostgresReplicationMethodStandardMethodEnum method; + public SourcePostgresReplicationMethodStandard withMethod(SourcePostgresReplicationMethodStandardMethodEnum method) { + this.method = method; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresReplicationMethodStandardMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresReplicationMethodStandardMethodEnum.java new file mode 100755 index 000000000..bf3940733 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresReplicationMethodStandardMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePostgresReplicationMethodStandardMethodEnum { + STANDARD("Standard"); + + @JsonValue + public final String value; + + private SourcePostgresReplicationMethodStandardMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodNoTunnel.java new file mode 100755 index 000000000..aa527fbd7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodNoTunnel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePostgresTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourcePostgresTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod; + public SourcePostgresTunnelMethodNoTunnel withTunnelMethod(SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum.java new file mode 100755 index 000000000..f99136292 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum - No ssh tunnel needed to connect to database + */ +public enum SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private SourcePostgresTunnelMethodNoTunnelTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..4dfae93cb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodPasswordAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePostgresTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourcePostgresTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourcePostgresTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod; + public SourcePostgresTunnelMethodPasswordAuthentication withTunnelMethod(SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourcePostgresTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourcePostgresTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + public SourcePostgresTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..cb858d3ee --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and password authentication + */ +public enum SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..a3ae99dd5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePostgresTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class SourcePostgresTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + public SourcePostgresTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + public SourcePostgresTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod; + public SourcePostgresTunnelMethodSSHKeyAuthentication withTunnelMethod(SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + public SourcePostgresTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + public SourcePostgresTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java new file mode 100755 index 000000000..0ce4c09d5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum - Connect through a jump server tunnel host using username and ssh key + */ +public enum SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePosthog.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePosthog.java new file mode 100755 index 000000000..145c6ee39 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePosthog.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourcePosthog - The values required to configure the source. + */ +public class SourcePosthog { + /** + * API Key. See the <a href="https://docs.airbyte.com/integrations/sources/posthog">docs</a> for information on how to generate this key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourcePosthog withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Base PostHog url. Defaults to PostHog Cloud (https://app.posthog.com). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("base_url") + public String baseUrl; + public SourcePosthog withBaseUrl(String baseUrl) { + this.baseUrl = baseUrl; + return this; + } + + @JsonProperty("sourceType") + public SourcePosthogPosthogEnum sourceType; + public SourcePosthog withSourceType(SourcePosthogPosthogEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate the data. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourcePosthog withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePosthogPosthogEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePosthogPosthogEnum.java new file mode 100755 index 000000000..bb98ad8ee --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePosthogPosthogEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePosthogPosthogEnum { + POSTHOG("posthog"); + + @JsonValue + public final String value; + + private SourcePosthogPosthogEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java new file mode 100755 index 000000000..0445509de --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePostmarkapp - The values required to configure the source. + */ +public class SourcePostmarkapp { + /** + * API Key for account + */ + @JsonProperty("X-Postmark-Account-Token") + public String xPostmarkAccountToken; + public SourcePostmarkapp withXPostmarkAccountToken(String xPostmarkAccountToken) { + this.xPostmarkAccountToken = xPostmarkAccountToken; + return this; + } + + /** + * API Key for server + */ + @JsonProperty("X-Postmark-Server-Token") + public String xPostmarkServerToken; + public SourcePostmarkapp withXPostmarkServerToken(String xPostmarkServerToken) { + this.xPostmarkServerToken = xPostmarkServerToken; + return this; + } + + @JsonProperty("sourceType") + public SourcePostmarkappPostmarkappEnum sourceType; + public SourcePostmarkapp withSourceType(SourcePostmarkappPostmarkappEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePostmarkappPostmarkappEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostmarkappPostmarkappEnum.java new file mode 100755 index 000000000..ddc6c9076 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePostmarkappPostmarkappEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePostmarkappPostmarkappEnum { + POSTMARKAPP("postmarkapp"); + + @JsonValue + public final String value; + + private SourcePostmarkappPostmarkappEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java new file mode 100755 index 000000000..71513ed13 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourcePrestashop - The values required to configure the source. + */ +public class SourcePrestashop { + /** + * Your PrestaShop access key. See <a href="https://devdocs.prestashop.com/1.7/webservice/tutorials/creating-access/#create-an-access-key"> the docs </a> for info on how to obtain this. + */ + @JsonProperty("access_key") + public String accessKey; + public SourcePrestashop withAccessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + @JsonProperty("sourceType") + public SourcePrestashopPrestashopEnum sourceType; + public SourcePrestashop withSourceType(SourcePrestashopPrestashopEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The Start date in the format YYYY-MM-DD. + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourcePrestashop withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * Shop URL without trailing slash. + */ + @JsonProperty("url") + public String url; + public SourcePrestashop withUrl(String url) { + this.url = url; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePrestashopPrestashopEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePrestashopPrestashopEnum.java new file mode 100755 index 000000000..c20bf81aa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePrestashopPrestashopEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePrestashopPrestashopEnum { + PRESTASHOP("prestashop"); + + @JsonValue + public final String value; + + private SourcePrestashopPrestashopEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePublicApis.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePublicApis.java new file mode 100755 index 000000000..cb89a3575 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePublicApis.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePublicApis - The values required to configure the source. + */ +public class SourcePublicApis { + @JsonProperty("sourceType") + public SourcePublicApisPublicApisEnum sourceType; + public SourcePublicApis withSourceType(SourcePublicApisPublicApisEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePublicApisPublicApisEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePublicApisPublicApisEnum.java new file mode 100755 index 000000000..cf8aa9602 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePublicApisPublicApisEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePublicApisPublicApisEnum { + PUBLIC_APIS("public-apis"); + + @JsonValue + public final String value; + + private SourcePublicApisPublicApisEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePunkApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePunkApi.java new file mode 100755 index 000000000..c0dc65a7f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePunkApi.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePunkApi - The values required to configure the source. + */ +public class SourcePunkApi { + /** + * To extract specific data with Unique ID + */ + @JsonProperty("brewed_after") + public String brewedAfter; + public SourcePunkApi withBrewedAfter(String brewedAfter) { + this.brewedAfter = brewedAfter; + return this; + } + + /** + * To extract specific data with Unique ID + */ + @JsonProperty("brewed_before") + public String brewedBefore; + public SourcePunkApi withBrewedBefore(String brewedBefore) { + this.brewedBefore = brewedBefore; + return this; + } + + /** + * To extract specific data with Unique ID + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + public String id; + public SourcePunkApi withId(String id) { + this.id = id; + return this; + } + + @JsonProperty("sourceType") + public SourcePunkApiPunkApiEnum sourceType; + public SourcePunkApi withSourceType(SourcePunkApiPunkApiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePunkApiPunkApiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePunkApiPunkApiEnum.java new file mode 100755 index 000000000..9723d9021 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePunkApiPunkApiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePunkApiPunkApiEnum { + PUNK_API("punk-api"); + + @JsonValue + public final String value; + + private SourcePunkApiPunkApiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePypi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePypi.java new file mode 100755 index 000000000..59aa46cb9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePypi.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourcePypi - The values required to configure the source. + */ +public class SourcePypi { + /** + * Name of the project/package. Can only be in lowercase with hyphen. This is the name used using pip command for installing the package. + */ + @JsonProperty("project_name") + public String projectName; + public SourcePypi withProjectName(String projectName) { + this.projectName = projectName; + return this; + } + + @JsonProperty("sourceType") + public SourcePypiPypiEnum sourceType; + public SourcePypi withSourceType(SourcePypiPypiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Version of the project/package. Use it to find a particular release instead of all releases. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("version") + public String version; + public SourcePypi withVersion(String version) { + this.version = version; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePypiPypiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePypiPypiEnum.java new file mode 100755 index 000000000..a182cfa6b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePypiPypiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourcePypiPypiEnum { + PYPI("pypi"); + + @JsonValue + public final String value; + + private SourcePypiPypiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java new file mode 100755 index 000000000..02bfc0401 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceQualaroo - The values required to configure the source. + */ +public class SourceQualaroo { + /** + * 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. + */ + @JsonProperty("key") + public String key; + public SourceQualaroo withKey(String key) { + this.key = key; + return this; + } + + @JsonProperty("sourceType") + public SourceQualarooQualarooEnum sourceType; + public SourceQualaroo withSourceType(SourceQualarooQualarooEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + public String startDate; + public SourceQualaroo withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("survey_ids") + public String[] surveyIds; + public SourceQualaroo withSurveyIds(String[] surveyIds) { + this.surveyIds = surveyIds; + return this; + } + + /** + * 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. + */ + @JsonProperty("token") + public String token; + public SourceQualaroo withToken(String token) { + this.token = token; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceQualarooQualarooEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceQualarooQualarooEnum.java new file mode 100755 index 000000000..fefc98e10 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceQualarooQualarooEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceQualarooQualarooEnum { + QUALAROO("qualaroo"); + + @JsonValue + public final String value; + + private SourceQualarooQualarooEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java new file mode 100755 index 000000000..b19f26cf7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceQuickbooks - The values required to configure the source. + */ +public class SourceQuickbooks { + @JsonProperty("credentials") + public Object credentials; + public SourceQuickbooks withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * Determines whether to use the sandbox or production environment. + */ + @JsonProperty("sandbox") + public Boolean sandbox; + public SourceQuickbooks withSandbox(Boolean sandbox) { + this.sandbox = sandbox; + return this; + } + + @JsonProperty("sourceType") + public SourceQuickbooksQuickbooksEnum sourceType; + public SourceQuickbooks withSourceType(SourceQuickbooksQuickbooksEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The default value to use if no bookmark exists for an endpoint (rfc3339 date string). E.g, 2021-03-20T00:00:00+00:00. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceQuickbooks withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksCredentialsOAuth20.java new file mode 100755 index 000000000..44aad207e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksCredentialsOAuth20.java @@ -0,0 +1,87 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +public class SourceQuickbooksCredentialsOAuth20 { + /** + * Access token fot making authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceQuickbooksCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceQuickbooksCredentialsOAuth20AuthTypeEnum authType; + public SourceQuickbooksCredentialsOAuth20 withAuthType(SourceQuickbooksCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + 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. + */ + @JsonProperty("client_id") + public String clientId; + public SourceQuickbooksCredentialsOAuth20 withClientId(String 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. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceQuickbooksCredentialsOAuth20 withClientSecret(String 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. + */ + @JsonProperty("realm_id") + public String realmId; + public SourceQuickbooksCredentialsOAuth20 withRealmId(String realmId) { + this.realmId = realmId; + return this; + } + + /** + * A token used when refreshing the access token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceQuickbooksCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("token_expiry_date") + public OffsetDateTime tokenExpiryDate; + public SourceQuickbooksCredentialsOAuth20 withTokenExpiryDate(OffsetDateTime tokenExpiryDate) { + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..1f2a15df4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceQuickbooksCredentialsOAuth20AuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceQuickbooksCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksQuickbooksEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksQuickbooksEnum.java new file mode 100755 index 000000000..53bde0889 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksQuickbooksEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceQuickbooksQuickbooksEnum { + QUICKBOOKS("quickbooks"); + + @JsonValue + public final String value; + + private SourceQuickbooksQuickbooksEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRailz.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRailz.java new file mode 100755 index 000000000..98a355745 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRailz.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceRailz - The values required to configure the source. + */ +public class SourceRailz { + /** + * Client ID (client_id) + */ + @JsonProperty("client_id") + public String clientId; + public SourceRailz withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Secret key (secret_key) + */ + @JsonProperty("secret_key") + public String secretKey; + public SourceRailz withSecretKey(String secretKey) { + this.secretKey = secretKey; + return this; + } + + @JsonProperty("sourceType") + public SourceRailzRailzEnum sourceType; + public SourceRailz withSourceType(SourceRailzRailzEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start date + */ + @JsonProperty("start_date") + public String startDate; + public SourceRailz withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRailzRailzEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRailzRailzEnum.java new file mode 100755 index 000000000..a23e8ea6a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRailzRailzEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRailzRailzEnum { + RAILZ("railz"); + + @JsonValue + public final String value; + + private SourceRailzRailzEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRecharge.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecharge.java new file mode 100755 index 000000000..fa2be0751 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecharge.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceRecharge - The values required to configure the source. + */ +public class SourceRecharge { + /** + * The value of the Access Token generated. See the <a href="https://docs.airbyte.com/integrations/sources/recharge">docs</a> for more information. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceRecharge withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("sourceType") + public SourceRechargeRechargeEnum sourceType; + public SourceRecharge withSourceType(SourceRechargeRechargeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceRecharge withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRechargeRechargeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRechargeRechargeEnum.java new file mode 100755 index 000000000..da519dca8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRechargeRechargeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRechargeRechargeEnum { + RECHARGE("recharge"); + + @JsonValue + public final String value; + + private SourceRechargeRechargeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRecreation.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecreation.java new file mode 100755 index 000000000..77a63aadb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecreation.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceRecreation - The values required to configure the source. + */ +public class SourceRecreation { + /** + * API Key + */ + @JsonProperty("apikey") + public String apikey; + public SourceRecreation withApikey(String apikey) { + this.apikey = apikey; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("query_campsites") + public String queryCampsites; + public SourceRecreation withQueryCampsites(String queryCampsites) { + this.queryCampsites = queryCampsites; + return this; + } + + @JsonProperty("sourceType") + public SourceRecreationRecreationEnum sourceType; + public SourceRecreation withSourceType(SourceRecreationRecreationEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRecreationRecreationEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecreationRecreationEnum.java new file mode 100755 index 000000000..daa2adb08 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecreationRecreationEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRecreationRecreationEnum { + RECREATION("recreation"); + + @JsonValue + public final String value; + + private SourceRecreationRecreationEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java new file mode 100755 index 000000000..6ad7e3d22 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceRecruitee - The values required to configure the source. + */ +public class SourceRecruitee { + /** + * Recruitee API Key. See <a href="https://docs.recruitee.com/reference/getting-started#generate-api-token">here</a>. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceRecruitee withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Recruitee Company ID. You can also find this ID on the <a href="https://app.recruitee.com/#/settings/api_tokens">Recruitee API tokens page</a>. + */ + @JsonProperty("company_id") + public Long companyId; + public SourceRecruitee withCompanyId(Long companyId) { + this.companyId = companyId; + return this; + } + + @JsonProperty("sourceType") + public SourceRecruiteeRecruiteeEnum sourceType; + public SourceRecruitee withSourceType(SourceRecruiteeRecruiteeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRecruiteeRecruiteeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecruiteeRecruiteeEnum.java new file mode 100755 index 000000000..dbbe7d56d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecruiteeRecruiteeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRecruiteeRecruiteeEnum { + RECRUITEE("recruitee"); + + @JsonValue + public final String value; + + private SourceRecruiteeRecruiteeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRecurly.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecurly.java new file mode 100755 index 000000000..6de565b44 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecurly.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceRecurly - The values required to configure the source. + */ +public class SourceRecurly { + /** + * Recurly API Key. See the <a href="https://docs.airbyte.com/integrations/sources/recurly">docs</a> for more information on how to generate this key. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceRecurly withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * ISO8601 timestamp from which the replication from Recurly API will start from. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("begin_time") + public String beginTime; + public SourceRecurly withBeginTime(String beginTime) { + this.beginTime = beginTime; + return this; + } + + /** + * 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") + public String endTime; + public SourceRecurly withEndTime(String endTime) { + this.endTime = endTime; + return this; + } + + @JsonProperty("sourceType") + public SourceRecurlyRecurlyEnum sourceType; + public SourceRecurly withSourceType(SourceRecurlyRecurlyEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRecurlyRecurlyEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecurlyRecurlyEnum.java new file mode 100755 index 000000000..6cd2b0f25 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRecurlyRecurlyEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRecurlyRecurlyEnum { + RECURLY("recurly"); + + @JsonValue + public final String value; + + private SourceRecurlyRecurlyEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRedshift.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRedshift.java new file mode 100755 index 000000000..32c3b8502 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRedshift.java @@ -0,0 +1,94 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceRedshift - The values required to configure the source. + */ +public class SourceRedshift { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + public SourceRedshift withDatabase(String database) { + this.database = database; + return this; + } + + /** + * Host Endpoint of the Redshift Cluster (must include the cluster-id, region and end with .redshift.amazonaws.com). + */ + @JsonProperty("host") + public String host; + public SourceRedshift withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public SourceRedshift withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Password associated with the username. + */ + @JsonProperty("password") + public String password; + public SourceRedshift withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the database. + */ + @JsonProperty("port") + public Long port; + public SourceRedshift withPort(Long port) { + this.port = port; + return this; + } + + /** + * 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") + public String[] schemas; + public SourceRedshift withSchemas(String[] schemas) { + this.schemas = schemas; + return this; + } + + @JsonProperty("sourceType") + public SourceRedshiftRedshiftEnum sourceType; + public SourceRedshift withSourceType(SourceRedshiftRedshiftEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Username to use to access the database. + */ + @JsonProperty("username") + public String username; + public SourceRedshift withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshiftEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshiftEnum.java new file mode 100755 index 000000000..d32257402 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshiftEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRedshiftRedshiftEnum { + REDSHIFT("redshift"); + + @JsonValue + public final String value; + + private SourceRedshiftRedshiftEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRetently.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRetently.java new file mode 100755 index 000000000..0c9322bbe --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRetently.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceRetently - The values required to configure the source. + */ +public class SourceRetently { + /** + * Choose how to authenticate to Retently + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceRetently withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceRetentlyRetentlyEnum sourceType; + public SourceRetently withSourceType(SourceRetentlyRetentlyEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetentlyEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetentlyEnum.java new file mode 100755 index 000000000..79da11eb7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetentlyEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRetentlyRetentlyEnum { + RETENTLY("retently"); + + @JsonValue + public final String value; + + private SourceRetentlyRetentlyEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java new file mode 100755 index 000000000..17d8428e3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceRkiCovid - The values required to configure the source. + */ +public class SourceRkiCovid { + @JsonProperty("sourceType") + public SourceRkiCovidRkiCovidEnum sourceType; + public SourceRkiCovid withSourceType(SourceRkiCovidRkiCovidEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date in the format 2017-01-25. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + public String startDate; + public SourceRkiCovid withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovidRkiCovidEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovidRkiCovidEnum.java new file mode 100755 index 000000000..47b4051d1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovidRkiCovidEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRkiCovidRkiCovidEnum { + RKI_COVID("rki-covid"); + + @JsonValue + public final String value; + + private SourceRkiCovidRkiCovidEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRss.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRss.java new file mode 100755 index 000000000..1ba084060 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRss.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceRss - The values required to configure the source. + */ +public class SourceRss { + @JsonProperty("sourceType") + public SourceRssRssEnum sourceType; + public SourceRss withSourceType(SourceRssRssEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * RSS Feed URL + */ + @JsonProperty("url") + public String url; + public SourceRss withUrl(String url) { + this.url = url; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRssRssEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRssRssEnum.java new file mode 100755 index 000000000..6a09dd7c4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRssRssEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceRssRssEnum { + RSS("rss"); + + @JsonValue + public final String value; + + private SourceRssRssEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3.java new file mode 100755 index 000000000..aae981bdd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceS3 - The values required to configure the source. + */ +public class SourceS3 { + /** + * The name of the stream you would like this source to output. Can contain letters, numbers, or underscores. + */ + @JsonProperty("dataset") + public String dataset; + public SourceS3 withDataset(String dataset) { + this.dataset = dataset; + return this; + } + + /** + * The format of the files you'd like to replicate + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("format") + public Object format; + public SourceS3 withFormat(Object format) { + this.format = format; + return this; + } + + /** + * A regular expression which tells the connector which files to replicate. All files which match this pattern will be replicated. Use | to separate multiple patterns. See <a href="https://facelessuser.github.io/wcmatch/glob/" target="_blank">this page</a> to understand pattern syntax (GLOBSTAR and SPLIT flags are enabled). Use pattern <strong>**</strong> to pick up all files. + */ + @JsonProperty("path_pattern") + public String pathPattern; + public SourceS3 withPathPattern(String pathPattern) { + this.pathPattern = pathPattern; + return this; + } + + /** + * Use this to load files from S3 or S3-compatible services + */ + @JsonProperty("provider") + public SourceS3S3AmazonWebServices provider; + public SourceS3 withProvider(SourceS3S3AmazonWebServices provider) { + this.provider = provider; + return this; + } + + /** + * Optionally provide a schema to enforce, as a valid JSON string. Ensure this is a mapping of <strong>{ "column" : "type" }</strong>, where types are valid <a href="https://json-schema.org/understanding-json-schema/reference/type.html" target="_blank">JSON Schema datatypes</a>. Leave as {} to auto-infer the schema. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schema") + public String schema; + public SourceS3 withSchema(String schema) { + this.schema = schema; + return this; + } + + @JsonProperty("sourceType") + public SourceS3S3Enum sourceType; + public SourceS3 withSourceType(SourceS3S3Enum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvro.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvro.java new file mode 100755 index 000000000..eadc5bc53 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvro.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceS3FormatAvro - This connector utilises <a href="https://fastavro.readthedocs.io/en/latest/" target="_blank">fastavro</a> for Avro parsing. + */ +public class SourceS3FormatAvro { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + public SourceS3FormatAvroFiletypeEnum filetype; + public SourceS3FormatAvro withFiletype(SourceS3FormatAvroFiletypeEnum filetype) { + this.filetype = filetype; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvroFiletypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvroFiletypeEnum.java new file mode 100755 index 000000000..05816a67e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvroFiletypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceS3FormatAvroFiletypeEnum { + AVRO("avro"); + + @JsonValue + public final String value; + + private SourceS3FormatAvroFiletypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatCSV.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatCSV.java new file mode 100755 index 000000000..cf5eb20d5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatCSV.java @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceS3FormatCSV - This connector utilises <a href="https: // arrow.apache.org/docs/python/generated/pyarrow.csv.open_csv.html" target="_blank">PyArrow (Apache Arrow)</a> for CSV parsing. + */ +public class SourceS3FormatCSV { + /** + * Optionally add a valid JSON string here to provide additional options to the csv reader. Mappings must correspond to options <a href="https://arrow.apache.org/docs/python/generated/pyarrow.csv.ConvertOptions.html#pyarrow.csv.ConvertOptions" target="_blank">detailed here</a>. 'column_types' is used internally to handle schema so overriding that would likely cause problems. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("additional_reader_options") + public String additionalReaderOptions; + public SourceS3FormatCSV withAdditionalReaderOptions(String additionalReaderOptions) { + this.additionalReaderOptions = additionalReaderOptions; + return this; + } + + /** + * Optionally add a valid JSON string here to provide additional <a href="https://arrow.apache.org/docs/python/generated/pyarrow.csv.ReadOptions.html#pyarrow.csv.ReadOptions" target="_blank">Pyarrow ReadOptions</a>. Specify 'column_names' here if your CSV doesn't have header, or if you want to use custom column names. 'block_size' and 'encoding' are already used above, specify them again here will override the values above. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("advanced_options") + public String advancedOptions; + public SourceS3FormatCSV withAdvancedOptions(String advancedOptions) { + this.advancedOptions = advancedOptions; + return this; + } + + /** + * The chunk size in bytes to process at a time in memory from each file. If your data is particularly wide and failing during schema detection, increasing this should solve it. Beware of raising this too high as you could hit OOM errors. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("block_size") + public Long blockSize; + public SourceS3FormatCSV withBlockSize(Long blockSize) { + this.blockSize = blockSize; + return this; + } + + /** + * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delimiter") + public String delimiter; + public SourceS3FormatCSV withDelimiter(String delimiter) { + this.delimiter = delimiter; + return this; + } + + /** + * Whether two quotes in a quoted CSV value denote a single quote in the data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("double_quote") + public Boolean doubleQuote; + public SourceS3FormatCSV withDoubleQuote(Boolean doubleQuote) { + this.doubleQuote = doubleQuote; + return this; + } + + /** + * 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") + public String encoding; + public SourceS3FormatCSV withEncoding(String encoding) { + this.encoding = encoding; + return this; + } + + /** + * The character used for escaping special characters. To disallow escaping, leave this field blank. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("escape_char") + public String escapeChar; + public SourceS3FormatCSV withEscapeChar(String escapeChar) { + this.escapeChar = escapeChar; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + public SourceS3FormatCSVFiletypeEnum filetype; + public SourceS3FormatCSV withFiletype(SourceS3FormatCSVFiletypeEnum filetype) { + this.filetype = filetype; + return this; + } + + /** + * Configures whether a schema for the source should be inferred from the current data or not. If set to false and a custom schema is set, then the manually enforced schema is used. If a schema is not manually set, and this is set to false, then all fields will be read as strings + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("infer_datatypes") + public Boolean inferDatatypes; + public SourceS3FormatCSV withInferDatatypes(Boolean inferDatatypes) { + this.inferDatatypes = inferDatatypes; + return this; + } + + /** + * Whether newline characters are allowed in CSV values. Turning this on may affect performance. Leave blank to default to False. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("newlines_in_values") + public Boolean newlinesInValues; + public SourceS3FormatCSV withNewlinesInValues(Boolean newlinesInValues) { + this.newlinesInValues = newlinesInValues; + return this; + } + + /** + * The character used for quoting CSV values. To disallow quoting, make this field blank. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("quote_char") + public String quoteChar; + public SourceS3FormatCSV withQuoteChar(String quoteChar) { + this.quoteChar = quoteChar; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatCSVFiletypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatCSVFiletypeEnum.java new file mode 100755 index 000000000..45facde8d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatCSVFiletypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceS3FormatCSVFiletypeEnum { + CSV("csv"); + + @JsonValue + public final String value; + + private SourceS3FormatCSVFiletypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonl.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonl.java new file mode 100755 index 000000000..baab44425 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonl.java @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceS3FormatJsonl - This connector uses <a href="https://arrow.apache.org/docs/python/json.html" target="_blank">PyArrow</a> for JSON Lines (jsonl) file parsing. + */ +public class SourceS3FormatJsonl { + /** + * The chunk size in bytes to process at a time in memory from each file. If your data is particularly wide and failing during schema detection, increasing this should solve it. Beware of raising this too high as you could hit OOM errors. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("block_size") + public Long blockSize; + public SourceS3FormatJsonl withBlockSize(Long blockSize) { + this.blockSize = blockSize; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + public SourceS3FormatJsonlFiletypeEnum filetype; + public SourceS3FormatJsonl withFiletype(SourceS3FormatJsonlFiletypeEnum filetype) { + this.filetype = filetype; + return this; + } + + /** + * Whether newline characters are allowed in JSON values. Turning this on may affect performance. Leave blank to default to False. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("newlines_in_values") + public Boolean newlinesInValues; + public SourceS3FormatJsonl withNewlinesInValues(Boolean newlinesInValues) { + this.newlinesInValues = newlinesInValues; + return this; + } + + /** + * How JSON fields outside of explicit_schema (if given) are treated. Check <a href="https://arrow.apache.org/docs/python/generated/pyarrow.json.ParseOptions.html" target="_blank">PyArrow documentation</a> for details + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unexpected_field_behavior") + public SourceS3FormatJsonlUnexpectedFieldBehaviorEnum unexpectedFieldBehavior; + public SourceS3FormatJsonl withUnexpectedFieldBehavior(SourceS3FormatJsonlUnexpectedFieldBehaviorEnum unexpectedFieldBehavior) { + this.unexpectedFieldBehavior = unexpectedFieldBehavior; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlFiletypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlFiletypeEnum.java new file mode 100755 index 000000000..73898d5ed --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlFiletypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceS3FormatJsonlFiletypeEnum { + JSONL("jsonl"); + + @JsonValue + public final String value; + + private SourceS3FormatJsonlFiletypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlUnexpectedFieldBehaviorEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlUnexpectedFieldBehaviorEnum.java new file mode 100755 index 000000000..5d64f9315 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlUnexpectedFieldBehaviorEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceS3FormatJsonlUnexpectedFieldBehaviorEnum - How JSON fields outside of explicit_schema (if given) are treated. Check <a href="https://arrow.apache.org/docs/python/generated/pyarrow.json.ParseOptions.html" target="_blank">PyArrow documentation</a> for details + */ +public enum SourceS3FormatJsonlUnexpectedFieldBehaviorEnum { + IGNORE("ignore"), + INFER("infer"), + ERROR("error"); + + @JsonValue + public final String value; + + private SourceS3FormatJsonlUnexpectedFieldBehaviorEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatParquet.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatParquet.java new file mode 100755 index 000000000..5e2bebf6b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatParquet.java @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceS3FormatParquet - This connector utilises <a href="https://arrow.apache.org/docs/python/generated/pyarrow.parquet.ParquetFile.html" target="_blank">PyArrow (Apache Arrow)</a> for Parquet parsing. + */ +public class SourceS3FormatParquet { + /** + * Maximum number of records per batch read from the input files. Batches may be smaller if there aren\u2019t enough rows in the file. This option can help avoid out-of-memory errors if your data is particularly wide. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("batch_size") + public Long batchSize; + public SourceS3FormatParquet withBatchSize(Long batchSize) { + this.batchSize = batchSize; + return this; + } + + /** + * Perform read buffering when deserializing individual column chunks. By default every group column will be loaded fully to memory. This option can help avoid out-of-memory errors if your data is particularly wide. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("buffer_size") + public Long bufferSize; + public SourceS3FormatParquet withBufferSize(Long bufferSize) { + this.bufferSize = bufferSize; + return this; + } + + /** + * If you only want to sync a subset of the columns from the file(s), add the columns you want here as a comma-delimited list. Leave it empty to sync all columns. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("columns") + public String[] columns; + public SourceS3FormatParquet withColumns(String[] columns) { + this.columns = columns; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + public SourceS3FormatParquetFiletypeEnum filetype; + public SourceS3FormatParquet withFiletype(SourceS3FormatParquetFiletypeEnum filetype) { + this.filetype = filetype; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatParquetFiletypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatParquetFiletypeEnum.java new file mode 100755 index 000000000..d31958b93 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatParquetFiletypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceS3FormatParquetFiletypeEnum { + PARQUET("parquet"); + + @JsonValue + public final String value; + + private SourceS3FormatParquetFiletypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3S3AmazonWebServices.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3S3AmazonWebServices.java new file mode 100755 index 000000000..3ecb838c7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3S3AmazonWebServices.java @@ -0,0 +1,69 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceS3S3AmazonWebServices - Use this to load files from S3 or S3-compatible services + */ +public class SourceS3S3AmazonWebServices { + /** + * 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_access_key_id") + public String awsAccessKeyId; + public SourceS3S3AmazonWebServices withAwsAccessKeyId(String awsAccessKeyId) { + this.awsAccessKeyId = awsAccessKeyId; + return this; + } + + /** + * 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") + public String awsSecretAccessKey; + public SourceS3S3AmazonWebServices withAwsSecretAccessKey(String awsSecretAccessKey) { + this.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + + /** + * Name of the S3 bucket where the file(s) exist. + */ + @JsonProperty("bucket") + public String bucket; + public SourceS3S3AmazonWebServices withBucket(String bucket) { + this.bucket = bucket; + return this; + } + + /** + * Endpoint to an S3 compatible service. Leave empty to use AWS. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("endpoint") + public String endpoint; + public SourceS3S3AmazonWebServices withEndpoint(String endpoint) { + this.endpoint = endpoint; + return this; + } + + /** + * By providing a path-like prefix (e.g. myFolder/thisTable/) under which all the relevant files sit, we can optimize finding these in S3. This is optional but recommended if your bucket contains many folders/files which you don't need to replicate. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("path_prefix") + public String pathPrefix; + public SourceS3S3AmazonWebServices withPathPrefix(String pathPrefix) { + this.pathPrefix = pathPrefix; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceS3S3Enum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3S3Enum.java new file mode 100755 index 000000000..c6f561832 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceS3S3Enum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceS3S3Enum { + S3("s3"); + + @JsonValue + public final String value; + + private SourceS3S3Enum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java new file mode 100755 index 000000000..aeb942d5a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceSalesforce - The values required to configure the source. + */ +public class SourceSalesforce { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceSalesforceAuthTypeEnum authType; + public SourceSalesforce withAuthType(SourceSalesforceAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client ID</a> + */ + @JsonProperty("client_id") + public String clientId; + public SourceSalesforce withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client secret</a> + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceSalesforce withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * 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") + public Boolean isSandbox; + public SourceSalesforce withIsSandbox(Boolean isSandbox) { + this.isSandbox = isSandbox; + return this; + } + + /** + * 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. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceSalesforce withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + @JsonProperty("sourceType") + public SourceSalesforceSalesforceEnum sourceType; + public SourceSalesforce withSourceType(SourceSalesforceSalesforceEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Enter the date in the YYYY-MM-DD format. Airbyte will replicate the data added on and after this date. If this field is blank, Airbyte will replicate the data for last two years. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceSalesforce withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * Filter streams relevant to you + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streams_criteria") + public SourceSalesforceStreamsCriteria[] streamsCriteria; + public SourceSalesforce withStreamsCriteria(SourceSalesforceStreamsCriteria[] streamsCriteria) { + this.streamsCriteria = streamsCriteria; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceAuthTypeEnum.java new file mode 100755 index 000000000..a02337bb1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSalesforceAuthTypeEnum { + CLIENT("Client"); + + @JsonValue + public final String value; + + private SourceSalesforceAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforceEnum.java new file mode 100755 index 000000000..f108e212e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSalesforceSalesforceEnum { + SALESFORCE("salesforce"); + + @JsonValue + public final String value; + + private SourceSalesforceSalesforceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSinger.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSinger.java new file mode 100755 index 000000000..b23b5f655 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSinger.java @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSalesforceSinger - The values required to configure the source. + */ +public class SourceSalesforceSinger { + /** + * Unless you know that you are transferring a very small amount of data, prefer using the BULK API. This will help avoid using up all of your API call quota with Salesforce. Valid values are BULK or REST. + */ + @JsonProperty("api_type") + public SourceSalesforceSingerApiTypeEnum apiType; + public SourceSalesforceSinger withApiType(SourceSalesforceSingerApiTypeEnum apiType) { + this.apiType = apiType; + return this; + } + + /** + * The Consumer Key that can be found when viewing your app in Salesforce + */ + @JsonProperty("client_id") + public String clientId; + public SourceSalesforceSinger withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Consumer Secret that can be found when viewing your app in Salesforce + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceSalesforceSinger withClientSecret(String 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. We provide more info on this field in the <a href="https://docs.airbyte.io/integrations/destinations/salesforce#is_sandbox">docs</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("is_sandbox") + public Boolean isSandbox; + public SourceSalesforceSinger withIsSandbox(Boolean isSandbox) { + this.isSandbox = isSandbox; + return this; + } + + /** + * determines the maximum allowed API quota percentage the connector is allowed to consume per sync job + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("quota_percent_per_run") + public Double quotaPercentPerRun; + public SourceSalesforceSinger withQuotaPercentPerRun(Double quotaPercentPerRun) { + this.quotaPercentPerRun = quotaPercentPerRun; + return this; + } + + /** + * Determines the maximum allowed API quota percentage the connector is allowed to consume at any time + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("quota_percent_total") + public Double quotaPercentTotal; + public SourceSalesforceSinger withQuotaPercentTotal(Double quotaPercentTotal) { + this.quotaPercentTotal = quotaPercentTotal; + 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. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceSalesforceSinger withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + @JsonProperty("sourceType") + public SourceSalesforceSingerSalesforceSingerEnum sourceType; + public SourceSalesforceSinger withSourceType(SourceSalesforceSingerSalesforceSingerEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + public String startDate; + public SourceSalesforceSinger withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSingerApiTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSingerApiTypeEnum.java new file mode 100755 index 000000000..2a763f7ff --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSingerApiTypeEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceSalesforceSingerApiTypeEnum - Unless you know that you are transferring a very small amount of data, prefer using the BULK API. This will help avoid using up all of your API call quota with Salesforce. Valid values are BULK or REST. + */ +public enum SourceSalesforceSingerApiTypeEnum { + BULK("BULK"), + REST("REST"); + + @JsonValue + public final String value; + + private SourceSalesforceSingerApiTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSingerSalesforceSingerEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSingerSalesforceSingerEnum.java new file mode 100755 index 000000000..a9115aa90 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSingerSalesforceSingerEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSalesforceSingerSalesforceSingerEnum { + SALESFORCE_SINGER("salesforce-singer"); + + @JsonValue + public final String value; + + private SourceSalesforceSingerSalesforceSingerEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceStreamsCriteria.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceStreamsCriteria.java new file mode 100755 index 000000000..d14f25e04 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceStreamsCriteria.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceSalesforceStreamsCriteria { + @JsonProperty("criteria") + public SourceSalesforceStreamsCriteriaSearchCriteriaEnum criteria; + public SourceSalesforceStreamsCriteria withCriteria(SourceSalesforceStreamsCriteriaSearchCriteriaEnum criteria) { + this.criteria = criteria; + return this; + } + + @JsonProperty("value") + public String value; + public SourceSalesforceStreamsCriteria withValue(String value) { + this.value = value; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceStreamsCriteriaSearchCriteriaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceStreamsCriteriaSearchCriteriaEnum.java new file mode 100755 index 000000000..0b577d4fa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesforceStreamsCriteriaSearchCriteriaEnum.java @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSalesforceStreamsCriteriaSearchCriteriaEnum { + STARTS_WITH("starts with"), + ENDS_WITH("ends with"), + CONTAINS("contains"), + EXACTS("exacts"), + STARTS_NOT_WITH("starts not with"), + ENDS_NOT_WITH("ends not with"), + NOT_CONTAINS("not contains"), + NOT_EXACTS("not exacts"); + + @JsonValue + public final String value; + + private SourceSalesforceStreamsCriteriaSearchCriteriaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java new file mode 100755 index 000000000..d84654929 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceSalesloft - The values required to configure the source. + */ +public class SourceSalesloft { + @JsonProperty("credentials") + public Object credentials; + public SourceSalesloft withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceSalesloftSalesloftEnum sourceType; + public SourceSalesloft withSourceType(SourceSalesloftSalesloftEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceSalesloft withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaAPIKey.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaAPIKey.java new file mode 100755 index 000000000..3a6d731df --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaAPIKey.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceSalesloftCredentialsAuthenticateViaAPIKey { + /** + * API Key for making authenticated requests. More instruction on how to find this value in our <a href="https://docs.airbyte.com/integrations/sources/salesloft#setup-guide">docs</a> + */ + @JsonProperty("api_key") + public String apiKey; + public SourceSalesloftCredentialsAuthenticateViaAPIKey withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("auth_type") + public SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthTypeEnum authType; + public SourceSalesloftCredentialsAuthenticateViaAPIKey withAuthType(SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthTypeEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthTypeEnum.java new file mode 100755 index 000000000..2b894a33d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthTypeEnum { + API_KEY("api_key"); + + @JsonValue + public final String value; + + private SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaOAuth.java new file mode 100755 index 000000000..ca6435d12 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaOAuth.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +public class SourceSalesloftCredentialsAuthenticateViaOAuth { + /** + * Access Token for making authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceSalesloftCredentialsAuthenticateViaOAuth withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_type") + public SourceSalesloftCredentialsAuthenticateViaOAuthAuthTypeEnum authType; + public SourceSalesloftCredentialsAuthenticateViaOAuth withAuthType(SourceSalesloftCredentialsAuthenticateViaOAuthAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your Salesloft developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceSalesloftCredentialsAuthenticateViaOAuth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Salesloft developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceSalesloftCredentialsAuthenticateViaOAuth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The token for obtaining a new access token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceSalesloftCredentialsAuthenticateViaOAuth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("token_expiry_date") + public OffsetDateTime tokenExpiryDate; + public SourceSalesloftCredentialsAuthenticateViaOAuth withTokenExpiryDate(OffsetDateTime tokenExpiryDate) { + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaOAuthAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaOAuthAuthTypeEnum.java new file mode 100755 index 000000000..b49de485f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentialsAuthenticateViaOAuthAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSalesloftCredentialsAuthenticateViaOAuthAuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceSalesloftCredentialsAuthenticateViaOAuthAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftSalesloftEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftSalesloftEnum.java new file mode 100755 index 000000000..ea930da9d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSalesloftSalesloftEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSalesloftSalesloftEnum { + SALESLOFT("salesloft"); + + @JsonValue + public final String value; + + private SourceSalesloftSalesloftEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java new file mode 100755 index 000000000..38fe385c7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSapFieldglass - The values required to configure the source. + */ +public class SourceSapFieldglass { + /** + * API Key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceSapFieldglass withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceSapFieldglassSapFieldglassEnum sourceType; + public SourceSapFieldglass withSourceType(SourceSapFieldglassSapFieldglassEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglassSapFieldglassEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglassSapFieldglassEnum.java new file mode 100755 index 000000000..f2249127b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglassSapFieldglassEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSapFieldglassSapFieldglassEnum { + SAP_FIELDGLASS("sap-fieldglass"); + + @JsonValue + public final String value; + + private SourceSapFieldglassSapFieldglassEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSecoda.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSecoda.java new file mode 100755 index 000000000..72db8a18c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSecoda.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSecoda - The values required to configure the source. + */ +public class SourceSecoda { + /** + * Your API Access Key. See <a href="https://docs.secoda.co/secoda-api/authentication">here</a>. The key is case sensitive. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceSecoda withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceSecodaSecodaEnum sourceType; + public SourceSecoda withSourceType(SourceSecodaSecodaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSecodaSecodaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSecodaSecodaEnum.java new file mode 100755 index 000000000..ccc8fbf40 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSecodaSecodaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSecodaSecodaEnum { + SECODA("secoda"); + + @JsonValue + public final String value; + + private SourceSecodaSecodaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java new file mode 100755 index 000000000..390d48745 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceSendgrid - The values required to configure the source. + */ +public class SourceSendgrid { + /** + * API Key, use <a href="https://app.sendgrid.com/settings/api_keys/">admin</a> to generate this key. + */ + @JsonProperty("apikey") + public String apikey; + public SourceSendgrid withApikey(String apikey) { + this.apikey = apikey; + return this; + } + + @JsonProperty("sourceType") + public SourceSendgridSendgridEnum sourceType; + public SourceSendgrid withSourceType(SourceSendgridSendgridEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start time in ISO8601 format. Any data before this time point will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_time") + public OffsetDateTime startTime; + public SourceSendgrid withStartTime(OffsetDateTime startTime) { + this.startTime = startTime; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSendgridSendgridEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSendgridSendgridEnum.java new file mode 100755 index 000000000..3ce440c0b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSendgridSendgridEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSendgridSendgridEnum { + SENDGRID("sendgrid"); + + @JsonValue + public final String value; + + private SourceSendgridSendgridEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java new file mode 100755 index 000000000..d52e4e855 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSendinblue - The values required to configure the source. + */ +public class SourceSendinblue { + /** + * Your API Key. See <a href="https://developers.sendinblue.com/docs/getting-started">here</a>. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceSendinblue withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceSendinblueSendinblueEnum sourceType; + public SourceSendinblue withSourceType(SourceSendinblueSendinblueEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSendinblueSendinblueEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSendinblueSendinblueEnum.java new file mode 100755 index 000000000..5a635a599 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSendinblueSendinblueEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSendinblueSendinblueEnum { + SENDINBLUE("sendinblue"); + + @JsonValue + public final String value; + + private SourceSendinblueSendinblueEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java new file mode 100755 index 000000000..733bf5ba1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java @@ -0,0 +1,76 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceSenseforce - The values required to configure the source. + */ +public class SourceSenseforce { + /** + * Your API access token. See <a href="https://manual.senseforce.io/manual/sf-platform/public-api/get-your-access-token/">here</a>. The toke is case sensitive. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceSenseforce withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Your Senseforce API backend URL. This is the URL shown during the Login screen. See <a href="https://manual.senseforce.io/manual/sf-platform/public-api/get-your-access-token/">here</a> for more details. (Note: Most Senseforce backend APIs have the term 'galaxy' in their ULR) + */ + @JsonProperty("backend_url") + public String backendUrl; + public SourceSenseforce withBackendUrl(String backendUrl) { + this.backendUrl = backendUrl; + return this; + } + + /** + * The ID of the dataset you want to synchronize. The ID can be found in the URL when opening the dataset. See <a href="https://manual.senseforce.io/manual/sf-platform/public-api/get-your-access-token/">here</a> 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). + */ + @JsonProperty("dataset_id") + public String datasetId; + public SourceSenseforce withDatasetId(String datasetId) { + this.datasetId = datasetId; + return this; + } + + /** + * The time increment used by the connector when requesting data from the Senseforce 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 and the more likely one could run into rate limites. Furthermore, consider that large chunks of time might take a long time for the Senseforce query to return data - meaning it could take in effect longer than with more smaller time slices. If there are a lot of data per day, set this setting to 1. If there is only very little data per day, you might change the setting to 10 or more. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("slice_range") + public Long sliceRange; + public SourceSenseforce withSliceRange(Long sliceRange) { + this.sliceRange = sliceRange; + return this; + } + + @JsonProperty("sourceType") + public SourceSenseforceSenseforceEnum sourceType; + public SourceSenseforce withSourceType(SourceSenseforceSenseforceEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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 + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceSenseforce withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSenseforceSenseforceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSenseforceSenseforceEnum.java new file mode 100755 index 000000000..67f3769aa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSenseforceSenseforceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSenseforceSenseforceEnum { + SENSEFORCE("senseforce"); + + @JsonValue + public final String value; + + private SourceSenseforceSenseforceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSentry.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSentry.java new file mode 100755 index 000000000..1e38c41a5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSentry.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSentry - The values required to configure the source. + */ +public class SourceSentry { + /** + * Log into Sentry and then <a href="https://sentry.io/settings/account/api/auth-tokens/">create authentication tokens</a>.For self-hosted, you can find or create authentication tokens by visiting "{instance_url_prefix}/settings/account/api/auth-tokens/" + */ + @JsonProperty("auth_token") + public String authToken; + public SourceSentry withAuthToken(String authToken) { + this.authToken = authToken; + return this; + } + + /** + * Fields to retrieve when fetching discover events + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("discover_fields") + public Object[] discoverFields; + public SourceSentry withDiscoverFields(Object[] discoverFields) { + this.discoverFields = discoverFields; + return this; + } + + /** + * Host name of Sentry API server.For self-hosted, specify your host name here. Otherwise, leave it empty. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("hostname") + public String hostname; + public SourceSentry withHostname(String hostname) { + this.hostname = hostname; + return this; + } + + /** + * The slug of the organization the groups belong to. + */ + @JsonProperty("organization") + public String organization; + public SourceSentry withOrganization(String organization) { + this.organization = organization; + return this; + } + + /** + * The name (slug) of the Project you want to sync. + */ + @JsonProperty("project") + public String project; + public SourceSentry withProject(String project) { + this.project = project; + return this; + } + + @JsonProperty("sourceType") + public SourceSentrySentryEnum sourceType; + public SourceSentry withSourceType(SourceSentrySentryEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSentrySentryEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSentrySentryEnum.java new file mode 100755 index 000000000..67727be72 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSentrySentryEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSentrySentryEnum { + SENTRY("sentry"); + + @JsonValue + public final String value; + + private SourceSentrySentryEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftp.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftp.java new file mode 100755 index 000000000..51835c108 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftp.java @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSftp - The values required to configure the source. + */ +public class SourceSftp { + /** + * The server authentication method + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceSftp withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * The regular expression to specify files for sync in a chosen Folder Path + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_pattern") + public String filePattern; + public SourceSftp withFilePattern(String filePattern) { + this.filePattern = filePattern; + return this; + } + + /** + * Coma separated file types. Currently only 'csv' and 'json' types are supported. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_types") + public String fileTypes; + public SourceSftp withFileTypes(String fileTypes) { + this.fileTypes = fileTypes; + return this; + } + + /** + * The directory to search files for sync + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("folder_path") + public String folderPath; + public SourceSftp withFolderPath(String folderPath) { + this.folderPath = folderPath; + return this; + } + + /** + * The server host address + */ + @JsonProperty("host") + public String host; + public SourceSftp withHost(String host) { + this.host = host; + return this; + } + + /** + * The server port + */ + @JsonProperty("port") + public Long port; + public SourceSftp withPort(Long port) { + this.port = port; + return this; + } + + @JsonProperty("sourceType") + public SourceSftpSftpEnum sourceType; + public SourceSftp withSourceType(SourceSftpSftpEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The server user + */ + @JsonProperty("user") + public String user; + public SourceSftp withUser(String user) { + this.user = user; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java new file mode 100755 index 000000000..dcce1e5a4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java @@ -0,0 +1,144 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceSftpBulk - The values required to configure the source. + */ +public class SourceSftpBulk { + /** + * Sync only the most recent file for the configured folder path and file pattern + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_most_recent") + public Boolean fileMostRecent; + public SourceSftpBulk withFileMostRecent(Boolean fileMostRecent) { + this.fileMostRecent = fileMostRecent; + return this; + } + + /** + * The regular expression to specify files for sync in a chosen Folder Path + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_pattern") + public String filePattern; + public SourceSftpBulk withFilePattern(String filePattern) { + this.filePattern = filePattern; + return this; + } + + /** + * The file type you want to sync. Currently only 'csv' and 'json' files are supported. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("file_type") + public SourceSftpBulkFileTypeEnum fileType; + public SourceSftpBulk withFileType(SourceSftpBulkFileTypeEnum fileType) { + this.fileType = fileType; + return this; + } + + /** + * The directory to search files for sync + */ + @JsonProperty("folder_path") + public String folderPath; + public SourceSftpBulk withFolderPath(String folderPath) { + this.folderPath = folderPath; + return this; + } + + /** + * The server host address + */ + @JsonProperty("host") + public String host; + public SourceSftpBulk withHost(String host) { + this.host = host; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + public SourceSftpBulk withPassword(String password) { + this.password = password; + return this; + } + + /** + * The server port + */ + @JsonProperty("port") + public Long port; + public SourceSftpBulk withPort(Long port) { + this.port = port; + return this; + } + + /** + * The private key + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("private_key") + public String privateKey; + public SourceSftpBulk withPrivateKey(String privateKey) { + this.privateKey = privateKey; + return this; + } + + @JsonProperty("sourceType") + public SourceSftpBulkSftpBulkEnum sourceType; + public SourceSftpBulk withSourceType(SourceSftpBulkSftpBulkEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceSftpBulk withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * The name of the stream or table you want to create + */ + @JsonProperty("stream_name") + public String streamName; + public SourceSftpBulk withStreamName(String streamName) { + this.streamName = streamName; + return this; + } + + /** + * The server user + */ + @JsonProperty("username") + public String username; + public SourceSftpBulk withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileTypeEnum.java new file mode 100755 index 000000000..99307511a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileTypeEnum.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceSftpBulkFileTypeEnum - The file type you want to sync. Currently only 'csv' and 'json' files are supported. + */ +public enum SourceSftpBulkFileTypeEnum { + CSV("csv"), + JSON("json"); + + @JsonValue + public final String value; + + private SourceSftpBulkFileTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSftpBulkEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSftpBulkEnum.java new file mode 100755 index 000000000..08b8d3256 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSftpBulkEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSftpBulkSftpBulkEnum { + SFTP_BULK("sftp-bulk"); + + @JsonValue + public final String value; + + private SourceSftpBulkSftpBulkEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsPasswordAuthentication.java new file mode 100755 index 000000000..3bac194f5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsPasswordAuthentication.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSftpCredentialsPasswordAuthentication - The server authentication method + */ +public class SourceSftpCredentialsPasswordAuthentication { + /** + * Connect through password authentication + */ + @JsonProperty("auth_method") + public SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum authMethod; + public SourceSftpCredentialsPasswordAuthentication withAuthMethod(SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("auth_user_password") + public String authUserPassword; + public SourceSftpCredentialsPasswordAuthentication withAuthUserPassword(String authUserPassword) { + this.authUserPassword = authUserPassword; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum.java new file mode 100755 index 000000000..a301112d3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum - Connect through password authentication + */ +public enum SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private SourceSftpCredentialsPasswordAuthenticationAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsSSHKeyAuthentication.java new file mode 100755 index 000000000..369fbeda7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsSSHKeyAuthentication.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSftpCredentialsSSHKeyAuthentication - The server authentication method + */ +public class SourceSftpCredentialsSSHKeyAuthentication { + /** + * Connect through ssh key + */ + @JsonProperty("auth_method") + public SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum authMethod; + public SourceSftpCredentialsSSHKeyAuthentication withAuthMethod(SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("auth_ssh_key") + public String authSshKey; + public SourceSftpCredentialsSSHKeyAuthentication withAuthSshKey(String authSshKey) { + this.authSshKey = authSshKey; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum.java new file mode 100755 index 000000000..185f31447 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum - Connect through ssh key + */ +public enum SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private SourceSftpCredentialsSSHKeyAuthenticationAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpSftpEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpSftpEnum.java new file mode 100755 index 000000000..cb36e8e69 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSftpSftpEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSftpSftpEnum { + SFTP("sftp"); + + @JsonValue + public final String value; + + private SourceSftpSftpEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceShopify.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopify.java new file mode 100755 index 000000000..ed427be13 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopify.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceShopify - The values required to configure the source. + */ +public class SourceShopify { + /** + * The authorization method to use to retrieve data from Shopify + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceShopify withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * 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'. + */ + @JsonProperty("shop") + public String shop; + public SourceShopify withShop(String shop) { + this.shop = shop; + return this; + } + + @JsonProperty("sourceType") + public SourceShopifyShopifyEnum sourceType; + public SourceShopify withSourceType(SourceShopifyShopifyEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date you would like to replicate data from. Format: YYYY-MM-DD. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + public String startDate; + public SourceShopify withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsAPIPassword.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsAPIPassword.java new file mode 100755 index 000000000..bde848294 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsAPIPassword.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceShopifyCredentialsAPIPassword - API Password Auth + */ +public class SourceShopifyCredentialsAPIPassword { + /** + * The API Password for your private application in the `Shopify` store. + */ + @JsonProperty("api_password") + public String apiPassword; + public SourceShopifyCredentialsAPIPassword withApiPassword(String apiPassword) { + this.apiPassword = apiPassword; + return this; + } + + @JsonProperty("auth_method") + public SourceShopifyCredentialsAPIPasswordAuthMethodEnum authMethod; + public SourceShopifyCredentialsAPIPassword withAuthMethod(SourceShopifyCredentialsAPIPasswordAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsAPIPasswordAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsAPIPasswordAuthMethodEnum.java new file mode 100755 index 000000000..05a01e319 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsAPIPasswordAuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceShopifyCredentialsAPIPasswordAuthMethodEnum { + API_PASSWORD("api_password"); + + @JsonValue + public final String value; + + private SourceShopifyCredentialsAPIPasswordAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsOAuth20.java new file mode 100755 index 000000000..3626ac578 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsOAuth20.java @@ -0,0 +1,55 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceShopifyCredentialsOAuth20 - OAuth2.0 + */ +public class SourceShopifyCredentialsOAuth20 { + /** + * The Access Token for making authenticated requests. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_token") + public String accessToken; + public SourceShopifyCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_method") + public SourceShopifyCredentialsOAuth20AuthMethodEnum authMethod; + public SourceShopifyCredentialsOAuth20 withAuthMethod(SourceShopifyCredentialsOAuth20AuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The Client ID of the Shopify developer application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + public String clientId; + public SourceShopifyCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of the Shopify developer application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + public String clientSecret; + public SourceShopifyCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsOAuth20AuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsOAuth20AuthMethodEnum.java new file mode 100755 index 000000000..7d9f3f5cb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyCredentialsOAuth20AuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceShopifyCredentialsOAuth20AuthMethodEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceShopifyCredentialsOAuth20AuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyShopifyEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyShopifyEnum.java new file mode 100755 index 000000000..418e2a6a6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceShopifyShopifyEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceShopifyShopifyEnum { + SHOPIFY("shopify"); + + @JsonValue + public final String value; + + private SourceShopifyShopifyEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceShortio.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceShortio.java new file mode 100755 index 000000000..ccbc67215 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceShortio.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceShortio - The values required to configure the source. + */ +public class SourceShortio { + @JsonProperty("domain_id") + public String domainId; + public SourceShortio withDomainId(String domainId) { + this.domainId = domainId; + return this; + } + + /** + * Short.io Secret Key + */ + @JsonProperty("secret_key") + public String secretKey; + public SourceShortio withSecretKey(String secretKey) { + this.secretKey = secretKey; + return this; + } + + @JsonProperty("sourceType") + public SourceShortioShortioEnum sourceType; + public SourceShortio withSourceType(SourceShortioShortioEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + public String startDate; + public SourceShortio withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceShortioShortioEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceShortioShortioEnum.java new file mode 100755 index 000000000..7f0bb5528 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceShortioShortioEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceShortioShortioEnum { + SHORTIO("shortio"); + + @JsonValue + public final String value; + + private SourceShortioShortioEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSlack.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlack.java new file mode 100755 index 000000000..c5257fcce --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlack.java @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceSlack - The values required to configure the source. + */ +public class SourceSlack { + /** + * A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("channel_filter") + public String[] channelFilter; + public SourceSlack withChannelFilter(String[] channelFilter) { + this.channelFilter = channelFilter; + return this; + } + + /** + * Choose how to authenticate into Slack + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceSlack withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * 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. + */ + @JsonProperty("join_channels") + public Boolean joinChannels; + public SourceSlack withJoinChannels(Boolean joinChannels) { + this.joinChannels = joinChannels; + return this; + } + + /** + * How far into the past to look for messages in threads. + */ + @JsonProperty("lookback_window") + public Long lookbackWindow; + public SourceSlack withLookbackWindow(Long lookbackWindow) { + this.lookbackWindow = lookbackWindow; + return this; + } + + @JsonProperty("sourceType") + public SourceSlackSlackEnum sourceType; + public SourceSlack withSourceType(SourceSlackSlackEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceSlack withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsAPIToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsAPIToken.java new file mode 100755 index 000000000..f0cec8e0b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsAPIToken.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSlackCredentialsAPIToken - Choose how to authenticate into Slack + */ +public class SourceSlackCredentialsAPIToken { + /** + * A Slack bot token. See the <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> for instructions on how to generate it. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceSlackCredentialsAPIToken withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("option_title") + public SourceSlackCredentialsAPITokenOptionTitleEnum optionTitle; + public SourceSlackCredentialsAPIToken withOptionTitle(SourceSlackCredentialsAPITokenOptionTitleEnum optionTitle) { + this.optionTitle = optionTitle; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsAPITokenOptionTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsAPITokenOptionTitleEnum.java new file mode 100755 index 000000000..c8be418be --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsAPITokenOptionTitleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSlackCredentialsAPITokenOptionTitleEnum { + API_TOKEN_CREDENTIALS("API Token Credentials"); + + @JsonValue + public final String value; + + private SourceSlackCredentialsAPITokenOptionTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsSignInViaSlackOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsSignInViaSlackOAuth.java new file mode 100755 index 000000000..1b3336bd3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsSignInViaSlackOAuth.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSlackCredentialsSignInViaSlackOAuth - Choose how to authenticate into Slack + */ +public class SourceSlackCredentialsSignInViaSlackOAuth { + /** + * Slack access_token. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help generating the token. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceSlackCredentialsSignInViaSlackOAuth withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Slack client_id. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this id. + */ + @JsonProperty("client_id") + public String clientId; + public SourceSlackCredentialsSignInViaSlackOAuth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Slack client_secret. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this secret. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceSlackCredentialsSignInViaSlackOAuth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + @JsonProperty("option_title") + public SourceSlackCredentialsSignInViaSlackOAuthOptionTitleEnum optionTitle; + public SourceSlackCredentialsSignInViaSlackOAuth withOptionTitle(SourceSlackCredentialsSignInViaSlackOAuthOptionTitleEnum optionTitle) { + this.optionTitle = optionTitle; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsSignInViaSlackOAuthOptionTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsSignInViaSlackOAuthOptionTitleEnum.java new file mode 100755 index 000000000..2c195d033 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackCredentialsSignInViaSlackOAuthOptionTitleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSlackCredentialsSignInViaSlackOAuthOptionTitleEnum { + DEFAULT_O_AUTH20_AUTHORIZATION("Default OAuth2.0 authorization"); + + @JsonValue + public final String value; + + private SourceSlackCredentialsSignInViaSlackOAuthOptionTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackSlackEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackSlackEnum.java new file mode 100755 index 000000000..7376c9adf --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSlackSlackEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSlackSlackEnum { + SLACK("slack"); + + @JsonValue + public final String value; + + private SourceSlackSlackEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmaily.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmaily.java new file mode 100755 index 000000000..7105d85be --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmaily.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSmaily - The values required to configure the source. + */ +public class SourceSmaily { + /** + * API user password. See https://smaily.com/help/api/general/create-api-user/ + */ + @JsonProperty("api_password") + public String apiPassword; + public SourceSmaily withApiPassword(String apiPassword) { + this.apiPassword = apiPassword; + return this; + } + + /** + * API Subdomain. See https://smaily.com/help/api/general/create-api-user/ + */ + @JsonProperty("api_subdomain") + public String apiSubdomain; + public SourceSmaily withApiSubdomain(String apiSubdomain) { + this.apiSubdomain = apiSubdomain; + return this; + } + + /** + * API user username. See https://smaily.com/help/api/general/create-api-user/ + */ + @JsonProperty("api_username") + public String apiUsername; + public SourceSmaily withApiUsername(String apiUsername) { + this.apiUsername = apiUsername; + return this; + } + + @JsonProperty("sourceType") + public SourceSmailySmailyEnum sourceType; + public SourceSmaily withSourceType(SourceSmailySmailyEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmailySmailyEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmailySmailyEnum.java new file mode 100755 index 000000000..629c99e47 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmailySmailyEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSmailySmailyEnum { + SMAILY("smaily"); + + @JsonValue + public final String value; + + private SourceSmailySmailyEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java new file mode 100755 index 000000000..1ebe46af6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSmartengage - The values required to configure the source. + */ +public class SourceSmartengage { + /** + * API Key + */ + @JsonProperty("api_key") + public String apiKey; + public SourceSmartengage withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonProperty("sourceType") + public SourceSmartengageSmartengageEnum sourceType; + public SourceSmartengage withSourceType(SourceSmartengageSmartengageEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartengageSmartengageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartengageSmartengageEnum.java new file mode 100755 index 000000000..4423afffb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartengageSmartengageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSmartengageSmartengageEnum { + SMARTENGAGE("smartengage"); + + @JsonValue + public final String value; + + private SourceSmartengageSmartengageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java new file mode 100755 index 000000000..54cd7a4af --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java @@ -0,0 +1,57 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceSmartsheets - The values required to configure the source. + */ +public class SourceSmartsheets { + @JsonProperty("credentials") + public Object credentials; + public SourceSmartsheets withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceSmartsheetsSmartsheetsEnum sourceType; + public SourceSmartsheets withSourceType(SourceSmartsheetsSmartsheetsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The spreadsheet ID. Find it by opening the spreadsheet then navigating to File > Properties + */ + @JsonProperty("spreadsheet_id") + public String spreadsheetId; + public SourceSmartsheets withSpreadsheetId(String spreadsheetId) { + this.spreadsheetId = spreadsheetId; + return this; + } + + /** + * Only rows modified after this date/time will be replicated. This should be an ISO 8601 string, for instance: `2000-01-01T13:00:00` + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_datetime") + public OffsetDateTime startDatetime; + public SourceSmartsheets withStartDatetime(OffsetDateTime startDatetime) { + this.startDatetime = startDatetime; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsAPIAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsAPIAccessToken.java new file mode 100755 index 000000000..036f1a6a4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsAPIAccessToken.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceSmartsheetsCredentialsAPIAccessToken { + /** + * 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 <a href="https://docs.airbyte.com/integrations/sources/smartsheets/#setup-guide">setup guide</a> for information on how to obtain this token. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceSmartsheetsCredentialsAPIAccessToken withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceSmartsheetsCredentialsAPIAccessTokenAuthTypeEnum authType; + public SourceSmartsheetsCredentialsAPIAccessToken withAuthType(SourceSmartsheetsCredentialsAPIAccessTokenAuthTypeEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsAPIAccessTokenAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsAPIAccessTokenAuthTypeEnum.java new file mode 100755 index 000000000..d30be36dd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsAPIAccessTokenAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSmartsheetsCredentialsAPIAccessTokenAuthTypeEnum { + ACCESS_TOKEN("access_token"); + + @JsonValue + public final String value; + + private SourceSmartsheetsCredentialsAPIAccessTokenAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsOAuth20.java new file mode 100755 index 000000000..4f1d9e1eb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsOAuth20.java @@ -0,0 +1,77 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +public class SourceSmartsheetsCredentialsOAuth20 { + /** + * Access Token for making authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceSmartsheetsCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceSmartsheetsCredentialsOAuth20AuthTypeEnum authType; + public SourceSmartsheetsCredentialsOAuth20 withAuthType(SourceSmartsheetsCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The API ID of the SmartSheets developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceSmartsheetsCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The API Secret the SmartSheets developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceSmartsheetsCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The key to refresh the expired access_token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceSmartsheetsCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("token_expiry_date") + public OffsetDateTime tokenExpiryDate; + public SourceSmartsheetsCredentialsOAuth20 withTokenExpiryDate(OffsetDateTime tokenExpiryDate) { + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..176925b7f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSmartsheetsCredentialsOAuth20AuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceSmartsheetsCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheetsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheetsEnum.java new file mode 100755 index 000000000..42f7065e0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheetsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSmartsheetsSmartsheetsEnum { + SMARTSHEETS("smartsheets"); + + @JsonValue + public final String value; + + private SourceSmartsheetsSmartsheetsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java new file mode 100755 index 000000000..d21797d46 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceSnapchatMarketing - The values required to configure the source. + */ +public class SourceSnapchatMarketing { + /** + * The Client ID of your Snapchat developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceSnapchatMarketing withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Snapchat developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceSnapchatMarketing withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Date in the format 2017-01-25. Any data after this date will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("end_date") + public LocalDate endDate; + public SourceSnapchatMarketing withEndDate(LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * Refresh Token to renew the expired Access Token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceSnapchatMarketing withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + @JsonProperty("sourceType") + public SourceSnapchatMarketingSnapchatMarketingEnum sourceType; + public SourceSnapchatMarketing withSourceType(SourceSnapchatMarketingSnapchatMarketingEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Date in the format 2022-01-01. Any data before this date will not be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceSnapchatMarketing withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketingEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketingEnum.java new file mode 100755 index 000000000..63f002e26 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketingEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSnapchatMarketingSnapchatMarketingEnum { + SNAPCHAT_MARKETING("snapchat-marketing"); + + @JsonValue + public final String value; + + private SourceSnapchatMarketingSnapchatMarketingEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java new file mode 100755 index 000000000..d50bd6b08 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java @@ -0,0 +1,92 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSnowflake - The values required to configure the source. + */ +public class SourceSnowflake { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceSnowflake withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * The database you created for Airbyte to access data. + */ + @JsonProperty("database") + public String database; + public SourceSnowflake withDatabase(String database) { + this.database = database; + return this; + } + + /** + * The host domain of the snowflake instance (must include the account, region, cloud environment, and end with snowflakecomputing.com). + */ + @JsonProperty("host") + public String host; + public SourceSnowflake withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + public SourceSnowflake withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * The role you created for Airbyte to access Snowflake. + */ + @JsonProperty("role") + public String role; + public SourceSnowflake withRole(String role) { + this.role = role; + return this; + } + + /** + * The source Snowflake schema tables. Leave empty to access tables from multiple schemas. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schema") + public String schema; + public SourceSnowflake withSchema(String schema) { + this.schema = schema; + return this; + } + + @JsonProperty("sourceType") + public SourceSnowflakeSnowflakeEnum sourceType; + public SourceSnowflake withSourceType(SourceSnowflakeSnowflakeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The warehouse you created for Airbyte to access data. + */ + @JsonProperty("warehouse") + public String warehouse; + public SourceSnowflake withWarehouse(String warehouse) { + this.warehouse = warehouse; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsOAuth20.java new file mode 100755 index 000000000..3c3ae5b48 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsOAuth20.java @@ -0,0 +1,61 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceSnowflakeCredentialsOAuth20 { + /** + * Access Token for making authenticated requests. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_token") + public String accessToken; + public SourceSnowflakeCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_type") + public SourceSnowflakeCredentialsOAuth20AuthTypeEnum authType; + public SourceSnowflakeCredentialsOAuth20 withAuthType(SourceSnowflakeCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your Snowflake developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceSnowflakeCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Snowflake developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceSnowflakeCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token for making authenticated requests. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("refresh_token") + public String refreshToken; + public SourceSnowflakeCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..f162fd6ce --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSnowflakeCredentialsOAuth20AuthTypeEnum { + O_AUTH("OAuth"); + + @JsonValue + public final String value; + + private SourceSnowflakeCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsUsernameAndPassword.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsUsernameAndPassword.java new file mode 100755 index 000000000..7ae3805ee --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsUsernameAndPassword.java @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceSnowflakeCredentialsUsernameAndPassword { + @JsonProperty("auth_type") + public SourceSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum authType; + public SourceSnowflakeCredentialsUsernameAndPassword withAuthType(SourceSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The password associated with the username. + */ + @JsonProperty("password") + public String password; + public SourceSnowflakeCredentialsUsernameAndPassword withPassword(String password) { + this.password = password; + return this; + } + + /** + * The username you created to allow Airbyte to access the database. + */ + @JsonProperty("username") + public String username; + public SourceSnowflakeCredentialsUsernameAndPassword withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum.java new file mode 100755 index 000000000..8180648fd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum { + USERNAME_PASSWORD("username/password"); + + @JsonValue + public final String value; + + private SourceSnowflakeCredentialsUsernameAndPasswordAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflakeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflakeEnum.java new file mode 100755 index 000000000..e11c61b18 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflakeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSnowflakeSnowflakeEnum { + SNOWFLAKE("snowflake"); + + @JsonValue + public final String value; + + private SourceSnowflakeSnowflakeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java new file mode 100755 index 000000000..9975f8eb1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceSonarCloud - The values required to configure the source. + */ +public class SourceSonarCloud { + /** + * Comma-separated list of component keys. + */ + @JsonProperty("component_keys") + public Object[] componentKeys; + public SourceSonarCloud withComponentKeys(Object[] componentKeys) { + this.componentKeys = componentKeys; + return this; + } + + /** + * To retrieve issues created before the given date (inclusive). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("end_date") + public LocalDate endDate; + public SourceSonarCloud withEndDate(LocalDate endDate) { + this.endDate = endDate; + return this; + } + + /** + * Organization key. See <a href="https://docs.sonarcloud.io/appendices/project-information/#project-and-organization-keys">here</a>. + */ + @JsonProperty("organization") + public String organization; + public SourceSonarCloud withOrganization(String organization) { + this.organization = organization; + return this; + } + + @JsonProperty("sourceType") + public SourceSonarCloudSonarCloudEnum sourceType; + public SourceSonarCloud withSourceType(SourceSonarCloudSonarCloudEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * To retrieve issues created after the given date (inclusive). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceSonarCloud withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + + /** + * Your User Token. See <a href="https://docs.sonarcloud.io/advanced-setup/user-accounts/">here</a>. The token is case sensitive. + */ + @JsonProperty("user_token") + public String userToken; + public SourceSonarCloud withUserToken(String userToken) { + this.userToken = userToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSonarCloudSonarCloudEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSonarCloudSonarCloudEnum.java new file mode 100755 index 000000000..5b5cd48f1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSonarCloudSonarCloudEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSonarCloudSonarCloudEnum { + SONAR_CLOUD("sonar-cloud"); + + @JsonValue + public final String value; + + private SourceSonarCloudSonarCloudEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java new file mode 100755 index 000000000..b1b057778 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSpacexApi - The values required to configure the source. + */ +public class SourceSpacexApi { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + public String id; + public SourceSpacexApi withId(String id) { + this.id = id; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("options") + public String options; + public SourceSpacexApi withOptions(String options) { + this.options = options; + return this; + } + + @JsonProperty("sourceType") + public SourceSpacexApiSpacexApiEnum sourceType; + public SourceSpacexApi withSourceType(SourceSpacexApiSpacexApiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApiSpacexApiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApiSpacexApiEnum.java new file mode 100755 index 000000000..978ccb6aa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApiSpacexApiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSpacexApiSpacexApiEnum { + SPACEX_API("spacex-api"); + + @JsonValue + public final String value; + + private SourceSpacexApiSpacexApiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSquare.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquare.java new file mode 100755 index 000000000..fca47a61a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquare.java @@ -0,0 +1,68 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceSquare - The values required to configure the source. + */ +public class SourceSquare { + /** + * Choose how to authenticate to Square. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceSquare withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * In some streams there is an option to include deleted objects (Items, Categories, Discounts, Taxes) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("include_deleted_objects") + public Boolean includeDeletedObjects; + public SourceSquare withIncludeDeletedObjects(Boolean includeDeletedObjects) { + this.includeDeletedObjects = includeDeletedObjects; + return this; + } + + /** + * Determines whether to use the sandbox or production environment. + */ + @JsonProperty("is_sandbox") + public Boolean isSandbox; + public SourceSquare withIsSandbox(Boolean isSandbox) { + this.isSandbox = isSandbox; + return this; + } + + @JsonProperty("sourceType") + public SourceSquareSquareEnum sourceType; + public SourceSquare withSourceType(SourceSquareSquareEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceSquare withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsAPIKey.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsAPIKey.java new file mode 100755 index 000000000..d2f92c9e5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsAPIKey.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSquareCredentialsAPIKey - Choose how to authenticate to Square. + */ +public class SourceSquareCredentialsAPIKey { + /** + * The API key for a Square application + */ + @JsonProperty("api_key") + public String apiKey; + public SourceSquareCredentialsAPIKey withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials_title") + public SourceSquareCredentialsAPIKeyCredentialsTitleEnum credentialsTitle; + public SourceSquareCredentialsAPIKey withCredentialsTitle(SourceSquareCredentialsAPIKeyCredentialsTitleEnum credentialsTitle) { + this.credentialsTitle = credentialsTitle; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsAPIKeyCredentialsTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsAPIKeyCredentialsTitleEnum.java new file mode 100755 index 000000000..247e72a50 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsAPIKeyCredentialsTitleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSquareCredentialsAPIKeyCredentialsTitleEnum { + API_KEY("API Key"); + + @JsonValue + public final String value; + + private SourceSquareCredentialsAPIKeyCredentialsTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsOauthAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsOauthAuthentication.java new file mode 100755 index 000000000..65c4fa3ac --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsOauthAuthentication.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSquareCredentialsOauthAuthentication - Choose how to authenticate to Square. + */ +public class SourceSquareCredentialsOauthAuthentication { + /** + * The Square-issued ID of your application + */ + @JsonProperty("client_id") + public String clientId; + public SourceSquareCredentialsOauthAuthentication withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Square-issued application secret for your application + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceSquareCredentialsOauthAuthentication withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials_title") + public SourceSquareCredentialsOauthAuthenticationCredentialsTitleEnum credentialsTitle; + public SourceSquareCredentialsOauthAuthentication withCredentialsTitle(SourceSquareCredentialsOauthAuthenticationCredentialsTitleEnum credentialsTitle) { + this.credentialsTitle = credentialsTitle; + return this; + } + + /** + * A refresh token generated using the above client ID and secret + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceSquareCredentialsOauthAuthentication withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsOauthAuthenticationCredentialsTitleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsOauthAuthenticationCredentialsTitleEnum.java new file mode 100755 index 000000000..fcdcbe057 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareCredentialsOauthAuthenticationCredentialsTitleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSquareCredentialsOauthAuthenticationCredentialsTitleEnum { + O_AUTH_CREDENTIALS("OAuth Credentials"); + + @JsonValue + public final String value; + + private SourceSquareCredentialsOauthAuthenticationCredentialsTitleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareSquareEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareSquareEnum.java new file mode 100755 index 000000000..8f4a1a3af --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSquareSquareEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSquareSquareEnum { + SQUARE("square"); + + @JsonValue + public final String value; + + private SourceSquareSquareEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceStrava.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceStrava.java new file mode 100755 index 000000000..9c15248f2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceStrava.java @@ -0,0 +1,87 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceStrava - The values required to configure the source. + */ +public class SourceStrava { + /** + * The Athlete ID of your Strava developer application. + */ + @JsonProperty("athlete_id") + public Long athleteId; + public SourceStrava withAthleteId(Long athleteId) { + this.athleteId = athleteId; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceStravaAuthTypeEnum authType; + public SourceStrava withAuthType(SourceStravaAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Client ID of your Strava developer application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceStrava withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Strava developer application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceStrava withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The Refresh Token with the activity: read_all permissions. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceStrava withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + @JsonProperty("sourceType") + public SourceStravaStravaEnum sourceType; + public SourceStrava withSourceType(SourceStravaStravaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceStrava withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceStravaAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceStravaAuthTypeEnum.java new file mode 100755 index 000000000..099113e41 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceStravaAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceStravaAuthTypeEnum { + CLIENT("Client"); + + @JsonValue + public final String value; + + private SourceStravaAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceStravaStravaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceStravaStravaEnum.java new file mode 100755 index 000000000..a949d5b99 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceStravaStravaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceStravaStravaEnum { + STRAVA("strava"); + + @JsonValue + public final String value; + + private SourceStravaStravaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceStripe.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceStripe.java new file mode 100755 index 000000000..f66bb8c06 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceStripe.java @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceStripe - The values required to configure the source. + */ +public class SourceStripe { + /** + * Your Stripe account ID (starts with 'acct_', find yours <a href="https://dashboard.stripe.com/settings/account">here</a>). + */ + @JsonProperty("account_id") + public String accountId; + public SourceStripe withAccountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Stripe API key (usually starts with 'sk_live_'; find yours <a href="https://dashboard.stripe.com/apikeys">here</a>). + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceStripe withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * 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. More info <a href="https://docs.airbyte.com/integrations/sources/stripe#requirements">here</a> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lookback_window_days") + public Long lookbackWindowDays; + public SourceStripe withLookbackWindowDays(Long lookbackWindowDays) { + this.lookbackWindowDays = lookbackWindowDays; + return this; + } + + /** + * 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") + public Long sliceRange; + public SourceStripe withSliceRange(Long sliceRange) { + this.sliceRange = sliceRange; + return this; + } + + @JsonProperty("sourceType") + public SourceStripeStripeEnum sourceType; + public SourceStripe withSourceType(SourceStripeStripeEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceStripe withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceStripeStripeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceStripeStripeEnum.java new file mode 100755 index 000000000..cc44b07a0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceStripeStripeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceStripeStripeEnum { + STRIPE("stripe"); + + @JsonValue + public final String value; + + private SourceStripeStripeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java new file mode 100755 index 000000000..d31a2cb2a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSurveySparrow - The values required to configure the source. + */ +public class SourceSurveySparrow { + /** + * Your access token. See <a href="https://developers.surveysparrow.com/rest-apis#authentication">here</a>. The key is case sensitive. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceSurveySparrow withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Is your account location is EU based? If yes, the base url to retrieve data will be different. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + public Object region; + public SourceSurveySparrow withRegion(Object region) { + this.region = region; + return this; + } + + @JsonProperty("sourceType") + public SourceSurveySparrowSurveySparrowEnum sourceType; + public SourceSurveySparrow withSourceType(SourceSurveySparrowSurveySparrowEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * A List of your survey ids for survey-specific stream + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("survey_id") + public Object[] surveyId; + public SourceSurveySparrow withSurveyId(Object[] surveyId) { + this.surveyId = surveyId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionEUBasedAccount.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionEUBasedAccount.java new file mode 100755 index 000000000..ab09dc47d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionEUBasedAccount.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSurveySparrowRegionEUBasedAccount - Is your account location is EU based? If yes, the base url to retrieve data will be different. + */ +public class SourceSurveySparrowRegionEUBasedAccount { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("url_base") + public SourceSurveySparrowRegionEUBasedAccountUrlBaseEnum urlBase; + public SourceSurveySparrowRegionEUBasedAccount withUrlBase(SourceSurveySparrowRegionEUBasedAccountUrlBaseEnum urlBase) { + this.urlBase = urlBase; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionEUBasedAccountUrlBaseEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionEUBasedAccountUrlBaseEnum.java new file mode 100755 index 000000000..fb56fd2e6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionEUBasedAccountUrlBaseEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSurveySparrowRegionEUBasedAccountUrlBaseEnum { + HTTPS_EU_API_SURVEYSPARROW_COM_V3("https://eu-api.surveysparrow.com/v3"); + + @JsonValue + public final String value; + + private SourceSurveySparrowRegionEUBasedAccountUrlBaseEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionGlobalAccount.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionGlobalAccount.java new file mode 100755 index 000000000..30e2c781b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionGlobalAccount.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSurveySparrowRegionGlobalAccount - Is your account location is EU based? If yes, the base url to retrieve data will be different. + */ +public class SourceSurveySparrowRegionGlobalAccount { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("url_base") + public SourceSurveySparrowRegionGlobalAccountUrlBaseEnum urlBase; + public SourceSurveySparrowRegionGlobalAccount withUrlBase(SourceSurveySparrowRegionGlobalAccountUrlBaseEnum urlBase) { + this.urlBase = urlBase; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionGlobalAccountUrlBaseEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionGlobalAccountUrlBaseEnum.java new file mode 100755 index 000000000..1e0b73e90 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowRegionGlobalAccountUrlBaseEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSurveySparrowRegionGlobalAccountUrlBaseEnum { + HTTPS_API_SURVEYSPARROW_COM_V3("https://api.surveysparrow.com/v3"); + + @JsonValue + public final String value; + + private SourceSurveySparrowRegionGlobalAccountUrlBaseEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowSurveySparrowEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowSurveySparrowEnum.java new file mode 100755 index 000000000..0b187c0bc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowSurveySparrowEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSurveySparrowSurveySparrowEnum { + SURVEY_SPARROW("survey-sparrow"); + + @JsonValue + public final String value; + + private SourceSurveySparrowSurveySparrowEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java new file mode 100755 index 000000000..8634ba9cd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java @@ -0,0 +1,72 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceSurveymonkey - The values required to configure the source. + */ +public class SourceSurveymonkey { + /** + * The authorization method to use to retrieve data from SurveyMonkey + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public SourceSurveymonkeySurveyMonkeyAuthorizationMethod credentials; + public SourceSurveymonkey withCredentials(SourceSurveymonkeySurveyMonkeyAuthorizationMethod credentials) { + this.credentials = credentials; + return this; + } + + /** + * Depending on the originating datacenter of the SurveyMonkey account, the API access URL may be different. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("origin") + public SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum origin; + public SourceSurveymonkey withOrigin(SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum origin) { + this.origin = origin; + return this; + } + + @JsonProperty("sourceType") + public SourceSurveymonkeySurveymonkeyEnum sourceType; + public SourceSurveymonkey withSourceType(SourceSurveymonkeySurveymonkeyEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceSurveymonkey withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("survey_ids") + public String[] surveyIds; + public SourceSurveymonkey withSurveyIds(String[] surveyIds) { + this.surveyIds = surveyIds; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum.java new file mode 100755 index 000000000..8ebaa7645 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum - Depending on the originating datacenter of the SurveyMonkey account, the API access URL may be different. + */ +public enum SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum { + USA("USA"), + EUROPE("Europe"), + CANADA("Canada"); + + @JsonValue + public final String value; + + private SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccountEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveyMonkeyAuthorizationMethod.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveyMonkeyAuthorizationMethod.java new file mode 100755 index 000000000..0f5e7f8ff --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveyMonkeyAuthorizationMethod.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceSurveymonkeySurveyMonkeyAuthorizationMethod - The authorization method to use to retrieve data from SurveyMonkey + */ +public class SourceSurveymonkeySurveyMonkeyAuthorizationMethod { + /** + * Access Token for making authenticated requests. See the <a href="https://docs.airbyte.io/integrations/sources/surveymonkey">docs</a> for information on how to generate this key. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceSurveymonkeySurveyMonkeyAuthorizationMethod withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_method") + public SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethodEnum authMethod; + public SourceSurveymonkeySurveyMonkeyAuthorizationMethod withAuthMethod(SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The Client ID of the SurveyMonkey developer application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + public String clientId; + public SourceSurveymonkeySurveyMonkeyAuthorizationMethod withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of the SurveyMonkey developer application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + public String clientSecret; + public SourceSurveymonkeySurveyMonkeyAuthorizationMethod withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethodEnum.java new file mode 100755 index 000000000..3406fb758 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethodEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkeyEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkeyEnum.java new file mode 100755 index 000000000..2c345821f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkeyEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceSurveymonkeySurveymonkeyEnum { + SURVEYMONKEY("surveymonkey"); + + @JsonValue + public final String value; + + private SourceSurveymonkeySurveymonkeyEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTempo.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTempo.java new file mode 100755 index 000000000..d8ade3423 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTempo.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTempo - The values required to configure the source. + */ +public class SourceTempo { + /** + * Tempo API Token. Go to Tempo>Settings, scroll down to Data Access and select API integration. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceTempo withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("sourceType") + public SourceTempoTempoEnum sourceType; + public SourceTempo withSourceType(SourceTempoTempoEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTempoTempoEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTempoTempoEnum.java new file mode 100755 index 000000000..6cc6065fb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTempoTempoEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTempoTempoEnum { + TEMPO("tempo"); + + @JsonValue + public final String value; + + private SourceTempoTempoEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java new file mode 100755 index 000000000..ab681cdd9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java @@ -0,0 +1,86 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTheGuardianApi - The values required to configure the source. + */ +public class SourceTheGuardianApi { + /** + * Your API Key. See <a href="https://open-platform.theguardian.com/access/">here</a>. The key is case sensitive. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceTheGuardianApi withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * (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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + public String endDate; + public SourceTheGuardianApi withEndDate(String endDate) { + this.endDate = endDate; + return this; + } + + /** + * (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") + public String query; + public SourceTheGuardianApi withQuery(String query) { + this.query = query; + return this; + } + + /** + * (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") + public String section; + public SourceTheGuardianApi withSection(String section) { + this.section = section; + return this; + } + + @JsonProperty("sourceType") + public SourceTheGuardianApiTheGuardianApiEnum sourceType; + public SourceTheGuardianApi withSourceType(SourceTheGuardianApiTheGuardianApiEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Use this to set the minimum date (YYYY-MM-DD) of the results. Results older than the start_date will not be shown. + */ + @JsonProperty("start_date") + public String startDate; + public SourceTheGuardianApi withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * (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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tag") + public String tag; + public SourceTheGuardianApi withTag(String tag) { + this.tag = tag; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApiTheGuardianApiEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApiTheGuardianApiEnum.java new file mode 100755 index 000000000..dd7a4f7c5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApiTheGuardianApiEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTheGuardianApiTheGuardianApiEnum { + THE_GUARDIAN_API("the-guardian-api"); + + @JsonValue + public final String value; + + private SourceTheGuardianApiTheGuardianApiEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java new file mode 100755 index 000000000..bb971f693 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java @@ -0,0 +1,70 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceTiktokMarketing - The values required to configure the source. + */ +public class SourceTiktokMarketing { + /** + * The attribution window in days. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("attribution_window") + public Long attributionWindow; + public SourceTiktokMarketing withAttributionWindow(Long attributionWindow) { + this.attributionWindow = attributionWindow; + return this; + } + + /** + * Authentication method + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceTiktokMarketing withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("end_date") + public LocalDate endDate; + public SourceTiktokMarketing withEndDate(LocalDate endDate) { + this.endDate = endDate; + return this; + } + + @JsonProperty("sourceType") + public SourceTiktokMarketingTiktokMarketingEnum sourceType; + public SourceTiktokMarketing withSourceType(SourceTiktokMarketingTiktokMarketingEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceTiktokMarketing withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsOAuth20.java new file mode 100755 index 000000000..77c6d7ce2 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsOAuth20.java @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTiktokMarketingCredentialsOAuth20 - Authentication method + */ +public class SourceTiktokMarketingCredentialsOAuth20 { + /** + * Long-term Authorized Access Token. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceTiktokMarketingCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * The Advertiser ID to filter reports and streams. Let this empty to retrieve all. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("advertiser_id") + public String advertiserId; + public SourceTiktokMarketingCredentialsOAuth20 withAdvertiserId(String advertiserId) { + this.advertiserId = advertiserId; + return this; + } + + /** + * The Developer Application App ID. + */ + @JsonProperty("app_id") + public String appId; + public SourceTiktokMarketingCredentialsOAuth20 withAppId(String appId) { + this.appId = appId; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceTiktokMarketingCredentialsOAuth20AuthTypeEnum authType; + public SourceTiktokMarketingCredentialsOAuth20 withAuthType(SourceTiktokMarketingCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The Developer Application Secret. + */ + @JsonProperty("secret") + public String secret; + public SourceTiktokMarketingCredentialsOAuth20 withSecret(String secret) { + this.secret = secret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..0f4ed21b0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTiktokMarketingCredentialsOAuth20AuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceTiktokMarketingCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsSandboxAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsSandboxAccessToken.java new file mode 100755 index 000000000..36c79635d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsSandboxAccessToken.java @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTiktokMarketingCredentialsSandboxAccessToken - Authentication method + */ +public class SourceTiktokMarketingCredentialsSandboxAccessToken { + /** + * The long-term authorized access token. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceTiktokMarketingCredentialsSandboxAccessToken withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * The Advertiser ID which generated for the developer's Sandbox application. + */ + @JsonProperty("advertiser_id") + public String advertiserId; + public SourceTiktokMarketingCredentialsSandboxAccessToken withAdvertiserId(String advertiserId) { + this.advertiserId = advertiserId; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceTiktokMarketingCredentialsSandboxAccessTokenAuthTypeEnum authType; + public SourceTiktokMarketingCredentialsSandboxAccessToken withAuthType(SourceTiktokMarketingCredentialsSandboxAccessTokenAuthTypeEnum authType) { + this.authType = authType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsSandboxAccessTokenAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsSandboxAccessTokenAuthTypeEnum.java new file mode 100755 index 000000000..4f66448a5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingCredentialsSandboxAccessTokenAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTiktokMarketingCredentialsSandboxAccessTokenAuthTypeEnum { + SANDBOX_ACCESS_TOKEN("sandbox_access_token"); + + @JsonValue + public final String value; + + private SourceTiktokMarketingCredentialsSandboxAccessTokenAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketingEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketingEnum.java new file mode 100755 index 000000000..c53c0dd8b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketingEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTiktokMarketingTiktokMarketingEnum { + TIKTOK_MARKETING("tiktok-marketing"); + + @JsonValue + public final String value; + + private SourceTiktokMarketingTiktokMarketingEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTodoist.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTodoist.java new file mode 100755 index 000000000..4c78ecb87 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTodoist.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTodoist - The values required to configure the source. + */ +public class SourceTodoist { + @JsonProperty("sourceType") + public SourceTodoistTodoistEnum sourceType; + public SourceTodoist withSourceType(SourceTodoistTodoistEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Your API Token. See <a href="https://todoist.com/app/settings/integrations/">here</a>. The token is case sensitive. + */ + @JsonProperty("token") + public String token; + public SourceTodoist withToken(String token) { + this.token = token; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTodoistTodoistEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTodoistTodoistEnum.java new file mode 100755 index 000000000..363f83436 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTodoistTodoistEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTodoistTodoistEnum { + TODOIST("todoist"); + + @JsonValue + public final String value; + + private SourceTodoistTodoistEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTrello.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrello.java new file mode 100755 index 000000000..e4a2af911 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrello.java @@ -0,0 +1,70 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceTrello - The values required to configure the source. + */ +public class SourceTrello { + /** + * IDs of the boards to replicate data from. If left empty, data from all boards to which you have access will be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("board_ids") + public String[] boardIds; + public SourceTrello withBoardIds(String[] boardIds) { + this.boardIds = boardIds; + return this; + } + + /** + * 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. + */ + @JsonProperty("key") + public String key; + public SourceTrello withKey(String key) { + this.key = key; + return this; + } + + @JsonProperty("sourceType") + public SourceTrelloTrelloEnum sourceType; + public SourceTrello withSourceType(SourceTrelloTrelloEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceTrello withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * Trello API token. 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. + */ + @JsonProperty("token") + public String token; + public SourceTrello withToken(String token) { + this.token = token; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTrelloTrelloEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrelloTrelloEnum.java new file mode 100755 index 000000000..5f8692c21 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrelloTrelloEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTrelloTrelloEnum { + TRELLO("trello"); + + @JsonValue + public final String value; + + private SourceTrelloTrelloEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java new file mode 100755 index 000000000..56d5717c3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTrustpilot - The values required to configure the source. + */ +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") + public String[] businessUnits; + public SourceTrustpilot withBusinessUnits(String[] businessUnits) { + this.businessUnits = businessUnits; + return this; + } + + @JsonProperty("credentials") + public Object credentials; + public SourceTrustpilot withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceTrustpilotTrustpilotEnum sourceType; + public SourceTrustpilot withSourceType(SourceTrustpilotTrustpilotEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * For streams with sync. method incremental the start date time to be used + */ + @JsonProperty("start_date") + public String startDate; + public SourceTrustpilot withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsAPIKey.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsAPIKey.java new file mode 100755 index 000000000..b4f2b8707 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsAPIKey.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTrustpilotCredentialsAPIKey - 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. + */ +public class SourceTrustpilotCredentialsAPIKey { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceTrustpilotCredentialsAPIKeyAuthTypeEnum authType; + public SourceTrustpilotCredentialsAPIKey withAuthType(SourceTrustpilotCredentialsAPIKeyAuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The API key of the Trustpilot API application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceTrustpilotCredentialsAPIKey withClientId(String clientId) { + this.clientId = clientId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsAPIKeyAuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsAPIKeyAuthTypeEnum.java new file mode 100755 index 000000000..55ab56f73 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsAPIKeyAuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTrustpilotCredentialsAPIKeyAuthTypeEnum { + APIKEY("apikey"); + + @JsonValue + public final String value; + + private SourceTrustpilotCredentialsAPIKeyAuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsOAuth20.java new file mode 100755 index 000000000..8ad0d2020 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsOAuth20.java @@ -0,0 +1,77 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +public class SourceTrustpilotCredentialsOAuth20 { + /** + * Access Token for making authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceTrustpilotCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + public SourceTrustpilotCredentialsOAuth20AuthTypeEnum authType; + public SourceTrustpilotCredentialsOAuth20 withAuthType(SourceTrustpilotCredentialsOAuth20AuthTypeEnum authType) { + this.authType = authType; + return this; + } + + /** + * The API key of the Trustpilot API application. (represents the OAuth Client ID) + */ + @JsonProperty("client_id") + public String clientId; + public SourceTrustpilotCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Secret of the Trustpilot API application. (represents the OAuth Client Secret) + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceTrustpilotCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * The key to refresh the expired access_token. + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceTrustpilotCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("token_expiry_date") + public OffsetDateTime tokenExpiryDate; + public SourceTrustpilotCredentialsOAuth20 withTokenExpiryDate(OffsetDateTime tokenExpiryDate) { + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsOAuth20AuthTypeEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsOAuth20AuthTypeEnum.java new file mode 100755 index 000000000..bba97d796 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotCredentialsOAuth20AuthTypeEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTrustpilotCredentialsOAuth20AuthTypeEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceTrustpilotCredentialsOAuth20AuthTypeEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotTrustpilotEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotTrustpilotEnum.java new file mode 100755 index 000000000..b747b1d2a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotTrustpilotEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTrustpilotTrustpilotEnum { + TRUSTPILOT("trustpilot"); + + @JsonValue + public final String value; + + private SourceTrustpilotTrustpilotEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java new file mode 100755 index 000000000..be9b1a237 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java @@ -0,0 +1,68 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTvmazeSchedule - The values required to configure the source. + */ +public class SourceTvmazeSchedule { + /** + * Country code for domestic TV schedule retrieval. + */ + @JsonProperty("domestic_schedule_country_code") + public String domesticScheduleCountryCode; + public SourceTvmazeSchedule withDomesticScheduleCountryCode(String domesticScheduleCountryCode) { + this.domesticScheduleCountryCode = domesticScheduleCountryCode; + return this; + } + + /** + * End date for TV schedule retrieval. May be in the future. Optional. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + public String endDate; + public SourceTvmazeSchedule withEndDate(String endDate) { + this.endDate = endDate; + return this; + } + + @JsonProperty("sourceType") + public SourceTvmazeScheduleTvmazeScheduleEnum sourceType; + public SourceTvmazeSchedule withSourceType(SourceTvmazeScheduleTvmazeScheduleEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start date for TV schedule retrieval. May be in the future. + */ + @JsonProperty("start_date") + public String startDate; + public SourceTvmazeSchedule withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("web_schedule_country_code") + public String webScheduleCountryCode; + public SourceTvmazeSchedule withWebScheduleCountryCode(String webScheduleCountryCode) { + this.webScheduleCountryCode = webScheduleCountryCode; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTvmazeScheduleTvmazeScheduleEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTvmazeScheduleTvmazeScheduleEnum.java new file mode 100755 index 000000000..146acc142 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTvmazeScheduleTvmazeScheduleEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTvmazeScheduleTvmazeScheduleEnum { + TVMAZE_SCHEDULE("tvmaze-schedule"); + + @JsonValue + public final String value; + + private SourceTvmazeScheduleTvmazeScheduleEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilio.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilio.java new file mode 100755 index 000000000..aeac81794 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilio.java @@ -0,0 +1,70 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceTwilio - The values required to configure the source. + */ +public class SourceTwilio { + /** + * Twilio account SID + */ + @JsonProperty("account_sid") + public String accountSid; + public SourceTwilio withAccountSid(String accountSid) { + this.accountSid = accountSid; + return this; + } + + /** + * Twilio Auth Token. + */ + @JsonProperty("auth_token") + public String authToken; + public SourceTwilio withAuthToken(String authToken) { + this.authToken = authToken; + return this; + } + + /** + * How far into the past to look for records. (in minutes) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lookback_window") + public Long lookbackWindow; + public SourceTwilio withLookbackWindow(Long lookbackWindow) { + this.lookbackWindow = lookbackWindow; + return this; + } + + @JsonProperty("sourceType") + public SourceTwilioTwilioEnum sourceType; + public SourceTwilio withSourceType(SourceTwilioTwilioEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2020-10-01T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceTwilio withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java new file mode 100755 index 000000000..4a61fe6e3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceTwilioTaskrouter - The values required to configure the source. + */ +public class SourceTwilioTaskrouter { + /** + * Twilio Account ID + */ + @JsonProperty("account_sid") + public String accountSid; + public SourceTwilioTaskrouter withAccountSid(String accountSid) { + this.accountSid = accountSid; + return this; + } + + /** + * Twilio Auth Token + */ + @JsonProperty("auth_token") + public String authToken; + public SourceTwilioTaskrouter withAuthToken(String authToken) { + this.authToken = authToken; + return this; + } + + @JsonProperty("sourceType") + public SourceTwilioTaskrouterTwilioTaskrouterEnum sourceType; + public SourceTwilioTaskrouter withSourceType(SourceTwilioTaskrouterTwilioTaskrouterEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouterTwilioTaskrouterEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouterTwilioTaskrouterEnum.java new file mode 100755 index 000000000..f626b668d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouterTwilioTaskrouterEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTwilioTaskrouterTwilioTaskrouterEnum { + TWILIO_TASKROUTER("twilio-taskrouter"); + + @JsonValue + public final String value; + + private SourceTwilioTaskrouterTwilioTaskrouterEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTwilioEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTwilioEnum.java new file mode 100755 index 000000000..ff9210294 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwilioTwilioEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTwilioTwilioEnum { + TWILIO("twilio"); + + @JsonValue + public final String value; + + private SourceTwilioTwilioEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTwitter.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwitter.java new file mode 100755 index 000000000..d8c9ac0de --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwitter.java @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceTwitter - The values required to configure the source. + */ +public class SourceTwitter { + /** + * App only Bearer Token. See the <a href="https://developer.twitter.com/en/docs/authentication/oauth-2-0/bearer-tokens">docs</a> for more information on how to obtain this token. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceTwitter withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * The end date for retrieving tweets must be a minimum of 10 seconds prior to the request time. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("end_date") + public OffsetDateTime endDate; + public SourceTwitter withEndDate(OffsetDateTime endDate) { + this.endDate = endDate; + return this; + } + + /** + * 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>. + */ + @JsonProperty("query") + public String query; + public SourceTwitter withQuery(String query) { + this.query = query; + return this; + } + + @JsonProperty("sourceType") + public SourceTwitterTwitterEnum sourceType; + public SourceTwitter withSourceType(SourceTwitterTwitterEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The start date for retrieving tweets cannot be more than 7 days in the past. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceTwitter withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTwitterTwitterEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwitterTwitterEnum.java new file mode 100755 index 000000000..e826dc1cd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTwitterTwitterEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTwitterTwitterEnum { + TWITTER("twitter"); + + @JsonValue + public final String value; + + private SourceTwitterTwitterEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTypeform.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTypeform.java new file mode 100755 index 000000000..c51b15fb5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTypeform.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceTypeform - The values required to configure the source. + */ +public class SourceTypeform { + /** + * 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 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("form_ids") + public String[] formIds; + public SourceTypeform withFormIds(String[] formIds) { + this.formIds = formIds; + return this; + } + + @JsonProperty("sourceType") + public SourceTypeformTypeformEnum sourceType; + public SourceTypeform withSourceType(SourceTypeformTypeformEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format: YYYY-MM-DDTHH:mm:ss[Z]. Any data before this date will not be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceTypeform withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * The API Token for a Typeform account. + */ + @JsonProperty("token") + public String token; + public SourceTypeform withToken(String token) { + this.token = token; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeformEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeformEnum.java new file mode 100755 index 000000000..db11f3b6f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeformEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceTypeformTypeformEnum { + TYPEFORM("typeform"); + + @JsonValue + public final String value; + + private SourceTypeformTypeformEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java new file mode 100755 index 000000000..79f0567c3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceUsCensus - The values required to configure the source. + */ +public class SourceUsCensus { + /** + * Your API Key. Get your key <a href="https://api.census.gov/data/key_signup.html">here</a>. + */ + @JsonProperty("api_key") + public String apiKey; + public SourceUsCensus withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * The query parameters portion of the GET request, without the api key + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("query_params") + public String queryParams; + public SourceUsCensus withQueryParams(String queryParams) { + this.queryParams = queryParams; + return this; + } + + /** + * The path portion of the GET request + */ + @JsonProperty("query_path") + public String queryPath; + public SourceUsCensus withQueryPath(String queryPath) { + this.queryPath = queryPath; + return this; + } + + @JsonProperty("sourceType") + public SourceUsCensusUsCensusEnum sourceType; + public SourceUsCensus withSourceType(SourceUsCensusUsCensusEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceUsCensusUsCensusEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceUsCensusUsCensusEnum.java new file mode 100755 index 000000000..a1a78b171 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceUsCensusUsCensusEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceUsCensusUsCensusEnum { + US_CENSUS("us-census"); + + @JsonValue + public final String value; + + private SourceUsCensusUsCensusEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceVantage.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceVantage.java new file mode 100755 index 000000000..ac5e188f0 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceVantage.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceVantage - The values required to configure the source. + */ +public class SourceVantage { + /** + * Your API Access token. See <a href="https://vantage.readme.io/reference/authentication">here</a>. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceVantage withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("sourceType") + public SourceVantageVantageEnum sourceType; + public SourceVantage withSourceType(SourceVantageVantageEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceVantageVantageEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceVantageVantageEnum.java new file mode 100755 index 000000000..de9bb7720 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceVantageVantageEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceVantageVantageEnum { + VANTAGE("vantage"); + + @JsonValue + public final String value; + + private SourceVantageVantageEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWebflow.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWebflow.java new file mode 100755 index 000000000..30f35a8a6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWebflow.java @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceWebflow - The values required to configure the source. + */ +public class SourceWebflow { + /** + * The API token for authenticating to Webflow. See https://university.webflow.com/lesson/intro-to-the-webflow-api + */ + @JsonProperty("api_key") + public String apiKey; + public SourceWebflow withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * The id of the Webflow site you are requesting data from. See https://developers.webflow.com/#sites + */ + @JsonProperty("site_id") + public String siteId; + public SourceWebflow withSiteId(String siteId) { + this.siteId = siteId; + return this; + } + + @JsonProperty("sourceType") + public SourceWebflowWebflowEnum sourceType; + public SourceWebflow withSourceType(SourceWebflowWebflowEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWebflowWebflowEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWebflowWebflowEnum.java new file mode 100755 index 000000000..4ae5817ef --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWebflowWebflowEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceWebflowWebflowEnum { + WEBFLOW("webflow"); + + @JsonValue + public final String value; + + private SourceWebflowWebflowEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java new file mode 100755 index 000000000..fba8b31e9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceWhiskyHunter - The values required to configure the source. + */ +public class SourceWhiskyHunter { + @JsonProperty("sourceType") + public SourceWhiskyHunterWhiskyHunterEnum sourceType; + public SourceWhiskyHunter withSourceType(SourceWhiskyHunterWhiskyHunterEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunterWhiskyHunterEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunterWhiskyHunterEnum.java new file mode 100755 index 000000000..6c9465692 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunterWhiskyHunterEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceWhiskyHunterWhiskyHunterEnum { + WHISKY_HUNTER("whisky-hunter"); + + @JsonValue + public final String value; + + private SourceWhiskyHunterWhiskyHunterEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java new file mode 100755 index 000000000..35ebbfdbc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java @@ -0,0 +1,90 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceWikipediaPageviews - The values required to configure the source. + */ +public class SourceWikipediaPageviews { + /** + * If you want to filter by access method, use one of desktop, mobile-app or mobile-web. If you are interested in pageviews regardless of access method, use all-access. + */ + @JsonProperty("access") + public String access; + public SourceWikipediaPageviews withAccess(String access) { + this.access = access; + return this; + } + + /** + * If you want to filter by agent type, use one of user, automated or spider. If you are interested in pageviews regardless of agent type, use all-agents. + */ + @JsonProperty("agent") + public String agent; + public SourceWikipediaPageviews withAgent(String agent) { + this.agent = agent; + return this; + } + + /** + * The title of any article in the specified project. Any spaces should be replaced with underscores. It also should be URI-encoded, so that non-URI-safe characters like %, / or ? are accepted. + */ + @JsonProperty("article") + public String article; + public SourceWikipediaPageviews withArticle(String article) { + this.article = article; + return this; + } + + /** + * The ISO 3166-1 alpha-2 code of a country for which to retrieve top articles. + */ + @JsonProperty("country") + public String country; + public SourceWikipediaPageviews withCountry(String country) { + this.country = country; + return this; + } + + /** + * The date of the last day to include, in YYYYMMDD or YYYYMMDDHH format. + */ + @JsonProperty("end") + public String end; + public SourceWikipediaPageviews withEnd(String end) { + this.end = end; + return this; + } + + /** + * If you want to filter by project, use the domain of any Wikimedia project. + */ + @JsonProperty("project") + public String project; + public SourceWikipediaPageviews withProject(String project) { + this.project = project; + return this; + } + + @JsonProperty("sourceType") + public SourceWikipediaPageviewsWikipediaPageviewsEnum sourceType; + public SourceWikipediaPageviews withSourceType(SourceWikipediaPageviewsWikipediaPageviewsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date of the first day to include, in YYYYMMDD or YYYYMMDDHH format. + */ + @JsonProperty("start") + public String start; + public SourceWikipediaPageviews withStart(String start) { + this.start = start; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviewsWikipediaPageviewsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviewsWikipediaPageviewsEnum.java new file mode 100755 index 000000000..9088a1c6e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviewsWikipediaPageviewsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceWikipediaPageviewsWikipediaPageviewsEnum { + WIKIPEDIA_PAGEVIEWS("wikipedia-pageviews"); + + @JsonValue + public final String value; + + private SourceWikipediaPageviewsWikipediaPageviewsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java new file mode 100755 index 000000000..0fa401dcd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceWoocommerce - The values required to configure the source. + */ +public class SourceWoocommerce { + /** + * Customer Key for API in WooCommerce shop + */ + @JsonProperty("api_key") + public String apiKey; + public SourceWoocommerce withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Customer Secret for API in WooCommerce shop + */ + @JsonProperty("api_secret") + public String apiSecret; + public SourceWoocommerce withApiSecret(String apiSecret) { + this.apiSecret = apiSecret; + return this; + } + + /** + * The name of the store. For https://EXAMPLE.com, the shop name is 'EXAMPLE.com'. + */ + @JsonProperty("shop") + public String shop; + public SourceWoocommerce withShop(String shop) { + this.shop = shop; + return this; + } + + @JsonProperty("sourceType") + public SourceWoocommerceWoocommerceEnum sourceType; + public SourceWoocommerce withSourceType(SourceWoocommerceWoocommerceEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date you would like to replicate data from. Format: YYYY-MM-DD + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceWoocommerce withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWoocommerceWoocommerceEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWoocommerceWoocommerceEnum.java new file mode 100755 index 000000000..b10abb371 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWoocommerceWoocommerceEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceWoocommerceWoocommerceEnum { + WOOCOMMERCE("woocommerce"); + + @JsonValue + public final String value; + + private SourceWoocommerceWoocommerceEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceXero.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceXero.java new file mode 100755 index 000000000..f7f5a1b7f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceXero.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceXero - The values required to configure the source. + */ +public class SourceXero { + @JsonProperty("authentication") + public SourceXeroAuthenticateViaXeroOAuth authentication; + public SourceXero withAuthentication(SourceXeroAuthenticateViaXeroOAuth authentication) { + this.authentication = authentication; + return this; + } + + @JsonProperty("sourceType") + public SourceXeroXeroEnum sourceType; + public SourceXero withSourceType(SourceXeroXeroEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format YYYY-MM-DDTHH:mm:ssZ. Any data with created_at before this data will not be synced. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceXero withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * Enter your Xero organization's Tenant ID + */ + @JsonProperty("tenant_id") + public String tenantId; + public SourceXero withTenantId(String tenantId) { + this.tenantId = tenantId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceXeroAuthenticateViaXeroOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceXeroAuthenticateViaXeroOAuth.java new file mode 100755 index 000000000..904a36536 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceXeroAuthenticateViaXeroOAuth.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceXeroAuthenticateViaXeroOAuth { + /** + * Enter your Xero application's access token + */ + @JsonProperty("access_token") + public String accessToken; + public SourceXeroAuthenticateViaXeroOAuth withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Enter your Xero application's Client ID + */ + @JsonProperty("client_id") + public String clientId; + public SourceXeroAuthenticateViaXeroOAuth withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Enter your Xero application's Client Secret + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceXeroAuthenticateViaXeroOAuth withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Enter your Xero application's refresh token + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceXeroAuthenticateViaXeroOAuth withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed + */ + @JsonProperty("token_expiry_date") + public String tokenExpiryDate; + public SourceXeroAuthenticateViaXeroOAuth withTokenExpiryDate(String tokenExpiryDate) { + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceXeroXeroEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceXeroXeroEnum.java new file mode 100755 index 000000000..9cb56146f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceXeroXeroEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceXeroXeroEnum { + XERO("xero"); + + @JsonValue + public final String value; + + private SourceXeroXeroEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java new file mode 100755 index 000000000..7b2eef819 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceXkcd - The values required to configure the source. + */ +public class SourceXkcd { + @JsonProperty("sourceType") + public SourceXkcdXkcdEnum sourceType; + public SourceXkcd withSourceType(SourceXkcdXkcdEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcdXkcdEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcdXkcdEnum.java new file mode 100755 index 000000000..6f072224f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcdXkcdEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceXkcdXkcdEnum { + XKCD("xkcd"); + + @JsonValue + public final String value; + + private SourceXkcdXkcdEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java new file mode 100755 index 000000000..e50443863 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java @@ -0,0 +1,67 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; + +/** + * SourceYandexMetrica - The values required to configure the source. + */ +public class SourceYandexMetrica { + /** + * Your Yandex Metrica API access token + */ + @JsonProperty("auth_token") + public String authToken; + public SourceYandexMetrica withAuthToken(String authToken) { + this.authToken = authToken; + return this; + } + + /** + * Counter ID + */ + @JsonProperty("counter_id") + public String counterId; + public SourceYandexMetrica withCounterId(String counterId) { + this.counterId = counterId; + return this; + } + + /** + * Starting point for your data replication, in format of "YYYY-MM-DD". If not provided will sync till most recent date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("end_date") + public LocalDate endDate; + public SourceYandexMetrica withEndDate(LocalDate endDate) { + this.endDate = endDate; + return this; + } + + @JsonProperty("sourceType") + public SourceYandexMetricaYandexMetricaEnum sourceType; + public SourceYandexMetrica withSourceType(SourceYandexMetricaYandexMetricaEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Starting point for your data replication, in format of "YYYY-MM-DD". + */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") + @JsonProperty("start_date") + public LocalDate startDate; + public SourceYandexMetrica withStartDate(LocalDate startDate) { + this.startDate = startDate; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetricaYandexMetricaEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetricaYandexMetricaEnum.java new file mode 100755 index 000000000..c79a28475 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetricaYandexMetricaEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceYandexMetricaYandexMetricaEnum { + YANDEX_METRICA("yandex-metrica"); + + @JsonValue + public final String value; + + private SourceYandexMetricaYandexMetricaEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceYounium.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceYounium.java new file mode 100755 index 000000000..8dc9f92dd --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceYounium.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceYounium - The values required to configure the source. + */ +public class SourceYounium { + /** + * Legal Entity that data should be pulled from + */ + @JsonProperty("legal_entity") + public String legalEntity; + public SourceYounium withLegalEntity(String legalEntity) { + this.legalEntity = legalEntity; + return this; + } + + /** + * Account password for younium account API key + */ + @JsonProperty("password") + public String password; + public SourceYounium withPassword(String password) { + this.password = password; + return this; + } + + /** + * Property defining if connector is used against playground or production environment + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("playground") + public Boolean playground; + public SourceYounium withPlayground(Boolean playground) { + this.playground = playground; + return this; + } + + @JsonProperty("sourceType") + public SourceYouniumYouniumEnum sourceType; + public SourceYounium withSourceType(SourceYouniumYouniumEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Username for Younium account + */ + @JsonProperty("username") + public String username; + public SourceYounium withUsername(String username) { + this.username = username; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceYouniumYouniumEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceYouniumYouniumEnum.java new file mode 100755 index 000000000..045c263f4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceYouniumYouniumEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceYouniumYouniumEnum { + YOUNIUM("younium"); + + @JsonValue + public final String value; + + private SourceYouniumYouniumEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java new file mode 100755 index 000000000..3af591684 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceYoutubeAnalytics - The values required to configure the source. + */ +public class SourceYoutubeAnalytics { + @JsonProperty("credentials") + public java.util.Map credentials; + public SourceYoutubeAnalytics withCredentials(java.util.Map credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceYoutubeAnalyticsYoutubeAnalyticsEnum sourceType; + public SourceYoutubeAnalytics withSourceType(SourceYoutubeAnalyticsYoutubeAnalyticsEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalyticsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalyticsEnum.java new file mode 100755 index 000000000..519cad1cb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalyticsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceYoutubeAnalyticsYoutubeAnalyticsEnum { + YOUTUBE_ANALYTICS("youtube-analytics"); + + @JsonValue + public final String value; + + private SourceYoutubeAnalyticsYoutubeAnalyticsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java new file mode 100755 index 000000000..eb79fd08f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java @@ -0,0 +1,58 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceZendeskChat - The values required to configure the source. + */ +public class SourceZendeskChat { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceZendeskChat withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceZendeskChatZendeskChatEnum sourceType; + public SourceZendeskChat withSourceType(SourceZendeskChatZendeskChatEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate data for Zendesk Chat API, in the format YYYY-MM-DDT00:00:00Z. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceZendeskChat withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * Required if you access Zendesk Chat from a Zendesk Support subdomain. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("subdomain") + public String subdomain; + public SourceZendeskChat withSubdomain(String subdomain) { + this.subdomain = subdomain; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsAccessToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsAccessToken.java new file mode 100755 index 000000000..a8bf10588 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsAccessToken.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceZendeskChatCredentialsAccessToken { + /** + * The Access Token to make authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceZendeskChatCredentialsAccessToken withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("credentials") + public SourceZendeskChatCredentialsAccessTokenCredentialsEnum credentials; + public SourceZendeskChatCredentialsAccessToken withCredentials(SourceZendeskChatCredentialsAccessTokenCredentialsEnum credentials) { + this.credentials = credentials; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsAccessTokenCredentialsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsAccessTokenCredentialsEnum.java new file mode 100755 index 000000000..6012b6d83 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsAccessTokenCredentialsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZendeskChatCredentialsAccessTokenCredentialsEnum { + ACCESS_TOKEN("access_token"); + + @JsonValue + public final String value; + + private SourceZendeskChatCredentialsAccessTokenCredentialsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsOAuth20.java new file mode 100755 index 000000000..dbd185632 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsOAuth20.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceZendeskChatCredentialsOAuth20 { + /** + * Access Token for making authenticated requests. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("access_token") + public String accessToken; + public SourceZendeskChatCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * The Client ID of your OAuth application + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + public String clientId; + public SourceZendeskChatCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your OAuth application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + public String clientSecret; + public SourceZendeskChatCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + @JsonProperty("credentials") + public SourceZendeskChatCredentialsOAuth20CredentialsEnum credentials; + public SourceZendeskChatCredentialsOAuth20 withCredentials(SourceZendeskChatCredentialsOAuth20CredentialsEnum credentials) { + this.credentials = credentials; + return this; + } + + /** + * Refresh Token to obtain new Access Token, when it's expired. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("refresh_token") + public String refreshToken; + public SourceZendeskChatCredentialsOAuth20 withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsOAuth20CredentialsEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsOAuth20CredentialsEnum.java new file mode 100755 index 000000000..7dc3ab151 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentialsOAuth20CredentialsEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZendeskChatCredentialsOAuth20CredentialsEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceZendeskChatCredentialsOAuth20CredentialsEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChatEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChatEnum.java new file mode 100755 index 000000000..f5c6b31ec --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChatEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZendeskChatZendeskChatEnum { + ZENDESK_CHAT("zendesk-chat"); + + @JsonValue + public final String value; + + private SourceZendeskChatZendeskChatEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java new file mode 100755 index 000000000..498fa736f --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceZendeskSunshine - The values required to configure the source. + */ +public class SourceZendeskSunshine { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceZendeskSunshine withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceZendeskSunshineZendeskSunshineEnum sourceType; + public SourceZendeskSunshine withSourceType(SourceZendeskSunshineZendeskSunshineEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate data for Zendesk Sunshine API, in the format YYYY-MM-DDT00:00:00Z. + */ + @JsonProperty("start_date") + public String startDate; + public SourceZendeskSunshine withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * The subdomain for your Zendesk Account. + */ + @JsonProperty("subdomain") + public String subdomain; + public SourceZendeskSunshine withSubdomain(String subdomain) { + this.subdomain = subdomain; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsAPIToken.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsAPIToken.java new file mode 100755 index 000000000..1821d4b80 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsAPIToken.java @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceZendeskSunshineCredentialsAPIToken { + /** + * API Token. See the <a href="https://docs.airbyte.io/integrations/sources/zendesk_sunshine">docs</a> for information on how to generate this key. + */ + @JsonProperty("api_token") + public String apiToken; + public SourceZendeskSunshineCredentialsAPIToken withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + @JsonProperty("auth_method") + public SourceZendeskSunshineCredentialsAPITokenAuthMethodEnum authMethod; + public SourceZendeskSunshineCredentialsAPIToken withAuthMethod(SourceZendeskSunshineCredentialsAPITokenAuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The user email for your Zendesk account + */ + @JsonProperty("email") + public String email; + public SourceZendeskSunshineCredentialsAPIToken withEmail(String email) { + this.email = email; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsAPITokenAuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsAPITokenAuthMethodEnum.java new file mode 100755 index 000000000..0af46a2f1 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsAPITokenAuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZendeskSunshineCredentialsAPITokenAuthMethodEnum { + API_TOKEN("api_token"); + + @JsonValue + public final String value; + + private SourceZendeskSunshineCredentialsAPITokenAuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsOAuth20.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsOAuth20.java new file mode 100755 index 000000000..d3344cdf7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsOAuth20.java @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourceZendeskSunshineCredentialsOAuth20 { + /** + * Long-term access Token for making authenticated requests. + */ + @JsonProperty("access_token") + public String accessToken; + public SourceZendeskSunshineCredentialsOAuth20 withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + @JsonProperty("auth_method") + public SourceZendeskSunshineCredentialsOAuth20AuthMethodEnum authMethod; + public SourceZendeskSunshineCredentialsOAuth20 withAuthMethod(SourceZendeskSunshineCredentialsOAuth20AuthMethodEnum authMethod) { + this.authMethod = authMethod; + return this; + } + + /** + * The Client ID of your OAuth application. + */ + @JsonProperty("client_id") + public String clientId; + public SourceZendeskSunshineCredentialsOAuth20 withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your OAuth application. + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceZendeskSunshineCredentialsOAuth20 withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsOAuth20AuthMethodEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsOAuth20AuthMethodEnum.java new file mode 100755 index 000000000..370b1fca3 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineCredentialsOAuth20AuthMethodEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZendeskSunshineCredentialsOAuth20AuthMethodEnum { + OAUTH20("oauth2.0"); + + @JsonValue + public final String value; + + private SourceZendeskSunshineCredentialsOAuth20AuthMethodEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshineEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshineEnum.java new file mode 100755 index 000000000..19ceca165 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshineEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZendeskSunshineZendeskSunshineEnum { + ZENDESK_SUNSHINE("zendesk-sunshine"); + + @JsonValue + public final String value; + + private SourceZendeskSunshineZendeskSunshineEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java new file mode 100755 index 000000000..4747ad0b7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java @@ -0,0 +1,71 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceZendeskSupport - The values required to configure the source. + */ +public class SourceZendeskSupport { + /** + * Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceZendeskSupport withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + /** + * Makes each stream read a single page of data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ignore_pagination") + public Boolean ignorePagination; + public SourceZendeskSupport withIgnorePagination(Boolean ignorePagination) { + this.ignorePagination = ignorePagination; + return this; + } + + @JsonProperty("sourceType") + public SourceZendeskSupportZendeskSupportEnum sourceType; + public SourceZendeskSupport withSourceType(SourceZendeskSupportZendeskSupportEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The date from which you'd like to replicate data for Zendesk Support API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceZendeskSupport withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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. + */ + @JsonProperty("subdomain") + public String subdomain; + public SourceZendeskSupport withSubdomain(String subdomain) { + this.subdomain = subdomain; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupportEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupportEnum.java new file mode 100755 index 000000000..9ac1f0296 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupportEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZendeskSupportZendeskSupportEnum { + ZENDESK_SUPPORT("zendesk-support"); + + @JsonValue + public final String value; + + private SourceZendeskSupportZendeskSupportEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java new file mode 100755 index 000000000..7cf4f8d03 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceZendeskTalk - The values required to configure the source. + */ +public class SourceZendeskTalk { + /** + * Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + public Object credentials; + public SourceZendeskTalk withCredentials(Object credentials) { + this.credentials = credentials; + return this; + } + + @JsonProperty("sourceType") + public SourceZendeskTalkZendeskTalkEnum sourceType; + public SourceZendeskTalk withSourceType(SourceZendeskTalkZendeskTalkEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * 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. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + public SourceZendeskTalk withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + /** + * 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. + */ + @JsonProperty("subdomain") + public String subdomain; + public SourceZendeskTalk withSubdomain(String subdomain) { + this.subdomain = subdomain; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalkEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalkEnum.java new file mode 100755 index 000000000..14ac74ac8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalkEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZendeskTalkZendeskTalkEnum { + ZENDESK_TALK("zendesk-talk"); + + @JsonValue + public final String value; + + private SourceZendeskTalkZendeskTalkEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZenloop.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZenloop.java new file mode 100755 index 000000000..be416aad8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZenloop.java @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceZenloop - The values required to configure the source. + */ +public class SourceZenloop { + /** + * Zenloop API Token. You can get the API token in settings page <a href="https://app.zenloop.com/settings/api">here</a> + */ + @JsonProperty("api_token") + public String apiToken; + public SourceZenloop withApiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + /** + * Zenloop date_from. Format: 2021-10-24T03:30:30Z or 2021-10-24. Leave empty if only data from current data should be synced + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("date_from") + public String dateFrom; + public SourceZenloop withDateFrom(String dateFrom) { + this.dateFrom = dateFrom; + return this; + } + + @JsonProperty("sourceType") + public SourceZenloopZenloopEnum sourceType; + public SourceZenloop withSourceType(SourceZenloopZenloopEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Zenloop Survey Group ID. Can be found by pulling All Survey Groups via SurveyGroups stream. Leave empty to pull answers from all survey groups + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("survey_group_id") + public String surveyGroupId; + public SourceZenloop withSurveyGroupId(String surveyGroupId) { + this.surveyGroupId = surveyGroupId; + return this; + } + + /** + * 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") + public String surveyId; + public SourceZenloop withSurveyId(String surveyId) { + this.surveyId = surveyId; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZenloopZenloopEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZenloopZenloopEnum.java new file mode 100755 index 000000000..633569cb4 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZenloopZenloopEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZenloopZenloopEnum { + ZENLOOP("zenloop"); + + @JsonValue + public final String value; + + private SourceZenloopZenloopEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCRMZohoCRMEditionEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCRMZohoCRMEditionEnum.java new file mode 100755 index 000000000..1edc427ee --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCRMZohoCRMEditionEnum.java @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceZohoCRMZohoCRMEditionEnum - Choose your Edition of Zoho CRM to determine API Concurrency Limits + */ +public enum SourceZohoCRMZohoCRMEditionEnum { + FREE("Free"), + STANDARD("Standard"), + PROFESSIONAL("Professional"), + ENTERPRISE("Enterprise"), + ULTIMATE("Ultimate"); + + @JsonValue + public final String value; + + private SourceZohoCRMZohoCRMEditionEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java new file mode 100755 index 000000000..dcb635dfb --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceZohoCrm - The values required to configure the source. + */ +public class SourceZohoCrm { + /** + * OAuth2.0 Client ID + */ + @JsonProperty("client_id") + public String clientId; + public SourceZohoCrm withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * OAuth2.0 Client Secret + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceZohoCrm withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * 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> + */ + @JsonProperty("dc_region") + public SourceZohoCrmDataCenterLocationEnum dcRegion; + public SourceZohoCrm withDcRegion(SourceZohoCrmDataCenterLocationEnum dcRegion) { + this.dcRegion = dcRegion; + return this; + } + + /** + * Choose your Edition of Zoho CRM to determine API Concurrency Limits + */ + @JsonProperty("edition") + public SourceZohoCRMZohoCRMEditionEnum edition; + public SourceZohoCrm withEdition(SourceZohoCRMZohoCRMEditionEnum edition) { + this.edition = edition; + return this; + } + + /** + * Please choose the environment + */ + @JsonProperty("environment") + public SourceZohoCrmEnvironmentEnum environment; + public SourceZohoCrm withEnvironment(SourceZohoCrmEnvironmentEnum environment) { + this.environment = environment; + return this; + } + + /** + * OAuth2.0 Refresh Token + */ + @JsonProperty("refresh_token") + public String refreshToken; + public SourceZohoCrm withRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + @JsonProperty("sourceType") + public SourceZohoCrmZohoCrmEnum sourceType; + public SourceZohoCrm withSourceType(SourceZohoCrmZohoCrmEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * ISO 8601, for instance: `YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS+HH:MM` + */ + @JsonInclude(Include.NON_ABSENT) + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_datetime") + public OffsetDateTime startDatetime; + public SourceZohoCrm withStartDatetime(OffsetDateTime startDatetime) { + this.startDatetime = startDatetime; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmDataCenterLocationEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmDataCenterLocationEnum.java new file mode 100755 index 000000000..83969caa5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmDataCenterLocationEnum.java @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceZohoCrmDataCenterLocationEnum - 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> + */ +public enum SourceZohoCrmDataCenterLocationEnum { + US("US"), + AU("AU"), + EU("EU"), + IN("IN"), + CN("CN"), + JP("JP"); + + @JsonValue + public final String value; + + private SourceZohoCrmDataCenterLocationEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironmentEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironmentEnum.java new file mode 100755 index 000000000..cb88db8c9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironmentEnum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceZohoCrmEnvironmentEnum - Please choose the environment + */ +public enum SourceZohoCrmEnvironmentEnum { + PRODUCTION("Production"), + DEVELOPER("Developer"), + SANDBOX("Sandbox"); + + @JsonValue + public final String value; + + private SourceZohoCrmEnvironmentEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmZohoCrmEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmZohoCrmEnum.java new file mode 100755 index 000000000..bf3d4f38e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmZohoCrmEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZohoCrmZohoCrmEnum { + ZOHO_CRM("zoho-crm"); + + @JsonValue + public final String value; + + private SourceZohoCrmZohoCrmEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZoom.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZoom.java new file mode 100755 index 000000000..44a59340c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZoom.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceZoom - The values required to configure the source. + */ +public class SourceZoom { + /** + * JWT Token + */ + @JsonProperty("jwt_token") + public String jwtToken; + public SourceZoom withJwtToken(String jwtToken) { + this.jwtToken = jwtToken; + return this; + } + + @JsonProperty("sourceType") + public SourceZoomZoomEnum sourceType; + public SourceZoom withSourceType(SourceZoomZoomEnum sourceType) { + this.sourceType = sourceType; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZoomZoomEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZoomZoomEnum.java new file mode 100755 index 000000000..f1b2e7114 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZoomZoomEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZoomZoomEnum { + ZOOM("zoom"); + + @JsonValue + public final String value; + + private SourceZoomZoomEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZuora.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZuora.java new file mode 100755 index 000000000..43c08c3e9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZuora.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceZuora - The values required to configure the source. + */ +public class SourceZuora { + /** + * Client ID + */ + @JsonProperty("client_id") + public String clientId; + public SourceZuora withClientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Client Secret + */ + @JsonProperty("client_secret") + public String clientSecret; + public SourceZuora withClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Defines whether use the SANDBOX or PRODUCTION environment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("is_sandbox") + public Boolean isSandbox; + public SourceZuora withIsSandbox(Boolean isSandbox) { + this.isSandbox = isSandbox; + return this; + } + + @JsonProperty("sourceType") + public SourceZuoraZuoraEnum sourceType; + public SourceZuora withSourceType(SourceZuoraZuoraEnum sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Start Date in format: YYYY-MM-DD + */ + @JsonProperty("start_date") + public String startDate; + public SourceZuora withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + /** + * The amount of days for each data-chunk begining from start_date. Bigger the value - faster the fetch. (Min=1, as for a Day; Max=364, as for a Year). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("window_in_days") + public Long windowInDays; + public SourceZuora withWindowInDays(Long windowInDays) { + this.windowInDays = windowInDays; + return this; + } + +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceZuoraZuoraEnum.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceZuoraZuoraEnum.java new file mode 100755 index 000000000..7d2cb53fc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceZuoraZuoraEnum.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceZuoraZuoraEnum { + ZUORA("zuora"); + + @JsonValue + public final String value; + + private SourceZuoraZuoraEnum(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java b/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java deleted file mode 100755 index 84aa45d55..000000000 --- a/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.shared; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * WorkspaceOAuthCredentialsRequest - POST body for creating/updating workspace level OAuth credentials - */ -public class WorkspaceOAuthCredentialsRequest { - /** - * Whether you're setting this override for a source or destination - */ - @JsonProperty("actorType") - public WorkspaceOAuthCredentialsRequestActorTypeEnum actorType; - public WorkspaceOAuthCredentialsRequest withActorType(WorkspaceOAuthCredentialsRequestActorTypeEnum actorType) { - this.actorType = actorType; - return this; - } - - /** - * The configuration for this source/destination based on the OAuth section of the relevant specification. - */ - @JsonProperty("configuration") - public java.util.Map configuration; - public WorkspaceOAuthCredentialsRequest withConfiguration(java.util.Map configuration) { - this.configuration = configuration; - return this; - } - - @JsonProperty("name") - public String name; - public WorkspaceOAuthCredentialsRequest withName(String name) { - this.name = name; - return this; - } - -}