com.ziqni.admin.sdk.model.CreateSqsConnectionRequestAllOf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ziqni-admin-sdk Show documentation
Show all versions of ziqni-admin-sdk Show documentation
ZIQNI Admin SDK Java Client
/*
* ZIQNI Admin API
* Ziqni Application Services are used to manage and configure spaces.
*
* The version of the OpenAPI document: 3.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.ziqni.admin.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CreateSqsConnectionRequestAllOf
*/
@JsonPropertyOrder({
CreateSqsConnectionRequestAllOf.JSON_PROPERTY_NAME,
CreateSqsConnectionRequestAllOf.JSON_PROPERTY_URI,
CreateSqsConnectionRequestAllOf.JSON_PROPERTY_ACESS_KEY,
CreateSqsConnectionRequestAllOf.JSON_PROPERTY_SECRET_KEY,
CreateSqsConnectionRequestAllOf.JSON_PROPERTY_DESCRIPTION,
CreateSqsConnectionRequestAllOf.JSON_PROPERTY_TRANSFORMER_ID
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class CreateSqsConnectionRequestAllOf {
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_URI = "uri";
private String uri;
public static final String JSON_PROPERTY_ACESS_KEY = "acessKey";
private String acessKey;
public static final String JSON_PROPERTY_SECRET_KEY = "secretKey";
private String secretKey;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public static final String JSON_PROPERTY_TRANSFORMER_ID = "transformerId";
private String transformerId;
public CreateSqsConnectionRequestAllOf name(String name) {
this.name = name;
return this;
}
/**
* The name of the consumer
* @return name
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "SQS Test", required = true, value = "The name of the consumer")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
public CreateSqsConnectionRequestAllOf uri(String uri) {
this.uri = uri;
return this;
}
/**
* The SQS endpoint.
* @return uri
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "https://sqs.us-west-1.amazonaws.com/123456789123/test_queue_233", required = true, value = "The SQS endpoint.")
@JsonProperty(JSON_PROPERTY_URI)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getUri() {
return uri;
}
@JsonProperty(JSON_PROPERTY_URI)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setUri(String uri) {
this.uri = uri;
}
public CreateSqsConnectionRequestAllOf acessKey(String acessKey) {
this.acessKey = acessKey;
return this;
}
/**
* The access key of the IAM user
* @return acessKey
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "AKIAQFGYH45678TYH", required = true, value = "The access key of the IAM user")
@JsonProperty(JSON_PROPERTY_ACESS_KEY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getAcessKey() {
return acessKey;
}
@JsonProperty(JSON_PROPERTY_ACESS_KEY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAcessKey(String acessKey) {
this.acessKey = acessKey;
}
public CreateSqsConnectionRequestAllOf secretKey(String secretKey) {
this.secretKey = secretKey;
return this;
}
/**
* The secret key of IAM user
* @return secretKey
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "swVAJR8makGqWG8+OIKlJEykP5Es2Mgcbo3G09Qk", required = true, value = "The secret key of IAM user")
@JsonProperty(JSON_PROPERTY_SECRET_KEY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getSecretKey() {
return secretKey;
}
@JsonProperty(JSON_PROPERTY_SECRET_KEY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
}
public CreateSqsConnectionRequestAllOf description(String description) {
this.description = description;
return this;
}
/**
* The description of the consumer
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "SQS Test", value = "The description of the consumer")
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(String description) {
this.description = description;
}
public CreateSqsConnectionRequestAllOf transformerId(String transformerId) {
this.transformerId = transformerId;
return this;
}
/**
* The transformer to use, if empty the default system transformer will be used
* @return transformerId
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "The transformer to use, if empty the default system transformer will be used")
@JsonProperty(JSON_PROPERTY_TRANSFORMER_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTransformerId() {
return transformerId;
}
@JsonProperty(JSON_PROPERTY_TRANSFORMER_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTransformerId(String transformerId) {
this.transformerId = transformerId;
}
/**
* Return true if this CreateSqsConnectionRequest_allOf object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreateSqsConnectionRequestAllOf createSqsConnectionRequestAllOf = (CreateSqsConnectionRequestAllOf) o;
return Objects.equals(this.name, createSqsConnectionRequestAllOf.name) &&
Objects.equals(this.uri, createSqsConnectionRequestAllOf.uri) &&
Objects.equals(this.acessKey, createSqsConnectionRequestAllOf.acessKey) &&
Objects.equals(this.secretKey, createSqsConnectionRequestAllOf.secretKey) &&
Objects.equals(this.description, createSqsConnectionRequestAllOf.description) &&
Objects.equals(this.transformerId, createSqsConnectionRequestAllOf.transformerId);
}
@Override
public int hashCode() {
return Objects.hash(name, uri, acessKey, secretKey, description, transformerId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreateSqsConnectionRequestAllOf {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" uri: ").append(toIndentedString(uri)).append("\n");
sb.append(" acessKey: ").append(toIndentedString(acessKey)).append("\n");
sb.append(" secretKey: ").append(toIndentedString(secretKey)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" transformerId: ").append(toIndentedString(transformerId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy