cribl-control-plane 0.3.0b5__py3-none-any.whl → 0.3.0b7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cribl-control-plane might be problematic. Click here for more details.

Files changed (150) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/groups_sdk.py +2 -2
  3. cribl_control_plane/models/cacheconnection.py +0 -20
  4. cribl_control_plane/models/configgroup.py +1 -20
  5. cribl_control_plane/models/configgroupcloud.py +1 -11
  6. cribl_control_plane/models/createconfiggroupbyproductop.py +2 -13
  7. cribl_control_plane/models/cribllakedataset.py +1 -11
  8. cribl_control_plane/models/cribllakedatasetupdate.py +1 -11
  9. cribl_control_plane/models/datasetmetadata.py +1 -11
  10. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
  11. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
  12. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
  13. cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
  14. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
  15. cribl_control_plane/models/getsummaryop.py +0 -11
  16. cribl_control_plane/models/groupcreaterequest.py +1 -20
  17. cribl_control_plane/models/hbcriblinfo.py +1 -11
  18. cribl_control_plane/models/healthserverstatus.py +1 -20
  19. cribl_control_plane/models/inputappscope.py +1 -56
  20. cribl_control_plane/models/inputazureblob.py +1 -29
  21. cribl_control_plane/models/inputcollection.py +1 -20
  22. cribl_control_plane/models/inputconfluentcloud.py +1 -78
  23. cribl_control_plane/models/inputcribl.py +1 -20
  24. cribl_control_plane/models/inputcriblhttp.py +1 -38
  25. cribl_control_plane/models/inputcribllakehttp.py +1 -38
  26. cribl_control_plane/models/inputcriblmetrics.py +1 -20
  27. cribl_control_plane/models/inputcribltcp.py +1 -38
  28. cribl_control_plane/models/inputcrowdstrike.py +1 -47
  29. cribl_control_plane/models/inputdatadogagent.py +1 -38
  30. cribl_control_plane/models/inputdatagen.py +1 -20
  31. cribl_control_plane/models/inputedgeprometheus.py +1 -94
  32. cribl_control_plane/models/inputelastic.py +1 -65
  33. cribl_control_plane/models/inputeventhub.py +1 -58
  34. cribl_control_plane/models/inputexec.py +1 -29
  35. cribl_control_plane/models/inputfile.py +1 -29
  36. cribl_control_plane/models/inputfirehose.py +1 -38
  37. cribl_control_plane/models/inputgooglepubsub.py +1 -29
  38. cribl_control_plane/models/inputgrafana.py +1 -110
  39. cribl_control_plane/models/inputhttp.py +1 -38
  40. cribl_control_plane/models/inputhttpraw.py +1 -38
  41. cribl_control_plane/models/inputjournalfiles.py +1 -20
  42. cribl_control_plane/models/inputkafka.py +1 -74
  43. cribl_control_plane/models/inputkinesis.py +1 -65
  44. cribl_control_plane/models/inputkubeevents.py +1 -20
  45. cribl_control_plane/models/inputkubelogs.py +1 -29
  46. cribl_control_plane/models/inputkubemetrics.py +1 -29
  47. cribl_control_plane/models/inputloki.py +1 -47
  48. cribl_control_plane/models/inputmetrics.py +1 -38
  49. cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
  50. cribl_control_plane/models/inputmsk.py +1 -74
  51. cribl_control_plane/models/inputnetflow.py +1 -20
  52. cribl_control_plane/models/inputoffice365mgmt.py +1 -56
  53. cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
  54. cribl_control_plane/models/inputoffice365service.py +1 -56
  55. cribl_control_plane/models/inputopentelemetry.py +1 -65
  56. cribl_control_plane/models/inputprometheus.py +1 -87
  57. cribl_control_plane/models/inputprometheusrw.py +1 -47
  58. cribl_control_plane/models/inputrawudp.py +1 -20
  59. cribl_control_plane/models/inputs3.py +1 -38
  60. cribl_control_plane/models/inputs3inventory.py +1 -47
  61. cribl_control_plane/models/inputsecuritylake.py +1 -47
  62. cribl_control_plane/models/inputsnmp.py +1 -29
  63. cribl_control_plane/models/inputsplunk.py +1 -56
  64. cribl_control_plane/models/inputsplunkhec.py +1 -47
  65. cribl_control_plane/models/inputsplunksearch.py +1 -56
  66. cribl_control_plane/models/inputsqs.py +1 -47
  67. cribl_control_plane/models/inputsyslog.py +1 -74
  68. cribl_control_plane/models/inputsystemmetrics.py +1 -92
  69. cribl_control_plane/models/inputsystemstate.py +1 -29
  70. cribl_control_plane/models/inputtcp.py +1 -47
  71. cribl_control_plane/models/inputtcpjson.py +1 -47
  72. cribl_control_plane/models/inputwef.py +1 -65
  73. cribl_control_plane/models/inputwindowsmetrics.py +1 -83
  74. cribl_control_plane/models/inputwineventlogs.py +1 -38
  75. cribl_control_plane/models/inputwiz.py +1 -38
  76. cribl_control_plane/models/inputwizwebhook.py +1 -38
  77. cribl_control_plane/models/inputzscalerhec.py +1 -47
  78. cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
  79. cribl_control_plane/models/masterworkerentry.py +1 -11
  80. cribl_control_plane/models/nodeupgradestatus.py +0 -38
  81. cribl_control_plane/models/outputazureblob.py +1 -83
  82. cribl_control_plane/models/outputazuredataexplorer.py +1 -148
  83. cribl_control_plane/models/outputazureeventhub.py +1 -98
  84. cribl_control_plane/models/outputazurelogs.py +1 -56
  85. cribl_control_plane/models/outputchronicle.py +1 -56
  86. cribl_control_plane/models/outputclickhouse.py +1 -92
  87. cribl_control_plane/models/outputcloudwatch.py +1 -47
  88. cribl_control_plane/models/outputconfluentcloud.py +1 -123
  89. cribl_control_plane/models/outputcriblhttp.py +1 -74
  90. cribl_control_plane/models/outputcribllake.py +1 -76
  91. cribl_control_plane/models/outputcribltcp.py +1 -74
  92. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
  93. cribl_control_plane/models/outputdatabricks.py +1 -65
  94. cribl_control_plane/models/outputdatadog.py +1 -83
  95. cribl_control_plane/models/outputdataset.py +1 -74
  96. cribl_control_plane/models/outputdiskspool.py +1 -11
  97. cribl_control_plane/models/outputdls3.py +1 -110
  98. cribl_control_plane/models/outputdynatracehttp.py +1 -92
  99. cribl_control_plane/models/outputdynatraceotlp.py +1 -92
  100. cribl_control_plane/models/outputelastic.py +1 -74
  101. cribl_control_plane/models/outputelasticcloud.py +1 -56
  102. cribl_control_plane/models/outputexabeam.py +1 -47
  103. cribl_control_plane/models/outputfilesystem.py +1 -65
  104. cribl_control_plane/models/outputgooglechronicle.py +1 -83
  105. cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
  106. cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
  107. cribl_control_plane/models/outputgooglepubsub.py +1 -47
  108. cribl_control_plane/models/outputgrafanacloud.py +1 -146
  109. cribl_control_plane/models/outputgraphite.py +1 -47
  110. cribl_control_plane/models/outputhoneycomb.py +1 -56
  111. cribl_control_plane/models/outputhumiohec.py +1 -65
  112. cribl_control_plane/models/outputinfluxdb.py +1 -65
  113. cribl_control_plane/models/outputkafka.py +1 -119
  114. cribl_control_plane/models/outputkinesis.py +1 -65
  115. cribl_control_plane/models/outputloki.py +1 -65
  116. cribl_control_plane/models/outputminio.py +1 -110
  117. cribl_control_plane/models/outputmsk.py +1 -119
  118. cribl_control_plane/models/outputnewrelic.py +1 -74
  119. cribl_control_plane/models/outputnewrelicevents.py +1 -65
  120. cribl_control_plane/models/outputopentelemetry.py +1 -110
  121. cribl_control_plane/models/outputprometheus.py +1 -56
  122. cribl_control_plane/models/outputring.py +1 -29
  123. cribl_control_plane/models/outputs3.py +1 -110
  124. cribl_control_plane/models/outputsecuritylake.py +1 -85
  125. cribl_control_plane/models/outputsentinel.py +1 -74
  126. cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
  127. cribl_control_plane/models/outputservicenow.py +1 -101
  128. cribl_control_plane/models/outputsignalfx.py +1 -56
  129. cribl_control_plane/models/outputsns.py +1 -56
  130. cribl_control_plane/models/outputsplunk.py +1 -92
  131. cribl_control_plane/models/outputsplunkhec.py +1 -74
  132. cribl_control_plane/models/outputsplunklb.py +1 -121
  133. cribl_control_plane/models/outputsqs.py +1 -65
  134. cribl_control_plane/models/outputstatsd.py +1 -47
  135. cribl_control_plane/models/outputstatsdext.py +1 -47
  136. cribl_control_plane/models/outputsumologic.py +1 -56
  137. cribl_control_plane/models/outputsyslog.py +1 -110
  138. cribl_control_plane/models/outputtcpjson.py +1 -83
  139. cribl_control_plane/models/outputwavefront.py +1 -56
  140. cribl_control_plane/models/outputwebhook.py +1 -92
  141. cribl_control_plane/models/outputxsiam.py +1 -56
  142. cribl_control_plane/models/resourcepolicy.py +0 -11
  143. cribl_control_plane/models/runnablejobcollection.py +1 -56
  144. cribl_control_plane/models/runnablejobexecutor.py +1 -20
  145. cribl_control_plane/models/runnablejobscheduledsearch.py +1 -11
  146. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
  147. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
  148. {cribl_control_plane-0.3.0b5.dist-info → cribl_control_plane-0.3.0b7.dist-info}/METADATA +1 -1
  149. {cribl_control_plane-0.3.0b5.dist-info → cribl_control_plane-0.3.0b7.dist-info}/RECORD +150 -150
  150. {cribl_control_plane-0.3.0b5.dist-info → cribl_control_plane-0.3.0b7.dist-info}/WHEEL +0 -0
