com.volcengine.dns.model.UpdateRecordSetResponse 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;
/**
* UpdateRecordSetResponse
*/
public class UpdateRecordSetResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("FQDN")
private String FQDN = null;
@SerializedName("Host")
private String host = null;
@SerializedName("ID")
private String ID = null;
@SerializedName("Line")
private String line = null;
@SerializedName("PQDN")
private String PQDN = null;
@SerializedName("Type")
private String type = null;
@SerializedName("WeightEnabled")
private Boolean weightEnabled = null;
public UpdateRecordSetResponse 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 UpdateRecordSetResponse host(String host) {
this.host = host;
return this;
}
/**
* Get host
* @return host
**/
@Schema(description = "")
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
public UpdateRecordSetResponse 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 UpdateRecordSetResponse 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 UpdateRecordSetResponse 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 UpdateRecordSetResponse 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 UpdateRecordSetResponse weightEnabled(Boolean weightEnabled) {
this.weightEnabled = weightEnabled;
return this;
}
/**
* Get weightEnabled
* @return weightEnabled
**/
@Schema(description = "")
public Boolean isWeightEnabled() {
return weightEnabled;
}
public void setWeightEnabled(Boolean weightEnabled) {
this.weightEnabled = weightEnabled;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UpdateRecordSetResponse updateRecordSetResponse = (UpdateRecordSetResponse) o;
return Objects.equals(this.FQDN, updateRecordSetResponse.FQDN) &&
Objects.equals(this.host, updateRecordSetResponse.host) &&
Objects.equals(this.ID, updateRecordSetResponse.ID) &&
Objects.equals(this.line, updateRecordSetResponse.line) &&
Objects.equals(this.PQDN, updateRecordSetResponse.PQDN) &&
Objects.equals(this.type, updateRecordSetResponse.type) &&
Objects.equals(this.weightEnabled, updateRecordSetResponse.weightEnabled);
}
@Override
public int hashCode() {
return Objects.hash(FQDN, host, ID, line, PQDN, type, weightEnabled);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UpdateRecordSetResponse {\n");
sb.append(" FQDN: ").append(toIndentedString(FQDN)).append("\n");
sb.append(" host: ").append(toIndentedString(host)).append("\n");
sb.append(" ID: ").append(toIndentedString(ID)).append("\n");
sb.append(" line: ").append(toIndentedString(line)).append("\n");
sb.append(" PQDN: ").append(toIndentedString(PQDN)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" weightEnabled: ").append(toIndentedString(weightEnabled)).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