com.volcengine.privatelink.model.ZoneForDescribeVpcEndpointConnectionsOutput Maven / Gradle / Ivy
/*
* privatelink
* 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.privatelink.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;
/**
* ZoneForDescribeVpcEndpointConnectionsOutput
*/
public class ZoneForDescribeVpcEndpointConnectionsOutput {
@SerializedName("NetworkInterfaceIP")
private String networkInterfaceIP = null;
@SerializedName("NetworkInterfaceId")
private String networkInterfaceId = null;
@SerializedName("NetworkInterfaceIpv6")
private String networkInterfaceIpv6 = null;
@SerializedName("ResourceId")
private String resourceId = null;
@SerializedName("ServiceStatus")
private String serviceStatus = null;
@SerializedName("SubnetId")
private String subnetId = null;
@SerializedName("ZoneDomain")
private String zoneDomain = null;
@SerializedName("ZoneId")
private String zoneId = null;
@SerializedName("ZoneStatus")
private String zoneStatus = null;
public ZoneForDescribeVpcEndpointConnectionsOutput networkInterfaceIP(String networkInterfaceIP) {
this.networkInterfaceIP = networkInterfaceIP;
return this;
}
/**
* Get networkInterfaceIP
* @return networkInterfaceIP
**/
@Schema(description = "")
public String getNetworkInterfaceIP() {
return networkInterfaceIP;
}
public void setNetworkInterfaceIP(String networkInterfaceIP) {
this.networkInterfaceIP = networkInterfaceIP;
}
public ZoneForDescribeVpcEndpointConnectionsOutput networkInterfaceId(String networkInterfaceId) {
this.networkInterfaceId = networkInterfaceId;
return this;
}
/**
* Get networkInterfaceId
* @return networkInterfaceId
**/
@Schema(description = "")
public String getNetworkInterfaceId() {
return networkInterfaceId;
}
public void setNetworkInterfaceId(String networkInterfaceId) {
this.networkInterfaceId = networkInterfaceId;
}
public ZoneForDescribeVpcEndpointConnectionsOutput networkInterfaceIpv6(String networkInterfaceIpv6) {
this.networkInterfaceIpv6 = networkInterfaceIpv6;
return this;
}
/**
* Get networkInterfaceIpv6
* @return networkInterfaceIpv6
**/
@Schema(description = "")
public String getNetworkInterfaceIpv6() {
return networkInterfaceIpv6;
}
public void setNetworkInterfaceIpv6(String networkInterfaceIpv6) {
this.networkInterfaceIpv6 = networkInterfaceIpv6;
}
public ZoneForDescribeVpcEndpointConnectionsOutput resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* Get resourceId
* @return resourceId
**/
@Schema(description = "")
public String getResourceId() {
return resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
}
public ZoneForDescribeVpcEndpointConnectionsOutput serviceStatus(String serviceStatus) {
this.serviceStatus = serviceStatus;
return this;
}
/**
* Get serviceStatus
* @return serviceStatus
**/
@Schema(description = "")
public String getServiceStatus() {
return serviceStatus;
}
public void setServiceStatus(String serviceStatus) {
this.serviceStatus = serviceStatus;
}
public ZoneForDescribeVpcEndpointConnectionsOutput subnetId(String subnetId) {
this.subnetId = subnetId;
return this;
}
/**
* Get subnetId
* @return subnetId
**/
@Schema(description = "")
public String getSubnetId() {
return subnetId;
}
public void setSubnetId(String subnetId) {
this.subnetId = subnetId;
}
public ZoneForDescribeVpcEndpointConnectionsOutput zoneDomain(String zoneDomain) {
this.zoneDomain = zoneDomain;
return this;
}
/**
* Get zoneDomain
* @return zoneDomain
**/
@Schema(description = "")
public String getZoneDomain() {
return zoneDomain;
}
public void setZoneDomain(String zoneDomain) {
this.zoneDomain = zoneDomain;
}
public ZoneForDescribeVpcEndpointConnectionsOutput zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
/**
* Get zoneId
* @return zoneId
**/
@Schema(description = "")
public String getZoneId() {
return zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public ZoneForDescribeVpcEndpointConnectionsOutput zoneStatus(String zoneStatus) {
this.zoneStatus = zoneStatus;
return this;
}
/**
* Get zoneStatus
* @return zoneStatus
**/
@Schema(description = "")
public String getZoneStatus() {
return zoneStatus;
}
public void setZoneStatus(String zoneStatus) {
this.zoneStatus = zoneStatus;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ZoneForDescribeVpcEndpointConnectionsOutput zoneForDescribeVpcEndpointConnectionsOutput = (ZoneForDescribeVpcEndpointConnectionsOutput) o;
return Objects.equals(this.networkInterfaceIP, zoneForDescribeVpcEndpointConnectionsOutput.networkInterfaceIP) &&
Objects.equals(this.networkInterfaceId, zoneForDescribeVpcEndpointConnectionsOutput.networkInterfaceId) &&
Objects.equals(this.networkInterfaceIpv6, zoneForDescribeVpcEndpointConnectionsOutput.networkInterfaceIpv6) &&
Objects.equals(this.resourceId, zoneForDescribeVpcEndpointConnectionsOutput.resourceId) &&
Objects.equals(this.serviceStatus, zoneForDescribeVpcEndpointConnectionsOutput.serviceStatus) &&
Objects.equals(this.subnetId, zoneForDescribeVpcEndpointConnectionsOutput.subnetId) &&
Objects.equals(this.zoneDomain, zoneForDescribeVpcEndpointConnectionsOutput.zoneDomain) &&
Objects.equals(this.zoneId, zoneForDescribeVpcEndpointConnectionsOutput.zoneId) &&
Objects.equals(this.zoneStatus, zoneForDescribeVpcEndpointConnectionsOutput.zoneStatus);
}
@Override
public int hashCode() {
return Objects.hash(networkInterfaceIP, networkInterfaceId, networkInterfaceIpv6, resourceId, serviceStatus, subnetId, zoneDomain, zoneId, zoneStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ZoneForDescribeVpcEndpointConnectionsOutput {\n");
sb.append(" networkInterfaceIP: ").append(toIndentedString(networkInterfaceIP)).append("\n");
sb.append(" networkInterfaceId: ").append(toIndentedString(networkInterfaceId)).append("\n");
sb.append(" networkInterfaceIpv6: ").append(toIndentedString(networkInterfaceIpv6)).append("\n");
sb.append(" resourceId: ").append(toIndentedString(resourceId)).append("\n");
sb.append(" serviceStatus: ").append(toIndentedString(serviceStatus)).append("\n");
sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n");
sb.append(" zoneDomain: ").append(toIndentedString(zoneDomain)).append("\n");
sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n");
sb.append(" zoneStatus: ").append(toIndentedString(zoneStatus)).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 ");
}
}