com.volcengine.fwcenter.model.DataForDescribeNatFirewallListOutput Maven / Gradle / Ivy
/*
* fwcenter
* 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.fwcenter.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;
/**
* DataForDescribeNatFirewallListOutput
*/
public class DataForDescribeNatFirewallListOutput {
@SerializedName("AccountId")
private String accountId = null;
@SerializedName("Bandwidth")
private Integer bandwidth = null;
@SerializedName("CanCreate")
private Boolean canCreate = null;
@SerializedName("ErrMessage")
private String errMessage = null;
@SerializedName("FirewallStatus")
private String firewallStatus = null;
@SerializedName("NatFirewallId")
private String natFirewallId = null;
@SerializedName("NatFirewallName")
private String natFirewallName = null;
@SerializedName("NatGatewayId")
private String natGatewayId = null;
@SerializedName("NatGatewayName")
private String natGatewayName = null;
@SerializedName("PeakTrafficWithin7Day")
private Integer peakTrafficWithin7Day = null;
@SerializedName("Region")
private String region = null;
@SerializedName("VpcCidr")
private String vpcCidr = null;
@SerializedName("VpcId")
private String vpcId = null;
@SerializedName("VpcName")
private String vpcName = null;
@SerializedName("ZoneId")
private String zoneId = null;
public DataForDescribeNatFirewallListOutput accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* Get accountId
* @return accountId
**/
@Schema(description = "")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public DataForDescribeNatFirewallListOutput bandwidth(Integer bandwidth) {
this.bandwidth = bandwidth;
return this;
}
/**
* Get bandwidth
* @return bandwidth
**/
@Schema(description = "")
public Integer getBandwidth() {
return bandwidth;
}
public void setBandwidth(Integer bandwidth) {
this.bandwidth = bandwidth;
}
public DataForDescribeNatFirewallListOutput canCreate(Boolean canCreate) {
this.canCreate = canCreate;
return this;
}
/**
* Get canCreate
* @return canCreate
**/
@Schema(description = "")
public Boolean isCanCreate() {
return canCreate;
}
public void setCanCreate(Boolean canCreate) {
this.canCreate = canCreate;
}
public DataForDescribeNatFirewallListOutput errMessage(String errMessage) {
this.errMessage = errMessage;
return this;
}
/**
* Get errMessage
* @return errMessage
**/
@Schema(description = "")
public String getErrMessage() {
return errMessage;
}
public void setErrMessage(String errMessage) {
this.errMessage = errMessage;
}
public DataForDescribeNatFirewallListOutput firewallStatus(String firewallStatus) {
this.firewallStatus = firewallStatus;
return this;
}
/**
* Get firewallStatus
* @return firewallStatus
**/
@Schema(description = "")
public String getFirewallStatus() {
return firewallStatus;
}
public void setFirewallStatus(String firewallStatus) {
this.firewallStatus = firewallStatus;
}
public DataForDescribeNatFirewallListOutput natFirewallId(String natFirewallId) {
this.natFirewallId = natFirewallId;
return this;
}
/**
* Get natFirewallId
* @return natFirewallId
**/
@Schema(description = "")
public String getNatFirewallId() {
return natFirewallId;
}
public void setNatFirewallId(String natFirewallId) {
this.natFirewallId = natFirewallId;
}
public DataForDescribeNatFirewallListOutput natFirewallName(String natFirewallName) {
this.natFirewallName = natFirewallName;
return this;
}
/**
* Get natFirewallName
* @return natFirewallName
**/
@Schema(description = "")
public String getNatFirewallName() {
return natFirewallName;
}
public void setNatFirewallName(String natFirewallName) {
this.natFirewallName = natFirewallName;
}
public DataForDescribeNatFirewallListOutput natGatewayId(String natGatewayId) {
this.natGatewayId = natGatewayId;
return this;
}
/**
* Get natGatewayId
* @return natGatewayId
**/
@Schema(description = "")
public String getNatGatewayId() {
return natGatewayId;
}
public void setNatGatewayId(String natGatewayId) {
this.natGatewayId = natGatewayId;
}
public DataForDescribeNatFirewallListOutput natGatewayName(String natGatewayName) {
this.natGatewayName = natGatewayName;
return this;
}
/**
* Get natGatewayName
* @return natGatewayName
**/
@Schema(description = "")
public String getNatGatewayName() {
return natGatewayName;
}
public void setNatGatewayName(String natGatewayName) {
this.natGatewayName = natGatewayName;
}
public DataForDescribeNatFirewallListOutput peakTrafficWithin7Day(Integer peakTrafficWithin7Day) {
this.peakTrafficWithin7Day = peakTrafficWithin7Day;
return this;
}
/**
* Get peakTrafficWithin7Day
* @return peakTrafficWithin7Day
**/
@Schema(description = "")
public Integer getPeakTrafficWithin7Day() {
return peakTrafficWithin7Day;
}
public void setPeakTrafficWithin7Day(Integer peakTrafficWithin7Day) {
this.peakTrafficWithin7Day = peakTrafficWithin7Day;
}
public DataForDescribeNatFirewallListOutput region(String region) {
this.region = region;
return this;
}
/**
* Get region
* @return region
**/
@Schema(description = "")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public DataForDescribeNatFirewallListOutput vpcCidr(String vpcCidr) {
this.vpcCidr = vpcCidr;
return this;
}
/**
* Get vpcCidr
* @return vpcCidr
**/
@Schema(description = "")
public String getVpcCidr() {
return vpcCidr;
}
public void setVpcCidr(String vpcCidr) {
this.vpcCidr = vpcCidr;
}
public DataForDescribeNatFirewallListOutput 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 DataForDescribeNatFirewallListOutput vpcName(String vpcName) {
this.vpcName = vpcName;
return this;
}
/**
* Get vpcName
* @return vpcName
**/
@Schema(description = "")
public String getVpcName() {
return vpcName;
}
public void setVpcName(String vpcName) {
this.vpcName = vpcName;
}
public DataForDescribeNatFirewallListOutput 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DataForDescribeNatFirewallListOutput dataForDescribeNatFirewallListOutput = (DataForDescribeNatFirewallListOutput) o;
return Objects.equals(this.accountId, dataForDescribeNatFirewallListOutput.accountId) &&
Objects.equals(this.bandwidth, dataForDescribeNatFirewallListOutput.bandwidth) &&
Objects.equals(this.canCreate, dataForDescribeNatFirewallListOutput.canCreate) &&
Objects.equals(this.errMessage, dataForDescribeNatFirewallListOutput.errMessage) &&
Objects.equals(this.firewallStatus, dataForDescribeNatFirewallListOutput.firewallStatus) &&
Objects.equals(this.natFirewallId, dataForDescribeNatFirewallListOutput.natFirewallId) &&
Objects.equals(this.natFirewallName, dataForDescribeNatFirewallListOutput.natFirewallName) &&
Objects.equals(this.natGatewayId, dataForDescribeNatFirewallListOutput.natGatewayId) &&
Objects.equals(this.natGatewayName, dataForDescribeNatFirewallListOutput.natGatewayName) &&
Objects.equals(this.peakTrafficWithin7Day, dataForDescribeNatFirewallListOutput.peakTrafficWithin7Day) &&
Objects.equals(this.region, dataForDescribeNatFirewallListOutput.region) &&
Objects.equals(this.vpcCidr, dataForDescribeNatFirewallListOutput.vpcCidr) &&
Objects.equals(this.vpcId, dataForDescribeNatFirewallListOutput.vpcId) &&
Objects.equals(this.vpcName, dataForDescribeNatFirewallListOutput.vpcName) &&
Objects.equals(this.zoneId, dataForDescribeNatFirewallListOutput.zoneId);
}
@Override
public int hashCode() {
return Objects.hash(accountId, bandwidth, canCreate, errMessage, firewallStatus, natFirewallId, natFirewallName, natGatewayId, natGatewayName, peakTrafficWithin7Day, region, vpcCidr, vpcId, vpcName, zoneId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DataForDescribeNatFirewallListOutput {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n");
sb.append(" canCreate: ").append(toIndentedString(canCreate)).append("\n");
sb.append(" errMessage: ").append(toIndentedString(errMessage)).append("\n");
sb.append(" firewallStatus: ").append(toIndentedString(firewallStatus)).append("\n");
sb.append(" natFirewallId: ").append(toIndentedString(natFirewallId)).append("\n");
sb.append(" natFirewallName: ").append(toIndentedString(natFirewallName)).append("\n");
sb.append(" natGatewayId: ").append(toIndentedString(natGatewayId)).append("\n");
sb.append(" natGatewayName: ").append(toIndentedString(natGatewayName)).append("\n");
sb.append(" peakTrafficWithin7Day: ").append(toIndentedString(peakTrafficWithin7Day)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" vpcCidr: ").append(toIndentedString(vpcCidr)).append("\n");
sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n");
sb.append(" vpcName: ").append(toIndentedString(vpcName)).append("\n");
sb.append(" zoneId: ").append(toIndentedString(zoneId)).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