com.ziqni.admin.sdk.model.SqsConnectionAllOf 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;
/**
* SqsConnectionAllOf
*/
@JsonPropertyOrder({
SqsConnectionAllOf.JSON_PROPERTY_NAME,
SqsConnectionAllOf.JSON_PROPERTY_DESCRIPTION,
SqsConnectionAllOf.JSON_PROPERTY_URI,
SqsConnectionAllOf.JSON_PROPERTY_ACESS_KEY,
SqsConnectionAllOf.JSON_PROPERTY_LAST_KNOWN_STATUS,
SqsConnectionAllOf.JSON_PROPERTY_LAST_KNOWN_STATUS_CODE,
SqsConnectionAllOf.JSON_PROPERTY_TRANSFORMER_ID,
SqsConnectionAllOf.JSON_PROPERTY_CONNECTION_TYPE
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class SqsConnectionAllOf {
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
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_LAST_KNOWN_STATUS = "lastKnownStatus";
private String lastKnownStatus;
public static final String JSON_PROPERTY_LAST_KNOWN_STATUS_CODE = "lastKnownStatusCode";
private Integer lastKnownStatusCode;
public static final String JSON_PROPERTY_TRANSFORMER_ID = "transformerId";
private String transformerId;
public static final String JSON_PROPERTY_CONNECTION_TYPE = "connectionType";
private String connectionType;
public SqsConnectionAllOf name(String name) {
this.name = name;
return this;
}
/**
* The type of the consumer
* @return name
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "SQS Test", required = true, value = "The type 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 SqsConnectionAllOf 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 SqsConnectionAllOf 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 SqsConnectionAllOf 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 SqsConnectionAllOf lastKnownStatus(String lastKnownStatus) {
this.lastKnownStatus = lastKnownStatus;
return this;
}
/**
* Last known status of the connection
* @return lastKnownStatus
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "Stopped", required = true, value = "Last known status of the connection")
@JsonProperty(JSON_PROPERTY_LAST_KNOWN_STATUS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getLastKnownStatus() {
return lastKnownStatus;
}
@JsonProperty(JSON_PROPERTY_LAST_KNOWN_STATUS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setLastKnownStatus(String lastKnownStatus) {
this.lastKnownStatus = lastKnownStatus;
}
public SqsConnectionAllOf lastKnownStatusCode(Integer lastKnownStatusCode) {
this.lastKnownStatusCode = lastKnownStatusCode;
return this;
}
/**
* Status code correspoding to the last known status
* @return lastKnownStatusCode
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "0", required = true, value = "Status code correspoding to the last known status")
@JsonProperty(JSON_PROPERTY_LAST_KNOWN_STATUS_CODE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getLastKnownStatusCode() {
return lastKnownStatusCode;
}
@JsonProperty(JSON_PROPERTY_LAST_KNOWN_STATUS_CODE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setLastKnownStatusCode(Integer lastKnownStatusCode) {
this.lastKnownStatusCode = lastKnownStatusCode;
}
public SqsConnectionAllOf 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;
}
public SqsConnectionAllOf connectionType(String connectionType) {
this.connectionType = connectionType;
return this;
}
/**
* The type of connection
* @return connectionType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The type of connection")
@JsonProperty(JSON_PROPERTY_CONNECTION_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getConnectionType() {
return connectionType;
}
@JsonProperty(JSON_PROPERTY_CONNECTION_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setConnectionType(String connectionType) {
this.connectionType = connectionType;
}
/**
* Return true if this SqsConnection_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;
}
SqsConnectionAllOf sqsConnectionAllOf = (SqsConnectionAllOf) o;
return Objects.equals(this.name, sqsConnectionAllOf.name) &&
Objects.equals(this.description, sqsConnectionAllOf.description) &&
Objects.equals(this.uri, sqsConnectionAllOf.uri) &&
Objects.equals(this.acessKey, sqsConnectionAllOf.acessKey) &&
Objects.equals(this.lastKnownStatus, sqsConnectionAllOf.lastKnownStatus) &&
Objects.equals(this.lastKnownStatusCode, sqsConnectionAllOf.lastKnownStatusCode) &&
Objects.equals(this.transformerId, sqsConnectionAllOf.transformerId) &&
Objects.equals(this.connectionType, sqsConnectionAllOf.connectionType);
}
@Override
public int hashCode() {
return Objects.hash(name, description, uri, acessKey, lastKnownStatus, lastKnownStatusCode, transformerId, connectionType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SqsConnectionAllOf {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" uri: ").append(toIndentedString(uri)).append("\n");
sb.append(" acessKey: ").append(toIndentedString(acessKey)).append("\n");
sb.append(" lastKnownStatus: ").append(toIndentedString(lastKnownStatus)).append("\n");
sb.append(" lastKnownStatusCode: ").append(toIndentedString(lastKnownStatusCode)).append("\n");
sb.append(" transformerId: ").append(toIndentedString(transformerId)).append("\n");
sb.append(" connectionType: ").append(toIndentedString(connectionType)).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