@@ -1,12 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from cribl_control_plane import models, utils
4
+ from cribl_control_plane import utils
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import validate_open_enum
7
7
  from enum import Enum
8
8
  import pydantic
9
- from pydantic import field_serializer
10
9
  from pydantic.functional_validators import PlainValidator
11
10
  from typing import List, Optional, Union
12
11
  from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
@@ -91,15 +90,6 @@ class OutputGrafanaCloudPrometheusAuth2(BaseModel):
91
90
  ] = None
92
91
  r"""Select or create a secret that references your credentials"""
93
92
 
94
- @field_serializer("auth_type")
95
- def serialize_auth_type(self, value):
96
- if isinstance(value, str):
97
- try:
98
- return models.OutputGrafanaCloudPrometheusAuthAuthenticationType2(value)
99
- except ValueError:
100
- return value
101
- return value
102
-
103
93
 
104
94
  class OutputGrafanaCloudLokiAuthAuthenticationType2(
105
95
  str, Enum, metaclass=utils.OpenEnumMeta
@@ -156,15 +146,6 @@ class OutputGrafanaCloudLokiAuth2(BaseModel):
156
146
  ] = None
157
147
  r"""Select or create a secret that references your credentials"""
158
148
 
159
- @field_serializer("auth_type")
160
- def serialize_auth_type(self, value):
161
- if isinstance(value, str):
162
- try:
163
- return models.OutputGrafanaCloudLokiAuthAuthenticationType2(value)
164
- except ValueError:
165
- return value
166
- return value
167
-
168
149
 
169
150
  class OutputGrafanaCloudExtraHTTPHeader2TypedDict(TypedDict):
170
151
  value: str
@@ -582,60 +563,6 @@ class OutputGrafanaCloudGrafanaCloud2(BaseModel):
582
563
  Optional[OutputGrafanaCloudPqControls2], pydantic.Field(alias="pqControls")
583
564
  ] = None
584
565
 
585
- @field_serializer("message_format")
586
- def serialize_message_format(self, value):
587
- if isinstance(value, str):
588
- try:
589
- return models.OutputGrafanaCloudMessageFormat2(value)
590
- except ValueError:
591
- return value
592
- return value
593
-
594
- @field_serializer("failed_request_logging_mode")
595
- def serialize_failed_request_logging_mode(self, value):
596
- if isinstance(value, str):
597
- try:
598
- return models.OutputGrafanaCloudFailedRequestLoggingMode2(value)
599
- except ValueError:
600
- return value
601
- return value
602
-
603
- @field_serializer("on_backpressure")
604
- def serialize_on_backpressure(self, value):
605
- if isinstance(value, str):
606
- try:
607
- return models.OutputGrafanaCloudBackpressureBehavior2(value)
608
- except ValueError:
609
- return value
610
- return value
611
-
612
- @field_serializer("pq_mode")
613
- def serialize_pq_mode(self, value):
614
- if isinstance(value, str):
615
- try:
616
- return models.OutputGrafanaCloudMode2(value)
617
- except ValueError:
618
- return value
619
- return value
620
-
621
- @field_serializer("pq_compress")
622
- def serialize_pq_compress(self, value):
623
- if isinstance(value, str):
624
- try:
625
- return models.OutputGrafanaCloudCompression2(value)
626
- except ValueError:
627
- return value
628
- return value
629
-
630
- @field_serializer("pq_on_backpressure")
631
- def serialize_pq_on_backpressure(self, value):
632
- if isinstance(value, str):
633
- try:
634
- return models.OutputGrafanaCloudQueueFullBehavior2(value)
635
- except ValueError:
636
- return value
637
- return value
638
-
639
566
 
