com.volcengine.waf.model.CloudAccessConfigForListDomainOutput 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;
/**
* CloudAccessConfigForListDomainOutput
*/
public class CloudAccessConfigForListDomainOutput {
@SerializedName("AccessProtocol")
private String accessProtocol = null;
@SerializedName("InstanceID")
private String instanceID = null;
@SerializedName("ListenerID")
private String listenerID = null;
@SerializedName("Port")
private String port = null;
@SerializedName("Protocol")
private String protocol = null;
public CloudAccessConfigForListDomainOutput accessProtocol(String accessProtocol) {
this.accessProtocol = accessProtocol;
return this;
}
/**
* Get accessProtocol
* @return accessProtocol
**/
@Schema(description = "")
public String getAccessProtocol() {
return accessProtocol;
}
public void setAccessProtocol(String accessProtocol) {
this.accessProtocol = accessProtocol;
}
public CloudAccessConfigForListDomainOutput instanceID(String instanceID) {
this.instanceID = instanceID;
return this;
}
/**
* Get instanceID
* @return instanceID
**/
@Schema(description = "")
public String getInstanceID() {
return instanceID;
}
public void setInstanceID(String instanceID) {
this.instanceID = instanceID;
}
public CloudAccessConfigForListDomainOutput 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 CloudAccessConfigForListDomainOutput port(String port) {
this.port = port;
return this;
}
/**
* Get port
* @return port
**/
@Schema(description = "")
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
public CloudAccessConfigForListDomainOutput 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;
}
CloudAccessConfigForListDomainOutput cloudAccessConfigForListDomainOutput = (CloudAccessConfigForListDomainOutput) o;
return Objects.equals(this.accessProtocol, cloudAccessConfigForListDomainOutput.accessProtocol) &&
Objects.equals(this.instanceID, cloudAccessConfigForListDomainOutput.instanceID) &&
Objects.equals(this.listenerID, cloudAccessConfigForListDomainOutput.listenerID) &&
Objects.equals(this.port, cloudAccessConfigForListDomainOutput.port) &&
Objects.equals(this.protocol, cloudAccessConfigForListDomainOutput.protocol);
}
@Override
public int hashCode() {
return Objects.hash(accessProtocol, instanceID, listenerID, port, protocol);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CloudAccessConfigForListDomainOutput {\n");
sb.append(" accessProtocol: ").append(toIndentedString(accessProtocol)).append("\n");
sb.append(" instanceID: ").append(toIndentedString(instanceID)).append("\n");
sb.append(" listenerID: ").append(toIndentedString(listenerID)).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