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

com.aliyuncs.sas.model.v20181203.GetInterceptionRuleDetailResponse 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.sas.model.v20181203;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.sas.transform.v20181203.GetInterceptionRuleDetailResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private String requestId;

	private InterceptionRuleDetail interceptionRuleDetail;

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

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

	public InterceptionRuleDetail getInterceptionRuleDetail() {
		return this.interceptionRuleDetail;
	}

	public void setInterceptionRuleDetail(InterceptionRuleDetail interceptionRuleDetail) {
		this.interceptionRuleDetail = interceptionRuleDetail;
	}

	public static class InterceptionRuleDetail {

		private String ruleType;

		private Integer ruleSwitch;

		private Long ruleId;

		private String ruleName;

		private Long interceptType;

		private Long orderIndex;

		private SrcTarget srcTarget;

		private DstTarget dstTarget;

		public String getRuleType() {
			return this.ruleType;
		}

		public void setRuleType(String ruleType) {
			this.ruleType = ruleType;
		}

		public Integer getRuleSwitch() {
			return this.ruleSwitch;
		}

		public void setRuleSwitch(Integer ruleSwitch) {
			this.ruleSwitch = ruleSwitch;
		}

		public Long getRuleId() {
			return this.ruleId;
		}

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

		public String getRuleName() {
			return this.ruleName;
		}

		public void setRuleName(String ruleName) {
			this.ruleName = ruleName;
		}

		public Long getInterceptType() {
			return this.interceptType;
		}

		public void setInterceptType(Long interceptType) {
			this.interceptType = interceptType;
		}

		public Long getOrderIndex() {
			return this.orderIndex;
		}

		public void setOrderIndex(Long orderIndex) {
			this.orderIndex = orderIndex;
		}

		public SrcTarget getSrcTarget() {
			return this.srcTarget;
		}

		public void setSrcTarget(SrcTarget srcTarget) {
			this.srcTarget = srcTarget;
		}

		public DstTarget getDstTarget() {
			return this.dstTarget;
		}

		public void setDstTarget(DstTarget dstTarget) {
			this.dstTarget = dstTarget;
		}

		public static class SrcTarget {

			private String appName;

			private String ruleType;

			private Integer targetId;

			private String targetName;

			private String namespace;

			private String targetType;

			private List imageList;

			private List tagList;

			public String getAppName() {
				return this.appName;
			}

			public void setAppName(String appName) {
				this.appName = appName;
			}

			public String getRuleType() {
				return this.ruleType;
			}

			public void setRuleType(String ruleType) {
				this.ruleType = ruleType;
			}

			public Integer getTargetId() {
				return this.targetId;
			}

			public void setTargetId(Integer targetId) {
				this.targetId = targetId;
			}

			public String getTargetName() {
				return this.targetName;
			}

			public void setTargetName(String targetName) {
				this.targetName = targetName;
			}

			public String getNamespace() {
				return this.namespace;
			}

			public void setNamespace(String namespace) {
				this.namespace = namespace;
			}

			public String getTargetType() {
				return this.targetType;
			}

			public void setTargetType(String targetType) {
				this.targetType = targetType;
			}

			public List getImageList() {
				return this.imageList;
			}

			public void setImageList(List imageList) {
				this.imageList = imageList;
			}

			public List getTagList() {
				return this.tagList;
			}

			public void setTagList(List tagList) {
				this.tagList = tagList;
			}
		}

		public static class DstTarget {

			private String appName;

			private String ruleType;

			private Integer targetId;

			private String targetName;

			private String namespace;

			private String targetType;

			private List ports;

			private List imageList1;

			private List tagList2;

			public String getAppName() {
				return this.appName;
			}

			public void setAppName(String appName) {
				this.appName = appName;
			}

			public String getRuleType() {
				return this.ruleType;
			}

			public void setRuleType(String ruleType) {
				this.ruleType = ruleType;
			}

			public Integer getTargetId() {
				return this.targetId;
			}

			public void setTargetId(Integer targetId) {
				this.targetId = targetId;
			}

			public String getTargetName() {
				return this.targetName;
			}

			public void setTargetName(String targetName) {
				this.targetName = targetName;
			}

			public String getNamespace() {
				return this.namespace;
			}

			public void setNamespace(String namespace) {
				this.namespace = namespace;
			}

			public String getTargetType() {
				return this.targetType;
			}

			public void setTargetType(String targetType) {
				this.targetType = targetType;
			}

			public List getPorts() {
				return this.ports;
			}

			public void setPorts(List ports) {
				this.ports = ports;
			}

			public List getImageList1() {
				return this.imageList1;
			}

			public void setImageList1(List imageList1) {
				this.imageList1 = imageList1;
			}

			public List getTagList2() {
				return this.tagList2;
			}

			public void setTagList2(List tagList2) {
				this.tagList2 = tagList2;
			}
		}
	}

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy