(1)ASN IP配置提交
(2)ASN 策略提交
This commit is contained in:
93
src/main/java/com/nis/domain/maat/GroupReuseAddBean.java
Normal file
93
src/main/java/com/nis/domain/maat/GroupReuseAddBean.java
Normal file
@@ -0,0 +1,93 @@
|
||||
/**
|
||||
*@Title: ToMaatBean.java
|
||||
*@Package com.nis.domain.configuration
|
||||
*@Description TODO
|
||||
*@author dell
|
||||
*@date 2018年2月28日 下午2:03:08
|
||||
*@version 版本号
|
||||
*/
|
||||
package com.nis.domain.maat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* @ClassName: ToMaatBean.java
|
||||
* @Description: TODO
|
||||
* @author (dell)
|
||||
* @date 2018年2月28日 下午2:03:08
|
||||
* @version V1.0
|
||||
*/
|
||||
public class GroupReuseAddBean implements Serializable{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -3468862666445104490L;
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(转换为maat格式的java bean)
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Expose
|
||||
private String version;
|
||||
@Expose
|
||||
@SerializedName("operator")
|
||||
private String creatorName;
|
||||
@Expose
|
||||
@SerializedName("opTime")
|
||||
private Date auditTime;
|
||||
@Expose
|
||||
private Integer opAction;
|
||||
@Expose
|
||||
@SerializedName("groupReuseList")
|
||||
private List<GroupReuseCfg> groupReuseCfgList;
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(String version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
public String getCreatorName() {
|
||||
return creatorName;
|
||||
}
|
||||
|
||||
public void setCreatorName(String creatorName) {
|
||||
this.creatorName = creatorName;
|
||||
}
|
||||
|
||||
public Date getAuditTime() {
|
||||
return auditTime;
|
||||
}
|
||||
|
||||
public void setAuditTime(Date auditTime) {
|
||||
this.auditTime = auditTime;
|
||||
}
|
||||
|
||||
public List<GroupReuseCfg> getGroupReuseCfgList() {
|
||||
return groupReuseCfgList;
|
||||
}
|
||||
|
||||
public void setGroupReuseCfgList(List<GroupReuseCfg> groupReuseCfgList) {
|
||||
this.groupReuseCfgList = groupReuseCfgList;
|
||||
}
|
||||
|
||||
public Integer getOpAction() {
|
||||
return opAction;
|
||||
}
|
||||
|
||||
public void setOpAction(Integer opAction) {
|
||||
this.opAction = opAction;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
}
|
||||
}
|
||||
46
src/main/java/com/nis/domain/maat/GroupReuseCfg.java
Normal file
46
src/main/java/com/nis/domain/maat/GroupReuseCfg.java
Normal file
@@ -0,0 +1,46 @@
|
||||
package com.nis.domain.maat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.nis.domain.maat.MaatCfg.IpCfg;
|
||||
import com.nis.domain.maat.MaatCfg.NumBoundaryCfg;
|
||||
import com.nis.domain.maat.MaatCfg.StringCfg;
|
||||
/**
|
||||
* 组复用配置
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class GroupReuseCfg implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1830956100866313836L;
|
||||
@Expose
|
||||
private List<StringCfg> strRegionList;
|
||||
@Expose
|
||||
private List<IpCfg> ipRegionList;
|
||||
@Expose
|
||||
private List<NumBoundaryCfg> numRegionList;
|
||||
public List<StringCfg> getStrRegionList() {
|
||||
return strRegionList;
|
||||
}
|
||||
public void setStrRegionList(List<StringCfg> strRegionList) {
|
||||
this.strRegionList = strRegionList;
|
||||
}
|
||||
public List<IpCfg> getIpRegionList() {
|
||||
return ipRegionList;
|
||||
}
|
||||
public void setIpRegionList(List<IpCfg> ipRegionList) {
|
||||
this.ipRegionList = ipRegionList;
|
||||
}
|
||||
public List<NumBoundaryCfg> getNumRegionList() {
|
||||
return numRegionList;
|
||||
}
|
||||
public void setNumRegionList(List<NumBoundaryCfg> numRegionList) {
|
||||
this.numRegionList = numRegionList;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -41,6 +41,14 @@ public class ToMaatResult implements Serializable{
|
||||
private String digest;
|
||||
private List configCompileList;
|
||||
private List updateStatCfgList;
|
||||
private List groupReuseList;
|
||||
|
||||
public List getGroupReuseList() {
|
||||
return groupReuseList;
|
||||
}
|
||||
public void setGroupReuseList(List groupReuseList) {
|
||||
this.groupReuseList = groupReuseList;
|
||||
}
|
||||
public List getUpdateStatCfgList() {
|
||||
return updateStatCfgList;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user