com.volcengine.vefaas.model.GetRocketMQTriggerResponse Maven / Gradle / Ivy
/*
* vefaas
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.vefaas.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* GetRocketMQTriggerResponse
*/
public class GetRocketMQTriggerResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("ConsumerGroup")
private String consumerGroup = null;
@SerializedName("CreationTime")
private String creationTime = null;
@SerializedName("Description")
private String description = null;
@SerializedName("Enabled")
private Boolean enabled = null;
@SerializedName("Endpoint")
private String endpoint = null;
@SerializedName("FunctionId")
private String functionId = null;
@SerializedName("Id")
private String id = null;
@SerializedName("LastUpdateTime")
private String lastUpdateTime = null;
@SerializedName("MaximumRetryAttempts")
private Integer maximumRetryAttempts = null;
@SerializedName("MqInstanceId")
private String mqInstanceId = null;
@SerializedName("Name")
private String name = null;
@SerializedName("Orderly")
private Boolean orderly = null;
@SerializedName("QPSLimit")
private Integer qpSLimit = null;
@SerializedName("StartingPosition")
private String startingPosition = null;
@SerializedName("Status")
private String status = null;
@SerializedName("TopicName")
private String topicName = null;
public GetRocketMQTriggerResponse consumerGroup(String consumerGroup) {
this.consumerGroup = consumerGroup;
return this;
}
/**
* Get consumerGroup
* @return consumerGroup
**/
@Schema(description = "")
public String getConsumerGroup() {
return consumerGroup;
}
public void setConsumerGroup(String consumerGroup) {
this.consumerGroup = consumerGroup;
}
public GetRocketMQTriggerResponse creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* Get creationTime
* @return creationTime
**/
@Schema(description = "")
public String getCreationTime() {
return creationTime;
}
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
public GetRocketMQTriggerResponse description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@Schema(description = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public GetRocketMQTriggerResponse enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
/**
* Get enabled
* @return enabled
**/
@Schema(description = "")
public Boolean isEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public GetRocketMQTriggerResponse endpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}
/**
* Get endpoint
* @return endpoint
**/
@Schema(description = "")
public String getEndpoint() {
return endpoint;
}
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
public GetRocketMQTriggerResponse functionId(String functionId) {
this.functionId = functionId;
return this;
}
/**
* Get functionId
* @return functionId
**/
@Schema(description = "")
public String getFunctionId() {
return functionId;
}
public void setFunctionId(String functionId) {
this.functionId = functionId;
}
public GetRocketMQTriggerResponse id(String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@Schema(description = "")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public GetRocketMQTriggerResponse lastUpdateTime(String lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
return this;
}
/**
* Get lastUpdateTime
* @return lastUpdateTime
**/
@Schema(description = "")
public String getLastUpdateTime() {
return lastUpdateTime;
}
public void setLastUpdateTime(String lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
public GetRocketMQTriggerResponse maximumRetryAttempts(Integer maximumRetryAttempts) {
this.maximumRetryAttempts = maximumRetryAttempts;
return this;
}
/**
* Get maximumRetryAttempts
* @return maximumRetryAttempts
**/
@Schema(description = "")
public Integer getMaximumRetryAttempts() {
return maximumRetryAttempts;
}
public void setMaximumRetryAttempts(Integer maximumRetryAttempts) {
this.maximumRetryAttempts = maximumRetryAttempts;
}
public GetRocketMQTriggerResponse mqInstanceId(String mqInstanceId) {
this.mqInstanceId = mqInstanceId;
return this;
}
/**
* Get mqInstanceId
* @return mqInstanceId
**/
@Schema(description = "")
public String getMqInstanceId() {
return mqInstanceId;
}
public void setMqInstanceId(String mqInstanceId) {
this.mqInstanceId = mqInstanceId;
}
public GetRocketMQTriggerResponse name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@Schema(description = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public GetRocketMQTriggerResponse orderly(Boolean orderly) {
this.orderly = orderly;
return this;
}
/**
* Get orderly
* @return orderly
**/
@Schema(description = "")
public Boolean isOrderly() {
return orderly;
}
public void setOrderly(Boolean orderly) {
this.orderly = orderly;
}
public GetRocketMQTriggerResponse qpSLimit(Integer qpSLimit) {
this.qpSLimit = qpSLimit;
return this;
}
/**
* Get qpSLimit
* @return qpSLimit
**/
@Schema(description = "")
public Integer getQpSLimit() {
return qpSLimit;
}
public void setQpSLimit(Integer qpSLimit) {
this.qpSLimit = qpSLimit;
}
public GetRocketMQTriggerResponse startingPosition(String startingPosition) {
this.startingPosition = startingPosition;
return this;
}
/**
* Get startingPosition
* @return startingPosition
**/
@Schema(description = "")
public String getStartingPosition() {
return startingPosition;
}
public void setStartingPosition(String startingPosition) {
this.startingPosition = startingPosition;
}
public GetRocketMQTriggerResponse status(String status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@Schema(description = "")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public GetRocketMQTriggerResponse topicName(String topicName) {
this.topicName = topicName;
return this;
}
/**
* Get topicName
* @return topicName
**/
@Schema(description = "")
public String getTopicName() {
return topicName;
}
public void setTopicName(String topicName) {
this.topicName = topicName;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetRocketMQTriggerResponse getRocketMQTriggerResponse = (GetRocketMQTriggerResponse) o;
return Objects.equals(this.consumerGroup, getRocketMQTriggerResponse.consumerGroup) &&
Objects.equals(this.creationTime, getRocketMQTriggerResponse.creationTime) &&
Objects.equals(this.description, getRocketMQTriggerResponse.description) &&
Objects.equals(this.enabled, getRocketMQTriggerResponse.enabled) &&
Objects.equals(this.endpoint, getRocketMQTriggerResponse.endpoint) &&
Objects.equals(this.functionId, getRocketMQTriggerResponse.functionId) &&
Objects.equals(this.id, getRocketMQTriggerResponse.id) &&
Objects.equals(this.lastUpdateTime, getRocketMQTriggerResponse.lastUpdateTime) &&
Objects.equals(this.maximumRetryAttempts, getRocketMQTriggerResponse.maximumRetryAttempts) &&
Objects.equals(this.mqInstanceId, getRocketMQTriggerResponse.mqInstanceId) &&
Objects.equals(this.name, getRocketMQTriggerResponse.name) &&
Objects.equals(this.orderly, getRocketMQTriggerResponse.orderly) &&
Objects.equals(this.qpSLimit, getRocketMQTriggerResponse.qpSLimit) &&
Objects.equals(this.startingPosition, getRocketMQTriggerResponse.startingPosition) &&
Objects.equals(this.status, getRocketMQTriggerResponse.status) &&
Objects.equals(this.topicName, getRocketMQTriggerResponse.topicName);
}
@Override
public int hashCode() {
return Objects.hash(consumerGroup, creationTime, description, enabled, endpoint, functionId, id, lastUpdateTime, maximumRetryAttempts, mqInstanceId, name, orderly, qpSLimit, startingPosition, status, topicName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GetRocketMQTriggerResponse {\n");
sb.append(" consumerGroup: ").append(toIndentedString(consumerGroup)).append("\n");
sb.append(" creationTime: ").append(toIndentedString(creationTime)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" endpoint: ").append(toIndentedString(endpoint)).append("\n");
sb.append(" functionId: ").append(toIndentedString(functionId)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" lastUpdateTime: ").append(toIndentedString(lastUpdateTime)).append("\n");
sb.append(" maximumRetryAttempts: ").append(toIndentedString(maximumRetryAttempts)).append("\n");
sb.append(" mqInstanceId: ").append(toIndentedString(mqInstanceId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" orderly: ").append(toIndentedString(orderly)).append("\n");
sb.append(" qpSLimit: ").append(toIndentedString(qpSLimit)).append("\n");
sb.append(" startingPosition: ").append(toIndentedString(startingPosition)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" topicName: ").append(toIndentedString(topicName)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy