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

com.volcengine.fwcenter.model.DescribeVpcFirewallListRequest Maven / Gradle / Ivy

There is a newer version: 0.1.144
Show newest version
/*
 * 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 java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * DescribeVpcFirewallListRequest
 */



public class DescribeVpcFirewallListRequest {
  @SerializedName("FirewallStatus")
  private List firewallStatus = null;

  @SerializedName("PageNumber")
  private Integer pageNumber = null;

  @SerializedName("PageSize")
  private Integer pageSize = null;

  @SerializedName("RegionCode")
  private List regionCode = null;

  @SerializedName("RouteMode")
  private List routeMode = null;

  @SerializedName("RoutePolicyStatus")
  private List routePolicyStatus = null;

  @SerializedName("TransitRouterId")
  private String transitRouterId = null;

  @SerializedName("TransitRouterName")
  private String transitRouterName = null;

  @SerializedName("VpcFirewallId")
  private String vpcFirewallId = null;

  @SerializedName("VpcFirewallName")
  private String vpcFirewallName = null;

  public DescribeVpcFirewallListRequest firewallStatus(List firewallStatus) {
    this.firewallStatus = firewallStatus;
    return this;
  }

  public DescribeVpcFirewallListRequest addFirewallStatusItem(String firewallStatusItem) {
    if (this.firewallStatus == null) {
      this.firewallStatus = new ArrayList();
    }
    this.firewallStatus.add(firewallStatusItem);
    return this;
  }

   /**
   * Get firewallStatus
   * @return firewallStatus
  **/
  @Schema(description = "")
  public List getFirewallStatus() {
    return firewallStatus;
  }

  public void setFirewallStatus(List firewallStatus) {
    this.firewallStatus = firewallStatus;
  }

  public DescribeVpcFirewallListRequest pageNumber(Integer pageNumber) {
    this.pageNumber = pageNumber;
    return this;
  }

   /**
   * Get pageNumber
   * @return pageNumber
  **/
  @Schema(description = "")
  public Integer getPageNumber() {
    return pageNumber;
  }

  public void setPageNumber(Integer pageNumber) {
    this.pageNumber = pageNumber;
  }

  public DescribeVpcFirewallListRequest pageSize(Integer pageSize) {
    this.pageSize = pageSize;
    return this;
  }

   /**
   * Get pageSize
   * @return pageSize
  **/
  @Schema(description = "")
  public Integer getPageSize() {
    return pageSize;
  }

  public void setPageSize(Integer pageSize) {
    this.pageSize = pageSize;
  }

  public DescribeVpcFirewallListRequest regionCode(List regionCode) {
    this.regionCode = regionCode;
    return this;
  }

  public DescribeVpcFirewallListRequest addRegionCodeItem(String regionCodeItem) {
    if (this.regionCode == null) {
      this.regionCode = new ArrayList();
    }
    this.regionCode.add(regionCodeItem);
    return this;
  }

   /**
   * Get regionCode
   * @return regionCode
  **/
  @Schema(description = "")
  public List getRegionCode() {
    return regionCode;
  }

  public void setRegionCode(List regionCode) {
    this.regionCode = regionCode;
  }

  public DescribeVpcFirewallListRequest routeMode(List routeMode) {
    this.routeMode = routeMode;
    return this;
  }

  public DescribeVpcFirewallListRequest addRouteModeItem(String routeModeItem) {
    if (this.routeMode == null) {
      this.routeMode = new ArrayList();
    }
    this.routeMode.add(routeModeItem);
    return this;
  }

   /**
   * Get routeMode
   * @return routeMode
  **/
  @Schema(description = "")
  public List getRouteMode() {
    return routeMode;
  }

  public void setRouteMode(List routeMode) {
    this.routeMode = routeMode;
  }

  public DescribeVpcFirewallListRequest routePolicyStatus(List routePolicyStatus) {
    this.routePolicyStatus = routePolicyStatus;
    return this;
  }

