diff --git a/docs/MigrateRepoOptions.md b/docs/MigrateRepoOptions.md index ce30c2d..b5bd5d1 100644 --- a/docs/MigrateRepoOptions.md +++ b/docs/MigrateRepoOptions.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes **authPassword** | **String** | | [optional] **authToken** | **String** | | [optional] **authUsername** | **String** | | [optional] +**awsAccessKeyId** | **String** | | [optional] +**awsSecretAccessKey** | **String** | | [optional] **cloneAddr** | **String** | | **description** | **String** | | [optional] **issues** | **Boolean** | | [optional] diff --git a/src/main/java/org/gitnex/tea4j/v2/models/MigrateRepoOptions.java b/src/main/java/org/gitnex/tea4j/v2/models/MigrateRepoOptions.java index 84c7b73..9fef0c8 100644 --- a/src/main/java/org/gitnex/tea4j/v2/models/MigrateRepoOptions.java +++ b/src/main/java/org/gitnex/tea4j/v2/models/MigrateRepoOptions.java @@ -41,6 +41,12 @@ public class MigrateRepoOptions implements Serializable { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("aws_access_key_id") + private String awsAccessKeyId = null; + + @SerializedName("aws_secret_access_key") + private String awsSecretAccessKey = null; + @SerializedName("clone_addr") private String cloneAddr = null; @@ -200,6 +206,44 @@ public class MigrateRepoOptions implements Serializable { this.authUsername = authUsername; } + public MigrateRepoOptions awsAccessKeyId(String awsAccessKeyId) { + this.awsAccessKeyId = awsAccessKeyId; + return this; + } + + /** + * Get awsAccessKeyId + * + * @return awsAccessKeyId + */ + @Schema(description = "") + public String getAwsAccessKeyId() { + return awsAccessKeyId; + } + + public void setAwsAccessKeyId(String awsAccessKeyId) { + this.awsAccessKeyId = awsAccessKeyId; + } + + public MigrateRepoOptions awsSecretAccessKey(String awsSecretAccessKey) { + this.awsSecretAccessKey = awsSecretAccessKey; + return this; + } + + /** + * Get awsSecretAccessKey + * + * @return awsSecretAccessKey + */ + @Schema(description = "") + public String getAwsSecretAccessKey() { + return awsSecretAccessKey; + } + + public void setAwsSecretAccessKey(String awsSecretAccessKey) { + this.awsSecretAccessKey = awsSecretAccessKey; + } + public MigrateRepoOptions cloneAddr(String cloneAddr) { this.cloneAddr = cloneAddr; return this; @@ -535,6 +579,8 @@ public class MigrateRepoOptions implements Serializable { return Objects.equals(this.authPassword, migrateRepoOptions.authPassword) && Objects.equals(this.authToken, migrateRepoOptions.authToken) && Objects.equals(this.authUsername, migrateRepoOptions.authUsername) + && Objects.equals(this.awsAccessKeyId, migrateRepoOptions.awsAccessKeyId) + && Objects.equals(this.awsSecretAccessKey, migrateRepoOptions.awsSecretAccessKey) && Objects.equals(this.cloneAddr, migrateRepoOptions.cloneAddr) && Objects.equals(this.description, migrateRepoOptions.description) && Objects.equals(this.issues, migrateRepoOptions.issues) @@ -560,6 +606,8 @@ public class MigrateRepoOptions implements Serializable { authPassword, authToken, authUsername, + awsAccessKeyId, + awsSecretAccessKey, cloneAddr, description, issues, @@ -587,6 +635,8 @@ public class MigrateRepoOptions implements Serializable { sb.append(" authPassword: ").append(toIndentedString(authPassword)).append("\n"); sb.append(" authToken: ").append(toIndentedString(authToken)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" awsAccessKeyId: ").append(toIndentedString(awsAccessKeyId)).append("\n"); + sb.append(" awsSecretAccessKey: ").append(toIndentedString(awsSecretAccessKey)).append("\n"); sb.append(" cloneAddr: ").append(toIndentedString(cloneAddr)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" issues: ").append(toIndentedString(issues)).append("\n");