diff --git a/aliyun-java-sdk-sas/ChangeLog.txt b/aliyun-java-sdk-sas/ChangeLog.txt index 5134c1a208..23e36decf6 100644 --- a/aliyun-java-sdk-sas/ChangeLog.txt +++ b/aliyun-java-sdk-sas/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-06-17 Version: 1.1.33 +- Supported backup record. + 2023-06-10 Version: 1.1.32 - Support remark for suspicious deal. - Supported GetClientRatioStatistic. diff --git a/aliyun-java-sdk-sas/pom.xml b/aliyun-java-sdk-sas/pom.xml index 4563c56628..9388f63c62 100644 --- a/aliyun-java-sdk-sas/pom.xml +++ b/aliyun-java-sdk-sas/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-sas jar - 1.1.32 + 1.1.33 aliyun-java-sdk-sas http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeSecurityEventMarkMissListRequest.java b/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeSecurityEventMarkMissListRequest.java new file mode 100644 index 0000000000..67053a6233 --- /dev/null +++ b/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeSecurityEventMarkMissListRequest.java @@ -0,0 +1,119 @@ +/* + * 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 com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.sas.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeSecurityEventMarkMissListRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String remark; + + private String eventName; + + private String sourceIp; + + private Integer pageSize; + + private Integer currentPage; + public DescribeSecurityEventMarkMissListRequest() { + super("Sas", "2018-12-03", "DescribeSecurityEventMarkMissList", "sas"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getRemark() { + return this.remark; + } + + public void setRemark(String remark) { + this.remark = remark; + if(remark != null){ + putQueryParameter("Remark", remark); + } + } + + public String getEventName() { + return this.eventName; + } + + public void setEventName(String eventName) { + this.eventName = eventName; + if(eventName != null){ + putQueryParameter("EventName", eventName); + } + } + + public String getSourceIp() { + return this.sourceIp; + } + + public void setSourceIp(String sourceIp) { + this.sourceIp = sourceIp; + if(sourceIp != null){ + putQueryParameter("SourceIp", sourceIp); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putQueryParameter("CurrentPage", currentPage.toString()); + } + } + + @Override + public Class getResponseClass() { + return DescribeSecurityEventMarkMissListResponse.class; + } + +} diff --git a/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeSecurityEventMarkMissListResponse.java b/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeSecurityEventMarkMissListResponse.java new file mode 100644 index 0000000000..8f9331ef63 --- /dev/null +++ b/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeSecurityEventMarkMissListResponse.java @@ -0,0 +1,263 @@ +/* + * 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.DescribeSecurityEventMarkMissListResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeSecurityEventMarkMissListResponse extends AcsResponse { + + private String requestId; + + private List list; + + private PageInfo pageInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getList() { + return this.list; + } + + public void setList(List list) { + this.list = list; + } + + public PageInfo getPageInfo() { + return this.pageInfo; + } + + public void setPageInfo(PageInfo pageInfo) { + this.pageInfo = pageInfo; + } + + public static class SecurityEventMarkMissReponse { + + private String eventName; + + private String internetIp; + + private String eventNameOriginal; + + private Long aliUid; + + private String fieldValue; + + private String instanceId; + + private String field; + + private String intranetIp; + + private String filedAliasName; + + private String uuid; + + private String operate; + + private String eventTypeOriginal; + + private String eventType; + + private String instanceName; + + private Long id; + + public String getEventName() { + return this.eventName; + } + + public void setEventName(String eventName) { + this.eventName = eventName; + } + + public String getInternetIp() { + return this.internetIp; + } + + public void setInternetIp(String internetIp) { + this.internetIp = internetIp; + } + + public String getEventNameOriginal() { + return this.eventNameOriginal; + } + + public void setEventNameOriginal(String eventNameOriginal) { + this.eventNameOriginal = eventNameOriginal; + } + + public Long getAliUid() { + return this.aliUid; + } + + public void setAliUid(Long aliUid) { + this.aliUid = aliUid; + } + + public String getFieldValue() { + return this.fieldValue; + } + + public void setFieldValue(String fieldValue) { + this.fieldValue = fieldValue; + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getField() { + return this.field; + } + + public void setField(String field) { + this.field = field; + } + + public String getIntranetIp() { + return this.intranetIp; + } + + public void setIntranetIp(String intranetIp) { + this.intranetIp = intranetIp; + } + + public String getFiledAliasName() { + return this.filedAliasName; + } + + public void setFiledAliasName(String filedAliasName) { + this.filedAliasName = filedAliasName; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getOperate() { + return this.operate; + } + + public void setOperate(String operate) { + this.operate = operate; + } + + public String getEventTypeOriginal() { + return this.eventTypeOriginal; + } + + public void setEventTypeOriginal(String eventTypeOriginal) { + this.eventTypeOriginal = eventTypeOriginal; + } + + public String getEventType() { + return this.eventType; + } + + public void setEventType(String eventType) { + this.eventType = eventType; + } + + public String getInstanceName() { + return this.instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + } + + public static class PageInfo { + + private Integer currentPage; + + private Integer pageSize; + + private Integer totalCount; + + private Integer count; + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + } + + @Override + public DescribeSecurityEventMarkMissListResponse getInstance(UnmarshallerContext context) { + return DescribeSecurityEventMarkMissListResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/transform/v20181203/DescribeSecurityEventMarkMissListResponseUnmarshaller.java b/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/transform/v20181203/DescribeSecurityEventMarkMissListResponseUnmarshaller.java new file mode 100644 index 0000000000..0a9530d545 --- /dev/null +++ b/aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/transform/v20181203/DescribeSecurityEventMarkMissListResponseUnmarshaller.java @@ -0,0 +1,64 @@ +/* + * 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.transform.v20181203; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.sas.model.v20181203.DescribeSecurityEventMarkMissListResponse; +import com.aliyuncs.sas.model.v20181203.DescribeSecurityEventMarkMissListResponse.PageInfo; +import com.aliyuncs.sas.model.v20181203.DescribeSecurityEventMarkMissListResponse.SecurityEventMarkMissReponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeSecurityEventMarkMissListResponseUnmarshaller { + + public static DescribeSecurityEventMarkMissListResponse unmarshall(DescribeSecurityEventMarkMissListResponse describeSecurityEventMarkMissListResponse, UnmarshallerContext _ctx) { + + describeSecurityEventMarkMissListResponse.setRequestId(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.RequestId")); + + PageInfo pageInfo = new PageInfo(); + pageInfo.setCurrentPage(_ctx.integerValue("DescribeSecurityEventMarkMissListResponse.PageInfo.CurrentPage")); + pageInfo.setPageSize(_ctx.integerValue("DescribeSecurityEventMarkMissListResponse.PageInfo.PageSize")); + pageInfo.setTotalCount(_ctx.integerValue("DescribeSecurityEventMarkMissListResponse.PageInfo.TotalCount")); + pageInfo.setCount(_ctx.integerValue("DescribeSecurityEventMarkMissListResponse.PageInfo.Count")); + describeSecurityEventMarkMissListResponse.setPageInfo(pageInfo); + + List list = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeSecurityEventMarkMissListResponse.List.Length"); i++) { + SecurityEventMarkMissReponse securityEventMarkMissReponse = new SecurityEventMarkMissReponse(); + securityEventMarkMissReponse.setEventName(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].EventName")); + securityEventMarkMissReponse.setInternetIp(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].InternetIp")); + securityEventMarkMissReponse.setEventNameOriginal(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].EventNameOriginal")); + securityEventMarkMissReponse.setAliUid(_ctx.longValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].AliUid")); + securityEventMarkMissReponse.setFieldValue(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].FieldValue")); + securityEventMarkMissReponse.setInstanceId(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].InstanceId")); + securityEventMarkMissReponse.setField(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].Field")); + securityEventMarkMissReponse.setIntranetIp(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].IntranetIp")); + securityEventMarkMissReponse.setFiledAliasName(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].FiledAliasName")); + securityEventMarkMissReponse.setUuid(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].Uuid")); + securityEventMarkMissReponse.setOperate(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].Operate")); + securityEventMarkMissReponse.setEventTypeOriginal(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].EventTypeOriginal")); + securityEventMarkMissReponse.setEventType(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].EventType")); + securityEventMarkMissReponse.setInstanceName(_ctx.stringValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].InstanceName")); + securityEventMarkMissReponse.setId(_ctx.longValue("DescribeSecurityEventMarkMissListResponse.List["+ i +"].Id")); + + list.add(securityEventMarkMissReponse); + } + describeSecurityEventMarkMissListResponse.setList(list); + + return describeSecurityEventMarkMissListResponse; + } +} \ No newline at end of file