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

com.volcengine.fwcenter.model.DataForDescribeNatFirewallControlPolicyOutput 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;
/**
 * DataForDescribeNatFirewallControlPolicyOutput
 */



public class DataForDescribeNatFirewallControlPolicyOutput {
  @SerializedName("AccountId")
  private String accountId = null;

  @SerializedName("Action")
  private String action = null;

  @SerializedName("Description")
  private String description = null;

  @SerializedName("DestPort")
  private String destPort = null;

  @SerializedName("DestPortGroupList")
  private List destPortGroupList = null;

  @SerializedName("DestPortGroupType")
  private String destPortGroupType = null;

  @SerializedName("DestPortList")
  private List destPortList = null;

  @SerializedName("DestPortType")
  private String destPortType = null;

  @SerializedName("Destination")
  private String destination = null;

  @SerializedName("DestinationCidrList")
  private List destinationCidrList = null;

  @SerializedName("DestinationGroupList")
  private List destinationGroupList = null;

  @SerializedName("DestinationGroupType")
  private String destinationGroupType = null;

  @SerializedName("DestinationType")
  private String destinationType = null;

  @SerializedName("Direction")
  private String direction = null;

  @SerializedName("EffectStatus")
  private Integer effectStatus = null;

  @SerializedName("EndTime")
  private Integer endTime = null;

  @SerializedName("HitCnt")
  private Integer hitCnt = null;

  @SerializedName("IsEffected")
  private Boolean isEffected = null;

  @SerializedName("LastHitTime")
  private Integer lastHitTime = null;

  @SerializedName("NatFirewallId")
  private String natFirewallId = null;

  @SerializedName("Prio")
  private Integer prio = null;

  @SerializedName("Proto")
  private String proto = null;

  @SerializedName("RepeatDays")
  private List repeatDays = null;

  @SerializedName("RepeatEndTime")
  private String repeatEndTime = null;

  @SerializedName("RepeatStartTime")
  private String repeatStartTime = null;

  @SerializedName("RepeatType")
  private String repeatType = null;

  @SerializedName("RuleId")
  private String ruleId = null;

  @SerializedName("Source")
  private String source = null;

  @SerializedName("SourceCidrList")
  private List sourceCidrList = null;

  @SerializedName("SourceGroupList")
  private List sourceGroupList = null;

  @SerializedName("SourceGroupType")
  private String sourceGroupType = null;

  @SerializedName("SourceType")
  private String sourceType = null;

  @SerializedName("StartTime")
  private Integer startTime = null;

  @SerializedName("Status")
  private Boolean status = null;

  @SerializedName("UpdateTime")
  private Integer updateTime = null;

  @SerializedName("UseCount")
  private Integer useCount = null;

  public DataForDescribeNatFirewallControlPolicyOutput 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 DataForDescribeNatFirewallControlPolicyOutput action(String action) {
    this.action = action;
    return this;
  }

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

  public void setAction(String action) {
    this.action = action;
  }

  public DataForDescribeNatFirewallControlPolicyOutput 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 DataForDescribeNatFirewallControlPolicyOutput destPort(String destPort) {
    this.destPort = destPort;
    return this;
  }

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

