com.volcengine.privatelink.model.EndpointForDescribeVpcGatewayEndpointsOutput 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 com.volcengine.privatelink.model.TagForDescribeVpcGatewayEndpointsOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* EndpointForDescribeVpcGatewayEndpointsOutput
*/
public class EndpointForDescribeVpcGatewayEndpointsOutput {
@SerializedName("CreationTime")
private String creationTime = null;
@SerializedName("Description")
private String description = null;
@SerializedName("EndpointId")
private String endpointId = null;
@SerializedName("EndpointName")
private String endpointName = null;
@SerializedName("ProjectName")
private String projectName = null;
@SerializedName("ServiceId")
private String serviceId = null;
@SerializedName("ServiceName")
private String serviceName = null;
@SerializedName("Status")
private String status = null;
@SerializedName("Tags")
private List tags = null;
@SerializedName("UpdateTime")
private String updateTime = null;
@SerializedName("VpcId")
private String vpcId = null;
@SerializedName("VpcPolicy")
private String vpcPolicy = null;
public EndpointForDescribeVpcGatewayEndpointsOutput creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* Get creationTime
* @return creationTime
**/
@Schema(description = "")
public String getCreationTime() {
return creationTime;
}
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
public EndpointForDescribeVpcGatewayEndpointsOutput description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@Schema(description = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public EndpointForDescribeVpcGatewayEndpointsOutput endpointId(String endpointId) {
this.endpointId = endpointId;
return this;
}
/**
* Get endpointId
* @return endpointId
**/
@Schema(description = "")
public String getEndpointId() {
return endpointId;
}
public void setEndpointId(String endpointId) {
this.endpointId = endpointId;
}
public EndpointForDescribeVpcGatewayEndpointsOutput endpointName(String endpointName) {
this.endpointName = endpointName;
return this;
}
/**
* Get endpointName
* @return endpointName
**/
@Schema(description = "")
public String getEndpointName() {
return endpointName;
}
public void setEndpointName(String endpointName) {
this.endpointName = endpointName;
}
public EndpointForDescribeVpcGatewayEndpointsOutput 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 EndpointForDescribeVpcGatewayEndpointsOutput serviceId(String serviceId) {
this.serviceId = serviceId;
return this;
}
/**
* Get serviceId
* @return serviceId
**/
@Schema(description = "")
public String getServiceId() {
return serviceId;
}
public void setServiceId(String serviceId) {
this.serviceId = serviceId;
}
public EndpointForDescribeVpcGatewayEndpointsOutput serviceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
/**
* Get serviceName
* @return serviceName
**/
@Schema(description = "")
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public EndpointForDescribeVpcGatewayEndpointsOutput status(String status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@Schema(description = "")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public EndpointForDescribeVpcGatewayEndpointsOutput tags(List tags) {
this.tags = tags;
return this;
}
public EndpointForDescribeVpcGatewayEndpointsOutput addTagsItem(TagForDescribeVpcGatewayEndpointsOutput tagsItem) {
if (this.tags == null) {
this.tags = new ArrayList();
}
this.tags.add(tagsItem);
return this;
}
/**
* Get tags
* @return tags
**/
@Valid
@Schema(description = "")
public List getTags() {
return tags;
}
public void setTags(List tags) {
this.tags = tags;
}
public EndpointForDescribeVpcGatewayEndpointsOutput updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* Get updateTime
* @return updateTime
**/
@Schema(description = "")
public String getUpdateTime() {
return updateTime;
}
public void setUpdateTime(String updateTime) {
this.updateTime = updateTime;
}
public EndpointForDescribeVpcGatewayEndpointsOutput vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
/**
* Get vpcId
* @return vpcId
**/
@Schema(description = "")
public String getVpcId() {
return vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}
public EndpointForDescribeVpcGatewayEndpointsOutput vpcPolicy(String vpcPolicy) {
this.vpcPolicy = vpcPolicy;
return this;
}
/**
* Get vpcPolicy
* @return vpcPolicy
**/
@Schema(description = "")
public String getVpcPolicy() {
return vpcPolicy;
}
public void setVpcPolicy(String vpcPolicy) {
this.vpcPolicy = vpcPolicy;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EndpointForDescribeVpcGatewayEndpointsOutput endpointForDescribeVpcGatewayEndpointsOutput = (EndpointForDescribeVpcGatewayEndpointsOutput) o;
return Objects.equals(this.creationTime, endpointForDescribeVpcGatewayEndpointsOutput.creationTime) &&
Objects.equals(this.description, endpointForDescribeVpcGatewayEndpointsOutput.description) &&
Objects.equals(this.endpointId, endpointForDescribeVpcGatewayEndpointsOutput.endpointId) &&
Objects.equals(this.endpointName, endpointForDescribeVpcGatewayEndpointsOutput.endpointName) &&
Objects.equals(this.projectName, endpointForDescribeVpcGatewayEndpointsOutput.projectName) &&
Objects.equals(this.serviceId, endpointForDescribeVpcGatewayEndpointsOutput.serviceId) &&
Objects.equals(this.serviceName, endpointForDescribeVpcGatewayEndpointsOutput.serviceName) &&
Objects.equals(this.status, endpointForDescribeVpcGatewayEndpointsOutput.status) &&
Objects.equals(this.tags, endpointForDescribeVpcGatewayEndpointsOutput.tags) &&
Objects.equals(this.updateTime, endpointForDescribeVpcGatewayEndpointsOutput.updateTime) &&
Objects.equals(this.vpcId, endpointForDescribeVpcGatewayEndpointsOutput.vpcId) &&
Objects.equals(this.vpcPolicy, endpointForDescribeVpcGatewayEndpointsOutput.vpcPolicy);
}
@Override
public int hashCode() {
return Objects.hash(creationTime, description, endpointId, endpointName, projectName, serviceId, serviceName, status, tags, updateTime, vpcId, vpcPolicy);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EndpointForDescribeVpcGatewayEndpointsOutput {\n");
sb.append(" creationTime: ").append(toIndentedString(creationTime)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n");
sb.append(" endpointName: ").append(toIndentedString(endpointName)).append("\n");
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
sb.append(" serviceId: ").append(toIndentedString(serviceId)).append("\n");
sb.append(" serviceName: ").append(toIndentedString(serviceName)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" updateTime: ").append(toIndentedString(updateTime)).append("\n");
sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n");
sb.append(" vpcPolicy: ").append(toIndentedString(vpcPolicy)).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 ");
}
}