com.volcengine.rocketmq.model.ManualTriggerInspectRequest Maven / Gradle / Ivy
/*
* rocketmq
* 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.rocketmq.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;
/**
* ManualTriggerInspectRequest
*/
public class ManualTriggerInspectRequest {
@SerializedName("InspectName")
private String inspectName = null;
@SerializedName("InstanceId")
private String instanceId = null;
@SerializedName("Type")
private String type = null;
public ManualTriggerInspectRequest inspectName(String inspectName) {
this.inspectName = inspectName;
return this;
}
/**
* Get inspectName
* @return inspectName
**/
@NotNull
@Schema(required = true, description = "")
public String getInspectName() {
return inspectName;
}
public void setInspectName(String inspectName) {
this.inspectName = inspectName;
}
public ManualTriggerInspectRequest instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* Get instanceId
* @return instanceId
**/
@NotNull
@Schema(required = true, description = "")
public String getInstanceId() {
return instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public ManualTriggerInspectRequest type(String type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@NotNull
@Schema(required = true, description = "")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ManualTriggerInspectRequest manualTriggerInspectRequest = (ManualTriggerInspectRequest) o;
return Objects.equals(this.inspectName, manualTriggerInspectRequest.inspectName) &&
Objects.equals(this.instanceId, manualTriggerInspectRequest.instanceId) &&
Objects.equals(this.type, manualTriggerInspectRequest.type);
}
@Override
public int hashCode() {
return Objects.hash(inspectName, instanceId, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ManualTriggerInspectRequest {\n");
sb.append(" inspectName: ").append(toIndentedString(inspectName)).append("\n");
sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).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