com.volcengine.vefaas.model.VpcConfigForGetFunctionOutput Maven / Gradle / Ivy
/*
* vefaas
* 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.vefaas.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 java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* VpcConfigForGetFunctionOutput
*/
public class VpcConfigForGetFunctionOutput {
@SerializedName("EnableSharedInternetAccess")
private Boolean enableSharedInternetAccess = null;
@SerializedName("EnableVpc")
private Boolean enableVpc = null;
@SerializedName("SecurityGroupIds")
private List securityGroupIds = null;
@SerializedName("SubnetIds")
private List subnetIds = null;
@SerializedName("VpcId")
private String vpcId = null;
public VpcConfigForGetFunctionOutput enableSharedInternetAccess(Boolean enableSharedInternetAccess) {
this.enableSharedInternetAccess = enableSharedInternetAccess;
return this;
}
/**
* Get enableSharedInternetAccess
* @return enableSharedInternetAccess
**/
@Schema(description = "")
public Boolean isEnableSharedInternetAccess() {
return enableSharedInternetAccess;
}
public void setEnableSharedInternetAccess(Boolean enableSharedInternetAccess) {
this.enableSharedInternetAccess = enableSharedInternetAccess;
}
public VpcConfigForGetFunctionOutput enableVpc(Boolean enableVpc) {
this.enableVpc = enableVpc;
return this;
}
/**
* Get enableVpc
* @return enableVpc
**/
@Schema(description = "")
public Boolean isEnableVpc() {
return enableVpc;
}
public void setEnableVpc(Boolean enableVpc) {
this.enableVpc = enableVpc;
}
public VpcConfigForGetFunctionOutput securityGroupIds(List securityGroupIds) {
this.securityGroupIds = securityGroupIds;
return this;
}
public VpcConfigForGetFunctionOutput addSecurityGroupIdsItem(String securityGroupIdsItem) {
if (this.securityGroupIds == null) {
this.securityGroupIds = new ArrayList();
}
this.securityGroupIds.add(securityGroupIdsItem);
return this;
}
/**
* Get securityGroupIds
* @return securityGroupIds
**/
@Schema(description = "")
public List getSecurityGroupIds() {
return securityGroupIds;
}
public void setSecurityGroupIds(List securityGroupIds) {
this.securityGroupIds = securityGroupIds;
}
public VpcConfigForGetFunctionOutput subnetIds(List subnetIds) {
this.subnetIds = subnetIds;
return this;
}
public VpcConfigForGetFunctionOutput addSubnetIdsItem(String subnetIdsItem) {
if (this.subnetIds == null) {
this.subnetIds = new ArrayList();
}
this.subnetIds.add(subnetIdsItem);
return this;
}
/**
* Get subnetIds
* @return subnetIds
**/
@Schema(description = "")
public List getSubnetIds() {
return subnetIds;
}
public void setSubnetIds(List subnetIds) {
this.subnetIds = subnetIds;
}
public VpcConfigForGetFunctionOutput 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
VpcConfigForGetFunctionOutput vpcConfigForGetFunctionOutput = (VpcConfigForGetFunctionOutput) o;
return Objects.equals(this.enableSharedInternetAccess, vpcConfigForGetFunctionOutput.enableSharedInternetAccess) &&
Objects.equals(this.enableVpc, vpcConfigForGetFunctionOutput.enableVpc) &&
Objects.equals(this.securityGroupIds, vpcConfigForGetFunctionOutput.securityGroupIds) &&
Objects.equals(this.subnetIds, vpcConfigForGetFunctionOutput.subnetIds) &&
Objects.equals(this.vpcId, vpcConfigForGetFunctionOutput.vpcId);
}
@Override
public int hashCode() {
return Objects.hash(enableSharedInternetAccess, enableVpc, securityGroupIds, subnetIds, vpcId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class VpcConfigForGetFunctionOutput {\n");
sb.append(" enableSharedInternetAccess: ").append(toIndentedString(enableSharedInternetAccess)).append("\n");
sb.append(" enableVpc: ").append(toIndentedString(enableVpc)).append("\n");
sb.append(" securityGroupIds: ").append(toIndentedString(securityGroupIds)).append("\n");
sb.append(" subnetIds: ").append(toIndentedString(subnetIds)).append("\n");
sb.append(" vpcId: ").append(toIndentedString(vpcId)).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