640
567
  class OutputGrafanaCloudType1(str, Enum):
641
568
  GRAFANA_CLOUD = "grafana_cloud"
@@ -716,15 +643,6 @@ class OutputGrafanaCloudPrometheusAuth1(BaseModel):
716
643
  ] = None
717
644
  r"""Select or create a secret that references your credentials"""
718
645
 
719
- @field_serializer("auth_type")
720
- def serialize_auth_type(self, value):
721
- if isinstance(value, str):
722
- try:
723
- return models.OutputGrafanaCloudPrometheusAuthAuthenticationType1(value)
724
- except ValueError:
725
- return value
726
- return value
727
-
728
646
 
729
647
  class OutputGrafanaCloudLokiAuthAuthenticationType1(
730
648
  str, Enum, metaclass=utils.OpenEnumMeta
@@ -781,15 +699,6 @@ class OutputGrafanaCloudLokiAuth1(BaseModel):
781
699
  ] = None
782
700
  r"""Select or create a secret that references your credentials"""
783
701
 
784
- @field_serializer("auth_type")
785
- def serialize_auth_type(self, value):
786
- if isinstance(value, str):
787
- try:
788
- return models.OutputGrafanaCloudLokiAuthAuthenticationType1(value)
789
- except ValueError:
790
- return value
791
- return value
792
-
793
702
 
794
703
  class OutputGrafanaCloudExtraHTTPHeader1TypedDict(TypedDict):
795
704
  value: str
@@ -1209,60 +1118,6 @@ class OutputGrafanaCloudGrafanaCloud1(BaseModel):
1209
1118
  Optional[OutputGrafanaCloudPqControls1], pydantic.Field(alias="pqControls")
1210
1119
  ] = None
1211
1120
 
