postman_api/
schemas.rs

1
2use serde::{Serialize, Deserialize};
3
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub struct DeleteApisApiIdResponse401 {
6    /// Details about the error.
7    pub detail: Option<String>,
8
9    /// The error instance.
10    pub instance: Option<String>,
11
12    /// The HTTP status code.
13    pub status: Option<f64>,
14
15    /// The generic description for the error's class.
16    pub title: Option<String>,
17
18    /// The error type.
19    #[serde(rename = "type")]
20    pub delete_apis_api_id_response401_type: Option<String>,
21}
22
23#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
24pub struct DeleteApisApiIdResponse403 {
25    /// Details about the error message.
26    pub detail: Option<String>,
27
28    /// The generic description for the error's class.
29    pub title: Option<String>,
30
31    /// The type of error.
32    #[serde(rename = "type")]
33    pub delete_apis_api_id_response403_type: Option<String>,
34}
35
36#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
37pub struct DeleteApisApiIdResponse404 {
38    /// Details about the error message.
39    pub detail: Option<String>,
40
41    /// The generic description for the error's class.
42    pub title: Option<String>,
43
44    /// The type of error.
45    #[serde(rename = "type")]
46    pub delete_apis_api_id_response404_type: Option<String>,
47}
48
49#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
50pub struct DeleteApisApiIdResponse422 {
51    /// Details about the error.
52    pub detail: Option<String>,
53
54    /// The generic description for the error's class.
55    pub title: Option<String>,
56
57    /// The error type.
58    #[serde(rename = "type")]
59    pub delete_apis_api_id_response422_type: Option<String>,
60}
61
62#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
63pub struct DeleteApisApiIdResponse500 {
64    /// Details about the error message.
65    pub detail: Option<String>,
66
67    /// The generic description for the error's class.
68    pub title: Option<String>,
69
70    /// The type of error.
71    #[serde(rename = "type")]
72    pub delete_apis_api_id_response500_type: Option<String>,
73}
74
75#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
76pub struct DeleteApisApiIdSchemasSchemaIdFilesFilePathResponse400 {
77    /// Details about the error.
78    pub detail: Option<String>,
79
80    /// The generic description for the error's class.
81    pub title: Option<String>,
82
83    /// The error type.
84    #[serde(rename = "type")]
85    pub delete_apis_api_id_schemas_schema_id_files_file_path_response400_type: Option<String>,
86}
87
88#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
89pub struct DeleteApisApiIdSchemasSchemaIdFilesFilePathResponse401 {
90    /// Details about the error.
91    pub detail: Option<String>,
92
93    /// The error instance.
94    pub instance: Option<String>,
95
96    /// The HTTP status code.
97    pub status: Option<f64>,
98
99    /// The generic description for the error's class.
100    pub title: Option<String>,
101
102    /// The error type.
103    #[serde(rename = "type")]
104    pub delete_apis_api_id_schemas_schema_id_files_file_path_response401_type: Option<String>,
105}
106
107#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
108pub struct DeleteApisApiIdSchemasSchemaIdFilesFilePathResponse403 {
109    /// Details about the error message.
110    pub detail: Option<String>,
111
112    /// The generic description for the error's class.
113    pub title: Option<String>,
114
115    /// The type of error.
116    #[serde(rename = "type")]
117    pub delete_apis_api_id_schemas_schema_id_files_file_path_response403_type: Option<String>,
118}
119
120#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
121pub struct DeleteApisApiIdSchemasSchemaIdFilesFilePathResponse404 {
122    /// Details about the error message.
123    pub detail: Option<String>,
124
125    /// The generic description for the error's class.
126    pub title: Option<String>,
127
128    /// The type of error.
129    #[serde(rename = "type")]
130    pub delete_apis_api_id_schemas_schema_id_files_file_path_response404_type: Option<String>,
131}
132
133#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
134pub struct DeleteApisApiIdSchemasSchemaIdFilesFilePathResponse422 {
135    /// Details about the error.
136    pub detail: Option<String>,
137
138    /// The generic description for the error's class.
139    pub title: Option<String>,
140
141    /// The error type.
142    #[serde(rename = "type")]
143    pub delete_apis_api_id_schemas_schema_id_files_file_path_response422_type: Option<String>,
144}
145
146#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
147pub struct DeleteApisApiIdSchemasSchemaIdFilesFilePathResponse500 {
148    /// Details about the error message.
149    pub detail: Option<String>,
150
151    /// The generic description for the error's class.
152    pub title: Option<String>,
153
154    /// The type of error.
155    #[serde(rename = "type")]
156    pub delete_apis_api_id_schemas_schema_id_files_file_path_response500_type: Option<String>,
157}
158
159#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
160pub struct DeleteApisApiIdVersionsVersionIdResponse400 {
161    /// Information about the error.
162    pub error: Option<DeleteApisApiIdVersionsVersionIdResponse400Error>,
163}
164
165#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
166pub struct DeleteApisApiIdVersionsVersionIdResponse400Error {
167    /// Details about the error message.
168    pub message: Option<String>,
169
170    /// The type of error.
171    pub name: Option<String>,
172}
173
174#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
175pub struct DeleteApisApiIdVersionsVersionIdResponse401 {
176    /// Details about the error.
177    pub detail: Option<String>,
178
179    /// The error instance.
180    pub instance: Option<String>,
181
182    /// The HTTP status code.
183    pub status: Option<f64>,
184
185    /// The generic description for the error's class.
186    pub title: Option<String>,
187
188    /// The error type.
189    #[serde(rename = "type")]
190    pub delete_apis_api_id_versions_version_id_response401_type: Option<String>,
191}
192
193#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
194pub struct DeleteApisApiIdVersionsVersionIdResponse403 {
195    /// Details about the error message.
196    pub detail: Option<String>,
197
198    /// The generic description for the error's class.
199    pub title: Option<String>,
200
201    /// The type of error.
202    #[serde(rename = "type")]
203    pub delete_apis_api_id_versions_version_id_response403_type: Option<String>,
204}
205
206#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
207pub struct DeleteApisApiIdVersionsVersionIdResponse404 {
208    /// Details about the error message.
209    pub detail: Option<String>,
210
211    /// The generic description for the error's class.
212    pub title: Option<String>,
213
214    /// The type of error.
215    #[serde(rename = "type")]
216    pub delete_apis_api_id_versions_version_id_response404_type: Option<String>,
217}
218
219#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
220pub struct DeleteApisApiIdVersionsVersionIdResponse500 {
221    /// Details about the error message.
222    pub detail: Option<String>,
223
224    /// The generic description for the error's class.
225    pub title: Option<String>,
226
227    /// The type of error.
228    #[serde(rename = "type")]
229    pub delete_apis_api_id_versions_version_id_response500_type: Option<String>,
230}
231
232#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
233pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponse {
234    /// The folder's information.
235    pub data: Option<DeleteCollectionsCollectionIdFoldersFolderIdResponseData>,
236
237    pub meta: Option<serde_json::Value>,
238
239    /// The folder's ID.
240    pub model_id: Option<String>,
241
242    /// An internal revision ID. Its value increments each time the resource changes. You can use
243    /// this ID to track whether there were changes since the last time you fetched the resource.
244    pub revision: Option<f64>,
245}
246
247#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
248pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponseData {
249    /// The folder's ID.
250    pub id: Option<String>,
251
252    /// The user ID of the folder's owner.
253    pub owner: Option<String>,
254}
255
256#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
257pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponse401 {
258    pub error: Option<DeleteCollectionsCollectionIdFoldersFolderIdResponse401Error>,
259}
260
261#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
262pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponse401Error {
263    /// Information about the error.
264    pub details: Option<DeleteCollectionsCollectionIdFoldersFolderIdResponse401ErrorDetails>,
265
266    /// The error's message.
267    pub message: Option<String>,
268
269    /// The error name.
270    pub name: Option<String>,
271}
272
273#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
274pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponse401ErrorDetails {
275    /// The resource name.
276    pub model: Option<String>,
277
278    /// The folder's ID.
279    pub model_id: Option<String>,
280
281    /// The user ID of the folder's owner.
282    pub owner: Option<String>,
283}
284
285#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
286pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponse404 {
287    pub error: Option<DeleteCollectionsCollectionIdFoldersFolderIdResponse404Error>,
288}
289
290#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
291pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponse404Error {
292    /// Information about the error.
293    pub details: Option<DeleteCollectionsCollectionIdFoldersFolderIdResponse404ErrorDetails>,
294
295    /// The error message.
296    pub message: Option<String>,
297
298    /// The error name.
299    pub name: Option<String>,
300}
301
302#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
303pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponse404ErrorDetails {
304    /// The resource name.
305    pub model: Option<String>,
306
307    /// The folder's ID.
308    pub model_id: Option<String>,
309
310    /// The user ID of the folder's owner.
311    pub owner: Option<String>,
312}
313
314#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
315pub struct DeleteCollectionsCollectionIdFoldersFolderIdResponse500 {
316    /// Details about the error message.
317    pub detail: Option<String>,
318
319    /// The generic description for the error's class.
320    pub title: Option<String>,
321
322    /// The type of error.
323    #[serde(rename = "type")]
324    pub delete_collections_collection_id_folders_folder_id_response500_type: Option<String>,
325}
326
327#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
328pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponse {
329    /// The request's information.
330    pub data: Option<DeleteCollectionsCollectionIdRequestsRequestIdResponseData>,
331
332    pub meta: Option<serde_json::Value>,
333
334    /// The request's ID.
335    pub model_id: Option<String>,
336
337    /// An internal revision ID. Its value increments each time the resource changes. You can use
338    /// this ID to track whether there were changes since the last time you fetched the resource.
339    pub revision: Option<f64>,
340}
341
342#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
343pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponseData {
344    /// The request's ID.
345    pub id: Option<String>,
346
347    /// The user ID of the request's owner.
348    pub owner: Option<String>,
349}
350
351#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
352pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponse401 {
353    pub error: Option<DeleteCollectionsCollectionIdRequestsRequestIdResponse401Error>,
354}
355
356#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
357pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponse401Error {
358    /// Information about the error.
359    pub details: Option<DeleteCollectionsCollectionIdRequestsRequestIdResponse401ErrorDetails>,
360
361    /// The error's message.
362    pub message: Option<String>,
363
364    /// The error's name.
365    pub name: Option<String>,
366}
367
368#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
369pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponse401ErrorDetails {
370    /// The resource name.
371    pub model: Option<String>,
372
373    /// The request's ID.
374    pub model_id: Option<String>,
375
376    /// The user ID of the request's owner.
377    pub owner: Option<String>,
378}
379
380#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
381pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponse404 {
382    pub error: Option<DeleteCollectionsCollectionIdRequestsRequestIdResponse404Error>,
383}
384
385#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
386pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponse404Error {
387    /// Information about the error.
388    pub details: Option<DeleteCollectionsCollectionIdRequestsRequestIdResponse404ErrorDetails>,
389
390    /// The error message.
391    pub message: Option<String>,
392
393    /// The error name.
394    pub name: Option<String>,
395}
396
397#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
398pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponse404ErrorDetails {
399    /// The resource name.
400    pub model: Option<String>,
401
402    /// The request's ID.
403    pub model_id: Option<String>,
404
405    /// The user ID of the request's owner.
406    pub owner: Option<String>,
407}
408
409#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
410pub struct DeleteCollectionsCollectionIdRequestsRequestIdResponse500 {
411    /// Details about the error message.
412    pub detail: Option<String>,
413
414    /// The generic description for the error's class.
415    pub title: Option<String>,
416
417    /// The type of error.
418    #[serde(rename = "type")]
419    pub delete_collections_collection_id_requests_request_id_response500_type: Option<String>,
420}
421
422#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
423pub struct DeleteCollectionsCollectionIdResponse {
424    /// Information about the deleted collection.
425    pub collection: Option<DeleteCollectionsCollectionIdResponseCollection>,
426}
427
428#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
429pub struct DeleteCollectionsCollectionIdResponseCollection {
430    /// The deleted collection's ID.
431    pub id: Option<String>,
432
433    /// The deleted collection's unique ID.
434    pub uid: Option<String>,
435}
436
437#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
438pub struct DeleteCollectionsCollectionIdResponse401 {
439    pub error: Option<DeleteCollectionsCollectionIdResponse401Error>,
440}
441
442#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
443pub struct DeleteCollectionsCollectionIdResponse401Error {
444    /// The error message.
445    pub message: Option<String>,
446
447    /// The error message.
448    pub name: Option<String>,
449}
450
451#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
452pub struct DeleteCollectionsCollectionIdResponse404 {
453    pub error: Option<DeleteCollectionsCollectionIdResponse404Error>,
454}
455
456#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
457pub struct DeleteCollectionsCollectionIdResponse404Error {
458    /// Information about the error.
459    pub details: Option<DeleteCollectionsCollectionIdResponse404ErrorDetails>,
460
461    /// The error message.
462    pub message: Option<String>,
463
464    /// The error name.
465    pub name: Option<String>,
466}
467
468#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
469pub struct DeleteCollectionsCollectionIdResponse404ErrorDetails {
470    /// The collection ID.
471    pub id: Option<String>,
472
473    /// The instance item.
474    pub item: Option<String>,
475}
476
477#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
478pub struct DeleteCollectionsCollectionIdResponse429 {
479    /// The error name.
480    pub error: Option<String>,
481
482    /// The error message.
483    pub message: Option<String>,
484}
485
486#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
487pub struct DeleteCollectionsCollectionIdResponse500 {
488    pub error: Option<DeleteCollectionsCollectionIdResponse500Error>,
489}
490
491#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
492pub struct DeleteCollectionsCollectionIdResponse500Error {
493    /// The error message.
494    pub message: Option<String>,
495
496    /// The error name.
497    pub name: Option<String>,
498}
499
500#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
501pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponse {
502    /// The response's information.
503    pub data: Option<DeleteCollectionsCollectionIdResponsesResponseIdResponseData>,
504
505    pub meta: Option<serde_json::Value>,
506
507    /// The response's ID.
508    pub model_id: Option<String>,
509
510    /// An internal revision ID. Its value increments each time the resource changes. You can use
511    /// this ID to track whether there were changes since the last time you fetched the resource.
512    pub revision: Option<f64>,
513}
514
515#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
516pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponseData {
517    /// The response's ID.
518    pub id: Option<String>,
519
520    /// The user ID of the request's owner.
521    pub owner: Option<String>,
522}
523
524#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
525pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponse401 {
526    pub error: Option<DeleteCollectionsCollectionIdResponsesResponseIdResponse401Error>,
527}
528
529#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
530pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponse401Error {
531    /// Information about the error.
532    pub details: Option<DeleteCollectionsCollectionIdResponsesResponseIdResponse401ErrorDetails>,
533
534    /// The error message.
535    pub message: Option<String>,
536
537    /// The error name.
538    pub name: Option<String>,
539}
540
541#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
542pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponse401ErrorDetails {
543    /// The resource name.
544    pub model: Option<String>,
545
546    /// The response's ID.
547    pub model_id: Option<String>,
548
549    /// The user ID of the response's owner.
550    pub owner: Option<String>,
551}
552
553#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
554pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponse404 {
555    pub error: Option<DeleteCollectionsCollectionIdResponsesResponseIdResponse404Error>,
556}
557
558#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
559pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponse404Error {
560    /// Information about the error.
561    pub details: Option<DeleteCollectionsCollectionIdResponsesResponseIdResponse404ErrorDetails>,
562
563    /// The error message.
564    pub message: Option<String>,
565
566    /// The error name.
567    pub name: Option<String>,
568}
569
570#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
571pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponse404ErrorDetails {
572    /// The resource name.
573    pub model: Option<String>,
574
575    /// The response's ID.
576    pub model_id: Option<String>,
577
578    /// The user ID of the response's owner.
579    pub owner: Option<String>,
580}
581
582#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
583pub struct DeleteCollectionsCollectionIdResponsesResponseIdResponse500 {
584    /// Details about the error message.
585    pub detail: Option<String>,
586
587    /// The generic description for the error's class.
588    pub title: Option<String>,
589
590    /// The type of error.
591    #[serde(rename = "type")]
592    pub delete_collections_collection_id_responses_response_id_response500_type: Option<String>,
593}
594
595#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
596pub struct DeleteEnvironmentsEnvironmentIdResponse {
597    pub environment: Option<DeleteEnvironmentsEnvironmentIdResponseEnvironment>,
598}
599
600#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
601pub struct DeleteEnvironmentsEnvironmentIdResponseEnvironment {
602    /// The deleted environment's ID.
603    pub id: Option<String>,
604
605    /// The deleted environment's unique ID.
606    pub uid: Option<String>,
607}
608
609#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
610pub struct DeleteEnvironmentsEnvironmentIdResponse401 {
611    pub error: Option<DeleteEnvironmentsEnvironmentIdResponse401Error>,
612}
613
614#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
615pub struct DeleteEnvironmentsEnvironmentIdResponse401Error {
616    /// The error message.
617    pub message: Option<String>,
618
619    /// The error message.
620    pub name: Option<String>,
621}
622
623#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
624pub struct DeleteEnvironmentsEnvironmentIdResponse404 {
625    pub error: Option<DeleteEnvironmentsEnvironmentIdResponse404Error>,
626}
627
628#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
629pub struct DeleteEnvironmentsEnvironmentIdResponse404Error {
630    /// The error message.
631    pub message: Option<String>,
632
633    /// The error name.
634    pub name: Option<String>,
635}
636
637#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
638pub struct DeleteEnvironmentsEnvironmentIdResponse429 {
639    /// The error name.
640    pub error: Option<String>,
641
642    /// The error message.
643    pub message: Option<String>,
644}
645
646#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
647pub struct DeleteEnvironmentsEnvironmentIdResponse500 {
648    pub error: Option<DeleteEnvironmentsEnvironmentIdResponse500Error>,
649}
650
651#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
652pub struct DeleteEnvironmentsEnvironmentIdResponse500Error {
653    /// The error message.
654    pub message: Option<String>,
655
656    /// The error name.
657    pub name: Option<String>,
658}
659
660#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
661pub struct DeleteMocksMockIdResponse {
662    /// Information about the mock server.
663    pub mock: Option<DeleteMocksMockIdResponseMock>,
664}
665
666#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
667pub struct DeleteMocksMockIdResponseMock {
668    /// The mock server's ID.
669    pub id: Option<String>,
670
671    /// The mock server's unique ID.
672    pub uid: Option<String>,
673}
674
675#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
676pub struct DeleteMocksMockIdResponse400 {
677    pub error: Option<DeleteMocksMockIdResponse400Error>,
678}
679
680#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
681pub struct DeleteMocksMockIdResponse400Error {
682    /// The error message.
683    pub message: Option<String>,
684
685    /// The error name.
686    pub name: Option<String>,
687}
688
689#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
690pub struct DeleteMocksMockIdResponse401 {
691    pub error: Option<DeleteMocksMockIdResponse401Error>,
692}
693
694#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
695pub struct DeleteMocksMockIdResponse401Error {
696    /// The error message.
697    pub message: Option<String>,
698
699    /// The error message.
700    pub name: Option<String>,
701}
702
703#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
704pub struct DeleteMocksMockIdResponse404 {
705    pub error: Option<DeleteMocksMockIdResponse404Error>,
706}
707
708#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
709pub struct DeleteMocksMockIdResponse404Error {
710    /// Information about the error.
711    pub details: Option<Vec<String>>,
712
713    /// The error message.
714    pub message: Option<String>,
715
716    /// The error name.
717    pub name: Option<String>,
718}
719
720#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
721pub struct DeleteMocksMockIdResponse429 {
722    /// The error name.
723    pub error: Option<String>,
724
725    /// The error message.
726    pub message: Option<String>,
727}
728
729#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
730pub struct DeleteMocksMockIdResponse500 {
731    pub error: Option<DeleteMocksMockIdResponse500Error>,
732}
733
734#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
735pub struct DeleteMocksMockIdResponse500Error {
736    /// The error message.
737    pub message: Option<String>,
738
739    /// The error name.
740    pub name: Option<String>,
741}
742
743#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
744#[serde(rename_all = "camelCase")]
745pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse {
746    /// The server response's body that returns when calling the mock server.
747    pub body: Option<String>,
748
749    /// The date and time at which the server response was created.
750    pub created_at: Option<String>,
751
752    /// The user ID of the user who created the server response.
753    pub created_by: Option<String>,
754
755    /// The server response's request headers, such as Content-Type, Accept, encoding, and other
756    /// information.
757    pub headers: Option<Vec<DeleteMocksMockIdServerResponsesServerResponseIdResponseHeadersItem>>,
758
759    /// The server response's ID.
760    pub id: Option<String>,
761
762    /// The server response's body language type.
763    pub language: Option<DeleteMocksMockIdServerResponsesServerResponseIdResponseLanguage>,
764
765    /// The server response's name.
766    pub name: Option<String>,
767
768    /// The server response's 5xx HTTP response code.
769    pub status_code: Option<f64>,
770
771    /// The user ID of the user who last updated the server response.
772    pub updated_by: Option<String>,
773}
774
775#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
776pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponseHeadersItem {
777    /// The request header's key value.
778    pub key: Option<String>,
779
780    /// The request header's value.
781    pub value: Option<String>,
782}
783
784#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
785#[serde(rename_all = "snake_case")]
786pub enum DeleteMocksMockIdServerResponsesServerResponseIdResponseLanguage {
787    Html,
788
789    Javascript,
790
791    Json,
792
793    Text,
794
795    Xml,
796}
797
798#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
799pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse400 {
800    pub error: Option<DeleteMocksMockIdServerResponsesServerResponseIdResponse400Error>,
801}
802
803#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
804pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse400Error {
805    /// The error message.
806    pub message: Option<String>,
807
808    /// The error name.
809    pub name: Option<String>,
810}
811
812#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
813pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse401 {
814    pub error: Option<DeleteMocksMockIdServerResponsesServerResponseIdResponse401Error>,
815}
816
817#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
818pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse401Error {
819    /// The error message.
820    pub message: Option<String>,
821
822    /// The error message.
823    pub name: Option<String>,
824}
825
826#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
827pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse404 {
828    pub error: Option<DeleteMocksMockIdServerResponsesServerResponseIdResponse404Error>,
829}
830
831#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
832pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse404Error {
833    /// Information about the error.
834    pub details: Option<Vec<String>>,
835
836    /// The error message.
837    pub message: Option<String>,
838
839    /// The error name.
840    pub name: Option<String>,
841}
842
843#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
844pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse429 {
845    /// The error name.
846    pub error: Option<String>,
847
848    /// The error message.
849    pub message: Option<String>,
850}
851
852#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
853pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse500 {
854    pub error: Option<DeleteMocksMockIdServerResponsesServerResponseIdResponse500Error>,
855}
856
857#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
858pub struct DeleteMocksMockIdServerResponsesServerResponseIdResponse500Error {
859    /// The error message.
860    pub message: Option<String>,
861
862    /// The error name.
863    pub name: Option<String>,
864}
865
866#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
867pub struct DeleteMocksMockIdUnpublishResponse {
868    pub mock: Option<DeleteMocksMockIdUnpublishResponseMock>,
869}
870
871#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
872pub struct DeleteMocksMockIdUnpublishResponseMock {
873    /// The mock server's ID.
874    pub id: Option<String>,
875}
876
877#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
878pub struct DeleteMocksMockIdUnpublishResponse400 {
879    pub error: Option<DeleteMocksMockIdUnpublishResponse400Error>,
880}
881
882#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
883pub struct DeleteMocksMockIdUnpublishResponse400Error {
884    /// The error message.
885    pub message: Option<String>,
886
887    /// The error name.
888    pub name: Option<String>,
889}
890
891#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
892pub struct DeleteMocksMockIdUnpublishResponse401 {
893    pub error: Option<DeleteMocksMockIdUnpublishResponse401Error>,
894}
895
896#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
897pub struct DeleteMocksMockIdUnpublishResponse401Error {
898    /// The error message.
899    pub message: Option<String>,
900
901    /// The error message.
902    pub name: Option<String>,
903}
904
905#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
906pub struct DeleteMocksMockIdUnpublishResponse404 {
907    pub error: Option<DeleteMocksMockIdUnpublishResponse404Error>,
908}
909
910#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
911pub struct DeleteMocksMockIdUnpublishResponse404Error {
912    /// Information about the error.
913    pub details: Option<Vec<String>>,
914
915    /// The error message.
916    pub message: Option<String>,
917
918    /// The error name.
919    pub name: Option<String>,
920}
921
922#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
923pub struct DeleteMocksMockIdUnpublishResponse429 {
924    /// The error name.
925    pub error: Option<String>,
926
927    /// The error message.
928    pub message: Option<String>,
929}
930
931#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
932pub struct DeleteMocksMockIdUnpublishResponse500 {
933    pub error: Option<DeleteMocksMockIdUnpublishResponse500Error>,
934}
935
936#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
937pub struct DeleteMocksMockIdUnpublishResponse500Error {
938    /// The error message.
939    pub message: Option<String>,
940
941    /// The error name.
942    pub name: Option<String>,
943}
944
945#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
946pub struct DeleteMonitorsMonitorIdResponse {
947    pub monitor: Option<DeleteMonitorsMonitorIdResponseMonitor>,
948}
949
950#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
951pub struct DeleteMonitorsMonitorIdResponseMonitor {
952    /// The monitor's ID.
953    pub id: Option<String>,
954
955    /// The monitor's unique ID.
956    pub uid: Option<String>,
957}
958
959#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
960pub struct DeleteMonitorsMonitorIdResponse400 {
961    pub error: Option<DeleteMonitorsMonitorIdResponse400Error>,
962}
963
964#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
965pub struct DeleteMonitorsMonitorIdResponse400Error {
966    /// The error message.
967    pub message: Option<String>,
968
969    /// The error name.
970    pub name: Option<String>,
971}
972
973#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
974pub struct DeleteMonitorsMonitorIdResponse401 {
975    pub error: Option<DeleteMonitorsMonitorIdResponse401Error>,
976}
977
978#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
979pub struct DeleteMonitorsMonitorIdResponse401Error {
980    /// The error message.
981    pub message: Option<String>,
982
983    /// The error message.
984    pub name: Option<String>,
985}
986
987#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
988pub struct DeleteMonitorsMonitorIdResponse429 {
989    /// The error name.
990    pub error: Option<String>,
991
992    /// The error message.
993    pub message: Option<String>,
994}
995
996#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
997pub struct DeleteMonitorsMonitorIdResponse500 {
998    pub error: Option<DeleteMonitorsMonitorIdResponse500Error>,
999}
1000
1001#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1002pub struct DeleteMonitorsMonitorIdResponse500Error {
1003    /// The error message.
1004    pub message: Option<String>,
1005
1006    /// The error name.
1007    pub name: Option<String>,
1008}
1009
1010#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1011#[serde(rename_all = "camelCase")]
1012pub struct DeleteNetworkPrivateElementTypeElementIdResponse {
1013    /// The Private API Network element type. The name of the object is the element type.
1014    pub element_type: Option<DeleteNetworkPrivateElementTypeElementIdResponseElementType>,
1015}
1016
1017#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1018pub struct DeleteNetworkPrivateElementTypeElementIdResponseElementType {
1019    /// The element's ID.
1020    pub id: Option<String>,
1021}
1022
1023#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1024pub struct DeleteNetworkPrivateElementTypeElementIdResponse400 {
1025    /// The error message.
1026    pub message: Option<String>,
1027
1028    /// The error name.
1029    pub name: Option<String>,
1030}
1031
1032#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1033pub struct DeleteNetworkPrivateElementTypeElementIdResponse401 {
1034    pub error: Option<DeleteNetworkPrivateElementTypeElementIdResponse401Error>,
1035}
1036
1037#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1038pub struct DeleteNetworkPrivateElementTypeElementIdResponse401Error {
1039    /// The error message.
1040    pub message: Option<String>,
1041
1042    /// The error message.
1043    pub name: Option<String>,
1044}
1045
1046#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1047pub struct DeleteNetworkPrivateElementTypeElementIdResponse403 {
1048    pub error: Option<DeleteNetworkPrivateElementTypeElementIdResponse403Error>,
1049}
1050
1051#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1052pub struct DeleteNetworkPrivateElementTypeElementIdResponse403Error {
1053    /// The error message.
1054    pub message: Option<String>,
1055
1056    /// The error name.
1057    pub name: Option<String>,
1058}
1059
1060#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1061pub struct DeleteNetworkPrivateElementTypeElementIdResponse404 {
1062    pub error: Option<DeleteNetworkPrivateElementTypeElementIdResponse404Error>,
1063}
1064
1065#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1066pub struct DeleteNetworkPrivateElementTypeElementIdResponse404Error {
1067    /// The error message.
1068    pub message: Option<String>,
1069
1070    /// The error name.
1071    pub name: Option<String>,
1072}
1073
1074#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1075pub struct DeleteNetworkPrivateElementTypeElementIdResponse429 {
1076    /// The error name.
1077    pub error: Option<String>,
1078
1079    /// The error message.
1080    pub message: Option<String>,
1081}
1082
1083#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1084pub struct DeleteNetworkPrivateElementTypeElementIdResponse500 {
1085    pub error: Option<DeleteNetworkPrivateElementTypeElementIdResponse500Error>,
1086}
1087
1088#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1089pub struct DeleteNetworkPrivateElementTypeElementIdResponse500Error {
1090    /// The error message.
1091    pub message: Option<String>,
1092
1093    /// The error name.
1094    pub name: Option<String>,
1095}
1096
1097#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1098pub struct DeleteScimV2GroupsGroupIdResponse400 {
1099    pub detail: Option<String>,
1100
1101    pub schemas: Option<Vec<String>>,
1102
1103    pub status: Option<String>,
1104}
1105
1106#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1107pub struct DeleteScimV2GroupsGroupIdResponse401 {
1108    /// Information about the error.
1109    pub detail: Option<String>,
1110
1111    /// The SCIM schema resource URIs.
1112    pub schemas: Option<Vec<String>>,
1113
1114    /// The HTTP status code.
1115    pub status: Option<String>,
1116}
1117
1118#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1119pub struct DeleteScimV2GroupsGroupIdResponse403 {
1120    /// Information about the error.
1121    pub detail: Option<String>,
1122
1123    /// The SCIM schema resource URIs.
1124    pub schemas: Option<Vec<String>>,
1125
1126    /// The HTTP status code.
1127    pub status: Option<String>,
1128}
1129
1130#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1131pub struct DeleteScimV2GroupsGroupIdResponse404 {
1132    /// Information about the error.
1133    pub detail: Option<String>,
1134
1135    /// The SCIM schema resource URIs.
1136    pub schemas: Option<Vec<String>>,
1137
1138    /// The HTTP status code.
1139    pub status: Option<String>,
1140}
1141
1142#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1143pub struct DeleteScimV2GroupsGroupIdResponse429 {
1144    /// Information about the error.
1145    pub detail: Option<String>,
1146
1147    /// The SCIM schema resource URIs.
1148    pub schemas: Option<Vec<String>>,
1149
1150    /// The HTTP status code.
1151    pub status: Option<f64>,
1152}
1153
1154#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1155pub struct DeleteScimV2GroupsGroupIdResponse500 {
1156    /// Information about the error.
1157    pub detail: Option<String>,
1158
1159    /// The SCIM schema resource URIs.
1160    pub schemas: Option<Vec<String>>,
1161
1162    /// The HTTP status code.
1163    pub status: Option<String>,
1164}
1165
1166#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1167pub struct DeleteWorkspacesWorkspaceIdResponse {
1168    /// Information about the deleted workspace.
1169    pub workspace: Option<DeleteWorkspacesWorkspaceIdResponseWorkspace>,
1170}
1171
1172#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1173pub struct DeleteWorkspacesWorkspaceIdResponseWorkspace {
1174    /// The workspace's ID.
1175    pub id: Option<String>,
1176}
1177
1178#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1179pub struct DeleteWorkspacesWorkspaceIdResponse400 {
1180    pub error: Option<DeleteWorkspacesWorkspaceIdResponse400Error>,
1181}
1182
1183#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1184pub struct DeleteWorkspacesWorkspaceIdResponse400Error {
1185    /// The error message.
1186    pub message: Option<String>,
1187
1188    /// The error name.
1189    pub name: Option<String>,
1190}
1191
1192#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1193pub struct DeleteWorkspacesWorkspaceIdResponse401 {
1194    pub error: Option<DeleteWorkspacesWorkspaceIdResponse401Error>,
1195}
1196
1197#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1198pub struct DeleteWorkspacesWorkspaceIdResponse401Error {
1199    /// The error message.
1200    pub message: Option<String>,
1201
1202    /// The error message.
1203    pub name: Option<String>,
1204}
1205
1206#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1207pub struct DeleteWorkspacesWorkspaceIdResponse429 {
1208    /// The error name.
1209    pub error: Option<String>,
1210
1211    /// The error message.
1212    pub message: Option<String>,
1213}
1214
1215#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1216pub struct DeleteWorkspacesWorkspaceIdResponse500 {
1217    pub error: Option<DeleteWorkspacesWorkspaceIdResponse500Error>,
1218}
1219
1220#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1221pub struct DeleteWorkspacesWorkspaceIdResponse500Error {
1222    /// The error message.
1223    pub message: Option<String>,
1224
1225    /// The error name.
1226    pub name: Option<String>,
1227}
1228
1229#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1230pub struct GetApisApiIdCollectionsCollectionIdResponse {
1231    /// Information about the collection.
1232    pub info: Option<GetApisApiIdCollectionsCollectionIdResponseInfo>,
1233
1234    pub item: Option<Vec<GetApisApiIdCollectionsCollectionIdResponseItemItem>>,
1235}
1236
1237#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1238#[serde(rename_all = "camelCase")]
1239pub struct GetApisApiIdCollectionsCollectionIdResponseInfo {
1240    /// The collection's ID.
1241    #[serde(rename = "_postman_id")]
1242    pub postman_id: Option<String>,
1243
1244    /// The collection's description.
1245    pub description: Option<String>,
1246
1247    /// The collection's name.
1248    pub name: Option<String>,
1249
1250    /// The collection's JSON schema version.
1251    pub schema: Option<Schema>,
1252
1253    /// The date and time at which the collection was last updated.
1254    pub updated_at: Option<String>,
1255}
1256
1257#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1258pub enum Schema {
1259    #[serde(rename = "https://schema.getpostman.com/json/collection/v2.1.0/collection.json")]
1260    HttpsSchemaGetpostmanComJsonCollectionV210CollectionJson,
1261}
1262
1263#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1264pub struct GetApisApiIdCollectionsCollectionIdResponseItemItem {
1265    /// The collection's event information. For a complete list of values, refer to the
1266    /// `definitions.event` entry in the [collection.json schema
1267    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
1268    pub event: Option<Vec<Option<serde_json::Value>>>,
1269
1270    /// The collection item's ID.
1271    pub id: Option<String>,
1272
1273    /// The collection item's human-readable identifier.
1274    pub name: Option<String>,
1275
1276    pub request: Option<serde_json::Value>,
1277
1278    /// The collection's response information. For a complete list of values, refer to the
1279    /// `definitions.response` entry in the [collection.json schema
1280    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
1281    pub response: Option<Vec<Option<serde_json::Value>>>,
1282}
1283
1284#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1285pub struct GetApisApiIdCollectionsCollectionIdResponse400 {
1286    /// Details about the error.
1287    pub detail: Option<String>,
1288
1289    /// The generic description for the error's class.
1290    pub title: Option<String>,
1291
1292    /// The error type.
1293    #[serde(rename = "type")]
1294    pub get_apis_api_id_collections_collection_id_response400_type: Option<String>,
1295}
1296
1297#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1298pub struct GetApisApiIdCollectionsCollectionIdResponse401 {
1299    /// Details about the error.
1300    pub detail: Option<String>,
1301
1302    /// The error instance.
1303    pub instance: Option<String>,
1304
1305    /// The HTTP status code.
1306    pub status: Option<f64>,
1307
1308    /// The generic description for the error's class.
1309    pub title: Option<String>,
1310
1311    /// The error type.
1312    #[serde(rename = "type")]
1313    pub get_apis_api_id_collections_collection_id_response401_type: Option<String>,
1314}
1315
1316#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1317pub struct GetApisApiIdCollectionsCollectionIdResponse403 {
1318    /// Details about the error message.
1319    pub detail: Option<String>,
1320
1321    /// The generic description for the error's class.
1322    pub title: Option<String>,
1323
1324    /// The type of error.
1325    #[serde(rename = "type")]
1326    pub get_apis_api_id_collections_collection_id_response403_type: Option<String>,
1327}
1328
1329#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1330pub struct GetApisApiIdCollectionsCollectionIdResponse404 {
1331    /// Details about the error message.
1332    pub detail: Option<String>,
1333
1334    /// The generic description for the error's class.
1335    pub title: Option<String>,
1336
1337    /// The type of error.
1338    #[serde(rename = "type")]
1339    pub get_apis_api_id_collections_collection_id_response404_type: Option<String>,
1340}
1341
1342#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1343pub struct GetApisApiIdCollectionsCollectionIdResponse500 {
1344    /// Details about the error message.
1345    pub detail: Option<String>,
1346
1347    /// The generic description for the error's class.
1348    pub title: Option<String>,
1349
1350    /// The type of error.
1351    #[serde(rename = "type")]
1352    pub get_apis_api_id_collections_collection_id_response500_type: Option<String>,
1353}
1354
1355#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1356pub struct GetApisApiIdResponse401 {
1357    /// Details about the error.
1358    pub detail: Option<String>,
1359
1360    /// The error instance.
1361    pub instance: Option<String>,
1362
1363    /// The HTTP status code.
1364    pub status: Option<f64>,
1365
1366    /// The generic description for the error's class.
1367    pub title: Option<String>,
1368
1369    /// The error type.
1370    #[serde(rename = "type")]
1371    pub get_apis_api_id_response401_type: Option<String>,
1372}
1373
1374#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1375pub struct GetApisApiIdResponse404 {
1376    /// Details about the error message.
1377    pub detail: Option<String>,
1378
1379    /// The generic description for the error's class.
1380    pub title: Option<String>,
1381
1382    /// The type of error.
1383    #[serde(rename = "type")]
1384    pub get_apis_api_id_response404_type: Option<String>,
1385}
1386
1387#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1388pub struct GetApisApiIdResponse422 {
1389    /// Details about the error.
1390    pub detail: Option<String>,
1391
1392    /// The generic description for the error's class.
1393    pub title: Option<String>,
1394
1395    /// The error type.
1396    #[serde(rename = "type")]
1397    pub get_apis_api_id_response422_type: Option<String>,
1398}
1399
1400#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1401pub struct GetApisApiIdResponse500 {
1402    /// Details about the error message.
1403    pub detail: Option<String>,
1404
1405    /// The generic description for the error's class.
1406    pub title: Option<String>,
1407
1408    /// The type of error.
1409    #[serde(rename = "type")]
1410    pub get_apis_api_id_response500_type: Option<String>,
1411}
1412
1413#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1414#[serde(rename_all = "camelCase")]
1415pub struct GetApisApiIdSchemasSchemaIdFilesFilePathResponse {
1416    /// The schema file's content.
1417    pub content: Option<String>,
1418
1419    /// The date and time at which the file was created.
1420    pub created_at: Option<String>,
1421
1422    /// The user Id of the user that created the file.
1423    pub created_by: Option<String>,
1424
1425    /// The schema file's ID.
1426    pub id: Option<String>,
1427
1428    /// The schema file's name.
1429    pub name: Option<String>,
1430
1431    /// The file system path to the schema file.
1432    pub path: Option<String>,
1433
1434    /// The date and time at which the file was last updated.
1435    pub updated_at: Option<String>,
1436
1437    /// The user ID of the user that last updated the file.
1438    pub updated_by: Option<String>,
1439}
1440
1441#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1442pub struct GetApisApiIdSchemasSchemaIdFilesFilePathResponse400 {
1443    /// Details about the error.
1444    pub detail: Option<String>,
1445
1446    /// The generic description for the error's class.
1447    pub title: Option<String>,
1448
1449    /// The error type.
1450    #[serde(rename = "type")]
1451    pub get_apis_api_id_schemas_schema_id_files_file_path_response400_type: Option<String>,
1452}
1453
1454#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1455pub struct GetApisApiIdSchemasSchemaIdFilesFilePathResponse401 {
1456    /// Details about the error.
1457    pub detail: Option<String>,
1458
1459    /// The error instance.
1460    pub instance: Option<String>,
1461
1462    /// The HTTP status code.
1463    pub status: Option<f64>,
1464
1465    /// The generic description for the error's class.
1466    pub title: Option<String>,
1467
1468    /// The error type.
1469    #[serde(rename = "type")]
1470    pub get_apis_api_id_schemas_schema_id_files_file_path_response401_type: Option<String>,
1471}
1472
1473#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1474pub struct GetApisApiIdSchemasSchemaIdFilesFilePathResponse404 {
1475    /// Details about the error message.
1476    pub detail: Option<String>,
1477
1478    /// The generic description for the error's class.
1479    pub title: Option<String>,
1480
1481    /// The type of error.
1482    #[serde(rename = "type")]
1483    pub get_apis_api_id_schemas_schema_id_files_file_path_response404_type: Option<String>,
1484}
1485
1486#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1487pub struct GetApisApiIdSchemasSchemaIdFilesFilePathResponse422 {
1488    /// Details about the error.
1489    pub detail: Option<String>,
1490
1491    /// The generic description for the error's class.
1492    pub title: Option<String>,
1493
1494    /// The error type.
1495    #[serde(rename = "type")]
1496    pub get_apis_api_id_schemas_schema_id_files_file_path_response422_type: Option<String>,
1497}
1498
1499#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1500pub struct GetApisApiIdSchemasSchemaIdFilesFilePathResponse500 {
1501    /// Details about the error message.
1502    pub detail: Option<String>,
1503
1504    /// The generic description for the error's class.
1505    pub title: Option<String>,
1506
1507    /// The type of error.
1508    #[serde(rename = "type")]
1509    pub get_apis_api_id_schemas_schema_id_files_file_path_response500_type: Option<String>,
1510}
1511
1512#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1513pub struct GetApisApiIdSchemasSchemaIdFilesResponse {
1514    /// The schema's files.
1515    pub files: Option<Vec<GetApisApiIdSchemasSchemaIdFilesResponseFilesItem>>,
1516
1517    /// The schema's non-standard meta information.
1518    pub meta: Option<GetApisApiIdSchemasSchemaIdFilesResponseMeta>,
1519}
1520
1521#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1522#[serde(rename_all = "camelCase")]
1523pub struct GetApisApiIdSchemasSchemaIdFilesResponseFilesItem {
1524    /// The date and time at which the file was created.
1525    pub created_at: Option<String>,
1526
1527    /// The user Id of the user that created the file.
1528    pub created_by: Option<f64>,
1529
1530    /// The schema file's ID.
1531    pub id: Option<String>,
1532
1533    /// The schema file's name.
1534    pub name: Option<String>,
1535
1536    /// The file system path to the schema file.
1537    pub path: Option<String>,
1538
1539    /// The date and time at which the file was last updated.
1540    pub updated_at: Option<String>,
1541
1542    /// The user ID of the user that last updated the file.
1543    pub updated_by: Option<f64>,
1544}
1545
1546#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1547#[serde(rename_all = "camelCase")]
1548pub struct GetApisApiIdSchemasSchemaIdFilesResponseMeta {
1549    /// The pointer to the next record in the set of paginated results.
1550    pub next_cursor: Option<String>,
1551}
1552
1553#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1554pub struct GetApisApiIdSchemasSchemaIdFilesResponse400 {
1555    /// Details about the error.
1556    pub detail: Option<String>,
1557
1558    /// The generic description for the error's class.
1559    pub title: Option<String>,
1560
1561    /// The error type.
1562    #[serde(rename = "type")]
1563    pub get_apis_api_id_schemas_schema_id_files_response400_type: Option<String>,
1564}
1565
1566#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1567pub struct GetApisApiIdSchemasSchemaIdFilesResponse401 {
1568    /// Details about the error.
1569    pub detail: Option<String>,
1570
1571    /// The error instance.
1572    pub instance: Option<String>,
1573
1574    /// The HTTP status code.
1575    pub status: Option<f64>,
1576
1577    /// The generic description for the error's class.
1578    pub title: Option<String>,
1579
1580    /// The error type.
1581    #[serde(rename = "type")]
1582    pub get_apis_api_id_schemas_schema_id_files_response401_type: Option<String>,
1583}
1584
1585#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1586pub struct GetApisApiIdSchemasSchemaIdFilesResponse404 {
1587    /// Details about the error message.
1588    pub detail: Option<String>,
1589
1590    /// The generic description for the error's class.
1591    pub title: Option<String>,
1592
1593    /// The type of error.
1594    #[serde(rename = "type")]
1595    pub get_apis_api_id_schemas_schema_id_files_response404_type: Option<String>,
1596}
1597
1598#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1599pub struct GetApisApiIdSchemasSchemaIdFilesResponse422 {
1600    /// Details about the error.
1601    pub detail: Option<String>,
1602
1603    /// The generic description for the error's class.
1604    pub title: Option<String>,
1605
1606    /// The error type.
1607    #[serde(rename = "type")]
1608    pub get_apis_api_id_schemas_schema_id_files_response422_type: Option<String>,
1609}
1610
1611#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1612pub struct GetApisApiIdSchemasSchemaIdFilesResponse500 {
1613    /// Details about the error message.
1614    pub detail: Option<String>,
1615
1616    /// The generic description for the error's class.
1617    pub title: Option<String>,
1618
1619    /// The type of error.
1620    #[serde(rename = "type")]
1621    pub get_apis_api_id_schemas_schema_id_files_response500_type: Option<String>,
1622}
1623
1624#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1625pub struct GetApisApiIdSchemasSchemaIdResponse400 {
1626    /// Details about the error.
1627    pub detail: Option<String>,
1628
1629    /// The generic description for the error's class.
1630    pub title: Option<String>,
1631
1632    /// The error type.
1633    #[serde(rename = "type")]
1634    pub get_apis_api_id_schemas_schema_id_response400_type: Option<String>,
1635}
1636
1637#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1638pub struct GetApisApiIdSchemasSchemaIdResponse401 {
1639    /// Details about the error.
1640    pub detail: Option<String>,
1641
1642    /// The error instance.
1643    pub instance: Option<String>,
1644
1645    /// The HTTP status code.
1646    pub status: Option<f64>,
1647
1648    /// The generic description for the error's class.
1649    pub title: Option<String>,
1650
1651    /// The error type.
1652    #[serde(rename = "type")]
1653    pub get_apis_api_id_schemas_schema_id_response401_type: Option<String>,
1654}
1655
1656#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1657pub struct GetApisApiIdSchemasSchemaIdResponse403 {
1658    /// Details about the error message.
1659    pub detail: Option<String>,
1660
1661    /// The generic description for the error's class.
1662    pub title: Option<String>,
1663
1664    /// The type of error.
1665    #[serde(rename = "type")]
1666    pub get_apis_api_id_schemas_schema_id_response403_type: Option<String>,
1667}
1668
1669#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1670pub struct GetApisApiIdSchemasSchemaIdResponse404 {
1671    /// Details about the error message.
1672    pub detail: Option<String>,
1673
1674    /// The generic description for the error's class.
1675    pub title: Option<String>,
1676
1677    /// The type of error.
1678    #[serde(rename = "type")]
1679    pub get_apis_api_id_schemas_schema_id_response404_type: Option<String>,
1680}
1681
1682#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1683pub struct GetApisApiIdSchemasSchemaIdResponse422 {
1684    /// Details about the error.
1685    pub detail: Option<String>,
1686
1687    /// The generic description for the error's class.
1688    pub title: Option<String>,
1689
1690    /// The error type.
1691    #[serde(rename = "type")]
1692    pub get_apis_api_id_schemas_schema_id_response422_type: Option<String>,
1693}
1694
1695#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1696pub struct GetApisApiIdSchemasSchemaIdResponse500 {
1697    /// Details about the error message.
1698    pub detail: Option<String>,
1699
1700    /// The generic description for the error's class.
1701    pub title: Option<String>,
1702
1703    /// The type of error.
1704    #[serde(rename = "type")]
1705    pub get_apis_api_id_schemas_schema_id_response500_type: Option<String>,
1706}
1707
1708#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1709pub struct GetApisApiIdTagsResponse {
1710    /// A list of associated tags.
1711    pub tags: Option<Vec<GetApisApiIdTagsResponseTagsItem>>,
1712}
1713
1714#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1715pub struct GetApisApiIdTagsResponseTagsItem {
1716    /// The tag's ID within a team or individual (non-team) user scope.
1717    pub slug: Option<String>,
1718}
1719
1720#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1721pub struct GetApisApiIdTagsResponse401 {
1722    /// Information about the error.
1723    pub detail: Option<String>,
1724
1725    /// The error's HTTP status code.
1726    pub status: Option<i64>,
1727
1728    /// A short summary of the problem.
1729    pub title: Option<String>,
1730
1731    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
1732    /// the type of problem.
1733    #[serde(rename = "type")]
1734    pub get_apis_api_id_tags_response401_type: Option<String>,
1735}
1736
1737#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1738pub struct GetApisApiIdTagsResponse403 {
1739    /// Information about the error.
1740    pub detail: Option<String>,
1741
1742    /// The error's HTTP status code.
1743    pub status: Option<i64>,
1744
1745    /// A short summary of the problem.
1746    pub title: Option<String>,
1747
1748    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
1749    /// the type of problem.
1750    #[serde(rename = "type")]
1751    pub get_apis_api_id_tags_response403_type: Option<String>,
1752}
1753
1754#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1755pub struct GetApisApiIdTagsResponse404 {
1756    /// Information about the error.
1757    pub detail: Option<String>,
1758
1759    /// The URI reference that identifies the specific occurrence of the problem.
1760    pub instance: Option<String>,
1761
1762    /// The error's HTTP status code.
1763    pub status: Option<i64>,
1764
1765    /// A short summary of the problem.
1766    pub title: Option<String>,
1767
1768    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
1769    /// the type of problem.
1770    #[serde(rename = "type")]
1771    pub get_apis_api_id_tags_response404_type: Option<String>,
1772}
1773
1774#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1775pub struct GetApisApiIdTagsResponse500 {
1776    /// Information about the error.
1777    pub detail: Option<String>,
1778
1779    /// The URI reference that identifies the specific occurrence of the problem.
1780    pub instance: Option<String>,
1781
1782    /// The error's HTTP status code.
1783    pub status: Option<i64>,
1784
1785    /// A short summary of the problem.
1786    pub title: Option<String>,
1787
1788    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
1789    /// the type of problem.
1790    #[serde(rename = "type")]
1791    pub get_apis_api_id_tags_response500_type: Option<String>,
1792}
1793
1794#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1795#[serde(rename_all = "camelCase")]
1796pub struct GetApisApiIdTasksTaskIdResponse {
1797    /// The date and time at which the task was created.
1798    pub created_at: Option<String>,
1799
1800    pub details: Option<serde_json::Value>,
1801
1802    /// The task's ID.
1803    pub id: Option<String>,
1804
1805    /// The response's non-standard meta information.
1806    pub meta: Option<GetApisApiIdTasksTaskIdResponseMeta>,
1807
1808    /// The task's current status.
1809    pub status: Option<GetApisApiIdTasksTaskIdResponseStatus>,
1810
1811    /// The date and time at which the task was last updated.
1812    pub updated_at: Option<String>,
1813}
1814
1815#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1816pub struct GetApisApiIdTasksTaskIdResponseMeta {
1817    /// The task's action.
1818    pub action: Option<Action>,
1819
1820    /// The model for which the task is performing the operation.
1821    pub model: Option<Model>,
1822
1823    /// The endpoint URL that created the task.
1824    pub url: Option<String>,
1825}
1826
1827#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1828#[serde(rename_all = "snake_case")]
1829pub enum Action {
1830    Create,
1831
1832    Update,
1833}
1834
1835#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1836#[serde(rename_all = "kebab-case")]
1837pub enum Model {
1838    #[serde(rename = "api-version")]
1839    ApiVersion,
1840
1841    Collection,
1842}
1843
1844#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1845#[serde(rename_all = "snake_case")]
1846pub enum GetApisApiIdTasksTaskIdResponseStatus {
1847    Completed,
1848
1849    Failed,
1850
1851    Pending,
1852}
1853
1854#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1855pub struct GetApisApiIdTasksTaskIdResponse400 {
1856    /// Details about the error message.
1857    pub detail: Option<String>,
1858
1859    /// The generic description for the error's class.
1860    pub title: Option<String>,
1861
1862    /// The type of error.
1863    #[serde(rename = "type")]
1864    pub get_apis_api_id_tasks_task_id_response400_type: Option<String>,
1865}
1866
1867#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1868pub struct GetApisApiIdTasksTaskIdResponse401 {
1869    /// Details about the error.
1870    pub detail: Option<String>,
1871
1872    /// The error instance.
1873    pub instance: Option<String>,
1874
1875    /// The HTTP status code.
1876    pub status: Option<f64>,
1877
1878    /// The generic description for the error's class.
1879    pub title: Option<String>,
1880
1881    /// The error type.
1882    #[serde(rename = "type")]
1883    pub get_apis_api_id_tasks_task_id_response401_type: Option<String>,
1884}
1885
1886#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1887pub struct GetApisApiIdTasksTaskIdResponse403 {
1888    /// Details about the error message.
1889    pub detail: Option<String>,
1890
1891    /// The generic description for the error's class.
1892    pub title: Option<String>,
1893
1894    /// The type of error.
1895    #[serde(rename = "type")]
1896    pub get_apis_api_id_tasks_task_id_response403_type: Option<String>,
1897}
1898
1899#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1900pub struct GetApisApiIdTasksTaskIdResponse404 {
1901    /// Details about the error message.
1902    pub detail: Option<String>,
1903
1904    /// The generic description for the error's class.
1905    pub title: Option<String>,
1906
1907    /// The type of error.
1908    #[serde(rename = "type")]
1909    pub get_apis_api_id_tasks_task_id_response404_type: Option<String>,
1910}
1911
1912#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1913pub struct GetApisApiIdVersionsResponse {
1914    /// The response's meta information for paginated results.
1915    pub meta: Option<GetApisApiIdVersionsResponseMeta>,
1916
1917    pub versions: Option<Vec<GetApisApiIdVersionsResponseVersionsItem>>,
1918}
1919
1920#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1921#[serde(rename_all = "camelCase")]
1922pub struct GetApisApiIdVersionsResponseMeta {
1923    /// The maximum number of records in the paginated response.
1924    pub limit: Option<f64>,
1925
1926    /// The Base64-encoded value that points to the next record in the results set.
1927    pub next_cursor: Option<String>,
1928
1929    /// The number of records that match the defined criteria.
1930    pub total: Option<f64>,
1931}
1932
1933#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1934#[serde(rename_all = "camelCase")]
1935pub struct GetApisApiIdVersionsResponseVersionsItem {
1936    /// The date and time at which the version was created.
1937    pub created_at: Option<String>,
1938
1939    /// The version's ID.
1940    pub id: Option<String>,
1941
1942    /// The version's name.
1943    pub name: Option<String>,
1944
1945    /// The version's release notes.
1946    pub release_notes: Option<String>,
1947
1948    /// The date and time at which the version was last updated.
1949    pub updated_at: Option<String>,
1950}
1951
1952#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1953pub struct GetApisApiIdVersionsResponse401 {
1954    /// Details about the error.
1955    pub detail: Option<String>,
1956
1957    /// The error instance.
1958    pub instance: Option<String>,
1959
1960    /// The HTTP status code.
1961    pub status: Option<f64>,
1962
1963    /// The generic description for the error's class.
1964    pub title: Option<String>,
1965
1966    /// The error type.
1967    #[serde(rename = "type")]
1968    pub get_apis_api_id_versions_response401_type: Option<String>,
1969}
1970
1971#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1972pub struct GetApisApiIdVersionsResponse404 {
1973    /// Details about the error message.
1974    pub detail: Option<String>,
1975
1976    /// The generic description for the error's class.
1977    pub title: Option<String>,
1978
1979    /// The type of error.
1980    #[serde(rename = "type")]
1981    pub get_apis_api_id_versions_response404_type: Option<String>,
1982}
1983
1984#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1985pub struct GetApisApiIdVersionsResponse422 {
1986    /// Details about the error.
1987    pub detail: Option<String>,
1988
1989    /// The generic description for the error's class.
1990    pub title: Option<String>,
1991
1992    /// The error type.
1993    #[serde(rename = "type")]
1994    pub get_apis_api_id_versions_response422_type: Option<String>,
1995}
1996
1997#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
1998pub struct GetApisApiIdVersionsResponse500 {
1999    /// Details about the error message.
2000    pub detail: Option<String>,
2001
2002    /// The generic description for the error's class.
2003    pub title: Option<String>,
2004
2005    /// The type of error.
2006    #[serde(rename = "type")]
2007    pub get_apis_api_id_versions_response500_type: Option<String>,
2008}
2009
2010#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2011pub struct GetApisApiIdVersionsVersionIdResponse {
2012    /// Information about the API version.
2013    pub version: Option<GetApisApiIdVersionsVersionIdResponseVersion>,
2014}
2015
2016#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2017#[serde(rename_all = "camelCase")]
2018pub struct GetApisApiIdVersionsVersionIdResponseVersion {
2019    pub collections: Option<Vec<GetApisApiIdVersionsVersionIdResponseVersionCollectionsItem>>,
2020
2021    /// The date and time at which the version was created.
2022    pub created_at: Option<String>,
2023
2024    /// The version's ID.
2025    pub id: Option<String>,
2026
2027    /// The version's name.
2028    pub name: Option<String>,
2029
2030    /// The version's release notes.
2031    pub release_notes: Option<String>,
2032
2033    pub schemas: Option<Vec<GetApisApiIdVersionsVersionIdResponseVersionSchemasItem>>,
2034
2035    /// The date and time at which the version was last updated.
2036    pub updated_at: Option<String>,
2037}
2038
2039#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2040pub struct GetApisApiIdVersionsVersionIdResponseVersionCollectionsItem {
2041    /// The collection's ID.
2042    pub id: Option<String>,
2043
2044    /// The collection's name.
2045    #[serde(rename = "type")]
2046    pub get_apis_api_id_versions_version_id_response_version_collections_item_type: Option<String>,
2047}
2048
2049#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2050pub struct GetApisApiIdVersionsVersionIdResponseVersionSchemasItem {
2051    /// The schema's ID.
2052    pub id: Option<String>,
2053
2054    /// The schema type.
2055    #[serde(rename = "type")]
2056    pub get_apis_api_id_versions_version_id_response_version_schemas_item_type: Option<String>,
2057}
2058
2059#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2060pub struct GetApisApiIdVersionsVersionIdResponse401 {
2061    /// Details about the error.
2062    pub detail: Option<String>,
2063
2064    /// The error instance.
2065    pub instance: Option<String>,
2066
2067    /// The HTTP status code.
2068    pub status: Option<f64>,
2069
2070    /// The generic description for the error's class.
2071    pub title: Option<String>,
2072
2073    /// The error type.
2074    #[serde(rename = "type")]
2075    pub get_apis_api_id_versions_version_id_response401_type: Option<String>,
2076}
2077
2078#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2079pub struct GetApisApiIdVersionsVersionIdResponse404 {
2080    /// Details about the error message.
2081    pub detail: Option<String>,
2082
2083    /// The generic description for the error's class.
2084    pub title: Option<String>,
2085
2086    /// The type of error.
2087    #[serde(rename = "type")]
2088    pub get_apis_api_id_versions_version_id_response404_type: Option<String>,
2089}
2090
2091#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2092pub struct GetApisApiIdVersionsVersionIdResponse500 {
2093    /// Details about the error message.
2094    pub detail: Option<String>,
2095
2096    /// The generic description for the error's class.
2097    pub title: Option<String>,
2098
2099    /// The type of error.
2100    #[serde(rename = "type")]
2101    pub get_apis_api_id_versions_version_id_response500_type: Option<String>,
2102}
2103
2104#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2105pub struct GetApisResponse {
2106    pub apis: Option<Vec<GetApisResponseApisItem>>,
2107
2108    /// The response's meta information for paginated results.
2109    pub meta: Option<GetApisResponseMeta>,
2110}
2111
2112#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2113#[serde(rename_all = "camelCase")]
2114pub struct GetApisResponseApisItem {
2115    /// The date and time at which the API was created.
2116    pub created_at: Option<String>,
2117
2118    /// The Postman ID of the user that created the API.
2119    pub created_by: Option<f64>,
2120
2121    /// The API's description.
2122    pub description: Option<String>,
2123
2124    /// The API's ID.
2125    pub id: Option<String>,
2126
2127    /// The API's name.
2128    pub name: Option<String>,
2129
2130    /// The API's short summary.
2131    pub summary: Option<String>,
2132
2133    /// The date and time at which the API was updated.
2134    pub updated_at: Option<String>,
2135
2136    /// The Postman ID of the user that updated the API.
2137    pub updated_by: Option<f64>,
2138}
2139
2140#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2141#[serde(rename_all = "camelCase")]
2142pub struct GetApisResponseMeta {
2143    /// The maximum number of records in the paginated response.
2144    pub limit: Option<f64>,
2145
2146    /// The Base64-encoded value that points to the next record in the results set.
2147    pub next_cursor: Option<String>,
2148
2149    /// The number of records that match the defined criteria.
2150    pub total: Option<f64>,
2151}
2152
2153#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2154pub struct GetApisResponse401 {
2155    pub error: Option<GetApisResponse401Error>,
2156}
2157
2158#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2159pub struct GetApisResponse401Error {
2160    /// The error message.
2161    pub message: Option<String>,
2162
2163    /// The error message.
2164    pub name: Option<String>,
2165}
2166
2167#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2168pub struct GetApisResponse404 {
2169    /// Details about the error message.
2170    pub detail: Option<String>,
2171
2172    /// The generic description for the error's class.
2173    pub title: Option<String>,
2174
2175    /// The type of error.
2176    #[serde(rename = "type")]
2177    pub get_apis_response404_type: Option<String>,
2178}
2179
2180#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2181pub struct GetApisResponse422 {
2182    /// Details about the error.
2183    pub detail: Option<String>,
2184
2185    /// The generic description for the error's class.
2186    pub title: Option<String>,
2187
2188    /// The error type.
2189    #[serde(rename = "type")]
2190    pub get_apis_response422_type: Option<String>,
2191}
2192
2193#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2194pub struct GetApisResponse500 {
2195    /// Details about the error message.
2196    pub detail: Option<String>,
2197
2198    /// The generic description for the error's class.
2199    pub title: Option<String>,
2200
2201    /// The type of error.
2202    #[serde(rename = "type")]
2203    pub get_apis_response500_type: Option<String>,
2204}
2205
2206#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2207pub struct GetAuditLogsResponse {
2208    pub trails: Option<Vec<GetAuditLogsResponseTrailsItem>>,
2209}
2210
2211#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2212#[serde(rename_all = "camelCase")]
2213pub struct GetAuditLogsResponseTrailsItem {
2214    /// The action performed by the user.
2215    pub action: Option<String>,
2216
2217    pub data: Option<GetAuditLogsResponseTrailsItemData>,
2218
2219    /// The audit event's ID.
2220    pub id: Option<f64>,
2221
2222    /// The IP address of the user that performed the action.
2223    pub ip: Option<String>,
2224
2225    /// The audit event's description.
2226    pub message: Option<String>,
2227
2228    /// The date and time at which the event occurred.
2229    pub timestamp: Option<String>,
2230
2231    /// The user agent information.
2232    pub user_agent: Option<String>,
2233}
2234
2235#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2236pub struct GetAuditLogsResponseTrailsItemData {
2237    /// Information about the user who preformed the audit event.
2238    pub actor: Option<GetAuditLogsResponseTrailsItemDataActor>,
2239
2240    /// The user's team information.
2241    pub team: Option<GetAuditLogsResponseTrailsItemDataTeam>,
2242
2243    /// Information about the user.
2244    pub user: Option<GetAuditLogsResponseTrailsItemDataUser>,
2245
2246    pub variables: Option<serde_json::Value>,
2247}
2248
2249#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2250pub struct GetAuditLogsResponseTrailsItemDataActor {
2251    /// If true, the user is active. If false, the user is deactivated.
2252    pub active: Option<bool>,
2253
2254    /// The user's email address.
2255    pub email: Option<String>,
2256
2257    pub id: Option<f64>,
2258
2259    /// The user's name.
2260    pub name: Option<String>,
2261
2262    /// The user's username.
2263    pub username: Option<String>,
2264}
2265
2266#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2267pub struct GetAuditLogsResponseTrailsItemDataTeam {
2268    /// The team's ID.
2269    pub id: Option<f64>,
2270
2271    /// The team's name.
2272    pub name: Option<String>,
2273}
2274
2275#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2276pub struct GetAuditLogsResponseTrailsItemDataUser {
2277    /// The user's email address.
2278    pub email: Option<String>,
2279
2280    /// The user's ID.
2281    pub id: Option<f64>,
2282
2283    /// The user's name.
2284    pub name: Option<String>,
2285
2286    /// The user's username.
2287    pub username: Option<String>,
2288}
2289
2290#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2291pub struct GetAuditLogsResponse401 {
2292    pub error: Option<GetAuditLogsResponse401Error>,
2293}
2294
2295#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2296pub struct GetAuditLogsResponse401Error {
2297    /// The error message.
2298    pub message: Option<String>,
2299
2300    /// The error message.
2301    pub name: Option<String>,
2302}
2303
2304#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2305pub struct GetAuditLogsResponse429 {
2306    /// The error name.
2307    pub error: Option<String>,
2308
2309    /// The error message.
2310    pub message: Option<String>,
2311}
2312
2313#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2314pub struct GetAuditLogsResponse500 {
2315    pub error: Option<GetAuditLogsResponse500Error>,
2316}
2317
2318#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2319pub struct GetAuditLogsResponse500Error {
2320    /// The error message.
2321    pub message: Option<String>,
2322
2323    /// The error name.
2324    pub name: Option<String>,
2325}
2326
2327#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2328pub struct GetCollectionsCollectionIdFoldersFolderIdResponse {
2329    /// Information about the folder. For a complete list of properties, refer to the
2330    /// `definitions.folder` property in the [collection.json schema
2331    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
2332    pub data: Option<GetCollectionsCollectionIdFoldersFolderIdResponseData>,
2333
2334    pub meta: Option<serde_json::Value>,
2335
2336    /// The folder's ID.
2337    pub model_id: Option<String>,
2338}
2339
2340#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2341#[serde(rename_all = "camelCase")]
2342pub struct GetCollectionsCollectionIdFoldersFolderIdResponseData {
2343    /// The collection ID that the folder belongs to.
2344    pub collection: Option<String>,
2345
2346    /// The folder's creation date and time.
2347    pub created_at: Option<String>,
2348
2349    /// The folder's description.
2350    pub description: Option<String>,
2351
2352    /// The folder's ID.
2353    pub id: Option<String>,
2354
2355    /// An internal revision ID. Its value increments each time the resource changes. You can use
2356    /// this ID to track whether there were changes since the last time you fetched the resource.
2357    pub last_revision: Option<i64>,
2358
2359    /// The user ID of the user that last updated the folder.
2360    pub last_updated_by: Option<String>,
2361
2362    /// The folder's name.
2363    pub name: Option<String>,
2364
2365    /// The user ID of the folder's owner.
2366    pub owner: Option<String>,
2367
2368    /// The date and time at which the folder was last updated.
2369    pub updated_at: Option<String>,
2370}
2371
2372#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2373pub struct GetCollectionsCollectionIdFoldersFolderIdResponse401 {
2374    pub error: Option<GetCollectionsCollectionIdFoldersFolderIdResponse401Error>,
2375}
2376
2377#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2378pub struct GetCollectionsCollectionIdFoldersFolderIdResponse401Error {
2379    /// Information about the error.
2380    pub details: Option<GetCollectionsCollectionIdFoldersFolderIdResponse401ErrorDetails>,
2381
2382    /// The error's message.
2383    pub message: Option<String>,
2384
2385    /// The error name.
2386    pub name: Option<String>,
2387}
2388
2389#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2390pub struct GetCollectionsCollectionIdFoldersFolderIdResponse401ErrorDetails {
2391    /// The resource name.
2392    pub model: Option<String>,
2393
2394    /// The folder's ID.
2395    pub model_id: Option<String>,
2396
2397    /// The user ID of the folder's owner.
2398    pub owner: Option<String>,
2399}
2400
2401#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2402pub struct GetCollectionsCollectionIdFoldersFolderIdResponse404 {
2403    pub error: Option<GetCollectionsCollectionIdFoldersFolderIdResponse404Error>,
2404}
2405
2406#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2407pub struct GetCollectionsCollectionIdFoldersFolderIdResponse404Error {
2408    /// Information about the error.
2409    pub details: Option<GetCollectionsCollectionIdFoldersFolderIdResponse404ErrorDetails>,
2410
2411    /// The error message.
2412    pub message: Option<String>,
2413
2414    /// The error name.
2415    pub name: Option<String>,
2416}
2417
2418#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2419pub struct GetCollectionsCollectionIdFoldersFolderIdResponse404ErrorDetails {
2420    /// The resource name.
2421    pub model: Option<String>,
2422
2423    /// The folder's ID.
2424    pub model_id: Option<String>,
2425
2426    /// The user ID of the folder's owner.
2427    pub owner: Option<String>,
2428}
2429
2430#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2431pub struct GetCollectionsCollectionIdFoldersFolderIdResponse500 {
2432    /// Details about the error message.
2433    pub detail: Option<String>,
2434
2435    /// The generic description for the error's class.
2436    pub title: Option<String>,
2437
2438    /// The type of error.
2439    #[serde(rename = "type")]
2440    pub get_collections_collection_id_folders_folder_id_response500_type: Option<String>,
2441}
2442
2443#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2444pub struct GetCollectionsCollectionIdRequestsRequestIdResponse {
2445    /// Information about the request. For a complete list of properties, refer to the
2446    /// `definitions.request` property in the [collection.json schema
2447    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
2448    pub data: Option<GetCollectionsCollectionIdRequestsRequestIdResponseData>,
2449
2450    pub meta: Option<serde_json::Value>,
2451
2452    /// The request's ID.
2453    pub model_id: Option<String>,
2454}
2455
2456#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2457#[serde(rename_all = "camelCase")]
2458pub struct GetCollectionsCollectionIdRequestsRequestIdResponseData {
2459    /// The request's creation date and time.
2460    pub created_at: Option<String>,
2461
2462    /// The request's ID.
2463    pub id: Option<String>,
2464
2465    /// An internal revision ID. Its value increments each time the resource changes. You can use
2466    /// this ID to track whether there were changes since the last time you fetched the resource.
2467    pub last_revision: Option<i64>,
2468
2469    /// The user ID of the user that last updated the request.
2470    pub last_updated_by: Option<String>,
2471
2472    /// The request's name.
2473    pub name: Option<String>,
2474
2475    /// The user ID of the request's owner.
2476    pub owner: Option<String>,
2477
2478    /// The date and time at which the request was last updated.
2479    pub updated_at: Option<String>,
2480}
2481
2482#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2483pub struct GetCollectionsCollectionIdRequestsRequestIdResponse401 {
2484    pub error: Option<GetCollectionsCollectionIdRequestsRequestIdResponse401Error>,
2485}
2486
2487#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2488pub struct GetCollectionsCollectionIdRequestsRequestIdResponse401Error {
2489    /// Information about the error.
2490    pub details: Option<GetCollectionsCollectionIdRequestsRequestIdResponse401ErrorDetails>,
2491
2492    /// The error's message.
2493    pub message: Option<String>,
2494
2495    /// The error's name.
2496    pub name: Option<String>,
2497}
2498
2499#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2500pub struct GetCollectionsCollectionIdRequestsRequestIdResponse401ErrorDetails {
2501    /// The resource name.
2502    pub model: Option<String>,
2503
2504    /// The request's ID.
2505    pub model_id: Option<String>,
2506
2507    /// The user ID of the request's owner.
2508    pub owner: Option<String>,
2509}
2510
2511#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2512pub struct GetCollectionsCollectionIdRequestsRequestIdResponse404 {
2513    pub error: Option<GetCollectionsCollectionIdRequestsRequestIdResponse404Error>,
2514}
2515
2516#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2517pub struct GetCollectionsCollectionIdRequestsRequestIdResponse404Error {
2518    /// Information about the error.
2519    pub details: Option<GetCollectionsCollectionIdRequestsRequestIdResponse404ErrorDetails>,
2520
2521    /// The error message.
2522    pub message: Option<String>,
2523
2524    /// The error name.
2525    pub name: Option<String>,
2526}
2527
2528#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2529pub struct GetCollectionsCollectionIdRequestsRequestIdResponse404ErrorDetails {
2530    /// The resource name.
2531    pub model: Option<String>,
2532
2533    /// The request's ID.
2534    pub model_id: Option<String>,
2535
2536    /// The user ID of the request's owner.
2537    pub owner: Option<String>,
2538}
2539
2540#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2541pub struct GetCollectionsCollectionIdRequestsRequestIdResponse500 {
2542    /// Details about the error message.
2543    pub detail: Option<String>,
2544
2545    /// The generic description for the error's class.
2546    pub title: Option<String>,
2547
2548    /// The type of error.
2549    #[serde(rename = "type")]
2550    pub get_collections_collection_id_requests_request_id_response500_type: Option<String>,
2551}
2552
2553#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2554pub struct GetCollectionsCollectionIdResponse {
2555    /// For a complete list of this endpoint's possible values, use the [collection.json schema
2556    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
2557    pub collection: Option<GetCollectionsCollectionIdResponseCollection>,
2558}
2559
2560#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2561pub struct GetCollectionsCollectionIdResponseCollection {
2562    /// An object that contains basic information about the collection.
2563    pub info: Option<GetCollectionsCollectionIdResponseCollectionInfo>,
2564}
2565
2566#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2567#[serde(rename_all = "camelCase")]
2568pub struct GetCollectionsCollectionIdResponseCollectionInfo {
2569    /// The collection's Postman ID.
2570    #[serde(rename = "_postman_id")]
2571    pub postman_id: Option<String>,
2572
2573    /// The collection's description.
2574    pub description: Option<String>,
2575
2576    /// The collection's name.
2577    pub name: Option<String>,
2578
2579    /// A URL to the collection's schema.
2580    pub schema: Option<String>,
2581
2582    /// The collection's unique ID.
2583    pub uid: Option<String>,
2584
2585    /// The date and time at which the collection was last updated.
2586    pub updated_at: Option<String>,
2587}
2588
2589#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2590pub struct GetCollectionsCollectionIdResponse400 {
2591    pub error: Option<GetCollectionsCollectionIdResponse400Error>,
2592}
2593
2594#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2595pub struct GetCollectionsCollectionIdResponse400Error {
2596    /// The error message.
2597    pub message: Option<String>,
2598
2599    /// The error name.
2600    pub name: Option<String>,
2601}
2602
2603#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2604pub struct GetCollectionsCollectionIdResponse401 {
2605    pub error: Option<GetCollectionsCollectionIdResponse401Error>,
2606}
2607
2608#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2609pub struct GetCollectionsCollectionIdResponse401Error {
2610    /// The error message.
2611    pub message: Option<String>,
2612
2613    /// The error message.
2614    pub name: Option<String>,
2615}
2616
2617#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2618pub struct GetCollectionsCollectionIdResponse429 {
2619    /// The error name.
2620    pub error: Option<String>,
2621
2622    /// The error message.
2623    pub message: Option<String>,
2624}
2625
2626#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2627pub struct GetCollectionsCollectionIdResponse500 {
2628    pub error: Option<GetCollectionsCollectionIdResponse500Error>,
2629}
2630
2631#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2632pub struct GetCollectionsCollectionIdResponse500Error {
2633    /// The error message.
2634    pub message: Option<String>,
2635
2636    /// The error name.
2637    pub name: Option<String>,
2638}
2639
2640#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2641pub struct GetCollectionsCollectionIdResponsesResponseIdResponse {
2642    /// Information about the response. For a complete list of properties, refer to the
2643    /// `request.responses` property in the [collection.json schema
2644    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
2645    pub data: Option<GetCollectionsCollectionIdResponsesResponseIdResponseData>,
2646
2647    pub meta: Option<serde_json::Value>,
2648
2649    /// The response's ID.
2650    pub model_id: Option<String>,
2651}
2652
2653#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2654#[serde(rename_all = "camelCase")]
2655pub struct GetCollectionsCollectionIdResponsesResponseIdResponseData {
2656    /// The response's creation date and time.
2657    pub created_at: Option<String>,
2658
2659    /// The response's ID.
2660    pub id: Option<String>,
2661
2662    /// An internal revision ID. Its value increments each time the resource changes. You can use
2663    /// this ID to track whether there were changes since the last time you fetched the resource.
2664    pub last_revision: Option<i64>,
2665
2666    /// The user ID of the user that last updated the response.
2667    pub last_updated_by: Option<String>,
2668
2669    /// The response's name.
2670    pub name: Option<String>,
2671
2672    /// The user ID of the response's owner.
2673    pub owner: Option<String>,
2674
2675    /// The ID of the request that the response belongs to.
2676    pub request: Option<String>,
2677
2678    /// The date and time at which the response was last updated.
2679    pub updated_at: Option<String>,
2680}
2681
2682#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2683pub struct GetCollectionsCollectionIdResponsesResponseIdResponse401 {
2684    pub error: Option<GetCollectionsCollectionIdResponsesResponseIdResponse401Error>,
2685}
2686
2687#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2688pub struct GetCollectionsCollectionIdResponsesResponseIdResponse401Error {
2689    /// Information about the error.
2690    pub details: Option<GetCollectionsCollectionIdResponsesResponseIdResponse401ErrorDetails>,
2691
2692    /// The error message.
2693    pub message: Option<String>,
2694
2695    /// The error name.
2696    pub name: Option<String>,
2697}
2698
2699#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2700pub struct GetCollectionsCollectionIdResponsesResponseIdResponse401ErrorDetails {
2701    /// The resource name.
2702    pub model: Option<String>,
2703
2704    /// The response's ID.
2705    pub model_id: Option<String>,
2706
2707    /// The user ID of the response's owner.
2708    pub owner: Option<String>,
2709}
2710
2711#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2712pub struct GetCollectionsCollectionIdResponsesResponseIdResponse404 {
2713    pub error: Option<GetCollectionsCollectionIdResponsesResponseIdResponse404Error>,
2714}
2715
2716#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2717pub struct GetCollectionsCollectionIdResponsesResponseIdResponse404Error {
2718    /// Information about the error.
2719    pub details: Option<GetCollectionsCollectionIdResponsesResponseIdResponse404ErrorDetails>,
2720
2721    /// The error message.
2722    pub message: Option<String>,
2723
2724    /// The error name.
2725    pub name: Option<String>,
2726}
2727
2728#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2729pub struct GetCollectionsCollectionIdResponsesResponseIdResponse404ErrorDetails {
2730    /// The resource name.
2731    pub model: Option<String>,
2732
2733    /// The response's ID.
2734    pub model_id: Option<String>,
2735
2736    /// The user ID of the response's owner.
2737    pub owner: Option<String>,
2738}
2739
2740#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2741pub struct GetCollectionsCollectionIdResponsesResponseIdResponse500 {
2742    /// Details about the error message.
2743    pub detail: Option<String>,
2744
2745    /// The generic description for the error's class.
2746    pub title: Option<String>,
2747
2748    /// The type of error.
2749    #[serde(rename = "type")]
2750    pub get_collections_collection_id_responses_response_id_response500_type: Option<String>,
2751}
2752
2753#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2754pub struct GetCollectionsCollectionIdTagsResponse {
2755    /// A list of associated tags.
2756    pub tags: Option<Vec<GetCollectionsCollectionIdTagsResponseTagsItem>>,
2757}
2758
2759#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2760pub struct GetCollectionsCollectionIdTagsResponseTagsItem {
2761    /// The tag's ID within a team or individual (non-team) user scope.
2762    pub slug: Option<String>,
2763}
2764
2765#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2766pub struct GetCollectionsCollectionIdTagsResponse401 {
2767    /// Information about the error.
2768    pub detail: Option<String>,
2769
2770    /// The error's HTTP status code.
2771    pub status: Option<i64>,
2772
2773    /// A short summary of the problem.
2774    pub title: Option<String>,
2775
2776    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
2777    /// the type of problem.
2778    #[serde(rename = "type")]
2779    pub get_collections_collection_id_tags_response401_type: Option<String>,
2780}
2781
2782#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2783pub struct GetCollectionsCollectionIdTagsResponse403 {
2784    /// Information about the error.
2785    pub detail: Option<String>,
2786
2787    /// The error's HTTP status code.
2788    pub status: Option<i64>,
2789
2790    /// A short summary of the problem.
2791    pub title: Option<String>,
2792
2793    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
2794    /// the type of problem.
2795    #[serde(rename = "type")]
2796    pub get_collections_collection_id_tags_response403_type: Option<String>,
2797}
2798
2799#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2800pub struct GetCollectionsCollectionIdTagsResponse500 {
2801    /// Information about the error.
2802    pub detail: Option<String>,
2803
2804    /// The URI reference that identifies the specific occurrence of the problem.
2805    pub instance: Option<String>,
2806
2807    /// The error's HTTP status code.
2808    pub status: Option<i64>,
2809
2810    /// A short summary of the problem.
2811    pub title: Option<String>,
2812
2813    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
2814    /// the type of problem.
2815    #[serde(rename = "type")]
2816    pub get_collections_collection_id_tags_response500_type: Option<String>,
2817}
2818
2819#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2820pub struct GetCollectionsCollectionIdTransformationsResponse {
2821    /// The collection's transformed output, in a stringified OpenAPI format.
2822    pub output: Option<String>,
2823}
2824
2825#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2826pub struct GetCollectionsCollectionIdTransformationsResponse401 {
2827    /// Details about the error message.
2828    pub detail: Option<String>,
2829
2830    /// The instance in which the error occurred.
2831    pub instance: Option<String>,
2832
2833    /// The error's status code.
2834    pub status: Option<i64>,
2835
2836    /// The title of the error message.
2837    pub title: Option<String>,
2838
2839    /// The type of error.
2840    #[serde(rename = "type")]
2841    pub get_collections_collection_id_transformations_response401_type: Option<String>,
2842}
2843
2844#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2845pub struct GetCollectionsCollectionIdTransformationsResponse404 {
2846    /// Details about the error message.
2847    pub detail: Option<String>,
2848
2849    /// The instance in which the error occurred.
2850    pub instance: Option<String>,
2851
2852    /// The error's status code.
2853    pub status: Option<i64>,
2854
2855    /// The title of the error message.
2856    pub title: Option<String>,
2857
2858    /// The type of error.
2859    #[serde(rename = "type")]
2860    pub get_collections_collection_id_transformations_response404_type: Option<String>,
2861}
2862
2863#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2864pub struct GetCollectionsCollectionIdTransformationsResponse500 {
2865    /// Details about the error message.
2866    pub detail: Option<String>,
2867
2868    /// The instance in which the error occurred.
2869    pub instance: Option<String>,
2870
2871    /// The error's status code.
2872    pub status: Option<i64>,
2873
2874    /// The title of the error message.
2875    pub title: Option<String>,
2876
2877    /// The type of error.
2878    #[serde(rename = "type")]
2879    pub get_collections_collection_id_transformations_response500_type: Option<String>,
2880}
2881
2882#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2883pub struct GetCollectionsResponse {
2884    pub collections: Option<Vec<GetCollectionsResponseCollectionsItem>>,
2885}
2886
2887#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2888#[serde(rename_all = "camelCase")]
2889pub struct GetCollectionsResponseCollectionsItem {
2890    /// The collection's creation date and time.
2891    pub created_at: Option<String>,
2892
2893    /// If the collection is
2894    /// [forked](https://learning.postman.com/docs/collaborating-in-postman/version-control/#forking-postman-entities),
2895    /// the fork's information.
2896    pub fork: Option<GetCollectionsResponseCollectionsItemFork>,
2897
2898    /// The collection's ID.
2899    pub id: Option<String>,
2900
2901    /// If true, the collection is publicly available.
2902    pub is_public: Option<bool>,
2903
2904    /// The collection's name.
2905    pub name: Option<String>,
2906
2907    /// The owner of the collection.
2908    pub owner: Option<String>,
2909
2910    /// The collection's unique ID.
2911    pub uid: Option<String>,
2912
2913    /// The date and time at which the collection was last updated.
2914    pub updated_at: Option<String>,
2915}
2916
2917#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2918#[serde(rename_all = "camelCase")]
2919pub struct GetCollectionsResponseCollectionsItemFork {
2920    /// The fork's creation date and time.
2921    pub created_at: Option<String>,
2922
2923    /// The unique ID of the fork's source collection.
2924    pub from: Option<String>,
2925
2926    /// The fork's label.
2927    pub label: Option<String>,
2928}
2929
2930#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2931pub struct GetCollectionsResponse401 {
2932    pub error: Option<GetCollectionsResponse401Error>,
2933}
2934
2935#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2936pub struct GetCollectionsResponse401Error {
2937    /// The error message.
2938    pub message: Option<String>,
2939
2940    /// The error message.
2941    pub name: Option<String>,
2942}
2943
2944#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2945pub struct GetCollectionsResponse429 {
2946    /// The error name.
2947    pub error: Option<String>,
2948
2949    /// The error message.
2950    pub message: Option<String>,
2951}
2952
2953#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2954pub struct GetCollectionsResponse500 {
2955    pub error: Option<GetCollectionsResponse500Error>,
2956}
2957
2958#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2959pub struct GetCollectionsResponse500Error {
2960    /// The error message.
2961    pub message: Option<String>,
2962
2963    /// The error name.
2964    pub name: Option<String>,
2965}
2966
2967#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2968pub struct GetDetectedSecretsSecretIdLocationsResponse {
2969    pub data: Option<Vec<GetDetectedSecretsSecretIdLocationsResponseDataItem>>,
2970
2971    pub meta: Option<GetDetectedSecretsSecretIdLocationsResponseMeta>,
2972}
2973
2974#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
2975#[serde(rename_all = "camelCase")]
2976pub struct GetDetectedSecretsSecretIdLocationsResponseDataItem {
2977    /// The date and time at which the secret was detected.
2978    pub detected_at: Option<String>,
2979
2980    /// If true, the resource in which the secret was found was deleted.
2981    pub is_resource_deleted: Option<bool>,
2982
2983    /// The ID of the user who leaked the secret.
2984    pub leaked_by: Option<f64>,
2985
2986    /// The location where the secret was found.
2987    pub location: Option<String>,
2988
2989    /// The number of times the secret occurs in the location.
2990    pub occurrences: Option<f64>,
2991
2992    /// The parent resource's unique ID. If the resource is a request, folder, or example, this
2993    /// value is a collection ID. If the resource is a collection, globals, or environment, this
2994    /// is the resource's ID.
2995    pub parent_resource_id: Option<String>,
2996
2997    /// The unique ID of the resource where the secret was detected.
2998    pub resource_id: Option<String>,
2999
3000    /// The type of resource in which the secret was detected.
3001    pub resource_type: Option<DatumResourceType>,
3002
3003    /// The URL to the resource that contains the secret.
3004    pub url: Option<String>,
3005}
3006
3007#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3008#[serde(rename_all = "snake_case")]
3009pub enum DatumResourceType {
3010    Api,
3011
3012    Collection,
3013
3014    Environment,
3015
3016    Example,
3017
3018    Folder,
3019
3020    Globals,
3021
3022    Request,
3023}
3024
3025#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3026#[serde(rename_all = "camelCase")]
3027pub struct GetDetectedSecretsSecretIdLocationsResponseMeta {
3028    /// The history of the secret's resolution status changes.
3029    pub activity_feed: Option<Vec<GetDetectedSecretsSecretIdLocationsResponseMetaActivityFeedItem>>,
3030
3031    /// The pointer to the first record of the set of paginated results.
3032    pub cursor: Option<String>,
3033
3034    /// The maximum number of rows to return in the response.
3035    pub limit: Option<f64>,
3036
3037    pub next_cursor: Option<serde_json::Value>,
3038
3039    /// The secret's obfuscated value.
3040    pub obfuscated_secret: Option<String>,
3041
3042    /// The secret's SHA-256 hash.
3043    pub secret_hash: Option<String>,
3044
3045    /// The type of thesecret.
3046    pub secret_type: Option<String>,
3047
3048    /// The total number of discovered secret locations.
3049    pub total: Option<f64>,
3050}
3051
3052#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3053#[serde(rename_all = "camelCase")]
3054pub struct GetDetectedSecretsSecretIdLocationsResponseMetaActivityFeedItem {
3055    /// The date and time at which the resolution status was last updated.
3056    pub resolved_at: Option<String>,
3057
3058    /// The ID of the user that updated the secret's resolution status.
3059    pub resolved_by: Option<f64>,
3060
3061    /// The secret's current resolution status:
3062    /// - `ACTIVE` — The secret is active.
3063    /// - `FALSE_POSITIVE` — The discovered secret is not an actual secret.
3064    /// - `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.
3065    /// - `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of
3066    /// publishing it.
3067    pub status: Option<ResolutionEnum>,
3068}
3069
3070#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3071#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
3072pub enum ResolutionEnum {
3073    #[serde(rename = "ACCEPTED_RISK")]
3074    AcceptedRisk,
3075
3076    Active,
3077
3078    #[serde(rename = "FALSE_POSITIVE")]
3079    FalsePositive,
3080
3081    Revoked,
3082}
3083
3084#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3085pub struct GetDetectedSecretsSecretIdLocationsResponse400 {
3086    /// The instance identifying the specific occurrence of the problem.
3087    pub instance: Option<String>,
3088
3089    /// The HTTP status code generated by the origin server.
3090    pub status: Option<f64>,
3091
3092    /// The generic description for the error's class.
3093    pub title: Option<String>,
3094
3095    /// The type of error.
3096    #[serde(rename = "type")]
3097    pub get_detected_secrets_secret_id_locations_response400_type: Option<String>,
3098}
3099
3100#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3101pub struct GetDetectedSecretsSecretIdLocationsResponse401 {
3102    /// The instance identifying the specific occurrence of the problem.
3103    pub instance: Option<String>,
3104
3105    /// The HTTP status code generated by the origin server.
3106    pub status: Option<f64>,
3107
3108    /// The generic description for the error's class.
3109    pub title: Option<String>,
3110
3111    /// The type of error.
3112    #[serde(rename = "type")]
3113    pub get_detected_secrets_secret_id_locations_response401_type: Option<String>,
3114}
3115
3116#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3117pub struct GetDetectedSecretsSecretIdLocationsResponse403 {
3118    /// The instance identifying the specific occurrence of the problem.
3119    pub instance: Option<String>,
3120
3121    /// The HTTP status code generated by the origin server.
3122    pub status: Option<f64>,
3123
3124    /// The generic description for the error's class.
3125    pub title: Option<String>,
3126
3127    /// The type of error.
3128    #[serde(rename = "type")]
3129    pub get_detected_secrets_secret_id_locations_response403_type: Option<String>,
3130}
3131
3132#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3133pub struct GetDetectedSecretsSecretIdLocationsResponse500 {
3134    /// The instance identifying the specific occurrence of the problem.
3135    pub instance: Option<String>,
3136
3137    /// The HTTP status code generated by the origin server.
3138    pub status: Option<f64>,
3139
3140    /// The generic description for the error's class.
3141    pub title: Option<String>,
3142
3143    /// The type of error.
3144    #[serde(rename = "type")]
3145    pub get_detected_secrets_secret_id_locations_response500_type: Option<String>,
3146}
3147
3148#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3149pub struct GetEnvironmentsEnvironmentIdResponse {
3150    pub environment: Option<GetEnvironmentsEnvironmentIdResponseEnvironment>,
3151}
3152
3153#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3154#[serde(rename_all = "camelCase")]
3155pub struct GetEnvironmentsEnvironmentIdResponseEnvironment {
3156    /// The date and time at which the environment was created.
3157    pub created_at: Option<String>,
3158
3159    /// The environment's ID.
3160    pub id: Option<String>,
3161
3162    /// If true, the environment is public.
3163    pub is_public: Option<bool>,
3164
3165    /// The environment's name.
3166    pub name: Option<String>,
3167
3168    /// The ID of environment's owner.
3169    pub owner: Option<String>,
3170
3171    /// The date and time at which the environment was last updated.
3172    pub updated_at: Option<String>,
3173
3174    /// Information about the environment's variables.
3175    pub values: Option<Vec<Vec<GetEnvironmentsEnvironmentIdResponseEnvironmentValuesItemItem>>>,
3176}
3177
3178#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3179pub struct GetEnvironmentsEnvironmentIdResponseEnvironmentValuesItemItem {
3180    /// If true, the variable is enabled.
3181    pub enabled: Option<bool>,
3182
3183    /// The variable's name.
3184    pub key: Option<String>,
3185
3186    /// The variable type.
3187    #[serde(rename = "type")]
3188    pub get_environments_environment_id_response_environment_values_item_item_type: Option<PurpleType>,
3189
3190    /// The variable's value.
3191    pub value: Option<String>,
3192}
3193
3194#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3195#[serde(rename_all = "snake_case")]
3196pub enum PurpleType {
3197    Any,
3198
3199    Default,
3200
3201    Secret,
3202}
3203
3204#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3205pub struct GetEnvironmentsEnvironmentIdResponse400 {
3206    pub error: Option<GetEnvironmentsEnvironmentIdResponse400Error>,
3207}
3208
3209#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3210pub struct GetEnvironmentsEnvironmentIdResponse400Error {
3211    /// The error message.
3212    pub message: Option<String>,
3213
3214    /// The error name.
3215    pub name: Option<String>,
3216}
3217
3218#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3219pub struct GetEnvironmentsEnvironmentIdResponse401 {
3220    pub error: Option<GetEnvironmentsEnvironmentIdResponse401Error>,
3221}
3222
3223#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3224pub struct GetEnvironmentsEnvironmentIdResponse401Error {
3225    /// The error message.
3226    pub message: Option<String>,
3227
3228    /// The error message.
3229    pub name: Option<String>,
3230}
3231
3232#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3233pub struct GetEnvironmentsEnvironmentIdResponse429 {
3234    /// The error name.
3235    pub error: Option<String>,
3236
3237    /// The error message.
3238    pub message: Option<String>,
3239}
3240
3241#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3242pub struct GetEnvironmentsEnvironmentIdResponse500 {
3243    pub error: Option<GetEnvironmentsEnvironmentIdResponse500Error>,
3244}
3245
3246#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3247pub struct GetEnvironmentsEnvironmentIdResponse500Error {
3248    /// The error message.
3249    pub message: Option<String>,
3250
3251    /// The error name.
3252    pub name: Option<String>,
3253}
3254
3255#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3256pub struct GetEnvironmentsResponse {
3257    pub environments: Option<Vec<GetEnvironmentsResponseEnvironmentsItem>>,
3258}
3259
3260#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3261#[serde(rename_all = "camelCase")]
3262pub struct GetEnvironmentsResponseEnvironmentsItem {
3263    /// The date and time at which the environment was created.
3264    pub created_at: Option<String>,
3265
3266    /// The environment's ID.
3267    pub id: Option<String>,
3268
3269    /// If true, the environment is public.
3270    pub is_public: Option<bool>,
3271
3272    /// The environment's name.
3273    pub name: Option<String>,
3274
3275    /// The environment owner's ID.
3276    pub owner: Option<String>,
3277
3278    /// The environment's unique ID.
3279    pub uid: Option<String>,
3280
3281    /// The date and time at which the environment was last updated.
3282    pub updated_at: Option<String>,
3283}
3284
3285#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3286pub struct GetEnvironmentsResponse401 {
3287    pub error: Option<GetEnvironmentsResponse401Error>,
3288}
3289
3290#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3291pub struct GetEnvironmentsResponse401Error {
3292    /// The error message.
3293    pub message: Option<String>,
3294
3295    /// The error message.
3296    pub name: Option<String>,
3297}
3298
3299#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3300pub struct GetEnvironmentsResponse404 {
3301    pub error: Option<GetEnvironmentsResponse404Error>,
3302}
3303
3304#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3305pub struct GetEnvironmentsResponse404Error {
3306    /// The error message.
3307    pub message: Option<String>,
3308
3309    /// The error name.
3310    pub name: Option<String>,
3311}
3312
3313#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3314pub struct GetEnvironmentsResponse429 {
3315    /// The error name.
3316    pub error: Option<String>,
3317
3318    /// The error message.
3319    pub message: Option<String>,
3320}
3321
3322#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3323pub struct GetEnvironmentsResponse500 {
3324    pub error: Option<GetEnvironmentsResponse500Error>,
3325}
3326
3327#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3328pub struct GetEnvironmentsResponse500Error {
3329    /// The error message.
3330    pub message: Option<String>,
3331
3332    /// The error name.
3333    pub name: Option<String>,
3334}
3335
3336#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3337pub struct GetMeResponse {
3338    /// Information about operations and their usage limits. The API does not return this object
3339    /// for users with the [Guest
3340    /// role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles).
3341    pub operations: Option<Vec<GetMeResponseOperationsItem>>,
3342
3343    /// Information about the authenticated user.
3344    pub user: Option<GetMeResponseUser>,
3345}
3346
3347#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3348pub struct GetMeResponseOperationsItem {
3349    /// The operation's limit value.
3350    pub limit: Option<f64>,
3351
3352    /// The operation's name.
3353    pub name: Option<String>,
3354
3355    /// The operation's overage value.
3356    pub overage: Option<f64>,
3357
3358    /// The operation's current usage value.
3359    pub usage: Option<f64>,
3360}
3361
3362#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3363#[serde(rename_all = "camelCase")]
3364pub struct GetMeResponseUser {
3365    /// The user's avatar image URL.
3366    pub avatar: Option<String>,
3367
3368    /// The user's email address.
3369    pub email: Option<String>,
3370
3371    /// The user's full name.
3372    pub full_name: Option<String>,
3373
3374    /// The user's Postman ID.
3375    pub id: Option<f64>,
3376
3377    /// If true, the user's information is publicly available.
3378    pub is_public: Option<bool>,
3379
3380    /// The team ID the user is assigned to. This returns a `0` value if the user is not assigned
3381    /// to a team.
3382    pub team_id: Option<i64>,
3383
3384    /// The user's username.
3385    pub username: Option<String>,
3386}
3387
3388#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3389pub struct GetMeResponse401 {
3390    pub error: Option<GetMeResponse401Error>,
3391}
3392
3393#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3394pub struct GetMeResponse401Error {
3395    /// The error message.
3396    pub message: Option<String>,
3397
3398    /// The error message.
3399    pub name: Option<String>,
3400}
3401
3402#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3403pub struct GetMeResponse429 {
3404    /// The error name.
3405    pub error: Option<String>,
3406
3407    /// The error message.
3408    pub message: Option<String>,
3409}
3410
3411#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3412pub struct GetMeResponse500 {
3413    pub error: Option<GetMeResponse500Error>,
3414}
3415
3416#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3417pub struct GetMeResponse500Error {
3418    /// The error message.
3419    pub message: Option<String>,
3420
3421    /// The error name.
3422    pub name: Option<String>,
3423}
3424
3425#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3426#[serde(rename_all = "kebab-case")]
3427pub struct GetMocksMockIdCallLogsResponse {
3428    pub call_logs: Option<Vec<GetMocksMockIdCallLogsResponseCallLogsItem>>,
3429
3430    /// The response's non-standard meta information.
3431    pub meta: Option<GetMocksMockIdCallLogsResponseMeta>,
3432}
3433
3434#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3435#[serde(rename_all = "camelCase")]
3436pub struct GetMocksMockIdCallLogsResponseCallLogsItem {
3437    /// The server response's ID.
3438    pub id: Option<String>,
3439
3440    /// The server response's request information.
3441    pub request: Option<GetMocksMockIdCallLogsResponseCallLogsItemRequest>,
3442
3443    /// The server response's response information.
3444    pub response: Option<GetMocksMockIdCallLogsResponseCallLogsItemResponse>,
3445
3446    /// The server response's name.
3447    pub response_name: Option<String>,
3448
3449    /// The date and time at which the server response was served.
3450    pub served_at: Option<String>,
3451}
3452
3453#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3454pub struct GetMocksMockIdCallLogsResponseCallLogsItemRequest {
3455    /// The request's body information.
3456    pub body: Option<GetMocksMockIdCallLogsResponseCallLogsItemRequestBody>,
3457
3458    /// The request's headers.
3459    pub headers: Option<GetMocksMockIdCallLogsResponseCallLogsItemRequestHeaders>,
3460
3461    /// The request method.
3462    pub method: Option<String>,
3463
3464    /// The request's path.
3465    pub path: Option<String>,
3466}
3467
3468#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3469pub struct GetMocksMockIdCallLogsResponseCallLogsItemRequestBody {
3470    /// The request body's contents.
3471    pub data: Option<String>,
3472
3473    /// The request body's media type (mode).
3474    pub mode: Option<String>,
3475}
3476
3477#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3478pub struct GetMocksMockIdCallLogsResponseCallLogsItemRequestHeaders {
3479    /// The request header's name.
3480    pub key: Option<String>,
3481
3482    /// The request header's value.
3483    pub value: Option<String>,
3484}
3485
3486#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3487#[serde(rename_all = "camelCase")]
3488pub struct GetMocksMockIdCallLogsResponseCallLogsItemResponse {
3489    /// The response's body information.
3490    pub body: Option<GetMocksMockIdCallLogsResponseCallLogsItemResponseBody>,
3491
3492    /// The response's headers.
3493    pub headers: Option<GetMocksMockIdCallLogsResponseCallLogsItemResponseHeaders>,
3494
3495    /// The response's status code.
3496    pub status_code: Option<f64>,
3497
3498    /// The type of response.
3499    #[serde(rename = "type")]
3500    pub get_mocks_mock_id_call_logs_response_call_logs_item_response_type: Option<String>,
3501}
3502
3503#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3504pub struct GetMocksMockIdCallLogsResponseCallLogsItemResponseBody {
3505    /// The response body's contents.
3506    pub data: Option<String>,
3507}
3508
3509#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3510pub struct GetMocksMockIdCallLogsResponseCallLogsItemResponseHeaders {
3511    /// The response header's description information.
3512    pub description: Option<GetMocksMockIdCallLogsResponseCallLogsItemResponseHeadersDescription>,
3513
3514    /// The response header's name.
3515    pub key: Option<String>,
3516
3517    /// The response header's value.
3518    pub value: Option<String>,
3519}
3520
3521#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3522pub struct GetMocksMockIdCallLogsResponseCallLogsItemResponseHeadersDescription {
3523    /// The response header description's content.
3524    pub content: Option<String>,
3525
3526    /// The response header description's media type.
3527    #[serde(rename = "type")]
3528    pub get_mocks_mock_id_call_logs_response_call_logs_item_response_headers_description_type: Option<String>,
3529}
3530
3531#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3532#[serde(rename_all = "camelCase")]
3533pub struct GetMocksMockIdCallLogsResponseMeta {
3534    pub next_cursor: Option<String>,
3535}
3536
3537#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3538pub struct GetMocksMockIdCallLogsResponse400 {
3539    pub error: Option<GetMocksMockIdCallLogsResponse400Error>,
3540}
3541
3542#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3543pub struct GetMocksMockIdCallLogsResponse400Error {
3544    /// The error message.
3545    pub message: Option<String>,
3546
3547    /// The error name.
3548    pub name: Option<String>,
3549}
3550
3551#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3552pub struct GetMocksMockIdCallLogsResponse401 {
3553    pub error: Option<GetMocksMockIdCallLogsResponse401Error>,
3554}
3555
3556#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3557pub struct GetMocksMockIdCallLogsResponse401Error {
3558    /// The error message.
3559    pub message: Option<String>,
3560
3561    /// The error message.
3562    pub name: Option<String>,
3563}
3564
3565#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3566pub struct GetMocksMockIdCallLogsResponse404 {
3567    pub error: Option<GetMocksMockIdCallLogsResponse404Error>,
3568}
3569
3570#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3571pub struct GetMocksMockIdCallLogsResponse404Error {
3572    /// Information about the error.
3573    pub details: Option<Vec<String>>,
3574
3575    /// The error message.
3576    pub message: Option<String>,
3577
3578    /// The error name.
3579    pub name: Option<String>,
3580}
3581
3582#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3583pub struct GetMocksMockIdCallLogsResponse429 {
3584    /// The error name.
3585    pub error: Option<String>,
3586
3587    /// The error message.
3588    pub message: Option<String>,
3589}
3590
3591#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3592pub struct GetMocksMockIdCallLogsResponse500 {
3593    pub error: Option<GetMocksMockIdCallLogsResponse500Error>,
3594}
3595
3596#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3597pub struct GetMocksMockIdCallLogsResponse500Error {
3598    /// The error message.
3599    pub message: Option<String>,
3600
3601    /// The error name.
3602    pub name: Option<String>,
3603}
3604
3605#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3606pub struct GetMocksMockIdResponse {
3607    pub mock: Option<GetMocksMockIdResponseMock>,
3608}
3609
3610#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3611#[serde(rename_all = "camelCase")]
3612pub struct GetMocksMockIdResponseMock {
3613    /// The mock's associated collection unique ID.
3614    pub collection: Option<String>,
3615
3616    /// Information about the mock server's configuration.
3617    pub config: Option<GetMocksMockIdResponseMockConfig>,
3618
3619    /// The date and time at which the mock server was created.
3620    pub created_at: Option<String>,
3621
3622    /// If true, the mock server is not active. Mock servers deactivate when a linked collection
3623    /// or environment is deleted.
3624    pub deactivated: Option<bool>,
3625
3626    /// The mock server's associated environment ID.
3627    pub environment: Option<String>,
3628
3629    /// The mock server's ID.
3630    pub id: Option<String>,
3631
3632    /// If true, the mock server is public.
3633    pub is_public: Option<bool>,
3634
3635    /// The mock server URL.
3636    pub mock_url: Option<String>,
3637
3638    /// The mock server's name.
3639    pub name: Option<String>,
3640
3641    /// The ID of mock server's owner.
3642    pub owner: Option<String>,
3643
3644    /// The mock server's unique ID.
3645    pub uid: Option<String>,
3646
3647    /// The date and time at which the mock server was last updated.
3648    pub updated_at: Option<String>,
3649}
3650
3651#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3652#[serde(rename_all = "camelCase")]
3653pub struct GetMocksMockIdResponseMockConfig {
3654    /// A list of the mock server's headers.
3655    pub headers: Option<Vec<Option<serde_json::Value>>>,
3656
3657    /// If true, match the request body.
3658    pub match_body: Option<bool>,
3659
3660    /// If true, match query parameters.
3661    pub match_query_params: Option<bool>,
3662
3663    /// If true, use wildcard variable matching.
3664    pub match_wildcards: Option<bool>,
3665
3666    /// The ID of mock server's default response for requests. All calls to the mock server will
3667    /// return the defined response.
3668    pub server_response_id: Option<String>,
3669}
3670
3671#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3672pub struct GetMocksMockIdResponse401 {
3673    pub error: Option<GetMocksMockIdResponse401Error>,
3674}
3675
3676#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3677pub struct GetMocksMockIdResponse401Error {
3678    /// The error message.
3679    pub message: Option<String>,
3680
3681    /// The error message.
3682    pub name: Option<String>,
3683}
3684
3685#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3686pub struct GetMocksMockIdResponse404 {
3687    pub error: Option<GetMocksMockIdResponse404Error>,
3688}
3689
3690#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3691pub struct GetMocksMockIdResponse404Error {
3692    /// Information about the error.
3693    pub details: Option<Vec<String>>,
3694
3695    /// The error message.
3696    pub message: Option<String>,
3697
3698    /// The error name.
3699    pub name: Option<String>,
3700}
3701
3702#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3703pub struct GetMocksMockIdResponse429 {
3704    /// The error name.
3705    pub error: Option<String>,
3706
3707    /// The error message.
3708    pub message: Option<String>,
3709}
3710
3711#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3712pub struct GetMocksMockIdResponse500 {
3713    pub error: Option<GetMocksMockIdResponse500Error>,
3714}
3715
3716#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3717pub struct GetMocksMockIdResponse500Error {
3718    /// The error message.
3719    pub message: Option<String>,
3720
3721    /// The error name.
3722    pub name: Option<String>,
3723}
3724
3725#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3726pub struct GetMocksMockIdServerResponsesResponse401 {
3727    pub error: Option<GetMocksMockIdServerResponsesResponse401Error>,
3728}
3729
3730#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3731pub struct GetMocksMockIdServerResponsesResponse401Error {
3732    /// The error message.
3733    pub message: Option<String>,
3734
3735    /// The error message.
3736    pub name: Option<String>,
3737}
3738
3739#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3740pub struct GetMocksMockIdServerResponsesResponse404 {
3741    pub error: Option<GetMocksMockIdServerResponsesResponse404Error>,
3742}
3743
3744#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3745pub struct GetMocksMockIdServerResponsesResponse404Error {
3746    /// Information about the error.
3747    pub details: Option<Vec<String>>,
3748
3749    /// The error message.
3750    pub message: Option<String>,
3751
3752    /// The error name.
3753    pub name: Option<String>,
3754}
3755
3756#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3757pub struct GetMocksMockIdServerResponsesResponse429 {
3758    /// The error name.
3759    pub error: Option<String>,
3760
3761    /// The error message.
3762    pub message: Option<String>,
3763}
3764
3765#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3766pub struct GetMocksMockIdServerResponsesResponse500 {
3767    pub error: Option<GetMocksMockIdServerResponsesResponse500Error>,
3768}
3769
3770#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3771pub struct GetMocksMockIdServerResponsesResponse500Error {
3772    /// The error message.
3773    pub message: Option<String>,
3774
3775    /// The error name.
3776    pub name: Option<String>,
3777}
3778
3779#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3780#[serde(rename_all = "camelCase")]
3781pub struct GetMocksMockIdServerResponsesResponseItem {
3782    /// The date and time at which the server response was created.
3783    pub created_at: Option<String>,
3784
3785    /// The user ID of the user who created the server response.
3786    pub created_by: Option<String>,
3787
3788    /// The server response's ID.
3789    pub id: Option<String>,
3790
3791    /// The server response's name.
3792    pub name: Option<String>,
3793
3794    /// The server response's 5xx HTTP response code.
3795    pub status_code: Option<f64>,
3796
3797    /// The date and time at which the server response was last updated.
3798    pub updated_at: Option<String>,
3799
3800    /// The user ID of the user who last updated the server response.
3801    pub updated_by: Option<String>,
3802}
3803
3804#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3805pub struct GetMocksMockIdServerResponsesServerResponseIdResponse400 {
3806    pub error: Option<GetMocksMockIdServerResponsesServerResponseIdResponse400Error>,
3807}
3808
3809#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3810pub struct GetMocksMockIdServerResponsesServerResponseIdResponse400Error {
3811    /// The error message.
3812    pub message: Option<String>,
3813
3814    /// The error name.
3815    pub name: Option<String>,
3816}
3817
3818#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3819pub struct GetMocksMockIdServerResponsesServerResponseIdResponse401 {
3820    pub error: Option<GetMocksMockIdServerResponsesServerResponseIdResponse401Error>,
3821}
3822
3823#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3824pub struct GetMocksMockIdServerResponsesServerResponseIdResponse401Error {
3825    /// The error message.
3826    pub message: Option<String>,
3827
3828    /// The error message.
3829    pub name: Option<String>,
3830}
3831
3832#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3833pub struct GetMocksMockIdServerResponsesServerResponseIdResponse404 {
3834    pub error: Option<GetMocksMockIdServerResponsesServerResponseIdResponse404Error>,
3835}
3836
3837#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3838pub struct GetMocksMockIdServerResponsesServerResponseIdResponse404Error {
3839    /// Information about the error.
3840    pub details: Option<Vec<String>>,
3841
3842    /// The error message.
3843    pub message: Option<String>,
3844
3845    /// The error name.
3846    pub name: Option<String>,
3847}
3848
3849#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3850pub struct GetMocksMockIdServerResponsesServerResponseIdResponse429 {
3851    /// The error name.
3852    pub error: Option<String>,
3853
3854    /// The error message.
3855    pub message: Option<String>,
3856}
3857
3858#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3859pub struct GetMocksMockIdServerResponsesServerResponseIdResponse500 {
3860    pub error: Option<GetMocksMockIdServerResponsesServerResponseIdResponse500Error>,
3861}
3862
3863#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3864pub struct GetMocksMockIdServerResponsesServerResponseIdResponse500Error {
3865    /// The error message.
3866    pub message: Option<String>,
3867
3868    /// The error name.
3869    pub name: Option<String>,
3870}
3871
3872#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3873#[serde(rename_all = "camelCase")]
3874pub struct GetMocksMockIdServerResponsesServerResponseIdResponseItem {
3875    /// The date and time at which the server response was created.
3876    pub created_at: Option<String>,
3877
3878    /// The user ID of the user who created the server response.
3879    pub created_by: Option<String>,
3880
3881    /// The server response's ID.
3882    pub id: Option<String>,
3883
3884    /// The server response's name.
3885    pub name: Option<String>,
3886
3887    /// The server response's 5xx HTTP response code.
3888    pub status_code: Option<f64>,
3889
3890    /// The date and time at which the server response was last updated.
3891    pub updated_at: Option<String>,
3892
3893    /// The user ID of the user who last updated the server response.
3894    pub updated_by: Option<String>,
3895}
3896
3897#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3898pub struct GetMocksResponse {
3899    pub mocks: Option<Vec<GetMocksResponseMocksItem>>,
3900}
3901
3902#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3903#[serde(rename_all = "camelCase")]
3904pub struct GetMocksResponseMocksItem {
3905    /// The mock's associated collection unique ID.
3906    pub collection: Option<String>,
3907
3908    /// Information about the mock server's configuration.
3909    pub config: Option<GetMocksResponseMocksItemConfig>,
3910
3911    /// The date and time at which the mock server was created.
3912    pub created_at: Option<String>,
3913
3914    /// The mock server's associated environment ID.
3915    pub environment: Option<String>,
3916
3917    /// The mock server's ID.
3918    pub id: Option<String>,
3919
3920    /// If true, the mock server is public.
3921    pub is_public: Option<bool>,
3922
3923    /// The mock server URL.
3924    pub mock_url: Option<String>,
3925
3926    /// The mock server's name.
3927    pub name: Option<String>,
3928
3929    /// The ID of mock server's owner.
3930    pub owner: Option<String>,
3931
3932    /// The mock server's unique ID.
3933    pub uid: Option<String>,
3934
3935    /// The date and time at which the mock server was last updated.
3936    pub updated_at: Option<String>,
3937}
3938
3939#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3940#[serde(rename_all = "camelCase")]
3941pub struct GetMocksResponseMocksItemConfig {
3942    /// Information about the mock server's simulated network delay settings. This returns a null
3943    /// value if there are no configured network delay settings.
3944    pub delay: Option<GetMocksResponseMocksItemConfigDelay>,
3945
3946    /// A list of the mock server's headers.
3947    pub headers: Option<Vec<String>>,
3948
3949    /// If true, match the request body.
3950    pub match_body: Option<bool>,
3951
3952    /// If true, match query parameters.
3953    pub match_query_params: Option<bool>,
3954
3955    /// If true, use wildcard variable matching.
3956    pub match_wildcards: Option<bool>,
3957
3958    /// The ID of mock server's default response for requests. All calls to the mock server will
3959    /// return the defined response.
3960    pub server_response_id: Option<String>,
3961}
3962
3963#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3964pub struct GetMocksResponseMocksItemConfigDelay {
3965    /// The configured delay, in milliseconds.
3966    pub duration: Option<i64>,
3967
3968    /// The simulated fixed network delay value:
3969    ///
3970    /// - `1` — 2G (300 ms).
3971    /// - `2` — 3G (100 ms).
3972    ///
3973    /// The object does not return this value for custom delay values.
3974    pub preset: Option<Preset>,
3975
3976    /// The type of simulated delay value:
3977    ///
3978    /// - `fixed` — The delay value is a fixed value.
3979    #[serde(rename = "type")]
3980    pub get_mocks_response_mocks_item_config_delay_type: Option<GetMocksResponseMocksItemConfigDelayType>,
3981}
3982
3983#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3984#[serde(rename_all = "snake_case")]
3985pub enum GetMocksResponseMocksItemConfigDelayType {
3986    Fixed,
3987}
3988
3989#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3990pub enum Preset {
3991    #[serde(rename = "1")]
3992    The1,
3993
3994    #[serde(rename = "2")]
3995    The2,
3996}
3997
3998#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3999pub struct GetMocksResponse401 {
4000    pub error: Option<GetMocksResponse401Error>,
4001}
4002
4003#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4004pub struct GetMocksResponse401Error {
4005    /// The error message.
4006    pub message: Option<String>,
4007
4008    /// The error message.
4009    pub name: Option<String>,
4010}
4011
4012#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4013pub struct GetMocksResponse429 {
4014    /// The error name.
4015    pub error: Option<String>,
4016
4017    /// The error message.
4018    pub message: Option<String>,
4019}
4020
4021#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4022pub struct GetMocksResponse500 {
4023    pub error: Option<GetMocksResponse500Error>,
4024}
4025
4026#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4027pub struct GetMocksResponse500Error {
4028    /// The error message.
4029    pub message: Option<String>,
4030
4031    /// The error name.
4032    pub name: Option<String>,
4033}
4034
4035#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4036pub struct GetMonitorsMonitorIdResponse {
4037    pub monitor: Option<GetMonitorsMonitorIdResponseMonitor>,
4038}
4039
4040#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4041#[serde(rename_all = "camelCase")]
4042pub struct GetMonitorsMonitorIdResponseMonitor {
4043    /// The monitor's associated collection unique ID.
4044    pub collection_uid: Option<String>,
4045
4046    /// A list of the monitor's [geographic
4047    /// regions](https://learning.postman.com/docs/monitoring-your-api/setting-up-monitor/#adding-regions).
4048    pub distribution: Option<Vec<Option<serde_json::Value>>>,
4049
4050    /// The monitor's associated environment unique ID.
4051    pub environment_uid: Option<String>,
4052
4053    /// The monitor's ID.
4054    pub id: Option<String>,
4055
4056    /// Information about the monitor's previous run.
4057    pub last_run: Option<GetMonitorsMonitorIdResponseMonitorLastRun>,
4058
4059    /// The monitor's name.
4060    pub name: Option<String>,
4061
4062    /// Information about the monitor's notification settings.
4063    pub notifications: Option<GetMonitorsMonitorIdResponseMonitorNotifications>,
4064
4065    /// Information about the monitor's option settings.
4066    pub options: Option<GetMonitorsMonitorIdResponseMonitorOptions>,
4067
4068    /// The ID of monitor's owner.
4069    pub owner: Option<f64>,
4070
4071    /// Information about the monitor's schedule.
4072    pub schedule: Option<GetMonitorsMonitorIdResponseMonitorSchedule>,
4073
4074    /// The monitor's unique ID.
4075    pub uid: Option<String>,
4076}
4077
4078#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4079#[serde(rename_all = "camelCase")]
4080pub struct GetMonitorsMonitorIdResponseMonitorLastRun {
4081    /// The date and time at which the monitor's previous run completed.
4082    pub finished_at: Option<String>,
4083
4084    /// The date and time at which the monitor's previous run started.
4085    pub started_at: Option<String>,
4086
4087    /// Information about the monitor's stats.
4088    pub stats: Option<GetMonitorsMonitorIdResponseMonitorLastRunStats>,
4089
4090    /// The monitor's status after its last run.
4091    pub status: Option<String>,
4092}
4093
4094#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4095pub struct GetMonitorsMonitorIdResponseMonitorLastRunStats {
4096    /// Information about the monitor's assertions.
4097    pub assertions: Option<GetMonitorsMonitorIdResponseMonitorLastRunStatsAssertions>,
4098
4099    /// Information about the monitor's requests.
4100    pub requests: Option<GetMonitorsMonitorIdResponseMonitorLastRunStatsRequests>,
4101}
4102
4103#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4104pub struct GetMonitorsMonitorIdResponseMonitorLastRunStatsAssertions {
4105    /// The total number of test failures.
4106    pub failed: Option<f64>,
4107
4108    /// The total number of tests performed.
4109    pub total: Option<f64>,
4110}
4111
4112#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4113pub struct GetMonitorsMonitorIdResponseMonitorLastRunStatsRequests {
4114    /// The total number of requests.
4115    pub total: Option<f64>,
4116}
4117
4118#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4119#[serde(rename_all = "camelCase")]
4120pub struct GetMonitorsMonitorIdResponseMonitorNotifications {
4121    pub on_error: Option<Vec<GetMonitorsMonitorIdResponseMonitorNotificationsOnErrorItem>>,
4122
4123    pub on_failure: Option<Vec<GetMonitorsMonitorIdResponseMonitorNotificationsOnFailureItem>>,
4124}
4125
4126#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4127pub struct GetMonitorsMonitorIdResponseMonitorNotificationsOnErrorItem {
4128    /// The email address of the user to notify on monitor error.
4129    pub email: Option<String>,
4130}
4131
4132#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4133pub struct GetMonitorsMonitorIdResponseMonitorNotificationsOnFailureItem {
4134    /// The email address of the user to notify on monitor failure.
4135    pub email: Option<String>,
4136}
4137
4138#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4139#[serde(rename_all = "camelCase")]
4140pub struct GetMonitorsMonitorIdResponseMonitorOptions {
4141    /// If true, follow redirects enabled.
4142    pub follow_redirects: Option<bool>,
4143
4144    /// The monitor's request delay value.
4145    pub request_delay: Option<f64>,
4146
4147    /// The monitor's request timeout value.
4148    pub request_timeout: Option<f64>,
4149
4150    /// If true, strict SSL enabled.
4151    #[serde(rename = "strictSSL")]
4152    pub strict_ssl: Option<bool>,
4153}
4154
4155#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4156#[serde(rename_all = "camelCase")]
4157pub struct GetMonitorsMonitorIdResponseMonitorSchedule {
4158    /// The monitor's cron frequency value.
4159    pub cron: Option<String>,
4160
4161    /// The date and time of monitor's next scheduled run.
4162    pub next_run: Option<String>,
4163
4164    /// The monitor's timezone.
4165    pub timezone: Option<String>,
4166}
4167
4168#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4169pub struct GetMonitorsMonitorIdResponse401 {
4170    pub error: Option<GetMonitorsMonitorIdResponse401Error>,
4171}
4172
4173#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4174pub struct GetMonitorsMonitorIdResponse401Error {
4175    /// The error message.
4176    pub message: Option<String>,
4177
4178    /// The error message.
4179    pub name: Option<String>,
4180}
4181
4182#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4183pub struct GetMonitorsMonitorIdResponse404 {
4184    pub error: Option<GetMonitorsMonitorIdResponse404Error>,
4185}
4186
4187#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4188pub struct GetMonitorsMonitorIdResponse404Error {
4189    /// The error message.
4190    pub message: Option<String>,
4191
4192    /// The error name.
4193    pub name: Option<String>,
4194}
4195
4196#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4197pub struct GetMonitorsMonitorIdResponse429 {
4198    /// The error name.
4199    pub error: Option<String>,
4200
4201    /// The error message.
4202    pub message: Option<String>,
4203}
4204
4205#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4206pub struct GetMonitorsMonitorIdResponse500 {
4207    pub error: Option<GetMonitorsMonitorIdResponse500Error>,
4208}
4209
4210#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4211pub struct GetMonitorsMonitorIdResponse500Error {
4212    /// The error message.
4213    pub message: Option<String>,
4214
4215    /// The error name.
4216    pub name: Option<String>,
4217}
4218
4219#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4220pub struct GetMonitorsResponse {
4221    pub monitors: Option<Vec<GetMonitorsResponseMonitorsItem>>,
4222}
4223
4224#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4225pub struct GetMonitorsResponseMonitorsItem {
4226    /// The monitor's ID.
4227    pub id: Option<String>,
4228
4229    /// The monitor's name.
4230    pub name: Option<String>,
4231
4232    /// The ID of the monitor's owner.
4233    pub owner: Option<String>,
4234
4235    /// The monitor's unique ID.
4236    pub uid: Option<String>,
4237}
4238
4239#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4240pub struct GetMonitorsResponse401 {
4241    pub error: Option<GetMonitorsResponse401Error>,
4242}
4243
4244#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4245pub struct GetMonitorsResponse401Error {
4246    /// The error message.
4247    pub message: Option<String>,
4248
4249    /// The error message.
4250    pub name: Option<String>,
4251}
4252
4253#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4254pub struct GetMonitorsResponse429 {
4255    /// The error name.
4256    pub error: Option<String>,
4257
4258    /// The error message.
4259    pub message: Option<String>,
4260}
4261
4262#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4263pub struct GetMonitorsResponse500 {
4264    pub error: Option<GetMonitorsResponse500Error>,
4265}
4266
4267#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4268pub struct GetMonitorsResponse500Error {
4269    /// The error message.
4270    pub message: Option<String>,
4271
4272    /// The error name.
4273    pub name: Option<String>,
4274}
4275
4276#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4277pub struct GetNetworkPrivateNetworkEntityRequestAllResponse {
4278    /// The response's non-standard meta information.
4279    pub meta: Option<GetNetworkPrivateNetworkEntityRequestAllResponseMeta>,
4280
4281    /// Information about the requests to add elements to the Private API Network.
4282    pub requests: Option<Vec<GetNetworkPrivateNetworkEntityRequestAllResponseRequestsItem>>,
4283}
4284
4285#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4286#[serde(rename_all = "camelCase")]
4287pub struct GetNetworkPrivateNetworkEntityRequestAllResponseMeta {
4288    /// The maximum number of items returned.
4289    pub limit: Option<i64>,
4290
4291    /// The zero-based offset of the first item returned.
4292    pub offset: Option<i64>,
4293
4294    /// The total count of items found.
4295    pub total_count: Option<i64>,
4296}
4297
4298#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4299#[serde(rename_all = "camelCase")]
4300pub struct GetNetworkPrivateNetworkEntityRequestAllResponseRequestsItem {
4301    /// The date and time at which the request was created.
4302    pub created_at: Option<String>,
4303
4304    /// The ID of the user who created the request.
4305    pub created_by: Option<i64>,
4306
4307    /// Information about the requested element.
4308    pub element: Option<GetNetworkPrivateNetworkEntityRequestAllResponseRequestsItemElement>,
4309
4310    /// The request's ID.
4311    pub id: Option<i64>,
4312
4313    /// The user's optional message included in the request.
4314    pub message: Option<String>,
4315
4316    /// Information about the response to the request. This object only returns when the network
4317    /// manager denied a request with a message.
4318    pub response: Option<GetNetworkPrivateNetworkEntityRequestAllResponseRequestsItemResponse>,
4319
4320    /// The request's status.
4321    pub status: Option<PurpleStatus>,
4322}
4323
4324#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4325pub struct GetNetworkPrivateNetworkEntityRequestAllResponseRequestsItemElement {
4326    /// The element's ID.
4327    pub id: Option<String>,
4328
4329    /// The element's name.
4330    pub name: Option<String>,
4331
4332    /// The element's short summary.
4333    pub summary: Option<String>,
4334
4335    /// The element type.
4336    #[serde(rename = "type")]
4337    pub get_network_private_network_entity_request_all_response_requests_item_element_type: Option<EntityTypeEnum>,
4338}
4339
4340#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4341#[serde(rename_all = "snake_case")]
4342pub enum EntityTypeEnum {
4343    Api,
4344
4345    Collection,
4346
4347    Workspace,
4348}
4349
4350#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4351#[serde(rename_all = "camelCase")]
4352pub struct GetNetworkPrivateNetworkEntityRequestAllResponseRequestsItemResponse {
4353    /// The date and time at which the network manager denied the request.
4354    pub created_at: Option<String>,
4355
4356    /// The network manager's user ID.
4357    pub created_by: Option<i64>,
4358
4359    /// The network manager's request response message.
4360    pub message: Option<String>,
4361}
4362
4363#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4364#[serde(rename_all = "snake_case")]
4365pub enum PurpleStatus {
4366    Denied,
4367
4368    Pending,
4369}
4370
4371#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4372pub struct GetNetworkPrivateNetworkEntityRequestAllResponse400 {
4373    /// The error message.
4374    pub message: Option<String>,
4375
4376    /// The error name.
4377    pub name: Option<String>,
4378}
4379
4380#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4381pub struct GetNetworkPrivateNetworkEntityRequestAllResponse401 {
4382    pub error: Option<GetNetworkPrivateNetworkEntityRequestAllResponse401Error>,
4383}
4384
4385#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4386pub struct GetNetworkPrivateNetworkEntityRequestAllResponse401Error {
4387    /// The error message.
4388    pub message: Option<String>,
4389
4390    /// The error message.
4391    pub name: Option<String>,
4392}
4393
4394#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4395pub struct GetNetworkPrivateNetworkEntityRequestAllResponse403 {
4396    pub error: Option<GetNetworkPrivateNetworkEntityRequestAllResponse403Error>,
4397}
4398
4399#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4400pub struct GetNetworkPrivateNetworkEntityRequestAllResponse403Error {
4401    /// The error message.
4402    pub message: Option<String>,
4403
4404    /// The error name.
4405    pub name: Option<String>,
4406}
4407
4408#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4409pub struct GetNetworkPrivateNetworkEntityRequestAllResponse429 {
4410    /// The error name.
4411    pub error: Option<String>,
4412
4413    /// The error message.
4414    pub message: Option<String>,
4415}
4416
4417#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4418pub struct GetNetworkPrivateNetworkEntityRequestAllResponse500 {
4419    pub error: Option<GetNetworkPrivateNetworkEntityRequestAllResponse500Error>,
4420}
4421
4422#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4423pub struct GetNetworkPrivateNetworkEntityRequestAllResponse500Error {
4424    /// The error message.
4425    pub message: Option<String>,
4426
4427    /// The error name.
4428    pub name: Option<String>,
4429}
4430
4431#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4432pub struct GetNetworkPrivateResponse {
4433    /// Information about a Private API Network's folder elements. Elements are APIs,
4434    /// collections, and workspaces.
4435    pub elements: Option<Vec<GetNetworkPrivateResponseElementsItem>>,
4436
4437    /// Information about the Private API Network's folders.
4438    pub folders: Option<Vec<GetNetworkPrivateResponseFoldersItem>>,
4439
4440    /// The response's non-standard meta information.
4441    pub meta: Option<GetNetworkPrivateResponseMeta>,
4442}
4443
4444#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4445#[serde(rename_all = "camelCase")]
4446pub struct GetNetworkPrivateResponseElementsItem {
4447    /// The date and time at which the element was published to Private API Network. This value
4448    /// is the same as the `updatedAt` value.
4449    pub added_at: Option<String>,
4450
4451    /// The user ID of the user who published the element.
4452    pub added_by: Option<i64>,
4453
4454    /// The date and time at which the element was created.
4455    pub created_at: Option<String>,
4456
4457    /// The user who created the element.
4458    pub created_by: Option<i64>,
4459
4460    /// The element's description.
4461    pub description: Option<String>,
4462
4463    /// The element's HREF.
4464    pub href: Option<String>,
4465
4466    /// The element's ID.
4467    pub id: Option<String>,
4468
4469    /// The element's name.
4470    pub name: Option<String>,
4471
4472    /// The element's parent folder ID.
4473    pub parent_folder_id: Option<i64>,
4474
4475    /// The element's summary.
4476    pub summary: Option<String>,
4477
4478    /// The element's type.
4479    #[serde(rename = "type")]
4480    pub get_network_private_response_elements_item_type: Option<String>,
4481
4482    /// The date and time at which the element was last updated.
4483    pub updated_at: Option<String>,
4484
4485    /// The user who updated the element.
4486    pub updated_by: Option<i64>,
4487}
4488
4489#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4490#[serde(rename_all = "camelCase")]
4491pub struct GetNetworkPrivateResponseFoldersItem {
4492    /// The date and time at which the folder was created.
4493    pub created_at: Option<String>,
4494
4495    /// The user who created the folder.
4496    pub created_by: Option<i64>,
4497
4498    /// The folder's description.
4499    pub description: Option<String>,
4500
4501    /// The folder's ID.
4502    pub id: Option<i64>,
4503
4504    /// The folder's name.
4505    pub name: Option<String>,
4506
4507    /// The folder's parent folder ID.
4508    pub parent_folder_id: Option<i64>,
4509
4510    /// The element's type. This value is always `folder`.
4511    #[serde(rename = "type")]
4512    pub get_network_private_response_folders_item_type: Option<String>,
4513
4514    /// The date and time at which the folder was updated.
4515    pub updated_at: Option<String>,
4516
4517    /// The user ID of the user who updated the folder.
4518    pub updated_by: Option<i64>,
4519}
4520
4521#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4522#[serde(rename_all = "camelCase")]
4523pub struct GetNetworkPrivateResponseMeta {
4524    /// The maximum number of elements returned. If the value exceeds the maximum value of
4525    /// `1000`, then the system uses the `1000` value.
4526    pub limit: Option<i64>,
4527
4528    /// The zero-based offset of the first item returned.
4529    pub offset: Option<i64>,
4530
4531    /// The total count of the `elements` and `folders` items.
4532    pub total_count: Option<i64>,
4533}
4534
4535#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4536pub struct GetNetworkPrivateResponse401 {
4537    pub error: Option<GetNetworkPrivateResponse401Error>,
4538}
4539
4540#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4541pub struct GetNetworkPrivateResponse401Error {
4542    /// The error message.
4543    pub message: Option<String>,
4544
4545    /// The error message.
4546    pub name: Option<String>,
4547}
4548
4549#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4550pub struct GetNetworkPrivateResponse403 {
4551    pub error: Option<GetNetworkPrivateResponse403Error>,
4552}
4553
4554#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4555pub struct GetNetworkPrivateResponse403Error {
4556    /// The error message.
4557    pub message: Option<String>,
4558
4559    /// The error name.
4560    pub name: Option<String>,
4561}
4562
4563#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4564pub struct GetNetworkPrivateResponse429 {
4565    /// The error name.
4566    pub error: Option<String>,
4567
4568    /// The error message.
4569    pub message: Option<String>,
4570}
4571
4572#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4573pub struct GetNetworkPrivateResponse500 {
4574    pub error: Option<GetNetworkPrivateResponse500Error>,
4575}
4576
4577#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4578pub struct GetNetworkPrivateResponse500Error {
4579    /// The error message.
4580    pub message: Option<String>,
4581
4582    /// The error name.
4583    pub name: Option<String>,
4584}
4585
4586#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4587#[serde(rename_all = "camelCase")]
4588pub struct GetScimV2GroupsGroupIdResponse {
4589    /// The group's external ID.
4590    pub external_id: Option<String>,
4591
4592    /// The group's SCIM ID.
4593    pub id: Option<String>,
4594
4595    /// Information about the group's members.
4596    pub members: Option<GetScimV2GroupsGroupIdResponseMembers>,
4597
4598    /// The response's non-standard meta information.
4599    pub meta: Option<GetScimV2GroupsGroupIdResponseMeta>,
4600
4601    /// A list of schema resource URIs.
4602    pub schemas: Option<Vec<String>>,
4603
4604    /// The group's display name.
4605    pub user_name: Option<String>,
4606}
4607
4608#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4609pub struct GetScimV2GroupsGroupIdResponseMembers {
4610    pub display: Option<String>,
4611
4612    pub value: Option<String>,
4613}
4614
4615#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4616#[serde(rename_all = "camelCase")]
4617pub struct GetScimV2GroupsGroupIdResponseMeta {
4618    /// The date and time at which the group was created.
4619    pub created: Option<String>,
4620
4621    /// The date and time at which the group was last modified.
4622    pub last_modified: Option<String>,
4623
4624    /// The resource type.
4625    pub resource_type: Option<String>,
4626}
4627
4628#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4629pub struct GetScimV2GroupsGroupIdResponse400 {
4630    /// Information about the error.
4631    pub detail: Option<String>,
4632
4633    /// The SCIM schema resource URIs.
4634    pub schemas: Option<Vec<String>>,
4635
4636    /// The HTTP status code.
4637    pub status: Option<String>,
4638}
4639
4640#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4641pub struct GetScimV2GroupsGroupIdResponse401 {
4642    /// Information about the error.
4643    pub detail: Option<String>,
4644
4645    /// The SCIM schema resource URIs.
4646    pub schemas: Option<Vec<String>>,
4647
4648    /// The HTTP status code.
4649    pub status: Option<String>,
4650}
4651
4652#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4653pub struct GetScimV2GroupsGroupIdResponse403 {
4654    /// Information about the error.
4655    pub detail: Option<String>,
4656
4657    pub schemas: Option<Vec<String>>,
4658
4659    /// The error status code.
4660    pub status: Option<String>,
4661}
4662
4663#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4664pub struct GetScimV2GroupsGroupIdResponse404 {
4665    /// Information about the error.
4666    pub detail: Option<String>,
4667
4668    /// The SCIM schema resource URIs.
4669    pub schemas: Option<Vec<String>>,
4670
4671    /// The HTTP status code.
4672    pub status: Option<String>,
4673}
4674
4675#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4676pub struct GetScimV2GroupsGroupIdResponse429 {
4677    /// Information about the error.
4678    pub detail: Option<String>,
4679
4680    /// The SCIM schema resource URIs.
4681    pub schemas: Option<Vec<String>>,
4682
4683    /// The HTTP status code.
4684    pub status: Option<f64>,
4685}
4686
4687#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4688pub struct GetScimV2GroupsGroupIdResponse500 {
4689    /// Information about the error.
4690    pub detail: Option<String>,
4691
4692    /// The SCIM schema resource URIs.
4693    pub schemas: Option<Vec<String>>,
4694
4695    /// The HTTP status code.
4696    pub status: Option<String>,
4697}
4698
4699#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4700#[serde(rename_all = "camelCase")]
4701pub struct GetScimV2GroupsResponse {
4702    /// The number of items per response page.
4703    pub items_per_page: Option<f64>,
4704
4705    /// A list of group resources.
4706    #[serde(rename = "Resources")]
4707    pub resources: Option<Vec<ScimGroupResource>>,
4708
4709    pub schemas: Option<Vec<String>>,
4710
4711    /// The index entry by which the returned results begin.
4712    pub start_index: Option<f64>,
4713
4714    /// The total number of results found.
4715    pub total_results: Option<f64>,
4716}
4717
4718#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4719#[serde(rename_all = "camelCase")]
4720pub struct ScimGroupResource {
4721    /// The group's display name.
4722    pub display_name: Option<String>,
4723
4724    /// The group's external ID.
4725    pub external_id: Option<String>,
4726
4727    /// The group's SCIM ID.
4728    pub id: Option<String>,
4729
4730    /// Information about the group's members.
4731    pub members: Option<ScimGroupResourceMembers>,
4732
4733    /// The response's non-standard meta information.
4734    pub meta: Option<ScimGroupResourceMeta>,
4735
4736    /// A list of schema resource URIs.
4737    pub schemas: Option<Vec<String>>,
4738}
4739
4740#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4741pub struct ScimGroupResourceMembers {
4742    pub display: Option<String>,
4743
4744    pub value: Option<String>,
4745}
4746
4747#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4748#[serde(rename_all = "camelCase")]
4749pub struct ScimGroupResourceMeta {
4750    /// The date and time at which the group was created.
4751    pub created: Option<String>,
4752
4753    /// The date and time at which the group was last modified.
4754    pub last_modified: Option<String>,
4755
4756    /// The resource type.
4757    pub resource_type: Option<String>,
4758}
4759
4760#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4761pub struct GetScimV2GroupsResponse400 {
4762    pub detail: Option<String>,
4763
4764    pub schemas: Option<Vec<String>>,
4765
4766    pub status: Option<String>,
4767}
4768
4769#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4770pub struct GetScimV2GroupsResponse401 {
4771    /// Information about the error.
4772    pub detail: Option<String>,
4773
4774    /// The SCIM schema resource URIs.
4775    pub schemas: Option<Vec<String>>,
4776
4777    /// The HTTP status code.
4778    pub status: Option<String>,
4779}
4780
4781#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4782pub struct GetScimV2GroupsResponse403 {
4783    /// Information about the error.
4784    pub detail: Option<String>,
4785
4786    /// The SCIM schema resource URIs.
4787    pub schemas: Option<Vec<String>>,
4788
4789    /// The HTTP status code.
4790    pub status: Option<String>,
4791}
4792
4793#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4794pub struct GetScimV2GroupsResponse429 {
4795    /// Information about the error.
4796    pub detail: Option<String>,
4797
4798    /// The SCIM schema resource URIs.
4799    pub schemas: Option<Vec<String>>,
4800
4801    /// The HTTP status code.
4802    pub status: Option<f64>,
4803}
4804
4805#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4806pub struct GetScimV2GroupsResponse500 {
4807    /// Information about the error.
4808    pub detail: Option<String>,
4809
4810    /// The SCIM schema resource URIs.
4811    pub schemas: Option<Vec<String>>,
4812
4813    /// The HTTP status code.
4814    pub status: Option<String>,
4815}
4816
4817#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4818pub struct GetScimV2ResourceTypesResponse401 {
4819    pub error: Option<GetScimV2ResourceTypesResponse401Error>,
4820}
4821
4822#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4823pub struct GetScimV2ResourceTypesResponse401Error {
4824    /// The error message.
4825    pub message: Option<String>,
4826
4827    /// The error message.
4828    pub name: Option<String>,
4829}
4830
4831#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4832pub struct GetScimV2ResourceTypesResponse500 {
4833    /// Information about the error.
4834    pub detail: Option<String>,
4835
4836    /// The SCIM schema resource URIs.
4837    pub schemas: Option<Vec<String>>,
4838
4839    /// The HTTP status code.
4840    pub status: Option<String>,
4841}
4842
4843#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4844#[serde(rename_all = "camelCase")]
4845pub struct GetScimV2ResourceTypesResponseItem {
4846    /// The resource's description.
4847    pub description: Option<String>,
4848
4849    /// The resource's endpoint.
4850    pub endpoint: Option<String>,
4851
4852    /// The resource's ID.
4853    pub id: Option<String>,
4854
4855    /// The resource's friendly name.
4856    pub name: Option<String>,
4857
4858    /// The resource's schema URI.
4859    pub schema: Option<String>,
4860
4861    /// Information about the resource's schema extensions.
4862    pub schema_extensions: Option<Vec<GetScimV2ResourceTypesResponseItemSchemaExtensionsItem>>,
4863
4864    /// A list of SCIM schema resource URIs.
4865    pub schemas: Option<Vec<String>>,
4866}
4867
4868#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4869pub struct GetScimV2ResourceTypesResponseItemSchemaExtensionsItem {
4870    /// If true, the resource must include this schema extension.
4871    pub required: Option<bool>,
4872
4873    /// The resource extension's URI.
4874    pub schema: Option<String>,
4875}
4876
4877#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4878#[serde(rename_all = "camelCase")]
4879pub struct GetScimV2ServiceProviderConfigResponse {
4880    /// A list of authentication schemes.
4881    pub authentication_schemes: Option<Vec<GetScimV2ServiceProviderConfigResponseAuthenticationSchemesItem>>,
4882
4883    pub bulk: Option<GetScimV2ServiceProviderConfigResponseBulk>,
4884
4885    pub change_password: Option<GetScimV2ServiceProviderConfigResponseChangePassword>,
4886
4887    /// A link to the URI's documentation.
4888    pub documentation_uri: Option<String>,
4889
4890    pub etag: Option<GetScimV2ServiceProviderConfigResponseEtag>,
4891
4892    pub filter: Option<GetScimV2ServiceProviderConfigResponseFilter>,
4893
4894    /// The response's non-standard meta information.
4895    pub meta: Option<GetScimV2ServiceProviderConfigResponseMeta>,
4896
4897    pub patch: Option<GetScimV2ServiceProviderConfigResponsePatch>,
4898
4899    /// A list of schema resource URIs.
4900    pub schemas: Option<Vec<String>>,
4901
4902    pub sort: Option<GetScimV2ServiceProviderConfigResponseSort>,
4903}
4904
4905#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4906#[serde(rename_all = "camelCase")]
4907pub struct GetScimV2ServiceProviderConfigResponseAuthenticationSchemesItem {
4908    /// The scheme's description.
4909    pub description: Option<String>,
4910
4911    /// The scheme's friendly name.
4912    pub name: Option<String>,
4913
4914    /// A link to the scheme's specification documentation.
4915    pub spec_uri: Option<String>,
4916
4917    /// The scheme's type.
4918    #[serde(rename = "type")]
4919    pub get_scim_v2_service_provider_config_response_authentication_schemes_item_type: Option<String>,
4920}
4921
4922#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4923#[serde(rename_all = "camelCase")]
4924pub struct GetScimV2ServiceProviderConfigResponseBulk {
4925    pub max_operations: Option<f64>,
4926
4927    pub max_payload_size: Option<f64>,
4928
4929    pub supported: Option<bool>,
4930}
4931
4932#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4933pub struct GetScimV2ServiceProviderConfigResponseChangePassword {
4934    pub supported: Option<bool>,
4935}
4936
4937#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4938pub struct GetScimV2ServiceProviderConfigResponseEtag {
4939    pub supported: Option<bool>,
4940}
4941
4942#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4943#[serde(rename_all = "camelCase")]
4944pub struct GetScimV2ServiceProviderConfigResponseFilter {
4945    pub max_results: Option<f64>,
4946
4947    pub supported: Option<bool>,
4948}
4949
4950#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4951#[serde(rename_all = "camelCase")]
4952pub struct GetScimV2ServiceProviderConfigResponseMeta {
4953    pub location: Option<String>,
4954
4955    pub resource_type: Option<String>,
4956}
4957
4958#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4959pub struct GetScimV2ServiceProviderConfigResponsePatch {
4960    pub supported: Option<bool>,
4961}
4962
4963#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4964pub struct GetScimV2ServiceProviderConfigResponseSort {
4965    pub supported: Option<bool>,
4966}
4967
4968#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4969pub struct GetScimV2ServiceProviderConfigResponse401 {
4970    /// Information about the error.
4971    pub detail: Option<String>,
4972
4973    /// The SCIM schema resource URIs.
4974    pub schemas: Option<Vec<String>>,
4975
4976    /// The HTTP status code.
4977    pub status: Option<String>,
4978}
4979
4980#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4981pub struct GetScimV2ServiceProviderConfigResponse500 {
4982    /// Information about the error.
4983    pub detail: Option<String>,
4984
4985    /// The SCIM schema resource URIs.
4986    pub schemas: Option<Vec<String>>,
4987
4988    /// The HTTP status code.
4989    pub status: Option<String>,
4990}
4991
4992#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4993#[serde(rename_all = "camelCase")]
4994pub struct GetScimV2UsersResponse {
4995    /// The number of items per response page.
4996    pub items_per_page: Option<f64>,
4997
4998    /// A list of user resources.
4999    #[serde(rename = "Resources")]
5000    pub resources: Option<Vec<ScimUserResource>>,
5001
5002    pub schemas: Option<Vec<String>>,
5003
5004    /// The index entry by which the returned results begin.
5005    pub start_index: Option<f64>,
5006
5007    /// The total number of results found.
5008    pub total_results: Option<f64>,
5009}
5010
5011#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5012#[serde(rename_all = "camelCase")]
5013pub struct ScimUserResource {
5014    /// If true, the team member is active.
5015    pub active: Option<bool>,
5016
5017    /// The team member's external ID.
5018    pub external_id: Option<String>,
5019
5020    /// The team member's SCIM ID.
5021    pub id: Option<String>,
5022
5023    /// The response's non-standard meta information.
5024    pub meta: Option<ScimUserResourceMeta>,
5025
5026    /// Information about the Postman team member.
5027    pub name: Option<ScimUserResourceName>,
5028
5029    /// A list of schema resource URIs.
5030    pub schemas: Option<Vec<String>>,
5031
5032    /// The team member's SCIM username.
5033    pub user_name: Option<String>,
5034}
5035
5036#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5037#[serde(rename_all = "camelCase")]
5038pub struct ScimUserResourceMeta {
5039    /// The date and time at which the team member was created.
5040    pub created: Option<String>,
5041
5042    /// The date and time at which the team member was last modified.
5043    pub last_modified: Option<String>,
5044
5045    /// The resource type.
5046    pub resource_type: Option<String>,
5047}
5048
5049#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5050#[serde(rename_all = "camelCase")]
5051pub struct ScimUserResourceName {
5052    /// The team member's last name.
5053    pub family_name: Option<String>,
5054
5055    /// The team member's first name.
5056    pub given_name: Option<String>,
5057}
5058
5059#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5060pub struct GetScimV2UsersResponse400 {
5061    pub detail: Option<String>,
5062
5063    pub schemas: Option<Vec<String>>,
5064
5065    pub status: Option<String>,
5066}
5067
5068#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5069pub struct GetScimV2UsersResponse401 {
5070    /// Information about the error.
5071    pub detail: Option<String>,
5072
5073    /// The SCIM schema resource URIs.
5074    pub schemas: Option<Vec<String>>,
5075
5076    /// The HTTP status code.
5077    pub status: Option<String>,
5078}
5079
5080#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5081pub struct GetScimV2UsersResponse403 {
5082    pub detail: Option<String>,
5083
5084    pub schemas: Option<Vec<String>>,
5085
5086    pub status: Option<String>,
5087}
5088
5089#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5090pub struct GetScimV2UsersResponse429 {
5091    /// Information about the error.
5092    pub detail: Option<String>,
5093
5094    /// The SCIM schema resource URIs.
5095    pub schemas: Option<Vec<String>>,
5096
5097    /// The HTTP status code.
5098    pub status: Option<f64>,
5099}
5100
5101#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5102pub struct GetScimV2UsersResponse500 {
5103    /// Information about the error.
5104    pub detail: Option<String>,
5105
5106    /// The SCIM schema resource URIs.
5107    pub schemas: Option<Vec<String>>,
5108
5109    /// The HTTP status code.
5110    pub status: Option<String>,
5111}
5112
5113#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5114#[serde(rename_all = "camelCase")]
5115pub struct GetScimV2UsersUserIdResponse {
5116    /// If true, the team member is active.
5117    pub active: Option<bool>,
5118
5119    /// The team member's external ID.
5120    pub external_id: Option<String>,
5121
5122    /// The team member's SCIM ID.
5123    pub id: Option<String>,
5124
5125    /// The response's non-standard meta information.
5126    pub meta: Option<GetScimV2UsersUserIdResponseMeta>,
5127
5128    /// Information about the Postman team member.
5129    pub name: Option<GetScimV2UsersUserIdResponseName>,
5130
5131    /// A list of schema resource URIs.
5132    pub schemas: Option<Vec<String>>,
5133
5134    /// The team member's SCIM username.
5135    pub user_name: Option<String>,
5136}
5137
5138#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5139#[serde(rename_all = "camelCase")]
5140pub struct GetScimV2UsersUserIdResponseMeta {
5141    /// The date and time at which the team member was created.
5142    pub created: Option<String>,
5143
5144    /// The date and time at which the team member was last modified.
5145    pub last_modified: Option<String>,
5146
5147    /// The resource type.
5148    pub resource_type: Option<String>,
5149}
5150
5151#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5152#[serde(rename_all = "camelCase")]
5153pub struct GetScimV2UsersUserIdResponseName {
5154    /// The team member's last name.
5155    pub family_name: Option<String>,
5156
5157    /// The team member's first name.
5158    pub given_name: Option<String>,
5159}
5160
5161#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5162pub struct GetScimV2UsersUserIdResponse400 {
5163    /// Information about the error.
5164    pub detail: Option<String>,
5165
5166    /// The SCIM schema resource URIs.
5167    pub schemas: Option<Vec<String>>,
5168
5169    /// The HTTP status code.
5170    pub status: Option<String>,
5171}
5172
5173#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5174pub struct GetScimV2UsersUserIdResponse401 {
5175    /// Information about the error.
5176    pub detail: Option<String>,
5177
5178    /// The SCIM schema resource URIs.
5179    pub schemas: Option<Vec<String>>,
5180
5181    /// The HTTP status code.
5182    pub status: Option<String>,
5183}
5184
5185#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5186pub struct GetScimV2UsersUserIdResponse403 {
5187    /// Information about the error.
5188    pub detail: Option<String>,
5189
5190    pub schemas: Option<Vec<String>>,
5191
5192    /// The error status code.
5193    pub status: Option<String>,
5194}
5195
5196#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5197pub struct GetScimV2UsersUserIdResponse404 {
5198    /// Information about the error.
5199    pub detail: Option<String>,
5200
5201    /// The SCIM schema resource URIs.
5202    pub schemas: Option<Vec<String>>,
5203
5204    /// The HTTP status code.
5205    pub status: Option<String>,
5206}
5207
5208#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5209pub struct GetScimV2UsersUserIdResponse429 {
5210    /// Information about the error.
5211    pub detail: Option<String>,
5212
5213    pub schemas: Option<Vec<String>>,
5214
5215    /// The error status code.
5216    pub status: Option<f64>,
5217}
5218
5219#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5220pub struct GetScimV2UsersUserIdResponse500 {
5221    /// Information about the error.
5222    pub detail: Option<String>,
5223
5224    /// The SCIM schema resource URIs.
5225    pub schemas: Option<Vec<String>>,
5226
5227    /// The HTTP status code.
5228    pub status: Option<String>,
5229}
5230
5231#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5232pub struct GetSecretTypesResponse {
5233    pub data: Option<Vec<GetSecretTypesResponseDataItem>>,
5234
5235    pub meta: Option<GetSecretTypesResponseMeta>,
5236}
5237
5238#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5239pub struct GetSecretTypesResponseDataItem {
5240    /// The ID of the secret type.
5241    pub id: Option<String>,
5242
5243    /// The name of the secret type.
5244    pub name: Option<String>,
5245
5246    /// The origin of the secret type:
5247    /// - `DEFAULT` — Supported by default in Postman.
5248    /// - `TEAM_REGEX` — A custom regex added by an Admin or Super Admin user in the **Configure
5249    /// Alerts** section of the [**Team
5250    /// Settings**](https://learning.postman.com/docs/administration/team-settings/) interface.
5251    #[serde(rename = "type")]
5252    pub get_secret_types_response_data_item_type: Option<DatumType>,
5253}
5254
5255#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5256#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
5257pub enum DatumType {
5258    Default,
5259
5260    #[serde(rename = "TEAM_REGEX")]
5261    TeamRegex,
5262}
5263
5264#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5265pub struct GetSecretTypesResponseMeta {
5266    /// The total number of supported secrets.
5267    pub total: Option<f64>,
5268}
5269
5270#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5271pub struct GetSecretTypesResponse401 {
5272    /// The instance identifying the specific occurrence of the problem.
5273    pub instance: Option<String>,
5274
5275    /// The HTTP status code generated by the origin server.
5276    pub status: Option<f64>,
5277
5278    /// The generic description for the error's class.
5279    pub title: Option<String>,
5280
5281    /// The type of error.
5282    #[serde(rename = "type")]
5283    pub get_secret_types_response401_type: Option<String>,
5284}
5285
5286#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5287pub struct GetSecretTypesResponse403 {
5288    /// The instance identifying the specific occurrence of the problem.
5289    pub instance: Option<String>,
5290
5291    /// The HTTP status code generated by the origin server.
5292    pub status: Option<f64>,
5293
5294    /// The generic description for the error's class.
5295    pub title: Option<String>,
5296
5297    /// The type of error.
5298    #[serde(rename = "type")]
5299    pub get_secret_types_response403_type: Option<String>,
5300}
5301
5302#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5303pub struct GetSecretTypesResponse500 {
5304    /// The instance identifying the specific occurrence of the problem.
5305    pub instance: Option<String>,
5306
5307    /// The HTTP status code generated by the origin server.
5308    pub status: Option<f64>,
5309
5310    /// The generic description for the error's class.
5311    pub title: Option<String>,
5312
5313    /// The type of error.
5314    #[serde(rename = "type")]
5315    pub get_secret_types_response500_type: Option<String>,
5316}
5317
5318#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5319pub struct GetTagsSlugEntitiesResponse {
5320    /// An object containing the paginated elements.
5321    pub data: Option<GetTagsSlugEntitiesResponseData>,
5322
5323    /// The response's pagination information.
5324    pub meta: Option<GetTagsSlugEntitiesResponseMeta>,
5325}
5326
5327#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5328pub struct GetTagsSlugEntitiesResponseData {
5329    /// A list of the Postman elements that contain the given tag.
5330    pub entities: Vec<GetTagsSlugEntitiesResponseDataEntitiesItem>,
5331}
5332
5333#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5334#[serde(rename_all = "camelCase")]
5335pub struct GetTagsSlugEntitiesResponseDataEntitiesItem {
5336    /// The element's unique ID.
5337    pub entity_id: Option<String>,
5338
5339    /// The type of Postman element.
5340    pub entity_type: Option<EntityTypeEnum>,
5341}
5342
5343#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5344#[serde(rename_all = "camelCase")]
5345pub struct GetTagsSlugEntitiesResponseMeta {
5346    /// The number of tagged elements returned in the response.
5347    pub count: i64,
5348
5349    /// The pagination cursor that points to the next record in the results set.
5350    pub next_cursor: Option<String>,
5351}
5352
5353#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5354#[serde(rename_all = "camelCase")]
5355pub struct GetTagsSlugEntitiesResponse400 {
5356    /// A short summary of the problem.
5357    pub error: Option<String>,
5358
5359    /// Information about the error.
5360    pub message: Option<String>,
5361
5362    /// The error's HTTP status code.
5363    pub status_code: Option<i64>,
5364}
5365
5366#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5367pub struct GetTagsSlugEntitiesResponse401 {
5368    /// Information about the error.
5369    pub detail: Option<String>,
5370
5371    /// The error's HTTP status code.
5372    pub status: Option<i64>,
5373
5374    /// A short summary of the problem.
5375    pub title: Option<String>,
5376
5377    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
5378    /// the type of problem.
5379    #[serde(rename = "type")]
5380    pub get_tags_slug_entities_response401_type: Option<String>,
5381}
5382
5383#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5384pub struct GetTagsSlugEntitiesResponse403 {
5385    /// Information about the error.
5386    pub detail: Option<String>,
5387
5388    /// The error's HTTP status code.
5389    pub status: Option<i64>,
5390
5391    /// A short summary of the problem.
5392    pub title: Option<String>,
5393
5394    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
5395    /// the type of problem.
5396    #[serde(rename = "type")]
5397    pub get_tags_slug_entities_response403_type: Option<String>,
5398}
5399
5400#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5401pub struct GetTagsSlugEntitiesResponse404 {
5402    /// Information about the error.
5403    pub detail: Option<String>,
5404
5405    /// The URI reference that identifies the specific occurrence of the problem.
5406    pub instance: Option<String>,
5407
5408    /// The error's HTTP status code.
5409    pub status: Option<i64>,
5410
5411    /// A short summary of the problem.
5412    pub title: Option<String>,
5413
5414    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
5415    /// the type of problem.
5416    #[serde(rename = "type")]
5417    pub get_tags_slug_entities_response404_type: Option<String>,
5418}
5419
5420#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5421pub struct GetTagsSlugEntitiesResponse500 {
5422    /// Information about the error.
5423    pub detail: Option<String>,
5424
5425    /// The URI reference that identifies the specific occurrence of the problem.
5426    pub instance: Option<String>,
5427
5428    /// The error's HTTP status code.
5429    pub status: Option<i64>,
5430
5431    /// A short summary of the problem.
5432    pub title: Option<String>,
5433
5434    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
5435    /// the type of problem.
5436    #[serde(rename = "type")]
5437    pub get_tags_slug_entities_response500_type: Option<String>,
5438}
5439
5440#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5441pub struct GetWorkspacesResponse {
5442    pub workspaces: Option<Vec<GetWorkspacesResponseWorkspacesItem>>,
5443}
5444
5445#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5446pub struct GetWorkspacesResponseWorkspacesItem {
5447    /// The workspace's ID.
5448    pub id: Option<String>,
5449
5450    /// The workspace's name.
5451    pub name: Option<String>,
5452
5453    /// The type of workspace.
5454    #[serde(rename = "type")]
5455    pub get_workspaces_response_workspaces_item_type: Option<VisibilityEnum>,
5456
5457    /// The workspace's visibility.
5458    /// [Visibility](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility)
5459    /// determines who can access the workspace:
5460    ///
5461    /// - `personal` — Only you can access the workspace.
5462    /// - `team` — All team members can access the workspace.
5463    /// - `private` — Only invited team members can access the workspace ([Professional and
5464    /// Enterprise plans only](https://www.postman.com/pricing)).
5465    /// - `public` — Everyone can access the workspace.
5466    /// - `partner` — Only invited team members and
5467    /// [partners](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/)
5468    /// can access the workspace ([Enterprise Ultimate plans](https://www.postman.com/pricing)
5469    /// only).
5470    pub visibility: Option<VisibilityEnum>,
5471}
5472
5473#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5474#[serde(rename_all = "snake_case")]
5475pub enum VisibilityEnum {
5476    Partner,
5477
5478    Personal,
5479
5480    Private,
5481
5482    Public,
5483
5484    Team,
5485}
5486
5487#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5488pub struct GetWorkspacesResponse401 {
5489    pub error: Option<GetWorkspacesResponse401Error>,
5490}
5491
5492#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5493pub struct GetWorkspacesResponse401Error {
5494    /// The error message.
5495    pub message: Option<String>,
5496
5497    /// The error message.
5498    pub name: Option<String>,
5499}
5500
5501#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5502pub struct GetWorkspacesResponse429 {
5503    /// The error name.
5504    pub error: Option<String>,
5505
5506    /// The error message.
5507    pub message: Option<String>,
5508}
5509
5510#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5511pub struct GetWorkspacesResponse500 {
5512    pub error: Option<GetWorkspacesResponse500Error>,
5513}
5514
5515#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5516pub struct GetWorkspacesResponse500Error {
5517    /// The error message.
5518    pub message: Option<String>,
5519
5520    /// The error name.
5521    pub name: Option<String>,
5522}
5523
5524#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5525pub struct GetWorkspacesWorkspaceIdGlobalVariablesResponse {
5526    /// A list of the workspace's global variables.
5527    pub values: Option<Vec<GlobalVariable>>,
5528}
5529
5530#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5531pub struct GlobalVariable {
5532    /// If true, the variable is enabled.
5533    pub enabled: Option<bool>,
5534
5535    /// The variable's name.
5536    pub key: Option<String>,
5537
5538    /// The [type](https://learning.postman.com/docs/sending-requests/variables/#variable-types)
5539    /// of variable.
5540    #[serde(rename = "type")]
5541    pub global_variable_type: Option<GlobalVariableType>,
5542
5543    /// The variable's value.
5544    pub value: Option<String>,
5545}
5546
5547#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5548#[serde(rename_all = "snake_case")]
5549pub enum GlobalVariableType {
5550    Default,
5551
5552    Secret,
5553}
5554
5555#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5556pub struct GetWorkspacesWorkspaceIdGlobalVariablesResponse500 {
5557    /// Information about the error.
5558    pub detail: Option<String>,
5559
5560    /// The type of error.
5561    pub title: Option<String>,
5562
5563    /// The generic description for the error's class.
5564    #[serde(rename = "type")]
5565    pub get_workspaces_workspace_id_global_variables_response500_type: Option<String>,
5566}
5567
5568#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5569pub struct GetWorkspacesWorkspaceIdResponse {
5570    /// Information about the workspace.
5571    pub workspace: Option<GetWorkspacesWorkspaceIdResponseWorkspace>,
5572}
5573
5574#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5575#[serde(rename_all = "camelCase")]
5576pub struct GetWorkspacesWorkspaceIdResponseWorkspace {
5577    /// The workspace's APIs.
5578    pub apis: Option<Vec<GetWorkspacesWorkspaceIdResponseWorkspaceApisItem>>,
5579
5580    /// The workspace's collections.
5581    pub collections: Option<Vec<GetWorkspacesWorkspaceIdResponseWorkspaceCollectionsItem>>,
5582
5583    /// The date and time at which the workspace was created.
5584    pub created_at: Option<String>,
5585
5586    /// The user ID of the user who created the workspace.
5587    pub created_by: Option<String>,
5588
5589    /// The workspace's description.
5590    pub description: Option<String>,
5591
5592    /// The workspace's environments.
5593    pub environments: Option<Vec<GetWorkspacesWorkspaceIdResponseWorkspaceEnvironmentsItem>>,
5594
5595    /// The workspace's ID.
5596    pub id: Option<String>,
5597
5598    /// The workspace's mock servers.
5599    pub mocks: Option<Vec<GetWorkspacesWorkspaceIdResponseWorkspaceMocksItem>>,
5600
5601    /// The workspace's monitors.
5602    pub monitors: Option<Vec<GetWorkspacesWorkspaceIdResponseWorkspaceMonitorsItem>>,
5603
5604    /// The workspace's name.
5605    pub name: Option<String>,
5606
5607    /// The type of workspace.
5608    #[serde(rename = "type")]
5609    pub get_workspaces_workspace_id_response_workspace_type: Option<VisibilityEnum>,
5610
5611    /// The date and time at which the workspace was last updated.
5612    pub updated_at: Option<String>,
5613
5614    /// The user ID of the user who last updated the workspace.
5615    pub updated_by: Option<String>,
5616
5617    /// The workspace's visibility.
5618    /// [Visibility](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility)
5619    /// determines who can access the workspace:
5620    ///
5621    /// - `personal` — Only you can access the workspace.
5622    /// - `team` — All team members can access the workspace.
5623    /// - `private` — Only invited team members can access the workspace ([Professional and
5624    /// Enterprise plans only](https://www.postman.com/pricing)).
5625    /// - `public` — Everyone can access the workspace.
5626    /// - `partner` — Only invited team members and
5627    /// [partners](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/)
5628    /// can access the workspace ([Enterprise Ultimate plans](https://www.postman.com/pricing)
5629    /// only).
5630    pub visibility: Option<VisibilityEnum>,
5631}
5632
5633#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5634pub struct GetWorkspacesWorkspaceIdResponseWorkspaceApisItem {
5635    /// The API's ID.
5636    pub id: Option<String>,
5637
5638    /// The API's name.
5639    pub name: Option<String>,
5640
5641    /// The API's unique ID.
5642    pub uid: Option<String>,
5643}
5644
5645#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5646pub struct GetWorkspacesWorkspaceIdResponseWorkspaceCollectionsItem {
5647    /// The collection's ID.
5648    pub id: Option<String>,
5649
5650    /// The collection's name.
5651    pub name: Option<String>,
5652
5653    /// The collection's unique ID.
5654    pub uid: Option<String>,
5655}
5656
5657#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5658pub struct GetWorkspacesWorkspaceIdResponseWorkspaceEnvironmentsItem {
5659    /// The environment's ID.
5660    pub id: Option<String>,
5661
5662    /// The environment's name.
5663    pub name: Option<String>,
5664
5665    /// The environment's unique ID.
5666    pub uid: Option<String>,
5667}
5668
5669#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5670pub struct GetWorkspacesWorkspaceIdResponseWorkspaceMocksItem {
5671    /// If true, the mock server is not active. Mock servers deactivate when a linked collection
5672    /// or environment is deleted.
5673    pub deactivated: Option<bool>,
5674
5675    /// The mock server's ID.
5676    pub id: Option<String>,
5677
5678    /// The mock server's name.
5679    pub name: Option<String>,
5680
5681    /// The mock server's unique ID.
5682    pub uid: Option<String>,
5683}
5684
5685#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5686pub struct GetWorkspacesWorkspaceIdResponseWorkspaceMonitorsItem {
5687    /// The monitor's ID.
5688    pub id: Option<String>,
5689
5690    /// The monitor's name.
5691    pub name: Option<String>,
5692
5693    /// The monitor's unique ID.
5694    pub uid: Option<String>,
5695}
5696
5697#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5698pub struct GetWorkspacesWorkspaceIdResponse401 {
5699    pub error: Option<GetWorkspacesWorkspaceIdResponse401Error>,
5700}
5701
5702#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5703pub struct GetWorkspacesWorkspaceIdResponse401Error {
5704    /// The error message.
5705    pub message: Option<String>,
5706
5707    /// The error message.
5708    pub name: Option<String>,
5709}
5710
5711#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5712pub struct GetWorkspacesWorkspaceIdResponse404 {
5713    pub error: Option<GetWorkspacesWorkspaceIdResponse404Error>,
5714}
5715
5716#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5717#[serde(rename_all = "camelCase")]
5718pub struct GetWorkspacesWorkspaceIdResponse404Error {
5719    /// The error message.
5720    pub message: Option<String>,
5721
5722    /// The error name.
5723    pub name: Option<String>,
5724
5725    /// The error's HTTP status code.
5726    pub status_code: Option<f64>,
5727}
5728
5729#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5730pub struct GetWorkspacesWorkspaceIdResponse429 {
5731    /// The error name.
5732    pub error: Option<String>,
5733
5734    /// The error message.
5735    pub message: Option<String>,
5736}
5737
5738#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5739pub struct GetWorkspacesWorkspaceIdResponse500 {
5740    pub error: Option<GetWorkspacesWorkspaceIdResponse500Error>,
5741}
5742
5743#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5744pub struct GetWorkspacesWorkspaceIdResponse500Error {
5745    /// The error message.
5746    pub message: Option<String>,
5747
5748    /// The error name.
5749    pub name: Option<String>,
5750}
5751
5752#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5753pub struct GetWorkspacesWorkspaceIdTagsResponse {
5754    /// A list of associated tags.
5755    pub tags: Option<Vec<GetWorkspacesWorkspaceIdTagsResponseTagsItem>>,
5756}
5757
5758#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5759pub struct GetWorkspacesWorkspaceIdTagsResponseTagsItem {
5760    /// The tag's ID within a team or individual (non-team) user scope.
5761    pub slug: Option<String>,
5762}
5763
5764#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5765pub struct GetWorkspacesWorkspaceIdTagsResponse401 {
5766    /// Information about the error.
5767    pub detail: Option<String>,
5768
5769    /// The error's HTTP status code.
5770    pub status: Option<i64>,
5771
5772    /// A short summary of the problem.
5773    pub title: Option<String>,
5774
5775    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
5776    /// the type of problem.
5777    #[serde(rename = "type")]
5778    pub get_workspaces_workspace_id_tags_response401_type: Option<String>,
5779}
5780
5781#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5782pub struct GetWorkspacesWorkspaceIdTagsResponse403 {
5783    /// Information about the error.
5784    pub detail: Option<String>,
5785
5786    /// The error's HTTP status code.
5787    pub status: Option<i64>,
5788
5789    /// A short summary of the problem.
5790    pub title: Option<String>,
5791
5792    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
5793    /// the type of problem.
5794    #[serde(rename = "type")]
5795    pub get_workspaces_workspace_id_tags_response403_type: Option<String>,
5796}
5797
5798#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5799pub struct GetWorkspacesWorkspaceIdTagsResponse404 {
5800    /// Information about the error.
5801    pub detail: Option<String>,
5802
5803    /// The URI reference that identifies the specific occurrence of the problem.
5804    pub instance: Option<String>,
5805
5806    /// The error's HTTP status code.
5807    pub status: Option<i64>,
5808
5809    /// A short summary of the problem.
5810    pub title: Option<String>,
5811
5812    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
5813    /// the type of problem.
5814    #[serde(rename = "type")]
5815    pub get_workspaces_workspace_id_tags_response404_type: Option<String>,
5816}
5817
5818#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5819pub struct GetWorkspacesWorkspaceIdTagsResponse500 {
5820    /// Information about the error.
5821    pub detail: Option<String>,
5822
5823    /// The URI reference that identifies the specific occurrence of the problem.
5824    pub instance: Option<String>,
5825
5826    /// The error's HTTP status code.
5827    pub status: Option<i64>,
5828
5829    /// A short summary of the problem.
5830    pub title: Option<String>,
5831
5832    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
5833    /// the type of problem.
5834    #[serde(rename = "type")]
5835    pub get_workspaces_workspace_id_tags_response500_type: Option<String>,
5836}
5837
5838#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5839#[serde(rename_all = "camelCase")]
5840pub struct PanElementCreated {
5841    /// The date and time at which the element was added.
5842    pub added_at: Option<String>,
5843
5844    /// The user who added the element.
5845    pub added_by: Option<i64>,
5846
5847    /// The date and time at which the element was created.
5848    pub created_at: Option<String>,
5849
5850    /// The user who created the element.
5851    pub created_by: Option<i64>,
5852
5853    /// The element's description.
5854    pub description: Option<String>,
5855
5856    /// A list of the element's environments.
5857    pub environments: Option<Vec<String>>,
5858
5859    /// The element's Postman URL.
5860    pub href: Option<String>,
5861
5862    /// The element's ID or UID.
5863    pub id: Option<String>,
5864
5865    /// The element's name.
5866    pub name: Option<String>,
5867
5868    /// The parent folder's ID.
5869    pub parent_folder_id: Option<i64>,
5870
5871    /// The element's summary.
5872    pub summary: Option<String>,
5873
5874    /// The element's type.
5875    #[serde(rename = "type")]
5876    pub pan_element_created_type: Option<String>,
5877
5878    /// The date and time at which the element was last updated.
5879    pub updated_at: Option<String>,
5880
5881    /// The user who last updated the element.
5882    pub updated_by: Option<i64>,
5883}
5884
5885#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5886#[serde(rename_all = "camelCase")]
5887pub struct PanFolderCreated {
5888    /// The date and time at which the element was created.
5889    pub created_at: Option<String>,
5890
5891    /// The user who created the folder.
5892    pub created_by: Option<i64>,
5893
5894    /// The folder's description.
5895    pub description: Option<String>,
5896
5897    /// The folder's ID.
5898    pub id: Option<i64>,
5899
5900    /// The folder's name.
5901    pub name: Option<String>,
5902
5903    /// The parent folder ID.
5904    pub parent_folder_id: Option<i64>,
5905
5906    /// The folder's type. This is always the `folder` value.
5907    #[serde(rename = "type")]
5908    pub pan_folder_created_type: Option<String>,
5909
5910    /// The date and time at which the folder was updated.
5911    pub updated_at: Option<String>,
5912
5913    /// The user who updated the folder.
5914    pub updated_by: Option<i64>,
5915}
5916
5917#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5918pub struct PatchCollectionsCollectionIdBody {
5919    pub collection: Option<PatchCollectionsCollectionIdBodyCollection>,
5920}
5921
5922#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5923pub struct PatchCollectionsCollectionIdBodyCollection {
5924    pub auth: Option<serde_json::Value>,
5925
5926    pub events: Option<serde_json::Value>,
5927
5928    /// An object that contains the collection's updated name and description.
5929    pub info: Option<PatchCollectionsCollectionIdBodyCollectionInfo>,
5930
5931    pub variables: Option<serde_json::Value>,
5932}
5933
5934#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5935pub struct PatchCollectionsCollectionIdBodyCollectionInfo {
5936    /// The collection's updated description.
5937    pub description: Option<String>,
5938
5939    /// The collection's updated name.
5940    pub name: Option<String>,
5941}
5942
5943#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5944pub struct PatchCollectionsCollectionIdResponse {
5945    pub collection: Option<PatchCollectionsCollectionIdResponseCollection>,
5946}
5947
5948#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5949pub struct PatchCollectionsCollectionIdResponseCollection {
5950    /// The collection's updated description.
5951    pub description: Option<String>,
5952
5953    /// The collection's ID.
5954    pub id: Option<String>,
5955
5956    /// The collection's updated name.
5957    pub name: Option<String>,
5958}
5959
5960#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5961pub struct PatchCollectionsCollectionIdResponse400 {
5962    pub error: Option<PatchCollectionsCollectionIdResponse400Error>,
5963}
5964
5965#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5966pub struct PatchCollectionsCollectionIdResponse400Error {
5967    /// The error message.
5968    pub message: Option<String>,
5969
5970    /// The error name.
5971    pub name: Option<String>,
5972}
5973
5974#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5975pub struct PatchCollectionsCollectionIdResponse401 {
5976    pub error: Option<PatchCollectionsCollectionIdResponse401Error>,
5977}
5978
5979#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5980pub struct PatchCollectionsCollectionIdResponse401Error {
5981    /// The error message.
5982    pub message: Option<String>,
5983
5984    /// The error message.
5985    pub name: Option<String>,
5986}
5987
5988#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5989pub struct PatchCollectionsCollectionIdResponse403 {
5990    pub error: Option<PatchCollectionsCollectionIdResponse403Error>,
5991}
5992
5993#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5994pub struct PatchCollectionsCollectionIdResponse403Error {
5995    /// The error message.
5996    pub message: Option<String>,
5997
5998    /// The error name.
5999    pub name: Option<String>,
6000}
6001
6002#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6003pub struct PatchCollectionsCollectionIdResponse404 {
6004    pub error: Option<PatchCollectionsCollectionIdResponse404Error>,
6005}
6006
6007#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6008pub struct PatchCollectionsCollectionIdResponse404Error {
6009    /// Information about the error.
6010    pub details: Option<PatchCollectionsCollectionIdResponse404ErrorDetails>,
6011
6012    /// The error message.
6013    pub message: Option<String>,
6014
6015    /// The error name.
6016    pub name: Option<String>,
6017}
6018
6019#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6020pub struct PatchCollectionsCollectionIdResponse404ErrorDetails {
6021    /// The collection ID.
6022    pub id: Option<String>,
6023
6024    /// The instance item.
6025    pub item: Option<String>,
6026}
6027
6028#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6029pub struct PatchCollectionsCollectionIdResponse429 {
6030    /// The error name.
6031    pub error: Option<String>,
6032
6033    /// The error message.
6034    pub message: Option<String>,
6035}
6036
6037#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6038pub struct PatchCollectionsCollectionIdResponse500 {
6039    pub error: Option<PatchCollectionsCollectionIdResponse500Error>,
6040}
6041
6042#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6043pub struct PatchCollectionsCollectionIdResponse500Error {
6044    /// The error message.
6045    pub message: Option<String>,
6046
6047    /// The error name.
6048    pub name: Option<String>,
6049}
6050
6051#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6052pub struct PatchScimV2GroupsGroupIdBody {
6053    /// Information about the group update operation.
6054    #[serde(rename = "Operations")]
6055    pub operations: Option<Vec<PatchScimV2GroupsGroupIdBodyOperationsItem>>,
6056
6057    /// The SCIM schema resource URI.
6058    pub schemas: Option<Vec<String>>,
6059}
6060
6061#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6062pub struct PatchScimV2GroupsGroupIdBodyOperationsItem {
6063    /// The operation to perform.
6064    pub op: Option<PurpleOp>,
6065
6066    /// The operation's path. Include this value when you update a group's members.
6067    pub path: Option<String>,
6068
6069    /// The performed operation's value.
6070    pub value: Option<PatchScimV2GroupsGroupIdBodyOperationsItemValue>,
6071}
6072
6073#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6074#[serde(rename_all = "snake_case")]
6075pub enum PurpleOp {
6076    Add,
6077
6078    Remove,
6079
6080    Replace,
6081}
6082
6083#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6084#[serde(rename_all = "camelCase")]
6085pub struct PatchScimV2GroupsGroupIdBodyOperationsItemValue {
6086    /// The group's name.
6087    pub display_name: Option<String>,
6088
6089    /// The group's ID.
6090    pub id: Option<String>,
6091}
6092
6093#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6094#[serde(rename_all = "camelCase")]
6095pub struct PatchScimV2GroupsGroupIdResponse {
6096    /// The group's name.
6097    pub display_name: Option<String>,
6098
6099    /// The group's external ID.
6100    pub external_id: Option<String>,
6101
6102    /// The group's ID.
6103    pub id: Option<String>,
6104
6105    /// The response's non-standard meta information.
6106    pub meta: Option<PatchScimV2GroupsGroupIdResponseMeta>,
6107
6108    /// The SCIM schema resource URI.
6109    pub schemas: Option<Vec<String>>,
6110}
6111
6112#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6113#[serde(rename_all = "camelCase")]
6114pub struct PatchScimV2GroupsGroupIdResponseMeta {
6115    /// The date and time at which the group was created.
6116    pub created: Option<String>,
6117
6118    /// The date and time at which the group was last modified.
6119    pub last_modified: Option<String>,
6120
6121    /// The resource type.
6122    pub resource_type: Option<String>,
6123}
6124
6125#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6126#[serde(rename_all = "camelCase")]
6127pub struct PatchScimV2GroupsGroupIdResponse400 {
6128    /// Information about the error.
6129    pub detail: Option<String>,
6130
6131    /// A list of SCIM schema resource URIs.
6132    pub schemas: Option<Vec<String>>,
6133
6134    /// The SCIM type.
6135    pub scim_type: Option<String>,
6136
6137    /// The HTTP status code.
6138    pub status: Option<String>,
6139}
6140
6141#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6142pub struct PatchScimV2GroupsGroupIdResponse401 {
6143    /// Information about the error.
6144    pub detail: Option<String>,
6145
6146    /// The SCIM schema resource URIs.
6147    pub schemas: Option<Vec<String>>,
6148
6149    /// The HTTP status code.
6150    pub status: Option<String>,
6151}
6152
6153#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6154pub struct PatchScimV2GroupsGroupIdResponse403 {
6155    /// Information about the error.
6156    pub detail: Option<String>,
6157
6158    /// The SCIM schema resource URIs.
6159    pub schemas: Option<Vec<String>>,
6160
6161    /// The HTTP status code.
6162    pub status: Option<String>,
6163}
6164
6165#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6166pub struct PatchScimV2GroupsGroupIdResponse404 {
6167    /// Information about the error.
6168    pub detail: Option<String>,
6169
6170    /// The SCIM schema resource URIs.
6171    pub schemas: Option<Vec<String>>,
6172
6173    /// The HTTP status code.
6174    pub status: Option<String>,
6175}
6176
6177#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6178pub struct PatchScimV2GroupsGroupIdResponse429 {
6179    /// Information about the error.
6180    pub detail: Option<String>,
6181
6182    /// The SCIM schema resource URIs.
6183    pub schemas: Option<Vec<String>>,
6184
6185    /// The HTTP status code.
6186    pub status: Option<f64>,
6187}
6188
6189#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6190pub struct PatchScimV2GroupsGroupIdResponse500 {
6191    /// Information about the error.
6192    pub detail: Option<String>,
6193
6194    /// The SCIM schema resource URIs.
6195    pub schemas: Option<Vec<String>>,
6196
6197    /// The HTTP status code.
6198    pub status: Option<String>,
6199}
6200
6201#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6202pub struct PatchScimV2UsersUserIdBody {
6203    /// Information about the user update operation.
6204    #[serde(rename = "Operations")]
6205    pub operations: Option<Vec<PatchScimV2UsersUserIdBodyOperationsItem>>,
6206
6207    /// The SCIM schema resource URI.
6208    pub schemas: Option<Vec<String>>,
6209}
6210
6211#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6212pub struct PatchScimV2UsersUserIdBodyOperationsItem {
6213    /// The operation to perform.
6214    pub op: Option<FluffyOp>,
6215
6216    /// The performed operation's value.
6217    pub value: Option<PatchScimV2UsersUserIdBodyOperationsItemValue>,
6218}
6219
6220#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6221#[serde(rename_all = "snake_case")]
6222pub enum FluffyOp {
6223    Replace,
6224}
6225
6226#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6227pub struct PatchScimV2UsersUserIdBodyOperationsItemValue {
6228    /// Sets the user's `active` state:
6229    /// - `true` — Activates the user. This lets them authenticate in to your Postman team.
6230    /// - `false` — Removes the user from your Postman team and deactivates the account. This
6231    /// blocks the user from authenticating in to Postman.
6232    pub active: Option<bool>,
6233}
6234
6235#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6236#[serde(rename_all = "camelCase")]
6237pub struct PatchScimV2UsersUserIdResponse {
6238    /// If true, the team member is active.
6239    pub active: Option<bool>,
6240
6241    /// The team member's external ID.
6242    pub external_id: Option<String>,
6243
6244    /// The team member's SCIM ID.
6245    pub id: Option<String>,
6246
6247    /// The response's non-standard meta information.
6248    pub meta: Option<PatchScimV2UsersUserIdResponseMeta>,
6249
6250    /// Information about the Postman team member.
6251    pub name: Option<PatchScimV2UsersUserIdResponseName>,
6252
6253    /// A list of schema resource URIs.
6254    pub schemas: Option<Vec<String>>,
6255
6256    /// The team member's SCIM username.
6257    pub user_name: Option<String>,
6258}
6259
6260#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6261#[serde(rename_all = "camelCase")]
6262pub struct PatchScimV2UsersUserIdResponseMeta {
6263    /// The date and time at which the team member was created.
6264    pub created: Option<String>,
6265
6266    /// The date and time at which the team member was last modified.
6267    pub last_modified: Option<String>,
6268
6269    /// The resource type.
6270    pub resource_type: Option<String>,
6271}
6272
6273#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6274#[serde(rename_all = "camelCase")]
6275pub struct PatchScimV2UsersUserIdResponseName {
6276    /// The team member's last name.
6277    pub family_name: Option<String>,
6278
6279    /// The team member's first name.
6280    pub given_name: Option<String>,
6281}
6282
6283#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6284pub struct PatchScimV2UsersUserIdResponse400 {
6285    pub detail: Option<String>,
6286
6287    pub schemas: Option<Vec<String>>,
6288
6289    pub status: Option<String>,
6290}
6291
6292#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6293pub struct PatchScimV2UsersUserIdResponse401 {
6294    /// Information about the error.
6295    pub detail: Option<String>,
6296
6297    /// The SCIM schema resource URIs.
6298    pub schemas: Option<Vec<String>>,
6299
6300    /// The HTTP status code.
6301    pub status: Option<String>,
6302}
6303
6304#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6305pub struct PatchScimV2UsersUserIdResponse403 {
6306    /// Information about the error.
6307    pub detail: Option<String>,
6308
6309    /// The SCIM schema resource URIs.
6310    pub schemas: Option<Vec<String>>,
6311
6312    /// The HTTP status code.
6313    pub status: Option<String>,
6314}
6315
6316#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6317pub struct PatchScimV2UsersUserIdResponse404 {
6318    /// Information about the error.
6319    pub detail: Option<String>,
6320
6321    /// The SCIM schema resource URIs.
6322    pub schemas: Option<Vec<String>>,
6323
6324    /// The HTTP status code.
6325    pub status: Option<String>,
6326}
6327
6328#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6329pub struct PatchScimV2UsersUserIdResponse429 {
6330    /// Information about the error.
6331    pub detail: Option<String>,
6332
6333    /// The SCIM schema resource URIs.
6334    pub schemas: Option<Vec<String>>,
6335
6336    /// The HTTP status code.
6337    pub status: Option<f64>,
6338}
6339
6340#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6341pub struct PatchScimV2UsersUserIdResponse500 {
6342    /// Information about the error.
6343    pub detail: Option<String>,
6344
6345    /// The SCIM schema resource URIs.
6346    pub schemas: Option<Vec<String>>,
6347
6348    /// The HTTP status code.
6349    pub status: Option<String>,
6350}
6351
6352#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6353pub struct PostApisApiIdCollectionsResponse {
6354    /// The collection's ID.
6355    pub id: Option<String>,
6356}
6357
6358#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6359pub struct PostApisApiIdCollectionsResponse401 {
6360    /// Details about the error.
6361    pub detail: Option<String>,
6362
6363    /// The error instance.
6364    pub instance: Option<String>,
6365
6366    /// The HTTP status code.
6367    pub status: Option<f64>,
6368
6369    /// The generic description for the error's class.
6370    pub title: Option<String>,
6371
6372    /// The error type.
6373    #[serde(rename = "type")]
6374    pub post_apis_api_id_collections_response401_type: Option<String>,
6375}
6376
6377#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6378pub struct PostApisApiIdCollectionsResponse403 {
6379    /// Details about the error message.
6380    pub detail: Option<String>,
6381
6382    /// The generic description for the error's class.
6383    pub title: Option<String>,
6384
6385    /// The type of error.
6386    #[serde(rename = "type")]
6387    pub post_apis_api_id_collections_response403_type: Option<String>,
6388}
6389
6390#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6391pub struct PostApisApiIdCollectionsResponse404 {
6392    /// Details about the error message.
6393    pub detail: Option<String>,
6394
6395    /// The generic description for the error's class.
6396    pub title: Option<String>,
6397
6398    /// The type of error.
6399    #[serde(rename = "type")]
6400    pub post_apis_api_id_collections_response404_type: Option<String>,
6401}
6402
6403#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6404pub struct PostApisApiIdCollectionsResponse500 {
6405    /// Details about the error message.
6406    pub detail: Option<String>,
6407
6408    /// The generic description for the error's class.
6409    pub title: Option<String>,
6410
6411    /// The type of error.
6412    #[serde(rename = "type")]
6413    pub post_apis_api_id_collections_response500_type: Option<String>,
6414}
6415
6416#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6417pub struct PostApisApiIdSchemasBody {
6418    /// The list of files that are part of the schema.
6419    pub files: Vec<PostApisApiIdSchemasBodyFilesItem>,
6420
6421    /// The schema's type.
6422    #[serde(rename = "type")]
6423    pub post_apis_api_id_schemas_body_type: PostApisApiIdSchemasBodyType,
6424}
6425
6426#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6427pub struct PostApisApiIdSchemasBodyFilesItem {
6428    /// The schema file's stringified contents.
6429    pub content: Option<String>,
6430
6431    /// The schema's file path.
6432    pub path: Option<String>,
6433
6434    /// Information about the schema's root file.
6435    pub root: Option<PostApisApiIdSchemasBodyFilesItemRoot>,
6436}
6437
6438#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6439pub struct PostApisApiIdSchemasBodyFilesItemRoot {
6440    /// If true, tag the file as the root file. The root tag is only allowed for protobuf
6441    /// specifications.
6442    pub enabled: Option<bool>,
6443}
6444
6445#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6446#[serde(rename_all = "snake_case")]
6447pub enum PostApisApiIdSchemasBodyType {
6448    #[serde(rename = "asyncapi:2")]
6449    Asyncapi2,
6450
6451    Graphql,
6452
6453    #[serde(rename = "openapi:1")]
6454    Openapi1,
6455
6456    #[serde(rename = "openapi:2")]
6457    Openapi2,
6458
6459    #[serde(rename = "openapi:3")]
6460    Openapi3,
6461
6462    #[serde(rename = "openapi:3_1")]
6463    Openapi3_1,
6464
6465    #[serde(rename = "proto:2")]
6466    Proto2,
6467
6468    #[serde(rename = "proto:3")]
6469    Proto3,
6470
6471    #[serde(rename = "raml:0_8")]
6472    Raml0_8,
6473
6474    #[serde(rename = "raml:1")]
6475    Raml1,
6476
6477    #[serde(rename = "wsdl:1")]
6478    Wsdl1,
6479
6480    #[serde(rename = "wsdl:2")]
6481    Wsdl2,
6482}
6483
6484#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6485#[serde(rename_all = "camelCase")]
6486pub struct PostApisApiIdSchemasResponse {
6487    /// The date and time at which the schema was created.
6488    pub created_at: Option<String>,
6489
6490    /// The user ID of the user that created the schema.
6491    pub created_by: Option<String>,
6492
6493    /// The list of the schema's files.
6494    pub files: Option<Vec<PostApisApiIdSchemasResponseFilesItem>>,
6495
6496    /// The schema's ID.
6497    pub id: Option<String>,
6498
6499    /// The schema's type.
6500    #[serde(rename = "type")]
6501    pub post_apis_api_id_schemas_response_type: Option<PostApisApiIdSchemasBodyType>,
6502
6503    /// The date and time at which the schema was last updated.
6504    pub updated_at: Option<String>,
6505
6506    /// The user ID of the user that updated the schema.
6507    pub updated_by: Option<String>,
6508}
6509
6510#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6511#[serde(rename_all = "camelCase")]
6512pub struct PostApisApiIdSchemasResponseFilesItem {
6513    /// The date and time at which the file was created.
6514    pub created_at: Option<String>,
6515
6516    /// The user Id of the user that created the file.
6517    pub created_by: Option<String>,
6518
6519    /// The schema file's ID.
6520    pub id: Option<String>,
6521
6522    /// The schema file's name.
6523    pub name: Option<String>,
6524
6525    /// The file system path to the schema file.
6526    pub path: Option<String>,
6527
6528    /// The date and time at which the file was last updated.
6529    pub updated_at: Option<String>,
6530
6531    /// The user ID of the user that last updated the file.
6532    pub updated_by: Option<String>,
6533}
6534
6535#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6536pub struct PostApisApiIdSchemasResponse400 {
6537    /// Details about the error message.
6538    pub detail: Option<String>,
6539
6540    /// The generic description for the error's class.
6541    pub title: Option<String>,
6542
6543    /// The type of error.
6544    #[serde(rename = "type")]
6545    pub post_apis_api_id_schemas_response400_type: Option<String>,
6546}
6547
6548#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6549pub struct PostApisApiIdSchemasResponse401 {
6550    /// Details about the error.
6551    pub detail: Option<String>,
6552
6553    /// The error instance.
6554    pub instance: Option<String>,
6555
6556    /// The HTTP status code.
6557    pub status: Option<f64>,
6558
6559    /// The generic description for the error's class.
6560    pub title: Option<String>,
6561
6562    /// The error type.
6563    #[serde(rename = "type")]
6564    pub post_apis_api_id_schemas_response401_type: Option<String>,
6565}
6566
6567#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6568pub struct PostApisApiIdSchemasResponse403 {
6569    /// Details about the error.
6570    pub detail: Option<String>,
6571
6572    /// The error instance.
6573    pub instance: Option<String>,
6574
6575    /// The HTTP status code.
6576    pub status: Option<f64>,
6577
6578    /// The generic description for the error's class.
6579    pub title: Option<String>,
6580
6581    /// The error type.
6582    #[serde(rename = "type")]
6583    pub post_apis_api_id_schemas_response403_type: Option<String>,
6584}
6585
6586#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6587pub struct PostApisApiIdSchemasResponse404 {
6588    /// Details about the error message.
6589    pub detail: Option<String>,
6590
6591    /// The generic description for the error's class.
6592    pub title: Option<String>,
6593
6594    /// The type of error.
6595    #[serde(rename = "type")]
6596    pub post_apis_api_id_schemas_response404_type: Option<String>,
6597}
6598
6599#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6600pub struct PostApisApiIdSchemasResponse422 {
6601    /// Details about the error.
6602    pub detail: Option<String>,
6603
6604    /// The generic description for the error's class.
6605    pub title: Option<String>,
6606
6607    /// The error type.
6608    #[serde(rename = "type")]
6609    pub post_apis_api_id_schemas_response422_type: Option<String>,
6610}
6611
6612#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6613pub struct PostApisApiIdSchemasResponse500 {
6614    /// Details about the error message.
6615    pub detail: Option<String>,
6616
6617    /// The generic description for the error's class.
6618    pub title: Option<String>,
6619
6620    /// The type of error.
6621    #[serde(rename = "type")]
6622    pub post_apis_api_id_schemas_response500_type: Option<String>,
6623}
6624
6625#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6626#[serde(rename_all = "camelCase")]
6627pub struct PostApisApiIdVersionsResponse {
6628    /// The date and time at which the version was created.
6629    pub created_at: Option<String>,
6630
6631    /// The version's ID.
6632    pub id: Option<String>,
6633
6634    /// The version's name.
6635    pub name: Option<String>,
6636
6637    /// Information about the API version release. For example, changelog notes.
6638    pub release_notes: Option<String>,
6639
6640    /// The date and time at which the version was last updated.
6641    pub updated_at: Option<String>,
6642}
6643
6644#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6645pub struct PostApisApiIdVersionsResponse401 {
6646    /// Details about the error.
6647    pub detail: Option<String>,
6648
6649    /// The error instance.
6650    pub instance: Option<String>,
6651
6652    /// The HTTP status code.
6653    pub status: Option<f64>,
6654
6655    /// The generic description for the error's class.
6656    pub title: Option<String>,
6657
6658    /// The error type.
6659    #[serde(rename = "type")]
6660    pub post_apis_api_id_versions_response401_type: Option<String>,
6661}
6662
6663#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6664pub struct PostApisApiIdVersionsResponse403 {
6665    /// Details about the error message.
6666    pub detail: Option<String>,
6667
6668    /// The generic description for the error's class.
6669    pub title: Option<String>,
6670
6671    /// The type of error.
6672    #[serde(rename = "type")]
6673    pub post_apis_api_id_versions_response403_type: Option<String>,
6674}
6675
6676#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6677pub struct PostApisApiIdVersionsResponse404 {
6678    /// Details about the error message.
6679    pub detail: Option<String>,
6680
6681    /// The generic description for the error's class.
6682    pub title: Option<String>,
6683
6684    /// The type of error.
6685    #[serde(rename = "type")]
6686    pub post_apis_api_id_versions_response404_type: Option<String>,
6687}
6688
6689#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6690pub struct PostApisApiIdVersionsResponse422 {
6691    /// Details about the error.
6692    pub detail: Option<String>,
6693
6694    /// The generic description for the error's class.
6695    pub title: Option<String>,
6696
6697    /// The error type.
6698    #[serde(rename = "type")]
6699    pub post_apis_api_id_versions_response422_type: Option<String>,
6700}
6701
6702#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6703pub struct PostApisApiIdVersionsResponse500 {
6704    /// Details about the error message.
6705    pub detail: Option<String>,
6706
6707    /// The generic description for the error's class.
6708    pub title: Option<String>,
6709
6710    /// The type of error.
6711    #[serde(rename = "type")]
6712    pub post_apis_api_id_versions_response500_type: Option<String>,
6713}
6714
6715#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6716pub struct PostApisBody {
6717    /// The API's description. This supports Markdown formatting.
6718    pub description: Option<String>,
6719
6720    /// The API's name.
6721    pub name: String,
6722
6723    /// The API's short summary.
6724    pub summary: Option<String>,
6725}
6726
6727#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6728#[serde(rename_all = "camelCase")]
6729pub struct PostApisResponse {
6730    /// The date and time at which the API was created.
6731    pub created_at: Option<String>,
6732
6733    /// The Postman ID of the user that created the API.
6734    pub created_by: Option<f64>,
6735
6736    /// The API's description.
6737    pub description: Option<String>,
6738
6739    /// The API's ID.
6740    pub id: Option<String>,
6741
6742    /// The API's name.
6743    pub name: Option<String>,
6744
6745    /// The API's short summary.
6746    pub summary: Option<String>,
6747
6748    /// The date and time at which the API was updated.
6749    pub updated_at: Option<String>,
6750
6751    /// The Postman ID of the user that updated the API.
6752    pub updated_by: Option<f64>,
6753}
6754
6755#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6756pub struct PostApisResponse400 {
6757    /// Details about the error message.
6758    pub detail: Option<String>,
6759
6760    /// The generic description for the error's class.
6761    pub title: Option<String>,
6762
6763    /// The type of error.
6764    #[serde(rename = "type")]
6765    pub post_apis_response400_type: Option<String>,
6766}
6767
6768#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6769pub struct PostApisResponse401 {
6770    /// Details about the error.
6771    pub detail: Option<String>,
6772
6773    /// The error instance.
6774    pub instance: Option<String>,
6775
6776    /// The HTTP status code.
6777    pub status: Option<f64>,
6778
6779    /// The generic description for the error's class.
6780    pub title: Option<String>,
6781
6782    /// The error type.
6783    #[serde(rename = "type")]
6784    pub post_apis_response401_type: Option<String>,
6785}
6786
6787#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6788pub struct PostApisResponse403 {
6789    /// Details about the error message.
6790    pub detail: Option<String>,
6791
6792    /// The generic description for the error's class.
6793    pub title: Option<String>,
6794
6795    /// The type of error.
6796    #[serde(rename = "type")]
6797    pub post_apis_response403_type: Option<String>,
6798}
6799
6800#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6801pub struct PostApisResponse404 {
6802    /// Details about the error message.
6803    pub detail: Option<String>,
6804
6805    /// The generic description for the error's class.
6806    pub title: Option<String>,
6807
6808    /// The type of error.
6809    #[serde(rename = "type")]
6810    pub post_apis_response404_type: Option<String>,
6811}
6812
6813#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6814pub struct PostApisResponse500 {
6815    /// Details about the error message.
6816    pub detail: Option<String>,
6817
6818    /// The generic description for the error's class.
6819    pub title: Option<String>,
6820
6821    /// The type of error.
6822    #[serde(rename = "type")]
6823    pub post_apis_response500_type: Option<String>,
6824}
6825
6826#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6827pub struct PostCollectionsBody {
6828    /// For a complete list of values, refer to the [collection.json schema
6829    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
6830    pub collection: Option<PostCollectionsBodyCollection>,
6831}
6832
6833#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6834pub struct PostCollectionsBodyCollection {
6835    /// An object that contains basic information about the collection. For a complete list of
6836    /// values, refer to the `definitions.info` entry in the [collection.json schema
6837    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
6838    pub info: PostCollectionsBodyCollectionInfo,
6839
6840    /// Information about the collection's HTTP requests and responses. For a complete list of
6841    /// values, refer to the `definitions.item` entry in the [collection.json schema
6842    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
6843    pub item: Option<Vec<PostCollectionsBodyCollectionItemItem>>,
6844}
6845
6846#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6847pub struct PostCollectionsBodyCollectionInfo {
6848    /// The collection's name.
6849    pub name: String,
6850
6851    /// A URL to the collection's schema.
6852    pub schema: String,
6853}
6854
6855#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6856pub struct PostCollectionsBodyCollectionItemItem {
6857    pub request: Option<serde_json::Value>,
6858}
6859
6860#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6861pub struct PostCollectionsCollectionIdFoldersBody {
6862    /// The ID of a folder in which to create the folder.
6863    pub folder: Option<String>,
6864
6865    /// The folder's name. It is recommended that you pass the `name` property in the request
6866    /// body. If you do not, the system uses a null value. As a result, this creates a folder
6867    /// with a blank name.
6868    pub name: Option<String>,
6869}
6870
6871#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6872pub struct PostCollectionsCollectionIdFoldersResponse {
6873    /// Information about the collection folder. For a complete list of properties, refer to the
6874    /// [collection.json schema
6875    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
6876    pub data: Option<PostCollectionsCollectionIdFoldersResponseData>,
6877
6878    pub meta: Option<serde_json::Value>,
6879
6880    /// The folder's ID.
6881    pub model_id: Option<String>,
6882
6883    /// An internal revision ID. Its value increments each time the resource changes. You can use
6884    /// this ID to track whether there were changes since the last time you fetched the resource.
6885    pub revision: Option<f64>,
6886}
6887
6888#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6889#[serde(rename_all = "camelCase")]
6890pub struct PostCollectionsCollectionIdFoldersResponseData {
6891    /// The collection ID that the folder belongs to.
6892    pub collection: Option<String>,
6893
6894    /// The folder's creation date and time.
6895    pub created_at: Option<String>,
6896
6897    /// The folder's description.
6898    pub description: Option<String>,
6899
6900    /// Information about the folder.
6901    pub folder: Option<String>,
6902
6903    /// A list of folders.
6904    pub folders: Option<Vec<String>>,
6905
6906    /// A list of folder IDs and their order in the collection.
6907    #[serde(rename = "folders_order")]
6908    pub folders_order: Option<Vec<String>>,
6909
6910    /// The folder's ID.
6911    pub id: Option<String>,
6912
6913    /// The user ID of the user that last updated the folder.
6914    pub last_updated_by: Option<String>,
6915
6916    /// The folder's name.
6917    pub name: Option<String>,
6918
6919    /// A list of request IDs and their order in the created folder.
6920    pub order: Option<Vec<String>>,
6921
6922    /// The user ID of the folder's owner.
6923    pub owner: Option<String>,
6924
6925    /// A list of requests.
6926    pub requests: Option<Vec<String>>,
6927
6928    /// The date and time at which the folder was last updated.
6929    pub updated_at: Option<String>,
6930}
6931
6932#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6933pub struct PostCollectionsCollectionIdFoldersResponse400 {
6934    pub error: Option<PostCollectionsCollectionIdFoldersResponse400Error>,
6935}
6936
6937#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6938pub struct PostCollectionsCollectionIdFoldersResponse400Error {
6939    /// Information about the error.
6940    pub details: Option<PostCollectionsCollectionIdFoldersResponse400ErrorDetails>,
6941
6942    /// The error message.
6943    pub message: Option<String>,
6944
6945    /// The error name.
6946    pub name: Option<String>,
6947}
6948
6949#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6950pub struct PostCollectionsCollectionIdFoldersResponse400ErrorDetails {
6951    /// The resource name.
6952    pub model: Option<String>,
6953
6954    /// The folder's ID.
6955    pub model_id: Option<String>,
6956
6957    /// The user ID of the folder's owner.
6958    pub owner: Option<String>,
6959}
6960
6961#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6962pub struct PostCollectionsCollectionIdFoldersResponse401 {
6963    pub error: Option<PostCollectionsCollectionIdFoldersResponse401Error>,
6964}
6965
6966#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6967pub struct PostCollectionsCollectionIdFoldersResponse401Error {
6968    /// Information about the error.
6969    pub details: Option<PostCollectionsCollectionIdFoldersResponse401ErrorDetails>,
6970
6971    /// The error's message.
6972    pub message: Option<String>,
6973
6974    /// The error name.
6975    pub name: Option<String>,
6976}
6977
6978#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6979pub struct PostCollectionsCollectionIdFoldersResponse401ErrorDetails {
6980    /// The resource name.
6981    pub model: Option<String>,
6982
6983    /// The folder's ID.
6984    pub model_id: Option<String>,
6985
6986    /// The user ID of the folder's owner.
6987    pub owner: Option<String>,
6988}
6989
6990#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6991pub struct PostCollectionsCollectionIdFoldersResponse500 {
6992    /// Details about the error message.
6993    pub detail: Option<String>,
6994
6995    /// The generic description for the error's class.
6996    pub title: Option<String>,
6997
6998    /// The type of error.
6999    #[serde(rename = "type")]
7000    pub post_collections_collection_id_folders_response500_type: Option<String>,
7001}
7002
7003#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7004pub struct PostCollectionsCollectionIdRequestsBody {
7005    /// The request's name. It is recommended that you pass the `name` property in the request
7006    /// body. If you do not, the system uses a null value. As a result, this creates a request
7007    /// with a blank name.
7008    pub name: Option<String>,
7009}
7010
7011#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7012pub struct PostCollectionsCollectionIdRequestsResponse {
7013    /// Information about the created request. For a complete list of properties, refer to the
7014    /// `definitions.request` property in the [collection.json schema
7015    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
7016    pub data: Option<PostCollectionsCollectionIdRequestsResponseData>,
7017
7018    pub meta: Option<serde_json::Value>,
7019
7020    /// The request's ID.
7021    pub model_id: Option<String>,
7022
7023    /// An internal revision ID. Its value increments each time the resource changes. You can use
7024    /// this ID to track whether there were changes since the last time you fetched the resource.
7025    pub revision: Option<f64>,
7026}
7027
7028#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7029#[serde(rename_all = "camelCase")]
7030pub struct PostCollectionsCollectionIdRequestsResponseData {
7031    /// The collection ID that the request belongs to.
7032    pub collection: Option<String>,
7033
7034    /// The requeset's creation date and time.
7035    pub created_at: Option<String>,
7036
7037    /// Information about the request's parent folder.
7038    pub folder: Option<String>,
7039
7040    /// The request's ID.
7041    pub id: Option<String>,
7042
7043    /// The user ID of the user that last updated the folder.
7044    pub last_updated_by: Option<String>,
7045
7046    /// The request's name.
7047    pub name: Option<String>,
7048
7049    /// The user ID of the request's owner.
7050    pub owner: Option<String>,
7051
7052    /// A list of the request's responses.
7053    pub responses: Option<Vec<String>>,
7054
7055    /// A list of response IDs and their order in the folder.
7056    #[serde(rename = "responses_order")]
7057    pub responses_order: Option<Vec<String>>,
7058
7059    /// The date and time at which the request was last updated.
7060    pub updated_at: Option<String>,
7061}
7062
7063#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7064pub struct PostCollectionsCollectionIdRequestsResponse400 {
7065    pub error: Option<PostCollectionsCollectionIdRequestsResponse400Error>,
7066}
7067
7068#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7069pub struct PostCollectionsCollectionIdRequestsResponse400Error {
7070    /// Information about the error.
7071    pub details: Option<PostCollectionsCollectionIdRequestsResponse400ErrorDetails>,
7072
7073    /// The error message.
7074    pub message: Option<String>,
7075
7076    /// The error name.
7077    pub name: Option<String>,
7078}
7079
7080#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7081pub struct PostCollectionsCollectionIdRequestsResponse400ErrorDetails {
7082    /// The resource name.
7083    pub model: Option<String>,
7084
7085    /// The request's ID.
7086    pub model_id: Option<String>,
7087
7088    /// The user ID of the request's owner.
7089    pub owner: Option<String>,
7090}
7091
7092#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7093pub struct PostCollectionsCollectionIdRequestsResponse401 {
7094    pub error: Option<PostCollectionsCollectionIdRequestsResponse401Error>,
7095}
7096
7097#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7098pub struct PostCollectionsCollectionIdRequestsResponse401Error {
7099    /// Information about the error.
7100    pub details: Option<PostCollectionsCollectionIdRequestsResponse401ErrorDetails>,
7101
7102    /// The error's message.
7103    pub message: Option<String>,
7104
7105    /// The error's name.
7106    pub name: Option<String>,
7107}
7108
7109#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7110pub struct PostCollectionsCollectionIdRequestsResponse401ErrorDetails {
7111    /// The resource name.
7112    pub model: Option<String>,
7113
7114    /// The request's ID.
7115    pub model_id: Option<String>,
7116
7117    /// The user ID of the request's owner.
7118    pub owner: Option<String>,
7119}
7120
7121#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7122pub struct PostCollectionsCollectionIdRequestsResponse500 {
7123    /// Details about the error message.
7124    pub detail: Option<String>,
7125
7126    /// The generic description for the error's class.
7127    pub title: Option<String>,
7128
7129    /// The type of error.
7130    #[serde(rename = "type")]
7131    pub post_collections_collection_id_requests_response500_type: Option<String>,
7132}
7133
7134#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7135pub struct PostCollectionsCollectionIdResponsesBody {
7136    /// The response's name. It is recommended that you pass the `name` property in the request
7137    /// body. If you do not, the system uses a null value. As a result, this creates a response
7138    /// with a blank name.
7139    pub name: Option<String>,
7140}
7141
7142#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7143pub struct PostCollectionsCollectionIdResponsesResponse {
7144    /// Information about the response. For a complete list of properties, refer to the
7145    /// `definitions.request.responses` property in the [collection.json schema
7146    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
7147    pub data: Option<PostCollectionsCollectionIdResponsesResponseData>,
7148
7149    pub meta: Option<serde_json::Value>,
7150
7151    /// The response's ID.
7152    pub model_id: Option<String>,
7153
7154    /// An internal revision ID. Its value increments each time the resource changes. You can use
7155    /// this ID to track whether there were changes since the last time you fetched the resource.
7156    pub revision: Option<f64>,
7157}
7158
7159#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7160#[serde(rename_all = "camelCase")]
7161pub struct PostCollectionsCollectionIdResponsesResponseData {
7162    /// The date and time at which the response was created.
7163    pub created_at: Option<String>,
7164
7165    /// The response's ID.
7166    pub id: Option<String>,
7167
7168    /// The user ID of the user who last updated the response.
7169    pub last_updated_by: Option<String>,
7170
7171    /// The user ID of the response's owner.
7172    pub owner: Option<String>,
7173
7174    /// The request ID of the response's associated request.
7175    pub request: Option<String>,
7176
7177    /// The date and time at which the response was last updated.
7178    pub updated_at: Option<String>,
7179}
7180
7181#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7182pub struct PostCollectionsCollectionIdResponsesResponse400 {
7183    pub error: Option<PostCollectionsCollectionIdResponsesResponse400Error>,
7184}
7185
7186#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7187pub struct PostCollectionsCollectionIdResponsesResponse400Error {
7188    /// Information about the error.
7189    pub details: Option<PostCollectionsCollectionIdResponsesResponse400ErrorDetails>,
7190
7191    /// The error message.
7192    pub message: Option<String>,
7193
7194    /// The error name.
7195    pub name: Option<String>,
7196}
7197
7198#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7199pub struct PostCollectionsCollectionIdResponsesResponse400ErrorDetails {
7200    /// The resource name.
7201    pub model: Option<String>,
7202
7203    /// The response's ID.
7204    pub model_id: Option<String>,
7205
7206    /// The user ID of the response's owner.
7207    pub owner: Option<String>,
7208}
7209
7210#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7211pub struct PostCollectionsCollectionIdResponsesResponse401 {
7212    pub error: Option<PostCollectionsCollectionIdResponsesResponse401Error>,
7213}
7214
7215#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7216pub struct PostCollectionsCollectionIdResponsesResponse401Error {
7217    /// Information about the error.
7218    pub details: Option<PostCollectionsCollectionIdResponsesResponse401ErrorDetails>,
7219
7220    /// The error message.
7221    pub message: Option<String>,
7222
7223    /// The error name.
7224    pub name: Option<String>,
7225}
7226
7227#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7228pub struct PostCollectionsCollectionIdResponsesResponse401ErrorDetails {
7229    /// The resource name.
7230    pub model: Option<String>,
7231
7232    /// The response's ID.
7233    pub model_id: Option<String>,
7234
7235    /// The user ID of the response's owner.
7236    pub owner: Option<String>,
7237}
7238
7239#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7240pub struct PostCollectionsCollectionIdResponsesResponse500 {
7241    /// Details about the error message.
7242    pub detail: Option<String>,
7243
7244    /// The generic description for the error's class.
7245    pub title: Option<String>,
7246
7247    /// The type of error.
7248    #[serde(rename = "type")]
7249    pub post_collections_collection_id_responses_response500_type: Option<String>,
7250}
7251
7252#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7253pub struct PostCollectionsForkCollectionIdBody {
7254    /// The fork's label.
7255    pub label: String,
7256}
7257
7258#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7259pub struct PostCollectionsForkCollectionIdResponse {
7260    /// Information about the forked collection.
7261    pub collection: Option<PostCollectionsForkCollectionIdResponseCollection>,
7262}
7263
7264#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7265pub struct PostCollectionsForkCollectionIdResponseCollection {
7266    /// Information about the collection's fork.
7267    pub fork: Option<PostCollectionsForkCollectionIdResponseCollectionFork>,
7268
7269    /// The forked collection's ID.
7270    pub id: Option<String>,
7271
7272    /// The collection's name.
7273    pub name: Option<String>,
7274
7275    /// The forked collection's unique ID.
7276    pub uid: Option<String>,
7277}
7278
7279#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7280#[serde(rename_all = "camelCase")]
7281pub struct PostCollectionsForkCollectionIdResponseCollectionFork {
7282    /// The fork's creation date and time.
7283    pub created_at: Option<String>,
7284
7285    /// The unique ID of fork's source collection.
7286    pub from: Option<String>,
7287
7288    /// The fork's label.
7289    pub label: Option<String>,
7290}
7291
7292#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7293pub struct PostCollectionsForkCollectionIdResponse401 {
7294    pub error: Option<PostCollectionsForkCollectionIdResponse401Error>,
7295}
7296
7297#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7298pub struct PostCollectionsForkCollectionIdResponse401Error {
7299    /// The error message.
7300    pub message: Option<String>,
7301
7302    /// The error message.
7303    pub name: Option<String>,
7304}
7305
7306#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7307pub struct PostCollectionsForkCollectionIdResponse404 {
7308    pub error: Option<PostCollectionsForkCollectionIdResponse404Error>,
7309}
7310
7311#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7312pub struct PostCollectionsForkCollectionIdResponse404Error {
7313    /// Information about the error.
7314    pub details: Option<PostCollectionsForkCollectionIdResponse404ErrorDetails>,
7315
7316    /// The error message.
7317    pub message: Option<String>,
7318
7319    /// The error name.
7320    pub name: Option<String>,
7321}
7322
7323#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7324pub struct PostCollectionsForkCollectionIdResponse404ErrorDetails {
7325    /// The collection ID.
7326    pub id: Option<String>,
7327
7328    /// The instance item.
7329    pub item: Option<String>,
7330}
7331
7332#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7333pub struct PostCollectionsForkCollectionIdResponse429 {
7334    /// The error name.
7335    pub error: Option<String>,
7336
7337    /// The error message.
7338    pub message: Option<String>,
7339}
7340
7341#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7342pub struct PostCollectionsForkCollectionIdResponse500 {
7343    pub error: Option<PostCollectionsForkCollectionIdResponse500Error>,
7344}
7345
7346#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7347pub struct PostCollectionsForkCollectionIdResponse500Error {
7348    /// The error message.
7349    pub message: Option<String>,
7350
7351    /// The error name.
7352    pub name: Option<String>,
7353}
7354
7355#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7356pub struct PostCollectionsMergeBody {
7357    /// The destination collection's unique ID.
7358    pub destination: String,
7359
7360    /// The forked collection's unique ID.
7361    pub source: String,
7362
7363    /// The fork's merge strategy:
7364    ///
7365    /// - `deleteSource` — The system deletes the forked collection after a successful merge into
7366    /// the destination collection.
7367    /// - `updateSourceWithDestination` — The system only merges the forked collection into the
7368    /// destination collection.
7369    pub strategy: Option<Strategy>,
7370}
7371
7372#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7373#[serde(rename_all = "camelCase")]
7374pub enum Strategy {
7375    #[serde(rename = "deleteSource")]
7376    DeleteSource,
7377
7378    #[serde(rename = "updateSourceWithDestination")]
7379    UpdateSourceWithDestination,
7380}
7381
7382#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7383pub struct PostCollectionsMergeResponse {
7384    pub collection: Option<PostCollectionsMergeResponseCollection>,
7385}
7386
7387#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7388pub struct PostCollectionsMergeResponseCollection {
7389    /// The source collection's ID.
7390    pub id: Option<String>,
7391
7392    /// The source collection's unique ID.
7393    pub uid: Option<String>,
7394}
7395
7396#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7397pub struct PostCollectionsMergeResponse401 {
7398    pub error: Option<PostCollectionsMergeResponse401Error>,
7399}
7400
7401#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7402pub struct PostCollectionsMergeResponse401Error {
7403    /// The error message.
7404    pub message: Option<String>,
7405
7406    /// The error message.
7407    pub name: Option<String>,
7408}
7409
7410#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7411pub struct PostCollectionsMergeResponse404 {
7412    pub error: Option<PostCollectionsMergeResponse404Error>,
7413}
7414
7415#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7416pub struct PostCollectionsMergeResponse404Error {
7417    /// Information about the error.
7418    pub details: Option<PostCollectionsMergeResponse404ErrorDetails>,
7419
7420    /// The error message.
7421    pub message: Option<String>,
7422
7423    /// The error name.
7424    pub name: Option<String>,
7425}
7426
7427#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7428pub struct PostCollectionsMergeResponse404ErrorDetails {
7429    /// The collection ID.
7430    pub id: Option<String>,
7431
7432    /// The instance item.
7433    pub item: Option<String>,
7434}
7435
7436#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7437pub struct PostCollectionsMergeResponse429 {
7438    /// The error name.
7439    pub error: Option<String>,
7440
7441    /// The error message.
7442    pub message: Option<String>,
7443}
7444
7445#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7446pub struct PostCollectionsMergeResponse500 {
7447    pub error: Option<PostCollectionsMergeResponse500Error>,
7448}
7449
7450#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7451pub struct PostCollectionsMergeResponse500Error {
7452    /// The error message.
7453    pub message: Option<String>,
7454
7455    /// The error name.
7456    pub name: Option<String>,
7457}
7458
7459#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7460pub struct PostCollectionsResponse {
7461    pub collection: Option<PostCollectionsResponseCollection>,
7462}
7463
7464#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7465pub struct PostCollectionsResponseCollection {
7466    /// The collection's ID.
7467    pub id: Option<String>,
7468
7469    /// The collection's name.
7470    pub name: Option<String>,
7471
7472    /// The collection's unique ID.
7473    pub uid: Option<String>,
7474}
7475
7476#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7477pub struct PostCollectionsResponse400 {
7478    pub error: Option<PostCollectionsResponse400Error>,
7479}
7480
7481#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7482pub struct PostCollectionsResponse400Error {
7483    /// Information about the error.
7484    pub details: Option<Vec<String>>,
7485
7486    /// The error message.
7487    pub message: Option<String>,
7488
7489    /// The error name.
7490    pub name: Option<String>,
7491}
7492
7493#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7494pub struct PostCollectionsResponse401 {
7495    pub error: Option<PostCollectionsResponse401Error>,
7496}
7497
7498#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7499pub struct PostCollectionsResponse401Error {
7500    /// The error message.
7501    pub message: Option<String>,
7502
7503    /// The error message.
7504    pub name: Option<String>,
7505}
7506
7507#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7508pub struct PostCollectionsResponse429 {
7509    /// The error name.
7510    pub error: Option<String>,
7511
7512    /// The error message.
7513    pub message: Option<String>,
7514}
7515
7516#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7517pub struct PostCollectionsResponse500 {
7518    pub error: Option<PostCollectionsResponse500Error>,
7519}
7520
7521#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7522pub struct PostCollectionsResponse500Error {
7523    /// The error message.
7524    pub message: Option<String>,
7525
7526    /// The error name.
7527    pub name: Option<String>,
7528}
7529
7530#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7531#[serde(rename_all = "camelCase")]
7532pub struct PostDetectedSecretsQueriesBody {
7533    /// If true, return secrets with a `resolved` status.
7534    pub resolved: Option<bool>,
7535
7536    /// A list of secrets types to query. For a list of valid IDs, use the GET `/secret-types`
7537    /// endpoint.
7538    pub secret_types: Option<Vec<String>>,
7539
7540    /// A list of the types of resolution statuses to query.
7541    pub statuses: Option<Vec<Resolution>>,
7542
7543    /// A list of workspaces IDs to query.
7544    pub workspace_ids: Option<Vec<String>>,
7545
7546    /// A list of workspace [visibility
7547    /// settings](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility)
7548    /// to query. This currently supports the `team` and `public` settings.
7549    pub workspace_visiblities: Option<Vec<String>>,
7550}
7551
7552#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7553#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
7554pub enum Resolution {
7555    #[serde(rename = "ACCEPTED_RISK")]
7556    AcceptedRisk,
7557
7558    #[serde(rename = "FALSE_POSITIVE")]
7559    FalsePositive,
7560
7561    Revoked,
7562}
7563
7564#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7565pub struct PostDetectedSecretsQueriesResponse {
7566    pub data: Option<Vec<PostDetectedSecretsQueriesResponseDataItem>>,
7567
7568    /// The response's meta information for paginated results.
7569    pub meta: Option<PostDetectedSecretsQueriesResponseMeta>,
7570}
7571
7572#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7573#[serde(rename_all = "camelCase")]
7574pub struct PostDetectedSecretsQueriesResponseDataItem {
7575    /// The date and time at which the secret was first detected.
7576    pub detected_at: Option<String>,
7577
7578    /// The secret's obfuscated value.
7579    pub obfuscated_secret: Option<String>,
7580
7581    /// The number of times the secret was found in the workspace.
7582    pub occurrences: Option<f64>,
7583
7584    /// The secret's current status:
7585    /// - `ACTIVE` — The secret is active.
7586    /// - `FALSE_POSITIVE` — The discovered secret is not an actual secret.
7587    /// - `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.
7588    /// - `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of
7589    /// publishing it.
7590    pub resolution: Option<ResolutionEnum>,
7591
7592    /// The SHA-256 hash of the detected secret.
7593    pub secret_hash: Option<String>,
7594
7595    /// The detected secret's ID.
7596    pub secret_id: Option<String>,
7597
7598    /// The type of the secret.
7599    pub secret_type: Option<String>,
7600
7601    /// The ID of the workspace that contains the secret.
7602    pub workspace_id: Option<String>,
7603
7604    /// The workspace's [visibility
7605    /// setting](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility).
7606    pub workspace_visibility: Option<WorkspaceVisibility>,
7607}
7608
7609#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7610#[serde(rename_all = "snake_case")]
7611pub enum WorkspaceVisibility {
7612    Personal,
7613
7614    Private,
7615
7616    Public,
7617
7618    Team,
7619}
7620
7621#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7622#[serde(rename_all = "camelCase")]
7623pub struct PostDetectedSecretsQueriesResponseMeta {
7624    /// The maximum number of records in the paginated response.
7625    pub limit: Option<f64>,
7626
7627    /// The Base64-encoded value that points to the next record in the results set.
7628    pub next_cursor: Option<String>,
7629
7630    /// The number of records that match the defined criteria. This will only be present if the
7631    /// `include` query parameter is specified with the `meta.total` value.
7632    pub total: Option<f64>,
7633}
7634
7635#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7636pub struct PostDetectedSecretsQueriesResponse400 {
7637    /// The instance identifying the specific occurrence of the problem.
7638    pub instance: Option<String>,
7639
7640    /// The HTTP status code generated by the origin server.
7641    pub status: Option<f64>,
7642
7643    /// The generic description for the error's class.
7644    pub title: Option<String>,
7645
7646    /// The type of error.
7647    #[serde(rename = "type")]
7648    pub post_detected_secrets_queries_response400_type: Option<String>,
7649}
7650
7651#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7652pub struct PostDetectedSecretsQueriesResponse401 {
7653    /// The instance identifying the specific occurrence of the problem.
7654    pub instance: Option<String>,
7655
7656    /// The HTTP status code generated by the origin server.
7657    pub status: Option<f64>,
7658
7659    /// The generic description for the error's class.
7660    pub title: Option<String>,
7661
7662    /// The type of error.
7663    #[serde(rename = "type")]
7664    pub post_detected_secrets_queries_response401_type: Option<String>,
7665}
7666
7667#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7668pub struct PostDetectedSecretsQueriesResponse403 {
7669    /// The instance identifying the specific occurrence of the problem.
7670    pub instance: Option<String>,
7671
7672    /// The HTTP status code generated by the origin server.
7673    pub status: Option<f64>,
7674
7675    /// The generic description for the error's class.
7676    pub title: Option<String>,
7677
7678    /// The type of error.
7679    #[serde(rename = "type")]
7680    pub post_detected_secrets_queries_response403_type: Option<String>,
7681}
7682
7683#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7684pub struct PostDetectedSecretsQueriesResponse500 {
7685    /// The instance identifying the specific occurrence of the problem.
7686    pub instance: Option<String>,
7687
7688    /// The HTTP status code generated by the origin server.
7689    pub status: Option<f64>,
7690
7691    /// The generic description for the error's class.
7692    pub title: Option<String>,
7693
7694    /// The type of error.
7695    #[serde(rename = "type")]
7696    pub post_detected_secrets_queries_response500_type: Option<String>,
7697}
7698
7699#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7700pub struct PostEnvironmentsBody {
7701    pub environment: Option<PostEnvironmentsBodyEnvironment>,
7702}
7703
7704#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7705pub struct PostEnvironmentsBodyEnvironment {
7706    /// The environment's name.
7707    pub name: String,
7708
7709    /// Information about the environment's variables.
7710    pub values: Option<Vec<Vec<PostEnvironmentsBodyEnvironmentValuesItemItem>>>,
7711}
7712
7713#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7714pub struct PostEnvironmentsBodyEnvironmentValuesItemItem {
7715    /// If true, the variable is enabled.
7716    pub enabled: Option<bool>,
7717
7718    /// The variable's name.
7719    pub key: Option<String>,
7720
7721    /// The variable type.
7722    #[serde(rename = "type")]
7723    pub post_environments_body_environment_values_item_item_type: Option<PurpleType>,
7724
7725    /// The variable's value.
7726    pub value: Option<String>,
7727}
7728
7729#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7730pub struct PostEnvironmentsResponse {
7731    pub environment: Option<PostEnvironmentsResponseEnvironment>,
7732}
7733
7734#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7735pub struct PostEnvironmentsResponseEnvironment {
7736    /// The environment's ID.
7737    pub id: Option<String>,
7738
7739    /// The environment's name.
7740    pub name: Option<String>,
7741
7742    /// The environment's unique ID.
7743    pub uid: Option<String>,
7744}
7745
7746#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7747pub struct PostEnvironmentsResponse400 {
7748    pub error: Option<PostEnvironmentsResponse400Error>,
7749}
7750
7751#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7752pub struct PostEnvironmentsResponse400Error {
7753    pub details: Option<Vec<String>>,
7754
7755    pub message: Option<String>,
7756
7757    pub name: Option<String>,
7758}
7759
7760#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7761pub struct PostEnvironmentsResponse401 {
7762    pub error: Option<PostEnvironmentsResponse401Error>,
7763}
7764
7765#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7766pub struct PostEnvironmentsResponse401Error {
7767    /// The error message.
7768    pub message: Option<String>,
7769
7770    /// The error message.
7771    pub name: Option<String>,
7772}
7773
7774#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7775pub struct PostEnvironmentsResponse403 {
7776    pub error: Option<PostEnvironmentsResponse403Error>,
7777}
7778
7779#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7780pub struct PostEnvironmentsResponse403Error {
7781    /// The error message.
7782    pub message: Option<String>,
7783
7784    /// The error name.
7785    pub name: Option<String>,
7786}
7787
7788#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7789pub struct PostEnvironmentsResponse429 {
7790    /// The error name.
7791    pub error: Option<String>,
7792
7793    /// The error message.
7794    pub message: Option<String>,
7795}
7796
7797#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7798pub struct PostEnvironmentsResponse500 {
7799    pub error: Option<PostEnvironmentsResponse500Error>,
7800}
7801
7802#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7803pub struct PostEnvironmentsResponse500Error {
7804    /// The error message.
7805    pub message: Option<String>,
7806
7807    /// The error name.
7808    pub name: Option<String>,
7809}
7810
7811#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7812pub struct PostImportOpenapiResponse {
7813    pub collections: Option<Vec<PostImportOpenapiResponseCollectionsItem>>,
7814}
7815
7816#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7817pub struct PostImportOpenapiResponseCollectionsItem {
7818    /// The collection's ID.
7819    pub id: Option<String>,
7820
7821    /// The collection's name.
7822    pub name: Option<String>,
7823
7824    /// The collection's unique ID.
7825    pub uid: Option<String>,
7826}
7827
7828#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7829pub struct PostImportOpenapiResponse400 {
7830    pub error: Option<PostImportOpenapiResponse400Error>,
7831}
7832
7833#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7834pub struct PostImportOpenapiResponse400Error {
7835    /// Information about the error.
7836    pub details: Option<PostImportOpenapiResponse400ErrorDetails>,
7837
7838    /// The error message.
7839    pub message: Option<String>,
7840
7841    /// The error name.
7842    pub name: Option<String>,
7843}
7844
7845#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7846pub struct PostImportOpenapiResponse400ErrorDetails {
7847    /// The parameter name.
7848    pub param: Option<String>,
7849}
7850
7851#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7852pub struct PostImportOpenapiResponse401 {
7853    pub error: Option<PostImportOpenapiResponse401Error>,
7854}
7855
7856#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7857pub struct PostImportOpenapiResponse401Error {
7858    /// The error message.
7859    pub message: Option<String>,
7860
7861    /// The error message.
7862    pub name: Option<String>,
7863}
7864
7865#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7866pub struct PostImportOpenapiResponse429 {
7867    /// The error name.
7868    pub error: Option<String>,
7869
7870    /// The error message.
7871    pub message: Option<String>,
7872}
7873
7874#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7875pub struct PostImportOpenapiResponse500 {
7876    pub error: Option<PostImportOpenapiResponse500Error>,
7877}
7878
7879#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7880pub struct PostImportOpenapiResponse500Error {
7881    /// The error message.
7882    pub message: Option<String>,
7883
7884    /// The error name.
7885    pub name: Option<String>,
7886}
7887
7888#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7889pub struct PostMocksBody {
7890    pub mock: Option<PostMocksBodyMock>,
7891}
7892
7893#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7894pub struct PostMocksBodyMock {
7895    /// The mock's associated collection unique ID.
7896    pub collection: String,
7897
7898    /// The mock server's associated environment ID.
7899    pub environment: Option<String>,
7900
7901    /// The mock server's name.
7902    pub name: Option<String>,
7903
7904    /// If true, the mock server is set private. By default, mock servers are public and can
7905    /// receive requests from anyone and anywhere.
7906    pub private: Option<bool>,
7907}
7908
7909#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7910pub struct PostMocksMockIdPublishResponse {
7911    pub mock: Option<PostMocksMockIdPublishResponseMock>,
7912}
7913
7914#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7915pub struct PostMocksMockIdPublishResponseMock {
7916    /// The mock server's ID.
7917    pub id: Option<String>,
7918}
7919
7920#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7921pub struct PostMocksMockIdPublishResponse400 {
7922    pub error: Option<PostMocksMockIdPublishResponse400Error>,
7923}
7924
7925#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7926pub struct PostMocksMockIdPublishResponse400Error {
7927    /// The error message.
7928    pub message: Option<String>,
7929
7930    /// The error name.
7931    pub name: Option<String>,
7932}
7933
7934#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7935pub struct PostMocksMockIdPublishResponse401 {
7936    pub error: Option<PostMocksMockIdPublishResponse401Error>,
7937}
7938
7939#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7940pub struct PostMocksMockIdPublishResponse401Error {
7941    /// The error message.
7942    pub message: Option<String>,
7943
7944    /// The error message.
7945    pub name: Option<String>,
7946}
7947
7948#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7949pub struct PostMocksMockIdPublishResponse404 {
7950    pub error: Option<PostMocksMockIdPublishResponse404Error>,
7951}
7952
7953#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7954pub struct PostMocksMockIdPublishResponse404Error {
7955    /// Information about the error.
7956    pub details: Option<Vec<String>>,
7957
7958    /// The error message.
7959    pub message: Option<String>,
7960
7961    /// The error name.
7962    pub name: Option<String>,
7963}
7964
7965#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7966pub struct PostMocksMockIdPublishResponse429 {
7967    /// The error name.
7968    pub error: Option<String>,
7969
7970    /// The error message.
7971    pub message: Option<String>,
7972}
7973
7974#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7975pub struct PostMocksMockIdPublishResponse500 {
7976    pub error: Option<PostMocksMockIdPublishResponse500Error>,
7977}
7978
7979#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7980pub struct PostMocksMockIdPublishResponse500Error {
7981    /// The error message.
7982    pub message: Option<String>,
7983
7984    /// The error name.
7985    pub name: Option<String>,
7986}
7987
7988#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7989#[serde(rename_all = "camelCase")]
7990pub struct PostMocksMockIdServerResponsesBody {
7991    pub server_response: Option<PostMocksMockIdServerResponsesBodyServerResponse>,
7992}
7993
7994#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7995#[serde(rename_all = "camelCase")]
7996pub struct PostMocksMockIdServerResponsesBodyServerResponse {
7997    /// The server response's body that returns when calling the mock server.
7998    pub body: Option<String>,
7999
8000    /// The server response's request headers, such as Content-Type, Accept, encoding, and other
8001    /// information.
8002    pub headers: Option<Vec<PostMocksMockIdServerResponsesBodyServerResponseHeadersItem>>,
8003
8004    /// The server response's body language type.
8005    pub language: Option<DeleteMocksMockIdServerResponsesServerResponseIdResponseLanguage>,
8006
8007    /// The server response's name.
8008    pub name: String,
8009
8010    /// The server response's 5xx HTTP response code. This property **only** accepts 5xx values.
8011    pub status_code: i64,
8012}
8013
8014#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8015pub struct PostMocksMockIdServerResponsesBodyServerResponseHeadersItem {
8016    /// The request header's key value.
8017    pub key: Option<String>,
8018
8019    /// The request header's value.
8020    pub value: Option<String>,
8021}
8022
8023#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8024pub struct PostMocksMockIdServerResponsesResponse400 {
8025    pub error: Option<PostMocksMockIdServerResponsesResponse400Error>,
8026}
8027
8028#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8029pub struct PostMocksMockIdServerResponsesResponse400Error {
8030    /// Information about the error.
8031    pub details: Option<PostMocksMockIdServerResponsesResponse400ErrorDetails>,
8032
8033    /// The error message.
8034    pub message: Option<String>,
8035
8036    /// The error name.
8037    pub name: Option<String>,
8038}
8039
8040#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8041pub struct PostMocksMockIdServerResponsesResponse400ErrorDetails {
8042    /// Information about the missing parameter.
8043    pub param: Option<Vec<String>>,
8044}
8045
8046#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8047pub struct PostMocksMockIdServerResponsesResponse401 {
8048    pub error: Option<PostMocksMockIdServerResponsesResponse401Error>,
8049}
8050
8051#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8052pub struct PostMocksMockIdServerResponsesResponse401Error {
8053    /// The error message.
8054    pub message: Option<String>,
8055
8056    /// The error message.
8057    pub name: Option<String>,
8058}
8059
8060#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8061pub struct PostMocksMockIdServerResponsesResponse429 {
8062    /// The error name.
8063    pub error: Option<String>,
8064
8065    /// The error message.
8066    pub message: Option<String>,
8067}
8068
8069#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8070pub struct PostMocksMockIdServerResponsesResponse500 {
8071    pub error: Option<PostMocksMockIdServerResponsesResponse500Error>,
8072}
8073
8074#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8075pub struct PostMocksMockIdServerResponsesResponse500Error {
8076    /// The error message.
8077    pub message: Option<String>,
8078
8079    /// The error name.
8080    pub name: Option<String>,
8081}
8082
8083#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8084#[serde(rename_all = "camelCase")]
8085pub struct PostMocksMockIdServerResponsesResponseItem {
8086    /// The date and time at which the server response was created.
8087    pub created_at: Option<String>,
8088
8089    /// The user ID of the user who created the server response.
8090    pub created_by: Option<String>,
8091
8092    /// The server response's ID.
8093    pub id: Option<String>,
8094
8095    /// The server response's name.
8096    pub name: Option<String>,
8097
8098    /// The server response's 5xx HTTP response code.
8099    pub status_code: Option<f64>,
8100
8101    /// The date and time at which the server response was last updated.
8102    pub updated_at: Option<String>,
8103
8104    /// The user ID of the user who last updated the server response.
8105    pub updated_by: Option<String>,
8106}
8107
8108#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8109pub struct PostMocksResponse {
8110    pub mock: Option<PostMocksResponseMock>,
8111}
8112
8113#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8114#[serde(rename_all = "camelCase")]
8115pub struct PostMocksResponseMock {
8116    /// The mock's associated collection unique ID.
8117    pub collection: Option<String>,
8118
8119    /// Information about the mock server's configuration.
8120    pub config: Option<PostMocksResponseMockConfig>,
8121
8122    /// The date and time at which the mock server was created.
8123    pub created_at: Option<String>,
8124
8125    /// The mock's associated environment unique ID.
8126    pub environment: Option<String>,
8127
8128    /// The mock server's ID.
8129    pub id: Option<String>,
8130
8131    /// The mock server URL.
8132    pub mock_url: Option<String>,
8133
8134    /// The ID of mock server's owner.
8135    pub owner: Option<String>,
8136
8137    /// The mock server's unique ID.
8138    pub uid: Option<String>,
8139
8140    /// The date and time at which the mock server was last updated.
8141    pub updated_at: Option<String>,
8142}
8143
8144#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8145#[serde(rename_all = "camelCase")]
8146pub struct PostMocksResponseMockConfig {
8147    /// Information about the mock server's simulated network delay settings. This returns a null
8148    /// value if there are no configured network delay settings.
8149    pub delay: Option<PostMocksResponseMockConfigDelay>,
8150
8151    /// A list of the mock server's headers.
8152    pub headers: Option<Vec<String>>,
8153
8154    /// If true, match the request body.
8155    pub match_body: Option<bool>,
8156
8157    /// If true, match query parameters.
8158    pub match_query_params: Option<bool>,
8159
8160    /// If true, use wildcard variable matching.
8161    pub match_wildcards: Option<bool>,
8162
8163    /// The ID of mock server's default response for requests. All calls to the mock server will
8164    /// return the defined response.
8165    pub server_response_id: Option<String>,
8166}
8167
8168#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8169pub struct PostMocksResponseMockConfigDelay {
8170    /// The configured delay, in milliseconds.
8171    pub duration: Option<i64>,
8172
8173    /// The simulated fixed network delay value:
8174    ///
8175    /// - `1` — 2G (300 ms).
8176    /// - `2` — 3G (100 ms).
8177    ///
8178    /// The object does not return this value for custom delay values.
8179    pub preset: Option<Preset>,
8180
8181    /// The type of simulated delay value:
8182    ///
8183    /// - `fixed` — The delay value is a fixed value.
8184    #[serde(rename = "type")]
8185    pub post_mocks_response_mock_config_delay_type: Option<GetMocksResponseMocksItemConfigDelayType>,
8186}
8187
8188#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8189pub struct PostMocksResponse400 {
8190    pub error: Option<PostMocksResponse400Error>,
8191}
8192
8193#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8194pub struct PostMocksResponse400Error {
8195    /// Information about the error.
8196    pub details: Option<PostMocksResponse400ErrorDetails>,
8197
8198    /// The error message.
8199    pub message: Option<String>,
8200
8201    /// The error name.
8202    pub name: Option<String>,
8203}
8204
8205#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8206pub struct PostMocksResponse400ErrorDetails {
8207    /// Information about the missing parameter.
8208    pub param: Option<Vec<String>>,
8209}
8210
8211#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8212pub struct PostMocksResponse401 {
8213    pub error: Option<PostMocksResponse401Error>,
8214}
8215
8216#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8217pub struct PostMocksResponse401Error {
8218    /// The error message.
8219    pub message: Option<String>,
8220
8221    /// The error message.
8222    pub name: Option<String>,
8223}
8224
8225#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8226pub struct PostMocksResponse429 {
8227    /// The error name.
8228    pub error: Option<String>,
8229
8230    /// The error message.
8231    pub message: Option<String>,
8232}
8233
8234#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8235pub struct PostMocksResponse500 {
8236    pub error: Option<PostMocksResponse500Error>,
8237}
8238
8239#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8240pub struct PostMocksResponse500Error {
8241    /// The error message.
8242    pub message: Option<String>,
8243
8244    /// The error name.
8245    pub name: Option<String>,
8246}
8247
8248#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8249pub struct PostMonitorsBody {
8250    pub monitor: Option<PostMonitorsBodyMonitor>,
8251}
8252
8253#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8254pub struct PostMonitorsBodyMonitor {
8255    /// The monitor's associated collection unique ID.
8256    pub collection: Option<String>,
8257
8258    /// The monitor's associated environment unique ID.
8259    pub environment: Option<String>,
8260
8261    /// The monitor's name.
8262    pub name: Option<String>,
8263
8264    /// Information about the monitor's schedule.
8265    pub schedule: Option<PostMonitorsBodyMonitorSchedule>,
8266}
8267
8268#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8269pub struct PostMonitorsBodyMonitorSchedule {
8270    /// The monitor's run frequency, based on the given cron pattern.
8271    /// At this time you can only create monitors with limited schedules. For information about
8272    /// the available schedules, see our [Postman Monitors](https://monitor.getpostman.com)
8273    /// collection.
8274    pub cron: Option<String>,
8275
8276    /// The monitor's [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
8277    pub timezone: Option<String>,
8278}
8279
8280#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8281pub struct PostMonitorsMonitorIdRunResponse {
8282    /// Information about the monitor run.
8283    pub run: Option<PostMonitorsMonitorIdRunResponseRun>,
8284}
8285
8286#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8287pub struct PostMonitorsMonitorIdRunResponseRun {
8288    /// Information about the monitor run's executions.
8289    pub executions: Option<Vec<PostMonitorsMonitorIdRunResponseRunExecutionsItem>>,
8290
8291    /// If the monitor run failed, information about the run's failures.
8292    pub failures: Option<Vec<Option<serde_json::Value>>>,
8293
8294    /// Information about the monitor.
8295    pub info: Option<PostMonitorsMonitorIdRunResponseRunInfo>,
8296
8297    /// Information about the monitor run's stats.
8298    pub stats: Option<PostMonitorsMonitorIdRunResponseRunStats>,
8299}
8300
8301#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8302pub struct PostMonitorsMonitorIdRunResponseRunExecutionsItem {
8303    /// The execution ID.
8304    pub id: Option<f64>,
8305
8306    /// Information about the executed item.
8307    pub item: Option<PostMonitorsMonitorIdRunResponseRunExecutionsItemItem>,
8308
8309    /// Information about the monitor run's requests.
8310    pub request: Option<PostMonitorsMonitorIdRunResponseRunExecutionsItemRequest>,
8311
8312    /// Information about the monitor run's response.
8313    pub response: Option<PostMonitorsMonitorIdRunResponseRunExecutionsItemResponse>,
8314}
8315
8316#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8317pub struct PostMonitorsMonitorIdRunResponseRunExecutionsItemItem {
8318    /// The executed item's name.
8319    pub name: Option<String>,
8320}
8321
8322#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8323pub struct PostMonitorsMonitorIdRunResponseRunExecutionsItemRequest {
8324    pub body: Option<serde_json::Value>,
8325
8326    pub headers: Option<serde_json::Value>,
8327
8328    /// The request method.
8329    pub method: Option<String>,
8330
8331    /// The date and time of the request.
8332    pub timestamp: Option<String>,
8333
8334    /// The request's URL.
8335    pub url: Option<String>,
8336}
8337
8338#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8339#[serde(rename_all = "camelCase")]
8340pub struct PostMonitorsMonitorIdRunResponseRunExecutionsItemResponse {
8341    pub body: Option<serde_json::Value>,
8342
8343    /// The response's HTTP status code.
8344    pub code: Option<f64>,
8345
8346    pub headers: Option<serde_json::Value>,
8347
8348    /// The response size, in bytes.
8349    pub response_size: Option<f64>,
8350
8351    /// The response time, in milliseconds.
8352    pub response_time: Option<f64>,
8353}
8354
8355#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8356#[serde(rename_all = "camelCase")]
8357pub struct PostMonitorsMonitorIdRunResponseRunInfo {
8358    /// The monitor's associated collection unique ID.
8359    pub collection_uid: Option<String>,
8360
8361    /// The monitor's associated environment unique ID.
8362    pub environment_uid: Option<String>,
8363
8364    /// The date and time at which the monitor's run completed.
8365    pub finished_at: Option<String>,
8366
8367    /// The monitor's run job ID.
8368    pub job_id: Option<String>,
8369
8370    /// The monitor's ID.
8371    pub monitor_id: Option<String>,
8372
8373    /// The monitor's name.
8374    pub name: Option<String>,
8375
8376    /// The date and time at which the monitor run began.
8377    pub started_at: Option<String>,
8378
8379    /// The monitor run's status.
8380    pub status: Option<String>,
8381}
8382
8383#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8384pub struct PostMonitorsMonitorIdRunResponseRunStats {
8385    /// The monitor run's assertions stats.
8386    pub assertions: Option<PostMonitorsMonitorIdRunResponseRunStatsAssertions>,
8387
8388    /// The monitor run's request stats.
8389    pub requests: Option<PostMonitorsMonitorIdRunResponseRunStatsRequests>,
8390}
8391
8392#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8393pub struct PostMonitorsMonitorIdRunResponseRunStatsAssertions {
8394    /// The total number of test failures.
8395    pub failed: Option<f64>,
8396
8397    /// The total number of tests performed.
8398    pub total: Option<f64>,
8399}
8400
8401#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8402pub struct PostMonitorsMonitorIdRunResponseRunStatsRequests {
8403    /// The number of request failures.
8404    pub failed: Option<f64>,
8405
8406    /// The total number of requests.
8407    pub total: Option<f64>,
8408}
8409
8410#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8411pub struct PostMonitorsMonitorIdRunResponse401 {
8412    pub error: Option<PostMonitorsMonitorIdRunResponse401Error>,
8413}
8414
8415#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8416pub struct PostMonitorsMonitorIdRunResponse401Error {
8417    /// The error message.
8418    pub message: Option<String>,
8419
8420    /// The error message.
8421    pub name: Option<String>,
8422}
8423
8424#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8425pub struct PostMonitorsMonitorIdRunResponse429 {
8426    /// The error name.
8427    pub error: Option<String>,
8428
8429    /// The error message.
8430    pub message: Option<String>,
8431}
8432
8433#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8434pub struct PostMonitorsMonitorIdRunResponse500 {
8435    pub error: Option<PostMonitorsMonitorIdRunResponse500Error>,
8436}
8437
8438#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8439pub struct PostMonitorsMonitorIdRunResponse500Error {
8440    /// The error message.
8441    pub message: Option<String>,
8442
8443    /// The error name.
8444    pub name: Option<String>,
8445}
8446
8447#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8448pub struct PostMonitorsResponse {
8449    pub monitor: Option<PostMonitorsResponseMonitor>,
8450}
8451
8452#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8453pub struct PostMonitorsResponseMonitor {
8454    /// The monitor's ID.
8455    pub id: Option<String>,
8456
8457    /// The monitor's name.
8458    pub name: Option<String>,
8459
8460    /// The monitor's unique ID.
8461    pub uid: Option<String>,
8462}
8463
8464#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8465pub struct PostMonitorsResponse400 {
8466    pub error: Option<PostMonitorsResponse400Error>,
8467}
8468
8469#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8470pub struct PostMonitorsResponse400Error {
8471    pub details: Option<serde_json::Value>,
8472
8473    pub message: Option<String>,
8474
8475    pub name: Option<String>,
8476}
8477
8478#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8479pub struct PostMonitorsResponse401 {
8480    pub error: Option<PostMonitorsResponse401Error>,
8481}
8482
8483#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8484pub struct PostMonitorsResponse401Error {
8485    /// The error message.
8486    pub message: Option<String>,
8487
8488    /// The error message.
8489    pub name: Option<String>,
8490}
8491
8492#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8493pub struct PostMonitorsResponse403 {
8494    pub error: Option<PostMonitorsResponse403Error>,
8495}
8496
8497#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8498pub struct PostMonitorsResponse403Error {
8499    /// The error description.
8500    pub message: Option<String>,
8501
8502    /// The error name.
8503    pub name: Option<String>,
8504}
8505
8506#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8507pub struct PostMonitorsResponse429 {
8508    /// The error name.
8509    pub error: Option<String>,
8510
8511    /// The error message.
8512    pub message: Option<String>,
8513}
8514
8515#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8516pub struct PostMonitorsResponse500 {
8517    pub error: Option<PostMonitorsResponse500Error>,
8518}
8519
8520#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8521pub struct PostMonitorsResponse500Error {
8522    /// The error message.
8523    pub message: Option<String>,
8524
8525    /// The error name.
8526    pub name: Option<String>,
8527}
8528
8529#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8530pub struct PostNetworkPrivateResponse401 {
8531    pub error: Option<PostNetworkPrivateResponse401Error>,
8532}
8533
8534#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8535pub struct PostNetworkPrivateResponse401Error {
8536    /// The error message.
8537    pub message: Option<String>,
8538
8539    /// The error message.
8540    pub name: Option<String>,
8541}
8542
8543#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8544pub struct PostNetworkPrivateResponse403 {
8545    pub error: Option<PostNetworkPrivateResponse403Error>,
8546}
8547
8548#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8549pub struct PostNetworkPrivateResponse403Error {
8550    /// The error message.
8551    pub message: Option<String>,
8552
8553    /// The error name.
8554    pub name: Option<String>,
8555}
8556
8557#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8558pub struct PostNetworkPrivateResponse404 {
8559    pub error: Option<PostNetworkPrivateResponse404Error>,
8560}
8561
8562#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8563pub struct PostNetworkPrivateResponse404Error {
8564    /// The error message.
8565    pub message: Option<String>,
8566
8567    /// The error name.
8568    pub name: Option<String>,
8569}
8570
8571#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8572pub struct PostNetworkPrivateResponse429 {
8573    /// The error name.
8574    pub error: Option<String>,
8575
8576    /// The error message.
8577    pub message: Option<String>,
8578}
8579
8580#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8581pub struct PostNetworkPrivateResponse500 {
8582    pub error: Option<PostNetworkPrivateResponse500Error>,
8583}
8584
8585#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8586pub struct PostNetworkPrivateResponse500Error {
8587    /// The error message.
8588    pub message: Option<String>,
8589
8590    /// The error name.
8591    pub name: Option<String>,
8592}
8593
8594#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8595#[serde(rename_all = "camelCase")]
8596pub struct PostScimV2GroupsBody {
8597    /// If true, activates the user. This lets them authenticate in to your Postman team.
8598    pub active: Option<bool>,
8599
8600    /// The user's external ID.
8601    pub external_id: Option<String>,
8602
8603    /// A list of groups to which to assign the user to.
8604    pub groups: Option<Vec<String>>,
8605
8606    /// The user's IETF locale.
8607    pub locale: Option<String>,
8608
8609    /// Information about the user's name.
8610    pub name: Option<PostScimV2GroupsBodyName>,
8611
8612    /// The SCIM schema resource URI.
8613    pub schemas: Option<Vec<String>>,
8614
8615    /// The user's username.
8616    pub user_name: Option<String>,
8617}
8618
8619#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8620#[serde(rename_all = "camelCase")]
8621pub struct PostScimV2GroupsBodyName {
8622    /// The user's last name.
8623    pub family_name: Option<String>,
8624
8625    /// The user's first name.
8626    pub given_name: Option<String>,
8627}
8628
8629#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8630#[serde(rename_all = "camelCase")]
8631pub struct PostScimV2GroupsResponse {
8632    /// If true, the user is active.
8633    pub active: Option<bool>,
8634
8635    /// The user's external ID.
8636    pub external_id: Option<String>,
8637
8638    /// The user's SCIM ID.
8639    pub id: Option<String>,
8640
8641    /// The response's non-standard meta information.
8642    pub meta: Option<PostScimV2GroupsResponseMeta>,
8643
8644    pub name: Option<PostScimV2GroupsResponseName>,
8645
8646    /// The SCIM schema URI.
8647    pub schemas: Option<Vec<String>>,
8648
8649    /// The user's username.
8650    pub user_name: Option<String>,
8651}
8652
8653#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8654#[serde(rename_all = "camelCase")]
8655pub struct PostScimV2GroupsResponseMeta {
8656    /// The date and time at which the user was created.
8657    pub created: Option<String>,
8658
8659    /// The date and time at which the user was last modified.
8660    pub last_modified: Option<String>,
8661
8662    /// The SCIM resource type.
8663    pub resource_type: Option<MetaResourceType>,
8664}
8665
8666#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8667pub enum MetaResourceType {
8668    User,
8669}
8670
8671#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8672#[serde(rename_all = "camelCase")]
8673pub struct PostScimV2GroupsResponseName {
8674    /// The user's last name.
8675    pub family_name: Option<String>,
8676
8677    /// The user's first name.
8678    pub given_name: Option<String>,
8679}
8680
8681#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8682#[serde(rename_all = "camelCase")]
8683pub struct PostScimV2GroupsResponse400 {
8684    /// Information about the error.
8685    pub detail: Option<String>,
8686
8687    /// A list of SCIM schema resource URIs.
8688    pub schemas: Option<Vec<String>>,
8689
8690    /// The SCIM type.
8691    pub scim_type: Option<String>,
8692
8693    /// The HTTP status code.
8694    pub status: Option<String>,
8695}
8696
8697#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8698pub struct PostScimV2GroupsResponse401 {
8699    /// Information about the error.
8700    pub detail: Option<String>,
8701
8702    /// The SCIM schema resource URIs.
8703    pub schemas: Option<Vec<String>>,
8704
8705    /// The HTTP status code.
8706    pub status: Option<String>,
8707}
8708
8709#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8710pub struct PostScimV2GroupsResponse403 {
8711    /// Information about the error.
8712    pub detail: Option<String>,
8713
8714    /// The SCIM schema resource URIs.
8715    pub schemas: Option<Vec<String>>,
8716
8717    /// The HTTP status code.
8718    pub status: Option<String>,
8719}
8720
8721#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8722#[serde(rename_all = "camelCase")]
8723pub struct PostScimV2GroupsResponse409 {
8724    /// Information about the error.
8725    pub detail: Option<String>,
8726
8727    /// The SCIM schema resource URIs.
8728    pub schemas: Option<Vec<String>>,
8729
8730    /// The SCIM type.
8731    pub scim_type: Option<String>,
8732
8733    /// The HTTP status code.
8734    pub status: Option<String>,
8735}
8736
8737#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8738pub struct PostScimV2GroupsResponse429 {
8739    /// Information about the error.
8740    pub detail: Option<String>,
8741
8742    /// The SCIM schema resource URIs.
8743    pub schemas: Option<Vec<String>>,
8744
8745    /// The HTTP status code.
8746    pub status: Option<f64>,
8747}
8748
8749#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8750pub struct PostScimV2GroupsResponse500 {
8751    /// Information about the error.
8752    pub detail: Option<String>,
8753
8754    /// The SCIM schema resource URIs.
8755    pub schemas: Option<Vec<String>>,
8756
8757    /// The HTTP status code.
8758    pub status: Option<String>,
8759}
8760
8761#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8762#[serde(rename_all = "camelCase")]
8763pub struct PostScimV2UsersBody {
8764    /// If true, activates the user. This lets them authenticate in to your Postman team.
8765    pub active: Option<bool>,
8766
8767    /// The user's external ID.
8768    pub external_id: Option<String>,
8769
8770    /// A list of groups to which to assign the user to.
8771    pub groups: Option<Vec<String>>,
8772
8773    /// The user's IETF locale.
8774    pub locale: Option<String>,
8775
8776    /// Information about the user's name.
8777    pub name: Option<PostScimV2UsersBodyName>,
8778
8779    /// The SCIM schema resource URI.
8780    pub schemas: Option<Vec<String>>,
8781
8782    /// The user's username.
8783    pub user_name: Option<String>,
8784}
8785
8786#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8787#[serde(rename_all = "camelCase")]
8788pub struct PostScimV2UsersBodyName {
8789    /// The user's last name.
8790    pub family_name: Option<String>,
8791
8792    /// The user's first name.
8793    pub given_name: Option<String>,
8794}
8795
8796#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8797#[serde(rename_all = "camelCase")]
8798pub struct PostScimV2UsersResponse {
8799    /// If true, the user is active.
8800    pub active: Option<bool>,
8801
8802    /// The user's external ID.
8803    pub external_id: Option<String>,
8804
8805    /// The user's SCIM ID.
8806    pub id: Option<String>,
8807
8808    /// The response's non-standard meta information.
8809    pub meta: Option<PostScimV2UsersResponseMeta>,
8810
8811    pub name: Option<PostScimV2UsersResponseName>,
8812
8813    /// The SCIM schema URI.
8814    pub schemas: Option<Vec<String>>,
8815
8816    /// The user's username.
8817    pub user_name: Option<String>,
8818}
8819
8820#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8821#[serde(rename_all = "camelCase")]
8822pub struct PostScimV2UsersResponseMeta {
8823    /// The date and time at which the user was created.
8824    pub created: Option<String>,
8825
8826    /// The date and time at which the user was last modified.
8827    pub last_modified: Option<String>,
8828
8829    /// The SCIM resource type.
8830    pub resource_type: Option<MetaResourceType>,
8831}
8832
8833#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8834#[serde(rename_all = "camelCase")]
8835pub struct PostScimV2UsersResponseName {
8836    /// The user's last name.
8837    pub family_name: Option<String>,
8838
8839    /// The user's first name.
8840    pub given_name: Option<String>,
8841}
8842
8843#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8844#[serde(rename_all = "camelCase")]
8845pub struct PostScimV2UsersResponse400 {
8846    /// Information about the error.
8847    pub detail: Option<String>,
8848
8849    /// A list of SCIM schema resource URIs.
8850    pub schemas: Option<Vec<String>>,
8851
8852    /// The SCIM type.
8853    pub scim_type: Option<String>,
8854
8855    /// The HTTP status code.
8856    pub status: Option<String>,
8857}
8858
8859#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8860pub struct PostScimV2UsersResponse401 {
8861    /// Information about the error.
8862    pub detail: Option<String>,
8863
8864    /// The SCIM schema resource URIs.
8865    pub schemas: Option<Vec<String>>,
8866
8867    /// The HTTP status code.
8868    pub status: Option<String>,
8869}
8870
8871#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8872pub struct PostScimV2UsersResponse403 {
8873    /// Information about the error.
8874    pub detail: Option<String>,
8875
8876    /// The SCIM schema resource URIs.
8877    pub schemas: Option<Vec<String>>,
8878
8879    /// The HTTP status code.
8880    pub status: Option<String>,
8881}
8882
8883#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8884#[serde(rename_all = "camelCase")]
8885pub struct PostScimV2UsersResponse409 {
8886    /// Information about the error.
8887    pub detail: Option<String>,
8888
8889    /// The SCIM schema resource URIs.
8890    pub schemas: Option<Vec<String>>,
8891
8892    /// The SCIM type.
8893    pub scim_type: Option<String>,
8894
8895    /// The HTTP status code.
8896    pub status: Option<String>,
8897}
8898
8899#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8900pub struct PostScimV2UsersResponse429 {
8901    /// Information about the error.
8902    pub detail: Option<String>,
8903
8904    /// The SCIM schema resource URIs.
8905    pub schemas: Option<Vec<String>>,
8906
8907    /// The HTTP status code.
8908    pub status: Option<f64>,
8909}
8910
8911#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8912pub struct PostScimV2UsersResponse500 {
8913    /// Information about the error.
8914    pub detail: Option<String>,
8915
8916    /// The SCIM schema resource URIs.
8917    pub schemas: Option<Vec<String>>,
8918
8919    /// The HTTP status code.
8920    pub status: Option<String>,
8921}
8922
8923#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8924pub struct PostSecurityApiValidationBody {
8925    pub schema: Option<PostSecurityApiValidationBodySchema>,
8926}
8927
8928#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8929pub struct PostSecurityApiValidationBodySchema {
8930    /// The definition format.
8931    pub language: SchemaLanguage,
8932
8933    /// The stringified API definition.
8934    pub schema: String,
8935
8936    /// The definition type.
8937    #[serde(rename = "type")]
8938    pub post_security_api_validation_body_schema_type: FluffyType,
8939}
8940
8941#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8942#[serde(rename_all = "snake_case")]
8943pub enum SchemaLanguage {
8944    Json,
8945
8946    Yaml,
8947}
8948
8949#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8950#[serde(rename_all = "snake_case")]
8951pub enum FluffyType {
8952    Openapi2,
8953
8954    Openapi3,
8955}
8956
8957#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8958pub struct PostSecurityApiValidationResponse {
8959    /// Information about each issue discovered in the analysis. Each object includes the
8960    /// violation's severity and category, the location of the issue, data paths, and other
8961    /// information. This returns an empty object if there are no issues present in the schema.
8962    ///
8963    /// If there are issues, this returns the `possibleFixUrl` response in each warning object.
8964    /// This provides a link to documentation you can use to resolve the warning.
8965    pub warnings: Option<Vec<Option<serde_json::Value>>>,
8966}
8967
8968#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8969pub struct PostSecurityApiValidationResponse400 {
8970    pub error: Option<PostSecurityApiValidationResponse400Error>,
8971}
8972
8973#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8974pub struct PostSecurityApiValidationResponse400Error {
8975    /// The error message.
8976    pub message: Option<String>,
8977
8978    /// The error name.
8979    pub name: Option<String>,
8980}
8981
8982#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8983pub struct PostSecurityApiValidationResponse401 {
8984    pub error: Option<PostSecurityApiValidationResponse401Error>,
8985}
8986
8987#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8988pub struct PostSecurityApiValidationResponse401Error {
8989    /// The error message.
8990    pub message: Option<String>,
8991
8992    /// The error message.
8993    pub name: Option<String>,
8994}
8995
8996#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8997pub struct PostSecurityApiValidationResponse429 {
8998    /// The error name.
8999    pub error: Option<String>,
9000
9001    /// The error message.
9002    pub message: Option<String>,
9003}
9004
9005#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9006pub struct PostSecurityApiValidationResponse500 {
9007    pub error: Option<PostSecurityApiValidationResponse500Error>,
9008}
9009
9010#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9011pub struct PostSecurityApiValidationResponse500Error {
9012    /// The error message.
9013    pub message: Option<String>,
9014
9015    /// The error name.
9016    pub name: Option<String>,
9017}
9018
9019#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9020pub struct PostWebhooksBody {
9021    pub webhook: Option<PostWebhooksBodyWebhook>,
9022}
9023
9024#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9025pub struct PostWebhooksBodyWebhook {
9026    /// The unique ID of the collection to trigger when calling this webhook.
9027    pub collection: Option<String>,
9028
9029    /// The webhook's name. On success, the system creates a new monitor with this name in the
9030    /// **Monitors** tab.
9031    pub name: Option<String>,
9032}
9033
9034#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9035pub struct PostWebhooksResponse {
9036    /// Information about the webhook.
9037    pub webhook: Option<PostWebhooksResponseWebhook>,
9038}
9039
9040#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9041#[serde(rename_all = "camelCase")]
9042pub struct PostWebhooksResponseWebhook {
9043    /// The unique ID of the webhook's associated collection.
9044    pub collection: Option<String>,
9045
9046    /// The webhook's ID.
9047    pub id: Option<String>,
9048
9049    /// The webhook's name.
9050    pub name: Option<String>,
9051
9052    /// The webhook's unique ID.
9053    pub uid: Option<String>,
9054
9055    /// The webhook's URL.
9056    pub webhook_url: Option<String>,
9057}
9058
9059#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9060pub struct PostWebhooksResponse401 {
9061    pub error: Option<PostWebhooksResponse401Error>,
9062}
9063
9064#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9065pub struct PostWebhooksResponse401Error {
9066    /// The error message.
9067    pub message: Option<String>,
9068
9069    /// The error message.
9070    pub name: Option<String>,
9071}
9072
9073#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9074pub struct PostWebhooksResponse429 {
9075    /// The error name.
9076    pub error: Option<String>,
9077
9078    /// The error message.
9079    pub message: Option<String>,
9080}
9081
9082#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9083pub struct PostWebhooksResponse500 {
9084    pub error: Option<PostWebhooksResponse500Error>,
9085}
9086
9087#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9088pub struct PostWebhooksResponse500Error {
9089    /// The error message.
9090    pub message: Option<String>,
9091
9092    /// The error name.
9093    pub name: Option<String>,
9094}
9095
9096#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9097pub struct PostWorkspacesBody {
9098    /// Information about the workspace.
9099    pub workspace: Option<PostWorkspacesBodyWorkspace>,
9100}
9101
9102#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9103pub struct PostWorkspacesBodyWorkspace {
9104    /// The workspace's description.
9105    pub description: Option<String>,
9106
9107    /// The workspace's name.
9108    pub name: String,
9109
9110    /// The type of workspace:
9111    ///
9112    /// - `personal`
9113    /// - `private` — Private workspaces are available on Postman [Professional and Enterprise
9114    /// plans](https://www.postman.com/pricing).
9115    /// - `public`
9116    /// - `team`
9117    /// - `partner` — [Partner
9118    /// Workspaces](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/)
9119    /// are available on Postman [Enterprise Ultimate plans](https://www.postman.com/pricing).
9120    #[serde(rename = "type")]
9121    pub post_workspaces_body_workspace_type: VisibilityEnum,
9122}
9123
9124#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9125pub struct PostWorkspacesResponse {
9126    /// Information about the created workspace.
9127    pub workspace: Option<PostWorkspacesResponseWorkspace>,
9128}
9129
9130#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9131pub struct PostWorkspacesResponseWorkspace {
9132    /// The workspace's ID.
9133    pub id: Option<String>,
9134
9135    /// The workspace's name.
9136    pub name: Option<String>,
9137}
9138
9139#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9140pub struct PostWorkspacesResponse400 {
9141    /// The error message.
9142    pub message: Option<String>,
9143
9144    /// The error name.
9145    pub name: Option<String>,
9146}
9147
9148#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9149pub struct PostWorkspacesResponse401 {
9150    pub error: Option<PostWorkspacesResponse401Error>,
9151}
9152
9153#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9154pub struct PostWorkspacesResponse401Error {
9155    /// The error message.
9156    pub message: Option<String>,
9157
9158    /// The error message.
9159    pub name: Option<String>,
9160}
9161
9162#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9163pub struct PostWorkspacesResponse404 {
9164    pub error: Option<PostWorkspacesResponse404Error>,
9165}
9166
9167#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9168pub struct PostWorkspacesResponse404Error {
9169    /// The error message.
9170    pub message: Option<String>,
9171
9172    /// The error name.
9173    pub name: Option<String>,
9174}
9175
9176#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9177pub struct PostWorkspacesResponse429 {
9178    /// The error name.
9179    pub error: Option<String>,
9180
9181    /// The error message.
9182    pub message: Option<String>,
9183}
9184
9185#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9186pub struct PostWorkspacesResponse500 {
9187    pub error: Option<PostWorkspacesResponse500Error>,
9188}
9189
9190#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9191pub struct PostWorkspacesResponse500Error {
9192    /// The error message.
9193    pub message: Option<String>,
9194
9195    /// The error name.
9196    pub name: Option<String>,
9197}
9198
9199#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9200pub struct PutApisApiIdBody {
9201    /// The API's description. This supports Markdown formatting.
9202    pub description: Option<String>,
9203
9204    /// The API's name.
9205    pub name: String,
9206
9207    /// The API's short summary.
9208    pub summary: Option<String>,
9209}
9210
9211#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9212#[serde(rename_all = "camelCase")]
9213pub struct PutApisApiIdCollectionsCollectionIdSyncWithSchemaTasksResponse {
9214    /// The created task ID. You can use this ID to track the status of syncing an API collection
9215    /// with an API schema.
9216    pub task_id: Option<String>,
9217}
9218
9219#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9220pub struct PutApisApiIdCollectionsCollectionIdSyncWithSchemaTasksResponse400 {
9221    /// Details about the error message.
9222    pub detail: Option<String>,
9223
9224    /// The generic description for the error's class.
9225    pub title: Option<String>,
9226
9227    /// The type of error.
9228    #[serde(rename = "type")]
9229    pub put_apis_api_id_collections_collection_id_sync_with_schema_tasks_response400_type: Option<String>,
9230}
9231
9232#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9233pub struct PutApisApiIdCollectionsCollectionIdSyncWithSchemaTasksResponse401 {
9234    /// Details about the error.
9235    pub detail: Option<String>,
9236
9237    /// The error instance.
9238    pub instance: Option<String>,
9239
9240    /// The HTTP status code.
9241    pub status: Option<f64>,
9242
9243    /// The generic description for the error's class.
9244    pub title: Option<String>,
9245
9246    /// The error type.
9247    #[serde(rename = "type")]
9248    pub put_apis_api_id_collections_collection_id_sync_with_schema_tasks_response401_type: Option<String>,
9249}
9250
9251#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9252pub struct PutApisApiIdCollectionsCollectionIdSyncWithSchemaTasksResponse403 {
9253    /// Details about the error message.
9254    pub detail: Option<String>,
9255
9256    /// The generic description for the error's class.
9257    pub title: Option<String>,
9258
9259    /// The type of error.
9260    #[serde(rename = "type")]
9261    pub put_apis_api_id_collections_collection_id_sync_with_schema_tasks_response403_type: Option<String>,
9262}
9263
9264#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9265pub struct PutApisApiIdCollectionsCollectionIdSyncWithSchemaTasksResponse404 {
9266    /// Details about the error message.
9267    pub detail: Option<String>,
9268
9269    /// The generic description for the error's class.
9270    pub title: Option<String>,
9271
9272    /// The type of error.
9273    #[serde(rename = "type")]
9274    pub put_apis_api_id_collections_collection_id_sync_with_schema_tasks_response404_type: Option<String>,
9275}
9276
9277#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9278pub struct PutApisApiIdCollectionsCollectionIdSyncWithSchemaTasksResponse422 {
9279    /// Details about the error.
9280    pub detail: Option<String>,
9281
9282    /// The generic description for the error's class.
9283    pub title: Option<String>,
9284
9285    /// The error type.
9286    #[serde(rename = "type")]
9287    pub put_apis_api_id_collections_collection_id_sync_with_schema_tasks_response422_type: Option<String>,
9288}
9289
9290#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9291#[serde(rename_all = "camelCase")]
9292pub struct PutApisApiIdResponse {
9293    /// The date and time at which the API was created.
9294    pub created_at: Option<String>,
9295
9296    /// The user ID of the user that created the API.
9297    pub created_by: Option<String>,
9298
9299    /// The API's description. This supports Markdown formatting.
9300    pub description: Option<String>,
9301
9302    /// The API's ID.
9303    pub id: Option<String>,
9304
9305    /// The API's name.
9306    pub name: String,
9307
9308    /// The API's summary.
9309    pub summary: Option<String>,
9310
9311    /// The date and time at which the API was last updated.
9312    pub updated_at: Option<String>,
9313
9314    /// The user ID of the user that updated the API.
9315    pub updated_by: Option<String>,
9316}
9317
9318#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9319pub struct PutApisApiIdResponse401 {
9320    /// Details about the error.
9321    pub detail: Option<String>,
9322
9323    /// The error instance.
9324    pub instance: Option<String>,
9325
9326    /// The HTTP status code.
9327    pub status: Option<f64>,
9328
9329    /// The generic description for the error's class.
9330    pub title: Option<String>,
9331
9332    /// The error type.
9333    #[serde(rename = "type")]
9334    pub put_apis_api_id_response401_type: Option<String>,
9335}
9336
9337#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9338pub struct PutApisApiIdResponse403 {
9339    /// Details about the error message.
9340    pub detail: Option<String>,
9341
9342    /// The generic description for the error's class.
9343    pub title: Option<String>,
9344
9345    /// The type of error.
9346    #[serde(rename = "type")]
9347    pub put_apis_api_id_response403_type: Option<String>,
9348}
9349
9350#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9351pub struct PutApisApiIdResponse404 {
9352    /// Details about the error message.
9353    pub detail: Option<String>,
9354
9355    /// The generic description for the error's class.
9356    pub title: Option<String>,
9357
9358    /// The type of error.
9359    #[serde(rename = "type")]
9360    pub put_apis_api_id_response404_type: Option<String>,
9361}
9362
9363#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9364pub struct PutApisApiIdResponse422 {
9365    /// Details about the error.
9366    pub detail: Option<String>,
9367
9368    /// The generic description for the error's class.
9369    pub title: Option<String>,
9370
9371    /// The error type.
9372    #[serde(rename = "type")]
9373    pub put_apis_api_id_response422_type: Option<String>,
9374}
9375
9376#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9377pub struct PutApisApiIdResponse500 {
9378    /// Details about the error message.
9379    pub detail: Option<String>,
9380
9381    /// The generic description for the error's class.
9382    pub title: Option<String>,
9383
9384    /// The type of error.
9385    #[serde(rename = "type")]
9386    pub put_apis_api_id_response500_type: Option<String>,
9387}
9388
9389#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9390pub struct PutApisApiIdSchemasSchemaIdFilesFilePathBody {
9391    /// The schema file's content.
9392    pub content: String,
9393
9394    /// The schema file's name.
9395    pub name: Option<String>,
9396
9397    /// Information about the schema's root file. This tag only applies to protobuf
9398    /// specifications.
9399    pub root: Option<PutApisApiIdSchemasSchemaIdFilesFilePathBodyRoot>,
9400}
9401
9402#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9403pub struct PutApisApiIdSchemasSchemaIdFilesFilePathBodyRoot {
9404    /// If true, tag the file as the root file.
9405    pub enabled: Option<bool>,
9406}
9407
9408#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9409#[serde(rename_all = "camelCase")]
9410pub struct PutApisApiIdSchemasSchemaIdFilesFilePathResponse {
9411    /// The date and time at which the file was created.
9412    pub created_at: Option<String>,
9413
9414    /// The user Id of the user that created the file.
9415    pub created_by: Option<String>,
9416
9417    /// The schema file's ID.
9418    pub id: Option<String>,
9419
9420    /// The schema file's name.
9421    pub name: Option<String>,
9422
9423    /// The file system path to the schema file.
9424    pub path: Option<String>,
9425
9426    /// The date and time at which the file was last updated.
9427    pub updated_at: Option<String>,
9428
9429    /// The user ID of the user that last updated the file.
9430    pub updated_by: Option<String>,
9431}
9432
9433#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9434pub struct PutApisApiIdSchemasSchemaIdFilesFilePathResponse400 {
9435    /// Details about the error.
9436    pub detail: Option<String>,
9437
9438    /// The generic description for the error's class.
9439    pub title: Option<String>,
9440
9441    /// The error type.
9442    #[serde(rename = "type")]
9443    pub put_apis_api_id_schemas_schema_id_files_file_path_response400_type: Option<String>,
9444}
9445
9446#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9447pub struct PutApisApiIdSchemasSchemaIdFilesFilePathResponse401 {
9448    /// Details about the error.
9449    pub detail: Option<String>,
9450
9451    /// The error instance.
9452    pub instance: Option<String>,
9453
9454    /// The HTTP status code.
9455    pub status: Option<f64>,
9456
9457    /// The generic description for the error's class.
9458    pub title: Option<String>,
9459
9460    /// The error type.
9461    #[serde(rename = "type")]
9462    pub put_apis_api_id_schemas_schema_id_files_file_path_response401_type: Option<String>,
9463}
9464
9465#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9466pub struct PutApisApiIdSchemasSchemaIdFilesFilePathResponse403 {
9467    /// Details about the error message.
9468    pub detail: Option<String>,
9469
9470    /// The generic description for the error's class.
9471    pub title: Option<String>,
9472
9473    /// The type of error.
9474    #[serde(rename = "type")]
9475    pub put_apis_api_id_schemas_schema_id_files_file_path_response403_type: Option<String>,
9476}
9477
9478#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9479pub struct PutApisApiIdSchemasSchemaIdFilesFilePathResponse404 {
9480    /// Details about the error message.
9481    pub detail: Option<String>,
9482
9483    /// The generic description for the error's class.
9484    pub title: Option<String>,
9485
9486    /// The type of error.
9487    #[serde(rename = "type")]
9488    pub put_apis_api_id_schemas_schema_id_files_file_path_response404_type: Option<String>,
9489}
9490
9491#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9492pub struct PutApisApiIdSchemasSchemaIdFilesFilePathResponse422 {
9493    /// Details about the error.
9494    pub detail: Option<String>,
9495
9496    /// The generic description for the error's class.
9497    pub title: Option<String>,
9498
9499    /// The error type.
9500    #[serde(rename = "type")]
9501    pub put_apis_api_id_schemas_schema_id_files_file_path_response422_type: Option<String>,
9502}
9503
9504#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9505pub struct PutApisApiIdSchemasSchemaIdFilesFilePathResponse500 {
9506    /// Details about the error message.
9507    pub detail: Option<String>,
9508
9509    /// The generic description for the error's class.
9510    pub title: Option<String>,
9511
9512    /// The type of error.
9513    #[serde(rename = "type")]
9514    pub put_apis_api_id_schemas_schema_id_files_file_path_response500_type: Option<String>,
9515}
9516
9517#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9518pub struct PutApisApiIdTagsBody {
9519    /// A list of the associated tags as slugs.
9520    pub tags: Vec<PutApisApiIdTagsBodyTagsItem>,
9521}
9522
9523#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9524pub struct PutApisApiIdTagsBodyTagsItem {
9525    /// The tag's ID within a team or individual (non-team) user scope.
9526    pub slug: String,
9527}
9528
9529#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9530pub struct PutApisApiIdTagsResponse {
9531    /// A list of associated tags.
9532    pub tags: Option<Vec<PutApisApiIdTagsResponseTagsItem>>,
9533}
9534
9535#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9536pub struct PutApisApiIdTagsResponseTagsItem {
9537    /// The tag's ID within a team or individual (non-team) user scope.
9538    pub slug: Option<String>,
9539}
9540
9541#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9542pub struct PutApisApiIdTagsResponse400 {
9543    /// Information about the error.
9544    pub detail: Option<String>,
9545
9546    /// The error's HTTP status code.
9547    pub status: Option<i64>,
9548
9549    /// A short summary of the problem.
9550    pub title: Option<String>,
9551
9552    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
9553    /// the type of problem.
9554    #[serde(rename = "type")]
9555    pub put_apis_api_id_tags_response400_type: Option<String>,
9556}
9557
9558#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9559pub struct PutApisApiIdTagsResponse401 {
9560    /// Information about the error.
9561    pub detail: Option<String>,
9562
9563    /// The error's HTTP status code.
9564    pub status: Option<i64>,
9565
9566    /// A short summary of the problem.
9567    pub title: Option<String>,
9568
9569    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
9570    /// the type of problem.
9571    #[serde(rename = "type")]
9572    pub put_apis_api_id_tags_response401_type: Option<String>,
9573}
9574
9575#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9576pub struct PutApisApiIdTagsResponse403 {
9577    /// Information about the error.
9578    pub detail: Option<String>,
9579
9580    /// The error's HTTP status code.
9581    pub status: Option<i64>,
9582
9583    /// A short summary of the problem.
9584    pub title: Option<String>,
9585
9586    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
9587    /// the type of problem.
9588    #[serde(rename = "type")]
9589    pub put_apis_api_id_tags_response403_type: Option<String>,
9590}
9591
9592#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9593pub struct PutApisApiIdTagsResponse500 {
9594    /// Information about the error.
9595    pub detail: Option<String>,
9596
9597    /// The URI reference that identifies the specific occurrence of the problem.
9598    pub instance: Option<String>,
9599
9600    /// The error's HTTP status code.
9601    pub status: Option<i64>,
9602
9603    /// A short summary of the problem.
9604    pub title: Option<String>,
9605
9606    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
9607    /// the type of problem.
9608    #[serde(rename = "type")]
9609    pub put_apis_api_id_tags_response500_type: Option<String>,
9610}
9611
9612#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9613#[serde(rename_all = "camelCase")]
9614pub struct PutApisApiIdVersionsVersionIdBody {
9615    /// The version's name.
9616    pub name: String,
9617
9618    /// The version's Markdown-supported release notes.
9619    pub release_notes: Option<String>,
9620}
9621
9622#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9623#[serde(rename_all = "camelCase")]
9624pub struct PutApisApiIdVersionsVersionIdResponse {
9625    /// The date and time at which the version was created.
9626    pub created_at: Option<String>,
9627
9628    /// The version's ID.
9629    pub id: Option<String>,
9630
9631    /// The version's name.
9632    pub name: Option<String>,
9633
9634    /// The version's release notes.
9635    pub release_notes: Option<String>,
9636
9637    /// The date and time at which the version was last updated.
9638    pub updated_at: Option<String>,
9639}
9640
9641#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9642pub struct PutApisApiIdVersionsVersionIdResponse401 {
9643    /// Details about the error.
9644    pub detail: Option<String>,
9645
9646    /// The error instance.
9647    pub instance: Option<String>,
9648
9649    /// The HTTP status code.
9650    pub status: Option<f64>,
9651
9652    /// The generic description for the error's class.
9653    pub title: Option<String>,
9654
9655    /// The error type.
9656    #[serde(rename = "type")]
9657    pub put_apis_api_id_versions_version_id_response401_type: Option<String>,
9658}
9659
9660#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9661pub struct PutApisApiIdVersionsVersionIdResponse403 {
9662    /// Details about the error message.
9663    pub detail: Option<String>,
9664
9665    /// The generic description for the error's class.
9666    pub title: Option<String>,
9667
9668    /// The type of error.
9669    #[serde(rename = "type")]
9670    pub put_apis_api_id_versions_version_id_response403_type: Option<String>,
9671}
9672
9673#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9674pub struct PutApisApiIdVersionsVersionIdResponse404 {
9675    /// Details about the error message.
9676    pub detail: Option<String>,
9677
9678    /// The generic description for the error's class.
9679    pub title: Option<String>,
9680
9681    /// The type of error.
9682    #[serde(rename = "type")]
9683    pub put_apis_api_id_versions_version_id_response404_type: Option<String>,
9684}
9685
9686#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9687pub struct PutApisApiIdVersionsVersionIdResponse500 {
9688    /// Details about the error message.
9689    pub detail: Option<String>,
9690
9691    /// The generic description for the error's class.
9692    pub title: Option<String>,
9693
9694    /// The type of error.
9695    #[serde(rename = "type")]
9696    pub put_apis_api_id_versions_version_id_response500_type: Option<String>,
9697}
9698
9699#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9700pub struct PutCollectionsCollectionIdBody {
9701    /// For a complete list of values, refer to the [collection.json schema
9702    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
9703    pub collection: Option<PutCollectionsCollectionIdBodyCollection>,
9704}
9705
9706#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9707pub struct PutCollectionsCollectionIdBodyCollection {
9708    /// An object that contains basic information about the collection. For a complete list of
9709    /// values, refer to the `definitions.info` entry in the [collection.json schema
9710    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
9711    pub info: PutCollectionsCollectionIdBodyCollectionInfo,
9712
9713    /// Information about the collection's contents, such as folders, requests, and responses.
9714    /// For a complete list of values, refer to the `/tmp/.tmpopFoDz/item.json-group` entry in
9715    /// the [collection.json schema
9716    /// file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
9717    pub item: Vec<PutCollectionsCollectionIdBodyCollectionItemItem>,
9718}
9719
9720#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9721pub struct PutCollectionsCollectionIdBodyCollectionInfo {
9722    /// The collection's description.
9723    pub description: Option<String>,
9724
9725    /// The collection's name.
9726    pub name: String,
9727
9728    /// A URL to the collection's schema.
9729    pub schema: String,
9730}
9731
9732#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9733pub struct PutCollectionsCollectionIdBodyCollectionItemItem {
9734    /// The collection item's ID.
9735    pub id: Option<String>,
9736
9737    /// The collection item's name.
9738    pub name: Option<String>,
9739
9740    /// The collection item's unique ID.
9741    pub uid: Option<String>,
9742}
9743
9744#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9745pub struct PutCollectionsCollectionIdFoldersFolderIdBody {
9746    /// The folder's description.
9747    pub description: Option<String>,
9748
9749    /// The folder's name.
9750    pub name: Option<String>,
9751}
9752
9753#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9754pub struct PutCollectionsCollectionIdFoldersFolderIdResponse {
9755    /// The folder's updated information, including the updated properties. For a complete list
9756    /// of properties, refer to the [collection.json schema
9757    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
9758    pub data: Option<PutCollectionsCollectionIdFoldersFolderIdResponseData>,
9759
9760    pub meta: Option<serde_json::Value>,
9761
9762    /// The folder's ID.
9763    pub model_id: Option<String>,
9764
9765    /// An internal revision ID. Its value increments each time the resource changes. You can use
9766    /// this ID to track whether there were changes since the last time you fetched the resource.
9767    pub revision: Option<f64>,
9768}
9769
9770#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9771#[serde(rename_all = "camelCase")]
9772pub struct PutCollectionsCollectionIdFoldersFolderIdResponseData {
9773    /// The collection ID that the folder belongs to.
9774    pub collection: Option<String>,
9775
9776    /// The folder's creation date and time.
9777    pub created_at: Option<String>,
9778
9779    /// The folder's description.
9780    pub description: Option<String>,
9781
9782    /// Information about the folder.
9783    pub folder: Option<String>,
9784
9785    /// The folder's ID.
9786    pub id: Option<String>,
9787
9788    /// An internal revision ID. Its value increments each time the resource changes. You can use
9789    /// this ID to track whether there were changes since the last time you fetched the resource.
9790    pub last_revision: Option<f64>,
9791
9792    /// The user ID of the user that last updated the folder.
9793    pub last_updated_by: Option<String>,
9794
9795    /// The folder's name.
9796    pub name: Option<String>,
9797
9798    /// The user ID of the folder's owner.
9799    pub owner: Option<String>,
9800
9801    /// The date and time at which the folder was last updated.
9802    pub updated_at: Option<String>,
9803}
9804
9805#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9806pub struct PutCollectionsCollectionIdFoldersFolderIdResponse400 {
9807    pub error: Option<PutCollectionsCollectionIdFoldersFolderIdResponse400Error>,
9808}
9809
9810#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9811pub struct PutCollectionsCollectionIdFoldersFolderIdResponse400Error {
9812    /// Information about the error.
9813    pub details: Option<PutCollectionsCollectionIdFoldersFolderIdResponse400ErrorDetails>,
9814
9815    /// The error message.
9816    pub message: Option<String>,
9817
9818    /// The error name.
9819    pub name: Option<String>,
9820}
9821
9822#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9823pub struct PutCollectionsCollectionIdFoldersFolderIdResponse400ErrorDetails {
9824    /// The resource name.
9825    pub model: Option<String>,
9826
9827    /// The folder's ID.
9828    pub model_id: Option<String>,
9829
9830    /// The user ID of the folder's owner.
9831    pub owner: Option<String>,
9832}
9833
9834#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9835pub struct PutCollectionsCollectionIdFoldersFolderIdResponse401 {
9836    pub error: Option<PutCollectionsCollectionIdFoldersFolderIdResponse401Error>,
9837}
9838
9839#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9840pub struct PutCollectionsCollectionIdFoldersFolderIdResponse401Error {
9841    /// Information about the error.
9842    pub details: Option<PutCollectionsCollectionIdFoldersFolderIdResponse401ErrorDetails>,
9843
9844    /// The error's message.
9845    pub message: Option<String>,
9846
9847    /// The error name.
9848    pub name: Option<String>,
9849}
9850
9851#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9852pub struct PutCollectionsCollectionIdFoldersFolderIdResponse401ErrorDetails {
9853    /// The resource name.
9854    pub model: Option<String>,
9855
9856    /// The folder's ID.
9857    pub model_id: Option<String>,
9858
9859    /// The user ID of the folder's owner.
9860    pub owner: Option<String>,
9861}
9862
9863#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9864pub struct PutCollectionsCollectionIdFoldersFolderIdResponse404 {
9865    pub error: Option<PutCollectionsCollectionIdFoldersFolderIdResponse404Error>,
9866}
9867
9868#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9869pub struct PutCollectionsCollectionIdFoldersFolderIdResponse404Error {
9870    /// Information about the error.
9871    pub details: Option<PutCollectionsCollectionIdFoldersFolderIdResponse404ErrorDetails>,
9872
9873    /// The error message.
9874    pub message: Option<String>,
9875
9876    /// The error name.
9877    pub name: Option<String>,
9878}
9879
9880#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9881pub struct PutCollectionsCollectionIdFoldersFolderIdResponse404ErrorDetails {
9882    /// The resource name.
9883    pub model: Option<String>,
9884
9885    /// The folder's ID.
9886    pub model_id: Option<String>,
9887
9888    /// The user ID of the folder's owner.
9889    pub owner: Option<String>,
9890}
9891
9892#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9893pub struct PutCollectionsCollectionIdFoldersFolderIdResponse500 {
9894    /// Details about the error message.
9895    pub detail: Option<String>,
9896
9897    /// The generic description for the error's class.
9898    pub title: Option<String>,
9899
9900    /// The type of error.
9901    #[serde(rename = "type")]
9902    pub put_collections_collection_id_folders_folder_id_response500_type: Option<String>,
9903}
9904
9905#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9906pub struct PutCollectionsCollectionIdRequestsRequestIdBody {
9907    /// The request's method.
9908    pub method: Option<Method>,
9909
9910    /// The request's name.
9911    pub name: Option<String>,
9912}
9913
9914#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9915pub enum Method {
9916    #[serde(rename = "COPY")]
9917    Copy,
9918
9919    #[serde(rename = "DELETE")]
9920    Delete,
9921
9922    #[serde(rename = "GET")]
9923    Get,
9924
9925    #[serde(rename = "HEAD")]
9926    Head,
9927
9928    #[serde(rename = "LINK")]
9929    Link,
9930
9931    #[serde(rename = "LOCK")]
9932    Lock,
9933
9934    #[serde(rename = "OPTIONS")]
9935    Options,
9936
9937    #[serde(rename = "PATCH")]
9938    Patch,
9939
9940    #[serde(rename = "POST")]
9941    Post,
9942
9943    #[serde(rename = "PROPFIND")]
9944    Propfind,
9945
9946    #[serde(rename = "PURGE")]
9947    Purge,
9948
9949    #[serde(rename = "PUT")]
9950    Put,
9951
9952    #[serde(rename = "UNLINK")]
9953    Unlink,
9954
9955    #[serde(rename = "UNLOCK")]
9956    Unlock,
9957
9958    #[serde(rename = "VIEW")]
9959    View,
9960}
9961
9962#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9963pub struct PutCollectionsCollectionIdRequestsRequestIdResponse {
9964    /// Information about the updated request. For a complete list of properties, refer to the
9965    /// `definitions.request` property in the [collection.json schema
9966    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
9967    pub data: Option<PutCollectionsCollectionIdRequestsRequestIdResponseData>,
9968
9969    pub meta: Option<serde_json::Value>,
9970
9971    /// The request's ID.
9972    pub model_id: Option<String>,
9973
9974    /// An internal revision ID. Its value increments each time the resource changes. You can use
9975    /// this ID to track whether there were changes since the last time you fetched the resource.
9976    pub revision: Option<f64>,
9977}
9978
9979#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
9980#[serde(rename_all = "camelCase")]
9981pub struct PutCollectionsCollectionIdRequestsRequestIdResponseData {
9982    /// The request's creation date and time.
9983    pub created_at: Option<String>,
9984
9985    /// The request's description.
9986    pub description: Option<String>,
9987
9988    /// The request's ID.
9989    pub id: Option<String>,
9990
9991    /// An internal revision ID. Its value increments each time the resource changes. You can use
9992    /// this ID to track whether there were changes since the last time you fetched the resource.
9993    pub last_revision: Option<f64>,
9994
9995    /// The user ID of the user that last updated the request.
9996    pub last_updated_by: Option<String>,
9997
9998    /// The request's name.
9999    pub name: Option<String>,
10000
10001    /// The user ID of the request's owner.
10002    pub owner: Option<String>,
10003
10004    /// The date and time at which the request was last updated.
10005    pub updated_at: Option<String>,
10006}
10007
10008#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10009pub struct PutCollectionsCollectionIdRequestsRequestIdResponse400 {
10010    pub error: Option<PutCollectionsCollectionIdRequestsRequestIdResponse400Error>,
10011}
10012
10013#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10014pub struct PutCollectionsCollectionIdRequestsRequestIdResponse400Error {
10015    /// Information about the error.
10016    pub details: Option<PutCollectionsCollectionIdRequestsRequestIdResponse400ErrorDetails>,
10017
10018    /// The error message.
10019    pub message: Option<String>,
10020
10021    /// The error name.
10022    pub name: Option<String>,
10023}
10024
10025#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10026pub struct PutCollectionsCollectionIdRequestsRequestIdResponse400ErrorDetails {
10027    /// The resource name.
10028    pub model: Option<String>,
10029
10030    /// The request's ID.
10031    pub model_id: Option<String>,
10032
10033    /// The user ID of the request's owner.
10034    pub owner: Option<String>,
10035}
10036
10037#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10038pub struct PutCollectionsCollectionIdRequestsRequestIdResponse401 {
10039    pub error: Option<PutCollectionsCollectionIdRequestsRequestIdResponse401Error>,
10040}
10041
10042#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10043pub struct PutCollectionsCollectionIdRequestsRequestIdResponse401Error {
10044    /// Information about the error.
10045    pub details: Option<PutCollectionsCollectionIdRequestsRequestIdResponse401ErrorDetails>,
10046
10047    /// The error's message.
10048    pub message: Option<String>,
10049
10050    /// The error's name.
10051    pub name: Option<String>,
10052}
10053
10054#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10055pub struct PutCollectionsCollectionIdRequestsRequestIdResponse401ErrorDetails {
10056    /// The resource name.
10057    pub model: Option<String>,
10058
10059    /// The request's ID.
10060    pub model_id: Option<String>,
10061
10062    /// The user ID of the request's owner.
10063    pub owner: Option<String>,
10064}
10065
10066#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10067pub struct PutCollectionsCollectionIdRequestsRequestIdResponse404 {
10068    pub error: Option<PutCollectionsCollectionIdRequestsRequestIdResponse404Error>,
10069}
10070
10071#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10072pub struct PutCollectionsCollectionIdRequestsRequestIdResponse404Error {
10073    /// Information about the error.
10074    pub details: Option<PutCollectionsCollectionIdRequestsRequestIdResponse404ErrorDetails>,
10075
10076    /// The error message.
10077    pub message: Option<String>,
10078
10079    /// The error name.
10080    pub name: Option<String>,
10081}
10082
10083#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10084pub struct PutCollectionsCollectionIdRequestsRequestIdResponse404ErrorDetails {
10085    /// The resource name.
10086    pub model: Option<String>,
10087
10088    /// The request's ID.
10089    pub model_id: Option<String>,
10090
10091    /// The user ID of the request's owner.
10092    pub owner: Option<String>,
10093}
10094
10095#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10096pub struct PutCollectionsCollectionIdRequestsRequestIdResponse500 {
10097    /// Details about the error message.
10098    pub detail: Option<String>,
10099
10100    /// The generic description for the error's class.
10101    pub title: Option<String>,
10102
10103    /// The type of error.
10104    #[serde(rename = "type")]
10105    pub put_collections_collection_id_requests_request_id_response500_type: Option<String>,
10106}
10107
10108#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10109pub struct PutCollectionsCollectionIdResponse {
10110    pub collection: Option<PutCollectionsCollectionIdResponseCollection>,
10111}
10112
10113#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10114pub struct PutCollectionsCollectionIdResponseCollection {
10115    /// The collection's ID.
10116    pub id: Option<String>,
10117
10118    /// The collection's name.
10119    pub name: Option<String>,
10120
10121    /// The collection's unique ID.
10122    pub uid: Option<String>,
10123}
10124
10125#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10126pub struct PutCollectionsCollectionIdResponse400 {
10127    pub error: Option<PutCollectionsCollectionIdResponse400Error>,
10128}
10129
10130#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10131pub struct PutCollectionsCollectionIdResponse400Error {
10132    /// Information about the error.
10133    pub details: Option<Vec<String>>,
10134
10135    /// The error message.
10136    pub message: Option<String>,
10137
10138    /// The error name.
10139    pub name: Option<String>,
10140}
10141
10142#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10143pub struct PutCollectionsCollectionIdResponse401 {
10144    pub error: Option<PutCollectionsCollectionIdResponse401Error>,
10145}
10146
10147#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10148pub struct PutCollectionsCollectionIdResponse401Error {
10149    /// The error message.
10150    pub message: Option<String>,
10151
10152    /// The error message.
10153    pub name: Option<String>,
10154}
10155
10156#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10157pub struct PutCollectionsCollectionIdResponse403 {
10158    pub error: Option<PutCollectionsCollectionIdResponse403Error>,
10159}
10160
10161#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10162pub struct PutCollectionsCollectionIdResponse403Error {
10163    /// The error message.
10164    pub message: Option<String>,
10165
10166    /// The error name.
10167    pub name: Option<String>,
10168}
10169
10170#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10171pub struct PutCollectionsCollectionIdResponse404 {
10172    pub error: Option<PutCollectionsCollectionIdResponse404Error>,
10173}
10174
10175#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10176pub struct PutCollectionsCollectionIdResponse404Error {
10177    /// Information about the error.
10178    pub details: Option<PutCollectionsCollectionIdResponse404ErrorDetails>,
10179
10180    /// The error message.
10181    pub message: Option<String>,
10182
10183    /// The error name.
10184    pub name: Option<String>,
10185}
10186
10187#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10188pub struct PutCollectionsCollectionIdResponse404ErrorDetails {
10189    /// The collection ID.
10190    pub id: Option<String>,
10191
10192    /// The instance item.
10193    pub item: Option<String>,
10194}
10195
10196#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10197pub struct PutCollectionsCollectionIdResponse429 {
10198    /// The error name.
10199    pub error: Option<String>,
10200
10201    /// The error message.
10202    pub message: Option<String>,
10203}
10204
10205#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10206pub struct PutCollectionsCollectionIdResponse500 {
10207    pub error: Option<PutCollectionsCollectionIdResponse500Error>,
10208}
10209
10210#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10211pub struct PutCollectionsCollectionIdResponse500Error {
10212    /// The error message.
10213    pub message: Option<String>,
10214
10215    /// The error name.
10216    pub name: Option<String>,
10217}
10218
10219#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10220#[serde(rename_all = "camelCase")]
10221pub struct PutCollectionsCollectionIdResponsesResponseIdBody {
10222    /// The response's name.
10223    pub name: Option<String>,
10224
10225    /// The response's HTTP response code information.
10226    pub response_code: Option<PutCollectionsCollectionIdResponsesResponseIdBodyResponseCode>,
10227}
10228
10229#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10230pub struct PutCollectionsCollectionIdResponsesResponseIdBodyResponseCode {
10231    /// The response's HTTP response status code.
10232    pub code: Option<f64>,
10233
10234    /// The name of the status code.
10235    pub name: Option<String>,
10236}
10237
10238#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10239pub struct PutCollectionsCollectionIdResponsesResponseIdResponse {
10240    /// Information about the updated response. For a complete list of request properties, refer
10241    /// to the `definitions.request` property in the [collection.json schema
10242    /// file](https://schema.postman.com/collection/json/v1.0.0/draft-07/collection.json).
10243    pub data: Option<PutCollectionsCollectionIdResponsesResponseIdResponseData>,
10244
10245    pub meta: Option<serde_json::Value>,
10246
10247    /// The request's ID.
10248    pub model_id: Option<String>,
10249}
10250
10251#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10252#[serde(rename_all = "camelCase")]
10253pub struct PutCollectionsCollectionIdResponsesResponseIdResponseData {
10254    /// The request's creation date and time.
10255    pub created_at: Option<String>,
10256
10257    /// The request's ID.
10258    pub id: Option<String>,
10259
10260    /// An internal revision ID. Its value increments each time the resource changes. You can use
10261    /// this ID to track whether there were changes since the last time you fetched the resource.
10262    pub last_revision: Option<i64>,
10263
10264    /// The user ID of the user that last updated the request.
10265    pub last_updated_by: Option<String>,
10266
10267    /// The request's name.
10268    pub name: Option<String>,
10269
10270    /// The user ID of the request's owner.
10271    pub owner: Option<String>,
10272
10273    /// The date and time at which the request was last updated.
10274    pub updated_at: Option<String>,
10275}
10276
10277#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10278pub struct PutCollectionsCollectionIdResponsesResponseIdResponse400 {
10279    pub error: Option<PutCollectionsCollectionIdResponsesResponseIdResponse400Error>,
10280}
10281
10282#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10283pub struct PutCollectionsCollectionIdResponsesResponseIdResponse400Error {
10284    /// Information about the error.
10285    pub details: Option<PutCollectionsCollectionIdResponsesResponseIdResponse400ErrorDetails>,
10286
10287    /// The error message.
10288    pub message: Option<String>,
10289
10290    /// The error name.
10291    pub name: Option<String>,
10292}
10293
10294#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10295pub struct PutCollectionsCollectionIdResponsesResponseIdResponse400ErrorDetails {
10296    /// The resource name.
10297    pub model: Option<String>,
10298
10299    /// The response's ID.
10300    pub model_id: Option<String>,
10301
10302    /// The user ID of the response's owner.
10303    pub owner: Option<String>,
10304}
10305
10306#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10307pub struct PutCollectionsCollectionIdResponsesResponseIdResponse401 {
10308    pub error: Option<PutCollectionsCollectionIdResponsesResponseIdResponse401Error>,
10309}
10310
10311#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10312pub struct PutCollectionsCollectionIdResponsesResponseIdResponse401Error {
10313    /// Information about the error.
10314    pub details: Option<PutCollectionsCollectionIdResponsesResponseIdResponse401ErrorDetails>,
10315
10316    /// The error message.
10317    pub message: Option<String>,
10318
10319    /// The error name.
10320    pub name: Option<String>,
10321}
10322
10323#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10324pub struct PutCollectionsCollectionIdResponsesResponseIdResponse401ErrorDetails {
10325    /// The resource name.
10326    pub model: Option<String>,
10327
10328    /// The response's ID.
10329    pub model_id: Option<String>,
10330
10331    /// The user ID of the response's owner.
10332    pub owner: Option<String>,
10333}
10334
10335#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10336pub struct PutCollectionsCollectionIdResponsesResponseIdResponse404 {
10337    pub error: Option<PutCollectionsCollectionIdResponsesResponseIdResponse404Error>,
10338}
10339
10340#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10341pub struct PutCollectionsCollectionIdResponsesResponseIdResponse404Error {
10342    /// Information about the error.
10343    pub details: Option<PutCollectionsCollectionIdResponsesResponseIdResponse404ErrorDetails>,
10344
10345    /// The error message.
10346    pub message: Option<String>,
10347
10348    /// The error name.
10349    pub name: Option<String>,
10350}
10351
10352#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10353pub struct PutCollectionsCollectionIdResponsesResponseIdResponse404ErrorDetails {
10354    /// The resource name.
10355    pub model: Option<String>,
10356
10357    /// The response's ID.
10358    pub model_id: Option<String>,
10359
10360    /// The user ID of the response's owner.
10361    pub owner: Option<String>,
10362}
10363
10364#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10365pub struct PutCollectionsCollectionIdResponsesResponseIdResponse500 {
10366    /// Details about the error message.
10367    pub detail: Option<String>,
10368
10369    /// The generic description for the error's class.
10370    pub title: Option<String>,
10371
10372    /// The type of error.
10373    #[serde(rename = "type")]
10374    pub put_collections_collection_id_responses_response_id_response500_type: Option<String>,
10375}
10376
10377#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10378pub struct PutCollectionsCollectionIdTagsBody {
10379    /// A list of the associated tags as slugs.
10380    pub tags: Vec<PutCollectionsCollectionIdTagsBodyTagsItem>,
10381}
10382
10383#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10384pub struct PutCollectionsCollectionIdTagsBodyTagsItem {
10385    /// The tag's ID within a team or individual (non-team) user scope.
10386    pub slug: String,
10387}
10388
10389#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10390pub struct PutCollectionsCollectionIdTagsResponse {
10391    /// A list of associated tags.
10392    pub tags: Option<Vec<PutCollectionsCollectionIdTagsResponseTagsItem>>,
10393}
10394
10395#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10396pub struct PutCollectionsCollectionIdTagsResponseTagsItem {
10397    /// The tag's ID within a team or individual (non-team) user scope.
10398    pub slug: Option<String>,
10399}
10400
10401#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10402pub struct PutCollectionsCollectionIdTagsResponse400 {
10403    /// Information about the error.
10404    pub detail: Option<String>,
10405
10406    /// The error's HTTP status code.
10407    pub status: Option<i64>,
10408
10409    /// A short summary of the problem.
10410    pub title: Option<String>,
10411
10412    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
10413    /// the type of problem.
10414    #[serde(rename = "type")]
10415    pub put_collections_collection_id_tags_response400_type: Option<String>,
10416}
10417
10418#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10419pub struct PutCollectionsCollectionIdTagsResponse401 {
10420    /// Information about the error.
10421    pub detail: Option<String>,
10422
10423    /// The error's HTTP status code.
10424    pub status: Option<i64>,
10425
10426    /// A short summary of the problem.
10427    pub title: Option<String>,
10428
10429    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
10430    /// the type of problem.
10431    #[serde(rename = "type")]
10432    pub put_collections_collection_id_tags_response401_type: Option<String>,
10433}
10434
10435#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10436pub struct PutCollectionsCollectionIdTagsResponse403 {
10437    /// Information about the error.
10438    pub detail: Option<String>,
10439
10440    /// The error's HTTP status code.
10441    pub status: Option<i64>,
10442
10443    /// A short summary of the problem.
10444    pub title: Option<String>,
10445
10446    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
10447    /// the type of problem.
10448    #[serde(rename = "type")]
10449    pub put_collections_collection_id_tags_response403_type: Option<String>,
10450}
10451
10452#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10453pub struct PutCollectionsCollectionIdTagsResponse404 {
10454    /// Information about the error.
10455    pub detail: Option<String>,
10456
10457    /// The URI reference that identifies the specific occurrence of the problem.
10458    pub instance: Option<String>,
10459
10460    /// The error's HTTP status code.
10461    pub status: Option<i64>,
10462
10463    /// A short summary of the problem.
10464    pub title: Option<String>,
10465
10466    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
10467    /// the type of problem.
10468    #[serde(rename = "type")]
10469    pub put_collections_collection_id_tags_response404_type: Option<String>,
10470}
10471
10472#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10473pub struct PutCollectionsCollectionIdTagsResponse500 {
10474    /// Information about the error.
10475    pub detail: Option<String>,
10476
10477    /// The URI reference that identifies the specific occurrence of the problem.
10478    pub instance: Option<String>,
10479
10480    /// The error's HTTP status code.
10481    pub status: Option<i64>,
10482
10483    /// A short summary of the problem.
10484    pub title: Option<String>,
10485
10486    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
10487    /// the type of problem.
10488    #[serde(rename = "type")]
10489    pub put_collections_collection_id_tags_response500_type: Option<String>,
10490}
10491
10492#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10493#[serde(rename_all = "camelCase")]
10494pub struct PutDetectedSecretsSecretIdBody {
10495    /// The secret's updated resolution status:
10496    /// - `FALSE_POSITIVE` — The discovered secret is not an actual secret.
10497    /// - `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.
10498    /// - `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of
10499    /// publishing it.
10500    pub resolution: Resolution,
10501
10502    /// The ID of the workspace that contains the secret.
10503    pub workspace_id: String,
10504}
10505
10506#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10507#[serde(rename_all = "camelCase")]
10508pub struct PutDetectedSecretsSecretIdResponse {
10509    /// The history of the secret's resolution status changes.
10510    pub history: Option<Vec<PutDetectedSecretsSecretIdResponseHistoryItem>>,
10511
10512    /// The secret's current resolution status:
10513    /// - `ACTIVE` — The secret is active.
10514    /// - `FALSE_POSITIVE` — The discovered secret is not an actual secret.
10515    /// - `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.
10516    /// - `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of
10517    /// publishing it.
10518    pub resolution: Option<ResolutionEnum>,
10519
10520    /// The SHA-256 hash of the detected secret.
10521    pub secret_hash: Option<String>,
10522
10523    /// The ID of the workspace that contains the secret.
10524    pub workspace_id: Option<String>,
10525}
10526
10527#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10528#[serde(rename_all = "camelCase")]
10529pub struct PutDetectedSecretsSecretIdResponseHistoryItem {
10530    /// The ID of the user that updated the secret's resolution status.
10531    pub actor: Option<f64>,
10532
10533    /// The date and time at which the resolution status was updated.
10534    pub created_at: Option<String>,
10535
10536    /// The secret's updated resolution status:
10537    /// - `ACTIVE` — The secret is active.
10538    /// - `FALSE_POSITIVE` — The discovered secret is not an actual secret.
10539    /// - `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.
10540    /// - `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of
10541    /// publishing it.
10542    pub resolution: Option<ResolutionEnum>,
10543}
10544
10545#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10546pub struct PutDetectedSecretsSecretIdResponse401 {
10547    /// The instance identifying the specific occurrence of the problem.
10548    pub instance: Option<String>,
10549
10550    /// The HTTP status code generated by the origin server.
10551    pub status: Option<f64>,
10552
10553    /// The generic description for the error's class.
10554    pub title: Option<String>,
10555
10556    /// The type of error.
10557    #[serde(rename = "type")]
10558    pub put_detected_secrets_secret_id_response401_type: Option<String>,
10559}
10560
10561#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10562pub struct PutDetectedSecretsSecretIdResponse403 {
10563    /// The instance identifying the specific occurrence of the problem.
10564    pub instance: Option<String>,
10565
10566    /// The HTTP status code generated by the origin server.
10567    pub status: Option<f64>,
10568
10569    /// The generic description for the error's class.
10570    pub title: Option<String>,
10571
10572    /// The type of error.
10573    #[serde(rename = "type")]
10574    pub put_detected_secrets_secret_id_response403_type: Option<String>,
10575}
10576
10577#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10578pub struct PutDetectedSecretsSecretIdResponse500 {
10579    /// The instance identifying the specific occurrence of the problem.
10580    pub instance: Option<String>,
10581
10582    /// The HTTP status code generated by the origin server.
10583    pub status: Option<f64>,
10584
10585    /// The generic description for the error's class.
10586    pub title: Option<String>,
10587
10588    /// The type of error.
10589    #[serde(rename = "type")]
10590    pub put_detected_secrets_secret_id_response500_type: Option<String>,
10591}
10592
10593#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10594pub struct PutEnvironmentsEnvironmentIdBody {
10595    pub environment: Option<PutEnvironmentsEnvironmentIdBodyEnvironment>,
10596}
10597
10598#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10599pub struct PutEnvironmentsEnvironmentIdBodyEnvironment {
10600    /// The environment's name.
10601    pub name: String,
10602
10603    /// Information about the environment's variables.
10604    pub values: Option<Vec<Vec<PutEnvironmentsEnvironmentIdBodyEnvironmentValuesItemItem>>>,
10605}
10606
10607#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10608pub struct PutEnvironmentsEnvironmentIdBodyEnvironmentValuesItemItem {
10609    /// If true, the variable is enabled.
10610    pub enabled: Option<bool>,
10611
10612    /// The variable's name.
10613    pub key: Option<String>,
10614
10615    /// The variable type.
10616    #[serde(rename = "type")]
10617    pub put_environments_environment_id_body_environment_values_item_item_type: Option<PurpleType>,
10618
10619    /// The variable's value.
10620    pub value: Option<String>,
10621}
10622
10623#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10624pub struct PutEnvironmentsEnvironmentIdResponse {
10625    pub environment: Option<PutEnvironmentsEnvironmentIdResponseEnvironment>,
10626}
10627
10628#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10629pub struct PutEnvironmentsEnvironmentIdResponseEnvironment {
10630    pub id: Option<String>,
10631
10632    pub name: Option<String>,
10633
10634    pub uid: Option<String>,
10635}
10636
10637#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10638pub struct PutEnvironmentsEnvironmentIdResponse400 {
10639    pub error: Option<PutEnvironmentsEnvironmentIdResponse400Error>,
10640}
10641
10642#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10643pub struct PutEnvironmentsEnvironmentIdResponse400Error {
10644    /// The error message.
10645    pub message: Option<String>,
10646
10647    /// The error name.
10648    pub name: Option<String>,
10649}
10650
10651#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10652pub struct PutEnvironmentsEnvironmentIdResponse401 {
10653    pub error: Option<PutEnvironmentsEnvironmentIdResponse401Error>,
10654}
10655
10656#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10657pub struct PutEnvironmentsEnvironmentIdResponse401Error {
10658    /// The error message.
10659    pub message: Option<String>,
10660
10661    /// The error message.
10662    pub name: Option<String>,
10663}
10664
10665#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10666pub struct PutEnvironmentsEnvironmentIdResponse429 {
10667    /// The error name.
10668    pub error: Option<String>,
10669
10670    /// The error message.
10671    pub message: Option<String>,
10672}
10673
10674#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10675pub struct PutEnvironmentsEnvironmentIdResponse500 {
10676    pub error: Option<PutEnvironmentsEnvironmentIdResponse500Error>,
10677}
10678
10679#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10680pub struct PutEnvironmentsEnvironmentIdResponse500Error {
10681    /// The error message.
10682    pub message: Option<String>,
10683
10684    /// The error name.
10685    pub name: Option<String>,
10686}
10687
10688#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10689pub struct PutMocksMockIdBody {
10690    pub mock: Option<PutMocksMockIdBodyMock>,
10691}
10692
10693#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10694#[serde(rename_all = "camelCase")]
10695pub struct PutMocksMockIdBodyMock {
10696    /// The mock server's configuration settings.
10697    pub config: Option<PutMocksMockIdBodyMockConfig>,
10698
10699    /// The mock server's description.
10700    pub description: Option<String>,
10701
10702    /// The associated environment's unique ID.
10703    pub environment: Option<String>,
10704
10705    /// The mock server's name.
10706    pub name: Option<String>,
10707
10708    /// If true, the mock server is set private. By default, mock servers are public and can
10709    /// receive requests from anyone and anywhere.
10710    pub private: Option<bool>,
10711
10712    /// The API's version tag ID.
10713    pub version_tag: Option<String>,
10714}
10715
10716#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10717#[serde(rename_all = "camelCase")]
10718pub struct PutMocksMockIdBodyMockConfig {
10719    /// The server response ID. This sets the given server response as the default response for
10720    /// each request.
10721    ///
10722    /// To deactivate a server response, pass a null value.
10723    pub server_response_id: Option<String>,
10724}
10725
10726#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10727pub struct PutMocksMockIdResponse {
10728    pub mock: Option<PutMocksMockIdResponseMock>,
10729}
10730
10731#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10732#[serde(rename_all = "camelCase")]
10733pub struct PutMocksMockIdResponseMock {
10734    /// The mock's associated collection unique ID.
10735    pub collection: Option<String>,
10736
10737    /// Information about the mock server's configuration.
10738    pub config: Option<PutMocksMockIdResponseMockConfig>,
10739
10740    /// The date and time at which the mock server was created.
10741    pub created_at: Option<String>,
10742
10743    /// The mock server's associated environment ID.
10744    pub environment: Option<String>,
10745
10746    /// The mock server's ID.
10747    pub id: Option<String>,
10748
10749    /// The mock server URL.
10750    pub mock_url: Option<String>,
10751
10752    /// The mock server's name.
10753    pub name: Option<String>,
10754
10755    /// The ID of mock server's owner.
10756    pub owner: Option<String>,
10757
10758    /// The mock server's unique ID.
10759    pub uid: Option<String>,
10760
10761    /// The date and time at which the mock server was last updated.
10762    pub updated_at: Option<String>,
10763}
10764
10765#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10766#[serde(rename_all = "camelCase")]
10767pub struct PutMocksMockIdResponseMockConfig {
10768    /// A list of the mock server's headers.
10769    pub headers: Option<Vec<Option<serde_json::Value>>>,
10770
10771    /// If true, match the request body.
10772    pub match_body: Option<bool>,
10773
10774    /// If true, match query parameters.
10775    pub match_query_params: Option<bool>,
10776
10777    /// If true, use wildcard variable matching.
10778    pub match_wildcards: Option<bool>,
10779}
10780
10781#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10782pub struct PutMocksMockIdResponse401 {
10783    pub error: Option<PutMocksMockIdResponse401Error>,
10784}
10785
10786#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10787pub struct PutMocksMockIdResponse401Error {
10788    /// The error message.
10789    pub message: Option<String>,
10790
10791    /// The error message.
10792    pub name: Option<String>,
10793}
10794
10795#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10796pub struct PutMocksMockIdResponse404 {
10797    pub error: Option<PutMocksMockIdResponse404Error>,
10798}
10799
10800#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10801pub struct PutMocksMockIdResponse404Error {
10802    /// Information about the error.
10803    pub details: Option<Vec<String>>,
10804
10805    /// The error message.
10806    pub message: Option<String>,
10807
10808    /// The error name.
10809    pub name: Option<String>,
10810}
10811
10812#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10813pub struct PutMocksMockIdResponse429 {
10814    /// The error name.
10815    pub error: Option<String>,
10816
10817    /// The error message.
10818    pub message: Option<String>,
10819}
10820
10821#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10822pub struct PutMocksMockIdResponse500 {
10823    pub error: Option<PutMocksMockIdResponse500Error>,
10824}
10825
10826#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10827pub struct PutMocksMockIdResponse500Error {
10828    /// The error message.
10829    pub message: Option<String>,
10830
10831    /// The error name.
10832    pub name: Option<String>,
10833}
10834
10835#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10836#[serde(rename_all = "camelCase")]
10837pub struct PutMocksMockIdServerResponsesServerResponseIdBody {
10838    pub server_response: Option<PutMocksMockIdServerResponsesServerResponseIdBodyServerResponse>,
10839}
10840
10841#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10842#[serde(rename_all = "camelCase")]
10843pub struct PutMocksMockIdServerResponsesServerResponseIdBodyServerResponse {
10844    /// The server response's body that returns when calling the mock server.
10845    pub body: Option<String>,
10846
10847    /// The server response's request headers, such as Content-Type, Accept, encoding, and other
10848    /// information.
10849    pub headers: Option<Vec<PutMocksMockIdServerResponsesServerResponseIdBodyServerResponseHeadersItem>>,
10850
10851    /// The server response's body language type.
10852    pub language: Option<DeleteMocksMockIdServerResponsesServerResponseIdResponseLanguage>,
10853
10854    /// The server response's name.
10855    pub name: Option<String>,
10856
10857    /// The server response's 5xx HTTP response code. This property **only** accepts 5xx values.
10858    pub status_code: Option<i64>,
10859}
10860
10861#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10862pub struct PutMocksMockIdServerResponsesServerResponseIdBodyServerResponseHeadersItem {
10863    /// The request header's key value.
10864    pub key: Option<String>,
10865
10866    /// The request header's value.
10867    pub value: Option<String>,
10868}
10869
10870#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10871pub struct PutMocksMockIdServerResponsesServerResponseIdResponse400 {
10872    pub error: Option<PutMocksMockIdServerResponsesServerResponseIdResponse400Error>,
10873}
10874
10875#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10876pub struct PutMocksMockIdServerResponsesServerResponseIdResponse400Error {
10877    /// Information about the error.
10878    pub details: Option<PutMocksMockIdServerResponsesServerResponseIdResponse400ErrorDetails>,
10879
10880    /// The error message.
10881    pub message: Option<String>,
10882
10883    /// The error name.
10884    pub name: Option<String>,
10885}
10886
10887#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10888pub struct PutMocksMockIdServerResponsesServerResponseIdResponse400ErrorDetails {
10889    /// Information about the missing parameter.
10890    pub param: Option<Vec<String>>,
10891}
10892
10893#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10894pub struct PutMocksMockIdServerResponsesServerResponseIdResponse401 {
10895    pub error: Option<PutMocksMockIdServerResponsesServerResponseIdResponse401Error>,
10896}
10897
10898#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10899pub struct PutMocksMockIdServerResponsesServerResponseIdResponse401Error {
10900    /// The error message.
10901    pub message: Option<String>,
10902
10903    /// The error message.
10904    pub name: Option<String>,
10905}
10906
10907#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10908pub struct PutMocksMockIdServerResponsesServerResponseIdResponse429 {
10909    /// The error name.
10910    pub error: Option<String>,
10911
10912    /// The error message.
10913    pub message: Option<String>,
10914}
10915
10916#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10917pub struct PutMocksMockIdServerResponsesServerResponseIdResponse500 {
10918    pub error: Option<PutMocksMockIdServerResponsesServerResponseIdResponse500Error>,
10919}
10920
10921#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10922pub struct PutMocksMockIdServerResponsesServerResponseIdResponse500Error {
10923    /// The error message.
10924    pub message: Option<String>,
10925
10926    /// The error name.
10927    pub name: Option<String>,
10928}
10929
10930#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10931#[serde(rename_all = "camelCase")]
10932pub struct PutMocksMockIdServerResponsesServerResponseIdResponseItem {
10933    /// The date and time at which the server response was created.
10934    pub created_at: Option<String>,
10935
10936    /// The user ID of the user who created the server response.
10937    pub created_by: Option<String>,
10938
10939    /// The server response's ID.
10940    pub id: Option<String>,
10941
10942    /// The server response's name.
10943    pub name: Option<String>,
10944
10945    /// The server response's 5xx HTTP response code.
10946    pub status_code: Option<f64>,
10947
10948    /// The date and time at which the server response was last updated.
10949    pub updated_at: Option<String>,
10950
10951    /// The user ID of the user who last updated the server response.
10952    pub updated_by: Option<String>,
10953}
10954
10955#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10956pub struct PutMonitorsMonitorIdBody {
10957    pub monitor: Option<PutMonitorsMonitorIdBodyMonitor>,
10958}
10959
10960#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10961pub struct PutMonitorsMonitorIdBodyMonitor {
10962    /// The monitor's name.
10963    pub name: Option<String>,
10964
10965    /// Information about the monitor's schedule.
10966    pub schedule: Option<PutMonitorsMonitorIdBodyMonitorSchedule>,
10967}
10968
10969#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10970pub struct PutMonitorsMonitorIdBodyMonitorSchedule {
10971    pub cron: Option<serde_json::Value>,
10972
10973    /// The monitor's [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
10974    pub timezone: Option<String>,
10975}
10976
10977#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10978pub struct PutMonitorsMonitorIdResponse {
10979    pub monitor: Option<PutMonitorsMonitorIdResponseMonitor>,
10980}
10981
10982#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10983pub struct PutMonitorsMonitorIdResponseMonitor {
10984    /// The monitor's ID.
10985    pub id: Option<String>,
10986
10987    /// The monitor's name.
10988    pub name: Option<String>,
10989
10990    /// The monitor's unique ID.
10991    pub uid: Option<String>,
10992}
10993
10994#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
10995pub struct PutMonitorsMonitorIdResponse401 {
10996    pub error: Option<PutMonitorsMonitorIdResponse401Error>,
10997}
10998
10999#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11000pub struct PutMonitorsMonitorIdResponse401Error {
11001    /// The error message.
11002    pub message: Option<String>,
11003
11004    /// The error message.
11005    pub name: Option<String>,
11006}
11007
11008#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11009pub struct PutMonitorsMonitorIdResponse404 {
11010    pub error: Option<PutMonitorsMonitorIdResponse404Error>,
11011}
11012
11013#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11014pub struct PutMonitorsMonitorIdResponse404Error {
11015    /// The error message.
11016    pub message: Option<String>,
11017
11018    /// The error name.
11019    pub name: Option<String>,
11020}
11021
11022#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11023pub struct PutMonitorsMonitorIdResponse429 {
11024    /// The error name.
11025    pub error: Option<String>,
11026
11027    /// The error message.
11028    pub message: Option<String>,
11029}
11030
11031#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11032pub struct PutMonitorsMonitorIdResponse500 {
11033    pub error: Option<PutMonitorsMonitorIdResponse500Error>,
11034}
11035
11036#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11037pub struct PutMonitorsMonitorIdResponse500Error {
11038    /// The error message.
11039    pub message: Option<String>,
11040
11041    /// The error name.
11042    pub name: Option<String>,
11043}
11044
11045#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11046pub struct PutNetworkPrivateElementTypeElementIdResponse401 {
11047    pub error: Option<PutNetworkPrivateElementTypeElementIdResponse401Error>,
11048}
11049
11050#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11051pub struct PutNetworkPrivateElementTypeElementIdResponse401Error {
11052    /// The error message.
11053    pub message: Option<String>,
11054
11055    /// The error message.
11056    pub name: Option<String>,
11057}
11058
11059#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11060pub struct PutNetworkPrivateElementTypeElementIdResponse403 {
11061    pub error: Option<PutNetworkPrivateElementTypeElementIdResponse403Error>,
11062}
11063
11064#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11065pub struct PutNetworkPrivateElementTypeElementIdResponse403Error {
11066    /// The error message.
11067    pub message: Option<String>,
11068
11069    /// The error name.
11070    pub name: Option<String>,
11071}
11072
11073#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11074pub struct PutNetworkPrivateElementTypeElementIdResponse404 {
11075    pub error: Option<PutNetworkPrivateElementTypeElementIdResponse404Error>,
11076}
11077
11078#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11079pub struct PutNetworkPrivateElementTypeElementIdResponse404Error {
11080    /// The error message.
11081    pub message: Option<String>,
11082
11083    /// The error name.
11084    pub name: Option<String>,
11085}
11086
11087#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11088pub struct PutNetworkPrivateElementTypeElementIdResponse429 {
11089    /// The error name.
11090    pub error: Option<String>,
11091
11092    /// The error message.
11093    pub message: Option<String>,
11094}
11095
11096#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11097pub struct PutNetworkPrivateElementTypeElementIdResponse500 {
11098    pub error: Option<PutNetworkPrivateElementTypeElementIdResponse500Error>,
11099}
11100
11101#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11102pub struct PutNetworkPrivateElementTypeElementIdResponse500Error {
11103    /// The error message.
11104    pub message: Option<String>,
11105
11106    /// The error name.
11107    pub name: Option<String>,
11108}
11109
11110#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11111pub struct PutNetworkPrivateNetworkEntityRequestRequestIdBody {
11112    /// The response to the user's request.
11113    pub response: Option<PutNetworkPrivateNetworkEntityRequestRequestIdBodyResponse>,
11114
11115    /// The request's status.
11116    pub status: PutNetworkPrivateNetworkEntityRequestRequestIdBodyStatus,
11117}
11118
11119#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11120pub struct PutNetworkPrivateNetworkEntityRequestRequestIdBodyResponse {
11121    /// A message that details why the user's request was denied.
11122    pub message: Option<String>,
11123}
11124
11125#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11126#[serde(rename_all = "snake_case")]
11127pub enum PutNetworkPrivateNetworkEntityRequestRequestIdBodyStatus {
11128    Approved,
11129
11130    Denied,
11131}
11132
11133#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11134pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse {
11135    /// Information about the Private API Network request.
11136    pub request: Option<Vec<PutNetworkPrivateNetworkEntityRequestRequestIdResponseRequestItem>>,
11137}
11138
11139#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11140#[serde(rename_all = "camelCase")]
11141pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponseRequestItem {
11142    /// The date and time at which the request was created.
11143    pub created_at: Option<String>,
11144
11145    /// The ID of the user who created the request.
11146    pub created_by: Option<i64>,
11147
11148    /// Information about the requested element.
11149    pub element: Option<PutNetworkPrivateNetworkEntityRequestRequestIdResponseRequestItemElement>,
11150
11151    /// The request's ID.
11152    pub id: Option<i64>,
11153
11154    /// The user's optional message included in the request.
11155    pub message: Option<String>,
11156
11157    /// Information about the response to the element's request. This object only returns when
11158    /// the network manager denied a request with a message.
11159    pub response: Option<PutNetworkPrivateNetworkEntityRequestRequestIdResponseRequestItemResponse>,
11160
11161    /// The request's status.
11162    pub status: Option<PutNetworkPrivateNetworkEntityRequestRequestIdBodyStatus>,
11163}
11164
11165#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11166#[serde(rename_all = "camelCase")]
11167pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponseRequestItemElement {
11168    /// The date and time at which the element was approved and added to the Private API Network.
11169    pub created_at: Option<String>,
11170
11171    /// The user ID of the user who requested to add the element to the Private API Network.
11172    pub created_by: Option<i64>,
11173
11174    /// The element's ID.
11175    pub id: Option<String>,
11176
11177    /// The element's name.
11178    pub name: Option<String>,
11179
11180    /// The element's short summary.
11181    pub summary: Option<String>,
11182
11183    /// The element type.
11184    #[serde(rename = "type")]
11185    pub put_network_private_network_entity_request_request_id_response_request_item_element_type: Option<EntityTypeEnum>,
11186}
11187
11188#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11189#[serde(rename_all = "camelCase")]
11190pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponseRequestItemResponse {
11191    /// The date and time at which the network manager denied the request.
11192    pub created_at: Option<String>,
11193
11194    /// The network manager's user ID.
11195    pub created_by: Option<i64>,
11196
11197    /// The network manager's request response message.
11198    pub message: Option<String>,
11199}
11200
11201#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11202pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse400 {
11203    /// The error message.
11204    pub message: Option<String>,
11205
11206    /// The error name.
11207    pub name: Option<Name>,
11208}
11209
11210#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11211#[serde(rename_all = "camelCase")]
11212pub enum Name {
11213    #[serde(rename = "invalidParamsError")]
11214    InvalidParamsError,
11215
11216    #[serde(rename = "requestAlreadyResponded")]
11217    RequestAlreadyResponded,
11218
11219    #[serde(rename = "requestEntityAlreadyPublished")]
11220    RequestEntityAlreadyPublished,
11221
11222    #[serde(rename = "RequestNotFound")]
11223    RequestNotFound,
11224}
11225
11226#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11227pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse401 {
11228    pub error: Option<PutNetworkPrivateNetworkEntityRequestRequestIdResponse401Error>,
11229}
11230
11231#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11232pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse401Error {
11233    /// The error message.
11234    pub message: Option<String>,
11235
11236    /// The error message.
11237    pub name: Option<String>,
11238}
11239
11240#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11241pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse403 {
11242    pub error: Option<PutNetworkPrivateNetworkEntityRequestRequestIdResponse403Error>,
11243}
11244
11245#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11246pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse403Error {
11247    /// The error message.
11248    pub message: Option<String>,
11249
11250    /// The error name.
11251    pub name: Option<String>,
11252}
11253
11254#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11255pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse429 {
11256    /// The error name.
11257    pub error: Option<String>,
11258
11259    /// The error message.
11260    pub message: Option<String>,
11261}
11262
11263#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11264pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse500 {
11265    pub error: Option<PutNetworkPrivateNetworkEntityRequestRequestIdResponse500Error>,
11266}
11267
11268#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11269pub struct PutNetworkPrivateNetworkEntityRequestRequestIdResponse500Error {
11270    /// The error message.
11271    pub message: Option<String>,
11272
11273    /// The error name.
11274    pub name: Option<String>,
11275}
11276
11277#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11278pub struct PutScimV2UsersUserIdBody {
11279    /// Information about the user's name.
11280    pub name: Option<PutScimV2UsersUserIdBodyName>,
11281
11282    /// The SCIM schema resource URI.
11283    pub schemas: Option<Vec<String>>,
11284}
11285
11286#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11287#[serde(rename_all = "camelCase")]
11288pub struct PutScimV2UsersUserIdBodyName {
11289    /// The user's last name.
11290    pub family_name: Option<String>,
11291
11292    /// The user's first name.
11293    pub given_name: Option<String>,
11294}
11295
11296#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11297#[serde(rename_all = "camelCase")]
11298pub struct PutScimV2UsersUserIdResponse {
11299    /// If true, the team member is active.
11300    pub active: Option<bool>,
11301
11302    /// The team member's external ID.
11303    pub external_id: Option<String>,
11304
11305    /// The team member's SCIM ID.
11306    pub id: Option<String>,
11307
11308    /// The response's non-standard meta information.
11309    pub meta: Option<PutScimV2UsersUserIdResponseMeta>,
11310
11311    /// Information about the Postman team member.
11312    pub name: Option<PutScimV2UsersUserIdResponseName>,
11313
11314    /// A list of schema resource URIs.
11315    pub schemas: Option<Vec<String>>,
11316
11317    /// The team member's SCIM username.
11318    pub user_name: Option<String>,
11319}
11320
11321#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11322#[serde(rename_all = "camelCase")]
11323pub struct PutScimV2UsersUserIdResponseMeta {
11324    /// The date and time at which the team member was created.
11325    pub created: Option<String>,
11326
11327    /// The date and time at which the team member was last modified.
11328    pub last_modified: Option<String>,
11329
11330    /// The resource type.
11331    pub resource_type: Option<String>,
11332}
11333
11334#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11335#[serde(rename_all = "camelCase")]
11336pub struct PutScimV2UsersUserIdResponseName {
11337    /// The team member's last name.
11338    pub family_name: Option<String>,
11339
11340    /// The team member's first name.
11341    pub given_name: Option<String>,
11342}
11343
11344#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11345#[serde(rename_all = "camelCase")]
11346pub struct PutScimV2UsersUserIdResponse400 {
11347    /// Information about the error.
11348    pub detail: Option<String>,
11349
11350    /// A list of SCIM schema resource URIs.
11351    pub schemas: Option<Vec<String>>,
11352
11353    /// The SCIM type.
11354    pub scim_type: Option<String>,
11355
11356    /// The HTTP status code.
11357    pub status: Option<String>,
11358}
11359
11360#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11361pub struct PutScimV2UsersUserIdResponse401 {
11362    /// Information about the error.
11363    pub detail: Option<String>,
11364
11365    /// The SCIM schema resource URIs.
11366    pub schemas: Option<Vec<String>>,
11367
11368    /// The HTTP status code.
11369    pub status: Option<String>,
11370}
11371
11372#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11373pub struct PutScimV2UsersUserIdResponse403 {
11374    /// Information about the error.
11375    pub detail: Option<String>,
11376
11377    /// The SCIM schema resource URIs.
11378    pub schemas: Option<Vec<String>>,
11379
11380    /// The HTTP status code.
11381    pub status: Option<String>,
11382}
11383
11384#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11385pub struct PutScimV2UsersUserIdResponse404 {
11386    /// Information about the error.
11387    pub detail: Option<String>,
11388
11389    /// The SCIM schema resource URIs.
11390    pub schemas: Option<Vec<String>>,
11391
11392    /// The HTTP status code.
11393    pub status: Option<String>,
11394}
11395
11396#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11397pub struct PutScimV2UsersUserIdResponse429 {
11398    /// Information about the error.
11399    pub detail: Option<String>,
11400
11401    /// The SCIM schema resource URIs.
11402    pub schemas: Option<Vec<String>>,
11403
11404    /// The HTTP status code.
11405    pub status: Option<f64>,
11406}
11407
11408#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11409pub struct PutScimV2UsersUserIdResponse500 {
11410    /// Information about the error.
11411    pub detail: Option<String>,
11412
11413    /// The SCIM schema resource URIs.
11414    pub schemas: Option<Vec<String>>,
11415
11416    /// The HTTP status code.
11417    pub status: Option<String>,
11418}
11419
11420#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11421pub struct PutWorkspacesWorkspaceIdBody {
11422    pub workspace: Option<PutWorkspacesWorkspaceIdBodyWorkspace>,
11423}
11424
11425#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11426pub struct PutWorkspacesWorkspaceIdBodyWorkspace {
11427    /// The new workspace description.
11428    pub description: Option<String>,
11429
11430    /// The workspace's new name.
11431    pub name: Option<String>,
11432
11433    /// The new workspace visibility
11434    /// [type](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility).
11435    /// This property does **not** support the following workspace visibility changes:
11436    /// - `private` to `public`
11437    /// - `public` to `private`
11438    /// - `private` to `personal`
11439    /// - `team` to `personal`
11440    /// - `public` to `personal` for a team user
11441    #[serde(rename = "type")]
11442    pub put_workspaces_workspace_id_body_workspace_type: Option<WorkspaceVisibility>,
11443}
11444
11445#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11446pub struct PutWorkspacesWorkspaceIdGlobalVariablesBody {
11447    /// A list of the workspace's global variables.
11448    pub values: Option<Vec<GlobalVariable>>,
11449}
11450
11451#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11452pub struct PutWorkspacesWorkspaceIdGlobalVariablesResponse {
11453    /// A list of the workspace's global variables.
11454    pub values: Option<Vec<Vec<GlobalVariable>>>,
11455}
11456
11457#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11458pub struct PutWorkspacesWorkspaceIdGlobalVariablesResponse500 {
11459    /// Information about the error.
11460    pub detail: Option<String>,
11461
11462    /// The type of error.
11463    pub title: Option<String>,
11464
11465    /// The generic description for the error's class.
11466    #[serde(rename = "type")]
11467    pub put_workspaces_workspace_id_global_variables_response500_type: Option<String>,
11468}
11469
11470#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11471pub struct PutWorkspacesWorkspaceIdResponse {
11472    /// Information about the updated workspace.
11473    pub workspace: Option<PutWorkspacesWorkspaceIdResponseWorkspace>,
11474}
11475
11476#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11477pub struct PutWorkspacesWorkspaceIdResponseWorkspace {
11478    /// The workspace's ID.
11479    pub id: Option<String>,
11480
11481    /// The workspace's name.
11482    pub name: Option<String>,
11483}
11484
11485#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11486pub struct PutWorkspacesWorkspaceIdResponse400 {
11487    /// The error message.
11488    pub message: Option<String>,
11489
11490    /// The error name.
11491    pub name: Option<String>,
11492}
11493
11494#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11495pub struct PutWorkspacesWorkspaceIdResponse403 {
11496    pub error: Option<PutWorkspacesWorkspaceIdResponse403Error>,
11497}
11498
11499#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11500pub struct PutWorkspacesWorkspaceIdResponse403Error {
11501    /// The error message.
11502    pub message: Option<String>,
11503
11504    /// The error name.
11505    pub name: Option<String>,
11506}
11507
11508#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11509pub struct PutWorkspacesWorkspaceIdResponse404 {
11510    pub error: Option<PutWorkspacesWorkspaceIdResponse404Error>,
11511}
11512
11513#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11514pub struct PutWorkspacesWorkspaceIdResponse404Error {
11515    /// The error message.
11516    pub message: Option<String>,
11517
11518    /// The error name.
11519    pub name: Option<String>,
11520}
11521
11522#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11523pub struct PutWorkspacesWorkspaceIdResponse429 {
11524    /// The error name.
11525    pub error: Option<String>,
11526
11527    /// The error message.
11528    pub message: Option<String>,
11529}
11530
11531#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11532pub struct PutWorkspacesWorkspaceIdResponse500 {
11533    pub error: Option<PutWorkspacesWorkspaceIdResponse500Error>,
11534}
11535
11536#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11537pub struct PutWorkspacesWorkspaceIdResponse500Error {
11538    /// The error message.
11539    pub message: Option<String>,
11540
11541    /// The error name.
11542    pub name: Option<String>,
11543}
11544
11545#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11546pub struct PutWorkspacesWorkspaceIdTagsBody {
11547    /// A list of the associated tags as slugs.
11548    pub tags: Vec<PutWorkspacesWorkspaceIdTagsBodyTagsItem>,
11549}
11550
11551#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11552pub struct PutWorkspacesWorkspaceIdTagsBodyTagsItem {
11553    /// The tag's ID within a team or individual (non-team) user scope.
11554    pub slug: String,
11555}
11556
11557#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11558pub struct PutWorkspacesWorkspaceIdTagsResponse {
11559    /// A list of associated tags.
11560    pub tags: Option<Vec<PutWorkspacesWorkspaceIdTagsResponseTagsItem>>,
11561}
11562
11563#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11564pub struct PutWorkspacesWorkspaceIdTagsResponseTagsItem {
11565    /// The tag's ID within a team or individual (non-team) user scope.
11566    pub slug: Option<String>,
11567}
11568
11569#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11570pub struct PutWorkspacesWorkspaceIdTagsResponse400 {
11571    /// Information about the error.
11572    pub detail: Option<String>,
11573
11574    /// The error's HTTP status code.
11575    pub status: Option<i64>,
11576
11577    /// A short summary of the problem.
11578    pub title: Option<String>,
11579
11580    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
11581    /// the type of problem.
11582    #[serde(rename = "type")]
11583    pub put_workspaces_workspace_id_tags_response400_type: Option<String>,
11584}
11585
11586#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11587pub struct PutWorkspacesWorkspaceIdTagsResponse401 {
11588    /// Information about the error.
11589    pub detail: Option<String>,
11590
11591    /// The error's HTTP status code.
11592    pub status: Option<i64>,
11593
11594    /// A short summary of the problem.
11595    pub title: Option<String>,
11596
11597    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
11598    /// the type of problem.
11599    #[serde(rename = "type")]
11600    pub put_workspaces_workspace_id_tags_response401_type: Option<String>,
11601}
11602
11603#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11604pub struct PutWorkspacesWorkspaceIdTagsResponse403 {
11605    /// Information about the error.
11606    pub detail: Option<String>,
11607
11608    /// The error's HTTP status code.
11609    pub status: Option<i64>,
11610
11611    /// A short summary of the problem.
11612    pub title: Option<String>,
11613
11614    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
11615    /// the type of problem.
11616    #[serde(rename = "type")]
11617    pub put_workspaces_workspace_id_tags_response403_type: Option<String>,
11618}
11619
11620#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11621pub struct PutWorkspacesWorkspaceIdTagsResponse404 {
11622    /// Information about the error.
11623    pub detail: Option<String>,
11624
11625    /// The URI reference that identifies the specific occurrence of the problem.
11626    pub instance: Option<String>,
11627
11628    /// The error's HTTP status code.
11629    pub status: Option<i64>,
11630
11631    /// A short summary of the problem.
11632    pub title: Option<String>,
11633
11634    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
11635    /// the type of problem.
11636    #[serde(rename = "type")]
11637    pub put_workspaces_workspace_id_tags_response404_type: Option<String>,
11638}
11639
11640#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11641pub struct PutWorkspacesWorkspaceIdTagsResponse500 {
11642    /// Information about the error.
11643    pub detail: Option<String>,
11644
11645    /// The URI reference that identifies the specific occurrence of the problem.
11646    pub instance: Option<String>,
11647
11648    /// The error's HTTP status code.
11649    pub status: Option<i64>,
11650
11651    /// A short summary of the problem.
11652    pub title: Option<String>,
11653
11654    /// The URI reference ([RFC 3986](https://www.rfc-editor.org/rfc/rfc3986)) that identifies
11655    /// the type of problem.
11656    #[serde(rename = "type")]
11657    pub put_workspaces_workspace_id_tags_response500_type: Option<String>,
11658}
11659
11660#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11661#[serde(rename_all = "camelCase")]
11662pub struct ApiBase {
11663    /// The date and time at which the API was created.
11664    pub created_at: Option<String>,
11665
11666    /// The Postman ID of the user that created the API.
11667    pub created_by: Option<f64>,
11668
11669    /// The API's description.
11670    pub description: Option<String>,
11671
11672    /// The API's ID.
11673    pub id: Option<String>,
11674
11675    /// The API's name.
11676    pub name: Option<String>,
11677
11678    /// The API's short summary.
11679    pub summary: Option<String>,
11680
11681    /// The date and time at which the API was updated.
11682    pub updated_at: Option<String>,
11683
11684    /// The Postman ID of the user that updated the API.
11685    pub updated_by: Option<f64>,
11686}
11687
11688#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11689#[serde(rename_all = "camelCase")]
11690pub struct ApiDetails {
11691    /// The API's collections.
11692    pub collections: Option<Vec<ApiDetailsCollectionsItem>>,
11693
11694    /// Information about the API's Git repository integration.
11695    pub git_info: Option<ApiDetailsGitInfo>,
11696
11697    /// The API's schemas.
11698    pub schemas: Option<Vec<ApiDetailsSchemasItem>>,
11699
11700    /// The API's versions.
11701    pub versions: Option<Vec<ApiDetailsVersionsItem>>,
11702}
11703
11704#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11705pub struct ApiDetailsCollectionsItem {
11706    /// The collection's ID.
11707    pub id: Option<String>,
11708}
11709
11710#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11711#[serde(rename_all = "camelCase")]
11712pub struct ApiDetailsGitInfo {
11713    /// The API definition's collection repository folder location.
11714    pub collection_folder: Option<String>,
11715
11716    /// The domain at which the Git repository is hosted.
11717    pub domain: Option<String>,
11718
11719    /// The organization that owns the repository.
11720    pub organization: Option<String>,
11721
11722    /// The repository's name.
11723    pub repository: Option<String>,
11724
11725    /// The API definition's repository folder location. This returns an empty string if the
11726    /// connected repository uses a root file.
11727    pub schema_folder: Option<String>,
11728}
11729
11730#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11731pub struct ApiDetailsSchemasItem {
11732    /// The schema's ID.
11733    pub id: Option<String>,
11734}
11735
11736#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11737pub struct ApiDetailsVersionsItem {
11738    /// The version's ID.
11739    pub id: Option<String>,
11740
11741    /// The version's name.
11742    pub name: Option<String>,
11743}
11744
11745#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11746#[serde(rename_all = "camelCase")]
11747pub struct CreateApiVersionGitLinked {
11748    /// The branch ID.
11749    pub branch: Option<String>,
11750
11751    /// A list of the version's collections.
11752    pub collections: Option<Vec<CreateApiVersionGitLinkedCollectionsItem>>,
11753
11754    /// The version's name.
11755    pub name: Option<String>,
11756
11757    /// Information about the API version release. For example, changelog notes.
11758    pub release_notes: Option<String>,
11759
11760    /// A list of the version's schemas.
11761    pub schemas: Option<Vec<CreateApiVersionGitLinkedSchemasItem>>,
11762}
11763
11764#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11765#[serde(rename_all = "camelCase")]
11766pub struct CreateApiVersionGitLinkedCollectionsItem {
11767    /// Path to a collection in the Git repository.
11768    pub file_path: Option<String>,
11769}
11770
11771#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11772#[serde(rename_all = "camelCase")]
11773pub struct CreateApiVersionGitLinkedSchemasItem {
11774    /// The path to the root directory where schemas are stored in the Git repository.
11775    pub directory_path: Option<String>,
11776}
11777
11778#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11779#[serde(rename_all = "camelCase")]
11780pub struct CreateApiVersionNonGitLinked {
11781    /// A list of the version's collections.
11782    pub collections: Option<Vec<CreateApiVersionNonGitLinkedCollectionsItem>>,
11783
11784    /// The version's name.
11785    pub name: Option<String>,
11786
11787    /// Information about the API version release. For example, changelog notes.
11788    pub release_notes: Option<String>,
11789
11790    /// A list of the version's schemas.
11791    pub schemas: Option<Vec<CreateApiVersionNonGitLinkedSchemasItem>>,
11792}
11793
11794#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11795pub struct CreateApiVersionNonGitLinkedCollectionsItem {
11796    /// The collection's ID.
11797    pub id: Option<String>,
11798}
11799
11800#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11801pub struct CreateApiVersionNonGitLinkedSchemasItem {
11802    /// The schema's ID.
11803    pub id: Option<String>,
11804}
11805
11806#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11807pub struct CreateApiSchema {
11808    /// The list of files that are part of the schema.
11809    pub files: Vec<CreateApiSchemaFilesItem>,
11810
11811    /// The schema's type.
11812    #[serde(rename = "type")]
11813    pub create_api_schema_type: PostApisApiIdSchemasBodyType,
11814}
11815
11816#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11817pub struct CreateApiSchemaFilesItem {
11818    /// The serilalized content of the schema.
11819    pub content: Option<String>,
11820
11821    /// The schema's file path.
11822    pub path: Option<String>,
11823
11824    /// Information about the schema's root file.
11825    pub root: Option<CreateApiSchemaFilesItemRoot>,
11826}
11827
11828#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11829pub struct CreateApiSchemaFilesItemRoot {
11830    /// If true, tag the file as the root file. The root tag is only allowed for protobuf
11831    /// specifications.
11832    pub enabled: Option<bool>,
11833}
11834
11835#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11836pub struct CreatePanApi {
11837    pub api: Option<CreatePanApiApi>,
11838}
11839
11840#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11841#[serde(rename_all = "camelCase")]
11842pub struct CreatePanApiApi {
11843    /// The API's ID.
11844    pub id: String,
11845
11846    /// The API's parent folder ID.
11847    pub parent_folder_id: i64,
11848}
11849
11850#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11851pub struct CreatePanCollection {
11852    pub collection: Option<CreatePanCollectionCollection>,
11853}
11854
11855#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11856#[serde(rename_all = "camelCase")]
11857pub struct CreatePanCollectionCollection {
11858    /// A list of environments to add to the collection.
11859    pub environments: Option<Vec<String>>,
11860
11861    /// The collection's ID.
11862    pub id: String,
11863
11864    /// The collection's parent folder ID.
11865    pub parent_folder_id: i64,
11866
11867    /// The collection's summary.
11868    pub summary: Option<String>,
11869}
11870
11871#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11872pub struct CreatePanFolder {
11873    pub folder: Option<CreatePanFolderFolder>,
11874}
11875
11876#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11877#[serde(rename_all = "camelCase")]
11878pub struct CreatePanFolderFolder {
11879    /// The folder's description.
11880    pub description: Option<String>,
11881
11882    /// The folder's name.
11883    pub name: String,
11884
11885    /// The folder's parent folder ID. This value defaults to `0`.
11886    pub parent_folder_id: Option<i64>,
11887}
11888
11889#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11890pub struct CreatePanWorkspace {
11891    pub workspace: Option<CreatePanWorkspaceWorkspace>,
11892}
11893
11894#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11895#[serde(rename_all = "camelCase")]
11896pub struct CreatePanWorkspaceWorkspace {
11897    /// The workspace's ID.
11898    pub id: String,
11899
11900    /// The workspace's parent folder ID.
11901    pub parent_folder_id: i64,
11902}
11903
11904#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11905pub struct CreateUpdateApi {
11906    /// The API's description. This supports Markdown formatting.
11907    pub description: Option<String>,
11908
11909    /// The API's name.
11910    pub name: String,
11911
11912    /// The API's short summary.
11913    pub summary: Option<String>,
11914}
11915
11916#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11917#[serde(rename_all = "camelCase")]
11918pub struct GitInfo {
11919    /// The API definition's collection repository folder location.
11920    pub collection_folder: Option<String>,
11921
11922    /// The domain at which the Git repository is hosted.
11923    pub domain: Option<String>,
11924
11925    /// The organization that owns the repository.
11926    pub organization: Option<String>,
11927
11928    /// The repository's name.
11929    pub repository: Option<String>,
11930
11931    /// The API definition's repository folder location. This returns an empty string if the
11932    /// connected repository uses a root file.
11933    pub schema_folder: Option<String>,
11934}
11935
11936#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11937pub struct ImportExportFile {
11938    /// A file containing a valid user's export .zip file.
11939    pub input: String,
11940
11941    /// The `file` type value.
11942    #[serde(rename = "type")]
11943    pub import_export_file_type: ImportExportFileType,
11944}
11945
11946#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11947#[serde(rename_all = "snake_case")]
11948pub enum ImportExportFileType {
11949    File,
11950}
11951
11952#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11953pub struct JsonSchema {
11954    pub input: Option<serde_json::Value>,
11955
11956    pub options: Option<serde_json::Value>,
11957
11958    /// The OpenAPI definition type.
11959    #[serde(rename = "type")]
11960    pub json_schema_type: Option<JsonSchemaType>,
11961}
11962
11963#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11964#[serde(rename_all = "snake_case")]
11965pub enum JsonSchemaType {
11966    Json,
11967}
11968
11969#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11970pub struct JsonStringified {
11971    /// The stringified OpenAPI definition.
11972    pub input: Option<String>,
11973
11974    pub options: Option<serde_json::Value>,
11975
11976    /// The OpenAPI definition type.
11977    #[serde(rename = "type")]
11978    pub json_stringified_type: Option<JsonSchemaType>,
11979}
11980
11981#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11982#[serde(rename_all = "camelCase")]
11983pub struct Meta {
11984    /// The maximum number of records in the paginated response.
11985    pub limit: Option<f64>,
11986
11987    /// The Base64-encoded value that points to the next record in the results set.
11988    pub next_cursor: Option<String>,
11989
11990    /// The number of records that match the defined criteria.
11991    pub total: Option<f64>,
11992}
11993
11994#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11995#[serde(rename_all = "camelCase")]
11996pub struct SchemaFileBase {
11997    /// The date and time at which the file was created.
11998    pub created_at: Option<String>,
11999
12000    /// The user Id of the user that created the file.
12001    pub created_by: Option<String>,
12002
12003    /// The schema file's ID.
12004    pub id: Option<String>,
12005
12006    /// The schema file's name.
12007    pub name: Option<String>,
12008
12009    /// The file system path to the schema file.
12010    pub path: Option<String>,
12011
12012    /// The date and time at which the file was last updated.
12013    pub updated_at: Option<String>,
12014
12015    /// The user ID of the user that last updated the file.
12016    pub updated_by: Option<String>,
12017}
12018
12019#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12020#[serde(rename_all = "camelCase")]
12021pub struct SchemaFileContents {
12022    /// The schema file's content.
12023    pub content: Option<String>,
12024
12025    /// The date and time at which the file was created.
12026    pub created_at: Option<String>,
12027
12028    /// The user Id of the user that created the file.
12029    pub created_by: Option<String>,
12030
12031    /// The schema file's ID.
12032    pub id: Option<String>,
12033
12034    /// The schema file's name.
12035    pub name: Option<String>,
12036
12037    /// The file system path to the schema file.
12038    pub path: Option<String>,
12039
12040    /// The date and time at which the file was last updated.
12041    pub updated_at: Option<String>,
12042
12043    /// The user ID of the user that last updated the file.
12044    pub updated_by: Option<String>,
12045}
12046
12047#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12048pub struct TaskError {
12049    pub error: Option<TaskErrorError>,
12050}
12051
12052#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12053pub struct TaskErrorError {
12054    /// The task's error message.
12055    pub message: Option<String>,
12056}
12057
12058#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12059pub struct TaskResource {
12060    pub resources: Option<Vec<TaskResourceResourcesItem>>,
12061}
12062
12063#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12064pub struct TaskResourceResourcesItem {
12065    /// The task's ID.
12066    pub id: Option<String>,
12067
12068    /// The task's assigned resource URL.
12069    pub url: Option<String>,
12070}
12071
12072#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12073pub struct UpdatePanApi {
12074    pub api: Option<UpdatePanApiApi>,
12075}
12076
12077#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12078#[serde(rename_all = "camelCase")]
12079pub struct UpdatePanApiApi {
12080    /// The API's new parent folder ID.
12081    pub parent_folder_id: Option<i64>,
12082}
12083
12084#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12085pub struct UpdatePanCollection {
12086    pub collection: Option<UpdatePanCollectionCollection>,
12087}
12088
12089#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12090#[serde(rename_all = "camelCase")]
12091pub struct UpdatePanCollectionCollection {
12092    /// The collection's updated environments.
12093    pub environments: Option<UpdatePanCollectionCollectionEnvironments>,
12094
12095    /// The collection's new parent folder ID.
12096    pub parent_folder_id: Option<i64>,
12097
12098    /// The collection's updated summary.
12099    pub summary: Option<String>,
12100}
12101
12102#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12103pub struct UpdatePanCollectionCollectionEnvironments {
12104    #[serde(rename = "$add")]
12105    pub add: Option<Vec<String>>,
12106
12107    #[serde(rename = "$remove")]
12108    pub remove: Option<Vec<String>>,
12109}
12110
12111#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12112pub struct UpdatePanFolder {
12113    pub folder: Option<UpdatePanFolderFolder>,
12114}
12115
12116#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12117#[serde(rename_all = "camelCase")]
12118pub struct UpdatePanFolderFolder {
12119    /// The folder's updated description.
12120    pub description: Option<String>,
12121
12122    /// The folder's new name.
12123    pub name: Option<String>,
12124
12125    /// The folder's new parent folder ID.
12126    pub parent_folder_id: Option<i64>,
12127}
12128
12129#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12130pub struct UpdatePanWorkspace {
12131    pub workspace: Option<UpdatePanWorkspaceWorkspace>,
12132}
12133
12134#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12135#[serde(rename_all = "camelCase")]
12136pub struct UpdatePanWorkspaceWorkspace {
12137    /// The workspace's new parent folder ID.
12138    pub parent_folder_id: Option<i64>,
12139}
12140
12141#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12142#[serde(rename_all = "camelCase")]
12143pub struct VersionBase {
12144    /// The date and time at which the version was created.
12145    pub created_at: Option<String>,
12146
12147    /// The version's ID.
12148    pub id: Option<String>,
12149
12150    /// The version's name.
12151    pub name: Option<String>,
12152
12153    /// The version's release notes.
12154    pub release_notes: Option<String>,
12155
12156    /// The date and time at which the version was last updated.
12157    pub updated_at: Option<String>,
12158}
12159
12160#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12161#[serde(rename_all = "camelCase")]
12162pub struct VersionExtended {
12163    /// A list of the version's collections.
12164    pub collections: Option<Vec<VersionExtendedCollectionsItem>>,
12165
12166    /// The date and time at which the version was created.
12167    pub created_at: Option<String>,
12168
12169    /// The version's ID.
12170    pub id: Option<String>,
12171
12172    /// The version's name.
12173    pub name: Option<String>,
12174
12175    /// The version's release notes.
12176    pub release_notes: Option<String>,
12177
12178    /// A list of the version's API schemas.
12179    pub schemas: Option<Vec<VersionExtendedSchemasItem>>,
12180
12181    /// The date and time at which the version was last updated.
12182    pub updated_at: Option<String>,
12183}
12184
12185#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12186pub struct VersionExtendedCollectionsItem {
12187    /// The collection's unique ID.
12188    pub id: Option<String>,
12189
12190    /// The collection's name.
12191    pub name: Option<String>,
12192}
12193
12194#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12195pub struct VersionExtendedSchemasItem {
12196    /// The schema's unique ID.
12197    pub id: Option<String>,
12198
12199    /// The type of schema.
12200    #[serde(rename = "type")]
12201    pub version_extended_schemas_item_type: Option<PostApisApiIdSchemasBodyType>,
12202}