@huaweicloud/huaweicloud-sdk-cfw 3.1.12 → 3.1.14
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/CfwClient.d.ts +1 -1
- package/v1/CfwClient.js +10 -7
- package/v1/model/AddRuleAclDtoRules.d.ts +5 -5
- package/v1/model/AddRuleAclDtoRules.js +1 -5
- package/v1/model/CountEipsResponse.d.ts +3 -12
- package/v1/model/CountEipsResponse.js +2 -40
- package/v1/model/EipCountRespData.d.ts +15 -0
- package/v1/model/EipCountRespData.js +51 -0
- package/v1/model/EipResource.d.ts +43 -0
- package/v1/model/EipResource.js +124 -0
- package/v1/model/EipResponseData.d.ts +12 -0
- package/v1/model/EipResponseData.js +25 -0
- package/v1/model/FirewallInstanceResource.d.ts +27 -0
- package/v1/model/FirewallInstanceResource.js +93 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +4 -4
- package/v1/model/GetEastWestFirewallResponseBody.js +6 -6
- package/v1/model/GetFirewallInstanceData.d.ts +12 -0
- package/v1/model/GetFirewallInstanceData.js +25 -0
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts +75 -0
- package/v1/model/GetFirewallInstanceResponseRecord.js +171 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +3 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +4 -0
- package/v1/model/IpsSwitchDTO.d.ts +2 -2
- package/v1/model/IpsSwitchDTO.js +2 -1
- package/v1/model/IpsSwitchResponseDTO.d.ts +13 -0
- package/v1/model/IpsSwitchResponseDTO.js +41 -0
- package/v1/model/ListAttackLogsRequest.d.ts +2 -2
- package/v1/model/ListAttackLogsRequest.js +2 -1
- package/v1/model/ListEipResourcesResponse.d.ts +3 -40
- package/v1/model/ListEipResourcesResponse.js +3 -114
- package/v1/model/ListFirewallUsingGetResponse.d.ts +3 -75
- package/v1/model/ListFirewallUsingGetResponse.js +3 -175
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +3 -12
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +2 -40
- package/v1/model/ListServiceSetDetailsResponse.d.ts +3 -6
- package/v1/model/ListServiceSetDetailsResponse.js +2 -10
- package/v1/model/PacketMessage.d.ts +13 -0
- package/v1/model/PacketMessage.js +41 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +11 -0
- package/v1/model/RuleAclListResponseDTODataRecords.js +15 -1
- package/v1/model/ServiceItemListResponseDtoData.d.ts +4 -0
- package/v1/model/ServiceItemListResponseDtoData.js +14 -0
- package/v1/model/ServiceSetDetailResponseDto.d.ts +9 -0
- package/v1/model/ServiceSetDetailResponseDto.js +22 -0
- package/v1/model/UpdateAddressSetDto.d.ts +13 -0
- package/v1/model/UpdateAddressSetDto.js +25 -1
- package/v1/model/UpdateBlackWhiteListDto.d.ts +16 -0
- package/v1/model/UpdateBlackWhiteListDto.js +38 -1
- package/v1/model/UpdateRuleAclDto.d.ts +11 -0
- package/v1/model/UpdateRuleAclDto.js +15 -1
- package/v1/public-api.d.ts +9 -0
- package/v1/public-api.js +9 -0
@@ -1,79 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { ProtectObjectVO } from './ProtectObjectVO';
|
1
|
+
import { GetFirewallInstanceData } from './GetFirewallInstanceData';
|
3
2
|
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
3
|
export declare class ListFirewallUsingGetResponse extends SdkResponse {
|
5
|
-
|
6
|
-
private 'resource_id'?;
|
7
|
-
name?: string;
|
8
|
-
private 'ha_type'?;
|
9
|
-
private 'charge_mode'?;
|
10
|
-
private 'service_type'?;
|
11
|
-
private 'engine_type'?;
|
12
|
-
flavor?: Flavor;
|
13
|
-
private 'protect_objects'?;
|
14
|
-
status?: ListFirewallUsingGetResponseStatusEnum;
|
15
|
-
description?: string;
|
16
|
-
private 'is_old_firewall_instance'?;
|
17
|
-
private 'support_ipv6'?;
|
18
|
-
private 'feature_toggle'?;
|
4
|
+
data?: GetFirewallInstanceData;
|
19
5
|
constructor();
|
20
|
-
|
21
|
-
set fwInstanceId(fwInstanceId: string | undefined);
|
22
|
-
get fwInstanceId(): string | undefined;
|
23
|
-
withResourceId(resourceId: string): ListFirewallUsingGetResponse;
|
24
|
-
set resourceId(resourceId: string | undefined);
|
25
|
-
get resourceId(): string | undefined;
|
26
|
-
withName(name: string): ListFirewallUsingGetResponse;
|
27
|
-
withHaType(haType: number): ListFirewallUsingGetResponse;
|
28
|
-
set haType(haType: number | undefined);
|
29
|
-
get haType(): number | undefined;
|
30
|
-
withChargeMode(chargeMode: number): ListFirewallUsingGetResponse;
|
31
|
-
set chargeMode(chargeMode: number | undefined);
|
32
|
-
get chargeMode(): number | undefined;
|
33
|
-
withServiceType(serviceType: number): ListFirewallUsingGetResponse;
|
34
|
-
set serviceType(serviceType: number | undefined);
|
35
|
-
get serviceType(): number | undefined;
|
36
|
-
withEngineType(engineType: string): ListFirewallUsingGetResponse;
|
37
|
-
set engineType(engineType: string | undefined);
|
38
|
-
get engineType(): string | undefined;
|
39
|
-
withFlavor(flavor: Flavor): ListFirewallUsingGetResponse;
|
40
|
-
withProtectObjects(protectObjects: Array<ProtectObjectVO>): ListFirewallUsingGetResponse;
|
41
|
-
set protectObjects(protectObjects: Array<ProtectObjectVO> | undefined);
|
42
|
-
get protectObjects(): Array<ProtectObjectVO> | undefined;
|
43
|
-
withStatus(status: ListFirewallUsingGetResponseStatusEnum): ListFirewallUsingGetResponse;
|
44
|
-
withDescription(description: string): ListFirewallUsingGetResponse;
|
45
|
-
withIsOldFirewallInstance(isOldFirewallInstance: boolean): ListFirewallUsingGetResponse;
|
46
|
-
set isOldFirewallInstance(isOldFirewallInstance: boolean | undefined);
|
47
|
-
get isOldFirewallInstance(): boolean | undefined;
|
48
|
-
withSupportIpv6(supportIpv6: boolean): ListFirewallUsingGetResponse;
|
49
|
-
set supportIpv6(supportIpv6: boolean | undefined);
|
50
|
-
get supportIpv6(): boolean | undefined;
|
51
|
-
withFeatureToggle(featureToggle: {
|
52
|
-
[key: string]: boolean;
|
53
|
-
}): ListFirewallUsingGetResponse;
|
54
|
-
set featureToggle(featureToggle: {
|
55
|
-
[key: string]: boolean;
|
56
|
-
} | undefined);
|
57
|
-
get featureToggle(): {
|
58
|
-
[key: string]: boolean;
|
59
|
-
} | undefined;
|
60
|
-
}
|
61
|
-
/**
|
62
|
-
* @export
|
63
|
-
* @enum {string}
|
64
|
-
*/
|
65
|
-
export declare enum ListFirewallUsingGetResponseStatusEnum {
|
66
|
-
NUMBER_MINUS_1 = -1,
|
67
|
-
NUMBER_0 = 0,
|
68
|
-
NUMBER_1 = 1,
|
69
|
-
NUMBER_2 = 2,
|
70
|
-
NUMBER_3 = 3,
|
71
|
-
NUMBER_4 = 4,
|
72
|
-
NUMBER_5 = 5,
|
73
|
-
NUMBER_6 = 6,
|
74
|
-
NUMBER_7 = 7,
|
75
|
-
NUMBER_8 = 8,
|
76
|
-
NUMBER_9 = 9,
|
77
|
-
NUMBER_10 = 10,
|
78
|
-
NUMBER_11 = 11
|
6
|
+
withData(data: GetFirewallInstanceData): ListFirewallUsingGetResponse;
|
79
7
|
}
|
@@ -15,189 +15,17 @@ var __extends = (this && this.__extends) || (function () {
|
|
15
15
|
};
|
16
16
|
})();
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
-
exports.
|
18
|
+
exports.ListFirewallUsingGetResponse = void 0;
|
19
19
|
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
20
|
var ListFirewallUsingGetResponse = /** @class */ (function (_super) {
|
21
21
|
__extends(ListFirewallUsingGetResponse, _super);
|
22
22
|
function ListFirewallUsingGetResponse() {
|
23
23
|
return _super.call(this) || this;
|
24
24
|
}
|
25
|
-
ListFirewallUsingGetResponse.prototype.
|
26
|
-
this['
|
25
|
+
ListFirewallUsingGetResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
27
|
return this;
|
28
28
|
};
|
29
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "fwInstanceId", {
|
30
|
-
get: function () {
|
31
|
-
return this['fw_instance_id'];
|
32
|
-
},
|
33
|
-
set: function (fwInstanceId) {
|
34
|
-
this['fw_instance_id'] = fwInstanceId;
|
35
|
-
},
|
36
|
-
enumerable: false,
|
37
|
-
configurable: true
|
38
|
-
});
|
39
|
-
ListFirewallUsingGetResponse.prototype.withResourceId = function (resourceId) {
|
40
|
-
this['resource_id'] = resourceId;
|
41
|
-
return this;
|
42
|
-
};
|
43
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "resourceId", {
|
44
|
-
get: function () {
|
45
|
-
return this['resource_id'];
|
46
|
-
},
|
47
|
-
set: function (resourceId) {
|
48
|
-
this['resource_id'] = resourceId;
|
49
|
-
},
|
50
|
-
enumerable: false,
|
51
|
-
configurable: true
|
52
|
-
});
|
53
|
-
ListFirewallUsingGetResponse.prototype.withName = function (name) {
|
54
|
-
this['name'] = name;
|
55
|
-
return this;
|
56
|
-
};
|
57
|
-
ListFirewallUsingGetResponse.prototype.withHaType = function (haType) {
|
58
|
-
this['ha_type'] = haType;
|
59
|
-
return this;
|
60
|
-
};
|
61
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "haType", {
|
62
|
-
get: function () {
|
63
|
-
return this['ha_type'];
|
64
|
-
},
|
65
|
-
set: function (haType) {
|
66
|
-
this['ha_type'] = haType;
|
67
|
-
},
|
68
|
-
enumerable: false,
|
69
|
-
configurable: true
|
70
|
-
});
|
71
|
-
ListFirewallUsingGetResponse.prototype.withChargeMode = function (chargeMode) {
|
72
|
-
this['charge_mode'] = chargeMode;
|
73
|
-
return this;
|
74
|
-
};
|
75
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "chargeMode", {
|
76
|
-
get: function () {
|
77
|
-
return this['charge_mode'];
|
78
|
-
},
|
79
|
-
set: function (chargeMode) {
|
80
|
-
this['charge_mode'] = chargeMode;
|
81
|
-
},
|
82
|
-
enumerable: false,
|
83
|
-
configurable: true
|
84
|
-
});
|
85
|
-
ListFirewallUsingGetResponse.prototype.withServiceType = function (serviceType) {
|
86
|
-
this['service_type'] = serviceType;
|
87
|
-
return this;
|
88
|
-
};
|
89
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "serviceType", {
|
90
|
-
get: function () {
|
91
|
-
return this['service_type'];
|
92
|
-
},
|
93
|
-
set: function (serviceType) {
|
94
|
-
this['service_type'] = serviceType;
|
95
|
-
},
|
96
|
-
enumerable: false,
|
97
|
-
configurable: true
|
98
|
-
});
|
99
|
-
ListFirewallUsingGetResponse.prototype.withEngineType = function (engineType) {
|
100
|
-
this['engine_type'] = engineType;
|
101
|
-
return this;
|
102
|
-
};
|
103
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "engineType", {
|
104
|
-
get: function () {
|
105
|
-
return this['engine_type'];
|
106
|
-
},
|
107
|
-
set: function (engineType) {
|
108
|
-
this['engine_type'] = engineType;
|
109
|
-
},
|
110
|
-
enumerable: false,
|
111
|
-
configurable: true
|
112
|
-
});
|
113
|
-
ListFirewallUsingGetResponse.prototype.withFlavor = function (flavor) {
|
114
|
-
this['flavor'] = flavor;
|
115
|
-
return this;
|
116
|
-
};
|
117
|
-
ListFirewallUsingGetResponse.prototype.withProtectObjects = function (protectObjects) {
|
118
|
-
this['protect_objects'] = protectObjects;
|
119
|
-
return this;
|
120
|
-
};
|
121
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "protectObjects", {
|
122
|
-
get: function () {
|
123
|
-
return this['protect_objects'];
|
124
|
-
},
|
125
|
-
set: function (protectObjects) {
|
126
|
-
this['protect_objects'] = protectObjects;
|
127
|
-
},
|
128
|
-
enumerable: false,
|
129
|
-
configurable: true
|
130
|
-
});
|
131
|
-
ListFirewallUsingGetResponse.prototype.withStatus = function (status) {
|
132
|
-
this['status'] = status;
|
133
|
-
return this;
|
134
|
-
};
|
135
|
-
ListFirewallUsingGetResponse.prototype.withDescription = function (description) {
|
136
|
-
this['description'] = description;
|
137
|
-
return this;
|
138
|
-
};
|
139
|
-
ListFirewallUsingGetResponse.prototype.withIsOldFirewallInstance = function (isOldFirewallInstance) {
|
140
|
-
this['is_old_firewall_instance'] = isOldFirewallInstance;
|
141
|
-
return this;
|
142
|
-
};
|
143
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "isOldFirewallInstance", {
|
144
|
-
get: function () {
|
145
|
-
return this['is_old_firewall_instance'];
|
146
|
-
},
|
147
|
-
set: function (isOldFirewallInstance) {
|
148
|
-
this['is_old_firewall_instance'] = isOldFirewallInstance;
|
149
|
-
},
|
150
|
-
enumerable: false,
|
151
|
-
configurable: true
|
152
|
-
});
|
153
|
-
ListFirewallUsingGetResponse.prototype.withSupportIpv6 = function (supportIpv6) {
|
154
|
-
this['support_ipv6'] = supportIpv6;
|
155
|
-
return this;
|
156
|
-
};
|
157
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "supportIpv6", {
|
158
|
-
get: function () {
|
159
|
-
return this['support_ipv6'];
|
160
|
-
},
|
161
|
-
set: function (supportIpv6) {
|
162
|
-
this['support_ipv6'] = supportIpv6;
|
163
|
-
},
|
164
|
-
enumerable: false,
|
165
|
-
configurable: true
|
166
|
-
});
|
167
|
-
ListFirewallUsingGetResponse.prototype.withFeatureToggle = function (featureToggle) {
|
168
|
-
this['feature_toggle'] = featureToggle;
|
169
|
-
return this;
|
170
|
-
};
|
171
|
-
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "featureToggle", {
|
172
|
-
get: function () {
|
173
|
-
return this['feature_toggle'];
|
174
|
-
},
|
175
|
-
set: function (featureToggle) {
|
176
|
-
this['feature_toggle'] = featureToggle;
|
177
|
-
},
|
178
|
-
enumerable: false,
|
179
|
-
configurable: true
|
180
|
-
});
|
181
29
|
return ListFirewallUsingGetResponse;
|
182
30
|
}(SdkResponse_1.SdkResponse));
|
183
31
|
exports.ListFirewallUsingGetResponse = ListFirewallUsingGetResponse;
|
184
|
-
/**
|
185
|
-
* @export
|
186
|
-
* @enum {string}
|
187
|
-
*/
|
188
|
-
var ListFirewallUsingGetResponseStatusEnum;
|
189
|
-
(function (ListFirewallUsingGetResponseStatusEnum) {
|
190
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_MINUS_1"] = -1] = "NUMBER_MINUS_1";
|
191
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
192
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
193
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
194
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_3"] = 3] = "NUMBER_3";
|
195
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_4"] = 4] = "NUMBER_4";
|
196
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_5"] = 5] = "NUMBER_5";
|
197
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_6"] = 6] = "NUMBER_6";
|
198
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_7"] = 7] = "NUMBER_7";
|
199
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_8"] = 8] = "NUMBER_8";
|
200
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_9"] = 9] = "NUMBER_9";
|
201
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_10"] = 10] = "NUMBER_10";
|
202
|
-
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_11"] = 11] = "NUMBER_11";
|
203
|
-
})(ListFirewallUsingGetResponseStatusEnum = exports.ListFirewallUsingGetResponseStatusEnum || (exports.ListFirewallUsingGetResponseStatusEnum = {}));
|
@@ -1,16 +1,7 @@
|
|
1
|
+
import { IpsSwitchResponseDTO } from './IpsSwitchResponseDTO';
|
1
2
|
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
3
|
export declare class ListIpsSwitchStatusUsingGetResponse extends SdkResponse {
|
3
|
-
|
4
|
-
private 'basic_defense_status'?;
|
5
|
-
private 'virtual_patches_stauts'?;
|
4
|
+
data?: IpsSwitchResponseDTO;
|
6
5
|
constructor();
|
7
|
-
|
8
|
-
set objectId(objectId: string | undefined);
|
9
|
-
get objectId(): string | undefined;
|
10
|
-
withBasicDefenseStatus(basicDefenseStatus: number): ListIpsSwitchStatusUsingGetResponse;
|
11
|
-
set basicDefenseStatus(basicDefenseStatus: number | undefined);
|
12
|
-
get basicDefenseStatus(): number | undefined;
|
13
|
-
withVirtualPatchesStauts(virtualPatchesStauts: number): ListIpsSwitchStatusUsingGetResponse;
|
14
|
-
set virtualPatchesStauts(virtualPatchesStauts: number | undefined);
|
15
|
-
get virtualPatchesStauts(): number | undefined;
|
6
|
+
withData(data: IpsSwitchResponseDTO): ListIpsSwitchStatusUsingGetResponse;
|
16
7
|
}
|
@@ -22,48 +22,10 @@ var ListIpsSwitchStatusUsingGetResponse = /** @class */ (function (_super) {
|
|
22
22
|
function ListIpsSwitchStatusUsingGetResponse() {
|
23
23
|
return _super.call(this) || this;
|
24
24
|
}
|
25
|
-
ListIpsSwitchStatusUsingGetResponse.prototype.
|
26
|
-
this['
|
25
|
+
ListIpsSwitchStatusUsingGetResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
27
|
return this;
|
28
28
|
};
|
29
|
-
Object.defineProperty(ListIpsSwitchStatusUsingGetResponse.prototype, "objectId", {
|
30
|
-
get: function () {
|
31
|
-
return this['object_id'];
|
32
|
-
},
|
33
|
-
set: function (objectId) {
|
34
|
-
this['object_id'] = objectId;
|
35
|
-
},
|
36
|
-
enumerable: false,
|
37
|
-
configurable: true
|
38
|
-
});
|
39
|
-
ListIpsSwitchStatusUsingGetResponse.prototype.withBasicDefenseStatus = function (basicDefenseStatus) {
|
40
|
-
this['basic_defense_status'] = basicDefenseStatus;
|
41
|
-
return this;
|
42
|
-
};
|
43
|
-
Object.defineProperty(ListIpsSwitchStatusUsingGetResponse.prototype, "basicDefenseStatus", {
|
44
|
-
get: function () {
|
45
|
-
return this['basic_defense_status'];
|
46
|
-
},
|
47
|
-
set: function (basicDefenseStatus) {
|
48
|
-
this['basic_defense_status'] = basicDefenseStatus;
|
49
|
-
},
|
50
|
-
enumerable: false,
|
51
|
-
configurable: true
|
52
|
-
});
|
53
|
-
ListIpsSwitchStatusUsingGetResponse.prototype.withVirtualPatchesStauts = function (virtualPatchesStauts) {
|
54
|
-
this['virtual_patches_stauts'] = virtualPatchesStauts;
|
55
|
-
return this;
|
56
|
-
};
|
57
|
-
Object.defineProperty(ListIpsSwitchStatusUsingGetResponse.prototype, "virtualPatchesStauts", {
|
58
|
-
get: function () {
|
59
|
-
return this['virtual_patches_stauts'];
|
60
|
-
},
|
61
|
-
set: function (virtualPatchesStauts) {
|
62
|
-
this['virtual_patches_stauts'] = virtualPatchesStauts;
|
63
|
-
},
|
64
|
-
enumerable: false,
|
65
|
-
configurable: true
|
66
|
-
});
|
67
29
|
return ListIpsSwitchStatusUsingGetResponse;
|
68
30
|
}(SdkResponse_1.SdkResponse));
|
69
31
|
exports.ListIpsSwitchStatusUsingGetResponse = ListIpsSwitchStatusUsingGetResponse;
|
@@ -1,10 +1,7 @@
|
|
1
|
+
import { ServiceSetDetailResponseDto } from './ServiceSetDetailResponseDto';
|
1
2
|
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
3
|
export declare class ListServiceSetDetailsResponse extends SdkResponse {
|
3
|
-
|
4
|
-
name?: string;
|
5
|
-
description?: string;
|
4
|
+
data?: ServiceSetDetailResponseDto;
|
6
5
|
constructor();
|
7
|
-
|
8
|
-
withName(name: string): ListServiceSetDetailsResponse;
|
9
|
-
withDescription(description: string): ListServiceSetDetailsResponse;
|
6
|
+
withData(data: ServiceSetDetailResponseDto): ListServiceSetDetailsResponse;
|
10
7
|
}
|
@@ -22,16 +22,8 @@ var ListServiceSetDetailsResponse = /** @class */ (function (_super) {
|
|
22
22
|
function ListServiceSetDetailsResponse() {
|
23
23
|
return _super.call(this) || this;
|
24
24
|
}
|
25
|
-
ListServiceSetDetailsResponse.prototype.
|
26
|
-
this['
|
27
|
-
return this;
|
28
|
-
};
|
29
|
-
ListServiceSetDetailsResponse.prototype.withName = function (name) {
|
30
|
-
this['name'] = name;
|
31
|
-
return this;
|
32
|
-
};
|
33
|
-
ListServiceSetDetailsResponse.prototype.withDescription = function (description) {
|
34
|
-
this['description'] = description;
|
25
|
+
ListServiceSetDetailsResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
35
27
|
return this;
|
36
28
|
};
|
37
29
|
return ListServiceSetDetailsResponse;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export declare class PacketMessage {
|
2
|
+
private 'hex_index'?;
|
3
|
+
hexs?: Array<string>;
|
4
|
+
private 'utf8_String'?;
|
5
|
+
constructor();
|
6
|
+
withHexIndex(hexIndex: string): PacketMessage;
|
7
|
+
set hexIndex(hexIndex: string | undefined);
|
8
|
+
get hexIndex(): string | undefined;
|
9
|
+
withHexs(hexs: Array<string>): PacketMessage;
|
10
|
+
withUtf8String(utf8String: string): PacketMessage;
|
11
|
+
set utf8String(utf8String: string | undefined);
|
12
|
+
get utf8String(): string | undefined;
|
13
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PacketMessage = void 0;
|
4
|
+
var PacketMessage = /** @class */ (function () {
|
5
|
+
function PacketMessage() {
|
6
|
+
}
|
7
|
+
PacketMessage.prototype.withHexIndex = function (hexIndex) {
|
8
|
+
this['hex_index'] = hexIndex;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(PacketMessage.prototype, "hexIndex", {
|
12
|
+
get: function () {
|
13
|
+
return this['hex_index'];
|
14
|
+
},
|
15
|
+
set: function (hexIndex) {
|
16
|
+
this['hex_index'] = hexIndex;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
PacketMessage.prototype.withHexs = function (hexs) {
|
22
|
+
this['hexs'] = hexs;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
PacketMessage.prototype.withUtf8String = function (utf8String) {
|
26
|
+
this['utf8_String'] = utf8String;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(PacketMessage.prototype, "utf8String", {
|
30
|
+
get: function () {
|
31
|
+
return this['utf8_String'];
|
32
|
+
},
|
33
|
+
set: function (utf8String) {
|
34
|
+
this['utf8_String'] = utf8String;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return PacketMessage;
|
40
|
+
}());
|
41
|
+
exports.PacketMessage = PacketMessage;
|
@@ -18,6 +18,7 @@ export declare class RuleAclListResponseDTODataRecords {
|
|
18
18
|
source?: RuleAddressDto;
|
19
19
|
destination?: RuleAddressDto;
|
20
20
|
service?: RuleServiceDto;
|
21
|
+
type?: RuleAclListResponseDTODataRecordsTypeEnum;
|
21
22
|
constructor();
|
22
23
|
withRuleId(ruleId: string): RuleAclListResponseDTODataRecords;
|
23
24
|
set ruleId(ruleId: string | undefined);
|
@@ -51,6 +52,7 @@ export declare class RuleAclListResponseDTODataRecords {
|
|
51
52
|
withSource(source: RuleAddressDto): RuleAclListResponseDTODataRecords;
|
52
53
|
withDestination(destination: RuleAddressDto): RuleAclListResponseDTODataRecords;
|
53
54
|
withService(service: RuleServiceDto): RuleAclListResponseDTODataRecords;
|
55
|
+
withType(type: RuleAclListResponseDTODataRecordsTypeEnum): RuleAclListResponseDTODataRecords;
|
54
56
|
}
|
55
57
|
/**
|
56
58
|
* @export
|
@@ -60,3 +62,12 @@ export declare enum RuleAclListResponseDTODataRecordsDirectionEnum {
|
|
60
62
|
NUMBER_0 = 0,
|
61
63
|
NUMBER_1 = 1
|
62
64
|
}
|
65
|
+
/**
|
66
|
+
* @export
|
67
|
+
* @enum {string}
|
68
|
+
*/
|
69
|
+
export declare enum RuleAclListResponseDTODataRecordsTypeEnum {
|
70
|
+
NUMBER_0 = 0,
|
71
|
+
NUMBER_1 = 1,
|
72
|
+
NUMBER_2 = 2
|
73
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuleAclListResponseDTODataRecordsDirectionEnum = exports.RuleAclListResponseDTODataRecords = void 0;
|
3
|
+
exports.RuleAclListResponseDTODataRecordsTypeEnum = exports.RuleAclListResponseDTODataRecordsDirectionEnum = exports.RuleAclListResponseDTODataRecords = void 0;
|
4
4
|
var RuleAclListResponseDTODataRecords = /** @class */ (function () {
|
5
5
|
function RuleAclListResponseDTODataRecords() {
|
6
6
|
}
|
@@ -148,6 +148,10 @@ var RuleAclListResponseDTODataRecords = /** @class */ (function () {
|
|
148
148
|
this['service'] = service;
|
149
149
|
return this;
|
150
150
|
};
|
151
|
+
RuleAclListResponseDTODataRecords.prototype.withType = function (type) {
|
152
|
+
this['type'] = type;
|
153
|
+
return this;
|
154
|
+
};
|
151
155
|
return RuleAclListResponseDTODataRecords;
|
152
156
|
}());
|
153
157
|
exports.RuleAclListResponseDTODataRecords = RuleAclListResponseDTODataRecords;
|
@@ -160,3 +164,13 @@ var RuleAclListResponseDTODataRecordsDirectionEnum;
|
|
160
164
|
RuleAclListResponseDTODataRecordsDirectionEnum[RuleAclListResponseDTODataRecordsDirectionEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
161
165
|
RuleAclListResponseDTODataRecordsDirectionEnum[RuleAclListResponseDTODataRecordsDirectionEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
162
166
|
})(RuleAclListResponseDTODataRecordsDirectionEnum = exports.RuleAclListResponseDTODataRecordsDirectionEnum || (exports.RuleAclListResponseDTODataRecordsDirectionEnum = {}));
|
167
|
+
/**
|
168
|
+
* @export
|
169
|
+
* @enum {string}
|
170
|
+
*/
|
171
|
+
var RuleAclListResponseDTODataRecordsTypeEnum;
|
172
|
+
(function (RuleAclListResponseDTODataRecordsTypeEnum) {
|
173
|
+
RuleAclListResponseDTODataRecordsTypeEnum[RuleAclListResponseDTODataRecordsTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
174
|
+
RuleAclListResponseDTODataRecordsTypeEnum[RuleAclListResponseDTODataRecordsTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
175
|
+
RuleAclListResponseDTODataRecordsTypeEnum[RuleAclListResponseDTODataRecordsTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
176
|
+
})(RuleAclListResponseDTODataRecordsTypeEnum = exports.RuleAclListResponseDTODataRecordsTypeEnum || (exports.RuleAclListResponseDTODataRecordsTypeEnum = {}));
|
@@ -3,10 +3,14 @@ export declare class ServiceItemListResponseDtoData {
|
|
3
3
|
offset?: number;
|
4
4
|
limit?: number;
|
5
5
|
total?: number;
|
6
|
+
private 'set_id'?;
|
6
7
|
records?: Array<ServiceItemListResponseDtoDataRecords>;
|
7
8
|
constructor();
|
8
9
|
withOffset(offset: number): ServiceItemListResponseDtoData;
|
9
10
|
withLimit(limit: number): ServiceItemListResponseDtoData;
|
10
11
|
withTotal(total: number): ServiceItemListResponseDtoData;
|
12
|
+
withSetId(setId: string): ServiceItemListResponseDtoData;
|
13
|
+
set setId(setId: string | undefined);
|
14
|
+
get setId(): string | undefined;
|
11
15
|
withRecords(records: Array<ServiceItemListResponseDtoDataRecords>): ServiceItemListResponseDtoData;
|
12
16
|
}
|
@@ -16,6 +16,20 @@ var ServiceItemListResponseDtoData = /** @class */ (function () {
|
|
16
16
|
this['total'] = total;
|
17
17
|
return this;
|
18
18
|
};
|
19
|
+
ServiceItemListResponseDtoData.prototype.withSetId = function (setId) {
|
20
|
+
this['set_id'] = setId;
|
21
|
+
return this;
|
22
|
+
};
|
23
|
+
Object.defineProperty(ServiceItemListResponseDtoData.prototype, "setId", {
|
24
|
+
get: function () {
|
25
|
+
return this['set_id'];
|
26
|
+
},
|
27
|
+
set: function (setId) {
|
28
|
+
this['set_id'] = setId;
|
29
|
+
},
|
30
|
+
enumerable: false,
|
31
|
+
configurable: true
|
32
|
+
});
|
19
33
|
ServiceItemListResponseDtoData.prototype.withRecords = function (records) {
|
20
34
|
this['records'] = records;
|
21
35
|
return this;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare class ServiceSetDetailResponseDto {
|
2
|
+
id?: string;
|
3
|
+
name: string;
|
4
|
+
description?: string;
|
5
|
+
constructor(name?: any);
|
6
|
+
withId(id: string): ServiceSetDetailResponseDto;
|
7
|
+
withName(name: string): ServiceSetDetailResponseDto;
|
8
|
+
withDescription(description: string): ServiceSetDetailResponseDto;
|
9
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ServiceSetDetailResponseDto = void 0;
|
4
|
+
var ServiceSetDetailResponseDto = /** @class */ (function () {
|
5
|
+
function ServiceSetDetailResponseDto(name) {
|
6
|
+
this['name'] = name;
|
7
|
+
}
|
8
|
+
ServiceSetDetailResponseDto.prototype.withId = function (id) {
|
9
|
+
this['id'] = id;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
ServiceSetDetailResponseDto.prototype.withName = function (name) {
|
13
|
+
this['name'] = name;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
ServiceSetDetailResponseDto.prototype.withDescription = function (description) {
|
17
|
+
this['description'] = description;
|
18
|
+
return this;
|
19
|
+
};
|
20
|
+
return ServiceSetDetailResponseDto;
|
21
|
+
}());
|
22
|
+
exports.ServiceSetDetailResponseDto = ServiceSetDetailResponseDto;
|
@@ -1,7 +1,20 @@
|
|
1
1
|
export declare class UpdateAddressSetDto {
|
2
2
|
name?: string;
|
3
3
|
description?: string;
|
4
|
+
private 'address_type'?;
|
4
5
|
constructor();
|
5
6
|
withName(name: string): UpdateAddressSetDto;
|
6
7
|
withDescription(description: string): UpdateAddressSetDto;
|
8
|
+
withAddressType(addressType: UpdateAddressSetDtoAddressTypeEnum): UpdateAddressSetDto;
|
9
|
+
set addressType(addressType: UpdateAddressSetDtoAddressTypeEnum | undefined);
|
10
|
+
get addressType(): UpdateAddressSetDtoAddressTypeEnum | undefined;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @export
|
14
|
+
* @enum {string}
|
15
|
+
*/
|
16
|
+
export declare enum UpdateAddressSetDtoAddressTypeEnum {
|
17
|
+
NUMBER_0 = 0,
|
18
|
+
NUMBER_1 = 1,
|
19
|
+
NUMBER_2 = 2
|
7
20
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateAddressSetDto = void 0;
|
3
|
+
exports.UpdateAddressSetDtoAddressTypeEnum = exports.UpdateAddressSetDto = void 0;
|
4
4
|
var UpdateAddressSetDto = /** @class */ (function () {
|
5
5
|
function UpdateAddressSetDto() {
|
6
6
|
}
|
@@ -12,6 +12,30 @@ var UpdateAddressSetDto = /** @class */ (function () {
|
|
12
12
|
this['description'] = description;
|
13
13
|
return this;
|
14
14
|
};
|
15
|
+
UpdateAddressSetDto.prototype.withAddressType = function (addressType) {
|
16
|
+
this['address_type'] = addressType;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
Object.defineProperty(UpdateAddressSetDto.prototype, "addressType", {
|
20
|
+
get: function () {
|
21
|
+
return this['address_type'];
|
22
|
+
},
|
23
|
+
set: function (addressType) {
|
24
|
+
this['address_type'] = addressType;
|
25
|
+
},
|
26
|
+
enumerable: false,
|
27
|
+
configurable: true
|
28
|
+
});
|
15
29
|
return UpdateAddressSetDto;
|
16
30
|
}());
|
17
31
|
exports.UpdateAddressSetDto = UpdateAddressSetDto;
|
32
|
+
/**
|
33
|
+
* @export
|
34
|
+
* @enum {string}
|
35
|
+
*/
|
36
|
+
var UpdateAddressSetDtoAddressTypeEnum;
|
37
|
+
(function (UpdateAddressSetDtoAddressTypeEnum) {
|
38
|
+
UpdateAddressSetDtoAddressTypeEnum[UpdateAddressSetDtoAddressTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
39
|
+
UpdateAddressSetDtoAddressTypeEnum[UpdateAddressSetDtoAddressTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
40
|
+
UpdateAddressSetDtoAddressTypeEnum[UpdateAddressSetDtoAddressTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
41
|
+
})(UpdateAddressSetDtoAddressTypeEnum = exports.UpdateAddressSetDtoAddressTypeEnum || (exports.UpdateAddressSetDtoAddressTypeEnum = {}));
|
@@ -4,6 +4,8 @@ export declare class UpdateBlackWhiteListDto {
|
|
4
4
|
address?: string;
|
5
5
|
protocol?: number;
|
6
6
|
port?: string;
|
7
|
+
private 'list_type'?;
|
8
|
+
private 'object_id'?;
|
7
9
|
constructor();
|
8
10
|
withDirection(direction: number): UpdateBlackWhiteListDto;
|
9
11
|
withAddressType(addressType: number): UpdateBlackWhiteListDto;
|
@@ -12,4 +14,18 @@ export declare class UpdateBlackWhiteListDto {
|
|
12
14
|
withAddress(address: string): UpdateBlackWhiteListDto;
|
13
15
|
withProtocol(protocol: number): UpdateBlackWhiteListDto;
|
14
16
|
withPort(port: string): UpdateBlackWhiteListDto;
|
17
|
+
withListType(listType: UpdateBlackWhiteListDtoListTypeEnum): UpdateBlackWhiteListDto;
|
18
|
+
set listType(listType: UpdateBlackWhiteListDtoListTypeEnum | undefined);
|
19
|
+
get listType(): UpdateBlackWhiteListDtoListTypeEnum | undefined;
|
20
|
+
withObjectId(objectId: string): UpdateBlackWhiteListDto;
|
21
|
+
set objectId(objectId: string | undefined);
|
22
|
+
get objectId(): string | undefined;
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* @export
|
26
|
+
* @enum {string}
|
27
|
+
*/
|
28
|
+
export declare enum UpdateBlackWhiteListDtoListTypeEnum {
|
29
|
+
NUMBER_4 = 4,
|
30
|
+
NUMBER_5 = 5
|
15
31
|
}
|