  public void setDestPort(String destPort) {
    this.destPort = destPort;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destPortGroupList(List destPortGroupList) {
    this.destPortGroupList = destPortGroupList;
    return this;
  }

  public DataForDescribeNatFirewallControlPolicyOutput addDestPortGroupListItem(String destPortGroupListItem) {
    if (this.destPortGroupList == null) {
      this.destPortGroupList = new ArrayList();
    }
    this.destPortGroupList.add(destPortGroupListItem);
    return this;
  }

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

  public void setDestPortGroupList(List destPortGroupList) {
    this.destPortGroupList = destPortGroupList;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destPortGroupType(String destPortGroupType) {
    this.destPortGroupType = destPortGroupType;
    return this;
  }

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

  public void setDestPortGroupType(String destPortGroupType) {
    this.destPortGroupType = destPortGroupType;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destPortList(List destPortList) {
    this.destPortList = destPortList;
    return this;
  }

  public DataForDescribeNatFirewallControlPolicyOutput addDestPortListItem(String destPortListItem) {
    if (this.destPortList == null) {
      this.destPortList = new ArrayList();
    }
    this.destPortList.add(destPortListItem);
    return this;
  }

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

  public void setDestPortList(List destPortList) {
    this.destPortList = destPortList;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destPortType(String destPortType) {
    this.destPortType = destPortType;
    return this;
  }

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

  public void setDestPortType(String destPortType) {
    this.destPortType = destPortType;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destination(String destination) {
    this.destination = destination;
    return this;
  }

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

  public void setDestination(String destination) {
    this.destination = destination;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destinationCidrList(List destinationCidrList) {
    this.destinationCidrList = destinationCidrList;
    return this;
  }

  public DataForDescribeNatFirewallControlPolicyOutput addDestinationCidrListItem(String destinationCidrListItem) {
    if (this.destinationCidrList == null) {
      this.destinationCidrList = new ArrayList();
    }
    this.destinationCidrList.add(destinationCidrListItem);
    return this;
  }

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

  public void setDestinationCidrList(List destinationCidrList) {
    this.destinationCidrList = destinationCidrList;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destinationGroupList(List destinationGroupList) {
    this.destinationGroupList = destinationGroupList;
    return this;
  }

  public DataForDescribeNatFirewallControlPolicyOutput addDestinationGroupListItem(String destinationGroupListItem) {
    if (this.destinationGroupList == null) {
      this.destinationGroupList = new ArrayList();
    }
    this.destinationGroupList.add(destinationGroupListItem);
    return this;
  }

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

  public void setDestinationGroupList(List destinationGroupList) {
    this.destinationGroupList = destinationGroupList;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destinationGroupType(String destinationGroupType) {
    this.destinationGroupType = destinationGroupType;
    return this;
  }

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

  public void setDestinationGroupType(String destinationGroupType) {
    this.destinationGroupType = destinationGroupType;
  }

  public DataForDescribeNatFirewallControlPolicyOutput destinationType(String destinationType) {
    this.destinationType = destinationType;
    return this;
  }

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

  public void setDestinationType(String destinationType) {
    this.destinationType = destinationType;
  }

  public DataForDescribeNatFirewallControlPolicyOutput direction(String direction) {
    this.direction = direction;
    return this;
  }

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

  public void setDirection(String direction) {
    this.direction = direction;
  }

  public DataForDescribeNatFirewallControlPolicyOutput effectStatus(Integer effectStatus) {
    this.effectStatus = effectStatus;
    return this;
  }

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

  public void setEffectStatus(Integer effectStatus) {
    this.effectStatus = effectStatus;
  }

  public DataForDescribeNatFirewallControlPolicyOutput endTime(Integer endTime) {
    this.endTime = endTime;
    return this;
  }

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

  public void setEndTime(Integer endTime) {
    this.endTime = endTime;
  }

  public DataForDescribeNatFirewallControlPolicyOutput hitCnt(Integer hitCnt) {
    this.hitCnt = hitCnt;
    return this;
  }

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

  public void setHitCnt(Integer hitCnt) {
    this.hitCnt = hitCnt;
  }

  public DataForDescribeNatFirewallControlPolicyOutput isEffected(Boolean isEffected) {
    this.isEffected = isEffected;
    return this;
  }

   /**
   * Get isEffected
   * @return isEffected
  **/
  @Schema(description = "")
  public Boolean isIsEffected() {
    return isEffected;
  }

  public void setIsEffected(Boolean isEffected) {
    this.isEffected = isEffected;
  }

  public DataForDescribeNatFirewallControlPolicyOutput lastHitTime(Integer lastHitTime) {
    this.lastHitTime = lastHitTime;
    return this;
  }

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

  public void setLastHitTime(Integer lastHitTime) {
    this.lastHitTime = lastHitTime;
  }

  public DataForDescribeNatFirewallControlPolicyOutput 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 DataForDescribeNatFirewallControlPolicyOutput prio(Integer prio) {
    this.prio = prio;
    return this;
  }

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

  public void setPrio(Integer prio) {
    this.prio = prio;
  }

  public DataForDescribeNatFirewallControlPolicyOutput proto(String proto) {
    this.proto = proto;
    return this;
  }

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

  public void setProto(String proto) {
    this.proto = proto;
  }

  public DataForDescribeNatFirewallControlPolicyOutput repeatDays(List repeatDays) {
    this.repeatDays = repeatDays;
    return this;
  }

  public DataForDescribeNatFirewallControlPolicyOutput addRepeatDaysItem(Integer repeatDaysItem) {
    if (this.repeatDays == null) {
      this.repeatDays = new ArrayList();
    }
    this.repeatDays.add(repeatDaysItem);
    return this;
  }

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

  public void setRepeatDays(List repeatDays) {
    this.repeatDays = repeatDays;
  }

  public DataForDescribeNatFirewallControlPolicyOutput repeatEndTime(String repeatEndTime) {
    this.repeatEndTime = repeatEndTime;
    return this;
  }

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

  public void setRepeatEndTime(String repeatEndTime) {
    this.repeatEndTime = repeatEndTime;
  }

  public DataForDescribeNatFirewallControlPolicyOutput repeatStartTime(String repeatStartTime) {
    this.repeatStartTime = repeatStartTime;
    return this;
  }

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

  public void setRepeatStartTime(String repeatStartTime) {
    this.repeatStartTime = repeatStartTime;
  }

  public DataForDescribeNatFirewallControlPolicyOutput repeatType(String repeatType) {
    this.repeatType = repeatType;
    return this;
  }

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

  public void setRepeatType(String repeatType) {
    this.repeatType = repeatType;
  }

  public DataForDescribeNatFirewallControlPolicyOutput ruleId(String ruleId) {
    this.ruleId = ruleId;
    return this;
  }

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

  public void setRuleId(String ruleId) {
    this.ruleId = ruleId;
  }

  public DataForDescribeNatFirewallControlPolicyOutput source(String source) {
    this.source = source;
    return this;
  }

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

  public void setSource(String source) {
    this.source = source;
  }

  public DataForDescribeNatFirewallControlPolicyOutput sourceCidrList(List sourceCidrList) {
    this.sourceCidrList = sourceCidrList;
    return this;
  }

  public DataForDescribeNatFirewallControlPolicyOutput addSourceCidrListItem(String sourceCidrListItem) {
    if (this.sourceCidrList == null) {
      this.sourceCidrList = new ArrayList();
    }
    this.sourceCidrList.add(sourceCidrListItem);
    return this;
  }

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

  public void setSourceCidrList(List sourceCidrList) {
    this.sourceCidrList = sourceCidrList;
  }

  public DataForDescribeNatFirewallControlPolicyOutput sourceGroupList(List sourceGroupList) {
    this.sourceGroupList = sourceGroupList;
    return this;
  }

  public DataForDescribeNatFirewallControlPolicyOutput addSourceGroupListItem(String sourceGroupListItem) {
    if (this.sourceGroupList == null) {
      this.sourceGroupList = new ArrayList();
    }
    this.sourceGroupList.add(sourceGroupListItem);
    return this;
  }

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

  public void setSourceGroupList(List sourceGroupList) {
    this.sourceGroupList = sourceGroupList;
  }

  public DataForDescribeNatFirewallControlPolicyOutput sourceGroupType(String sourceGroupType) {
    this.sourceGroupType = sourceGroupType;
    return this;
  }

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

  public void setSourceGroupType(String sourceGroupType) {
    this.sourceGroupType = sourceGroupType;
  }

  public DataForDescribeNatFirewallControlPolicyOutput sourceType(String sourceType) {
    this.sourceType = sourceType;
    return this;
  }

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

  public void setSourceType(String sourceType) {
    this.sourceType = sourceType;
  }

  public DataForDescribeNatFirewallControlPolicyOutput startTime(Integer startTime) {
    this.startTime = startTime;
    return this;
  }

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

  public void setStartTime(Integer startTime) {
    this.startTime = startTime;
  }

  public DataForDescribeNatFirewallControlPolicyOutput status(Boolean status) {
    this.status = status;
    return this;
  }

   /**
   * Get status
   * @return status
  **/
  @Schema(description = "")
  public Boolean isStatus() {
    return status;
  }

  public void setStatus(Boolean status) {
    this.status = status;
  }

  public DataForDescribeNatFirewallControlPolicyOutput updateTime(Integer updateTime) {
    this.updateTime = updateTime;
    return this;
  }

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

  public void setUpdateTime(Integer updateTime) {
    this.updateTime = updateTime;
  }

  public DataForDescribeNatFirewallControlPolicyOutput useCount(Integer useCount) {
    this.useCount = useCount;
    return this;
  }

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

  public void setUseCount(Integer useCount) {
    this.useCount = useCount;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DataForDescribeNatFirewallControlPolicyOutput dataForDescribeNatFirewallControlPolicyOutput = (DataForDescribeNatFirewallControlPolicyOutput) o;
    return Objects.equals(this.accountId, dataForDescribeNatFirewallControlPolicyOutput.accountId) &&
        Objects.equals(this.action, dataForDescribeNatFirewallControlPolicyOutput.action) &&
        Objects.equals(this.description, dataForDescribeNatFirewallControlPolicyOutput.description) &&
        Objects.equals(this.destPort, dataForDescribeNatFirewallControlPolicyOutput.destPort) &&
        Objects.equals(this.destPortGroupList, dataForDescribeNatFirewallControlPolicyOutput.destPortGroupList) &&
        Objects.equals(this.destPortGroupType, dataForDescribeNatFirewallControlPolicyOutput.destPortGroupType) &&
        Objects.equals(this.destPortList, dataForDescribeNatFirewallControlPolicyOutput.destPortList) &&
        Objects.equals(this.destPortType, dataForDescribeNatFirewallControlPolicyOutput.destPortType) &&
        Objects.equals(this.destination, dataForDescribeNatFirewallControlPolicyOutput.destination) &&
        Objects.equals(this.destinationCidrList, dataForDescribeNatFirewallControlPolicyOutput.destinationCidrList) &&
        Objects.equals(this.destinationGroupList, dataForDescribeNatFirewallControlPolicyOutput.destinationGroupList) &&
        Objects.equals(this.destinationGroupType, dataForDescribeNatFirewallControlPolicyOutput.destinationGroupType) &&
        Objects.equals(this.destinationType, dataForDescribeNatFirewallControlPolicyOutput.destinationType) &&
        Objects.equals(this.direction, dataForDescribeNatFirewallControlPolicyOutput.direction) &&
        Objects.equals(this.effectStatus, dataForDescribeNatFirewallControlPolicyOutput.effectStatus) &&
        Objects.equals(this.endTime, dataForDescribeNatFirewallControlPolicyOutput.endTime) &&
        Objects.equals(this.hitCnt, dataForDescribeNatFirewallControlPolicyOutput.hitCnt) &&
        Objects.equals(this.isEffected, dataForDescribeNatFirewallControlPolicyOutput.isEffected) &&
        Objects.equals(this.lastHitTime, dataForDescribeNatFirewallControlPolicyOutput.lastHitTime) &&
        Objects.equals(this.natFirewallId, dataForDescribeNatFirewallControlPolicyOutput.natFirewallId) &&
        Objects.equals(this.prio, dataForDescribeNatFirewallControlPolicyOutput.prio) &&
        Objects.equals(this.proto, dataForDescribeNatFirewallControlPolicyOutput.proto) &&
        Objects.equals(this.repeatDays, dataForDescribeNatFirewallControlPolicyOutput.repeatDays) &&
        Objects.equals(this.repeatEndTime, dataForDescribeNatFirewallControlPolicyOutput.repeatEndTime) &&
        Objects.equals(this.repeatStartTime, dataForDescribeNatFirewallControlPolicyOutput.repeatStartTime) &&
        Objects.equals(this.repeatType, dataForDescribeNatFirewallControlPolicyOutput.repeatType) &&
        Objects.equals(this.ruleId, dataForDescribeNatFirewallControlPolicyOutput.ruleId) &&
        Objects.equals(this.source, dataForDescribeNatFirewallControlPolicyOutput.source) &&
        Objects.equals(this.sourceCidrList, dataForDescribeNatFirewallControlPolicyOutput.sourceCidrList) &&
        Objects.equals(this.sourceGroupList, dataForDescribeNatFirewallControlPolicyOutput.sourceGroupList) &&
        Objects.equals(this.sourceGroupType, dataForDescribeNatFirewallControlPolicyOutput.sourceGroupType) &&
        Objects.equals(this.sourceType, dataForDescribeNatFirewallControlPolicyOutput.sourceType) &&
        Objects.equals(this.startTime, dataForDescribeNatFirewallControlPolicyOutput.startTime) &&
        Objects.equals(this.status, dataForDescribeNatFirewallControlPolicyOutput.status) &&
        Objects.equals(this.updateTime, dataForDescribeNatFirewallControlPolicyOutput.updateTime) &&
        Objects.equals(this.useCount, dataForDescribeNatFirewallControlPolicyOutput.useCount);
  }

  @Override
  public int hashCode() {
    return Objects.hash(accountId, action, description, destPort, destPortGroupList, destPortGroupType, destPortList, destPortType, destination, destinationCidrList, destinationGroupList, destinationGroupType, destinationType, direction, effectStatus, endTime, hitCnt, isEffected, lastHitTime, natFirewallId, prio, proto, repeatDays, repeatEndTime, repeatStartTime, repeatType, ruleId, source, sourceCidrList, sourceGroupList, sourceGroupType, sourceType, startTime, status, updateTime, useCount);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DataForDescribeNatFirewallControlPolicyOutput {\n");
    
    sb.append("    accountId: ").append(toIndentedString(accountId)).append("\n");
    sb.append("    action: ").append(toIndentedString(action)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    destPort: ").append(toIndentedString(destPort)).append("\n");
    sb.append("    destPortGroupList: ").append(toIndentedString(destPortGroupList)).append("\n");
    sb.append("    destPortGroupType: ").append(toIndentedString(destPortGroupType)).append("\n");
    sb.append("    destPortList: ").append(toIndentedString(destPortList)).append("\n");
    sb.append("    destPortType: ").append(toIndentedString(destPortType)).append("\n");
    sb.append("    destination: ").append(toIndentedString(destination)).append("\n");
    sb.append("    destinationCidrList: ").append(toIndentedString(destinationCidrList)).append("\n");
    sb.append("    destinationGroupList: ").append(toIndentedString(destinationGroupList)).append("\n");
    sb.append("    destinationGroupType: ").append(toIndentedString(destinationGroupType)).append("\n");
    sb.append("    destinationType: ").append(toIndentedString(destinationType)).append("\n");
    sb.append("    direction: ").append(toIndentedString(direction)).append("\n");
    sb.append("    effectStatus: ").append(toIndentedString(effectStatus)).append("\n");
    sb.append("    endTime: ").append(toIndentedString(endTime)).append("\n");
    sb.append("    hitCnt: ").append(toIndentedString(hitCnt)).append("\n");
    sb.append("    isEffected: ").append(toIndentedString(isEffected)).append("\n");
    sb.append("    lastHitTime: ").append(toIndentedString(lastHitTime)).append("\n");
    sb.append("    natFirewallId: ").append(toIndentedString(natFirewallId)).append("\n");
    sb.append("    prio: ").append(toIndentedString(prio)).append("\n");
    sb.append("    proto: ").append(toIndentedString(proto)).append("\n");
    sb.append("    repeatDays: ").append(toIndentedString(repeatDays)).append("\n");
    sb.append("    repeatEndTime: ").append(toIndentedString(repeatEndTime)).append("\n");
    sb.append("    repeatStartTime: ").append(toIndentedString(repeatStartTime)).append("\n");
    sb.append("    repeatType: ").append(toIndentedString(repeatType)).append("\n");
    sb.append("    ruleId: ").append(toIndentedString(ruleId)).append("\n");
    sb.append("    source: ").append(toIndentedString(source)).append("\n");
    sb.append("    sourceCidrList: ").append(toIndentedString(sourceCidrList)).append("\n");
    sb.append("    sourceGroupList: ").append(toIndentedString(sourceGroupList)).append("\n");
    sb.append("    sourceGroupType: ").append(toIndentedString(sourceGroupType)).append("\n");
    sb.append("    sourceType: ").append(toIndentedString(sourceType)).append("\n");
    sb.append("    startTime: ").append(toIndentedString(startTime)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    updateTime: ").append(toIndentedString(updateTime)).append("\n");
    sb.append("    useCount: ").append(toIndentedString(useCount)).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