Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ public class Db2LinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.database", required = true)
private Object database;

/**
* Schema name for connection. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.schema")
private Object schema;

/**
* AuthenticationType to be used for connection. Possible values include:
* 'Basic'.
Expand Down Expand Up @@ -110,26 +103,6 @@ public Db2LinkedService withDatabase(Object database) {
return this;
}

/**
* Get the schema value.
*
* @return the schema value
*/
public Object schema() {
return this.schema;
}

/**
* Set the schema value.
*
* @param schema the schema value to set
* @return the Db2LinkedService object itself.
*/
public Db2LinkedService withSchema(Object schema) {
this.schema = schema;
return this;
}

/**
* Get the authenticationType value.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,10 @@
@JsonFlatten
public class MySqlLinkedService extends LinkedServiceInner {
/**
* Server name for connection. Type: string (or Expression with resultType
* string).
* The connection string.
*/
@JsonProperty(value = "typeProperties.server", required = true)
private Object server;

/**
* Database name for connection. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "typeProperties.database", required = true)
private Object database;

/**
* Schema name for connection. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.schema")
private Object schema;

/**
* Username for authentication. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.username")
private Object username;

/**
* Password for authentication.
*/
@JsonProperty(value = "typeProperties.password")
private SecretBase password;
@JsonProperty(value = "typeProperties.connectionString", required = true)
private SecretBase connectionString;

/**
* The encrypted credential used for authentication. Credentials are
Expand All @@ -64,102 +36,22 @@ public class MySqlLinkedService extends LinkedServiceInner {
private Object encryptedCredential;

/**
* Get the server value.
*
* @return the server value
*/
public Object server() {
return this.server;
}

/**
* Set the server value.
*
* @param server the server value to set
* @return the MySqlLinkedService object itself.
*/
public MySqlLinkedService withServer(Object server) {
this.server = server;
return this;
}

/**
* Get the database value.
*
* @return the database value
*/
public Object database() {
return this.database;
}

/**
* Set the database value.
*
* @param database the database value to set
* @return the MySqlLinkedService object itself.
*/
public MySqlLinkedService withDatabase(Object database) {
this.database = database;
return this;
}

/**
* Get the schema value.
*
* @return the schema value
*/
public Object schema() {
return this.schema;
}

/**
* Set the schema value.
*
* @param schema the schema value to set
* @return the MySqlLinkedService object itself.
*/
public MySqlLinkedService withSchema(Object schema) {
this.schema = schema;
return this;
}

/**
* Get the username value.
*
* @return the username value
*/
public Object username() {
return this.username;
}

/**
* Set the username value.
*
* @param username the username value to set
* @return the MySqlLinkedService object itself.
*/
public MySqlLinkedService withUsername(Object username) {
this.username = username;
return this;
}

/**
* Get the password value.
* Get the connectionString value.
*
* @return the password value
* @return the connectionString value
*/
public SecretBase password() {
return this.password;
public SecretBase connectionString() {
return this.connectionString;
}

/**
* Set the password value.
* Set the connectionString value.
*
* @param password the password value to set
* @param connectionString the connectionString value to set
* @return the MySqlLinkedService object itself.
*/
public MySqlLinkedService withPassword(SecretBase password) {
this.password = password;
public MySqlLinkedService withConnectionString(SecretBase connectionString) {
this.connectionString = connectionString;
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,10 @@
@JsonFlatten
public class PostgreSqlLinkedService extends LinkedServiceInner {
/**
* Server name for connection. Type: string (or Expression with resultType
* string).
* The connection string.
*/
@JsonProperty(value = "typeProperties.server", required = true)
private Object server;

/**
* Database name for connection. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "typeProperties.database", required = true)
private Object database;

/**
* Schema name for connection. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.schema")
private Object schema;

/**
* Username for authentication. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.username")
private Object username;

/**
* Password for authentication.
*/
@JsonProperty(value = "typeProperties.password")
private SecretBase password;
@JsonProperty(value = "typeProperties.connectionString", required = true)
private SecretBase connectionString;

/**
* The encrypted credential used for authentication. Credentials are
Expand All @@ -64,102 +36,22 @@ public class PostgreSqlLinkedService extends LinkedServiceInner {
private Object encryptedCredential;

/**
* Get the server value.
*
* @return the server value
*/
public Object server() {
return this.server;
}

/**
* Set the server value.
*
* @param server the server value to set
* @return the PostgreSqlLinkedService object itself.
*/
public PostgreSqlLinkedService withServer(Object server) {
this.server = server;
return this;
}

/**
* Get the database value.
*
* @return the database value
*/
public Object database() {
return this.database;
}

/**
* Set the database value.
*
* @param database the database value to set
* @return the PostgreSqlLinkedService object itself.
*/
public PostgreSqlLinkedService withDatabase(Object database) {
this.database = database;
return this;
}

/**
* Get the schema value.
*
* @return the schema value
*/
public Object schema() {
return this.schema;
}

/**
* Set the schema value.
*
* @param schema the schema value to set
* @return the PostgreSqlLinkedService object itself.
*/
public PostgreSqlLinkedService withSchema(Object schema) {
this.schema = schema;
return this;
}

/**
* Get the username value.
*
* @return the username value
*/
public Object username() {
return this.username;
}

/**
* Set the username value.
*
* @param username the username value to set
* @return the PostgreSqlLinkedService object itself.
*/
public PostgreSqlLinkedService withUsername(Object username) {
this.username = username;
return this;
}

/**
* Get the password value.
* Get the connectionString value.
*
* @return the password value
* @return the connectionString value
*/
public SecretBase password() {
return this.password;
public SecretBase connectionString() {
return this.connectionString;
}

/**
* Set the password value.
* Set the connectionString value.
*
* @param password the password value to set
* @param connectionString the connectionString value to set
* @return the PostgreSqlLinkedService object itself.
*/
public PostgreSqlLinkedService withPassword(SecretBase password) {
this.password = password;
public PostgreSqlLinkedService withConnectionString(SecretBase connectionString) {
this.connectionString = connectionString;
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ public class TeradataLinkedService extends LinkedServiceInner {
@JsonProperty(value = "typeProperties.server", required = true)
private Object server;

/**
* Schema name for connection. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.schema")
private Object schema;

/**
* AuthenticationType to be used for connection. Possible values include:
* 'Basic', 'Windows'.
Expand Down Expand Up @@ -83,26 +76,6 @@ public TeradataLinkedService withServer(Object server) {
return this;
}

/**
* Get the schema value.
*
* @return the schema value
*/
public Object schema() {
return this.schema;
}

/**
* Set the schema value.
*
* @param schema the schema value to set
* @return the TeradataLinkedService object itself.
*/
public TeradataLinkedService withSchema(Object schema) {
this.schema = schema;
return this;
}

/**
* Get the authenticationType value.
*
Expand Down