com.volcengine.waf.model.DataForListLoadBalancerOutput Maven / Gradle / Ivy
/*
* waf
* 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.waf.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;
/**
* DataForListLoadBalancerOutput
*/
public class DataForListLoadBalancerOutput {
@SerializedName("EipAddress")
private String eipAddress = null;
@SerializedName("EniAddress")
private String eniAddress = null;
@SerializedName("EniIpv6Address")
private String eniIpv6Address = null;
@SerializedName("Id")
private String id = null;
@SerializedName("ListenerID")
private String listenerID = null;
@SerializedName("ListenerName")
private String listenerName = null;
@SerializedName("LoadBalancerType")
private String loadBalancerType = null;
@SerializedName("Name")
private String name = null;
@SerializedName("Port")
private Integer port = null;
@SerializedName("Protocol")
private String protocol = null;
public DataForListLoadBalancerOutput eipAddress(String eipAddress) {
this.eipAddress = eipAddress;
return this;
}
/**
* Get eipAddress
* @return eipAddress
**/
@Schema(description = "")
public String getEipAddress() {
return eipAddress;
}
public void setEipAddress(String eipAddress) {
this.eipAddress = eipAddress;
}
public DataForListLoadBalancerOutput eniAddress(String eniAddress) {
this.eniAddress = eniAddress;
return this;
}
/**
* Get eniAddress
* @return eniAddress
**/
@Schema(description = "")
public String getEniAddress() {
return eniAddress;
}
public void setEniAddress(String eniAddress) {
this.eniAddress = eniAddress;
}
public DataForListLoadBalancerOutput eniIpv6Address(String eniIpv6Address) {
this.eniIpv6Address = eniIpv6Address;
return this;
}
/**
* Get eniIpv6Address
* @return eniIpv6Address
**/
@Schema(description = "")
public String getEniIpv6Address() {
return eniIpv6Address;
}
public void setEniIpv6Address(String eniIpv6Address) {
this.eniIpv6Address = eniIpv6Address;
}
public DataForListLoadBalancerOutput 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 DataForListLoadBalancerOutput listenerID(String listenerID) {
this.listenerID = listenerID;
return this;
}
/**
* Get listenerID
* @return listenerID
**/
@Schema(description = "")
public String getListenerID() {
return listenerID;
}
public void setListenerID(String listenerID) {
this.listenerID = listenerID;
}
public DataForListLoadBalancerOutput listenerName(String listenerName) {
this.listenerName = listenerName;
return this;
}
/**
* Get listenerName
* @return listenerName
**/
@Schema(description = "")
public String getListenerName() {
return listenerName;
}
public void setListenerName(String listenerName) {
this.listenerName = listenerName;
}
public DataForListLoadBalancerOutput loadBalancerType(String loadBalancerType) {
this.loadBalancerType = loadBalancerType;
return this;
}
/**
* Get loadBalancerType
* @return loadBalancerType
**/
@Schema(description = "")
public String getLoadBalancerType() {
return loadBalancerType;
}
public void setLoadBalancerType(String loadBalancerType) {
this.loadBalancerType = loadBalancerType;
}
public DataForListLoadBalancerOutput 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 DataForListLoadBalancerOutput port(Integer port) {
this.port = port;
return this;
}
/**
* Get port
* @return port
**/
@Schema(description = "")
public Integer getPort() {
return port;
}
public void setPort(Integer port) {
this.port = port;
}
public DataForListLoadBalancerOutput protocol(String protocol) {
this.protocol = protocol;
return this;
}
/**
* Get protocol
* @return protocol
**/
@Schema(description = "")
public String getProtocol() {
return protocol;
}
public void setProtocol(String protocol) {
this.protocol = protocol;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DataForListLoadBalancerOutput dataForListLoadBalancerOutput = (DataForListLoadBalancerOutput) o;
return Objects.equals(this.eipAddress, dataForListLoadBalancerOutput.eipAddress) &&
Objects.equals(this.eniAddress, dataForListLoadBalancerOutput.eniAddress) &&
Objects.equals(this.eniIpv6Address, dataForListLoadBalancerOutput.eniIpv6Address) &&
Objects.equals(this.id, dataForListLoadBalancerOutput.id) &&
Objects.equals(this.listenerID, dataForListLoadBalancerOutput.listenerID) &&
Objects.equals(this.listenerName, dataForListLoadBalancerOutput.listenerName) &&
Objects.equals(this.loadBalancerType, dataForListLoadBalancerOutput.loadBalancerType) &&
Objects.equals(this.name, dataForListLoadBalancerOutput.name) &&
Objects.equals(this.port, dataForListLoadBalancerOutput.port) &&
Objects.equals(this.protocol, dataForListLoadBalancerOutput.protocol);
}
@Override
public int hashCode() {
return Objects.hash(eipAddress, eniAddress, eniIpv6Address, id, listenerID, listenerName, loadBalancerType, name, port, protocol);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DataForListLoadBalancerOutput {\n");
sb.append(" eipAddress: ").append(toIndentedString(eipAddress)).append("\n");
sb.append(" eniAddress: ").append(toIndentedString(eniAddress)).append("\n");
sb.append(" eniIpv6Address: ").append(toIndentedString(eniIpv6Address)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" listenerID: ").append(toIndentedString(listenerID)).append("\n");
sb.append(" listenerName: ").append(toIndentedString(listenerName)).append("\n");
sb.append(" loadBalancerType: ").append(toIndentedString(loadBalancerType)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" port: ").append(toIndentedString(port)).append("\n");
sb.append(" protocol: ").append(toIndentedString(protocol)).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