com.volcengine.dns.model.QueryRecordRequest Maven / Gradle / Ivy
/*
* dns
* 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.dns.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;
/**
* QueryRecordRequest
*/
public class QueryRecordRequest {
@SerializedName("FQDN")
private String FQDN = null;
@SerializedName("Line")
private String line = null;
@SerializedName("PQDN")
private String PQDN = null;
@SerializedName("ProjectName")
private String projectName = null;
@SerializedName("RecordID")
private String recordID = null;
@SerializedName("Type")
private String type = null;
@SerializedName("Value")
private String value = null;
public QueryRecordRequest FQDN(String FQDN) {
this.FQDN = FQDN;
return this;
}
/**
* Get FQDN
* @return FQDN
**/
@Schema(description = "")
public String getFQDN() {
return FQDN;
}
public void setFQDN(String FQDN) {
this.FQDN = FQDN;
}
public QueryRecordRequest line(String line) {
this.line = line;
return this;
}
/**
* Get line
* @return line
**/
@Schema(description = "")
public String getLine() {
return line;
}
public void setLine(String line) {
this.line = line;
}
public QueryRecordRequest PQDN(String PQDN) {
this.PQDN = PQDN;
return this;
}
/**
* Get PQDN
* @return PQDN
**/
@Schema(description = "")
public String getPQDN() {
return PQDN;
}
public void setPQDN(String PQDN) {
this.PQDN = PQDN;
}
public QueryRecordRequest projectName(String projectName) {
this.projectName = projectName;
return this;
}
/**
* Get projectName
* @return projectName
**/
@Schema(description = "")
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public QueryRecordRequest recordID(String recordID) {
this.recordID = recordID;
return this;
}
/**
* Get recordID
* @return recordID
**/
@Schema(description = "")
public String getRecordID() {
return recordID;
}
public void setRecordID(String recordID) {
this.recordID = recordID;
}
public QueryRecordRequest type(String type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@Schema(description = "")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public QueryRecordRequest value(String value) {
this.value = value;
return this;
}
/**
* Get value
* @return value
**/
@Schema(description = "")
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
QueryRecordRequest queryRecordRequest = (QueryRecordRequest) o;
return Objects.equals(this.FQDN, queryRecordRequest.FQDN) &&
Objects.equals(this.line, queryRecordRequest.line) &&
Objects.equals(this.PQDN, queryRecordRequest.PQDN) &&
Objects.equals(this.projectName, queryRecordRequest.projectName) &&
Objects.equals(this.recordID, queryRecordRequest.recordID) &&
Objects.equals(this.type, queryRecordRequest.type) &&
Objects.equals(this.value, queryRecordRequest.value);
}
@Override
public int hashCode() {
return Objects.hash(FQDN, line, PQDN, projectName, recordID, type, value);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class QueryRecordRequest {\n");
sb.append(" FQDN: ").append(toIndentedString(FQDN)).append("\n");
sb.append(" line: ").append(toIndentedString(line)).append("\n");
sb.append(" PQDN: ").append(toIndentedString(PQDN)).append("\n");
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
sb.append(" recordID: ").append(toIndentedString(recordID)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).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