1212
- @field_serializer("message_format")
1213
- def serialize_message_format(self, value):
1214
- if isinstance(value, str):
1215
- try:
1216
- return models.OutputGrafanaCloudMessageFormat1(value)
1217
- except ValueError:
1218
- return value
1219
- return value
1220
-
1221
- @field_serializer("failed_request_logging_mode")
1222
- def serialize_failed_request_logging_mode(self, value):
1223
- if isinstance(value, str):
1224
- try:
1225
- return models.OutputGrafanaCloudFailedRequestLoggingMode1(value)
1226
- except ValueError:
1227
- return value
1228
- return value
1229
-
1230
- @field_serializer("on_backpressure")
1231
- def serialize_on_backpressure(self, value):
1232
- if isinstance(value, str):
1233
- try:
1234
- return models.OutputGrafanaCloudBackpressureBehavior1(value)
1235
- except ValueError:
1236
- return value
1237
- return value
1238
-
1239
- @field_serializer("pq_mode")
1240
- def serialize_pq_mode(self, value):
1241
- if isinstance(value, str):
1242
- try:
1243
- return models.OutputGrafanaCloudMode1(value)
1244
- except ValueError:
1245
- return value
1246
- return value
1247
-
1248
- @field_serializer("pq_compress")
1249
- def serialize_pq_compress(self, value):
1250
- if isinstance(value, str):
1251
- try:
1252
- return models.OutputGrafanaCloudCompression1(value)
1253
- except ValueError:
1254
- return value
1255
- return value
1256
-
1257
- @field_serializer("pq_on_backpressure")
1258
- def serialize_pq_on_backpressure(self, value):
1259
- if isinstance(value, str):
1260
- try:
1261
- return models.OutputGrafanaCloudQueueFullBehavior1(value)
1262
- except ValueError:
1263
- return value
1264
- return value
1265
-
1266
1121
 
1267
1122
  OutputGrafanaCloudTypedDict = TypeAliasType(
1268
1123
  "OutputGrafanaCloudTypedDict",
@@ -1,12 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from cribl_control_plane import models, utils
4
+ from cribl_control_plane import utils
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import validate_open_enum
7
7
  from enum import Enum
8
8
  import pydantic
9
- from pydantic import field_serializer
10
9
  from pydantic.functional_validators import PlainValidator
11
10
  from typing import List, Optional
12
11
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -262,48 +261,3 @@ class OutputGraphite(BaseModel):
262
261
  pq_controls: Annotated[
263
262
  Optional[OutputGraphitePqControls], pydantic.Field(alias="pqControls")
264
263
  ] = None
265
-
266
- @field_serializer("protocol")
267
- def serialize_protocol(self, value):
268
- if isinstance(value, str):
269
- try:
270
- return models.OutputGraphiteDestinationProtocol(value)
271
- except ValueError:
272
- return value
273
- return value
274
-
275
- @field_serializer("on_backpressure")
276
- def serialize_on_backpressure(self, value):
277
- if isinstance(value, str):
278
- try:
279
- return models.OutputGraphiteBackpressureBehavior(value)
280
- except ValueError:
281
- return value
282
- return value
283
-
284
- @field_serializer("pq_mode")
285
- def serialize_pq_mode(self, value):
286
- if isinstance(value, str):
287
- try:
288
- return models.OutputGraphiteMode(value)
289
- except ValueError:
290
- return value
291
- return value
292
-
293
- @field_serializer("pq_compress")
294
- def serialize_pq_compress(self, value):
295
- if isinstance(value, str):
296
- try:
297
- return models.OutputGraphiteCompression(value)
298
- except ValueError:
299
- return value
300
- return value
301
-
302
- @field_serializer("pq_on_backpressure")
303
- def serialize_pq_on_backpressure(self, value):
304
- if isinstance(value, str):
305
- try:
306
- return models.OutputGraphiteQueueFullBehavior(value)
307
- except ValueError:
308
- return value
309
- return value
@@ -1,12 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from cribl_control_plane import models, utils
4
+ from cribl_control_plane import utils
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import validate_open_enum
7
7
  from enum import Enum
8
8
  import pydantic
9
- from pydantic import field_serializer
10
9
  from pydantic.functional_validators import PlainValidator
11
10
  from typing import List, Optional
12
11
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -409,57 +408,3 @@ class OutputHoneycomb(BaseModel):
409
408
 
410
409
  text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
411
410
  r"""Select or create a stored text secret"""
412
-
413
- @field_serializer("failed_request_logging_mode")
414
- def serialize_failed_request_logging_mode(self, value):
415
- if isinstance(value, str):
416
- try:
417
- return models.OutputHoneycombFailedRequestLoggingMode(value)
418
- except ValueError:
419
- return value
420
- return value
421
-
422
- @field_serializer("on_backpressure")
423
- def serialize_on_backpressure(self, value):
424
- if isinstance(value, str):
425
- try:
426
- return models.OutputHoneycombBackpressureBehavior(value)
427
- except ValueError:
428
- return value
429
- return value
430
-
431
- @field_serializer("auth_type")
432
- def serialize_auth_type(self, value):
433
- if isinstance(value, str):
434
- try:
435
- return models.OutputHoneycombAuthenticationMethod(value)
436
- except ValueError:
437
- return value
438
- return value
439
-
440
- @field_serializer("pq_mode")
441
- def serialize_pq_mode(self, value):
442
- if isinstance(value, str):
443
- try:
444
- return models.OutputHoneycombMode(value)
445
- except ValueError:
446
- return value
447
- return value
448
-
449
- @field_serializer("pq_compress")
450
- def serialize_pq_compress(self, value):
451
- if isinstance(value, str):
452
- try:
453
- return models.OutputHoneycombCompression(value)
454
- except ValueError:
455
- return value
456
- return value
457
-
458
- @field_serializer("pq_on_backpressure")
459
- def serialize_pq_on_backpressure(self, value):
460
- if isinstance(value, str):
461
- try:
462
- return models.OutputHoneycombQueueFullBehavior(value)
463
- except ValueError:
464
- return value
465
- return value
@@ -1,12 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from cribl_control_plane import models, utils
4
+ from cribl_control_plane import utils
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import validate_open_enum
7
7
  from enum import Enum
8
8
  import pydantic
9
- from pydantic import field_serializer
10
9
  from pydantic.functional_validators import PlainValidator
11
10
  from typing import List, Optional
12
11
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -429,66 +428,3 @@ class OutputHumioHec(BaseModel):
429
428
  pq_controls: Annotated[
430
429
  Optional[OutputHumioHecPqControls], pydantic.Field(alias="pqControls")
431
430
  ] = None
432
-
433
- @field_serializer("failed_request_logging_mode")
434
- def serialize_failed_request_logging_mode(self, value):
435
- if isinstance(value, str):
436
- try:
437
- return models.OutputHumioHecFailedRequestLoggingMode(value)
438
- except ValueError:
439
- return value
440
- return value
441
-
442
- @field_serializer("format_")
443
- def serialize_format_(self, value):
444
- if isinstance(value, str):
445
- try:
446
- return models.OutputHumioHecRequestFormat(value)
447
- except ValueError:
448
- return value
449
- return value
450
-
451
- @field_serializer("auth_type")
452
- def serialize_auth_type(self, value):
453
- if isinstance(value, str):
454
- try:
455
- return models.OutputHumioHecAuthenticationMethod(value)
456
- except ValueError:
457
- return value
458
- return value
459
-
460
- @field_serializer("on_backpressure")
461
- def serialize_on_backpressure(self, value):
462
- if isinstance(value, str):
463
- try:
464
- return models.OutputHumioHecBackpressureBehavior(value)
465
- except ValueError:
466
- return value
467
- return value
468
-
469
- @field_serializer("pq_mode")
470
- def serialize_pq_mode(self, value):
471
- if isinstance(value, str):
472
- try:
473
- return models.OutputHumioHecMode(value)
474
- except ValueError:
475
- return value
476
- return value
477
-
478
- @field_serializer("pq_compress")
479
- def serialize_pq_compress(self, value):
480
- if isinstance(value, str):
481
- try:
482
- return models.OutputHumioHecCompression(value)
483
- except ValueError:
484
- return value
485
- return value
486
-
487
- @field_serializer("pq_on_backpressure")
488
- def serialize_pq_on_backpressure(self, value):
489
- if isinstance(value, str):
490
- try:
491
- return models.OutputHumioHecQueueFullBehavior(value)
492
- except ValueError:
493
- return value
494
- return value
@@ -1,12 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from cribl_control_plane import models, utils
4
+ from cribl_control_plane import utils
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import validate_open_enum
7
7
  from enum import Enum
8
8
  import pydantic
9
- from pydantic import field_serializer
10
9
  from pydantic.functional_validators import PlainValidator
11
10
  from typing import List, Optional
12
11
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -569,66 +568,3 @@ class OutputInfluxdb(BaseModel):
569
568
  Optional[List[OutputInfluxdbOauthHeader]], pydantic.Field(alias="oauthHeaders")
570
569
  ] = None
