@huaweicloud/huaweicloud-sdk-cfw 3.1.12 → 3.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/package.json +2 -2
  2. package/v1/CfwClient.d.ts +1 -1
  3. package/v1/CfwClient.js +10 -7
  4. package/v1/model/AddRuleAclDtoRules.d.ts +5 -5
  5. package/v1/model/AddRuleAclDtoRules.js +1 -5
  6. package/v1/model/CountEipsResponse.d.ts +3 -12
  7. package/v1/model/CountEipsResponse.js +2 -40
  8. package/v1/model/EipCountRespData.d.ts +15 -0
  9. package/v1/model/EipCountRespData.js +51 -0
  10. package/v1/model/EipResource.d.ts +43 -0
  11. package/v1/model/EipResource.js +124 -0
  12. package/v1/model/EipResponseData.d.ts +12 -0
  13. package/v1/model/EipResponseData.js +25 -0
  14. package/v1/model/GetEastWestFirewallResponseBody.d.ts +4 -4
  15. package/v1/model/GetEastWestFirewallResponseBody.js +6 -6
  16. package/v1/model/GetFirewallInstanceResponseData.d.ts +78 -0
  17. package/v1/model/GetFirewallInstanceResponseData.js +185 -0
  18. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +3 -0
  19. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +4 -0
  20. package/v1/model/IpsSwitchResponseDTO.d.ts +15 -0
  21. package/v1/model/IpsSwitchResponseDTO.js +51 -0
  22. package/v1/model/ListAttackLogsRequest.d.ts +2 -2
  23. package/v1/model/ListAttackLogsRequest.js +2 -1
  24. package/v1/model/ListEipResourcesResponse.d.ts +3 -40
  25. package/v1/model/ListEipResourcesResponse.js +3 -114
  26. package/v1/model/ListFirewallUsingGetResponse.d.ts +3 -75
  27. package/v1/model/ListFirewallUsingGetResponse.js +3 -175
  28. package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +3 -12
  29. package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +2 -40
  30. package/v1/model/ListServiceSetDetailsResponse.d.ts +3 -6
  31. package/v1/model/ListServiceSetDetailsResponse.js +2 -10
  32. package/v1/model/PacketMessage.d.ts +13 -0
  33. package/v1/model/PacketMessage.js +41 -0
  34. package/v1/model/RuleAclListResponseDTODataRecords.d.ts +11 -0
  35. package/v1/model/RuleAclListResponseDTODataRecords.js +15 -1
  36. package/v1/model/ServiceItemListResponseDtoData.d.ts +4 -0
  37. package/v1/model/ServiceItemListResponseDtoData.js +14 -0
  38. package/v1/model/ServiceSetDetailResponseDto.d.ts +9 -0
  39. package/v1/model/ServiceSetDetailResponseDto.js +22 -0
  40. package/v1/model/UpdateAddressSetDto.d.ts +13 -0
  41. package/v1/model/UpdateAddressSetDto.js +25 -1
  42. package/v1/model/UpdateBlackWhiteListDto.d.ts +16 -0
  43. package/v1/model/UpdateBlackWhiteListDto.js +38 -1
  44. package/v1/model/UpdateRuleAclDto.d.ts +11 -0
  45. package/v1/model/UpdateRuleAclDto.js +15 -1
  46. package/v1/public-api.d.ts +7 -0
  47. package/v1/public-api.js +7 -0
