@huaweicloud/huaweicloud-sdk-cfw 3.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-cfw.d.ts +1 -0
- package/huaweicloud-sdk-cfw.js +17 -0
- package/package.json +19 -0
- package/v1/CfwClient.d.ts +1434 -0
- package/v1/CfwClient.js +3455 -0
- package/v1/CfwRegion.d.ts +16 -0
- package/v1/CfwRegion.js +47 -0
- package/v1/model/AddAddressItemsInfoDto.d.ts +12 -0
- package/v1/model/AddAddressItemsInfoDto.js +37 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +13 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js +36 -0
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts +10 -0
- package/v1/model/AddAddressItemsUsingPostRequest.js +28 -0
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts +7 -0
- package/v1/model/AddAddressItemsUsingPostResponse.js +31 -0
- package/v1/model/AddAddressSetDto.d.ts +23 -0
- package/v1/model/AddAddressSetDto.js +56 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +10 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.js +28 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +7 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.js +31 -0
- package/v1/model/AddBlackWhiteListDto.d.ts +23 -0
- package/v1/model/AddBlackWhiteListDto.js +74 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +10 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.js +28 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +7 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.js +31 -0
- package/v1/model/AddRuleAclDto.d.ts +21 -0
- package/v1/model/AddRuleAclDto.js +44 -0
- package/v1/model/AddRuleAclDtoRules.d.ts +83 -0
- package/v1/model/AddRuleAclDtoRules.js +189 -0
- package/v1/model/AddRuleAclUsingPostRequest.d.ts +10 -0
- package/v1/model/AddRuleAclUsingPostRequest.js +28 -0
- package/v1/model/AddRuleAclUsingPostResponse.d.ts +7 -0
- package/v1/model/AddRuleAclUsingPostResponse.js +31 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +12 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +39 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +21 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +66 -0
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts +10 -0
- package/v1/model/AddServiceItemsUsingPostRequest.js +28 -0
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts +7 -0
- package/v1/model/AddServiceItemsUsingPostResponse.js +31 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +11 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js +33 -0
- package/v1/model/AddServiceSetUsingPostRequest.d.ts +10 -0
- package/v1/model/AddServiceSetUsingPostRequest.js +28 -0
- package/v1/model/AddServiceSetUsingPostResponse.d.ts +7 -0
- package/v1/model/AddServiceSetUsingPostResponse.js +31 -0
- package/v1/model/AddressItemListResponseDTOData.d.ts +16 -0
- package/v1/model/AddressItemListResponseDTOData.js +39 -0
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts +17 -0
- package/v1/model/AddressItemListResponseDTODataRecords.js +49 -0
- package/v1/model/AddressItems.d.ts +6 -0
- package/v1/model/AddressItems.js +13 -0
- package/v1/model/AddressSetDetailResponseDTOData.d.ts +21 -0
- package/v1/model/AddressSetDetailResponseDTOData.js +44 -0
- package/v1/model/AddressSetListResponseDTOData.d.ts +12 -0
- package/v1/model/AddressSetListResponseDTOData.js +25 -0
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts +19 -0
- package/v1/model/AddressSetListResponseDTODataRecords.js +59 -0
- package/v1/model/BlackWhiteListResponseData.d.ts +16 -0
- package/v1/model/BlackWhiteListResponseData.js +39 -0
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts +19 -0
- package/v1/model/BlackWhiteListResponseDataRecords.js +53 -0
- package/v1/model/ChangeEwProtectStatusRequest.d.ts +10 -0
- package/v1/model/ChangeEwProtectStatusRequest.js +28 -0
- package/v1/model/ChangeEwProtectStatusResponse.d.ts +11 -0
- package/v1/model/ChangeEwProtectStatusResponse.js +45 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +10 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +28 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +7 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +31 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +10 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js +28 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +11 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js +45 -0
- package/v1/model/ChangeProtectEipRequest.d.ts +10 -0
- package/v1/model/ChangeProtectEipRequest.js +28 -0
- package/v1/model/ChangeProtectEipResponse.d.ts +7 -0
- package/v1/model/ChangeProtectEipResponse.js +31 -0
- package/v1/model/ChangeProtectStatusRequestBody.d.ts +17 -0
- package/v1/model/ChangeProtectStatusRequestBody.js +38 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +7 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.js +24 -0
- package/v1/model/CommonResponseDTOData.d.ts +5 -0
- package/v1/model/CommonResponseDTOData.js +13 -0
- package/v1/model/CountEipsRequest.d.ts +11 -0
- package/v1/model/CountEipsRequest.js +39 -0
- package/v1/model/CountEipsResponse.d.ts +16 -0
- package/v1/model/CountEipsResponse.js +69 -0
- package/v1/model/DeleteAclRuleCountRequest.d.ts +10 -0
- package/v1/model/DeleteAclRuleCountRequest.js +28 -0
- package/v1/model/DeleteAclRuleCountResponse.d.ts +6 -0
- package/v1/model/DeleteAclRuleCountResponse.js +31 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js +31 -0
- package/v1/model/DnsServersResponseDTO.d.ts +17 -0
- package/v1/model/DnsServersResponseDTO.js +55 -0
- package/v1/model/EipOperateProtectReq.d.ts +14 -0
- package/v1/model/EipOperateProtectReq.js +44 -0
- package/v1/model/EipOperateProtectReqIpInfos.d.ts +13 -0
- package/v1/model/EipOperateProtectReqIpInfos.js +41 -0
- package/v1/model/ErInstance.d.ts +21 -0
- package/v1/model/ErInstance.js +63 -0
- package/v1/model/EwProtectResourceInfo.d.ts +27 -0
- package/v1/model/EwProtectResourceInfo.js +96 -0
- package/v1/model/Flavor.d.ts +29 -0
- package/v1/model/Flavor.js +70 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +41 -0
- package/v1/model/GetEastWestFirewallResponseBody.js +113 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +41 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +133 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +70 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +200 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +49 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +136 -0
- package/v1/model/IdObject.d.ts +5 -0
- package/v1/model/IdObject.js +13 -0
- package/v1/model/IpsProtectDTO.d.ts +9 -0
- package/v1/model/IpsProtectDTO.js +27 -0
- package/v1/model/IpsSwitchDTO.d.ts +21 -0
- package/v1/model/IpsSwitchDTO.js +52 -0
- package/v1/model/ListAccessControlLogsRequest.d.ts +68 -0
- package/v1/model/ListAccessControlLogsRequest.js +208 -0
- package/v1/model/ListAccessControlLogsResponse.d.ts +7 -0
- package/v1/model/ListAccessControlLogsResponse.js +31 -0
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts +21 -0
- package/v1/model/ListAddressItemsUsingGetRequest.js +67 -0
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressItemsUsingGetResponse.js +31 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +11 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.js +39 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.js +31 -0
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts +33 -0
- package/v1/model/ListAddressSetListUsingGetRequest.js +90 -0
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressSetListUsingGetResponse.js +31 -0
- package/v1/model/ListAttackLogsRequest.d.ts +93 -0
- package/v1/model/ListAttackLogsRequest.js +242 -0
- package/v1/model/ListAttackLogsResponse.d.ts +7 -0
- package/v1/model/ListAttackLogsResponse.js +31 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +44 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js +105 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js +31 -0
- package/v1/model/ListDnsServersRequest.d.ts +11 -0
- package/v1/model/ListDnsServersRequest.js +32 -0
- package/v1/model/ListDnsServersResponse.d.ts +9 -0
- package/v1/model/ListDnsServersResponse.js +35 -0
- package/v1/model/ListEastWestFirewallRequest.d.ts +11 -0
- package/v1/model/ListEastWestFirewallRequest.js +34 -0
- package/v1/model/ListEastWestFirewallResponse.d.ts +7 -0
- package/v1/model/ListEastWestFirewallResponse.js +31 -0
- package/v1/model/ListEipResourcesRequest.d.ts +52 -0
- package/v1/model/ListEipResourcesRequest.js +132 -0
- package/v1/model/ListEipResourcesResponse.d.ts +44 -0
- package/v1/model/ListEipResourcesResponse.js +142 -0
- package/v1/model/ListFirewallUsingGetRequest.d.ts +23 -0
- package/v1/model/ListFirewallUsingGetRequest.js +58 -0
- package/v1/model/ListFirewallUsingGetResponse.d.ts +79 -0
- package/v1/model/ListFirewallUsingGetResponse.js +203 -0
- package/v1/model/ListFlowLogsRequest.d.ts +76 -0
- package/v1/model/ListFlowLogsRequest.js +209 -0
- package/v1/model/ListFlowLogsResponse.d.ts +7 -0
- package/v1/model/ListFlowLogsResponse.js +31 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +11 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.js +39 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +10 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.js +45 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +11 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +39 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +16 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +69 -0
- package/v1/model/ListParseDomainDetailsRequest.d.ts +11 -0
- package/v1/model/ListParseDomainDetailsRequest.js +39 -0
- package/v1/model/ListParseDomainDetailsResponse.d.ts +6 -0
- package/v1/model/ListParseDomainDetailsResponse.js +31 -0
- package/v1/model/ListRuleAclUsingPutRequest.d.ts +14 -0
- package/v1/model/ListRuleAclUsingPutRequest.js +43 -0
- package/v1/model/ListRuleAclUsingPutResponse.d.ts +7 -0
- package/v1/model/ListRuleAclUsingPutResponse.js +31 -0
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts +79 -0
- package/v1/model/ListRuleAclsUsingGetRequest.js +150 -0
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListRuleAclsUsingGetResponse.js +31 -0
- package/v1/model/ListRuleHitCountDto.d.ts +7 -0
- package/v1/model/ListRuleHitCountDto.js +24 -0
- package/v1/model/ListRuleHitCountRequest.d.ts +10 -0
- package/v1/model/ListRuleHitCountRequest.js +28 -0
- package/v1/model/ListRuleHitCountResponse.d.ts +7 -0
- package/v1/model/ListRuleHitCountResponse.js +31 -0
- package/v1/model/ListServiceItemsDetailsRequest.d.ts +19 -0
- package/v1/model/ListServiceItemsDetailsRequest.js +63 -0
- package/v1/model/ListServiceItemsDetailsResponse.d.ts +7 -0
- package/v1/model/ListServiceItemsDetailsResponse.js +31 -0
- package/v1/model/ListServiceSetDetailsRequest.d.ts +11 -0
- package/v1/model/ListServiceSetDetailsRequest.js +39 -0
- package/v1/model/ListServiceSetDetailsResponse.d.ts +10 -0
- package/v1/model/ListServiceSetDetailsResponse.js +39 -0
- package/v1/model/ListServiceSetRequest.d.ts +19 -0
- package/v1/model/ListServiceSetRequest.js +63 -0
- package/v1/model/ListServiceSetResponse.d.ts +7 -0
- package/v1/model/ListServiceSetResponse.js +31 -0
- package/v1/model/ListVpcProtectsRequest.d.ts +11 -0
- package/v1/model/ListVpcProtectsRequest.js +39 -0
- package/v1/model/ListVpcProtectsResponse.d.ts +11 -0
- package/v1/model/ListVpcProtectsResponse.js +45 -0
- package/v1/model/OrderRuleAclDto.d.ts +9 -0
- package/v1/model/OrderRuleAclDto.js +27 -0
- package/v1/model/Packet.d.ts +13 -0
- package/v1/model/Packet.js +41 -0
- package/v1/model/ProtectObjectVO.d.ts +21 -0
- package/v1/model/ProtectObjectVO.js +50 -0
- package/v1/model/RuleAclListResponseDTOData.d.ts +16 -0
- package/v1/model/RuleAclListResponseDTOData.js +39 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +62 -0
- package/v1/model/RuleAclListResponseDTODataRecords.js +162 -0
- package/v1/model/RuleAddressDto.d.ts +23 -0
- package/v1/model/RuleAddressDto.js +74 -0
- package/v1/model/RuleHitCountObject.d.ts +11 -0
- package/v1/model/RuleHitCountObject.js +37 -0
- package/v1/model/RuleHitCountRecords.d.ts +12 -0
- package/v1/model/RuleHitCountRecords.js +25 -0
- package/v1/model/RuleId.d.ts +5 -0
- package/v1/model/RuleId.js +13 -0
- package/v1/model/RuleIdList.d.ts +6 -0
- package/v1/model/RuleIdList.js +13 -0
- package/v1/model/RuleServiceDto.d.ts +23 -0
- package/v1/model/RuleServiceDto.js +74 -0
- package/v1/model/ServiceItemIds.d.ts +6 -0
- package/v1/model/ServiceItemIds.js +13 -0
- package/v1/model/ServiceItemListResponseDtoData.d.ts +12 -0
- package/v1/model/ServiceItemListResponseDtoData.js +25 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +21 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +63 -0
- package/v1/model/ServiceSet.d.ts +17 -0
- package/v1/model/ServiceSet.js +49 -0
- package/v1/model/ServiceSetRecords.d.ts +12 -0
- package/v1/model/ServiceSetRecords.js +25 -0
- package/v1/model/SubnetInfo.d.ts +23 -0
- package/v1/model/SubnetInfo.js +69 -0
- package/v1/model/SuccessRspData.d.ts +5 -0
- package/v1/model/SuccessRspData.js +13 -0
- package/v1/model/Tag.d.ts +7 -0
- package/v1/model/Tag.js +17 -0
- package/v1/model/UpdateAddressSetDto.d.ts +7 -0
- package/v1/model/UpdateAddressSetDto.js +17 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +43 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +31 -0
- package/v1/model/UpdateBlackWhiteListDto.d.ts +15 -0
- package/v1/model/UpdateBlackWhiteListDto.js +39 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +43 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +31 -0
- package/v1/model/UpdateDnsServersRequest.d.ts +10 -0
- package/v1/model/UpdateDnsServersRequest.js +28 -0
- package/v1/model/UpdateDnsServersRequestBody.d.ts +8 -0
- package/v1/model/UpdateDnsServersRequestBody.js +23 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +15 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +51 -0
- package/v1/model/UpdateDnsServersResponse.d.ts +6 -0
- package/v1/model/UpdateDnsServersResponse.js +31 -0
- package/v1/model/UpdateRuleAclDto.d.ts +82 -0
- package/v1/model/UpdateRuleAclDto.js +175 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.js +43 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.js +31 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +7 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +17 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.js +43 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.js +31 -0
- package/v1/model/VPCProtectsVo.d.ts +26 -0
- package/v1/model/VPCProtectsVo.js +83 -0
- package/v1/model/VpcAttachmentDetail.d.ts +42 -0
- package/v1/model/VpcAttachmentDetail.js +127 -0
- package/v1/model/VpcDetail.d.ts +11 -0
- package/v1/model/VpcDetail.js +25 -0
- package/v1/public-api.d.ts +155 -0
- package/v1/public-api.js +171 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ProtectObjectVOTypeEnum = exports.ProtectObjectVO = void 0;
|
4
|
+
var ProtectObjectVO = /** @class */ (function () {
|
5
|
+
function ProtectObjectVO() {
|
6
|
+
}
|
7
|
+
ProtectObjectVO.prototype.withObjectId = function (objectId) {
|
8
|
+
this['object_id'] = objectId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ProtectObjectVO.prototype, "objectId", {
|
12
|
+
get: function () {
|
13
|
+
return this['object_id'];
|
14
|
+
},
|
15
|
+
set: function (objectId) {
|
16
|
+
this['object_id'] = objectId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ProtectObjectVO.prototype.withObjectName = function (objectName) {
|
22
|
+
this['object_name'] = objectName;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(ProtectObjectVO.prototype, "objectName", {
|
26
|
+
get: function () {
|
27
|
+
return this['object_name'];
|
28
|
+
},
|
29
|
+
set: function (objectName) {
|
30
|
+
this['object_name'] = objectName;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
ProtectObjectVO.prototype.withType = function (type) {
|
36
|
+
this['type'] = type;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
return ProtectObjectVO;
|
40
|
+
}());
|
41
|
+
exports.ProtectObjectVO = ProtectObjectVO;
|
42
|
+
/**
|
43
|
+
* @export
|
44
|
+
* @enum {string}
|
45
|
+
*/
|
46
|
+
var ProtectObjectVOTypeEnum;
|
47
|
+
(function (ProtectObjectVOTypeEnum) {
|
48
|
+
ProtectObjectVOTypeEnum[ProtectObjectVOTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
49
|
+
ProtectObjectVOTypeEnum[ProtectObjectVOTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
50
|
+
})(ProtectObjectVOTypeEnum = exports.ProtectObjectVOTypeEnum || (exports.ProtectObjectVOTypeEnum = {}));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { RuleAclListResponseDTODataRecords } from './RuleAclListResponseDTODataRecords';
|
2
|
+
export declare class RuleAclListResponseDTOData {
|
3
|
+
offset?: number;
|
4
|
+
limit?: number;
|
5
|
+
total?: number;
|
6
|
+
private 'object_id'?;
|
7
|
+
records?: Array<RuleAclListResponseDTODataRecords>;
|
8
|
+
constructor();
|
9
|
+
withOffset(offset: number): RuleAclListResponseDTOData;
|
10
|
+
withLimit(limit: number): RuleAclListResponseDTOData;
|
11
|
+
withTotal(total: number): RuleAclListResponseDTOData;
|
12
|
+
withObjectId(objectId: string): RuleAclListResponseDTOData;
|
13
|
+
set objectId(objectId: string | undefined);
|
14
|
+
get objectId(): string | undefined;
|
15
|
+
withRecords(records: Array<RuleAclListResponseDTODataRecords>): RuleAclListResponseDTOData;
|
16
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuleAclListResponseDTOData = void 0;
|
4
|
+
var RuleAclListResponseDTOData = /** @class */ (function () {
|
5
|
+
function RuleAclListResponseDTOData() {
|
6
|
+
}
|
7
|
+
RuleAclListResponseDTOData.prototype.withOffset = function (offset) {
|
8
|
+
this['offset'] = offset;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
RuleAclListResponseDTOData.prototype.withLimit = function (limit) {
|
12
|
+
this['limit'] = limit;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
RuleAclListResponseDTOData.prototype.withTotal = function (total) {
|
16
|
+
this['total'] = total;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
RuleAclListResponseDTOData.prototype.withObjectId = function (objectId) {
|
20
|
+
this['object_id'] = objectId;
|
21
|
+
return this;
|
22
|
+
};
|
23
|
+
Object.defineProperty(RuleAclListResponseDTOData.prototype, "objectId", {
|
24
|
+
get: function () {
|
25
|
+
return this['object_id'];
|
26
|
+
},
|
27
|
+
set: function (objectId) {
|
28
|
+
this['object_id'] = objectId;
|
29
|
+
},
|
30
|
+
enumerable: false,
|
31
|
+
configurable: true
|
32
|
+
});
|
33
|
+
RuleAclListResponseDTOData.prototype.withRecords = function (records) {
|
34
|
+
this['records'] = records;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
return RuleAclListResponseDTOData;
|
38
|
+
}());
|
39
|
+
exports.RuleAclListResponseDTOData = RuleAclListResponseDTOData;
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { OrderRuleAclDto } from './OrderRuleAclDto';
|
2
|
+
import { RuleAddressDto } from './RuleAddressDto';
|
3
|
+
import { RuleServiceDto } from './RuleServiceDto';
|
4
|
+
export declare class RuleAclListResponseDTODataRecords {
|
5
|
+
private 'rule_id'?;
|
6
|
+
private 'address_type'?;
|
7
|
+
name?: string;
|
8
|
+
sequence?: OrderRuleAclDto;
|
9
|
+
direction?: RuleAclListResponseDTODataRecordsDirectionEnum;
|
10
|
+
private 'action_type'?;
|
11
|
+
status?: number;
|
12
|
+
description?: string;
|
13
|
+
private 'long_connect_time_hour'?;
|
14
|
+
private 'long_connect_time_minute'?;
|
15
|
+
private 'long_connect_time_second'?;
|
16
|
+
private 'long_connect_time'?;
|
17
|
+
private 'long_connect_enable'?;
|
18
|
+
source?: RuleAddressDto;
|
19
|
+
destination?: RuleAddressDto;
|
20
|
+
service?: RuleServiceDto;
|
21
|
+
constructor();
|
22
|
+
withRuleId(ruleId: string): RuleAclListResponseDTODataRecords;
|
23
|
+
set ruleId(ruleId: string | undefined);
|
24
|
+
get ruleId(): string | undefined;
|
25
|
+
withAddressType(addressType: number): RuleAclListResponseDTODataRecords;
|
26
|
+
set addressType(addressType: number | undefined);
|
27
|
+
get addressType(): number | undefined;
|
28
|
+
withName(name: string): RuleAclListResponseDTODataRecords;
|
29
|
+
withSequence(sequence: OrderRuleAclDto): RuleAclListResponseDTODataRecords;
|
30
|
+
withDirection(direction: RuleAclListResponseDTODataRecordsDirectionEnum): RuleAclListResponseDTODataRecords;
|
31
|
+
withActionType(actionType: number): RuleAclListResponseDTODataRecords;
|
32
|
+
set actionType(actionType: number | undefined);
|
33
|
+
get actionType(): number | undefined;
|
34
|
+
withStatus(status: number): RuleAclListResponseDTODataRecords;
|
35
|
+
withDescription(description: string): RuleAclListResponseDTODataRecords;
|
36
|
+
withLongConnectTimeHour(longConnectTimeHour: number): RuleAclListResponseDTODataRecords;
|
37
|
+
set longConnectTimeHour(longConnectTimeHour: number | undefined);
|
38
|
+
get longConnectTimeHour(): number | undefined;
|
39
|
+
withLongConnectTimeMinute(longConnectTimeMinute: number): RuleAclListResponseDTODataRecords;
|
40
|
+
set longConnectTimeMinute(longConnectTimeMinute: number | undefined);
|
41
|
+
get longConnectTimeMinute(): number | undefined;
|
42
|
+
withLongConnectTimeSecond(longConnectTimeSecond: number): RuleAclListResponseDTODataRecords;
|
43
|
+
set longConnectTimeSecond(longConnectTimeSecond: number | undefined);
|
44
|
+
get longConnectTimeSecond(): number | undefined;
|
45
|
+
withLongConnectTime(longConnectTime: number): RuleAclListResponseDTODataRecords;
|
46
|
+
set longConnectTime(longConnectTime: number | undefined);
|
47
|
+
get longConnectTime(): number | undefined;
|
48
|
+
withLongConnectEnable(longConnectEnable: number): RuleAclListResponseDTODataRecords;
|
49
|
+
set longConnectEnable(longConnectEnable: number | undefined);
|
50
|
+
get longConnectEnable(): number | undefined;
|
51
|
+
withSource(source: RuleAddressDto): RuleAclListResponseDTODataRecords;
|
52
|
+
withDestination(destination: RuleAddressDto): RuleAclListResponseDTODataRecords;
|
53
|
+
withService(service: RuleServiceDto): RuleAclListResponseDTODataRecords;
|
54
|
+
}
|
55
|
+
/**
|
56
|
+
* @export
|
57
|
+
* @enum {string}
|
58
|
+
*/
|
59
|
+
export declare enum RuleAclListResponseDTODataRecordsDirectionEnum {
|
60
|
+
NUMBER_0 = 0,
|
61
|
+
NUMBER_1 = 1
|
62
|
+
}
|
@@ -0,0 +1,162 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuleAclListResponseDTODataRecordsDirectionEnum = exports.RuleAclListResponseDTODataRecords = void 0;
|
4
|
+
var RuleAclListResponseDTODataRecords = /** @class */ (function () {
|
5
|
+
function RuleAclListResponseDTODataRecords() {
|
6
|
+
}
|
7
|
+
RuleAclListResponseDTODataRecords.prototype.withRuleId = function (ruleId) {
|
8
|
+
this['rule_id'] = ruleId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(RuleAclListResponseDTODataRecords.prototype, "ruleId", {
|
12
|
+
get: function () {
|
13
|
+
return this['rule_id'];
|
14
|
+
},
|
15
|
+
set: function (ruleId) {
|
16
|
+
this['rule_id'] = ruleId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
RuleAclListResponseDTODataRecords.prototype.withAddressType = function (addressType) {
|
22
|
+
this['address_type'] = addressType;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(RuleAclListResponseDTODataRecords.prototype, "addressType", {
|
26
|
+
get: function () {
|
27
|
+
return this['address_type'];
|
28
|
+
},
|
29
|
+
set: function (addressType) {
|
30
|
+
this['address_type'] = addressType;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
RuleAclListResponseDTODataRecords.prototype.withName = function (name) {
|
36
|
+
this['name'] = name;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
RuleAclListResponseDTODataRecords.prototype.withSequence = function (sequence) {
|
40
|
+
this['sequence'] = sequence;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
RuleAclListResponseDTODataRecords.prototype.withDirection = function (direction) {
|
44
|
+
this['direction'] = direction;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
RuleAclListResponseDTODataRecords.prototype.withActionType = function (actionType) {
|
48
|
+
this['action_type'] = actionType;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
Object.defineProperty(RuleAclListResponseDTODataRecords.prototype, "actionType", {
|
52
|
+
get: function () {
|
53
|
+
return this['action_type'];
|
54
|
+
},
|
55
|
+
set: function (actionType) {
|
56
|
+
this['action_type'] = actionType;
|
57
|
+
},
|
58
|
+
enumerable: false,
|
59
|
+
configurable: true
|
60
|
+
});
|
61
|
+
RuleAclListResponseDTODataRecords.prototype.withStatus = function (status) {
|
62
|
+
this['status'] = status;
|
63
|
+
return this;
|
64
|
+
};
|
65
|
+
RuleAclListResponseDTODataRecords.prototype.withDescription = function (description) {
|
66
|
+
this['description'] = description;
|
67
|
+
return this;
|
68
|
+
};
|
69
|
+
RuleAclListResponseDTODataRecords.prototype.withLongConnectTimeHour = function (longConnectTimeHour) {
|
70
|
+
this['long_connect_time_hour'] = longConnectTimeHour;
|
71
|
+
return this;
|
72
|
+
};
|
73
|
+
Object.defineProperty(RuleAclListResponseDTODataRecords.prototype, "longConnectTimeHour", {
|
74
|
+
get: function () {
|
75
|
+
return this['long_connect_time_hour'];
|
76
|
+
},
|
77
|
+
set: function (longConnectTimeHour) {
|
78
|
+
this['long_connect_time_hour'] = longConnectTimeHour;
|
79
|
+
},
|
80
|
+
enumerable: false,
|
81
|
+
configurable: true
|
82
|
+
});
|
83
|
+
RuleAclListResponseDTODataRecords.prototype.withLongConnectTimeMinute = function (longConnectTimeMinute) {
|
84
|
+
this['long_connect_time_minute'] = longConnectTimeMinute;
|
85
|
+
return this;
|
86
|
+
};
|
87
|
+
Object.defineProperty(RuleAclListResponseDTODataRecords.prototype, "longConnectTimeMinute", {
|
88
|
+
get: function () {
|
89
|
+
return this['long_connect_time_minute'];
|
90
|
+
},
|
91
|
+
set: function (longConnectTimeMinute) {
|
92
|
+
this['long_connect_time_minute'] = longConnectTimeMinute;
|
93
|
+
},
|
94
|
+
enumerable: false,
|
95
|
+
configurable: true
|
96
|
+
});
|
97
|
+
RuleAclListResponseDTODataRecords.prototype.withLongConnectTimeSecond = function (longConnectTimeSecond) {
|
98
|
+
this['long_connect_time_second'] = longConnectTimeSecond;
|
99
|
+
return this;
|
100
|
+
};
|
101
|
+
Object.defineProperty(RuleAclListResponseDTODataRecords.prototype, "longConnectTimeSecond", {
|
102
|
+
get: function () {
|
103
|
+
return this['long_connect_time_second'];
|
104
|
+
},
|
105
|
+
set: function (longConnectTimeSecond) {
|
106
|
+
this['long_connect_time_second'] = longConnectTimeSecond;
|
107
|
+
},
|
108
|
+
enumerable: false,
|
109
|
+
configurable: true
|
110
|
+
});
|
111
|
+
RuleAclListResponseDTODataRecords.prototype.withLongConnectTime = function (longConnectTime) {
|
112
|
+
this['long_connect_time'] = longConnectTime;
|
113
|
+
return this;
|
114
|
+
};
|
115
|
+
Object.defineProperty(RuleAclListResponseDTODataRecords.prototype, "longConnectTime", {
|
116
|
+
get: function () {
|
117
|
+
return this['long_connect_time'];
|
118
|
+
},
|
119
|
+
set: function (longConnectTime) {
|
120
|
+
this['long_connect_time'] = longConnectTime;
|
121
|
+
},
|
122
|
+
enumerable: false,
|
123
|
+
configurable: true
|
124
|
+
});
|
125
|
+
RuleAclListResponseDTODataRecords.prototype.withLongConnectEnable = function (longConnectEnable) {
|
126
|
+
this['long_connect_enable'] = longConnectEnable;
|
127
|
+
return this;
|
128
|
+
};
|
129
|
+
Object.defineProperty(RuleAclListResponseDTODataRecords.prototype, "longConnectEnable", {
|
130
|
+
get: function () {
|
131
|
+
return this['long_connect_enable'];
|
132
|
+
},
|
133
|
+
set: function (longConnectEnable) {
|
134
|
+
this['long_connect_enable'] = longConnectEnable;
|
135
|
+
},
|
136
|
+
enumerable: false,
|
137
|
+
configurable: true
|
138
|
+
});
|
139
|
+
RuleAclListResponseDTODataRecords.prototype.withSource = function (source) {
|
140
|
+
this['source'] = source;
|
141
|
+
return this;
|
142
|
+
};
|
143
|
+
RuleAclListResponseDTODataRecords.prototype.withDestination = function (destination) {
|
144
|
+
this['destination'] = destination;
|
145
|
+
return this;
|
146
|
+
};
|
147
|
+
RuleAclListResponseDTODataRecords.prototype.withService = function (service) {
|
148
|
+
this['service'] = service;
|
149
|
+
return this;
|
150
|
+
};
|
151
|
+
return RuleAclListResponseDTODataRecords;
|
152
|
+
}());
|
153
|
+
exports.RuleAclListResponseDTODataRecords = RuleAclListResponseDTODataRecords;
|
154
|
+
/**
|
155
|
+
* @export
|
156
|
+
* @enum {string}
|
157
|
+
*/
|
158
|
+
var RuleAclListResponseDTODataRecordsDirectionEnum;
|
159
|
+
(function (RuleAclListResponseDTODataRecordsDirectionEnum) {
|
160
|
+
RuleAclListResponseDTODataRecordsDirectionEnum[RuleAclListResponseDTODataRecordsDirectionEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
161
|
+
RuleAclListResponseDTODataRecordsDirectionEnum[RuleAclListResponseDTODataRecordsDirectionEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
162
|
+
})(RuleAclListResponseDTODataRecordsDirectionEnum = exports.RuleAclListResponseDTODataRecordsDirectionEnum || (exports.RuleAclListResponseDTODataRecordsDirectionEnum = {}));
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare class RuleAddressDto {
|
2
|
+
type: number;
|
3
|
+
private 'address_type'?;
|
4
|
+
address?: string;
|
5
|
+
private 'address_set_id'?;
|
6
|
+
private 'address_set_name'?;
|
7
|
+
private 'domain_address_name'?;
|
8
|
+
constructor(type?: any);
|
9
|
+
withType(type: number): RuleAddressDto;
|
10
|
+
withAddressType(addressType: number): RuleAddressDto;
|
11
|
+
set addressType(addressType: number | undefined);
|
12
|
+
get addressType(): number | undefined;
|
13
|
+
withAddress(address: string): RuleAddressDto;
|
14
|
+
withAddressSetId(addressSetId: string): RuleAddressDto;
|
15
|
+
set addressSetId(addressSetId: string | undefined);
|
16
|
+
get addressSetId(): string | undefined;
|
17
|
+
withAddressSetName(addressSetName: string): RuleAddressDto;
|
18
|
+
set addressSetName(addressSetName: string | undefined);
|
19
|
+
get addressSetName(): string | undefined;
|
20
|
+
withDomainAddressName(domainAddressName: string): RuleAddressDto;
|
21
|
+
set domainAddressName(domainAddressName: string | undefined);
|
22
|
+
get domainAddressName(): string | undefined;
|
23
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuleAddressDto = void 0;
|
4
|
+
var RuleAddressDto = /** @class */ (function () {
|
5
|
+
function RuleAddressDto(type) {
|
6
|
+
this['type'] = type;
|
7
|
+
}
|
8
|
+
RuleAddressDto.prototype.withType = function (type) {
|
9
|
+
this['type'] = type;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
RuleAddressDto.prototype.withAddressType = function (addressType) {
|
13
|
+
this['address_type'] = addressType;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
Object.defineProperty(RuleAddressDto.prototype, "addressType", {
|
17
|
+
get: function () {
|
18
|
+
return this['address_type'];
|
19
|
+
},
|
20
|
+
set: function (addressType) {
|
21
|
+
this['address_type'] = addressType;
|
22
|
+
},
|
23
|
+
enumerable: false,
|
24
|
+
configurable: true
|
25
|
+
});
|
26
|
+
RuleAddressDto.prototype.withAddress = function (address) {
|
27
|
+
this['address'] = address;
|
28
|
+
return this;
|
29
|
+
};
|
30
|
+
RuleAddressDto.prototype.withAddressSetId = function (addressSetId) {
|
31
|
+
this['address_set_id'] = addressSetId;
|
32
|
+
return this;
|
33
|
+
};
|
34
|
+
Object.defineProperty(RuleAddressDto.prototype, "addressSetId", {
|
35
|
+
get: function () {
|
36
|
+
return this['address_set_id'];
|
37
|
+
},
|
38
|
+
set: function (addressSetId) {
|
39
|
+
this['address_set_id'] = addressSetId;
|
40
|
+
},
|
41
|
+
enumerable: false,
|
42
|
+
configurable: true
|
43
|
+
});
|
44
|
+
RuleAddressDto.prototype.withAddressSetName = function (addressSetName) {
|
45
|
+
this['address_set_name'] = addressSetName;
|
46
|
+
return this;
|
47
|
+
};
|
48
|
+
Object.defineProperty(RuleAddressDto.prototype, "addressSetName", {
|
49
|
+
get: function () {
|
50
|
+
return this['address_set_name'];
|
51
|
+
},
|
52
|
+
set: function (addressSetName) {
|
53
|
+
this['address_set_name'] = addressSetName;
|
54
|
+
},
|
55
|
+
enumerable: false,
|
56
|
+
configurable: true
|
57
|
+
});
|
58
|
+
RuleAddressDto.prototype.withDomainAddressName = function (domainAddressName) {
|
59
|
+
this['domain_address_name'] = domainAddressName;
|
60
|
+
return this;
|
61
|
+
};
|
62
|
+
Object.defineProperty(RuleAddressDto.prototype, "domainAddressName", {
|
63
|
+
get: function () {
|
64
|
+
return this['domain_address_name'];
|
65
|
+
},
|
66
|
+
set: function (domainAddressName) {
|
67
|
+
this['domain_address_name'] = domainAddressName;
|
68
|
+
},
|
69
|
+
enumerable: false,
|
70
|
+
configurable: true
|
71
|
+
});
|
72
|
+
return RuleAddressDto;
|
73
|
+
}());
|
74
|
+
exports.RuleAddressDto = RuleAddressDto;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class RuleHitCountObject {
|
2
|
+
private 'rule_id'?;
|
3
|
+
private 'rule_hit_count'?;
|
4
|
+
constructor();
|
5
|
+
withRuleId(ruleId: string): RuleHitCountObject;
|
6
|
+
set ruleId(ruleId: string | undefined);
|
7
|
+
get ruleId(): string | undefined;
|
8
|
+
withRuleHitCount(ruleHitCount: number): RuleHitCountObject;
|
9
|
+
set ruleHitCount(ruleHitCount: number | undefined);
|
10
|
+
get ruleHitCount(): number | undefined;
|
11
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuleHitCountObject = void 0;
|
4
|
+
var RuleHitCountObject = /** @class */ (function () {
|
5
|
+
function RuleHitCountObject() {
|
6
|
+
}
|
7
|
+
RuleHitCountObject.prototype.withRuleId = function (ruleId) {
|
8
|
+
this['rule_id'] = ruleId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(RuleHitCountObject.prototype, "ruleId", {
|
12
|
+
get: function () {
|
13
|
+
return this['rule_id'];
|
14
|
+
},
|
15
|
+
set: function (ruleId) {
|
16
|
+
this['rule_id'] = ruleId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
RuleHitCountObject.prototype.withRuleHitCount = function (ruleHitCount) {
|
22
|
+
this['rule_hit_count'] = ruleHitCount;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(RuleHitCountObject.prototype, "ruleHitCount", {
|
26
|
+
get: function () {
|
27
|
+
return this['rule_hit_count'];
|
28
|
+
},
|
29
|
+
set: function (ruleHitCount) {
|
30
|
+
this['rule_hit_count'] = ruleHitCount;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
return RuleHitCountObject;
|
36
|
+
}());
|
37
|
+
exports.RuleHitCountObject = RuleHitCountObject;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { RuleHitCountObject } from './RuleHitCountObject';
|
2
|
+
export declare class RuleHitCountRecords {
|
3
|
+
limit?: number;
|
4
|
+
offset?: number;
|
5
|
+
total?: number;
|
6
|
+
records?: Array<RuleHitCountObject>;
|
7
|
+
constructor();
|
8
|
+
withLimit(limit: number): RuleHitCountRecords;
|
9
|
+
withOffset(offset: number): RuleHitCountRecords;
|
10
|
+
withTotal(total: number): RuleHitCountRecords;
|
11
|
+
withRecords(records: Array<RuleHitCountObject>): RuleHitCountRecords;
|
12
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuleHitCountRecords = void 0;
|
4
|
+
var RuleHitCountRecords = /** @class */ (function () {
|
5
|
+
function RuleHitCountRecords() {
|
6
|
+
}
|
7
|
+
RuleHitCountRecords.prototype.withLimit = function (limit) {
|
8
|
+
this['limit'] = limit;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
RuleHitCountRecords.prototype.withOffset = function (offset) {
|
12
|
+
this['offset'] = offset;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
RuleHitCountRecords.prototype.withTotal = function (total) {
|
16
|
+
this['total'] = total;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
RuleHitCountRecords.prototype.withRecords = function (records) {
|
20
|
+
this['records'] = records;
|
21
|
+
return this;
|
22
|
+
};
|
23
|
+
return RuleHitCountRecords;
|
24
|
+
}());
|
25
|
+
exports.RuleHitCountRecords = RuleHitCountRecords;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuleId = void 0;
|
4
|
+
var RuleId = /** @class */ (function () {
|
5
|
+
function RuleId() {
|
6
|
+
}
|
7
|
+
RuleId.prototype.withId = function (id) {
|
8
|
+
this['id'] = id;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return RuleId;
|
12
|
+
}());
|
13
|
+
exports.RuleId = RuleId;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuleIdList = void 0;
|
4
|
+
var RuleIdList = /** @class */ (function () {
|
5
|
+
function RuleIdList() {
|
6
|
+
}
|
7
|
+
RuleIdList.prototype.withRules = function (rules) {
|
8
|
+
this['rules'] = rules;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return RuleIdList;
|
12
|
+
}());
|
13
|
+
exports.RuleIdList = RuleIdList;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare class RuleServiceDto {
|
2
|
+
type: number;
|
3
|
+
protocol?: number;
|
4
|
+
private 'source_port'?;
|
5
|
+
private 'dest_port'?;
|
6
|
+
private 'service_set_id'?;
|
7
|
+
private 'service_set_name'?;
|
8
|
+
constructor(type?: any);
|
9
|
+
withType(type: number): RuleServiceDto;
|
10
|
+
withProtocol(protocol: number): RuleServiceDto;
|
11
|
+
withSourcePort(sourcePort: string): RuleServiceDto;
|
12
|
+
set sourcePort(sourcePort: string | undefined);
|
13
|
+
get sourcePort(): string | undefined;
|
14
|
+
withDestPort(destPort: string): RuleServiceDto;
|
15
|
+
set destPort(destPort: string | undefined);
|
16
|
+
get destPort(): string | undefined;
|
17
|
+
withServiceSetId(serviceSetId: string): RuleServiceDto;
|
18
|
+
set serviceSetId(serviceSetId: string | undefined);
|
19
|
+
get serviceSetId(): string | undefined;
|
20
|
+
withServiceSetName(serviceSetName: string): RuleServiceDto;
|
21
|
+
set serviceSetName(serviceSetName: string | undefined);
|
22
|
+
get serviceSetName(): string | undefined;
|
23
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RuleServiceDto = void 0;
|
4
|
+
var RuleServiceDto = /** @class */ (function () {
|
5
|
+
function RuleServiceDto(type) {
|
6
|
+
this['type'] = type;
|
7
|
+
}
|
8
|
+
RuleServiceDto.prototype.withType = function (type) {
|
9
|
+
this['type'] = type;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
RuleServiceDto.prototype.withProtocol = function (protocol) {
|
13
|
+
this['protocol'] = protocol;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
RuleServiceDto.prototype.withSourcePort = function (sourcePort) {
|
17
|
+
this['source_port'] = sourcePort;
|
18
|
+
return this;
|
19
|
+
};
|
20
|
+
Object.defineProperty(RuleServiceDto.prototype, "sourcePort", {
|
21
|
+
get: function () {
|
22
|
+
return this['source_port'];
|
23
|
+
},
|
24
|
+
set: function (sourcePort) {
|
25
|
+
this['source_port'] = sourcePort;
|
26
|
+
},
|
27
|
+
enumerable: false,
|
28
|
+
configurable: true
|
29
|
+
});
|
30
|
+
RuleServiceDto.prototype.withDestPort = function (destPort) {
|
31
|
+
this['dest_port'] = destPort;
|
32
|
+
return this;
|
33
|
+
};
|
34
|
+
Object.defineProperty(RuleServiceDto.prototype, "destPort", {
|
35
|
+
get: function () {
|
36
|
+
return this['dest_port'];
|
37
|
+
},
|
38
|
+
set: function (destPort) {
|
39
|
+
this['dest_port'] = destPort;
|
40
|
+
},
|
41
|
+
enumerable: false,
|
42
|
+
configurable: true
|
43
|
+
});
|
44
|
+
RuleServiceDto.prototype.withServiceSetId = function (serviceSetId) {
|
45
|
+
this['service_set_id'] = serviceSetId;
|
46
|
+
return this;
|
47
|
+
};
|
48
|
+
Object.defineProperty(RuleServiceDto.prototype, "serviceSetId", {
|
49
|
+
get: function () {
|
50
|
+
return this['service_set_id'];
|
51
|
+
},
|
52
|
+
set: function (serviceSetId) {
|
53
|
+
this['service_set_id'] = serviceSetId;
|
54
|
+
},
|
55
|
+
enumerable: false,
|
56
|
+
configurable: true
|
57
|
+
});
|
58
|
+
RuleServiceDto.prototype.withServiceSetName = function (serviceSetName) {
|
59
|
+
this['service_set_name'] = serviceSetName;
|
60
|
+
return this;
|
61
|
+
};
|
62
|
+
Object.defineProperty(RuleServiceDto.prototype, "serviceSetName", {
|
63
|
+
get: function () {
|
64
|
+
return this['service_set_name'];
|
65
|
+
},
|
66
|
+
set: function (serviceSetName) {
|
67
|
+
this['service_set_name'] = serviceSetName;
|
68
|
+
},
|
69
|
+
enumerable: false,
|
70
|
+
configurable: true
|
71
|
+
});
|
72
|
+
return RuleServiceDto;
|
73
|
+
}());
|
74
|
+
exports.RuleServiceDto = RuleServiceDto;
|