(){}));
}
/**
* Returns an instance of one of these types:
*
- * - {@code HMACKey}
+ * - {@code OAuth2Recommended}
+ * - {@code PersonalAccessToken}
*
*
* Use {@code instanceof} to determine what type is returned. For example:
@@ -83,7 +89,8 @@ public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeser
public _Deserializer() {
super(Authentication.class,
- Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT));
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT));
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/DataSourceType.java b/src/main/java/com/airbyte/api/models/shared/Basecamp.java
similarity index 84%
rename from src/main/java/com/airbyte/api/models/shared/DataSourceType.java
rename to src/main/java/com/airbyte/api/models/shared/Basecamp.java
index 53217c6f..88c32c83 100644
--- a/src/main/java/com/airbyte/api/models/shared/DataSourceType.java
+++ b/src/main/java/com/airbyte/api/models/shared/Basecamp.java
@@ -15,13 +15,13 @@
import java.math.BigDecimal;
import java.math.BigInteger;
-public enum DataSourceType {
- MANAGED_TABLES_STORAGE("MANAGED_TABLES_STORAGE");
+public enum Basecamp {
+ BASECAMP("basecamp");
@JsonValue
private final String value;
- private DataSourceType(String value) {
+ private Basecamp(String value) {
this.value = value;
}
diff --git a/src/main/java/com/airbyte/api/models/shared/StandardInserts.java b/src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java
similarity index 69%
rename from src/main/java/com/airbyte/api/models/shared/StandardInserts.java
rename to src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java
index 348c00fd..620c7027 100644
--- a/src/main/java/com/airbyte/api/models/shared/StandardInserts.java
+++ b/src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java
@@ -16,22 +16,22 @@
import java.math.BigDecimal;
import java.math.BigInteger;
/**
- * StandardInserts - <i>(not recommended)</i> Direct loading using SQL INSERT statements. This method is extremely inefficient and provided only for quick testing. In all other cases, you should use GCS staging.
+ * BatchedStandardInserts - Direct loading using batched SQL INSERT statements. This method uses the BigQuery driver to convert large INSERT statements into file uploads automatically.
*/
-public class StandardInserts {
+public class BatchedStandardInserts {
@JsonProperty("method")
- private DestinationBigqueryMethod method;
+ private Method method;
@JsonCreator
- public StandardInserts() {
+ public BatchedStandardInserts() {
this.method = Builder._SINGLETON_VALUE_Method.value();
}
@JsonIgnore
- public DestinationBigqueryMethod method() {
+ public Method method() {
return method;
}
@@ -47,7 +47,7 @@ public boolean equals(java.lang.Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
- StandardInserts other = (StandardInserts) o;
+ BatchedStandardInserts other = (BatchedStandardInserts) o;
return
java.util.Objects.deepEquals(this.method, other.method);
}
@@ -60,7 +60,7 @@ public int hashCode() {
@Override
public String toString() {
- return Utils.toString(StandardInserts.class,
+ return Utils.toString(BatchedStandardInserts.class,
"method", method);
}
@@ -70,16 +70,16 @@ private Builder() {
// force use of static builder() method
}
- public StandardInserts build() {
- return new StandardInserts(
+ public BatchedStandardInserts build() {
+ return new BatchedStandardInserts(
);
}
- private static final LazySingletonValue _SINGLETON_VALUE_Method =
+ private static final LazySingletonValue _SINGLETON_VALUE_Method =
new LazySingletonValue<>(
"method",
"\"Standard\"",
- new TypeReference() {});
+ new TypeReference() {});
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/MongodbInternalPoc.java b/src/main/java/com/airbyte/api/models/shared/BreezyHr.java
similarity index 83%
rename from src/main/java/com/airbyte/api/models/shared/MongodbInternalPoc.java
rename to src/main/java/com/airbyte/api/models/shared/BreezyHr.java
index a554510e..2e87c808 100644
--- a/src/main/java/com/airbyte/api/models/shared/MongodbInternalPoc.java
+++ b/src/main/java/com/airbyte/api/models/shared/BreezyHr.java
@@ -15,13 +15,13 @@
import java.math.BigDecimal;
import java.math.BigInteger;
-public enum MongodbInternalPoc {
- MONGODB_INTERNAL_POC("mongodb-internal-poc");
+public enum BreezyHr {
+ BREEZY_HR("breezy-hr");
@JsonValue
private final String value;
- private MongodbInternalPoc(String value) {
+ private BreezyHr(String value) {
this.value = value;
}
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceType.java b/src/main/java/com/airbyte/api/models/shared/Calendly.java
similarity index 82%
rename from src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceType.java
rename to src/main/java/com/airbyte/api/models/shared/Calendly.java
index 0306ca63..a39c3574 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksDataSourceType.java
+++ b/src/main/java/com/airbyte/api/models/shared/Calendly.java
@@ -15,13 +15,13 @@
import java.math.BigDecimal;
import java.math.BigInteger;
-public enum DestinationDatabricksDataSourceType {
- S3_STORAGE("S3_STORAGE");
+public enum Calendly {
+ CALENDLY("calendly");
@JsonValue
private final String value;
- private DestinationDatabricksDataSourceType(String value) {
+ private Calendly(String value) {
this.value = value;
}
diff --git a/src/main/java/com/airbyte/api/models/shared/CustomerIo.java b/src/main/java/com/airbyte/api/models/shared/CustomerIo.java
new file mode 100644
index 00000000..76f5ac04
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/CustomerIo.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum CustomerIo {
+ CUSTOMER_IO("customer-io");
+
+ @JsonValue
+ private final String value;
+
+ private CustomerIo(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/DataSource.java b/src/main/java/com/airbyte/api/models/shared/DataSource.java
index 94b1a0ea..a4c22b3a 100644
--- a/src/main/java/com/airbyte/api/models/shared/DataSource.java
+++ b/src/main/java/com/airbyte/api/models/shared/DataSource.java
@@ -8,103 +8,30 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.core.type.TypeReference;
import java.io.InputStream;
import java.lang.Deprecated;
import java.math.BigDecimal;
import java.math.BigInteger;
-import java.time.OffsetDateTime;
-import java.time.LocalDate;
-import com.fasterxml.jackson.core.type.TypeReference;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import com.airbyte.api.utils.TypedObject;
-import com.airbyte.api.utils.Utils.JsonShape;
-
/**
- * DataSource - Storage on which the delta lake is built.
+ * DataSource - A data source that is powered by the platform.
*/
+public enum DataSource {
+ METRICS("metrics"),
+ CLOUD_COST("cloud_cost"),
+ LOGS("logs"),
+ RUM("rum");
-@JsonDeserialize(using = DataSource._Deserializer.class)
-public class DataSource {
+ @JsonValue
+ private final String value;
- @com.fasterxml.jackson.annotation.JsonValue
- private TypedObject value;
-
- private DataSource(TypedObject value) {
+ private DataSource(String value) {
this.value = value;
}
-
- public static DataSource of(RecommendedManagedTables value) {
- Utils.checkNotNull(value, "value");
- return new DataSource(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
- }
-
- public static DataSource of(AmazonS3 value) {
- Utils.checkNotNull(value, "value");
- return new DataSource(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
- }
-
- public static DataSource of(DestinationDatabricksAzureBlobStorage value) {
- Utils.checkNotNull(value, "value");
- return new DataSource(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
- }
-
- /**
- * Returns an instance of one of these types:
- *
- * - {@code RecommendedManagedTables}
- * - {@code AmazonS3}
- * - {@code DestinationDatabricksAzureBlobStorage}
- *
- *
- * Use {@code instanceof} to determine what type is returned. For example:
- *
- *
- * if (obj.value() instanceof String) {
- * String answer = (String) obj.value();
- * System.out.println("answer=" + answer);
- * }
- *
- *
- * @return value of oneOf type
- **/
- public java.lang.Object value() {
- return value.value();
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- DataSource other = (DataSource) o;
- return java.util.Objects.deepEquals(this.value.value(), other.value.value());
- }
-
- @Override
- public int hashCode() {
- return java.util.Objects.hash(value.value());
- }
-
- @SuppressWarnings("serial")
- public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer {
-
- public _Deserializer() {
- super(DataSource.class,
- Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
- Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
- Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT));
- }
- }
- @Override
- public String toString() {
- return Utils.toString(DataSource.class,
- "value", value);
+ public String value() {
+ return value;
}
-
}
diff --git a/src/main/java/com/airbyte/api/models/shared/Dbt.java b/src/main/java/com/airbyte/api/models/shared/Dbt.java
new file mode 100644
index 00000000..b9ae8849
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Dbt.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Dbt {
+ DBT("dbt");
+
+ @JsonValue
+ private final String value;
+
+ private Dbt(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java
index eeea23c9..910d78ce 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java
@@ -16,7 +16,7 @@
import java.math.BigInteger;
public enum DestinationBigqueryMethod {
- STANDARD("Standard");
+ GCS_STAGING("GCS Staging");
@JsonValue
private final String value;
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java b/src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java
index 54e71e87..5b1ab103 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java
@@ -195,6 +195,11 @@ public static DestinationConfiguration of(DestinationTeradata value) {
return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static DestinationConfiguration of(DestinationTimeplus value) {
+ Utils.checkNotNull(value, "value");
+ return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static DestinationConfiguration of(DestinationTypesense value) {
Utils.checkNotNull(value, "value");
return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -250,6 +255,7 @@ public static DestinationConfiguration of(DestinationYellowbrick value) {
* {@code DestinationSnowflake}
* {@code DestinationSnowflakeCortex}
* {@code DestinationTeradata}
+ * {@code DestinationTimeplus}
* {@code DestinationTypesense}
* {@code DestinationVectara}
* {@code DestinationWeaviate}
@@ -325,6 +331,7 @@ public _Deserializer() {
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java
index 84977227..84aa7ae5 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java
@@ -29,59 +29,52 @@ public class DestinationDatabricks {
private Optional extends Boolean> acceptTerms;
/**
- * Storage on which the delta lake is built.
+ * Authentication mechanism for Staging files and running queries
*/
- @JsonProperty("data_source")
- private DataSource dataSource;
+ @JsonProperty("authentication")
+ private Authentication authentication;
/**
- * The name of the catalog. If not specified otherwise, the "hive_metastore" will be used.
+ * The name of the unity catalog for the database
*/
- @JsonInclude(Include.NON_ABSENT)
@JsonProperty("database")
- private Optional extends String> database;
+ private String database;
+
+ @JsonProperty("destinationType")
+ private Databricks destinationType;
/**
- * Databricks Cluster HTTP Path.
+ * Databricks Cluster Server Hostname.
*/
- @JsonProperty("databricks_http_path")
- private String databricksHttpPath;
+ @JsonProperty("hostname")
+ private String hostname;
/**
- * Databricks Personal Access Token for making authenticated requests.
+ * Databricks Cluster HTTP Path.
*/
- @JsonProperty("databricks_personal_access_token")
- private String databricksPersonalAccessToken;
+ @JsonProperty("http_path")
+ private String httpPath;
/**
* Databricks Cluster Port.
*/
@JsonInclude(Include.NON_ABSENT)
- @JsonProperty("databricks_port")
- private Optional extends String> databricksPort;
-
- /**
- * Databricks Cluster Server Hostname.
- */
- @JsonProperty("databricks_server_hostname")
- private String databricksServerHostname;
-
- @JsonProperty("destinationType")
- private Databricks destinationType;
+ @JsonProperty("port")
+ private Optional extends String> port;
/**
- * Support schema evolution for all streams. If "false", the connector might fail when a stream's schema changes.
+ * Default to 'true'. Switch it to 'false' for debugging purpose.
*/
@JsonInclude(Include.NON_ABSENT)
- @JsonProperty("enable_schema_evolution")
- private Optional extends Boolean> enableSchemaEvolution;
+ @JsonProperty("purge_staging_data")
+ private Optional extends Boolean> purgeStagingData;
/**
- * Default to 'true'. Switch it to 'false' for debugging purpose.
+ * The schema to write raw tables into (default: airbyte_internal)
*/
@JsonInclude(Include.NON_ABSENT)
- @JsonProperty("purge_staging_data")
- private Optional extends Boolean> purgeStagingData;
+ @JsonProperty("raw_schema_override")
+ private Optional extends String> rawSchemaOverride;
/**
* The default schema tables are written. If not specified otherwise, the "default" will be used.
@@ -93,44 +86,41 @@ public class DestinationDatabricks {
@JsonCreator
public DestinationDatabricks(
@JsonProperty("accept_terms") Optional extends Boolean> acceptTerms,
- @JsonProperty("data_source") DataSource dataSource,
- @JsonProperty("database") Optional extends String> database,
- @JsonProperty("databricks_http_path") String databricksHttpPath,
- @JsonProperty("databricks_personal_access_token") String databricksPersonalAccessToken,
- @JsonProperty("databricks_port") Optional extends String> databricksPort,
- @JsonProperty("databricks_server_hostname") String databricksServerHostname,
- @JsonProperty("enable_schema_evolution") Optional extends Boolean> enableSchemaEvolution,
+ @JsonProperty("authentication") Authentication authentication,
+ @JsonProperty("database") String database,
+ @JsonProperty("hostname") String hostname,
+ @JsonProperty("http_path") String httpPath,
+ @JsonProperty("port") Optional extends String> port,
@JsonProperty("purge_staging_data") Optional extends Boolean> purgeStagingData,
+ @JsonProperty("raw_schema_override") Optional extends String> rawSchemaOverride,
@JsonProperty("schema") Optional extends String> schema) {
Utils.checkNotNull(acceptTerms, "acceptTerms");
- Utils.checkNotNull(dataSource, "dataSource");
+ Utils.checkNotNull(authentication, "authentication");
Utils.checkNotNull(database, "database");
- Utils.checkNotNull(databricksHttpPath, "databricksHttpPath");
- Utils.checkNotNull(databricksPersonalAccessToken, "databricksPersonalAccessToken");
- Utils.checkNotNull(databricksPort, "databricksPort");
- Utils.checkNotNull(databricksServerHostname, "databricksServerHostname");
- Utils.checkNotNull(enableSchemaEvolution, "enableSchemaEvolution");
+ Utils.checkNotNull(hostname, "hostname");
+ Utils.checkNotNull(httpPath, "httpPath");
+ Utils.checkNotNull(port, "port");
Utils.checkNotNull(purgeStagingData, "purgeStagingData");
+ Utils.checkNotNull(rawSchemaOverride, "rawSchemaOverride");
Utils.checkNotNull(schema, "schema");
this.acceptTerms = acceptTerms;
- this.dataSource = dataSource;
+ this.authentication = authentication;
this.database = database;
- this.databricksHttpPath = databricksHttpPath;
- this.databricksPersonalAccessToken = databricksPersonalAccessToken;
- this.databricksPort = databricksPort;
- this.databricksServerHostname = databricksServerHostname;
this.destinationType = Builder._SINGLETON_VALUE_DestinationType.value();
- this.enableSchemaEvolution = enableSchemaEvolution;
+ this.hostname = hostname;
+ this.httpPath = httpPath;
+ this.port = port;
this.purgeStagingData = purgeStagingData;
+ this.rawSchemaOverride = rawSchemaOverride;
this.schema = schema;
}
public DestinationDatabricks(
- DataSource dataSource,
- String databricksHttpPath,
- String databricksPersonalAccessToken,
- String databricksServerHostname) {
- this(Optional.empty(), dataSource, Optional.empty(), databricksHttpPath, databricksPersonalAccessToken, Optional.empty(), databricksServerHostname, Optional.empty(), Optional.empty(), Optional.empty());
+ Authentication authentication,
+ String database,
+ String hostname,
+ String httpPath) {
+ this(Optional.empty(), authentication, database, hostname, httpPath, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
}
/**
@@ -143,76 +133,67 @@ public Optional acceptTerms() {
}
/**
- * Storage on which the delta lake is built.
+ * Authentication mechanism for Staging files and running queries
*/
@JsonIgnore
- public DataSource dataSource() {
- return dataSource;
+ public Authentication authentication() {
+ return authentication;
}
/**
- * The name of the catalog. If not specified otherwise, the "hive_metastore" will be used.
+ * The name of the unity catalog for the database
*/
- @SuppressWarnings("unchecked")
@JsonIgnore
- public Optional database() {
- return (Optional) database;
+ public String database() {
+ return database;
}
- /**
- * Databricks Cluster HTTP Path.
- */
@JsonIgnore
- public String databricksHttpPath() {
- return databricksHttpPath;
+ public Databricks destinationType() {
+ return destinationType;
}
/**
- * Databricks Personal Access Token for making authenticated requests.
+ * Databricks Cluster Server Hostname.
*/
@JsonIgnore
- public String databricksPersonalAccessToken() {
- return databricksPersonalAccessToken;
+ public String hostname() {
+ return hostname;
}
/**
- * Databricks Cluster Port.
+ * Databricks Cluster HTTP Path.
*/
- @SuppressWarnings("unchecked")
@JsonIgnore
- public Optional databricksPort() {
- return (Optional) databricksPort;
+ public String httpPath() {
+ return httpPath;
}
/**
- * Databricks Cluster Server Hostname.
+ * Databricks Cluster Port.
*/
+ @SuppressWarnings("unchecked")
@JsonIgnore
- public String databricksServerHostname() {
- return databricksServerHostname;
- }
-
- @JsonIgnore
- public Databricks destinationType() {
- return destinationType;
+ public Optional port() {
+ return (Optional) port;
}
/**
- * Support schema evolution for all streams. If "false", the connector might fail when a stream's schema changes.
+ * Default to 'true'. Switch it to 'false' for debugging purpose.
*/
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional enableSchemaEvolution() {
- return (Optional) enableSchemaEvolution;
+ public Optional purgeStagingData() {
+ return (Optional) purgeStagingData;
}
/**
- * Default to 'true'. Switch it to 'false' for debugging purpose.
+ * The schema to write raw tables into (default: airbyte_internal)
*/
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional purgeStagingData() {
- return (Optional) purgeStagingData;
+ public Optional rawSchemaOverride() {
+ return (Optional) rawSchemaOverride;
}
/**
@@ -247,110 +228,92 @@ public DestinationDatabricks withAcceptTerms(Optional extends Boolean> acceptT
}
/**
- * Storage on which the delta lake is built.
+ * Authentication mechanism for Staging files and running queries
*/
- public DestinationDatabricks withDataSource(DataSource dataSource) {
- Utils.checkNotNull(dataSource, "dataSource");
- this.dataSource = dataSource;
+ public DestinationDatabricks withAuthentication(Authentication authentication) {
+ Utils.checkNotNull(authentication, "authentication");
+ this.authentication = authentication;
return this;
}
/**
- * The name of the catalog. If not specified otherwise, the "hive_metastore" will be used.
+ * The name of the unity catalog for the database
*/
public DestinationDatabricks withDatabase(String database) {
- Utils.checkNotNull(database, "database");
- this.database = Optional.ofNullable(database);
- return this;
- }
-
- /**
- * The name of the catalog. If not specified otherwise, the "hive_metastore" will be used.
- */
- public DestinationDatabricks withDatabase(Optional extends String> database) {
Utils.checkNotNull(database, "database");
this.database = database;
return this;
}
/**
- * Databricks Cluster HTTP Path.
+ * Databricks Cluster Server Hostname.
*/
- public DestinationDatabricks withDatabricksHttpPath(String databricksHttpPath) {
- Utils.checkNotNull(databricksHttpPath, "databricksHttpPath");
- this.databricksHttpPath = databricksHttpPath;
+ public DestinationDatabricks withHostname(String hostname) {
+ Utils.checkNotNull(hostname, "hostname");
+ this.hostname = hostname;
return this;
}
/**
- * Databricks Personal Access Token for making authenticated requests.
+ * Databricks Cluster HTTP Path.
*/
- public DestinationDatabricks withDatabricksPersonalAccessToken(String databricksPersonalAccessToken) {
- Utils.checkNotNull(databricksPersonalAccessToken, "databricksPersonalAccessToken");
- this.databricksPersonalAccessToken = databricksPersonalAccessToken;
+ public DestinationDatabricks withHttpPath(String httpPath) {
+ Utils.checkNotNull(httpPath, "httpPath");
+ this.httpPath = httpPath;
return this;
}
/**
* Databricks Cluster Port.
*/
- public DestinationDatabricks withDatabricksPort(String databricksPort) {
- Utils.checkNotNull(databricksPort, "databricksPort");
- this.databricksPort = Optional.ofNullable(databricksPort);
+ public DestinationDatabricks withPort(String port) {
+ Utils.checkNotNull(port, "port");
+ this.port = Optional.ofNullable(port);
return this;
}
/**
* Databricks Cluster Port.
*/
- public DestinationDatabricks withDatabricksPort(Optional extends String> databricksPort) {
- Utils.checkNotNull(databricksPort, "databricksPort");
- this.databricksPort = databricksPort;
+ public DestinationDatabricks withPort(Optional extends String> port) {
+ Utils.checkNotNull(port, "port");
+ this.port = port;
return this;
}
/**
- * Databricks Cluster Server Hostname.
- */
- public DestinationDatabricks withDatabricksServerHostname(String databricksServerHostname) {
- Utils.checkNotNull(databricksServerHostname, "databricksServerHostname");
- this.databricksServerHostname = databricksServerHostname;
- return this;
- }
-
- /**
- * Support schema evolution for all streams. If "false", the connector might fail when a stream's schema changes.
+ * Default to 'true'. Switch it to 'false' for debugging purpose.
*/
- public DestinationDatabricks withEnableSchemaEvolution(boolean enableSchemaEvolution) {
- Utils.checkNotNull(enableSchemaEvolution, "enableSchemaEvolution");
- this.enableSchemaEvolution = Optional.ofNullable(enableSchemaEvolution);
+ public DestinationDatabricks withPurgeStagingData(boolean purgeStagingData) {
+ Utils.checkNotNull(purgeStagingData, "purgeStagingData");
+ this.purgeStagingData = Optional.ofNullable(purgeStagingData);
return this;
}
/**
- * Support schema evolution for all streams. If "false", the connector might fail when a stream's schema changes.
+ * Default to 'true'. Switch it to 'false' for debugging purpose.
*/
- public DestinationDatabricks withEnableSchemaEvolution(Optional extends Boolean> enableSchemaEvolution) {
- Utils.checkNotNull(enableSchemaEvolution, "enableSchemaEvolution");
- this.enableSchemaEvolution = enableSchemaEvolution;
+ public DestinationDatabricks withPurgeStagingData(Optional extends Boolean> purgeStagingData) {
+ Utils.checkNotNull(purgeStagingData, "purgeStagingData");
+ this.purgeStagingData = purgeStagingData;
return this;
}
/**
- * Default to 'true'. Switch it to 'false' for debugging purpose.
+ * The schema to write raw tables into (default: airbyte_internal)
*/
- public DestinationDatabricks withPurgeStagingData(boolean purgeStagingData) {
- Utils.checkNotNull(purgeStagingData, "purgeStagingData");
- this.purgeStagingData = Optional.ofNullable(purgeStagingData);
+ public DestinationDatabricks withRawSchemaOverride(String rawSchemaOverride) {
+ Utils.checkNotNull(rawSchemaOverride, "rawSchemaOverride");
+ this.rawSchemaOverride = Optional.ofNullable(rawSchemaOverride);
return this;
}
/**
- * Default to 'true'. Switch it to 'false' for debugging purpose.
+ * The schema to write raw tables into (default: airbyte_internal)
*/
- public DestinationDatabricks withPurgeStagingData(Optional extends Boolean> purgeStagingData) {
- Utils.checkNotNull(purgeStagingData, "purgeStagingData");
- this.purgeStagingData = purgeStagingData;
+ public DestinationDatabricks withRawSchemaOverride(Optional extends String> rawSchemaOverride) {
+ Utils.checkNotNull(rawSchemaOverride, "rawSchemaOverride");
+ this.rawSchemaOverride = rawSchemaOverride;
return this;
}
@@ -383,15 +346,14 @@ public boolean equals(java.lang.Object o) {
DestinationDatabricks other = (DestinationDatabricks) o;
return
java.util.Objects.deepEquals(this.acceptTerms, other.acceptTerms) &&
- java.util.Objects.deepEquals(this.dataSource, other.dataSource) &&
+ java.util.Objects.deepEquals(this.authentication, other.authentication) &&
java.util.Objects.deepEquals(this.database, other.database) &&
- java.util.Objects.deepEquals(this.databricksHttpPath, other.databricksHttpPath) &&
- java.util.Objects.deepEquals(this.databricksPersonalAccessToken, other.databricksPersonalAccessToken) &&
- java.util.Objects.deepEquals(this.databricksPort, other.databricksPort) &&
- java.util.Objects.deepEquals(this.databricksServerHostname, other.databricksServerHostname) &&
java.util.Objects.deepEquals(this.destinationType, other.destinationType) &&
- java.util.Objects.deepEquals(this.enableSchemaEvolution, other.enableSchemaEvolution) &&
+ java.util.Objects.deepEquals(this.hostname, other.hostname) &&
+ java.util.Objects.deepEquals(this.httpPath, other.httpPath) &&
+ java.util.Objects.deepEquals(this.port, other.port) &&
java.util.Objects.deepEquals(this.purgeStagingData, other.purgeStagingData) &&
+ java.util.Objects.deepEquals(this.rawSchemaOverride, other.rawSchemaOverride) &&
java.util.Objects.deepEquals(this.schema, other.schema);
}
@@ -399,15 +361,14 @@ public boolean equals(java.lang.Object o) {
public int hashCode() {
return java.util.Objects.hash(
acceptTerms,
- dataSource,
+ authentication,
database,
- databricksHttpPath,
- databricksPersonalAccessToken,
- databricksPort,
- databricksServerHostname,
destinationType,
- enableSchemaEvolution,
+ hostname,
+ httpPath,
+ port,
purgeStagingData,
+ rawSchemaOverride,
schema);
}
@@ -415,15 +376,14 @@ public int hashCode() {
public String toString() {
return Utils.toString(DestinationDatabricks.class,
"acceptTerms", acceptTerms,
- "dataSource", dataSource,
+ "authentication", authentication,
"database", database,
- "databricksHttpPath", databricksHttpPath,
- "databricksPersonalAccessToken", databricksPersonalAccessToken,
- "databricksPort", databricksPort,
- "databricksServerHostname", databricksServerHostname,
"destinationType", destinationType,
- "enableSchemaEvolution", enableSchemaEvolution,
+ "hostname", hostname,
+ "httpPath", httpPath,
+ "port", port,
"purgeStagingData", purgeStagingData,
+ "rawSchemaOverride", rawSchemaOverride,
"schema", schema);
}
@@ -431,22 +391,20 @@ public final static class Builder {
private Optional extends Boolean> acceptTerms;
- private DataSource dataSource;
-
- private Optional extends String> database = Optional.empty();
-
- private String databricksHttpPath;
+ private Authentication authentication;
- private String databricksPersonalAccessToken;
+ private String database;
- private Optional extends String> databricksPort;
+ private String hostname;
- private String databricksServerHostname;
+ private String httpPath;
- private Optional extends Boolean> enableSchemaEvolution;
+ private Optional extends String> port;
private Optional extends Boolean> purgeStagingData;
+ private Optional extends String> rawSchemaOverride;
+
private Optional extends String> schema;
private Builder() {
@@ -472,110 +430,92 @@ public Builder acceptTerms(Optional extends Boolean> acceptTerms) {
}
/**
- * Storage on which the delta lake is built.
+ * Authentication mechanism for Staging files and running queries
*/
- public Builder dataSource(DataSource dataSource) {
- Utils.checkNotNull(dataSource, "dataSource");
- this.dataSource = dataSource;
+ public Builder authentication(Authentication authentication) {
+ Utils.checkNotNull(authentication, "authentication");
+ this.authentication = authentication;
return this;
}
/**
- * The name of the catalog. If not specified otherwise, the "hive_metastore" will be used.
+ * The name of the unity catalog for the database
*/
public Builder database(String database) {
- Utils.checkNotNull(database, "database");
- this.database = Optional.ofNullable(database);
- return this;
- }
-
- /**
- * The name of the catalog. If not specified otherwise, the "hive_metastore" will be used.
- */
- public Builder database(Optional extends String> database) {
Utils.checkNotNull(database, "database");
this.database = database;
return this;
}
/**
- * Databricks Cluster HTTP Path.
+ * Databricks Cluster Server Hostname.
*/
- public Builder databricksHttpPath(String databricksHttpPath) {
- Utils.checkNotNull(databricksHttpPath, "databricksHttpPath");
- this.databricksHttpPath = databricksHttpPath;
+ public Builder hostname(String hostname) {
+ Utils.checkNotNull(hostname, "hostname");
+ this.hostname = hostname;
return this;
}
/**
- * Databricks Personal Access Token for making authenticated requests.
+ * Databricks Cluster HTTP Path.
*/
- public Builder databricksPersonalAccessToken(String databricksPersonalAccessToken) {
- Utils.checkNotNull(databricksPersonalAccessToken, "databricksPersonalAccessToken");
- this.databricksPersonalAccessToken = databricksPersonalAccessToken;
+ public Builder httpPath(String httpPath) {
+ Utils.checkNotNull(httpPath, "httpPath");
+ this.httpPath = httpPath;
return this;
}
/**
* Databricks Cluster Port.
*/
- public Builder databricksPort(String databricksPort) {
- Utils.checkNotNull(databricksPort, "databricksPort");
- this.databricksPort = Optional.ofNullable(databricksPort);
+ public Builder port(String port) {
+ Utils.checkNotNull(port, "port");
+ this.port = Optional.ofNullable(port);
return this;
}
/**
* Databricks Cluster Port.
*/
- public Builder databricksPort(Optional extends String> databricksPort) {
- Utils.checkNotNull(databricksPort, "databricksPort");
- this.databricksPort = databricksPort;
+ public Builder port(Optional extends String> port) {
+ Utils.checkNotNull(port, "port");
+ this.port = port;
return this;
}
/**
- * Databricks Cluster Server Hostname.
- */
- public Builder databricksServerHostname(String databricksServerHostname) {
- Utils.checkNotNull(databricksServerHostname, "databricksServerHostname");
- this.databricksServerHostname = databricksServerHostname;
- return this;
- }
-
- /**
- * Support schema evolution for all streams. If "false", the connector might fail when a stream's schema changes.
+ * Default to 'true'. Switch it to 'false' for debugging purpose.
*/
- public Builder enableSchemaEvolution(boolean enableSchemaEvolution) {
- Utils.checkNotNull(enableSchemaEvolution, "enableSchemaEvolution");
- this.enableSchemaEvolution = Optional.ofNullable(enableSchemaEvolution);
+ public Builder purgeStagingData(boolean purgeStagingData) {
+ Utils.checkNotNull(purgeStagingData, "purgeStagingData");
+ this.purgeStagingData = Optional.ofNullable(purgeStagingData);
return this;
}
/**
- * Support schema evolution for all streams. If "false", the connector might fail when a stream's schema changes.
+ * Default to 'true'. Switch it to 'false' for debugging purpose.
*/
- public Builder enableSchemaEvolution(Optional extends Boolean> enableSchemaEvolution) {
- Utils.checkNotNull(enableSchemaEvolution, "enableSchemaEvolution");
- this.enableSchemaEvolution = enableSchemaEvolution;
+ public Builder purgeStagingData(Optional extends Boolean> purgeStagingData) {
+ Utils.checkNotNull(purgeStagingData, "purgeStagingData");
+ this.purgeStagingData = purgeStagingData;
return this;
}
/**
- * Default to 'true'. Switch it to 'false' for debugging purpose.
+ * The schema to write raw tables into (default: airbyte_internal)
*/
- public Builder purgeStagingData(boolean purgeStagingData) {
- Utils.checkNotNull(purgeStagingData, "purgeStagingData");
- this.purgeStagingData = Optional.ofNullable(purgeStagingData);
+ public Builder rawSchemaOverride(String rawSchemaOverride) {
+ Utils.checkNotNull(rawSchemaOverride, "rawSchemaOverride");
+ this.rawSchemaOverride = Optional.ofNullable(rawSchemaOverride);
return this;
}
/**
- * Default to 'true'. Switch it to 'false' for debugging purpose.
+ * The schema to write raw tables into (default: airbyte_internal)
*/
- public Builder purgeStagingData(Optional extends Boolean> purgeStagingData) {
- Utils.checkNotNull(purgeStagingData, "purgeStagingData");
- this.purgeStagingData = purgeStagingData;
+ public Builder rawSchemaOverride(Optional extends String> rawSchemaOverride) {
+ Utils.checkNotNull(rawSchemaOverride, "rawSchemaOverride");
+ this.rawSchemaOverride = rawSchemaOverride;
return this;
}
@@ -601,28 +541,27 @@ public DestinationDatabricks build() {
if (acceptTerms == null) {
acceptTerms = _SINGLETON_VALUE_AcceptTerms.value();
}
- if (databricksPort == null) {
- databricksPort = _SINGLETON_VALUE_DatabricksPort.value();
- }
- if (enableSchemaEvolution == null) {
- enableSchemaEvolution = _SINGLETON_VALUE_EnableSchemaEvolution.value();
+ if (port == null) {
+ port = _SINGLETON_VALUE_Port.value();
}
if (purgeStagingData == null) {
purgeStagingData = _SINGLETON_VALUE_PurgeStagingData.value();
}
+ if (rawSchemaOverride == null) {
+ rawSchemaOverride = _SINGLETON_VALUE_RawSchemaOverride.value();
+ }
if (schema == null) {
schema = _SINGLETON_VALUE_Schema.value();
}
return new DestinationDatabricks(
acceptTerms,
- dataSource,
+ authentication,
database,
- databricksHttpPath,
- databricksPersonalAccessToken,
- databricksPort,
- databricksServerHostname,
- enableSchemaEvolution,
+ hostname,
+ httpPath,
+ port,
purgeStagingData,
+ rawSchemaOverride,
schema);
}
@@ -632,23 +571,17 @@ public DestinationDatabricks build() {
"false",
new TypeReference>() {});
- private static final LazySingletonValue> _SINGLETON_VALUE_DatabricksPort =
- new LazySingletonValue<>(
- "databricks_port",
- "\"443\"",
- new TypeReference>() {});
-
private static final LazySingletonValue _SINGLETON_VALUE_DestinationType =
new LazySingletonValue<>(
"destinationType",
"\"databricks\"",
new TypeReference() {});
- private static final LazySingletonValue> _SINGLETON_VALUE_EnableSchemaEvolution =
+ private static final LazySingletonValue> _SINGLETON_VALUE_Port =
new LazySingletonValue<>(
- "enable_schema_evolution",
- "false",
- new TypeReference>() {});
+ "port",
+ "\"443\"",
+ new TypeReference>() {});
private static final LazySingletonValue> _SINGLETON_VALUE_PurgeStagingData =
new LazySingletonValue<>(
@@ -656,6 +589,12 @@ public DestinationDatabricks build() {
"true",
new TypeReference>() {});
+ private static final LazySingletonValue> _SINGLETON_VALUE_RawSchemaOverride =
+ new LazySingletonValue<>(
+ "raw_schema_override",
+ "\"airbyte_internal\"",
+ new TypeReference>() {});
+
private static final LazySingletonValue> _SINGLETON_VALUE_Schema =
new LazySingletonValue<>(
"schema",
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java
new file mode 100644
index 00000000..589b0b37
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum DestinationDatabricksAuthType {
+ BASIC("BASIC");
+
+ @JsonValue
+ private final String value;
+
+ private DestinationDatabricksAuthType(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAzureBlobStorage.java b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAzureBlobStorage.java
deleted file mode 100644
index e7fe5b92..00000000
--- a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAzureBlobStorage.java
+++ /dev/null
@@ -1,283 +0,0 @@
-/*
- * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
- */
-
-package com.airbyte.api.models.shared;
-
-import com.airbyte.api.utils.LazySingletonValue;
-import com.airbyte.api.utils.Utils;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude.Include;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.core.type.TypeReference;
-import java.io.InputStream;
-import java.lang.Deprecated;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Optional;
-
-public class DestinationDatabricksAzureBlobStorage {
-
- /**
- * The account's name of the Azure Blob Storage.
- */
- @JsonProperty("azure_blob_storage_account_name")
- private String azureBlobStorageAccountName;
-
- /**
- * The name of the Azure blob storage container.
- */
- @JsonProperty("azure_blob_storage_container_name")
- private String azureBlobStorageContainerName;
-
- /**
- * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example.
- */
- @JsonInclude(Include.NON_ABSENT)
- @JsonProperty("azure_blob_storage_endpoint_domain_name")
- private Optional extends String> azureBlobStorageEndpointDomainName;
-
- /**
- * Shared access signature (SAS) token to grant limited access to objects in your storage account.
- */
- @JsonProperty("azure_blob_storage_sas_token")
- private String azureBlobStorageSasToken;
-
- @JsonProperty("data_source_type")
- private DestinationDatabricksSchemasDataSourceType dataSourceType;
-
- @JsonCreator
- public DestinationDatabricksAzureBlobStorage(
- @JsonProperty("azure_blob_storage_account_name") String azureBlobStorageAccountName,
- @JsonProperty("azure_blob_storage_container_name") String azureBlobStorageContainerName,
- @JsonProperty("azure_blob_storage_endpoint_domain_name") Optional extends String> azureBlobStorageEndpointDomainName,
- @JsonProperty("azure_blob_storage_sas_token") String azureBlobStorageSasToken) {
- Utils.checkNotNull(azureBlobStorageAccountName, "azureBlobStorageAccountName");
- Utils.checkNotNull(azureBlobStorageContainerName, "azureBlobStorageContainerName");
- Utils.checkNotNull(azureBlobStorageEndpointDomainName, "azureBlobStorageEndpointDomainName");
- Utils.checkNotNull(azureBlobStorageSasToken, "azureBlobStorageSasToken");
- this.azureBlobStorageAccountName = azureBlobStorageAccountName;
- this.azureBlobStorageContainerName = azureBlobStorageContainerName;
- this.azureBlobStorageEndpointDomainName = azureBlobStorageEndpointDomainName;
- this.azureBlobStorageSasToken = azureBlobStorageSasToken;
- this.dataSourceType = Builder._SINGLETON_VALUE_DataSourceType.value();
- }
-
- public DestinationDatabricksAzureBlobStorage(
- String azureBlobStorageAccountName,
- String azureBlobStorageContainerName,
- String azureBlobStorageSasToken) {
- this(azureBlobStorageAccountName, azureBlobStorageContainerName, Optional.empty(), azureBlobStorageSasToken);
- }
-
- /**
- * The account's name of the Azure Blob Storage.
- */
- @JsonIgnore
- public String azureBlobStorageAccountName() {
- return azureBlobStorageAccountName;
- }
-
- /**
- * The name of the Azure blob storage container.
- */
- @JsonIgnore
- public String azureBlobStorageContainerName() {
- return azureBlobStorageContainerName;
- }
-
- /**
- * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example.
- */
- @SuppressWarnings("unchecked")
- @JsonIgnore
- public Optional azureBlobStorageEndpointDomainName() {
- return (Optional) azureBlobStorageEndpointDomainName;
- }
-
- /**
- * Shared access signature (SAS) token to grant limited access to objects in your storage account.
- */
- @JsonIgnore
- public String azureBlobStorageSasToken() {
- return azureBlobStorageSasToken;
- }
-
- @JsonIgnore
- public DestinationDatabricksSchemasDataSourceType dataSourceType() {
- return dataSourceType;
- }
-
- public final static Builder builder() {
- return new Builder();
- }
-
- /**
- * The account's name of the Azure Blob Storage.
- */
- public DestinationDatabricksAzureBlobStorage withAzureBlobStorageAccountName(String azureBlobStorageAccountName) {
- Utils.checkNotNull(azureBlobStorageAccountName, "azureBlobStorageAccountName");
- this.azureBlobStorageAccountName = azureBlobStorageAccountName;
- return this;
- }
-
- /**
- * The name of the Azure blob storage container.
- */
- public DestinationDatabricksAzureBlobStorage withAzureBlobStorageContainerName(String azureBlobStorageContainerName) {
- Utils.checkNotNull(azureBlobStorageContainerName, "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.
- */
- public DestinationDatabricksAzureBlobStorage withAzureBlobStorageEndpointDomainName(String azureBlobStorageEndpointDomainName) {
- Utils.checkNotNull(azureBlobStorageEndpointDomainName, "azureBlobStorageEndpointDomainName");
- this.azureBlobStorageEndpointDomainName = Optional.ofNullable(azureBlobStorageEndpointDomainName);
- 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.
- */
- public DestinationDatabricksAzureBlobStorage withAzureBlobStorageEndpointDomainName(Optional extends String> azureBlobStorageEndpointDomainName) {
- Utils.checkNotNull(azureBlobStorageEndpointDomainName, "azureBlobStorageEndpointDomainName");
- this.azureBlobStorageEndpointDomainName = azureBlobStorageEndpointDomainName;
- return this;
- }
-
- /**
- * Shared access signature (SAS) token to grant limited access to objects in your storage account.
- */
- public DestinationDatabricksAzureBlobStorage withAzureBlobStorageSasToken(String azureBlobStorageSasToken) {
- Utils.checkNotNull(azureBlobStorageSasToken, "azureBlobStorageSasToken");
- this.azureBlobStorageSasToken = azureBlobStorageSasToken;
- return this;
- }
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- DestinationDatabricksAzureBlobStorage other = (DestinationDatabricksAzureBlobStorage) o;
- return
- java.util.Objects.deepEquals(this.azureBlobStorageAccountName, other.azureBlobStorageAccountName) &&
- java.util.Objects.deepEquals(this.azureBlobStorageContainerName, other.azureBlobStorageContainerName) &&
- java.util.Objects.deepEquals(this.azureBlobStorageEndpointDomainName, other.azureBlobStorageEndpointDomainName) &&
- java.util.Objects.deepEquals(this.azureBlobStorageSasToken, other.azureBlobStorageSasToken) &&
- java.util.Objects.deepEquals(this.dataSourceType, other.dataSourceType);
- }
-
- @Override
- public int hashCode() {
- return java.util.Objects.hash(
- azureBlobStorageAccountName,
- azureBlobStorageContainerName,
- azureBlobStorageEndpointDomainName,
- azureBlobStorageSasToken,
- dataSourceType);
- }
-
- @Override
- public String toString() {
- return Utils.toString(DestinationDatabricksAzureBlobStorage.class,
- "azureBlobStorageAccountName", azureBlobStorageAccountName,
- "azureBlobStorageContainerName", azureBlobStorageContainerName,
- "azureBlobStorageEndpointDomainName", azureBlobStorageEndpointDomainName,
- "azureBlobStorageSasToken", azureBlobStorageSasToken,
- "dataSourceType", dataSourceType);
- }
-
- public final static class Builder {
-
- private String azureBlobStorageAccountName;
-
- private String azureBlobStorageContainerName;
-
- private Optional extends String> azureBlobStorageEndpointDomainName;
-
- private String azureBlobStorageSasToken;
-
- private Builder() {
- // force use of static builder() method
- }
-
- /**
- * The account's name of the Azure Blob Storage.
- */
- public Builder azureBlobStorageAccountName(String azureBlobStorageAccountName) {
- Utils.checkNotNull(azureBlobStorageAccountName, "azureBlobStorageAccountName");
- this.azureBlobStorageAccountName = azureBlobStorageAccountName;
- return this;
- }
-
- /**
- * The name of the Azure blob storage container.
- */
- public Builder azureBlobStorageContainerName(String azureBlobStorageContainerName) {
- Utils.checkNotNull(azureBlobStorageContainerName, "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.
- */
- public Builder azureBlobStorageEndpointDomainName(String azureBlobStorageEndpointDomainName) {
- Utils.checkNotNull(azureBlobStorageEndpointDomainName, "azureBlobStorageEndpointDomainName");
- this.azureBlobStorageEndpointDomainName = Optional.ofNullable(azureBlobStorageEndpointDomainName);
- 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.
- */
- public Builder azureBlobStorageEndpointDomainName(Optional extends String> azureBlobStorageEndpointDomainName) {
- Utils.checkNotNull(azureBlobStorageEndpointDomainName, "azureBlobStorageEndpointDomainName");
- this.azureBlobStorageEndpointDomainName = azureBlobStorageEndpointDomainName;
- return this;
- }
-
- /**
- * Shared access signature (SAS) token to grant limited access to objects in your storage account.
- */
- public Builder azureBlobStorageSasToken(String azureBlobStorageSasToken) {
- Utils.checkNotNull(azureBlobStorageSasToken, "azureBlobStorageSasToken");
- this.azureBlobStorageSasToken = azureBlobStorageSasToken;
- return this;
- }
-
- public DestinationDatabricksAzureBlobStorage build() {
- if (azureBlobStorageEndpointDomainName == null) {
- azureBlobStorageEndpointDomainName = _SINGLETON_VALUE_AzureBlobStorageEndpointDomainName.value();
- }
- return new DestinationDatabricksAzureBlobStorage(
- azureBlobStorageAccountName,
- azureBlobStorageContainerName,
- azureBlobStorageEndpointDomainName,
- azureBlobStorageSasToken);
- }
-
- private static final LazySingletonValue> _SINGLETON_VALUE_AzureBlobStorageEndpointDomainName =
- new LazySingletonValue<>(
- "azure_blob_storage_endpoint_domain_name",
- "\"blob.core.windows.net\"",
- new TypeReference>() {});
-
- private static final LazySingletonValue _SINGLETON_VALUE_DataSourceType =
- new LazySingletonValue<>(
- "data_source_type",
- "\"AZURE_BLOB_STORAGE\"",
- new TypeReference() {});
- }
-}
-
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksS3BucketRegion.java b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksS3BucketRegion.java
deleted file mode 100644
index 701b3d93..00000000
--- a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksS3BucketRegion.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
- */
-
-package com.airbyte.api.models.shared;
-
-import com.airbyte.api.utils.Utils;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonValue;
-import com.fasterxml.jackson.core.type.TypeReference;
-import java.io.InputStream;
-import java.lang.Deprecated;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-/**
- * DestinationDatabricksS3BucketRegion - The region of the S3 staging bucket to use if utilising a copy strategy.
- */
-public enum DestinationDatabricksS3BucketRegion {
- 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
- private final String value;
-
- private DestinationDatabricksS3BucketRegion(String value) {
- this.value = value;
- }
-
- public String value() {
- return value;
- }
-}
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java
new file mode 100644
index 00000000..a7a2dfd0
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum DestinationDatabricksSchemasAuthType {
+ OAUTH("OAUTH");
+
+ @JsonValue
+ private final String value;
+
+ private DestinationDatabricksSchemasAuthType(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java
index 692eb48e..809740c6 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java
@@ -25,7 +25,7 @@ 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")
- private Authentication credential;
+ private DestinationGcsAuthentication credential;
@JsonProperty("destinationType")
private Gcs destinationType;
@@ -57,7 +57,7 @@ public class DestinationGcs {
@JsonCreator
public DestinationGcs(
- @JsonProperty("credential") Authentication credential,
+ @JsonProperty("credential") DestinationGcsAuthentication credential,
@JsonProperty("format") DestinationGcsOutputFormat format,
@JsonProperty("gcs_bucket_name") String gcsBucketName,
@JsonProperty("gcs_bucket_path") String gcsBucketPath,
@@ -76,7 +76,7 @@ public DestinationGcs(
}
public DestinationGcs(
- Authentication credential,
+ DestinationGcsAuthentication credential,
DestinationGcsOutputFormat format,
String gcsBucketName,
String gcsBucketPath) {
@@ -87,7 +87,7 @@ public 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>.
*/
@JsonIgnore
- public Authentication credential() {
+ public DestinationGcsAuthentication credential() {
return credential;
}
@@ -136,7 +136,7 @@ public final static Builder builder() {
/**
* 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 DestinationGcs withCredential(Authentication credential) {
+ public DestinationGcs withCredential(DestinationGcsAuthentication credential) {
Utils.checkNotNull(credential, "credential");
this.credential = credential;
return this;
@@ -229,7 +229,7 @@ public String toString() {
public final static class Builder {
- private Authentication credential;
+ private DestinationGcsAuthentication credential;
private DestinationGcsOutputFormat format;
@@ -246,7 +246,7 @@ private Builder() {
/**
* 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 Builder credential(Authentication credential) {
+ public Builder credential(DestinationGcsAuthentication credential) {
Utils.checkNotNull(credential, "credential");
this.credential = credential;
return this;
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java
new file mode 100644
index 00000000..30cfca71
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java
@@ -0,0 +1,96 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+import java.time.OffsetDateTime;
+import java.time.LocalDate;
+import com.fasterxml.jackson.core.type.TypeReference;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.airbyte.api.utils.TypedObject;
+import com.airbyte.api.utils.Utils.JsonShape;
+
+/**
+ * DestinationGcsAuthentication - An HMAC key is a type of credential and can be associated with a service account or a user account in Cloud Storage. Read more <a href="https://cloud.google.com/storage/docs/authentication/hmackeys">here</a>.
+ */
+
+@JsonDeserialize(using = DestinationGcsAuthentication._Deserializer.class)
+public class DestinationGcsAuthentication {
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ private TypedObject value;
+
+ private DestinationGcsAuthentication(TypedObject value) {
+ this.value = value;
+ }
+
+ public static DestinationGcsAuthentication of(HMACKey value) {
+ Utils.checkNotNull(value, "value");
+ return new DestinationGcsAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
+ /**
+ * Returns an instance of one of these types:
+ *
+ *
+ * Use {@code instanceof} to determine what type is returned. For example:
+ *
+ *
+ * if (obj.value() instanceof String) {
+ * String answer = (String) obj.value();
+ * System.out.println("answer=" + answer);
+ * }
+ *
+ *
+ * @return value of oneOf type
+ **/
+ public java.lang.Object value() {
+ return value.value();
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DestinationGcsAuthentication other = (DestinationGcsAuthentication) o;
+ return java.util.Objects.deepEquals(this.value.value(), other.value.value());
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(value.value());
+ }
+
+ @SuppressWarnings("serial")
+ public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer {
+
+ public _Deserializer() {
+ super(DestinationGcsAuthentication.class,
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT));
+ }
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(DestinationGcsAuthentication.class,
+ "value", value);
+ }
+
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java
index f833cd5f..59ad262b 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java
@@ -80,6 +80,13 @@ public class DestinationSnowflake {
@JsonProperty("schema")
private String schema;
+ /**
+ * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("use_merge_for_upsert")
+ private Optional extends Boolean> useMergeForUpsert;
+
/**
* Enter the name of the user you want to use to access the database
*/
@@ -103,6 +110,7 @@ public DestinationSnowflake(
@JsonProperty("retention_period_days") Optional extends Long> retentionPeriodDays,
@JsonProperty("role") String role,
@JsonProperty("schema") String schema,
+ @JsonProperty("use_merge_for_upsert") Optional extends Boolean> useMergeForUpsert,
@JsonProperty("username") String username,
@JsonProperty("warehouse") String warehouse) {
Utils.checkNotNull(credentials, "credentials");
@@ -114,6 +122,7 @@ public DestinationSnowflake(
Utils.checkNotNull(retentionPeriodDays, "retentionPeriodDays");
Utils.checkNotNull(role, "role");
Utils.checkNotNull(schema, "schema");
+ Utils.checkNotNull(useMergeForUpsert, "useMergeForUpsert");
Utils.checkNotNull(username, "username");
Utils.checkNotNull(warehouse, "warehouse");
this.credentials = credentials;
@@ -126,6 +135,7 @@ public DestinationSnowflake(
this.retentionPeriodDays = retentionPeriodDays;
this.role = role;
this.schema = schema;
+ this.useMergeForUpsert = useMergeForUpsert;
this.username = username;
this.warehouse = warehouse;
}
@@ -137,7 +147,7 @@ public DestinationSnowflake(
String schema,
String username,
String warehouse) {
- this(Optional.empty(), database, Optional.empty(), host, Optional.empty(), Optional.empty(), Optional.empty(), role, schema, username, warehouse);
+ this(Optional.empty(), database, Optional.empty(), host, Optional.empty(), Optional.empty(), Optional.empty(), role, schema, Optional.empty(), username, warehouse);
}
@SuppressWarnings("unchecked")
@@ -219,6 +229,15 @@ public String schema() {
return schema;
}
+ /**
+ * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE
+ */
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional useMergeForUpsert() {
+ return (Optional) useMergeForUpsert;
+ }
+
/**
* Enter the name of the user you want to use to access the database
*/
@@ -359,6 +378,24 @@ public DestinationSnowflake withSchema(String schema) {
return this;
}
+ /**
+ * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE
+ */
+ public DestinationSnowflake withUseMergeForUpsert(boolean useMergeForUpsert) {
+ Utils.checkNotNull(useMergeForUpsert, "useMergeForUpsert");
+ this.useMergeForUpsert = Optional.ofNullable(useMergeForUpsert);
+ return this;
+ }
+
+ /**
+ * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE
+ */
+ public DestinationSnowflake withUseMergeForUpsert(Optional extends Boolean> useMergeForUpsert) {
+ Utils.checkNotNull(useMergeForUpsert, "useMergeForUpsert");
+ this.useMergeForUpsert = useMergeForUpsert;
+ return this;
+ }
+
/**
* Enter the name of the user you want to use to access the database
*/
@@ -397,6 +434,7 @@ public boolean equals(java.lang.Object o) {
java.util.Objects.deepEquals(this.retentionPeriodDays, other.retentionPeriodDays) &&
java.util.Objects.deepEquals(this.role, other.role) &&
java.util.Objects.deepEquals(this.schema, other.schema) &&
+ java.util.Objects.deepEquals(this.useMergeForUpsert, other.useMergeForUpsert) &&
java.util.Objects.deepEquals(this.username, other.username) &&
java.util.Objects.deepEquals(this.warehouse, other.warehouse);
}
@@ -414,6 +452,7 @@ public int hashCode() {
retentionPeriodDays,
role,
schema,
+ useMergeForUpsert,
username,
warehouse);
}
@@ -431,6 +470,7 @@ public String toString() {
"retentionPeriodDays", retentionPeriodDays,
"role", role,
"schema", schema,
+ "useMergeForUpsert", useMergeForUpsert,
"username", username,
"warehouse", warehouse);
}
@@ -455,6 +495,8 @@ public final static class Builder {
private String schema;
+ private Optional extends Boolean> useMergeForUpsert;
+
private String username;
private String warehouse;
@@ -583,6 +625,24 @@ public Builder schema(String schema) {
return this;
}
+ /**
+ * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE
+ */
+ public Builder useMergeForUpsert(boolean useMergeForUpsert) {
+ Utils.checkNotNull(useMergeForUpsert, "useMergeForUpsert");
+ this.useMergeForUpsert = Optional.ofNullable(useMergeForUpsert);
+ return this;
+ }
+
+ /**
+ * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE
+ */
+ public Builder useMergeForUpsert(Optional extends Boolean> useMergeForUpsert) {
+ Utils.checkNotNull(useMergeForUpsert, "useMergeForUpsert");
+ this.useMergeForUpsert = useMergeForUpsert;
+ return this;
+ }
+
/**
* Enter the name of the user you want to use to access the database
*/
@@ -608,6 +668,9 @@ public DestinationSnowflake build() {
if (retentionPeriodDays == null) {
retentionPeriodDays = _SINGLETON_VALUE_RetentionPeriodDays.value();
}
+ if (useMergeForUpsert == null) {
+ useMergeForUpsert = _SINGLETON_VALUE_UseMergeForUpsert.value();
+ }
return new DestinationSnowflake(
credentials,
database,
@@ -618,6 +681,7 @@ public DestinationSnowflake build() {
retentionPeriodDays,
role,
schema,
+ useMergeForUpsert,
username,
warehouse);
}
@@ -639,6 +703,12 @@ public DestinationSnowflake build() {
"retention_period_days",
"1",
new TypeReference>() {});
+
+ private static final LazySingletonValue> _SINGLETON_VALUE_UseMergeForUpsert =
+ new LazySingletonValue<>(
+ "use_merge_for_upsert",
+ "false",
+ new TypeReference>() {});
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java
index 2e1a81f0..fc9cbfff 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java
@@ -16,7 +16,7 @@
import java.math.BigInteger;
public enum DestinationSnowflakeAuthType {
- USERNAME_AND_PASSWORD("Username and Password");
+ KEY_PAIR_AUTHENTICATION("Key Pair Authentication");
@JsonValue
private final String value;
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java
index a8a39039..8726c8f1 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java
@@ -29,7 +29,7 @@ public class DestinationSnowflakeOAuth20 {
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("auth_type")
- private Optional extends DestinationSnowflakeSchemasAuthType> authType;
+ private Optional extends DestinationSnowflakeSchemasCredentialsAuthType> authType;
/**
* Enter your application's Client ID
@@ -84,8 +84,8 @@ public String accessToken() {
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional authType() {
- return (Optional) authType;
+ public Optional authType() {
+ return (Optional) authType;
}
/**
@@ -285,11 +285,11 @@ public DestinationSnowflakeOAuth20 build() {
refreshToken);
}
- private static final LazySingletonValue> _SINGLETON_VALUE_AuthType =
+ private static final LazySingletonValue> _SINGLETON_VALUE_AuthType =
new LazySingletonValue<>(
"auth_type",
"\"OAuth2.0\"",
- new TypeReference>() {});
+ new TypeReference>() {});
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java
index 088f3739..b1f3f9c4 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java
@@ -16,7 +16,7 @@
import java.math.BigInteger;
public enum DestinationSnowflakeSchemasAuthType {
- O_AUTH20("OAuth2.0");
+ USERNAME_AND_PASSWORD("Username and Password");
@JsonValue
private final String value;
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java
index 1841974b..f19292bc 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java
@@ -16,7 +16,7 @@
import java.math.BigInteger;
public enum DestinationSnowflakeSchemasCredentialsAuthType {
- KEY_PAIR_AUTHENTICATION("Key Pair Authentication");
+ O_AUTH20("OAuth2.0");
@JsonValue
private final String value;
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java b/src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java
new file mode 100644
index 00000000..f6842906
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java
@@ -0,0 +1,199 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude.Include;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Optional;
+
+public class DestinationTimeplus {
+
+ /**
+ * Personal API key
+ */
+ @JsonProperty("apikey")
+ private String apikey;
+
+ @JsonProperty("destinationType")
+ private Timeplus destinationType;
+
+ /**
+ * Timeplus workspace endpoint
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("endpoint")
+ private Optional extends String> endpoint;
+
+ @JsonCreator
+ public DestinationTimeplus(
+ @JsonProperty("apikey") String apikey,
+ @JsonProperty("endpoint") Optional extends String> endpoint) {
+ Utils.checkNotNull(apikey, "apikey");
+ Utils.checkNotNull(endpoint, "endpoint");
+ this.apikey = apikey;
+ this.destinationType = Builder._SINGLETON_VALUE_DestinationType.value();
+ this.endpoint = endpoint;
+ }
+
+ public DestinationTimeplus(
+ String apikey) {
+ this(apikey, Optional.empty());
+ }
+
+ /**
+ * Personal API key
+ */
+ @JsonIgnore
+ public String apikey() {
+ return apikey;
+ }
+
+ @JsonIgnore
+ public Timeplus destinationType() {
+ return destinationType;
+ }
+
+ /**
+ * Timeplus workspace endpoint
+ */
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional endpoint() {
+ return (Optional) endpoint;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * Personal API key
+ */
+ public DestinationTimeplus withApikey(String apikey) {
+ Utils.checkNotNull(apikey, "apikey");
+ this.apikey = apikey;
+ return this;
+ }
+
+ /**
+ * Timeplus workspace endpoint
+ */
+ public DestinationTimeplus withEndpoint(String endpoint) {
+ Utils.checkNotNull(endpoint, "endpoint");
+ this.endpoint = Optional.ofNullable(endpoint);
+ return this;
+ }
+
+ /**
+ * Timeplus workspace endpoint
+ */
+ public DestinationTimeplus withEndpoint(Optional extends String> endpoint) {
+ Utils.checkNotNull(endpoint, "endpoint");
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DestinationTimeplus other = (DestinationTimeplus) o;
+ return
+ java.util.Objects.deepEquals(this.apikey, other.apikey) &&
+ java.util.Objects.deepEquals(this.destinationType, other.destinationType) &&
+ java.util.Objects.deepEquals(this.endpoint, other.endpoint);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ apikey,
+ destinationType,
+ endpoint);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(DestinationTimeplus.class,
+ "apikey", apikey,
+ "destinationType", destinationType,
+ "endpoint", endpoint);
+ }
+
+ public final static class Builder {
+
+ private String apikey;
+
+ private Optional extends String> endpoint;
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ /**
+ * Personal API key
+ */
+ public Builder apikey(String apikey) {
+ Utils.checkNotNull(apikey, "apikey");
+ this.apikey = apikey;
+ return this;
+ }
+
+ /**
+ * Timeplus workspace endpoint
+ */
+ public Builder endpoint(String endpoint) {
+ Utils.checkNotNull(endpoint, "endpoint");
+ this.endpoint = Optional.ofNullable(endpoint);
+ return this;
+ }
+
+ /**
+ * Timeplus workspace endpoint
+ */
+ public Builder endpoint(Optional extends String> endpoint) {
+ Utils.checkNotNull(endpoint, "endpoint");
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ public DestinationTimeplus build() {
+ if (endpoint == null) {
+ endpoint = _SINGLETON_VALUE_Endpoint.value();
+ }
+ return new DestinationTimeplus(
+ apikey,
+ endpoint);
+ }
+
+ private static final LazySingletonValue _SINGLETON_VALUE_DestinationType =
+ new LazySingletonValue<>(
+ "destinationType",
+ "\"timeplus\"",
+ new TypeReference() {});
+
+ private static final LazySingletonValue> _SINGLETON_VALUE_Endpoint =
+ new LazySingletonValue<>(
+ "endpoint",
+ "\"https://us-west-2.timeplus.cloud/\"",
+ new TypeReference>() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java b/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java
index 47f193a1..e5927da0 100644
--- a/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java
+++ b/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java
@@ -38,7 +38,7 @@ public class DestinationTypesense {
private Typesense destinationType;
/**
- * Hostname of the Typesense instance without protocol.
+ * Hostname of the Typesense instance without protocol. Accept multiple hosts separated by comma.
*/
@JsonProperty("host")
private String host;
@@ -116,7 +116,7 @@ public Typesense destinationType() {
}
/**
- * Hostname of the Typesense instance without protocol.
+ * Hostname of the Typesense instance without protocol. Accept multiple hosts separated by comma.
*/
@JsonIgnore
public String host() {
@@ -182,7 +182,7 @@ public DestinationTypesense withBatchSize(Optional extends Long> batchSize) {
}
/**
- * Hostname of the Typesense instance without protocol.
+ * Hostname of the Typesense instance without protocol. Accept multiple hosts separated by comma.
*/
public DestinationTypesense withHost(String host) {
Utils.checkNotNull(host, "host");
@@ -333,7 +333,7 @@ public Builder batchSize(Optional extends Long> batchSize) {
}
/**
- * Hostname of the Typesense instance without protocol.
+ * Hostname of the Typesense instance without protocol. Accept multiple hosts separated by comma.
*/
public Builder host(String host) {
Utils.checkNotNull(host, "host");
diff --git a/src/main/java/com/airbyte/api/models/shared/ExcelFormat.java b/src/main/java/com/airbyte/api/models/shared/ExcelFormat.java
new file mode 100644
index 00000000..e1d830ee
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/ExcelFormat.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.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude.Include;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Optional;
+
+public class ExcelFormat {
+
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("filetype")
+ private Optional extends SourceGcsSchemasStreamsFormatFormat6Filetype> filetype;
+
+ @JsonCreator
+ public ExcelFormat() {
+
+ this.filetype = Builder._SINGLETON_VALUE_Filetype.value();
+ }
+
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional filetype() {
+ return (Optional) filetype;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ExcelFormat other = (ExcelFormat) o;
+ return
+ java.util.Objects.deepEquals(this.filetype, other.filetype);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ filetype);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(ExcelFormat.class,
+ "filetype", filetype);
+ }
+
+ public final static class Builder {
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ public ExcelFormat build() {
+ return new ExcelFormat(
+ );
+ }
+
+ private static final LazySingletonValue> _SINGLETON_VALUE_Filetype =
+ new LazySingletonValue<>(
+ "filetype",
+ "\"excel\"",
+ new TypeReference>() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/GCSStaging.java b/src/main/java/com/airbyte/api/models/shared/GCSStaging.java
index 436ffa5f..0a6b19c0 100644
--- a/src/main/java/com/airbyte/api/models/shared/GCSStaging.java
+++ b/src/main/java/com/airbyte/api/models/shared/GCSStaging.java
@@ -19,7 +19,7 @@
import java.math.BigInteger;
import java.util.Optional;
/**
- * GCSStaging - <i>(recommended)</i> Writes large batches of records to a file, uploads the file to GCS, then uses COPY INTO to load your data into BigQuery. Provides best-in-class speed, reliability and scalability. Read more about GCS Staging <a href="https://docs.airbyte.com/integrations/destinations/bigquery#gcs-staging">here</a>.
+ * GCSStaging - Writes large batches of records to a file, uploads the file to GCS, then uses COPY INTO to load your data into BigQuery.
*/
public class GCSStaging {
@@ -50,7 +50,7 @@ public class GCSStaging {
private Optional extends GCSTmpFilesAfterwardProcessing> keepFilesInGcsBucket;
@JsonProperty("method")
- private Method method;
+ private DestinationBigqueryMethod method;
@JsonCreator
public GCSStaging(
@@ -110,7 +110,7 @@ public Optional keepFilesInGcsBucket() {
}
@JsonIgnore
- public Method method() {
+ public DestinationBigqueryMethod method() {
return method;
}
@@ -276,11 +276,11 @@ public GCSStaging build() {
"\"Delete all tmp files from GCS\"",
new TypeReference>() {});
- private static final LazySingletonValue _SINGLETON_VALUE_Method =
+ private static final LazySingletonValue _SINGLETON_VALUE_Method =
new LazySingletonValue<>(
"method",
"\"GCS Staging\"",
- new TypeReference() {});
+ new TypeReference() {});
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java b/src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java
new file mode 100644
index 00000000..f1f4895d
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum HardcodedRecords {
+ HARDCODED_RECORDS("hardcoded-records");
+
+ @JsonValue
+ private final String value;
+
+ private HardcodedRecords(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/Hibob.java b/src/main/java/com/airbyte/api/models/shared/Hibob.java
new file mode 100644
index 00000000..1dc64fc6
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Hibob.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Hibob {
+ HIBOB("hibob");
+
+ @JsonValue
+ private final String value;
+
+ private Hibob(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/HighLevel.java b/src/main/java/com/airbyte/api/models/shared/HighLevel.java
new file mode 100644
index 00000000..0439346b
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/HighLevel.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum HighLevel {
+ HIGH_LEVEL("high-level");
+
+ @JsonValue
+ private final String value;
+
+ private HighLevel(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java b/src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java
index 897cd2c2..cc748427 100644
--- a/src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java
+++ b/src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java
@@ -23,7 +23,7 @@ public class KeyPairAuthentication {
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("auth_type")
- private Optional extends DestinationSnowflakeSchemasCredentialsAuthType> authType;
+ private Optional extends DestinationSnowflakeAuthType> authType;
/**
* 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.
@@ -56,8 +56,8 @@ public KeyPairAuthentication(
@SuppressWarnings("unchecked")
@JsonIgnore
- public Optional authType() {
- return (Optional) authType;
+ public Optional authType() {
+ return (Optional) authType;
}
/**
@@ -182,11 +182,11 @@ public KeyPairAuthentication build() {
privateKeyPassword);
}
- private static final LazySingletonValue> _SINGLETON_VALUE_AuthType =
+ private static final LazySingletonValue> _SINGLETON_VALUE_AuthType =
new LazySingletonValue<>(
"auth_type",
"\"Key Pair Authentication\"",
- new TypeReference>() {});
+ new TypeReference>() {});
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/Leadfeeder.java b/src/main/java/com/airbyte/api/models/shared/Leadfeeder.java
new file mode 100644
index 00000000..5013ffdc
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Leadfeeder.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Leadfeeder {
+ LEADFEEDER("leadfeeder");
+
+ @JsonValue
+ private final String value;
+
+ private Leadfeeder(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/LoadingMethod.java b/src/main/java/com/airbyte/api/models/shared/LoadingMethod.java
index 6054a0f7..7c436f1b 100644
--- a/src/main/java/com/airbyte/api/models/shared/LoadingMethod.java
+++ b/src/main/java/com/airbyte/api/models/shared/LoadingMethod.java
@@ -35,21 +35,21 @@ private LoadingMethod(TypedObject value) {
this.value = value;
}
- public static LoadingMethod of(GCSStaging value) {
+ public static LoadingMethod of(BatchedStandardInserts value) {
Utils.checkNotNull(value, "value");
- return new LoadingMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ return new LoadingMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
- public static LoadingMethod of(StandardInserts value) {
+ public static LoadingMethod of(GCSStaging value) {
Utils.checkNotNull(value, "value");
- return new LoadingMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ return new LoadingMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
/**
* Returns an instance of one of these types:
*
+ * - {@code BatchedStandardInserts}
* - {@code GCSStaging}
- * - {@code StandardInserts}
*
*
* Use {@code instanceof} to determine what type is returned. For example:
@@ -89,8 +89,8 @@ public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeser
public _Deserializer() {
super(LoadingMethod.class,
- Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
- Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT));
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT));
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/Looker.java b/src/main/java/com/airbyte/api/models/shared/Looker.java
new file mode 100644
index 00000000..255209b1
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Looker.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Looker {
+ LOOKER("looker");
+
+ @JsonValue
+ private final String value;
+
+ private Looker(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/Luma.java b/src/main/java/com/airbyte/api/models/shared/Luma.java
new file mode 100644
index 00000000..4602d931
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Luma.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Luma {
+ LUMA("luma");
+
+ @JsonValue
+ private final String value;
+
+ private Luma(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/Method.java b/src/main/java/com/airbyte/api/models/shared/Method.java
index 382583e1..df66ea98 100644
--- a/src/main/java/com/airbyte/api/models/shared/Method.java
+++ b/src/main/java/com/airbyte/api/models/shared/Method.java
@@ -16,7 +16,7 @@
import java.math.BigInteger;
public enum Method {
- GCS_STAGING("GCS Staging");
+ STANDARD("Standard");
@JsonValue
private final String value;
diff --git a/src/main/java/com/airbyte/api/models/shared/NorthpassLms.java b/src/main/java/com/airbyte/api/models/shared/NorthpassLms.java
new file mode 100644
index 00000000..85c3c91e
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/NorthpassLms.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum NorthpassLms {
+ NORTHPASS_LMS("northpass-lms");
+
+ @JsonValue
+ private final String value;
+
+ private NorthpassLms(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java b/src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java
new file mode 100644
index 00000000..b3636049
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java
@@ -0,0 +1,244 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public class OAuth20WithPrivateKey {
+
+ @JsonProperty("auth_type")
+ private SourceOktaSchemasAuthType authType;
+
+ /**
+ * The Client ID of your OAuth application.
+ */
+ @JsonProperty("client_id")
+ private String clientId;
+
+ /**
+ * The key ID (kid).
+ */
+ @JsonProperty("key_id")
+ private String keyId;
+
+ /**
+ * The private key in PEM format
+ */
+ @JsonProperty("private_key")
+ private String privateKey;
+
+ /**
+ * The OAuth scope.
+ */
+ @JsonProperty("scope")
+ private String scope;
+
+ @JsonCreator
+ public OAuth20WithPrivateKey(
+ @JsonProperty("client_id") String clientId,
+ @JsonProperty("key_id") String keyId,
+ @JsonProperty("private_key") String privateKey,
+ @JsonProperty("scope") String scope) {
+ Utils.checkNotNull(clientId, "clientId");
+ Utils.checkNotNull(keyId, "keyId");
+ Utils.checkNotNull(privateKey, "privateKey");
+ Utils.checkNotNull(scope, "scope");
+ this.authType = Builder._SINGLETON_VALUE_AuthType.value();
+ this.clientId = clientId;
+ this.keyId = keyId;
+ this.privateKey = privateKey;
+ this.scope = scope;
+ }
+
+ @JsonIgnore
+ public SourceOktaSchemasAuthType authType() {
+ return authType;
+ }
+
+ /**
+ * The Client ID of your OAuth application.
+ */
+ @JsonIgnore
+ public String clientId() {
+ return clientId;
+ }
+
+ /**
+ * The key ID (kid).
+ */
+ @JsonIgnore
+ public String keyId() {
+ return keyId;
+ }
+
+ /**
+ * The private key in PEM format
+ */
+ @JsonIgnore
+ public String privateKey() {
+ return privateKey;
+ }
+
+ /**
+ * The OAuth scope.
+ */
+ @JsonIgnore
+ public String scope() {
+ return scope;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * The Client ID of your OAuth application.
+ */
+ public OAuth20WithPrivateKey withClientId(String clientId) {
+ Utils.checkNotNull(clientId, "clientId");
+ this.clientId = clientId;
+ return this;
+ }
+
+ /**
+ * The key ID (kid).
+ */
+ public OAuth20WithPrivateKey withKeyId(String keyId) {
+ Utils.checkNotNull(keyId, "keyId");
+ this.keyId = keyId;
+ return this;
+ }
+
+ /**
+ * The private key in PEM format
+ */
+ public OAuth20WithPrivateKey withPrivateKey(String privateKey) {
+ Utils.checkNotNull(privateKey, "privateKey");
+ this.privateKey = privateKey;
+ return this;
+ }
+
+ /**
+ * The OAuth scope.
+ */
+ public OAuth20WithPrivateKey withScope(String scope) {
+ Utils.checkNotNull(scope, "scope");
+ this.scope = scope;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OAuth20WithPrivateKey other = (OAuth20WithPrivateKey) o;
+ return
+ java.util.Objects.deepEquals(this.authType, other.authType) &&
+ java.util.Objects.deepEquals(this.clientId, other.clientId) &&
+ java.util.Objects.deepEquals(this.keyId, other.keyId) &&
+ java.util.Objects.deepEquals(this.privateKey, other.privateKey) &&
+ java.util.Objects.deepEquals(this.scope, other.scope);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ authType,
+ clientId,
+ keyId,
+ privateKey,
+ scope);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(OAuth20WithPrivateKey.class,
+ "authType", authType,
+ "clientId", clientId,
+ "keyId", keyId,
+ "privateKey", privateKey,
+ "scope", scope);
+ }
+
+ public final static class Builder {
+
+ private String clientId;
+
+ private String keyId;
+
+ private String privateKey;
+
+ private String scope;
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ /**
+ * The Client ID of your OAuth application.
+ */
+ public Builder clientId(String clientId) {
+ Utils.checkNotNull(clientId, "clientId");
+ this.clientId = clientId;
+ return this;
+ }
+
+ /**
+ * The key ID (kid).
+ */
+ public Builder keyId(String keyId) {
+ Utils.checkNotNull(keyId, "keyId");
+ this.keyId = keyId;
+ return this;
+ }
+
+ /**
+ * The private key in PEM format
+ */
+ public Builder privateKey(String privateKey) {
+ Utils.checkNotNull(privateKey, "privateKey");
+ this.privateKey = privateKey;
+ return this;
+ }
+
+ /**
+ * The OAuth scope.
+ */
+ public Builder scope(String scope) {
+ Utils.checkNotNull(scope, "scope");
+ this.scope = scope;
+ return this;
+ }
+
+ public OAuth20WithPrivateKey build() {
+ return new OAuth20WithPrivateKey(
+ clientId,
+ keyId,
+ privateKey,
+ scope);
+ }
+
+ private static final LazySingletonValue _SINGLETON_VALUE_AuthType =
+ new LazySingletonValue<>(
+ "auth_type",
+ "\"oauth2.0_private_key\"",
+ new TypeReference() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java b/src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java
new file mode 100644
index 00000000..84b2a01e
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java
@@ -0,0 +1,138 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public class OAuth2Recommended {
+
+ @JsonProperty("auth_type")
+ private DestinationDatabricksSchemasAuthType authType;
+
+ @JsonProperty("client_id")
+ private String clientId;
+
+ @JsonProperty("secret")
+ private String secret;
+
+ @JsonCreator
+ public OAuth2Recommended(
+ @JsonProperty("client_id") String clientId,
+ @JsonProperty("secret") String secret) {
+ Utils.checkNotNull(clientId, "clientId");
+ Utils.checkNotNull(secret, "secret");
+ this.authType = Builder._SINGLETON_VALUE_AuthType.value();
+ this.clientId = clientId;
+ this.secret = secret;
+ }
+
+ @JsonIgnore
+ public DestinationDatabricksSchemasAuthType authType() {
+ return authType;
+ }
+
+ @JsonIgnore
+ public String clientId() {
+ return clientId;
+ }
+
+ @JsonIgnore
+ public String secret() {
+ return secret;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ public OAuth2Recommended withClientId(String clientId) {
+ Utils.checkNotNull(clientId, "clientId");
+ this.clientId = clientId;
+ return this;
+ }
+
+ public OAuth2Recommended withSecret(String secret) {
+ Utils.checkNotNull(secret, "secret");
+ this.secret = secret;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OAuth2Recommended other = (OAuth2Recommended) o;
+ return
+ java.util.Objects.deepEquals(this.authType, other.authType) &&
+ java.util.Objects.deepEquals(this.clientId, other.clientId) &&
+ java.util.Objects.deepEquals(this.secret, other.secret);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ authType,
+ clientId,
+ secret);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(OAuth2Recommended.class,
+ "authType", authType,
+ "clientId", clientId,
+ "secret", secret);
+ }
+
+ public final static class Builder {
+
+ private String clientId;
+
+ private String secret;
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ public Builder clientId(String clientId) {
+ Utils.checkNotNull(clientId, "clientId");
+ this.clientId = clientId;
+ return this;
+ }
+
+ public Builder secret(String secret) {
+ Utils.checkNotNull(secret, "secret");
+ this.secret = secret;
+ return this;
+ }
+
+ public OAuth2Recommended build() {
+ return new OAuth2Recommended(
+ clientId,
+ secret);
+ }
+
+ private static final LazySingletonValue _SINGLETON_VALUE_AuthType =
+ new LazySingletonValue<>(
+ "auth_type",
+ "\"OAUTH\"",
+ new TypeReference() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java b/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java
index f6e41389..eebe7498 100644
--- a/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java
+++ b/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java
@@ -49,7 +49,6 @@ public enum OAuthActorNames {
SNAPCHAT_MARKETING("snapchat-marketing"),
SNOWFLAKE("snowflake"),
SQUARE("square"),
- STRAVA("strava"),
SURVEYMONKEY("surveymonkey"),
TIKTOK_MARKETING("tiktok-marketing"),
TRELLO("trello"),
diff --git a/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java b/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java
index 28d73beb..bd95ffe7 100644
--- a/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java
+++ b/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java
@@ -205,11 +205,6 @@ public static OAuthCredentialsConfiguration of(Square value) {
return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
- public static OAuthCredentialsConfiguration of(Strava value) {
- Utils.checkNotNull(value, "value");
- return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
- }
-
public static OAuthCredentialsConfiguration of(Surveymonkey value) {
Utils.checkNotNull(value, "value");
return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -292,7 +287,6 @@ public static OAuthCredentialsConfiguration of(ZendeskTalk value) {
* {@code SnapchatMarketing}
* {@code Snowflake}
* {@code Square}
- * {@code Strava}
* {@code Surveymonkey}
* {@code TiktokMarketing}
* {@code java.lang.Object}
@@ -375,7 +369,6 @@ public _Deserializer() {
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
- Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
diff --git a/src/main/java/com/airbyte/api/models/shared/Pennylane.java b/src/main/java/com/airbyte/api/models/shared/Pennylane.java
new file mode 100644
index 00000000..ef2167cc
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Pennylane.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Pennylane {
+ PENNYLANE("pennylane");
+
+ @JsonValue
+ private final String value;
+
+ private Pennylane(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java b/src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java
index f7bffd2b..559ff39b 100644
--- a/src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java
+++ b/src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java
@@ -9,60 +9,46 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude.Include;
-import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.type.TypeReference;
import java.io.InputStream;
import java.lang.Deprecated;
import java.math.BigDecimal;
import java.math.BigInteger;
-import java.util.Optional;
public class PersonalAccessToken {
- /**
- * 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")
- private String apiKey;
+ @JsonProperty("auth_type")
+ private DestinationDatabricksAuthType authType;
- @JsonInclude(Include.NON_ABSENT)
- @JsonProperty("auth_method")
- private Optional extends SourceAirtableAuthMethod> authMethod;
+ @JsonProperty("personal_access_token")
+ private String personalAccessToken;
@JsonCreator
public PersonalAccessToken(
- @JsonProperty("api_key") String apiKey) {
- Utils.checkNotNull(apiKey, "apiKey");
- this.apiKey = apiKey;
- this.authMethod = Builder._SINGLETON_VALUE_AuthMethod.value();
+ @JsonProperty("personal_access_token") String personalAccessToken) {
+ Utils.checkNotNull(personalAccessToken, "personalAccessToken");
+ this.authType = Builder._SINGLETON_VALUE_AuthType.value();
+ this.personalAccessToken = personalAccessToken;
}
- /**
- * 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.
- */
@JsonIgnore
- public String apiKey() {
- return apiKey;
+ public DestinationDatabricksAuthType authType() {
+ return authType;
}
- @SuppressWarnings("unchecked")
@JsonIgnore
- public Optional authMethod() {
- return (Optional) authMethod;
+ public String personalAccessToken() {
+ return personalAccessToken;
}
public final static Builder builder() {
return new Builder();
}
- /**
- * 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.
- */
- public PersonalAccessToken withApiKey(String apiKey) {
- Utils.checkNotNull(apiKey, "apiKey");
- this.apiKey = apiKey;
+ public PersonalAccessToken withPersonalAccessToken(String personalAccessToken) {
+ Utils.checkNotNull(personalAccessToken, "personalAccessToken");
+ this.personalAccessToken = personalAccessToken;
return this;
}
@@ -76,51 +62,48 @@ public boolean equals(java.lang.Object o) {
}
PersonalAccessToken other = (PersonalAccessToken) o;
return
- java.util.Objects.deepEquals(this.apiKey, other.apiKey) &&
- java.util.Objects.deepEquals(this.authMethod, other.authMethod);
+ java.util.Objects.deepEquals(this.authType, other.authType) &&
+ java.util.Objects.deepEquals(this.personalAccessToken, other.personalAccessToken);
}
@Override
public int hashCode() {
return java.util.Objects.hash(
- apiKey,
- authMethod);
+ authType,
+ personalAccessToken);
}
@Override
public String toString() {
return Utils.toString(PersonalAccessToken.class,
- "apiKey", apiKey,
- "authMethod", authMethod);
+ "authType", authType,
+ "personalAccessToken", personalAccessToken);
}
public final static class Builder {
- private String apiKey;
+ private String personalAccessToken;
private Builder() {
// force use of static builder() method
}
- /**
- * 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.
- */
- public Builder apiKey(String apiKey) {
- Utils.checkNotNull(apiKey, "apiKey");
- this.apiKey = apiKey;
+ public Builder personalAccessToken(String personalAccessToken) {
+ Utils.checkNotNull(personalAccessToken, "personalAccessToken");
+ this.personalAccessToken = personalAccessToken;
return this;
}
public PersonalAccessToken build() {
return new PersonalAccessToken(
- apiKey);
+ personalAccessToken);
}
- private static final LazySingletonValue> _SINGLETON_VALUE_AuthMethod =
+ private static final LazySingletonValue _SINGLETON_VALUE_AuthType =
new LazySingletonValue<>(
- "auth_method",
- "\"api_key\"",
- new TypeReference>() {});
+ "auth_type",
+ "\"BASIC\"",
+ new TypeReference() {});
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/Planhat.java b/src/main/java/com/airbyte/api/models/shared/Planhat.java
new file mode 100644
index 00000000..5b8bb138
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Planhat.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Planhat {
+ PLANHAT("planhat");
+
+ @JsonValue
+ private final String value;
+
+ private Planhat(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/Queries.java b/src/main/java/com/airbyte/api/models/shared/Queries.java
index c9fac755..3f043083 100644
--- a/src/main/java/com/airbyte/api/models/shared/Queries.java
+++ b/src/main/java/com/airbyte/api/models/shared/Queries.java
@@ -21,7 +21,7 @@ public class Queries {
* A data source that is powered by the platform.
*/
@JsonProperty("data_source")
- private SourceDatadogDataSource dataSource;
+ private DataSource dataSource;
/**
* The variable name for use in queries.
@@ -37,7 +37,7 @@ public class Queries {
@JsonCreator
public Queries(
- @JsonProperty("data_source") SourceDatadogDataSource dataSource,
+ @JsonProperty("data_source") DataSource dataSource,
@JsonProperty("name") String name,
@JsonProperty("query") String query) {
Utils.checkNotNull(dataSource, "dataSource");
@@ -52,7 +52,7 @@ public Queries(
* A data source that is powered by the platform.
*/
@JsonIgnore
- public SourceDatadogDataSource dataSource() {
+ public DataSource dataSource() {
return dataSource;
}
@@ -79,7 +79,7 @@ public final static Builder builder() {
/**
* A data source that is powered by the platform.
*/
- public Queries withDataSource(SourceDatadogDataSource dataSource) {
+ public Queries withDataSource(DataSource dataSource) {
Utils.checkNotNull(dataSource, "dataSource");
this.dataSource = dataSource;
return this;
@@ -136,7 +136,7 @@ public String toString() {
public final static class Builder {
- private SourceDatadogDataSource dataSource;
+ private DataSource dataSource;
private String name;
@@ -149,7 +149,7 @@ private Builder() {
/**
* A data source that is powered by the platform.
*/
- public Builder dataSource(SourceDatadogDataSource dataSource) {
+ public Builder dataSource(DataSource dataSource) {
Utils.checkNotNull(dataSource, "dataSource");
this.dataSource = dataSource;
return this;
diff --git a/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java b/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java
index 756055fd..f7658289 100644
--- a/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java
+++ b/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java
@@ -24,6 +24,13 @@
public class ReadChangesUsingChangeDataCaptureCDC {
+ /**
+ * The amount of time an initial load is allowed to continue for before catching up on CDC logs.
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("initial_load_timeout_hours")
+ private Optional extends Long> initialLoadTimeoutHours;
+
/**
* The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>.
*/
@@ -50,12 +57,15 @@ public class ReadChangesUsingChangeDataCaptureCDC {
@JsonCreator
public ReadChangesUsingChangeDataCaptureCDC(
+ @JsonProperty("initial_load_timeout_hours") Optional extends Long> initialLoadTimeoutHours,
@JsonProperty("initial_waiting_seconds") Optional extends Long> initialWaitingSeconds,
@JsonProperty("invalid_cdc_cursor_position_behavior") Optional extends SourceMssqlInvalidCDCPositionBehaviorAdvanced> invalidCdcCursorPositionBehavior,
@JsonProperty("queue_size") Optional extends Long> queueSize) {
+ Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours");
Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds");
Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior");
Utils.checkNotNull(queueSize, "queueSize");
+ this.initialLoadTimeoutHours = initialLoadTimeoutHours;
this.initialWaitingSeconds = initialWaitingSeconds;
this.invalidCdcCursorPositionBehavior = invalidCdcCursorPositionBehavior;
this.method = Builder._SINGLETON_VALUE_Method.value();
@@ -63,7 +73,16 @@ public ReadChangesUsingChangeDataCaptureCDC(
}
public ReadChangesUsingChangeDataCaptureCDC() {
- this(Optional.empty(), Optional.empty(), Optional.empty());
+ this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
+ }
+
+ /**
+ * The amount of time an initial load is allowed to continue for before catching up on CDC logs.
+ */
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional initialLoadTimeoutHours() {
+ return (Optional) initialLoadTimeoutHours;
}
/**
@@ -102,6 +121,24 @@ public final static Builder builder() {
return new Builder();
}
+ /**
+ * The amount of time an initial load is allowed to continue for before catching up on CDC logs.
+ */
+ public ReadChangesUsingChangeDataCaptureCDC withInitialLoadTimeoutHours(long initialLoadTimeoutHours) {
+ Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours");
+ this.initialLoadTimeoutHours = Optional.ofNullable(initialLoadTimeoutHours);
+ return this;
+ }
+
+ /**
+ * The amount of time an initial load is allowed to continue for before catching up on CDC logs.
+ */
+ public ReadChangesUsingChangeDataCaptureCDC withInitialLoadTimeoutHours(Optional extends Long> initialLoadTimeoutHours) {
+ Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours");
+ this.initialLoadTimeoutHours = initialLoadTimeoutHours;
+ return this;
+ }
+
/**
* The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>.
*/
@@ -166,6 +203,7 @@ public boolean equals(java.lang.Object o) {
}
ReadChangesUsingChangeDataCaptureCDC other = (ReadChangesUsingChangeDataCaptureCDC) o;
return
+ java.util.Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) &&
java.util.Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) &&
java.util.Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) &&
java.util.Objects.deepEquals(this.method, other.method) &&
@@ -175,6 +213,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
return java.util.Objects.hash(
+ initialLoadTimeoutHours,
initialWaitingSeconds,
invalidCdcCursorPositionBehavior,
method,
@@ -184,6 +223,7 @@ public int hashCode() {
@Override
public String toString() {
return Utils.toString(ReadChangesUsingChangeDataCaptureCDC.class,
+ "initialLoadTimeoutHours", initialLoadTimeoutHours,
"initialWaitingSeconds", initialWaitingSeconds,
"invalidCdcCursorPositionBehavior", invalidCdcCursorPositionBehavior,
"method", method,
@@ -192,6 +232,8 @@ public String toString() {
public final static class Builder {
+ private Optional extends Long> initialLoadTimeoutHours;
+
private Optional extends Long> initialWaitingSeconds;
private Optional extends SourceMssqlInvalidCDCPositionBehaviorAdvanced> invalidCdcCursorPositionBehavior;
@@ -202,6 +244,24 @@ private Builder() {
// force use of static builder() method
}
+ /**
+ * The amount of time an initial load is allowed to continue for before catching up on CDC logs.
+ */
+ public Builder initialLoadTimeoutHours(long initialLoadTimeoutHours) {
+ Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours");
+ this.initialLoadTimeoutHours = Optional.ofNullable(initialLoadTimeoutHours);
+ return this;
+ }
+
+ /**
+ * The amount of time an initial load is allowed to continue for before catching up on CDC logs.
+ */
+ public Builder initialLoadTimeoutHours(Optional extends Long> initialLoadTimeoutHours) {
+ Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours");
+ this.initialLoadTimeoutHours = initialLoadTimeoutHours;
+ return this;
+ }
+
/**
* The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>.
*/
@@ -257,6 +317,9 @@ public Builder queueSize(Optional extends Long> queueSize) {
}
public ReadChangesUsingChangeDataCaptureCDC build() {
+ if (initialLoadTimeoutHours == null) {
+ initialLoadTimeoutHours = _SINGLETON_VALUE_InitialLoadTimeoutHours.value();
+ }
if (initialWaitingSeconds == null) {
initialWaitingSeconds = _SINGLETON_VALUE_InitialWaitingSeconds.value();
}
@@ -267,11 +330,18 @@ public ReadChangesUsingChangeDataCaptureCDC build() {
queueSize = _SINGLETON_VALUE_QueueSize.value();
}
return new ReadChangesUsingChangeDataCaptureCDC(
+ initialLoadTimeoutHours,
initialWaitingSeconds,
invalidCdcCursorPositionBehavior,
queueSize);
}
+ private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours =
+ new LazySingletonValue<>(
+ "initial_load_timeout_hours",
+ "8",
+ new TypeReference>() {});
+
private static final LazySingletonValue> _SINGLETON_VALUE_InitialWaitingSeconds =
new LazySingletonValue<>(
"initial_waiting_seconds",
diff --git a/src/main/java/com/airbyte/api/models/shared/Reddit.java b/src/main/java/com/airbyte/api/models/shared/Reddit.java
new file mode 100644
index 00000000..88e0cb93
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Reddit.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Reddit {
+ REDDIT("reddit");
+
+ @JsonValue
+ private final String value;
+
+ private Reddit(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/Savvycal.java b/src/main/java/com/airbyte/api/models/shared/Savvycal.java
new file mode 100644
index 00000000..f6415528
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Savvycal.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Savvycal {
+ SAVVYCAL("savvycal");
+
+ @JsonValue
+ private final String value;
+
+ private Savvycal(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/Scryfall.java b/src/main/java/com/airbyte/api/models/shared/Scryfall.java
new file mode 100644
index 00000000..5187ec20
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/Scryfall.java
@@ -0,0 +1,31 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public enum Scryfall {
+ SCRYFALL("scryfall");
+
+ @JsonValue
+ private final String value;
+
+ private Scryfall(String value) {
+ this.value = value;
+ }
+
+ public String value() {
+ return value;
+ }
+}
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java b/src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java
new file mode 100644
index 00000000..af659249
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java
@@ -0,0 +1,170 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.time.OffsetDateTime;
+
+public class SourceAirbyte {
+
+ @JsonProperty("client_id")
+ private String clientId;
+
+ @JsonProperty("client_secret")
+ private String clientSecret;
+
+ @JsonProperty("sourceType")
+ private Airbyte sourceType;
+
+ @JsonProperty("start_date")
+ private OffsetDateTime startDate;
+
+ @JsonCreator
+ public SourceAirbyte(
+ @JsonProperty("client_id") String clientId,
+ @JsonProperty("client_secret") String clientSecret,
+ @JsonProperty("start_date") OffsetDateTime startDate) {
+ Utils.checkNotNull(clientId, "clientId");
+ Utils.checkNotNull(clientSecret, "clientSecret");
+ Utils.checkNotNull(startDate, "startDate");
+ this.clientId = clientId;
+ this.clientSecret = clientSecret;
+ this.sourceType = Builder._SINGLETON_VALUE_SourceType.value();
+ this.startDate = startDate;
+ }
+
+ @JsonIgnore
+ public String clientId() {
+ return clientId;
+ }
+
+ @JsonIgnore
+ public String clientSecret() {
+ return clientSecret;
+ }
+
+ @JsonIgnore
+ public Airbyte sourceType() {
+ return sourceType;
+ }
+
+ @JsonIgnore
+ public OffsetDateTime startDate() {
+ return startDate;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ public SourceAirbyte withClientId(String clientId) {
+ Utils.checkNotNull(clientId, "clientId");
+ this.clientId = clientId;
+ return this;
+ }
+
+ public SourceAirbyte withClientSecret(String clientSecret) {
+ Utils.checkNotNull(clientSecret, "clientSecret");
+ this.clientSecret = clientSecret;
+ return this;
+ }
+
+ public SourceAirbyte withStartDate(OffsetDateTime startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = startDate;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SourceAirbyte other = (SourceAirbyte) o;
+ return
+ java.util.Objects.deepEquals(this.clientId, other.clientId) &&
+ java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) &&
+ java.util.Objects.deepEquals(this.sourceType, other.sourceType) &&
+ java.util.Objects.deepEquals(this.startDate, other.startDate);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ clientId,
+ clientSecret,
+ sourceType,
+ startDate);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(SourceAirbyte.class,
+ "clientId", clientId,
+ "clientSecret", clientSecret,
+ "sourceType", sourceType,
+ "startDate", startDate);
+ }
+
+ public final static class Builder {
+
+ private String clientId;
+
+ private String clientSecret;
+
+ private OffsetDateTime startDate;
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ public Builder clientId(String clientId) {
+ Utils.checkNotNull(clientId, "clientId");
+ this.clientId = clientId;
+ return this;
+ }
+
+ public Builder clientSecret(String clientSecret) {
+ Utils.checkNotNull(clientSecret, "clientSecret");
+ this.clientSecret = clientSecret;
+ return this;
+ }
+
+ public Builder startDate(OffsetDateTime startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = startDate;
+ return this;
+ }
+
+ public SourceAirbyte build() {
+ return new SourceAirbyte(
+ clientId,
+ clientSecret,
+ startDate);
+ }
+
+ private static final LazySingletonValue _SINGLETON_VALUE_SourceType =
+ new LazySingletonValue<>(
+ "sourceType",
+ "\"airbyte\"",
+ new TypeReference() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java
index 638dee51..4cf412d6 100644
--- a/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java
+++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java
@@ -37,16 +37,16 @@ public static SourceAirtableAuthentication of(SourceAirtableOAuth20 value) {
return new SourceAirtableAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
- public static SourceAirtableAuthentication of(PersonalAccessToken value) {
+ public static SourceAirtableAuthentication of(SourceAirtablePersonalAccessToken value) {
Utils.checkNotNull(value, "value");
- return new SourceAirtableAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ return new SourceAirtableAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
/**
* Returns an instance of one of these types:
*
* - {@code SourceAirtableOAuth20}
- * - {@code PersonalAccessToken}
+ * - {@code SourceAirtablePersonalAccessToken}
*
*
* Use {@code instanceof} to determine what type is returned. For example:
@@ -87,7 +87,7 @@ public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeser
public _Deserializer() {
super(SourceAirtableAuthentication.class,
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
- Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT));
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT));
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java
new file mode 100644
index 00000000..dfc4c23e
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java
@@ -0,0 +1,126 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude.Include;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Optional;
+
+public class SourceAirtablePersonalAccessToken {
+
+ /**
+ * 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")
+ private String apiKey;
+
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("auth_method")
+ private Optional extends SourceAirtableAuthMethod> authMethod;
+
+ @JsonCreator
+ public SourceAirtablePersonalAccessToken(
+ @JsonProperty("api_key") String apiKey) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ this.apiKey = apiKey;
+ this.authMethod = Builder._SINGLETON_VALUE_AuthMethod.value();
+ }
+
+ /**
+ * 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.
+ */
+ @JsonIgnore
+ public String apiKey() {
+ return apiKey;
+ }
+
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional authMethod() {
+ return (Optional) authMethod;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * 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.
+ */
+ public SourceAirtablePersonalAccessToken withApiKey(String apiKey) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ this.apiKey = apiKey;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SourceAirtablePersonalAccessToken other = (SourceAirtablePersonalAccessToken) o;
+ return
+ java.util.Objects.deepEquals(this.apiKey, other.apiKey) &&
+ java.util.Objects.deepEquals(this.authMethod, other.authMethod);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ apiKey,
+ authMethod);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(SourceAirtablePersonalAccessToken.class,
+ "apiKey", apiKey,
+ "authMethod", authMethod);
+ }
+
+ public final static class Builder {
+
+ private String apiKey;
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ /**
+ * 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.
+ */
+ public Builder apiKey(String apiKey) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ this.apiKey = apiKey;
+ return this;
+ }
+
+ public SourceAirtablePersonalAccessToken build() {
+ return new SourceAirtablePersonalAccessToken(
+ apiKey);
+ }
+
+ private static final LazySingletonValue> _SINGLETON_VALUE_AuthMethod =
+ new LazySingletonValue<>(
+ "auth_method",
+ "\"api_key\"",
+ new TypeReference>() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java
index e9bc27b4..00fc5c05 100644
--- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java
+++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java
@@ -98,6 +98,13 @@ public class SourceAmazonSellerPartner {
@JsonProperty("sourceType")
private SourceAmazonSellerPartnerAmazonSellerPartner sourceType;
+ /**
+ * For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See <a href="https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting" target="_blank">Troubleshooting</a> section for more details
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("wait_to_avoid_fatal_errors")
+ private Optional extends Boolean> waitToAvoidFatalErrors;
+
@JsonCreator
public SourceAmazonSellerPartner(
@JsonProperty("account_type") Optional extends AWSSellerPartnerAccountType> accountType,
@@ -109,7 +116,8 @@ public SourceAmazonSellerPartner(
@JsonProperty("region") Optional extends AWSRegion> region,
@JsonProperty("replication_end_date") Optional extends OffsetDateTime> replicationEndDate,
@JsonProperty("replication_start_date") Optional extends OffsetDateTime> replicationStartDate,
- @JsonProperty("report_options_list") Optional extends java.util.List> reportOptionsList) {
+ @JsonProperty("report_options_list") Optional extends java.util.List> reportOptionsList,
+ @JsonProperty("wait_to_avoid_fatal_errors") Optional extends Boolean> waitToAvoidFatalErrors) {
Utils.checkNotNull(accountType, "accountType");
Utils.checkNotNull(awsEnvironment, "awsEnvironment");
Utils.checkNotNull(lwaAppId, "lwaAppId");
@@ -120,6 +128,7 @@ public SourceAmazonSellerPartner(
Utils.checkNotNull(replicationEndDate, "replicationEndDate");
Utils.checkNotNull(replicationStartDate, "replicationStartDate");
Utils.checkNotNull(reportOptionsList, "reportOptionsList");
+ Utils.checkNotNull(waitToAvoidFatalErrors, "waitToAvoidFatalErrors");
this.accountType = accountType;
this.authType = Builder._SINGLETON_VALUE_AuthType.value();
this.awsEnvironment = awsEnvironment;
@@ -132,13 +141,14 @@ public SourceAmazonSellerPartner(
this.replicationStartDate = replicationStartDate;
this.reportOptionsList = reportOptionsList;
this.sourceType = Builder._SINGLETON_VALUE_SourceType.value();
+ this.waitToAvoidFatalErrors = waitToAvoidFatalErrors;
}
public SourceAmazonSellerPartner(
String lwaAppId,
String lwaClientSecret,
String refreshToken) {
- this(Optional.empty(), Optional.empty(), lwaAppId, lwaClientSecret, Optional.empty(), refreshToken, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
+ this(Optional.empty(), Optional.empty(), lwaAppId, lwaClientSecret, Optional.empty(), refreshToken, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
}
/**
@@ -239,6 +249,15 @@ public SourceAmazonSellerPartnerAmazonSellerPartner sourceType() {
return sourceType;
}
+ /**
+ * For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See <a href="https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting" target="_blank">Troubleshooting</a> section for more details
+ */
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional waitToAvoidFatalErrors() {
+ return (Optional) waitToAvoidFatalErrors;
+ }
+
public final static Builder builder() {
return new Builder();
}
@@ -395,6 +414,24 @@ public SourceAmazonSellerPartner withReportOptionsList(Optional extends java.u
this.reportOptionsList = reportOptionsList;
return this;
}
+
+ /**
+ * For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See <a href="https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting" target="_blank">Troubleshooting</a> section for more details
+ */
+ public SourceAmazonSellerPartner withWaitToAvoidFatalErrors(boolean waitToAvoidFatalErrors) {
+ Utils.checkNotNull(waitToAvoidFatalErrors, "waitToAvoidFatalErrors");
+ this.waitToAvoidFatalErrors = Optional.ofNullable(waitToAvoidFatalErrors);
+ return this;
+ }
+
+ /**
+ * For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See <a href="https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting" target="_blank">Troubleshooting</a> section for more details
+ */
+ public SourceAmazonSellerPartner withWaitToAvoidFatalErrors(Optional extends Boolean> waitToAvoidFatalErrors) {
+ Utils.checkNotNull(waitToAvoidFatalErrors, "waitToAvoidFatalErrors");
+ this.waitToAvoidFatalErrors = waitToAvoidFatalErrors;
+ return this;
+ }
@Override
public boolean equals(java.lang.Object o) {
@@ -417,7 +454,8 @@ public boolean equals(java.lang.Object o) {
java.util.Objects.deepEquals(this.replicationEndDate, other.replicationEndDate) &&
java.util.Objects.deepEquals(this.replicationStartDate, other.replicationStartDate) &&
java.util.Objects.deepEquals(this.reportOptionsList, other.reportOptionsList) &&
- java.util.Objects.deepEquals(this.sourceType, other.sourceType);
+ java.util.Objects.deepEquals(this.sourceType, other.sourceType) &&
+ java.util.Objects.deepEquals(this.waitToAvoidFatalErrors, other.waitToAvoidFatalErrors);
}
@Override
@@ -434,7 +472,8 @@ public int hashCode() {
replicationEndDate,
replicationStartDate,
reportOptionsList,
- sourceType);
+ sourceType,
+ waitToAvoidFatalErrors);
}
@Override
@@ -451,7 +490,8 @@ public String toString() {
"replicationEndDate", replicationEndDate,
"replicationStartDate", replicationStartDate,
"reportOptionsList", reportOptionsList,
- "sourceType", sourceType);
+ "sourceType", sourceType,
+ "waitToAvoidFatalErrors", waitToAvoidFatalErrors);
}
public final static class Builder {
@@ -474,7 +514,9 @@ public final static class Builder {
private Optional extends OffsetDateTime> replicationStartDate = Optional.empty();
- private Optional extends java.util.List> reportOptionsList = Optional.empty();
+ private Optional extends java.util.List> reportOptionsList = Optional.empty();
+
+ private Optional extends Boolean> waitToAvoidFatalErrors;
private Builder() {
// force use of static builder() method
@@ -632,6 +674,24 @@ public Builder reportOptionsList(Optional extends java.util.List waitToAvoidFatalErrors) {
+ Utils.checkNotNull(waitToAvoidFatalErrors, "waitToAvoidFatalErrors");
+ this.waitToAvoidFatalErrors = waitToAvoidFatalErrors;
+ return this;
+ }
public SourceAmazonSellerPartner build() {
if (accountType == null) {
@@ -646,6 +706,9 @@ public SourceAmazonSellerPartner build() {
if (region == null) {
region = _SINGLETON_VALUE_Region.value();
}
+ if (waitToAvoidFatalErrors == null) {
+ waitToAvoidFatalErrors = _SINGLETON_VALUE_WaitToAvoidFatalErrors.value();
+ }
return new SourceAmazonSellerPartner(
accountType,
awsEnvironment,
@@ -656,7 +719,8 @@ public SourceAmazonSellerPartner build() {
region,
replicationEndDate,
replicationStartDate,
- reportOptionsList);
+ reportOptionsList,
+ waitToAvoidFatalErrors);
}
private static final LazySingletonValue> _SINGLETON_VALUE_AccountType =
@@ -694,6 +758,12 @@ public SourceAmazonSellerPartner build() {
"sourceType",
"\"amazon-seller-partner\"",
new TypeReference() {});
+
+ private static final LazySingletonValue> _SINGLETON_VALUE_WaitToAvoidFatalErrors =
+ new LazySingletonValue<>(
+ "wait_to_avoid_fatal_errors",
+ "false",
+ new TypeReference>() {});
}
}
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java b/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java
index 22a0536e..e8eccf2a 100644
--- a/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java
+++ b/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java
@@ -13,10 +13,13 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.type.TypeReference;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.io.InputStream;
import java.lang.Deprecated;
import java.math.BigDecimal;
import java.math.BigInteger;
+import java.time.OffsetDateTime;
import java.util.Optional;
public class SourceBambooHr {
@@ -44,6 +47,10 @@ public class SourceBambooHr {
@JsonProperty("sourceType")
private BambooHr sourceType;
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("start_date")
+ private Optional extends OffsetDateTime> startDate;
+
/**
* Sub Domain of bamboo hr
*/
@@ -55,22 +62,25 @@ public SourceBambooHr(
@JsonProperty("api_key") String apiKey,
@JsonProperty("custom_reports_fields") Optional extends String> customReportsFields,
@JsonProperty("custom_reports_include_default_fields") Optional extends Boolean> customReportsIncludeDefaultFields,
+ @JsonProperty("start_date") Optional extends OffsetDateTime> startDate,
@JsonProperty("subdomain") String subdomain) {
Utils.checkNotNull(apiKey, "apiKey");
Utils.checkNotNull(customReportsFields, "customReportsFields");
Utils.checkNotNull(customReportsIncludeDefaultFields, "customReportsIncludeDefaultFields");
+ Utils.checkNotNull(startDate, "startDate");
Utils.checkNotNull(subdomain, "subdomain");
this.apiKey = apiKey;
this.customReportsFields = customReportsFields;
this.customReportsIncludeDefaultFields = customReportsIncludeDefaultFields;
this.sourceType = Builder._SINGLETON_VALUE_SourceType.value();
+ this.startDate = startDate;
this.subdomain = subdomain;
}
public SourceBambooHr(
String apiKey,
String subdomain) {
- this(apiKey, Optional.empty(), Optional.empty(), subdomain);
+ this(apiKey, Optional.empty(), Optional.empty(), Optional.empty(), subdomain);
}
/**
@@ -104,6 +114,12 @@ public BambooHr sourceType() {
return sourceType;
}
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional startDate() {
+ return (Optional) startDate;
+ }
+
/**
* Sub Domain of bamboo hr
*/
@@ -161,6 +177,18 @@ public SourceBambooHr withCustomReportsIncludeDefaultFields(Optional extends B
return this;
}
+ public SourceBambooHr withStartDate(OffsetDateTime startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = Optional.ofNullable(startDate);
+ return this;
+ }
+
+ public SourceBambooHr withStartDate(Optional extends OffsetDateTime> startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = startDate;
+ return this;
+ }
+
/**
* Sub Domain of bamboo hr
*/
@@ -184,6 +212,7 @@ public boolean equals(java.lang.Object o) {
java.util.Objects.deepEquals(this.customReportsFields, other.customReportsFields) &&
java.util.Objects.deepEquals(this.customReportsIncludeDefaultFields, other.customReportsIncludeDefaultFields) &&
java.util.Objects.deepEquals(this.sourceType, other.sourceType) &&
+ java.util.Objects.deepEquals(this.startDate, other.startDate) &&
java.util.Objects.deepEquals(this.subdomain, other.subdomain);
}
@@ -194,6 +223,7 @@ public int hashCode() {
customReportsFields,
customReportsIncludeDefaultFields,
sourceType,
+ startDate,
subdomain);
}
@@ -204,6 +234,7 @@ public String toString() {
"customReportsFields", customReportsFields,
"customReportsIncludeDefaultFields", customReportsIncludeDefaultFields,
"sourceType", sourceType,
+ "startDate", startDate,
"subdomain", subdomain);
}
@@ -215,6 +246,8 @@ public final static class Builder {
private Optional extends Boolean> customReportsIncludeDefaultFields;
+ private Optional extends OffsetDateTime> startDate = Optional.empty();
+
private String subdomain;
private Builder() {
@@ -266,6 +299,18 @@ public Builder customReportsIncludeDefaultFields(Optional extends Boolean> cus
return this;
}
+ public Builder startDate(OffsetDateTime startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = Optional.ofNullable(startDate);
+ return this;
+ }
+
+ public Builder startDate(Optional extends OffsetDateTime> startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = startDate;
+ return this;
+ }
+
/**
* Sub Domain of bamboo hr
*/
@@ -283,6 +328,7 @@ public SourceBambooHr build() {
apiKey,
customReportsFields,
customReportsIncludeDefaultFields,
+ startDate,
subdomain);
}
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java b/src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java
new file mode 100644
index 00000000..dd969a5e
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java
@@ -0,0 +1,228 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.time.OffsetDateTime;
+
+public class SourceBasecamp {
+
+ @JsonProperty("account_id")
+ private double accountId;
+
+ @JsonProperty("client_id")
+ private String clientId;
+
+ @JsonProperty("client_refresh_token_2")
+ private String clientRefreshToken2;
+
+ @JsonProperty("client_secret")
+ private String clientSecret;
+
+ @JsonProperty("sourceType")
+ private Basecamp sourceType;
+
+ @JsonProperty("start_date")
+ private OffsetDateTime startDate;
+
+ @JsonCreator
+ public SourceBasecamp(
+ @JsonProperty("account_id") double accountId,
+ @JsonProperty("client_id") String clientId,
+ @JsonProperty("client_refresh_token_2") String clientRefreshToken2,
+ @JsonProperty("client_secret") String clientSecret,
+ @JsonProperty("start_date") OffsetDateTime startDate) {
+ Utils.checkNotNull(accountId, "accountId");
+ Utils.checkNotNull(clientId, "clientId");
+ Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2");
+ Utils.checkNotNull(clientSecret, "clientSecret");
+ Utils.checkNotNull(startDate, "startDate");
+ this.accountId = accountId;
+ this.clientId = clientId;
+ this.clientRefreshToken2 = clientRefreshToken2;
+ this.clientSecret = clientSecret;
+ this.sourceType = Builder._SINGLETON_VALUE_SourceType.value();
+ this.startDate = startDate;
+ }
+
+ @JsonIgnore
+ public double accountId() {
+ return accountId;
+ }
+
+ @JsonIgnore
+ public String clientId() {
+ return clientId;
+ }
+
+ @JsonIgnore
+ public String clientRefreshToken2() {
+ return clientRefreshToken2;
+ }
+
+ @JsonIgnore
+ public String clientSecret() {
+ return clientSecret;
+ }
+
+ @JsonIgnore
+ public Basecamp sourceType() {
+ return sourceType;
+ }
+
+ @JsonIgnore
+ public OffsetDateTime startDate() {
+ return startDate;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ public SourceBasecamp withAccountId(double accountId) {
+ Utils.checkNotNull(accountId, "accountId");
+ this.accountId = accountId;
+ return this;
+ }
+
+ public SourceBasecamp withClientId(String clientId) {
+ Utils.checkNotNull(clientId, "clientId");
+ this.clientId = clientId;
+ return this;
+ }
+
+ public SourceBasecamp withClientRefreshToken2(String clientRefreshToken2) {
+ Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2");
+ this.clientRefreshToken2 = clientRefreshToken2;
+ return this;
+ }
+
+ public SourceBasecamp withClientSecret(String clientSecret) {
+ Utils.checkNotNull(clientSecret, "clientSecret");
+ this.clientSecret = clientSecret;
+ return this;
+ }
+
+ public SourceBasecamp withStartDate(OffsetDateTime startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = startDate;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SourceBasecamp other = (SourceBasecamp) o;
+ return
+ java.util.Objects.deepEquals(this.accountId, other.accountId) &&
+ java.util.Objects.deepEquals(this.clientId, other.clientId) &&
+ java.util.Objects.deepEquals(this.clientRefreshToken2, other.clientRefreshToken2) &&
+ java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) &&
+ java.util.Objects.deepEquals(this.sourceType, other.sourceType) &&
+ java.util.Objects.deepEquals(this.startDate, other.startDate);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ accountId,
+ clientId,
+ clientRefreshToken2,
+ clientSecret,
+ sourceType,
+ startDate);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(SourceBasecamp.class,
+ "accountId", accountId,
+ "clientId", clientId,
+ "clientRefreshToken2", clientRefreshToken2,
+ "clientSecret", clientSecret,
+ "sourceType", sourceType,
+ "startDate", startDate);
+ }
+
+ public final static class Builder {
+
+ private Double accountId;
+
+ private String clientId;
+
+ private String clientRefreshToken2;
+
+ private String clientSecret;
+
+ private OffsetDateTime startDate;
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ public Builder accountId(double accountId) {
+ Utils.checkNotNull(accountId, "accountId");
+ this.accountId = accountId;
+ return this;
+ }
+
+ public Builder clientId(String clientId) {
+ Utils.checkNotNull(clientId, "clientId");
+ this.clientId = clientId;
+ return this;
+ }
+
+ public Builder clientRefreshToken2(String clientRefreshToken2) {
+ Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2");
+ this.clientRefreshToken2 = clientRefreshToken2;
+ return this;
+ }
+
+ public Builder clientSecret(String clientSecret) {
+ Utils.checkNotNull(clientSecret, "clientSecret");
+ this.clientSecret = clientSecret;
+ return this;
+ }
+
+ public Builder startDate(OffsetDateTime startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = startDate;
+ return this;
+ }
+
+ public SourceBasecamp build() {
+ return new SourceBasecamp(
+ accountId,
+ clientId,
+ clientRefreshToken2,
+ clientSecret,
+ startDate);
+ }
+
+ private static final LazySingletonValue _SINGLETON_VALUE_SourceType =
+ new LazySingletonValue<>(
+ "sourceType",
+ "\"basecamp\"",
+ new TypeReference() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java b/src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java
new file mode 100644
index 00000000..b17fe1e2
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java
@@ -0,0 +1,138 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+public class SourceBreezyHr {
+
+ @JsonProperty("api_key")
+ private String apiKey;
+
+ @JsonProperty("company_id")
+ private String companyId;
+
+ @JsonProperty("sourceType")
+ private BreezyHr sourceType;
+
+ @JsonCreator
+ public SourceBreezyHr(
+ @JsonProperty("api_key") String apiKey,
+ @JsonProperty("company_id") String companyId) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ Utils.checkNotNull(companyId, "companyId");
+ this.apiKey = apiKey;
+ this.companyId = companyId;
+ this.sourceType = Builder._SINGLETON_VALUE_SourceType.value();
+ }
+
+ @JsonIgnore
+ public String apiKey() {
+ return apiKey;
+ }
+
+ @JsonIgnore
+ public String companyId() {
+ return companyId;
+ }
+
+ @JsonIgnore
+ public BreezyHr sourceType() {
+ return sourceType;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ public SourceBreezyHr withApiKey(String apiKey) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ this.apiKey = apiKey;
+ return this;
+ }
+
+ public SourceBreezyHr withCompanyId(String companyId) {
+ Utils.checkNotNull(companyId, "companyId");
+ this.companyId = companyId;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SourceBreezyHr other = (SourceBreezyHr) o;
+ return
+ java.util.Objects.deepEquals(this.apiKey, other.apiKey) &&
+ java.util.Objects.deepEquals(this.companyId, other.companyId) &&
+ java.util.Objects.deepEquals(this.sourceType, other.sourceType);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ apiKey,
+ companyId,
+ sourceType);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(SourceBreezyHr.class,
+ "apiKey", apiKey,
+ "companyId", companyId,
+ "sourceType", sourceType);
+ }
+
+ public final static class Builder {
+
+ private String apiKey;
+
+ private String companyId;
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ public Builder apiKey(String apiKey) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ this.apiKey = apiKey;
+ return this;
+ }
+
+ public Builder companyId(String companyId) {
+ Utils.checkNotNull(companyId, "companyId");
+ this.companyId = companyId;
+ return this;
+ }
+
+ public SourceBreezyHr build() {
+ return new SourceBreezyHr(
+ apiKey,
+ companyId);
+ }
+
+ private static final LazySingletonValue _SINGLETON_VALUE_SourceType =
+ new LazySingletonValue<>(
+ "sourceType",
+ "\"breezy-hr\"",
+ new TypeReference() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCalendly.java b/src/main/java/com/airbyte/api/models/shared/SourceCalendly.java
new file mode 100644
index 00000000..b0197ccb
--- /dev/null
+++ b/src/main/java/com/airbyte/api/models/shared/SourceCalendly.java
@@ -0,0 +1,153 @@
+/*
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
+ */
+
+package com.airbyte.api.models.shared;
+
+import com.airbyte.api.utils.LazySingletonValue;
+import com.airbyte.api.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.core.type.TypeReference;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import java.io.InputStream;
+import java.lang.Deprecated;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.time.OffsetDateTime;
+
+public class SourceCalendly {
+
+ /**
+ * Go to Integrations → API & Webhooks to obtain your bearer token. https://calendly.com/integrations/api_webhooks
+ */
+ @JsonProperty("api_key")
+ private String apiKey;
+
+ @JsonProperty("sourceType")
+ private Calendly sourceType;
+
+ @JsonProperty("start_date")
+ private OffsetDateTime startDate;
+
+ @JsonCreator
+ public SourceCalendly(
+ @JsonProperty("api_key") String apiKey,
+ @JsonProperty("start_date") OffsetDateTime startDate) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ Utils.checkNotNull(startDate, "startDate");
+ this.apiKey = apiKey;
+ this.sourceType = Builder._SINGLETON_VALUE_SourceType.value();
+ this.startDate = startDate;
+ }
+
+ /**
+ * Go to Integrations → API & Webhooks to obtain your bearer token. https://calendly.com/integrations/api_webhooks
+ */
+ @JsonIgnore
+ public String apiKey() {
+ return apiKey;
+ }
+
+ @JsonIgnore
+ public Calendly sourceType() {
+ return sourceType;
+ }
+
+ @JsonIgnore
+ public OffsetDateTime startDate() {
+ return startDate;
+ }
+
+ public final static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * Go to Integrations → API & Webhooks to obtain your bearer token. https://calendly.com/integrations/api_webhooks
+ */
+ public SourceCalendly withApiKey(String apiKey) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ this.apiKey = apiKey;
+ return this;
+ }
+
+ public SourceCalendly withStartDate(OffsetDateTime startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = startDate;
+ return this;
+ }
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SourceCalendly other = (SourceCalendly) o;
+ return
+ java.util.Objects.deepEquals(this.apiKey, other.apiKey) &&
+ java.util.Objects.deepEquals(this.sourceType, other.sourceType) &&
+ java.util.Objects.deepEquals(this.startDate, other.startDate);
+ }
+
+ @Override
+ public int hashCode() {
+ return java.util.Objects.hash(
+ apiKey,
+ sourceType,
+ startDate);
+ }
+
+ @Override
+ public String toString() {
+ return Utils.toString(SourceCalendly.class,
+ "apiKey", apiKey,
+ "sourceType", sourceType,
+ "startDate", startDate);
+ }
+
+ public final static class Builder {
+
+ private String apiKey;
+
+ private OffsetDateTime startDate;
+
+ private Builder() {
+ // force use of static builder() method
+ }
+
+ /**
+ * Go to Integrations → API & Webhooks to obtain your bearer token. https://calendly.com/integrations/api_webhooks
+ */
+ public Builder apiKey(String apiKey) {
+ Utils.checkNotNull(apiKey, "apiKey");
+ this.apiKey = apiKey;
+ return this;
+ }
+
+ public Builder startDate(OffsetDateTime startDate) {
+ Utils.checkNotNull(startDate, "startDate");
+ this.startDate = startDate;
+ return this;
+ }
+
+ public SourceCalendly build() {
+ return new SourceCalendly(
+ apiKey,
+ startDate);
+ }
+
+ private static final LazySingletonValue _SINGLETON_VALUE_SourceType =
+ new LazySingletonValue<>(
+ "sourceType",
+ "\"calendly\"",
+ new TypeReference() {});
+ }
+}
+
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java b/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java
index ee400cf7..be3a37f1 100644
--- a/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java
+++ b/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java
@@ -27,13 +27,6 @@ public class SourceClickupApi {
@JsonProperty("api_token")
private String apiToken;
- /**
- * 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")
- private Optional extends String> folderId;
-
/**
* 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>.
*/
@@ -41,56 +34,23 @@ public class SourceClickupApi {
@JsonProperty("include_closed_tasks")
private Optional extends Boolean> includeClosedTasks;
- /**
- * 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")
- private Optional extends String> listId;
-
@JsonProperty("sourceType")
private ClickupApi sourceType;
- /**
- * 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")
- private Optional extends String> spaceId;
-
- /**
- * 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")
- private Optional extends String> teamId;
-
@JsonCreator
public SourceClickupApi(
@JsonProperty("api_token") String apiToken,
- @JsonProperty("folder_id") Optional extends String> folderId,
- @JsonProperty("include_closed_tasks") Optional extends Boolean> includeClosedTasks,
- @JsonProperty("list_id") Optional extends String> listId,
- @JsonProperty("space_id") Optional extends String> spaceId,
- @JsonProperty("team_id") Optional extends String> teamId) {
+ @JsonProperty("include_closed_tasks") Optional extends Boolean> includeClosedTasks) {
Utils.checkNotNull(apiToken, "apiToken");
- Utils.checkNotNull(folderId, "folderId");
Utils.checkNotNull(includeClosedTasks, "includeClosedTasks");
- Utils.checkNotNull(listId, "listId");
- Utils.checkNotNull(spaceId, "spaceId");
- Utils.checkNotNull(teamId, "teamId");
this.apiToken = apiToken;
- this.folderId = folderId;
this.includeClosedTasks = includeClosedTasks;
- this.listId = listId;
this.sourceType = Builder._SINGLETON_VALUE_SourceType.value();
- this.spaceId = spaceId;
- this.teamId = teamId;
}
public SourceClickupApi(
String apiToken) {
- this(apiToken, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
+ this(apiToken, Optional.empty());
}
/**
@@ -101,15 +61,6 @@ public String apiToken() {
return apiToken;
}
- /**
- * 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>.
- */
- @SuppressWarnings("unchecked")
- @JsonIgnore
- public Optional folderId() {
- return (Optional) folderId;
- }
-
/**
* 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>.
*/
@@ -119,38 +70,11 @@ public Optional includeClosedTasks() {
return (Optional) includeClosedTasks;
}
- /**
- * 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>.
- */
- @SuppressWarnings("unchecked")
- @JsonIgnore
- public Optional listId() {
- return (Optional) listId;
- }
-
@JsonIgnore
public ClickupApi sourceType() {
return sourceType;
}
- /**
- * 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>.
- */
- @SuppressWarnings("unchecked")
- @JsonIgnore
- public Optional spaceId() {
- return (Optional) spaceId;
- }
-
- /**
- * 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>.
- */
- @SuppressWarnings("unchecked")
- @JsonIgnore
- public Optional teamId() {
- return (Optional) teamId;
- }
-
public final static Builder builder() {
return new Builder();
}
@@ -164,24 +88,6 @@ public SourceClickupApi withApiToken(String 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>.
- */
- public SourceClickupApi withFolderId(String folderId) {
- Utils.checkNotNull(folderId, "folderId");
- this.folderId = Optional.ofNullable(folderId);
- 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>.
- */
- public SourceClickupApi withFolderId(Optional extends String> folderId) {
- Utils.checkNotNull(folderId, "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>.
*/
@@ -199,60 +105,6 @@ public SourceClickupApi withIncludeClosedTasks(Optional extends Boolean> inclu
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>.
- */
- public SourceClickupApi withListId(String listId) {
- Utils.checkNotNull(listId, "listId");
- this.listId = Optional.ofNullable(listId);
- 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>.
- */
- public SourceClickupApi withListId(Optional extends String> listId) {
- Utils.checkNotNull(listId, "listId");
- this.listId = listId;
- 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>.
- */
- public SourceClickupApi withSpaceId(String spaceId) {
- Utils.checkNotNull(spaceId, "spaceId");
- this.spaceId = Optional.ofNullable(spaceId);
- 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>.
- */
- public SourceClickupApi withSpaceId(Optional extends String> spaceId) {
- Utils.checkNotNull(spaceId, "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>.
- */
- public SourceClickupApi withTeamId(String teamId) {
- Utils.checkNotNull(teamId, "teamId");
- this.teamId = Optional.ofNullable(teamId);
- 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>.
- */
- public SourceClickupApi withTeamId(Optional extends String> teamId) {
- Utils.checkNotNull(teamId, "teamId");
- this.teamId = teamId;
- return this;
- }
@Override
public boolean equals(java.lang.Object o) {
@@ -265,51 +117,31 @@ public boolean equals(java.lang.Object o) {
SourceClickupApi other = (SourceClickupApi) o;
return
java.util.Objects.deepEquals(this.apiToken, other.apiToken) &&
- java.util.Objects.deepEquals(this.folderId, other.folderId) &&
java.util.Objects.deepEquals(this.includeClosedTasks, other.includeClosedTasks) &&
- java.util.Objects.deepEquals(this.listId, other.listId) &&
- java.util.Objects.deepEquals(this.sourceType, other.sourceType) &&
- java.util.Objects.deepEquals(this.spaceId, other.spaceId) &&
- java.util.Objects.deepEquals(this.teamId, other.teamId);
+ java.util.Objects.deepEquals(this.sourceType, other.sourceType);
}
@Override
public int hashCode() {
return java.util.Objects.hash(
apiToken,
- folderId,
includeClosedTasks,
- listId,
- sourceType,
- spaceId,
- teamId);
+ sourceType);
}
@Override
public String toString() {
return Utils.toString(SourceClickupApi.class,
"apiToken", apiToken,
- "folderId", folderId,
"includeClosedTasks", includeClosedTasks,
- "listId", listId,
- "sourceType", sourceType,
- "spaceId", spaceId,
- "teamId", teamId);
+ "sourceType", sourceType);
}
public final static class Builder {
private String apiToken;
- private Optional extends String> folderId = Optional.empty();
-
- private Optional extends Boolean> includeClosedTasks;
-
- private Optional extends String> listId = Optional.empty();
-
- private Optional extends String> spaceId = Optional.empty();
-
- private Optional extends String> teamId = Optional.empty();
+ private Optional extends Boolean> includeClosedTasks;
private Builder() {
// force use of static builder() method
@@ -324,24 +156,6 @@ public Builder apiToken(String 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>.
- */
- public Builder folderId(String folderId) {
- Utils.checkNotNull(folderId, "folderId");
- this.folderId = Optional.ofNullable(folderId);
- 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>.
- */
- public Builder folderId(Optional extends String> folderId) {
- Utils.checkNotNull(folderId, "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>.
*/
@@ -359,60 +173,6 @@ public Builder includeClosedTasks(Optional extends 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>.
- */
- public Builder listId(String listId) {
- Utils.checkNotNull(listId, "listId");
- this.listId = Optional.ofNullable(listId);
- 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>.
- */
- public Builder listId(Optional extends String> listId) {
- Utils.checkNotNull(listId, "listId");
- this.listId = listId;
- 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>.
- */
- public Builder spaceId(String spaceId) {
- Utils.checkNotNull(spaceId, "spaceId");
- this.spaceId = Optional.ofNullable(spaceId);
- 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>.
- */
- public Builder spaceId(Optional extends String> spaceId) {
- Utils.checkNotNull(spaceId, "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>.
- */
- public Builder teamId(String teamId) {
- Utils.checkNotNull(teamId, "teamId");
- this.teamId = Optional.ofNullable(teamId);
- 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>.
- */
- public Builder teamId(Optional extends String> teamId) {
- Utils.checkNotNull(teamId, "teamId");
- this.teamId = teamId;
- return this;
- }
public SourceClickupApi build() {
if (includeClosedTasks == null) {
@@ -420,11 +180,7 @@ public SourceClickupApi build() {
}
return new SourceClickupApi(
apiToken,
- folderId,
- includeClosedTasks,
- listId,
- spaceId,
- teamId);
+ includeClosedTasks);
}
private static final LazySingletonValue> _SINGLETON_VALUE_IncludeClosedTasks =
diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java b/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java
index 3510c9d5..9de0be4d 100644
--- a/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java
+++ b/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java
@@ -40,6 +40,11 @@ public static SourceConfiguration of(SourceAha value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceAirbyte value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceAircall value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -110,6 +115,11 @@ public static SourceConfiguration of(SourceBambooHr value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceBasecamp value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceBigquery value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -130,6 +140,16 @@ public static SourceConfiguration of(SourceBraze value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceBreezyHr value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
+ public static SourceConfiguration of(SourceCalendly value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceCart value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -200,6 +220,11 @@ public static SourceConfiguration of(SourceConvex value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceCustomerIo value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceDatadog value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -210,6 +235,11 @@ public static SourceConfiguration of(SourceDatascope value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceDbt value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceDelighted value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -385,11 +415,26 @@ public static SourceConfiguration of(SourceGridly value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceHardcodedRecords value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceHarvest value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceHibob value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
+ public static SourceConfiguration of(SourceHighLevel value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceHubplanner value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -460,6 +505,11 @@ public static SourceConfiguration of(SourceLaunchdarkly value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceLeadfeeder value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceLemlist value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -490,6 +540,16 @@ public static SourceConfiguration of(SourceLokalise value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceLooker value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
+ public static SourceConfiguration of(SourceLuma value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceMailchimp value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -540,11 +600,6 @@ public static SourceConfiguration of(SourceMonday value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
- public static SourceConfiguration of(SourceMongodbInternalPoc value) {
- Utils.checkNotNull(value, "value");
- return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
- }
-
public static SourceConfiguration of(SourceMongodbV2 value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -570,6 +625,11 @@ public static SourceConfiguration of(SourceNetsuite value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceNorthpassLms value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceNotion value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -635,6 +695,11 @@ public static SourceConfiguration of(SourcePendo value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourcePennylane value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourcePersistiq value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -655,6 +720,11 @@ public static SourceConfiguration of(SourcePipedrive value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourcePlanhat value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourcePocket value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -725,6 +795,11 @@ public static SourceConfiguration of(SourceRecurly value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceReddit value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceRedshift value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -765,6 +840,16 @@ public static SourceConfiguration of(SourceSapFieldglass value) {
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
}
+ public static SourceConfiguration of(SourceSavvycal value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
+ public static SourceConfiguration of(SourceScryfall value) {
+ Utils.checkNotNull(value, "value");
+ return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
+ }
+
public static SourceConfiguration of(SourceSecoda value) {
Utils.checkNotNull(value, "value");
return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){}));
@@ -1019,6 +1104,7 @@ public static SourceConfiguration of(SourceZoom value) {
* Returns an instance of one of these types:
*
* - {@code SourceAha}
+ * - {@code SourceAirbyte}
* - {@code SourceAircall}
* - {@code SourceAirtable}
* - {@code SourceAmazonAds}
@@ -1033,10 +1119,13 @@ public static SourceConfiguration of(SourceZoom value) {
* - {@code SourceAzureBlobStorage}
* - {@code SourceAzureTable}
* - {@code SourceBambooHr}
+ * - {@code SourceBasecamp}
* - {@code SourceBigquery}
* - {@code SourceBingAds}
* - {@code SourceBraintree}
* - {@code SourceBraze}
+ * - {@code SourceBreezyHr}
+ * - {@code SourceCalendly}
* - {@code SourceCart}
* - {@code SourceChargebee}
* - {@code SourceChartmogul}
@@ -1051,8 +1140,10 @@ public static SourceConfiguration of(SourceZoom value) {
* - {@code SourceConfigcat}
* - {@code SourceConfluence}
* - {@code SourceConvex}
+ * - {@code SourceCustomerIo}
* - {@code SourceDatadog}
* - {@code SourceDatascope}
+ * - {@code SourceDbt}
* - {@code SourceDelighted}
* - {@code SourceDixa}
* - {@code SourceDockerhub}
@@ -1088,7 +1179,10 @@ public static SourceConfiguration of(SourceZoom value) {
* - {@code SourceGoogleWebfonts}
* - {@code SourceGreenhouse}
* - {@code SourceGridly}
+ * - {@code SourceHardcodedRecords}
* - {@code SourceHarvest}
+ * - {@code SourceHibob}
+ * - {@code SourceHighLevel}
* - {@code SourceHubplanner}
* - {@code SourceHubspot}
* - {@code SourceInsightly}
@@ -1103,12 +1197,15 @@ public static SourceConfiguration of(SourceZoom value) {
* - {@code SourceKlaviyo}
* - {@code SourceKyve}
* - {@code SourceLaunchdarkly}
+ * - {@code SourceLeadfeeder}
* - {@code SourceLemlist}
* - {@code SourceLeverHiring}
* - {@code SourceLinkedinAds}
* - {@code SourceLinkedinPages}
* - {@code SourceLinnworks}
* - {@code SourceLokalise}
+ * - {@code SourceLooker}
+ * - {@code SourceLuma}
* - {@code SourceMailchimp}
* - {@code SourceMailgun}
* - {@code SourceMailjetSms}
@@ -1119,12 +1216,12 @@ public static SourceConfiguration of(SourceZoom value) {
* - {@code SourceMicrosoftTeams}
* - {@code SourceMixpanel}
* - {@code SourceMonday}
- * - {@code SourceMongodbInternalPoc}
* - {@code SourceMongodbV2}
* - {@code SourceMssql}
* - {@code SourceMyHours}
* - {@code SourceMysql}
* - {@code SourceNetsuite}
+ * - {@code SourceNorthpassLms}
* - {@code SourceNotion}
* - {@code SourceNytimes}
* - {@code SourceOkta}
@@ -1138,10 +1235,12 @@ public static SourceConfiguration of(SourceZoom value) {
* - {@code SourcePaypalTransaction}
* - {@code SourcePaystack}
* - {@code SourcePendo}
+ * - {@code SourcePennylane}
* - {@code SourcePersistiq}
* - {@code SourcePexelsApi}
* - {@code SourcePinterest}
* - {@code SourcePipedrive}
+ * - {@code SourcePlanhat}
* - {@code SourcePocket}
* - {@code SourcePokeapi}
* - {@code SourcePolygonStockApi}
@@ -1156,6 +1255,7 @@ public static SourceConfiguration of(SourceZoom value) {
* - {@code SourceRecreation}
* - {@code SourceRecruitee}
* - {@code SourceRecurly}
+ * - {@code SourceReddit}
* - {@code SourceRedshift}
* - {@code SourceRetently}
* - {@code SourceRkiCovid}
@@ -1164,6 +1264,8 @@ public static SourceConfiguration of(SourceZoom value) {
* - {@code SourceSalesforce}
* - {@code SourceSalesloft}
* - {@code SourceSapFieldglass}
+ * - {@code SourceSavvycal}
+ * - {@code SourceScryfall}
* - {@code SourceSecoda}
* - {@code SourceSendgrid}
* - {@code SourceSendinblue}
@@ -1254,6 +1356,7 @@ public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeser
public _Deserializer() {
super(SourceConfiguration.class,
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
@@ -1268,10 +1371,13 @@ public _Deserializer() {
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
+ Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT),
Utils.TypeReferenceWithShape.of(new TypeReference