  public DescribeVpcFirewallListRequest addRoutePolicyStatusItem(String routePolicyStatusItem) {
    if (this.routePolicyStatus == null) {
      this.routePolicyStatus = new ArrayList();
    }
    this.routePolicyStatus.add(routePolicyStatusItem);
    return this;
  }

   /**
   * Get routePolicyStatus
   * @return routePolicyStatus
  **/
  @Schema(description = "")
  public List getRoutePolicyStatus() {
    return routePolicyStatus;
  }

  public void setRoutePolicyStatus(List routePolicyStatus) {
    this.routePolicyStatus = routePolicyStatus;
  }

  public DescribeVpcFirewallListRequest transitRouterId(String transitRouterId) {
    this.transitRouterId = transitRouterId;
    return this;
  }

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

  public void setTransitRouterId(String transitRouterId) {
    this.transitRouterId = transitRouterId;
  }

  public DescribeVpcFirewallListRequest transitRouterName(String transitRouterName) {
    this.transitRouterName = transitRouterName;
    return this;
  }

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

  public void setTransitRouterName(String transitRouterName) {
    this.transitRouterName = transitRouterName;
  }

  public DescribeVpcFirewallListRequest vpcFirewallId(String vpcFirewallId) {
    this.vpcFirewallId = vpcFirewallId;
    return this;
  }

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

  public void setVpcFirewallId(String vpcFirewallId) {
    this.vpcFirewallId = vpcFirewallId;
  }

  public DescribeVpcFirewallListRequest vpcFirewallName(String vpcFirewallName) {
    this.vpcFirewallName = vpcFirewallName;
    return this;
  }

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

  public void setVpcFirewallName(String vpcFirewallName) {
    this.vpcFirewallName = vpcFirewallName;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DescribeVpcFirewallListRequest describeVpcFirewallListRequest = (DescribeVpcFirewallListRequest) o;
    return Objects.equals(this.firewallStatus, describeVpcFirewallListRequest.firewallStatus) &&
        Objects.equals(this.pageNumber, describeVpcFirewallListRequest.pageNumber) &&
        Objects.equals(this.pageSize, describeVpcFirewallListRequest.pageSize) &&
        Objects.equals(this.regionCode, describeVpcFirewallListRequest.regionCode) &&
        Objects.equals(this.routeMode, describeVpcFirewallListRequest.routeMode) &&
        Objects.equals(this.routePolicyStatus, describeVpcFirewallListRequest.routePolicyStatus) &&
        Objects.equals(this.transitRouterId, describeVpcFirewallListRequest.transitRouterId) &&
        Objects.equals(this.transitRouterName, describeVpcFirewallListRequest.transitRouterName) &&
        Objects.equals(this.vpcFirewallId, describeVpcFirewallListRequest.vpcFirewallId) &&
        Objects.equals(this.vpcFirewallName, describeVpcFirewallListRequest.vpcFirewallName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(firewallStatus, pageNumber, pageSize, regionCode, routeMode, routePolicyStatus, transitRouterId, transitRouterName, vpcFirewallId, vpcFirewallName);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DescribeVpcFirewallListRequest {\n");
    
    sb.append("    firewallStatus: ").append(toIndentedString(firewallStatus)).append("\n");
    sb.append("    pageNumber: ").append(toIndentedString(pageNumber)).append("\n");
    sb.append("    pageSize: ").append(toIndentedString(pageSize)).append("\n");
    sb.append("    regionCode: ").append(toIndentedString(regionCode)).append("\n");
    sb.append("    routeMode: ").append(toIndentedString(routeMode)).append("\n");
    sb.append("    routePolicyStatus: ").append(toIndentedString(routePolicyStatus)).append("\n");
    sb.append("    transitRouterId: ").append(toIndentedString(transitRouterId)).append("\n");
    sb.append("    transitRouterName: ").append(toIndentedString(transitRouterName)).append("\n");
    sb.append("    vpcFirewallId: ").append(toIndentedString(vpcFirewallId)).append("\n");
    sb.append("    vpcFirewallName: ").append(toIndentedString(vpcFirewallName)).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