@@ -15,189 +15,17 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ListFirewallUsingGetResponseStatusEnum = exports.ListFirewallUsingGetResponse = void 0;
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.withFwInstanceId = function (fwInstanceId) {
26
- this['fw_instance_id'] = fwInstanceId;
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
- private 'object_id'?;
4
- private 'basic_defense_status'?;
5
- private 'virtual_patches_stauts'?;
4
+ data?: IpsSwitchResponseDTO;
6
5
  constructor();
7
- withObjectId(objectId: string): ListIpsSwitchStatusUsingGetResponse;
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.withObjectId = function (objectId) {
26
- this['object_id'] = objectId;
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
- id?: string;
4
- name?: string;
5
- description?: string;
4
+ data?: ServiceSetDetailResponseDto;
6
5
  constructor();
7
- withId(id: string): ListServiceSetDetailsResponse;
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.withId = function (id) {
26
- this['id'] = id;
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
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateBlackWhiteListDto = void 0;
3
+ exports.UpdateBlackWhiteListDtoListTypeEnum = exports.UpdateBlackWhiteListDto = void 0;
4
4
  var UpdateBlackWhiteListDto = /** @class */ (function () {
5
5
  function UpdateBlackWhiteListDto() {
6
6
  }
@@ -34,6 +34,43 @@ var UpdateBlackWhiteListDto = /** @class */ (function () {
34
34
  this['port'] = port;
35
35
  return this;
36
36
  };
37
+ UpdateBlackWhiteListDto.prototype.withListType = function (listType) {
38
+ this['list_type'] = listType;
39
+ return this;
40
+ };
41
+ Object.defineProperty(UpdateBlackWhiteListDto.prototype, "listType", {
42
+ get: function () {
43
+ return this['list_type'];
44
+ },
45
+ set: function (listType) {
46
+ this['list_type'] = listType;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ UpdateBlackWhiteListDto.prototype.withObjectId = function (objectId) {
52
+ this['object_id'] = objectId;
53
+ return this;
54
+ };
55
+ Object.defineProperty(UpdateBlackWhiteListDto.prototype, "objectId", {
56
+ get: function () {
57
+ return this['object_id'];
58
+ },
59
+ set: function (objectId) {
60
+ this['object_id'] = objectId;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
37
65
  return UpdateBlackWhiteListDto;
38
66
  }());
39
67
  exports.UpdateBlackWhiteListDto = UpdateBlackWhiteListDto;
68
+ /**
69
+ * @export
70
+ * @enum {string}
71
+ */
72
+ var UpdateBlackWhiteListDtoListTypeEnum;
73
+ (function (UpdateBlackWhiteListDtoListTypeEnum) {
74
+ UpdateBlackWhiteListDtoListTypeEnum[UpdateBlackWhiteListDtoListTypeEnum["NUMBER_4"] = 4] = "NUMBER_4";
75
+ UpdateBlackWhiteListDtoListTypeEnum[UpdateBlackWhiteListDtoListTypeEnum["NUMBER_5"] = 5] = "NUMBER_5";
76
+ })(UpdateBlackWhiteListDtoListTypeEnum = exports.UpdateBlackWhiteListDtoListTypeEnum || (exports.UpdateBlackWhiteListDtoListTypeEnum = {}));
@@ -17,6 +17,7 @@ export declare class UpdateRuleAclDto {
17
17
  source?: RuleAddressDto;
18
18
  destination?: RuleAddressDto;
19
19
  service?: RuleServiceDto;
20
+ type?: UpdateRuleAclDtoTypeEnum;
20
21
  constructor();
21
22
  withAddressType(addressType: UpdateRuleAclDtoAddressTypeEnum): UpdateRuleAclDto;
22
23
  set addressType(addressType: UpdateRuleAclDtoAddressTypeEnum | undefined);
@@ -47,6 +48,7 @@ export declare class UpdateRuleAclDto {
47
48
  withSource(source: RuleAddressDto): UpdateRuleAclDto;
48
49
  withDestination(destination: RuleAddressDto): UpdateRuleAclDto;
49
50
  withService(service: RuleServiceDto): UpdateRuleAclDto;
51
+ withType(type: UpdateRuleAclDtoTypeEnum): UpdateRuleAclDto;
50
52
  }
51
53
  /**
52
54
  * @export
@@ -80,3 +82,12 @@ export declare enum UpdateRuleAclDtoLongConnectEnableEnum {
80
82
  NUMBER_0 = 0,
81
83
  NUMBER_1 = 1
82
84
  }
85
+ /**
86
+ * @export
87
+ * @enum {string}
88
+ */
89
+ export declare enum UpdateRuleAclDtoTypeEnum {
90
+ NUMBER_0 = 0,
91
+ NUMBER_1 = 1,
92
+ NUMBER_2 = 2
93
+ }