571
570
  r"""Additional headers to send in the OAuth login request. @{product} will automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
572
-
573
- @field_serializer("timestamp_precision")
574
- def serialize_timestamp_precision(self, value):
575
- if isinstance(value, str):
576
- try:
577
- return models.TimestampPrecision(value)
578
- except ValueError:
579
- return value
580
- return value
581
-
582
- @field_serializer("failed_request_logging_mode")
583
- def serialize_failed_request_logging_mode(self, value):
584
- if isinstance(value, str):
585
- try:
586
- return models.OutputInfluxdbFailedRequestLoggingMode(value)
587
- except ValueError:
588
- return value
589
- return value
590
-
591
- @field_serializer("on_backpressure")
592
- def serialize_on_backpressure(self, value):
593
- if isinstance(value, str):
594
- try:
595
- return models.OutputInfluxdbBackpressureBehavior(value)
596
- except ValueError:
597
- return value
598
- return value
599
-
600
- @field_serializer("auth_type")
601
- def serialize_auth_type(self, value):
602
- if isinstance(value, str):
603
- try:
604
- return models.OutputInfluxdbAuthenticationType(value)
605
- except ValueError:
606
- return value
607
- return value
608
-
609
- @field_serializer("pq_mode")
610
- def serialize_pq_mode(self, value):
611
- if isinstance(value, str):
612
- try:
613
- return models.OutputInfluxdbMode(value)
614
- except ValueError:
615
- return value
616
- return value
617
-
618
- @field_serializer("pq_compress")
619
- def serialize_pq_compress(self, value):
620
- if isinstance(value, str):
621
- try:
622
- return models.OutputInfluxdbCompression(value)
623
- except ValueError:
624
- return value
625
- return value
626
-
627
- @field_serializer("pq_on_backpressure")
628
- def serialize_pq_on_backpressure(self, value):
629
- if isinstance(value, str):
630
- try:
631
- return models.OutputInfluxdbQueueFullBehavior(value)
632
- except ValueError:
633
- return value
634
- return value
@@ -1,12 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from cribl_control_plane import models, utils
4
+ from cribl_control_plane import utils
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import validate_open_enum
7
7
  from enum import Enum
8
8
  import pydantic
9
- from pydantic import field_serializer
10
9
  from pydantic.functional_validators import PlainValidator
11
10
  from typing import List, Optional
12
11
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -156,24 +155,6 @@ class OutputKafkaKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
156
155
  pydantic.Field(alias="maxVersion"),
157
156
  ] = None
158
157
 
159
- @field_serializer("min_version")
160
- def serialize_min_version(self, value):
161
- if isinstance(value, str):
162
- try:
163
- return models.OutputKafkaKafkaSchemaRegistryMinimumTLSVersion(value)
164
- except ValueError:
165
- return value
166
- return value
167
-
168
- @field_serializer("max_version")
169
- def serialize_max_version(self, value):
170
- if isinstance(value, str):
171
- try:
172
- return models.OutputKafkaKafkaSchemaRegistryMaximumTLSVersion(value)
173
- except ValueError:
174
- return value
175
- return value
176
-
177
158
 
178
159
  class OutputKafkaKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
179
160
  disabled: NotRequired[bool]
@@ -373,24 +354,6 @@ class OutputKafkaAuthentication(BaseModel):
373
354
  ] = None
374
355
  r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
375
356
 
376
- @field_serializer("auth_type")
377
- def serialize_auth_type(self, value):
378
- if isinstance(value, str):
379
- try:
380
- return models.OutputKafkaAuthenticationMethod(value)
381
- except ValueError:
382
- return value
383
- return value
384
-
385
- @field_serializer("mechanism")
386
- def serialize_mechanism(self, value):
387
- if isinstance(value, str):
388
- try:
389
- return models.OutputKafkaSASLMechanism(value)
390
- except ValueError:
391
- return value
392
- return value
393
-
394
357
 
395
358
  class OutputKafkaMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
396
359
  TL_SV1 = "TLSv1"
@@ -474,24 +437,6 @@ class OutputKafkaTLSSettingsClientSide(BaseModel):
474
437
  pydantic.Field(alias="maxVersion"),
475
438
  ] = None
476
439
 
477
- @field_serializer("min_version")
478
- def serialize_min_version(self, value):
479
- if isinstance(value, str):
480
- try:
481
- return models.OutputKafkaMinimumTLSVersion(value)
482
- except ValueError:
483
- return value
484
- return value
485
-
486
- @field_serializer("max_version")
487
- def serialize_max_version(self, value):
488
- if isinstance(value, str):
489
- try:
490
- return models.OutputKafkaMaximumTLSVersion(value)
491
- except ValueError:
492
- return value
493
- return value
494
-
495
440
 
496
441
  class OutputKafkaBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
497
442
  r"""How to handle events when all receivers are exerting backpressure"""
@@ -806,66 +751,3 @@ class OutputKafka(BaseModel):
806
751
  pq_controls: Annotated[
807
752
  Optional[OutputKafkaPqControls], pydantic.Field(alias="pqControls")
808
753
  ] = None
809
-
810
- @field_serializer("ack")
811
- def serialize_ack(self, value):
812
- if isinstance(value, str):
813
- try:
814
- return models.OutputKafkaAcknowledgments(value)
815
- except ValueError:
816
- return value
817
- return value
818
-
819
- @field_serializer("format_")
820
- def serialize_format_(self, value):
821
- if isinstance(value, str):
822
- try:
823
- return models.OutputKafkaRecordDataFormat(value)
824
- except ValueError:
825
- return value
826
- return value
827
-
828
- @field_serializer("compression")
829
- def serialize_compression(self, value):
830
- if isinstance(value, str):
831
- try:
832
- return models.OutputKafkaCompression(value)
833
- except ValueError:
834
- return value
835
- return value
836
-
837
- @field_serializer("on_backpressure")
838
- def serialize_on_backpressure(self, value):
839
- if isinstance(value, str):
840
- try:
841
- return models.OutputKafkaBackpressureBehavior(value)
842
- except ValueError:
843
- return value
844
- return value
845
-
846
- @field_serializer("pq_mode")
847
- def serialize_pq_mode(self, value):
848
- if isinstance(value, str):
849
- try:
850
- return models.OutputKafkaMode(value)
851
- except ValueError:
852
- return value
853
- return value
854
-
855
- @field_serializer("pq_compress")
856
- def serialize_pq_compress(self, value):
857
- if isinstance(value, str):
858
- try:
859
- return models.OutputKafkaPqCompressCompression(value)
860
- except ValueError:
861
- return value
862
- return value
863
-
864
- @field_serializer("pq_on_backpressure")
865
- def serialize_pq_on_backpressure(self, value):
866
- if isinstance(value, str):
867
- try:
868
- return models.OutputKafkaQueueFullBehavior(value)
869
- except ValueError:
870
- return value
871
- return value