All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.privatelink.model.DescribeVpcGatewayEndpointAttributesResponse Maven / Gradle / Ivy

There is a newer version: 0.1.129
Show newest version
/*
 * 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.TagForDescribeVpcGatewayEndpointAttributesOutput;
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;
/**
 * DescribeVpcGatewayEndpointAttributesResponse
 */



public class DescribeVpcGatewayEndpointAttributesResponse extends com.volcengine.model.AbstractResponse {
  @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("RequestId")
  private String requestId = 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse requestId(String requestId) {
    this.requestId = requestId;
    return this;
  }

   /**
   * Get requestId
   * @return requestId
  **/
  @Schema(description = "")
  public String getRequestId() {
    return requestId;
  }

  public void setRequestId(String requestId) {
    this.requestId = requestId;
  }

  public DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse tags(List tags) {
    this.tags = tags;
    return this;
  }

  public DescribeVpcGatewayEndpointAttributesResponse addTagsItem(TagForDescribeVpcGatewayEndpointAttributesOutput 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse 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 DescribeVpcGatewayEndpointAttributesResponse 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;
    }
    DescribeVpcGatewayEndpointAttributesResponse describeVpcGatewayEndpointAttributesResponse = (DescribeVpcGatewayEndpointAttributesResponse) o;
    return Objects.equals(this.creationTime, describeVpcGatewayEndpointAttributesResponse.creationTime) &&
        Objects.equals(this.description, describeVpcGatewayEndpointAttributesResponse.description) &&
        Objects.equals(this.endpointId, describeVpcGatewayEndpointAttributesResponse.endpointId) &&
        Objects.equals(this.endpointName, describeVpcGatewayEndpointAttributesResponse.endpointName) &&
        Objects.equals(this.projectName, describeVpcGatewayEndpointAttributesResponse.projectName) &&
        Objects.equals(this.requestId, describeVpcGatewayEndpointAttributesResponse.requestId) &&
        Objects.equals(this.serviceId, describeVpcGatewayEndpointAttributesResponse.serviceId) &&
        Objects.equals(this.serviceName, describeVpcGatewayEndpointAttributesResponse.serviceName) &&
        Objects.equals(this.status, describeVpcGatewayEndpointAttributesResponse.status) &&
        Objects.equals(this.tags, describeVpcGatewayEndpointAttributesResponse.tags) &&
        Objects.equals(this.updateTime, describeVpcGatewayEndpointAttributesResponse.updateTime) &&
        Objects.equals(this.vpcId, describeVpcGatewayEndpointAttributesResponse.vpcId) &&
        Objects.equals(this.vpcPolicy, describeVpcGatewayEndpointAttributesResponse.vpcPolicy);
  }

  @Override
  public int hashCode() {
    return Objects.hash(creationTime, description, endpointId, endpointName, projectName, requestId, serviceId, serviceName, status, tags, updateTime, vpcId, vpcPolicy);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DescribeVpcGatewayEndpointAttributesResponse {\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("    requestId: ").append(toIndentedString(requestId)).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    ");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy