MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / DomainsApi

Class DomainsApi

sdks/python/src/e2a/v1/generated/api/domains_api.py:32–1354  ·  view source on GitHub ↗

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech Do not edit the class manually.

Source from the content-addressed store, hash-verified

30
31
32class DomainsApi:
33 """NOTE: This class is auto generated by OpenAPI Generator
34 Ref: https://openapi-generator.tech
35
36 Do not edit the class manually.
37 """
38
39 def __init__(self, api_client=None) -> None:
40 if api_client is None:
41 api_client = ApiClient.get_default()
42 self.api_client = api_client
43
44
45 @validate_call
46 async def delete_domain(
47 self,
48 domain: StrictStr,
49 confirm: Annotated[Optional[StrictStr], Field(description="Must be DELETE — this is irreversible (deprovisions the domain's sending identity).")] = None,
50 _request_timeout: Union[
51 None,
52 Annotated[StrictFloat, Field(gt=0)],
53 Tuple[
54 Annotated[StrictFloat, Field(gt=0)],
55 Annotated[StrictFloat, Field(gt=0)]
56 ]
57 ] = None,
58 _request_auth: Optional[Dict[StrictStr, Any]] = None,
59 _content_type: Optional[StrictStr] = None,
60 _headers: Optional[Dict[StrictStr, Any]] = None,
61 _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
62 ) -> None:
63 """Delete a domain
64
65
66 :param domain: (required)
67 :type domain: str
68 :param confirm: Must be DELETE — this is irreversible (deprovisions the domain's sending identity).
69 :type confirm: str
70 :param _request_timeout: timeout setting for this request. If one
71 number provided, it will be total request
72 timeout. It can also be a pair (tuple) of
73 (connection, read) timeouts.
74 :type _request_timeout: int, tuple(int, int), optional
75 :param _request_auth: set to override the auth_settings for an a single
76 request; this effectively ignores the
77 authentication in the spec for a single request.
78 :type _request_auth: dict, optional
79 :param _content_type: force content-type for the request.
80 :type _content_type: str, Optional
81 :param _headers: set to override the headers for a single
82 request; this effectively ignores the headers
83 in the spec for a single request.
84 :type _headers: dict, optional
85 :param _host_index: set to override the host_index for a single
86 request; this effectively ignores the host_index
87 in the spec for a single request.
88 :type _host_index: int, optional
89 :return: Returns the result object.

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected