cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc11__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.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +260 -393
- cribl_control_plane/models/cacheconnection.py +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +13 -21
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/cribllakedataset.py +15 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +15 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -19
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +1 -20
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -18
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -20
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +11 -18
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/input.py +2 -2
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +62 -7
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +63 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +40 -7
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/jobinfo.py +10 -4
- cribl_control_plane/models/jobstatus.py +34 -3
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -18
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/output.py +13 -13
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +125 -1
- cribl_control_plane/models/outputcriblhttp.py +97 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +99 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +69 -5
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +121 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +121 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +149 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +64 -1
- cribl_control_plane/models/runnablejobexecutor.py +24 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +15 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -19
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- cribl_control_plane-0.2.1rc11.dist-info/RECORD +350 -0
- cribl_control_plane-0.2.1rc4.dist-info/RECORD +0 -331
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
6
|
-
from
|
|
7
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
class DeleteOutputPqByIDRequestTypedDict(TypedDict):
|
|
@@ -17,20 +16,3 @@ class DeleteOutputPqByIDRequest(BaseModel):
|
|
|
17
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
18
17
|
]
|
|
19
18
|
r"""The <code>id</code> of the Destination to clear the PQ for."""
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class DeleteOutputPqByIDResponseTypedDict(TypedDict):
|
|
23
|
-
r"""A list of job ids for the background job that clears the persistent queue"""
|
|
24
|
-
|
|
25
|
-
count: NotRequired[int]
|
|
26
|
-
r"""number of items present in the items array"""
|
|
27
|
-
items: NotRequired[List[str]]
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class DeleteOutputPqByIDResponse(BaseModel):
|
|
31
|
-
r"""A list of job ids for the background job that clears the persistent queue"""
|
|
32
|
-
|
|
33
|
-
count: Optional[int] = None
|
|
34
|
-
r"""number of items present in the items array"""
|
|
35
|
-
|
|
36
|
-
items: Optional[List[str]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .packinstallinfo import PackInstallInfo, PackInstallInfoTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class DeletePacksByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class DeletePacksByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Pack to uninstall."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class DeletePacksByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of PackInstallInfo objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[PackInstallInfoTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class DeletePacksByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of PackInstallInfo objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[PackInstallInfo]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .pipeline import Pipeline, PipelineTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class DeletePipelineByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class DeletePipelineByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Pipeline to delete."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class DeletePipelineByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of Pipeline objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[PipelineTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class DeletePipelineByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of Pipeline objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[Pipeline]] = None
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
5
|
from .rbacresource import RbacResource
|
|
6
|
-
from
|
|
6
|
+
from cribl_control_plane import models
|
|
7
7
|
from cribl_control_plane.types import BaseModel
|
|
8
8
|
from cribl_control_plane.utils import (
|
|
9
9
|
FieldMetadata,
|
|
@@ -11,8 +11,9 @@ from cribl_control_plane.utils import (
|
|
|
11
11
|
QueryParamMetadata,
|
|
12
12
|
validate_open_enum,
|
|
13
13
|
)
|
|
14
|
+
from pydantic import field_serializer
|
|
14
15
|
from pydantic.functional_validators import PlainValidator
|
|
15
|
-
from typing import
|
|
16
|
+
from typing import Optional
|
|
16
17
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
18
|
|
|
18
19
|
|
|
@@ -43,19 +44,20 @@ class GetConfigGroupACLByProductAndIDRequest(BaseModel):
|
|
|
43
44
|
] = None
|
|
44
45
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
47
|
+
@field_serializer("product")
|
|
48
|
+
def serialize_product(self, value):
|
|
49
|
+
if isinstance(value, str):
|
|
50
|
+
try:
|
|
51
|
+
return models.ProductsCore(value)
|
|
52
|
+
except ValueError:
|
|
53
|
+
return value
|
|
54
|
+
return value
|
|
55
|
+
|
|
56
|
+
@field_serializer("type")
|
|
57
|
+
def serialize_type(self, value):
|
|
58
|
+
if isinstance(value, str):
|
|
59
|
+
try:
|
|
60
|
+
return models.RbacResource(value)
|
|
61
|
+
except ValueError:
|
|
62
|
+
return value
|
|
63
|
+
return value
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
5
|
from .rbacresource import RbacResource
|
|
6
|
-
from
|
|
6
|
+
from cribl_control_plane import models
|
|
7
7
|
from cribl_control_plane.types import BaseModel
|
|
8
8
|
from cribl_control_plane.utils import (
|
|
9
9
|
FieldMetadata,
|
|
@@ -11,8 +11,9 @@ from cribl_control_plane.utils import (
|
|
|
11
11
|
QueryParamMetadata,
|
|
12
12
|
validate_open_enum,
|
|
13
13
|
)
|
|
14
|
+
from pydantic import field_serializer
|
|
14
15
|
from pydantic.functional_validators import PlainValidator
|
|
15
|
-
from typing import
|
|
16
|
+
from typing import Optional
|
|
16
17
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
18
|
|
|
18
19
|
|
|
@@ -43,19 +44,20 @@ class GetConfigGroupACLTeamsByProductAndIDRequest(BaseModel):
|
|
|
43
44
|
] = None
|
|
44
45
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
47
|
+
@field_serializer("product")
|
|
48
|
+
def serialize_product(self, value):
|
|
49
|
+
if isinstance(value, str):
|
|
50
|
+
try:
|
|
51
|
+
return models.ProductsCore(value)
|
|
52
|
+
except ValueError:
|
|
53
|
+
return value
|
|
54
|
+
return value
|
|
55
|
+
|
|
56
|
+
@field_serializer("type")
|
|
57
|
+
def serialize_type(self, value):
|
|
58
|
+
if isinstance(value, str):
|
|
59
|
+
try:
|
|
60
|
+
return models.RbacResource(value)
|
|
61
|
+
except ValueError:
|
|
62
|
+
return value
|
|
63
|
+
return value
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
4
|
from .productscore import ProductsCore
|
|
5
|
+
from cribl_control_plane import models
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
7
|
from cribl_control_plane.utils import (
|
|
8
8
|
FieldMetadata,
|
|
@@ -10,8 +10,9 @@ from cribl_control_plane.utils import (
|
|
|
10
10
|
QueryParamMetadata,
|
|
11
11
|
validate_open_enum,
|
|
12
12
|
)
|
|
13
|
+
from pydantic import field_serializer
|
|
13
14
|
from pydantic.functional_validators import PlainValidator
|
|
14
|
-
from typing import
|
|
15
|
+
from typing import Optional
|
|
15
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
16
17
|
|
|
17
18
|
|
|
@@ -42,19 +43,11 @@ class GetConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
42
43
|
] = None
|
|
43
44
|
r"""Comma-separated list of additional properties to include in the response. Available values are <code>git.commit</code>, <code>git.localChanges</code>, and <code>git.log</code>."""
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
class GetConfigGroupByProductAndIDResponse(BaseModel):
|
|
55
|
-
r"""a list of ConfigGroup objects"""
|
|
56
|
-
|
|
57
|
-
count: Optional[int] = None
|
|
58
|
-
r"""number of items present in the items array"""
|
|
59
|
-
|
|
60
|
-
items: Optional[List[ConfigGroup]] = None
|
|
46
|
+
@field_serializer("product")
|
|
47
|
+
def serialize_product(self, value):
|
|
48
|
+
if isinstance(value, str):
|
|
49
|
+
try:
|
|
50
|
+
return models.ProductsCore(value)
|
|
51
|
+
except ValueError:
|
|
52
|
+
return value
|
|
53
|
+
return value
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
|
+
from cribl_control_plane import models
|
|
5
6
|
from cribl_control_plane.types import BaseModel
|
|
6
7
|
from cribl_control_plane.utils import (
|
|
7
8
|
FieldMetadata,
|
|
8
9
|
PathParamMetadata,
|
|
9
10
|
validate_open_enum,
|
|
10
11
|
)
|
|
12
|
+
from pydantic import field_serializer
|
|
11
13
|
from pydantic.functional_validators import PlainValidator
|
|
12
|
-
from
|
|
13
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
|
+
from typing_extensions import Annotated, TypedDict
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
class GetConfigGroupConfigVersionByProductAndIDRequestTypedDict(TypedDict):
|
|
@@ -32,19 +33,11 @@ class GetConfigGroupConfigVersionByProductAndIDRequest(BaseModel):
|
|
|
32
33
|
]
|
|
33
34
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the configuration version for."""
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
class GetConfigGroupConfigVersionByProductAndIDResponse(BaseModel):
|
|
45
|
-
r"""a list of string objects"""
|
|
46
|
-
|
|
47
|
-
count: Optional[int] = None
|
|
48
|
-
r"""number of items present in the items array"""
|
|
49
|
-
|
|
50
|
-
items: Optional[List[str]] = None
|
|
36
|
+
@field_serializer("product")
|
|
37
|
+
def serialize_product(self, value):
|
|
38
|
+
if isinstance(value, str):
|
|
39
|
+
try:
|
|
40
|
+
return models.ProductsCore(value)
|
|
41
|
+
except ValueError:
|
|
42
|
+
return value
|
|
43
|
+
return value
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from
|
|
9
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
class GetCriblLakeDatasetByLakeIDAndIDRequestTypedDict(TypedDict):
|
|
@@ -28,20 +26,3 @@ class GetCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
|
|
|
28
26
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
29
27
|
]
|
|
30
28
|
r"""The <code>id</code> of the Lake Dataset to get."""
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class GetCriblLakeDatasetByLakeIDAndIDResponseTypedDict(TypedDict):
|
|
34
|
-
r"""a list of CriblLakeDataset objects"""
|
|
35
|
-
|
|
36
|
-
count: NotRequired[int]
|
|
37
|
-
r"""number of items present in the items array"""
|
|
38
|
-
items: NotRequired[List[CriblLakeDatasetTypedDict]]
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class GetCriblLakeDatasetByLakeIDAndIDResponse(BaseModel):
|
|
42
|
-
r"""a list of CriblLakeDataset objects"""
|
|
43
|
-
|
|
44
|
-
count: Optional[int] = None
|
|
45
|
-
r"""number of items present in the items array"""
|
|
46
|
-
|
|
47
|
-
items: Optional[List[CriblLakeDataset]] = None
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from
|
|
9
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
class GetCriblLakeDatasetByLakeIDRequestTypedDict(TypedDict):
|
|
@@ -21,20 +19,3 @@ class GetCriblLakeDatasetByLakeIDRequest(BaseModel):
|
|
|
21
19
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
22
20
|
]
|
|
23
21
|
r"""The <code>id</code> of the Lake that contains the Lake Datasets to list."""
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class GetCriblLakeDatasetByLakeIDResponseTypedDict(TypedDict):
|
|
27
|
-
r"""a list of CriblLakeDataset objects"""
|
|
28
|
-
|
|
29
|
-
count: NotRequired[int]
|
|
30
|
-
r"""number of items present in the items array"""
|
|
31
|
-
items: NotRequired[List[CriblLakeDatasetTypedDict]]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class GetCriblLakeDatasetByLakeIDResponse(BaseModel):
|
|
35
|
-
r"""a list of CriblLakeDataset objects"""
|
|
36
|
-
|
|
37
|
-
count: Optional[int] = None
|
|
38
|
-
r"""number of items present in the items array"""
|
|
39
|
-
|
|
40
|
-
items: Optional[List[CriblLakeDataset]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .input import Input, InputTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class GetInputByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class GetInputByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Source to get."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class GetInputByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of Source objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[InputTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class GetInputByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of Source objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[Input]] = None
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
import pydantic
|
|
7
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
8
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
@@ -20,20 +20,3 @@ class GetMasterWorkerEntryRequest(BaseModel):
|
|
|
20
20
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
21
21
|
] = None
|
|
22
22
|
r"""Filter expression to evaluate against Nodes for inclusion in the response."""
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class GetMasterWorkerEntryResponseTypedDict(TypedDict):
|
|
26
|
-
r"""a list of number objects"""
|
|
27
|
-
|
|
28
|
-
count: NotRequired[int]
|
|
29
|
-
r"""number of items present in the items array"""
|
|
30
|
-
items: NotRequired[List[float]]
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class GetMasterWorkerEntryResponse(BaseModel):
|
|
34
|
-
r"""a list of number objects"""
|
|
35
|
-
|
|
36
|
-
count: Optional[int] = None
|
|
37
|
-
r"""number of items present in the items array"""
|
|
38
|
-
|
|
39
|
-
items: Optional[List[float]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .output import Output, OutputTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class GetOutputByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class GetOutputByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Destination to get."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class GetOutputByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of Destination objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[OutputTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class GetOutputByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of Destination objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[Output]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .jobinfo import JobInfo, JobInfoTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class GetOutputPqByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class GetOutputPqByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Destination to get PQ job information for."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class GetOutputPqByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of JobInfo objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[JobInfoTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class GetOutputPqByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of JobInfo objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[JobInfo]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .outputsamplesresponse import OutputSamplesResponse, OutputSamplesResponseTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class GetOutputSamplesByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class GetOutputSamplesByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Destination to get sample event data for."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class GetOutputSamplesByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of OutputSamplesResponse objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[OutputSamplesResponseTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class GetOutputSamplesByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of OutputSamplesResponse objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[OutputSamplesResponse]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .packinfo import PackInfo, PackInfoTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class GetPacksByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class GetPacksByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Pack to get."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class GetPacksByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of PackInfo objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[PackInfoTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class GetPacksByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of PackInfo objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[PackInfo]] = None
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .packinfo import PackInfo, PackInfoTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -21,20 +20,3 @@ class GetPacksRequest(BaseModel):
|
|
|
21
20
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
22
21
|
] = None
|
|
23
22
|
r"""Comma-separated list of additional properties to include in the response. When set, the response includes a count of the specified properties in the Pack. Available values are <code>inputs</code> and <code>outputs</code>."""
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class GetPacksResponseTypedDict(TypedDict):
|
|
27
|
-
r"""a list of PackInfo objects"""
|
|
28
|
-
|
|
29
|
-
count: NotRequired[int]
|
|
30
|
-
r"""number of items present in the items array"""
|
|
31
|
-
items: NotRequired[List[PackInfoTypedDict]]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class GetPacksResponse(BaseModel):
|
|
35
|
-
r"""a list of PackInfo objects"""
|
|
36
|
-
|
|
37
|
-
count: Optional[int] = None
|
|
38
|
-
r"""number of items present in the items array"""
|
|
39
|
-
|
|
40
|
-
items: Optional[List[PackInfo]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .pipeline import Pipeline, PipelineTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class GetPipelineByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class GetPipelineByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Pipeline to get."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class GetPipelineByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of Pipeline objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[PipelineTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class GetPipelineByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of Pipeline objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[Pipeline]] = None
|