@@ -113,7 +113,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
113
113
@parametrize
114
114
def test_method_delete (self , client : Cloudflare ) -> None :
115
115
category = client .cloudforce_one .threat_events .categories .delete (
116
- category_id = "category_id " ,
116
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
117
117
account_id = 0 ,
118
118
)
119
119
assert_matches_type (CategoryDeleteResponse , category , path = ["response" ])
@@ -122,7 +122,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
122
122
@parametrize
123
123
def test_raw_response_delete (self , client : Cloudflare ) -> None :
124
124
response = client .cloudforce_one .threat_events .categories .with_raw_response .delete (
125
- category_id = "category_id " ,
125
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
126
126
account_id = 0 ,
127
127
)
128
128
@@ -135,7 +135,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
135
135
@parametrize
136
136
def test_streaming_response_delete (self , client : Cloudflare ) -> None :
137
137
with client .cloudforce_one .threat_events .categories .with_streaming_response .delete (
138
- category_id = "category_id " ,
138
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
139
139
account_id = 0 ,
140
140
) as response :
141
141
assert not response .is_closed
@@ -159,7 +159,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
159
159
@parametrize
160
160
def test_method_edit (self , client : Cloudflare ) -> None :
161
161
category = client .cloudforce_one .threat_events .categories .edit (
162
- category_id = "category_id " ,
162
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
163
163
account_id = 0 ,
164
164
)
165
165
assert_matches_type (CategoryEditResponse , category , path = ["response" ])
@@ -168,7 +168,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
168
168
@parametrize
169
169
def test_method_edit_with_all_params (self , client : Cloudflare ) -> None :
170
170
category = client .cloudforce_one .threat_events .categories .edit (
171
- category_id = "category_id " ,
171
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
172
172
account_id = 0 ,
173
173
kill_chain = 0 ,
174
174
mitre_attack = ["T1234" ],
@@ -181,7 +181,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
181
181
@parametrize
182
182
def test_raw_response_edit (self , client : Cloudflare ) -> None :
183
183
response = client .cloudforce_one .threat_events .categories .with_raw_response .edit (
184
- category_id = "category_id " ,
184
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
185
185
account_id = 0 ,
186
186
)
187
187
@@ -194,7 +194,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
194
194
@parametrize
195
195
def test_streaming_response_edit (self , client : Cloudflare ) -> None :
196
196
with client .cloudforce_one .threat_events .categories .with_streaming_response .edit (
197
- category_id = "category_id " ,
197
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
198
198
account_id = 0 ,
199
199
) as response :
200
200
assert not response .is_closed
@@ -218,7 +218,7 @@ def test_path_params_edit(self, client: Cloudflare) -> None:
218
218
@parametrize
219
219
def test_method_get (self , client : Cloudflare ) -> None :
220
220
category = client .cloudforce_one .threat_events .categories .get (
221
- category_id = "category_id " ,
221
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
222
222
account_id = 0 ,
223
223
)
224
224
assert_matches_type (CategoryGetResponse , category , path = ["response" ])
@@ -227,7 +227,7 @@ def test_method_get(self, client: Cloudflare) -> None:
227
227
@parametrize
228
228
def test_raw_response_get (self , client : Cloudflare ) -> None :
229
229
response = client .cloudforce_one .threat_events .categories .with_raw_response .get (
230
- category_id = "category_id " ,
230
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
231
231
account_id = 0 ,
232
232
)
233
233
@@ -240,7 +240,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
240
240
@parametrize
241
241
def test_streaming_response_get (self , client : Cloudflare ) -> None :
242
242
with client .cloudforce_one .threat_events .categories .with_streaming_response .get (
243
- category_id = "category_id " ,
243
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
244
244
account_id = 0 ,
245
245
) as response :
246
246
assert not response .is_closed
@@ -354,7 +354,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
354
354
@parametrize
355
355
async def test_method_delete (self , async_client : AsyncCloudflare ) -> None :
356
356
category = await async_client .cloudforce_one .threat_events .categories .delete (
357
- category_id = "category_id " ,
357
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
358
358
account_id = 0 ,
359
359
)
360
360
assert_matches_type (CategoryDeleteResponse , category , path = ["response" ])
@@ -363,7 +363,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
363
363
@parametrize
364
364
async def test_raw_response_delete (self , async_client : AsyncCloudflare ) -> None :
365
365
response = await async_client .cloudforce_one .threat_events .categories .with_raw_response .delete (
366
- category_id = "category_id " ,
366
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
367
367
account_id = 0 ,
368
368
)
369
369
@@ -376,7 +376,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
376
376
@parametrize
377
377
async def test_streaming_response_delete (self , async_client : AsyncCloudflare ) -> None :
378
378
async with async_client .cloudforce_one .threat_events .categories .with_streaming_response .delete (
379
- category_id = "category_id " ,
379
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
380
380
account_id = 0 ,
381
381
) as response :
382
382
assert not response .is_closed
@@ -400,7 +400,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
400
400
@parametrize
401
401
async def test_method_edit (self , async_client : AsyncCloudflare ) -> None :
402
402
category = await async_client .cloudforce_one .threat_events .categories .edit (
403
- category_id = "category_id " ,
403
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
404
404
account_id = 0 ,
405
405
)
406
406
assert_matches_type (CategoryEditResponse , category , path = ["response" ])
@@ -409,7 +409,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
409
409
@parametrize
410
410
async def test_method_edit_with_all_params (self , async_client : AsyncCloudflare ) -> None :
411
411
category = await async_client .cloudforce_one .threat_events .categories .edit (
412
- category_id = "category_id " ,
412
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
413
413
account_id = 0 ,
414
414
kill_chain = 0 ,
415
415
mitre_attack = ["T1234" ],
@@ -422,7 +422,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
422
422
@parametrize
423
423
async def test_raw_response_edit (self , async_client : AsyncCloudflare ) -> None :
424
424
response = await async_client .cloudforce_one .threat_events .categories .with_raw_response .edit (
425
- category_id = "category_id " ,
425
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
426
426
account_id = 0 ,
427
427
)
428
428
@@ -435,7 +435,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
435
435
@parametrize
436
436
async def test_streaming_response_edit (self , async_client : AsyncCloudflare ) -> None :
437
437
async with async_client .cloudforce_one .threat_events .categories .with_streaming_response .edit (
438
- category_id = "category_id " ,
438
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
439
439
account_id = 0 ,
440
440
) as response :
441
441
assert not response .is_closed
@@ -459,7 +459,7 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None:
459
459
@parametrize
460
460
async def test_method_get (self , async_client : AsyncCloudflare ) -> None :
461
461
category = await async_client .cloudforce_one .threat_events .categories .get (
462
- category_id = "category_id " ,
462
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
463
463
account_id = 0 ,
464
464
)
465
465
assert_matches_type (CategoryGetResponse , category , path = ["response" ])
@@ -468,7 +468,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
468
468
@parametrize
469
469
async def test_raw_response_get (self , async_client : AsyncCloudflare ) -> None :
470
470
response = await async_client .cloudforce_one .threat_events .categories .with_raw_response .get (
471
- category_id = "category_id " ,
471
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
472
472
account_id = 0 ,
473
473
)
474
474
@@ -481,7 +481,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
481
481
@parametrize
482
482
async def test_streaming_response_get (self , async_client : AsyncCloudflare ) -> None :
483
483
async with async_client .cloudforce_one .threat_events .categories .with_streaming_response .get (
484
- category_id = "category_id " ,
484
+ category_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e " ,
485
485
account_id = 0 ,
486
486
) as response :
487
487
assert not response .is_closed
0 commit comments