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

com.aliyuncs.ddoscoo.model.v20200101.DescribeNetworkRuleAttributesResponse Maven / Gradle / Ivy

/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.ddoscoo.model.v20200101;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.ddoscoo.transform.v20200101.DescribeNetworkRuleAttributesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
 * @author auto create
 * @version 
 */
public class DescribeNetworkRuleAttributesResponse extends AcsResponse {

	private String requestId;

	private List networkRuleAttributes;

	public String getRequestId() {
		return this.requestId;
	}

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

	public List getNetworkRuleAttributes() {
		return this.networkRuleAttributes;
	}

	public void setNetworkRuleAttributes(List networkRuleAttributes) {
		this.networkRuleAttributes = networkRuleAttributes;
	}

	public static class NetworkRuleAttribute {

		private Integer frontendPort;

		private String instanceId;

		private String protocol;

		private Config config;

		public Integer getFrontendPort() {
			return this.frontendPort;
		}

		public void setFrontendPort(Integer frontendPort) {
			this.frontendPort = frontendPort;
		}

		public String getInstanceId() {
			return this.instanceId;
		}

		public void setInstanceId(String instanceId) {
			this.instanceId = instanceId;
		}

		public String getBizProtocol() {
			return this.protocol;
		}

		public void setBizProtocol(String protocol) {
			this.protocol = protocol;
		}

		public Config getConfig() {
			return this.config;
		}

		public void setConfig(Config config) {
			this.config = config;
		}

		public static class Config {

			private String nodataConn;

			private String synproxy;

			private Integer persistenceTimeout;

			private Sla sla;

			private Slimit slimit;

			private PayloadLen payloadLen;

			private Cc cc;

			public String getNodataConn() {
				return this.nodataConn;
			}

			public void setNodataConn(String nodataConn) {
				this.nodataConn = nodataConn;
			}

			public String getSynproxy() {
				return this.synproxy;
			}

			public void setSynproxy(String synproxy) {
				this.synproxy = synproxy;
			}

			public Integer getPersistenceTimeout() {
				return this.persistenceTimeout;
			}

			public void setPersistenceTimeout(Integer persistenceTimeout) {
				this.persistenceTimeout = persistenceTimeout;
			}

			public Sla getSla() {
				return this.sla;
			}

			public void setSla(Sla sla) {
				this.sla = sla;
			}

			public Slimit getSlimit() {
				return this.slimit;
			}

			public void setSlimit(Slimit slimit) {
				this.slimit = slimit;
			}

			public PayloadLen getPayloadLen() {
				return this.payloadLen;
			}

			public void setPayloadLen(PayloadLen payloadLen) {
				this.payloadLen = payloadLen;
			}

			public Cc getCc() {
				return this.cc;
			}

			public void setCc(Cc cc) {
				this.cc = cc;
			}

			public static class Sla {

				private Integer maxconnEnable;

				private Integer cpsEnable;

				private Integer cps;

				private Integer maxconn;

				public Integer getMaxconnEnable() {
					return this.maxconnEnable;
				}

				public void setMaxconnEnable(Integer maxconnEnable) {
					this.maxconnEnable = maxconnEnable;
				}

				public Integer getCpsEnable() {
					return this.cpsEnable;
				}

				public void setCpsEnable(Integer cpsEnable) {
					this.cpsEnable = cpsEnable;
				}

				public Integer getCps() {
					return this.cps;
				}

				public void setCps(Integer cps) {
					this.cps = cps;
				}

				public Integer getMaxconn() {
					return this.maxconn;
				}

				public void setMaxconn(Integer maxconn) {
					this.maxconn = maxconn;
				}
			}

			public static class Slimit {

				private Integer maxconnEnable;

				private Integer cpsEnable;

				private Integer cps;

				private Long pps;

				private Long bps;

				private Integer maxconn;

				private Integer cpsMode;

				public Integer getMaxconnEnable() {
					return this.maxconnEnable;
				}

				public void setMaxconnEnable(Integer maxconnEnable) {
					this.maxconnEnable = maxconnEnable;
				}

				public Integer getCpsEnable() {
					return this.cpsEnable;
				}

				public void setCpsEnable(Integer cpsEnable) {
					this.cpsEnable = cpsEnable;
				}

				public Integer getCps() {
					return this.cps;
				}

				public void setCps(Integer cps) {
					this.cps = cps;
				}

				public Long getPps() {
					return this.pps;
				}

				public void setPps(Long pps) {
					this.pps = pps;
				}

				public Long getBps() {
					return this.bps;
				}

				public void setBps(Long bps) {
					this.bps = bps;
				}

				public Integer getMaxconn() {
					return this.maxconn;
				}

				public void setMaxconn(Integer maxconn) {
					this.maxconn = maxconn;
				}

				public Integer getCpsMode() {
					return this.cpsMode;
				}

				public void setCpsMode(Integer cpsMode) {
					this.cpsMode = cpsMode;
				}
			}

			public static class PayloadLen {

				private Integer min;

				private Integer max;

				public Integer getMin() {
					return this.min;
				}

				public void setMin(Integer min) {
					this.min = min;
				}

				public Integer getMax() {
					return this.max;
				}

				public void setMax(Integer max) {
					this.max = max;
				}
			}

			public static class Cc {

				private List sblack;

				public List getSblack() {
					return this.sblack;
				}

				public void setSblack(List sblack) {
					this.sblack = sblack;
				}

				public static class SblackItem {

					private Integer type;

					private Integer during;

					private Integer expires;

					private Integer cnt;

					public Integer getType() {
						return this.type;
					}

					public void setType(Integer type) {
						this.type = type;
					}

					public Integer getDuring() {
						return this.during;
					}

					public void setDuring(Integer during) {
						this.during = during;
					}

					public Integer getExpires() {
						return this.expires;
					}

					public void setExpires(Integer expires) {
						this.expires = expires;
					}

					public Integer getCnt() {
						return this.cnt;
					}

					public void setCnt(Integer cnt) {
						this.cnt = cnt;
					}
				}
			}
		}
	}

	@Override
	public DescribeNetworkRuleAttributesResponse getInstance(UnmarshallerContext context) {
		return	DescribeNetworkRuleAttributesResponseUnmarshaller.unmarshall(this, context);
	}

	@Override
	public boolean checkShowJsonItemName() {
		return false;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy