graphiant-sdk 25.12.1__py3-none-any.whl → 26.1.1__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.
- graphiant_sdk/__init__.py +2982 -1471
- graphiant_sdk/api/default_api.py +1712 -23
- graphiant_sdk/api_client.py +16 -9
- graphiant_sdk/configuration.py +9 -3
- graphiant_sdk/exceptions.py +6 -3
- graphiant_sdk/models/__init__.py +19 -1
- graphiant_sdk/models/assurance_dns_proxy_entry.py +97 -0
- graphiant_sdk/models/iam_customer.py +6 -2
- graphiant_sdk/models/mana_v2_b2b_extranet_service_customer_match_details.py +15 -2
- graphiant_sdk/models/mana_v2_device.py +7 -1
- graphiant_sdk/models/mana_v2_edge_device_config.py +7 -1
- graphiant_sdk/models/mana_v2_interface.py +7 -1
- graphiant_sdk/models/mana_v2_interface_config.py +7 -1
- graphiant_sdk/models/mana_v2_interface_ma_csec.py +115 -0
- graphiant_sdk/models/mana_v2_lag_interface_config.py +7 -1
- graphiant_sdk/models/mana_v2_ma_csec_configuration.py +150 -0
- graphiant_sdk/models/mana_v2_nullable_ma_csec_configuration.py +91 -0
- graphiant_sdk/models/mana_v2_nullable_psk_configuration.py +91 -0
- graphiant_sdk/models/mana_v2_nullable_sak_configuration.py +91 -0
- graphiant_sdk/models/mana_v2_nullable_sla_conformance.py +91 -0
- graphiant_sdk/models/mana_v2_psk_configuration.py +99 -0
- graphiant_sdk/models/mana_v2_sak_configuration.py +93 -0
- graphiant_sdk/models/mana_v2_sla_conformance.py +91 -0
- graphiant_sdk/models/v1_auth_login_post_response.py +10 -2
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_prefixes_put_request.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_prefixes_put_response.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_service_status_put_response.py +87 -0
- graphiant_sdk/models/v2_assurance_create_dnsproxy_entry_post_request.py +91 -0
- graphiant_sdk/models/v2_assurance_create_dnsproxy_entry_post_response.py +87 -0
- graphiant_sdk/models/v2_assurance_read_dnsproxy_list_get_response.py +95 -0
- graphiant_sdk/models/v2_assurance_update_dnsproxy_entry_post_request.py +91 -0
- graphiant_sdk/rest.py +7 -2
- {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/METADATA +5 -3
- {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/RECORD +56 -20
- {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/WHEEL +1 -1
- test/test_assurance_dns_proxy_entry.py +70 -0
- test/test_mana_v2_interface_ma_csec.py +72 -0
- test/test_mana_v2_ma_csec_configuration.py +124 -0
- test/test_mana_v2_nullable_ma_csec_configuration.py +90 -0
- test/test_mana_v2_nullable_psk_configuration.py +58 -0
- test/test_mana_v2_nullable_sak_configuration.py +55 -0
- test/test_mana_v2_nullable_sla_conformance.py +54 -0
- test/test_mana_v2_psk_configuration.py +57 -0
- test/test_mana_v2_sak_configuration.py +54 -0
- test/test_mana_v2_sla_conformance.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_id_prefixes_put_request.py +60 -0
- test/test_v1_extranets_b2b_peering_consumer_id_prefixes_put_response.py +51 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request.py +54 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_service_status_put_response.py +51 -0
- test/test_v2_assurance_create_dnsproxy_entry_post_request.py +61 -0
- test/test_v2_assurance_create_dnsproxy_entry_post_response.py +51 -0
- test/test_v2_assurance_read_dnsproxy_list_get_response.py +63 -0
- test/test_v2_assurance_update_dnsproxy_entry_post_request.py +61 -0
- {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/top_level.txt +0 -0
graphiant_sdk/api/default_api.py
CHANGED
|
@@ -293,6 +293,8 @@ from graphiant_sdk.models.v1_extranets_b2b_id_producer_get_response import V1Ext
|
|
|
293
293
|
from graphiant_sdk.models.v1_extranets_b2b_id_put_request import V1ExtranetsB2bIdPutRequest
|
|
294
294
|
from graphiant_sdk.models.v1_extranets_b2b_id_put_response import V1ExtranetsB2bIdPutResponse
|
|
295
295
|
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_response import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse
|
|
296
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_prefixes_put_request import V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest
|
|
297
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_prefixes_put_response import V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse
|
|
296
298
|
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_match_details_get_response import V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse
|
|
297
299
|
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_request import V1ExtranetsB2bPeeringConsumerMatchIdPostRequest
|
|
298
300
|
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_response import V1ExtranetsB2bPeeringConsumerMatchIdPostResponse
|
|
@@ -304,6 +306,8 @@ from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_
|
|
|
304
306
|
from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_get_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse
|
|
305
307
|
from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_request import V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest
|
|
306
308
|
from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_response import V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse
|
|
309
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request import V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest
|
|
310
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_service_status_put_response import V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse
|
|
307
311
|
from graphiant_sdk.models.v1_extranets_b2b_peering_match_services_summary_id_get_response import V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse
|
|
308
312
|
from graphiant_sdk.models.v1_extranets_b2b_peering_producer_id_get_response import V1ExtranetsB2bPeeringProducerIdGetResponse
|
|
309
313
|
from graphiant_sdk.models.v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_response import V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse
|
|
@@ -543,6 +547,8 @@ from graphiant_sdk.models.v2_assurance_bucket_topologies_post_request import V2A
|
|
|
543
547
|
from graphiant_sdk.models.v2_assurance_bucket_topologies_post_response import V2AssuranceBucketTopologiesPostResponse
|
|
544
548
|
from graphiant_sdk.models.v2_assurance_bucketdetails_post_request import V2AssuranceBucketdetailsPostRequest
|
|
545
549
|
from graphiant_sdk.models.v2_assurance_bucketdetails_post_response import V2AssuranceBucketdetailsPostResponse
|
|
550
|
+
from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_request import V2AssuranceCreateDnsproxyEntryPostRequest
|
|
551
|
+
from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_response import V2AssuranceCreateDnsproxyEntryPostResponse
|
|
546
552
|
from graphiant_sdk.models.v2_assurance_create_user_report_post_request import V2AssuranceCreateUserReportPostRequest
|
|
547
553
|
from graphiant_sdk.models.v2_assurance_create_user_report_post_response import V2AssuranceCreateUserReportPostResponse
|
|
548
554
|
from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_request import V2AssuranceCreateclassifiedapplicationPostRequest
|
|
@@ -555,6 +561,7 @@ from graphiant_sdk.models.v2_assurance_enterprisesummary_post_response import V2
|
|
|
555
561
|
from graphiant_sdk.models.v2_assurance_flow_summary_post_request import V2AssuranceFlowSummaryPostRequest
|
|
556
562
|
from graphiant_sdk.models.v2_assurance_flow_summary_post_response import V2AssuranceFlowSummaryPostResponse
|
|
557
563
|
from graphiant_sdk.models.v2_assurance_getclassifiedapplicationlist_get_response import V2AssuranceGetclassifiedapplicationlistGetResponse
|
|
564
|
+
from graphiant_sdk.models.v2_assurance_read_dnsproxy_list_get_response import V2AssuranceReadDnsproxyListGetResponse
|
|
558
565
|
from graphiant_sdk.models.v2_assurance_read_user_report_list_get_response import V2AssuranceReadUserReportListGetResponse
|
|
559
566
|
from graphiant_sdk.models.v2_assurance_scoredetails_post_request import V2AssuranceScoredetailsPostRequest
|
|
560
567
|
from graphiant_sdk.models.v2_assurance_scoredetails_post_response import V2AssuranceScoredetailsPostResponse
|
|
@@ -576,6 +583,7 @@ from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_request impo
|
|
|
576
583
|
from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_response import V2AssuranceTopologySiteSummariesPostResponse
|
|
577
584
|
from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_request import V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest
|
|
578
585
|
from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_response import V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse
|
|
586
|
+
from graphiant_sdk.models.v2_assurance_update_dnsproxy_entry_post_request import V2AssuranceUpdateDnsproxyEntryPostRequest
|
|
579
587
|
from graphiant_sdk.models.v2_assurance_updateclassifiedapplication_post_request import V2AssuranceUpdateclassifiedapplicationPostRequest
|
|
580
588
|
from graphiant_sdk.models.v2_assurance_version_post_response import V2AssuranceVersionPostResponse
|
|
581
589
|
from graphiant_sdk.models.v2_audit_logs_post_request import V2AuditLogsPostRequest
|
|
@@ -65582,6 +65590,310 @@ class DefaultApi:
|
|
|
65582
65590
|
|
|
65583
65591
|
|
|
65584
65592
|
|
|
65593
|
+
@validate_call
|
|
65594
|
+
def v1_extranets_b2b_peering_consumer_id_prefixes_put(
|
|
65595
|
+
self,
|
|
65596
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
65597
|
+
id: Annotated[StrictInt, Field(description="consumer id")],
|
|
65598
|
+
v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest,
|
|
65599
|
+
_request_timeout: Union[
|
|
65600
|
+
None,
|
|
65601
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
65602
|
+
Tuple[
|
|
65603
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
65604
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
65605
|
+
]
|
|
65606
|
+
] = None,
|
|
65607
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
65608
|
+
_content_type: Optional[StrictStr] = None,
|
|
65609
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
65610
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
65611
|
+
) -> V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse:
|
|
65612
|
+
"""v1_extranets_b2b_peering_consumer_id_prefixes_put
|
|
65613
|
+
|
|
65614
|
+
Update B2B extranet peering service consumer
|
|
65615
|
+
|
|
65616
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
65617
|
+
:type authorization: str
|
|
65618
|
+
:param id: consumer id (required)
|
|
65619
|
+
:type id: int
|
|
65620
|
+
:param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required)
|
|
65621
|
+
:type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest
|
|
65622
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
65623
|
+
number provided, it will be total request
|
|
65624
|
+
timeout. It can also be a pair (tuple) of
|
|
65625
|
+
(connection, read) timeouts.
|
|
65626
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
65627
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
65628
|
+
request; this effectively ignores the
|
|
65629
|
+
authentication in the spec for a single request.
|
|
65630
|
+
:type _request_auth: dict, optional
|
|
65631
|
+
:param _content_type: force content-type for the request.
|
|
65632
|
+
:type _content_type: str, Optional
|
|
65633
|
+
:param _headers: set to override the headers for a single
|
|
65634
|
+
request; this effectively ignores the headers
|
|
65635
|
+
in the spec for a single request.
|
|
65636
|
+
:type _headers: dict, optional
|
|
65637
|
+
:param _host_index: set to override the host_index for a single
|
|
65638
|
+
request; this effectively ignores the host_index
|
|
65639
|
+
in the spec for a single request.
|
|
65640
|
+
:type _host_index: int, optional
|
|
65641
|
+
:return: Returns the result object.
|
|
65642
|
+
""" # noqa: E501
|
|
65643
|
+
|
|
65644
|
+
_param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize(
|
|
65645
|
+
authorization=authorization,
|
|
65646
|
+
id=id,
|
|
65647
|
+
v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request,
|
|
65648
|
+
_request_auth=_request_auth,
|
|
65649
|
+
_content_type=_content_type,
|
|
65650
|
+
_headers=_headers,
|
|
65651
|
+
_host_index=_host_index
|
|
65652
|
+
)
|
|
65653
|
+
|
|
65654
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
65655
|
+
'200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse",
|
|
65656
|
+
}
|
|
65657
|
+
response_data = self.api_client.call_api(
|
|
65658
|
+
*_param,
|
|
65659
|
+
_request_timeout=_request_timeout
|
|
65660
|
+
)
|
|
65661
|
+
response_data.read()
|
|
65662
|
+
return self.api_client.response_deserialize(
|
|
65663
|
+
response_data=response_data,
|
|
65664
|
+
response_types_map=_response_types_map,
|
|
65665
|
+
).data
|
|
65666
|
+
|
|
65667
|
+
|
|
65668
|
+
@validate_call
|
|
65669
|
+
def v1_extranets_b2b_peering_consumer_id_prefixes_put_with_http_info(
|
|
65670
|
+
self,
|
|
65671
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
65672
|
+
id: Annotated[StrictInt, Field(description="consumer id")],
|
|
65673
|
+
v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest,
|
|
65674
|
+
_request_timeout: Union[
|
|
65675
|
+
None,
|
|
65676
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
65677
|
+
Tuple[
|
|
65678
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
65679
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
65680
|
+
]
|
|
65681
|
+
] = None,
|
|
65682
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
65683
|
+
_content_type: Optional[StrictStr] = None,
|
|
65684
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
65685
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
65686
|
+
) -> ApiResponse[V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse]:
|
|
65687
|
+
"""v1_extranets_b2b_peering_consumer_id_prefixes_put
|
|
65688
|
+
|
|
65689
|
+
Update B2B extranet peering service consumer
|
|
65690
|
+
|
|
65691
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
65692
|
+
:type authorization: str
|
|
65693
|
+
:param id: consumer id (required)
|
|
65694
|
+
:type id: int
|
|
65695
|
+
:param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required)
|
|
65696
|
+
:type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest
|
|
65697
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
65698
|
+
number provided, it will be total request
|
|
65699
|
+
timeout. It can also be a pair (tuple) of
|
|
65700
|
+
(connection, read) timeouts.
|
|
65701
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
65702
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
65703
|
+
request; this effectively ignores the
|
|
65704
|
+
authentication in the spec for a single request.
|
|
65705
|
+
:type _request_auth: dict, optional
|
|
65706
|
+
:param _content_type: force content-type for the request.
|
|
65707
|
+
:type _content_type: str, Optional
|
|
65708
|
+
:param _headers: set to override the headers for a single
|
|
65709
|
+
request; this effectively ignores the headers
|
|
65710
|
+
in the spec for a single request.
|
|
65711
|
+
:type _headers: dict, optional
|
|
65712
|
+
:param _host_index: set to override the host_index for a single
|
|
65713
|
+
request; this effectively ignores the host_index
|
|
65714
|
+
in the spec for a single request.
|
|
65715
|
+
:type _host_index: int, optional
|
|
65716
|
+
:return: Returns the result object.
|
|
65717
|
+
""" # noqa: E501
|
|
65718
|
+
|
|
65719
|
+
_param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize(
|
|
65720
|
+
authorization=authorization,
|
|
65721
|
+
id=id,
|
|
65722
|
+
v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request,
|
|
65723
|
+
_request_auth=_request_auth,
|
|
65724
|
+
_content_type=_content_type,
|
|
65725
|
+
_headers=_headers,
|
|
65726
|
+
_host_index=_host_index
|
|
65727
|
+
)
|
|
65728
|
+
|
|
65729
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
65730
|
+
'200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse",
|
|
65731
|
+
}
|
|
65732
|
+
response_data = self.api_client.call_api(
|
|
65733
|
+
*_param,
|
|
65734
|
+
_request_timeout=_request_timeout
|
|
65735
|
+
)
|
|
65736
|
+
response_data.read()
|
|
65737
|
+
return self.api_client.response_deserialize(
|
|
65738
|
+
response_data=response_data,
|
|
65739
|
+
response_types_map=_response_types_map,
|
|
65740
|
+
)
|
|
65741
|
+
|
|
65742
|
+
|
|
65743
|
+
@validate_call
|
|
65744
|
+
def v1_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content(
|
|
65745
|
+
self,
|
|
65746
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
65747
|
+
id: Annotated[StrictInt, Field(description="consumer id")],
|
|
65748
|
+
v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest,
|
|
65749
|
+
_request_timeout: Union[
|
|
65750
|
+
None,
|
|
65751
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
65752
|
+
Tuple[
|
|
65753
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
65754
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
65755
|
+
]
|
|
65756
|
+
] = None,
|
|
65757
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
65758
|
+
_content_type: Optional[StrictStr] = None,
|
|
65759
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
65760
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
65761
|
+
) -> RESTResponseType:
|
|
65762
|
+
"""v1_extranets_b2b_peering_consumer_id_prefixes_put
|
|
65763
|
+
|
|
65764
|
+
Update B2B extranet peering service consumer
|
|
65765
|
+
|
|
65766
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
65767
|
+
:type authorization: str
|
|
65768
|
+
:param id: consumer id (required)
|
|
65769
|
+
:type id: int
|
|
65770
|
+
:param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required)
|
|
65771
|
+
:type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest
|
|
65772
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
65773
|
+
number provided, it will be total request
|
|
65774
|
+
timeout. It can also be a pair (tuple) of
|
|
65775
|
+
(connection, read) timeouts.
|
|
65776
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
65777
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
65778
|
+
request; this effectively ignores the
|
|
65779
|
+
authentication in the spec for a single request.
|
|
65780
|
+
:type _request_auth: dict, optional
|
|
65781
|
+
:param _content_type: force content-type for the request.
|
|
65782
|
+
:type _content_type: str, Optional
|
|
65783
|
+
:param _headers: set to override the headers for a single
|
|
65784
|
+
request; this effectively ignores the headers
|
|
65785
|
+
in the spec for a single request.
|
|
65786
|
+
:type _headers: dict, optional
|
|
65787
|
+
:param _host_index: set to override the host_index for a single
|
|
65788
|
+
request; this effectively ignores the host_index
|
|
65789
|
+
in the spec for a single request.
|
|
65790
|
+
:type _host_index: int, optional
|
|
65791
|
+
:return: Returns the result object.
|
|
65792
|
+
""" # noqa: E501
|
|
65793
|
+
|
|
65794
|
+
_param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize(
|
|
65795
|
+
authorization=authorization,
|
|
65796
|
+
id=id,
|
|
65797
|
+
v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request,
|
|
65798
|
+
_request_auth=_request_auth,
|
|
65799
|
+
_content_type=_content_type,
|
|
65800
|
+
_headers=_headers,
|
|
65801
|
+
_host_index=_host_index
|
|
65802
|
+
)
|
|
65803
|
+
|
|
65804
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
65805
|
+
'200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse",
|
|
65806
|
+
}
|
|
65807
|
+
response_data = self.api_client.call_api(
|
|
65808
|
+
*_param,
|
|
65809
|
+
_request_timeout=_request_timeout
|
|
65810
|
+
)
|
|
65811
|
+
return response_data.response
|
|
65812
|
+
|
|
65813
|
+
|
|
65814
|
+
def _v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize(
|
|
65815
|
+
self,
|
|
65816
|
+
authorization,
|
|
65817
|
+
id,
|
|
65818
|
+
v1_extranets_b2b_peering_consumer_id_prefixes_put_request,
|
|
65819
|
+
_request_auth,
|
|
65820
|
+
_content_type,
|
|
65821
|
+
_headers,
|
|
65822
|
+
_host_index,
|
|
65823
|
+
) -> RequestSerialized:
|
|
65824
|
+
|
|
65825
|
+
_host = None
|
|
65826
|
+
|
|
65827
|
+
_collection_formats: Dict[str, str] = {
|
|
65828
|
+
}
|
|
65829
|
+
|
|
65830
|
+
_path_params: Dict[str, str] = {}
|
|
65831
|
+
_query_params: List[Tuple[str, str]] = []
|
|
65832
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
65833
|
+
_form_params: List[Tuple[str, str]] = []
|
|
65834
|
+
_files: Dict[
|
|
65835
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
65836
|
+
] = {}
|
|
65837
|
+
_body_params: Optional[bytes] = None
|
|
65838
|
+
|
|
65839
|
+
# process the path parameters
|
|
65840
|
+
if id is not None:
|
|
65841
|
+
_path_params['id'] = id
|
|
65842
|
+
# process the query parameters
|
|
65843
|
+
# process the header parameters
|
|
65844
|
+
if authorization is not None:
|
|
65845
|
+
_header_params['Authorization'] = authorization
|
|
65846
|
+
# process the form parameters
|
|
65847
|
+
# process the body parameter
|
|
65848
|
+
if v1_extranets_b2b_peering_consumer_id_prefixes_put_request is not None:
|
|
65849
|
+
_body_params = v1_extranets_b2b_peering_consumer_id_prefixes_put_request
|
|
65850
|
+
|
|
65851
|
+
|
|
65852
|
+
# set the HTTP header `Accept`
|
|
65853
|
+
if 'Accept' not in _header_params:
|
|
65854
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
65855
|
+
[
|
|
65856
|
+
'application/json'
|
|
65857
|
+
]
|
|
65858
|
+
)
|
|
65859
|
+
|
|
65860
|
+
# set the HTTP header `Content-Type`
|
|
65861
|
+
if _content_type:
|
|
65862
|
+
_header_params['Content-Type'] = _content_type
|
|
65863
|
+
else:
|
|
65864
|
+
_default_content_type = (
|
|
65865
|
+
self.api_client.select_header_content_type(
|
|
65866
|
+
[
|
|
65867
|
+
'application/json'
|
|
65868
|
+
]
|
|
65869
|
+
)
|
|
65870
|
+
)
|
|
65871
|
+
if _default_content_type is not None:
|
|
65872
|
+
_header_params['Content-Type'] = _default_content_type
|
|
65873
|
+
|
|
65874
|
+
# authentication setting
|
|
65875
|
+
_auth_settings: List[str] = [
|
|
65876
|
+
'jwtAuth'
|
|
65877
|
+
]
|
|
65878
|
+
|
|
65879
|
+
return self.api_client.param_serialize(
|
|
65880
|
+
method='PUT',
|
|
65881
|
+
resource_path='/v1/extranets-b2b-peering/consumer/{id}/prefixes',
|
|
65882
|
+
path_params=_path_params,
|
|
65883
|
+
query_params=_query_params,
|
|
65884
|
+
header_params=_header_params,
|
|
65885
|
+
body=_body_params,
|
|
65886
|
+
post_params=_form_params,
|
|
65887
|
+
files=_files,
|
|
65888
|
+
auth_settings=_auth_settings,
|
|
65889
|
+
collection_formats=_collection_formats,
|
|
65890
|
+
_host=_host,
|
|
65891
|
+
_request_auth=_request_auth
|
|
65892
|
+
)
|
|
65893
|
+
|
|
65894
|
+
|
|
65895
|
+
|
|
65896
|
+
|
|
65585
65897
|
@validate_call
|
|
65586
65898
|
def v1_extranets_b2b_peering_consumer_match_id_match_details_get(
|
|
65587
65899
|
self,
|
|
@@ -67844,6 +68156,295 @@ class DefaultApi:
|
|
|
67844
68156
|
|
|
67845
68157
|
|
|
67846
68158
|
|
|
68159
|
+
@validate_call
|
|
68160
|
+
def v1_extranets_b2b_peering_match_service_to_customer_service_status_put(
|
|
68161
|
+
self,
|
|
68162
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
68163
|
+
v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest,
|
|
68164
|
+
_request_timeout: Union[
|
|
68165
|
+
None,
|
|
68166
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
68167
|
+
Tuple[
|
|
68168
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
68169
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
68170
|
+
]
|
|
68171
|
+
] = None,
|
|
68172
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
68173
|
+
_content_type: Optional[StrictStr] = None,
|
|
68174
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
68175
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68176
|
+
) -> V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse:
|
|
68177
|
+
"""v1_extranets_b2b_peering_match_service_to_customer_service_status_put
|
|
68178
|
+
|
|
68179
|
+
Pause B2B match service to customer
|
|
68180
|
+
|
|
68181
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
68182
|
+
:type authorization: str
|
|
68183
|
+
:param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required)
|
|
68184
|
+
:type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest
|
|
68185
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
68186
|
+
number provided, it will be total request
|
|
68187
|
+
timeout. It can also be a pair (tuple) of
|
|
68188
|
+
(connection, read) timeouts.
|
|
68189
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
68190
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
68191
|
+
request; this effectively ignores the
|
|
68192
|
+
authentication in the spec for a single request.
|
|
68193
|
+
:type _request_auth: dict, optional
|
|
68194
|
+
:param _content_type: force content-type for the request.
|
|
68195
|
+
:type _content_type: str, Optional
|
|
68196
|
+
:param _headers: set to override the headers for a single
|
|
68197
|
+
request; this effectively ignores the headers
|
|
68198
|
+
in the spec for a single request.
|
|
68199
|
+
:type _headers: dict, optional
|
|
68200
|
+
:param _host_index: set to override the host_index for a single
|
|
68201
|
+
request; this effectively ignores the host_index
|
|
68202
|
+
in the spec for a single request.
|
|
68203
|
+
:type _host_index: int, optional
|
|
68204
|
+
:return: Returns the result object.
|
|
68205
|
+
""" # noqa: E501
|
|
68206
|
+
|
|
68207
|
+
_param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize(
|
|
68208
|
+
authorization=authorization,
|
|
68209
|
+
v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request,
|
|
68210
|
+
_request_auth=_request_auth,
|
|
68211
|
+
_content_type=_content_type,
|
|
68212
|
+
_headers=_headers,
|
|
68213
|
+
_host_index=_host_index
|
|
68214
|
+
)
|
|
68215
|
+
|
|
68216
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
68217
|
+
'200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse",
|
|
68218
|
+
}
|
|
68219
|
+
response_data = self.api_client.call_api(
|
|
68220
|
+
*_param,
|
|
68221
|
+
_request_timeout=_request_timeout
|
|
68222
|
+
)
|
|
68223
|
+
response_data.read()
|
|
68224
|
+
return self.api_client.response_deserialize(
|
|
68225
|
+
response_data=response_data,
|
|
68226
|
+
response_types_map=_response_types_map,
|
|
68227
|
+
).data
|
|
68228
|
+
|
|
68229
|
+
|
|
68230
|
+
@validate_call
|
|
68231
|
+
def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_with_http_info(
|
|
68232
|
+
self,
|
|
68233
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
68234
|
+
v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest,
|
|
68235
|
+
_request_timeout: Union[
|
|
68236
|
+
None,
|
|
68237
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
68238
|
+
Tuple[
|
|
68239
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
68240
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
68241
|
+
]
|
|
68242
|
+
] = None,
|
|
68243
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
68244
|
+
_content_type: Optional[StrictStr] = None,
|
|
68245
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
68246
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68247
|
+
) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse]:
|
|
68248
|
+
"""v1_extranets_b2b_peering_match_service_to_customer_service_status_put
|
|
68249
|
+
|
|
68250
|
+
Pause B2B match service to customer
|
|
68251
|
+
|
|
68252
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
68253
|
+
:type authorization: str
|
|
68254
|
+
:param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required)
|
|
68255
|
+
:type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest
|
|
68256
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
68257
|
+
number provided, it will be total request
|
|
68258
|
+
timeout. It can also be a pair (tuple) of
|
|
68259
|
+
(connection, read) timeouts.
|
|
68260
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
68261
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
68262
|
+
request; this effectively ignores the
|
|
68263
|
+
authentication in the spec for a single request.
|
|
68264
|
+
:type _request_auth: dict, optional
|
|
68265
|
+
:param _content_type: force content-type for the request.
|
|
68266
|
+
:type _content_type: str, Optional
|
|
68267
|
+
:param _headers: set to override the headers for a single
|
|
68268
|
+
request; this effectively ignores the headers
|
|
68269
|
+
in the spec for a single request.
|
|
68270
|
+
:type _headers: dict, optional
|
|
68271
|
+
:param _host_index: set to override the host_index for a single
|
|
68272
|
+
request; this effectively ignores the host_index
|
|
68273
|
+
in the spec for a single request.
|
|
68274
|
+
:type _host_index: int, optional
|
|
68275
|
+
:return: Returns the result object.
|
|
68276
|
+
""" # noqa: E501
|
|
68277
|
+
|
|
68278
|
+
_param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize(
|
|
68279
|
+
authorization=authorization,
|
|
68280
|
+
v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request,
|
|
68281
|
+
_request_auth=_request_auth,
|
|
68282
|
+
_content_type=_content_type,
|
|
68283
|
+
_headers=_headers,
|
|
68284
|
+
_host_index=_host_index
|
|
68285
|
+
)
|
|
68286
|
+
|
|
68287
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
68288
|
+
'200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse",
|
|
68289
|
+
}
|
|
68290
|
+
response_data = self.api_client.call_api(
|
|
68291
|
+
*_param,
|
|
68292
|
+
_request_timeout=_request_timeout
|
|
68293
|
+
)
|
|
68294
|
+
response_data.read()
|
|
68295
|
+
return self.api_client.response_deserialize(
|
|
68296
|
+
response_data=response_data,
|
|
68297
|
+
response_types_map=_response_types_map,
|
|
68298
|
+
)
|
|
68299
|
+
|
|
68300
|
+
|
|
68301
|
+
@validate_call
|
|
68302
|
+
def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_without_preload_content(
|
|
68303
|
+
self,
|
|
68304
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
68305
|
+
v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest,
|
|
68306
|
+
_request_timeout: Union[
|
|
68307
|
+
None,
|
|
68308
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
68309
|
+
Tuple[
|
|
68310
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
68311
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
68312
|
+
]
|
|
68313
|
+
] = None,
|
|
68314
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
68315
|
+
_content_type: Optional[StrictStr] = None,
|
|
68316
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
68317
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68318
|
+
) -> RESTResponseType:
|
|
68319
|
+
"""v1_extranets_b2b_peering_match_service_to_customer_service_status_put
|
|
68320
|
+
|
|
68321
|
+
Pause B2B match service to customer
|
|
68322
|
+
|
|
68323
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
68324
|
+
:type authorization: str
|
|
68325
|
+
:param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required)
|
|
68326
|
+
:type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest
|
|
68327
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
68328
|
+
number provided, it will be total request
|
|
68329
|
+
timeout. It can also be a pair (tuple) of
|
|
68330
|
+
(connection, read) timeouts.
|
|
68331
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
68332
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
68333
|
+
request; this effectively ignores the
|
|
68334
|
+
authentication in the spec for a single request.
|
|
68335
|
+
:type _request_auth: dict, optional
|
|
68336
|
+
:param _content_type: force content-type for the request.
|
|
68337
|
+
:type _content_type: str, Optional
|
|
68338
|
+
:param _headers: set to override the headers for a single
|
|
68339
|
+
request; this effectively ignores the headers
|
|
68340
|
+
in the spec for a single request.
|
|
68341
|
+
:type _headers: dict, optional
|
|
68342
|
+
:param _host_index: set to override the host_index for a single
|
|
68343
|
+
request; this effectively ignores the host_index
|
|
68344
|
+
in the spec for a single request.
|
|
68345
|
+
:type _host_index: int, optional
|
|
68346
|
+
:return: Returns the result object.
|
|
68347
|
+
""" # noqa: E501
|
|
68348
|
+
|
|
68349
|
+
_param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize(
|
|
68350
|
+
authorization=authorization,
|
|
68351
|
+
v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request,
|
|
68352
|
+
_request_auth=_request_auth,
|
|
68353
|
+
_content_type=_content_type,
|
|
68354
|
+
_headers=_headers,
|
|
68355
|
+
_host_index=_host_index
|
|
68356
|
+
)
|
|
68357
|
+
|
|
68358
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
68359
|
+
'200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse",
|
|
68360
|
+
}
|
|
68361
|
+
response_data = self.api_client.call_api(
|
|
68362
|
+
*_param,
|
|
68363
|
+
_request_timeout=_request_timeout
|
|
68364
|
+
)
|
|
68365
|
+
return response_data.response
|
|
68366
|
+
|
|
68367
|
+
|
|
68368
|
+
def _v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize(
|
|
68369
|
+
self,
|
|
68370
|
+
authorization,
|
|
68371
|
+
v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request,
|
|
68372
|
+
_request_auth,
|
|
68373
|
+
_content_type,
|
|
68374
|
+
_headers,
|
|
68375
|
+
_host_index,
|
|
68376
|
+
) -> RequestSerialized:
|
|
68377
|
+
|
|
68378
|
+
_host = None
|
|
68379
|
+
|
|
68380
|
+
_collection_formats: Dict[str, str] = {
|
|
68381
|
+
}
|
|
68382
|
+
|
|
68383
|
+
_path_params: Dict[str, str] = {}
|
|
68384
|
+
_query_params: List[Tuple[str, str]] = []
|
|
68385
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
68386
|
+
_form_params: List[Tuple[str, str]] = []
|
|
68387
|
+
_files: Dict[
|
|
68388
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
68389
|
+
] = {}
|
|
68390
|
+
_body_params: Optional[bytes] = None
|
|
68391
|
+
|
|
68392
|
+
# process the path parameters
|
|
68393
|
+
# process the query parameters
|
|
68394
|
+
# process the header parameters
|
|
68395
|
+
if authorization is not None:
|
|
68396
|
+
_header_params['Authorization'] = authorization
|
|
68397
|
+
# process the form parameters
|
|
68398
|
+
# process the body parameter
|
|
68399
|
+
if v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request is not None:
|
|
68400
|
+
_body_params = v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request
|
|
68401
|
+
|
|
68402
|
+
|
|
68403
|
+
# set the HTTP header `Accept`
|
|
68404
|
+
if 'Accept' not in _header_params:
|
|
68405
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
68406
|
+
[
|
|
68407
|
+
'application/json'
|
|
68408
|
+
]
|
|
68409
|
+
)
|
|
68410
|
+
|
|
68411
|
+
# set the HTTP header `Content-Type`
|
|
68412
|
+
if _content_type:
|
|
68413
|
+
_header_params['Content-Type'] = _content_type
|
|
68414
|
+
else:
|
|
68415
|
+
_default_content_type = (
|
|
68416
|
+
self.api_client.select_header_content_type(
|
|
68417
|
+
[
|
|
68418
|
+
'application/json'
|
|
68419
|
+
]
|
|
68420
|
+
)
|
|
68421
|
+
)
|
|
68422
|
+
if _default_content_type is not None:
|
|
68423
|
+
_header_params['Content-Type'] = _default_content_type
|
|
68424
|
+
|
|
68425
|
+
# authentication setting
|
|
68426
|
+
_auth_settings: List[str] = [
|
|
68427
|
+
'jwtAuth'
|
|
68428
|
+
]
|
|
68429
|
+
|
|
68430
|
+
return self.api_client.param_serialize(
|
|
68431
|
+
method='PUT',
|
|
68432
|
+
resource_path='/v1/extranets-b2b-peering/match/service-to-customer/service-status',
|
|
68433
|
+
path_params=_path_params,
|
|
68434
|
+
query_params=_query_params,
|
|
68435
|
+
header_params=_header_params,
|
|
68436
|
+
body=_body_params,
|
|
68437
|
+
post_params=_form_params,
|
|
68438
|
+
files=_files,
|
|
68439
|
+
auth_settings=_auth_settings,
|
|
68440
|
+
collection_formats=_collection_formats,
|
|
68441
|
+
_host=_host,
|
|
68442
|
+
_request_auth=_request_auth
|
|
68443
|
+
)
|
|
68444
|
+
|
|
68445
|
+
|
|
68446
|
+
|
|
68447
|
+
|
|
67847
68448
|
@validate_call
|
|
67848
68449
|
def v1_extranets_b2b_peering_match_services_summary_id_get(
|
|
67849
68450
|
self,
|
|
@@ -124884,10 +125485,10 @@ class DefaultApi:
|
|
|
124884
125485
|
|
|
124885
125486
|
|
|
124886
125487
|
@validate_call
|
|
124887
|
-
def
|
|
125488
|
+
def v2_assurance_create_dnsproxy_entry_post(
|
|
124888
125489
|
self,
|
|
124889
125490
|
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
124890
|
-
|
|
125491
|
+
v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest,
|
|
124891
125492
|
_request_timeout: Union[
|
|
124892
125493
|
None,
|
|
124893
125494
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -124900,14 +125501,300 @@ class DefaultApi:
|
|
|
124900
125501
|
_content_type: Optional[StrictStr] = None,
|
|
124901
125502
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
124902
125503
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
124903
|
-
) ->
|
|
124904
|
-
"""
|
|
125504
|
+
) -> V2AssuranceCreateDnsproxyEntryPostResponse:
|
|
125505
|
+
"""v2_assurance_create_dnsproxy_entry_post
|
|
124905
125506
|
|
|
124906
125507
|
|
|
124907
125508
|
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
124908
125509
|
:type authorization: str
|
|
124909
|
-
:param
|
|
124910
|
-
:type
|
|
125510
|
+
:param v2_assurance_create_dnsproxy_entry_post_request: (required)
|
|
125511
|
+
:type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest
|
|
125512
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
125513
|
+
number provided, it will be total request
|
|
125514
|
+
timeout. It can also be a pair (tuple) of
|
|
125515
|
+
(connection, read) timeouts.
|
|
125516
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
125517
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
125518
|
+
request; this effectively ignores the
|
|
125519
|
+
authentication in the spec for a single request.
|
|
125520
|
+
:type _request_auth: dict, optional
|
|
125521
|
+
:param _content_type: force content-type for the request.
|
|
125522
|
+
:type _content_type: str, Optional
|
|
125523
|
+
:param _headers: set to override the headers for a single
|
|
125524
|
+
request; this effectively ignores the headers
|
|
125525
|
+
in the spec for a single request.
|
|
125526
|
+
:type _headers: dict, optional
|
|
125527
|
+
:param _host_index: set to override the host_index for a single
|
|
125528
|
+
request; this effectively ignores the host_index
|
|
125529
|
+
in the spec for a single request.
|
|
125530
|
+
:type _host_index: int, optional
|
|
125531
|
+
:return: Returns the result object.
|
|
125532
|
+
""" # noqa: E501
|
|
125533
|
+
|
|
125534
|
+
_param = self._v2_assurance_create_dnsproxy_entry_post_serialize(
|
|
125535
|
+
authorization=authorization,
|
|
125536
|
+
v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request,
|
|
125537
|
+
_request_auth=_request_auth,
|
|
125538
|
+
_content_type=_content_type,
|
|
125539
|
+
_headers=_headers,
|
|
125540
|
+
_host_index=_host_index
|
|
125541
|
+
)
|
|
125542
|
+
|
|
125543
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
125544
|
+
'200': "V2AssuranceCreateDnsproxyEntryPostResponse",
|
|
125545
|
+
}
|
|
125546
|
+
response_data = self.api_client.call_api(
|
|
125547
|
+
*_param,
|
|
125548
|
+
_request_timeout=_request_timeout
|
|
125549
|
+
)
|
|
125550
|
+
response_data.read()
|
|
125551
|
+
return self.api_client.response_deserialize(
|
|
125552
|
+
response_data=response_data,
|
|
125553
|
+
response_types_map=_response_types_map,
|
|
125554
|
+
).data
|
|
125555
|
+
|
|
125556
|
+
|
|
125557
|
+
@validate_call
|
|
125558
|
+
def v2_assurance_create_dnsproxy_entry_post_with_http_info(
|
|
125559
|
+
self,
|
|
125560
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
125561
|
+
v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest,
|
|
125562
|
+
_request_timeout: Union[
|
|
125563
|
+
None,
|
|
125564
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
125565
|
+
Tuple[
|
|
125566
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
125567
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
125568
|
+
]
|
|
125569
|
+
] = None,
|
|
125570
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
125571
|
+
_content_type: Optional[StrictStr] = None,
|
|
125572
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
125573
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
125574
|
+
) -> ApiResponse[V2AssuranceCreateDnsproxyEntryPostResponse]:
|
|
125575
|
+
"""v2_assurance_create_dnsproxy_entry_post
|
|
125576
|
+
|
|
125577
|
+
|
|
125578
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
125579
|
+
:type authorization: str
|
|
125580
|
+
:param v2_assurance_create_dnsproxy_entry_post_request: (required)
|
|
125581
|
+
:type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest
|
|
125582
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
125583
|
+
number provided, it will be total request
|
|
125584
|
+
timeout. It can also be a pair (tuple) of
|
|
125585
|
+
(connection, read) timeouts.
|
|
125586
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
125587
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
125588
|
+
request; this effectively ignores the
|
|
125589
|
+
authentication in the spec for a single request.
|
|
125590
|
+
:type _request_auth: dict, optional
|
|
125591
|
+
:param _content_type: force content-type for the request.
|
|
125592
|
+
:type _content_type: str, Optional
|
|
125593
|
+
:param _headers: set to override the headers for a single
|
|
125594
|
+
request; this effectively ignores the headers
|
|
125595
|
+
in the spec for a single request.
|
|
125596
|
+
:type _headers: dict, optional
|
|
125597
|
+
:param _host_index: set to override the host_index for a single
|
|
125598
|
+
request; this effectively ignores the host_index
|
|
125599
|
+
in the spec for a single request.
|
|
125600
|
+
:type _host_index: int, optional
|
|
125601
|
+
:return: Returns the result object.
|
|
125602
|
+
""" # noqa: E501
|
|
125603
|
+
|
|
125604
|
+
_param = self._v2_assurance_create_dnsproxy_entry_post_serialize(
|
|
125605
|
+
authorization=authorization,
|
|
125606
|
+
v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request,
|
|
125607
|
+
_request_auth=_request_auth,
|
|
125608
|
+
_content_type=_content_type,
|
|
125609
|
+
_headers=_headers,
|
|
125610
|
+
_host_index=_host_index
|
|
125611
|
+
)
|
|
125612
|
+
|
|
125613
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
125614
|
+
'200': "V2AssuranceCreateDnsproxyEntryPostResponse",
|
|
125615
|
+
}
|
|
125616
|
+
response_data = self.api_client.call_api(
|
|
125617
|
+
*_param,
|
|
125618
|
+
_request_timeout=_request_timeout
|
|
125619
|
+
)
|
|
125620
|
+
response_data.read()
|
|
125621
|
+
return self.api_client.response_deserialize(
|
|
125622
|
+
response_data=response_data,
|
|
125623
|
+
response_types_map=_response_types_map,
|
|
125624
|
+
)
|
|
125625
|
+
|
|
125626
|
+
|
|
125627
|
+
@validate_call
|
|
125628
|
+
def v2_assurance_create_dnsproxy_entry_post_without_preload_content(
|
|
125629
|
+
self,
|
|
125630
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
125631
|
+
v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest,
|
|
125632
|
+
_request_timeout: Union[
|
|
125633
|
+
None,
|
|
125634
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
125635
|
+
Tuple[
|
|
125636
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
125637
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
125638
|
+
]
|
|
125639
|
+
] = None,
|
|
125640
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
125641
|
+
_content_type: Optional[StrictStr] = None,
|
|
125642
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
125643
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
125644
|
+
) -> RESTResponseType:
|
|
125645
|
+
"""v2_assurance_create_dnsproxy_entry_post
|
|
125646
|
+
|
|
125647
|
+
|
|
125648
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
125649
|
+
:type authorization: str
|
|
125650
|
+
:param v2_assurance_create_dnsproxy_entry_post_request: (required)
|
|
125651
|
+
:type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest
|
|
125652
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
125653
|
+
number provided, it will be total request
|
|
125654
|
+
timeout. It can also be a pair (tuple) of
|
|
125655
|
+
(connection, read) timeouts.
|
|
125656
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
125657
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
125658
|
+
request; this effectively ignores the
|
|
125659
|
+
authentication in the spec for a single request.
|
|
125660
|
+
:type _request_auth: dict, optional
|
|
125661
|
+
:param _content_type: force content-type for the request.
|
|
125662
|
+
:type _content_type: str, Optional
|
|
125663
|
+
:param _headers: set to override the headers for a single
|
|
125664
|
+
request; this effectively ignores the headers
|
|
125665
|
+
in the spec for a single request.
|
|
125666
|
+
:type _headers: dict, optional
|
|
125667
|
+
:param _host_index: set to override the host_index for a single
|
|
125668
|
+
request; this effectively ignores the host_index
|
|
125669
|
+
in the spec for a single request.
|
|
125670
|
+
:type _host_index: int, optional
|
|
125671
|
+
:return: Returns the result object.
|
|
125672
|
+
""" # noqa: E501
|
|
125673
|
+
|
|
125674
|
+
_param = self._v2_assurance_create_dnsproxy_entry_post_serialize(
|
|
125675
|
+
authorization=authorization,
|
|
125676
|
+
v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request,
|
|
125677
|
+
_request_auth=_request_auth,
|
|
125678
|
+
_content_type=_content_type,
|
|
125679
|
+
_headers=_headers,
|
|
125680
|
+
_host_index=_host_index
|
|
125681
|
+
)
|
|
125682
|
+
|
|
125683
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
125684
|
+
'200': "V2AssuranceCreateDnsproxyEntryPostResponse",
|
|
125685
|
+
}
|
|
125686
|
+
response_data = self.api_client.call_api(
|
|
125687
|
+
*_param,
|
|
125688
|
+
_request_timeout=_request_timeout
|
|
125689
|
+
)
|
|
125690
|
+
return response_data.response
|
|
125691
|
+
|
|
125692
|
+
|
|
125693
|
+
def _v2_assurance_create_dnsproxy_entry_post_serialize(
|
|
125694
|
+
self,
|
|
125695
|
+
authorization,
|
|
125696
|
+
v2_assurance_create_dnsproxy_entry_post_request,
|
|
125697
|
+
_request_auth,
|
|
125698
|
+
_content_type,
|
|
125699
|
+
_headers,
|
|
125700
|
+
_host_index,
|
|
125701
|
+
) -> RequestSerialized:
|
|
125702
|
+
|
|
125703
|
+
_host = None
|
|
125704
|
+
|
|
125705
|
+
_collection_formats: Dict[str, str] = {
|
|
125706
|
+
}
|
|
125707
|
+
|
|
125708
|
+
_path_params: Dict[str, str] = {}
|
|
125709
|
+
_query_params: List[Tuple[str, str]] = []
|
|
125710
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
125711
|
+
_form_params: List[Tuple[str, str]] = []
|
|
125712
|
+
_files: Dict[
|
|
125713
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
125714
|
+
] = {}
|
|
125715
|
+
_body_params: Optional[bytes] = None
|
|
125716
|
+
|
|
125717
|
+
# process the path parameters
|
|
125718
|
+
# process the query parameters
|
|
125719
|
+
# process the header parameters
|
|
125720
|
+
if authorization is not None:
|
|
125721
|
+
_header_params['Authorization'] = authorization
|
|
125722
|
+
# process the form parameters
|
|
125723
|
+
# process the body parameter
|
|
125724
|
+
if v2_assurance_create_dnsproxy_entry_post_request is not None:
|
|
125725
|
+
_body_params = v2_assurance_create_dnsproxy_entry_post_request
|
|
125726
|
+
|
|
125727
|
+
|
|
125728
|
+
# set the HTTP header `Accept`
|
|
125729
|
+
if 'Accept' not in _header_params:
|
|
125730
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
125731
|
+
[
|
|
125732
|
+
'application/json'
|
|
125733
|
+
]
|
|
125734
|
+
)
|
|
125735
|
+
|
|
125736
|
+
# set the HTTP header `Content-Type`
|
|
125737
|
+
if _content_type:
|
|
125738
|
+
_header_params['Content-Type'] = _content_type
|
|
125739
|
+
else:
|
|
125740
|
+
_default_content_type = (
|
|
125741
|
+
self.api_client.select_header_content_type(
|
|
125742
|
+
[
|
|
125743
|
+
'application/json'
|
|
125744
|
+
]
|
|
125745
|
+
)
|
|
125746
|
+
)
|
|
125747
|
+
if _default_content_type is not None:
|
|
125748
|
+
_header_params['Content-Type'] = _default_content_type
|
|
125749
|
+
|
|
125750
|
+
# authentication setting
|
|
125751
|
+
_auth_settings: List[str] = [
|
|
125752
|
+
'jwtAuth'
|
|
125753
|
+
]
|
|
125754
|
+
|
|
125755
|
+
return self.api_client.param_serialize(
|
|
125756
|
+
method='POST',
|
|
125757
|
+
resource_path='/v2/assurance/create-dnsproxy-entry',
|
|
125758
|
+
path_params=_path_params,
|
|
125759
|
+
query_params=_query_params,
|
|
125760
|
+
header_params=_header_params,
|
|
125761
|
+
body=_body_params,
|
|
125762
|
+
post_params=_form_params,
|
|
125763
|
+
files=_files,
|
|
125764
|
+
auth_settings=_auth_settings,
|
|
125765
|
+
collection_formats=_collection_formats,
|
|
125766
|
+
_host=_host,
|
|
125767
|
+
_request_auth=_request_auth
|
|
125768
|
+
)
|
|
125769
|
+
|
|
125770
|
+
|
|
125771
|
+
|
|
125772
|
+
|
|
125773
|
+
@validate_call
|
|
125774
|
+
def v2_assurance_create_user_report_post(
|
|
125775
|
+
self,
|
|
125776
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
125777
|
+
v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest,
|
|
125778
|
+
_request_timeout: Union[
|
|
125779
|
+
None,
|
|
125780
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
125781
|
+
Tuple[
|
|
125782
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
125783
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
125784
|
+
]
|
|
125785
|
+
] = None,
|
|
125786
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
125787
|
+
_content_type: Optional[StrictStr] = None,
|
|
125788
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
125789
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
125790
|
+
) -> V2AssuranceCreateUserReportPostResponse:
|
|
125791
|
+
"""v2_assurance_create_user_report_post
|
|
125792
|
+
|
|
125793
|
+
|
|
125794
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
125795
|
+
:type authorization: str
|
|
125796
|
+
:param v2_assurance_create_user_report_post_request: (required)
|
|
125797
|
+
:type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest
|
|
124911
125798
|
:param _request_timeout: timeout setting for this request. If one
|
|
124912
125799
|
number provided, it will be total request
|
|
124913
125800
|
timeout. It can also be a pair (tuple) of
|
|
@@ -125406,8 +126293,279 @@ class DefaultApi:
|
|
|
125406
126293
|
_header_params['Authorization'] = authorization
|
|
125407
126294
|
# process the form parameters
|
|
125408
126295
|
# process the body parameter
|
|
125409
|
-
if v2_assurance_createclassifiedapplication_post_request is not None:
|
|
125410
|
-
_body_params = v2_assurance_createclassifiedapplication_post_request
|
|
126296
|
+
if v2_assurance_createclassifiedapplication_post_request is not None:
|
|
126297
|
+
_body_params = v2_assurance_createclassifiedapplication_post_request
|
|
126298
|
+
|
|
126299
|
+
|
|
126300
|
+
# set the HTTP header `Accept`
|
|
126301
|
+
if 'Accept' not in _header_params:
|
|
126302
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
126303
|
+
[
|
|
126304
|
+
'application/json'
|
|
126305
|
+
]
|
|
126306
|
+
)
|
|
126307
|
+
|
|
126308
|
+
# set the HTTP header `Content-Type`
|
|
126309
|
+
if _content_type:
|
|
126310
|
+
_header_params['Content-Type'] = _content_type
|
|
126311
|
+
else:
|
|
126312
|
+
_default_content_type = (
|
|
126313
|
+
self.api_client.select_header_content_type(
|
|
126314
|
+
[
|
|
126315
|
+
'application/json'
|
|
126316
|
+
]
|
|
126317
|
+
)
|
|
126318
|
+
)
|
|
126319
|
+
if _default_content_type is not None:
|
|
126320
|
+
_header_params['Content-Type'] = _default_content_type
|
|
126321
|
+
|
|
126322
|
+
# authentication setting
|
|
126323
|
+
_auth_settings: List[str] = [
|
|
126324
|
+
'jwtAuth'
|
|
126325
|
+
]
|
|
126326
|
+
|
|
126327
|
+
return self.api_client.param_serialize(
|
|
126328
|
+
method='POST',
|
|
126329
|
+
resource_path='/v2/assurance/createclassifiedapplication',
|
|
126330
|
+
path_params=_path_params,
|
|
126331
|
+
query_params=_query_params,
|
|
126332
|
+
header_params=_header_params,
|
|
126333
|
+
body=_body_params,
|
|
126334
|
+
post_params=_form_params,
|
|
126335
|
+
files=_files,
|
|
126336
|
+
auth_settings=_auth_settings,
|
|
126337
|
+
collection_formats=_collection_formats,
|
|
126338
|
+
_host=_host,
|
|
126339
|
+
_request_auth=_request_auth
|
|
126340
|
+
)
|
|
126341
|
+
|
|
126342
|
+
|
|
126343
|
+
|
|
126344
|
+
|
|
126345
|
+
@validate_call
|
|
126346
|
+
def v2_assurance_delete_dnsproxy_entry_delete(
|
|
126347
|
+
self,
|
|
126348
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
126349
|
+
_request_timeout: Union[
|
|
126350
|
+
None,
|
|
126351
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
126352
|
+
Tuple[
|
|
126353
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
126354
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
126355
|
+
]
|
|
126356
|
+
] = None,
|
|
126357
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
126358
|
+
_content_type: Optional[StrictStr] = None,
|
|
126359
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
126360
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
126361
|
+
) -> object:
|
|
126362
|
+
"""v2_assurance_delete_dnsproxy_entry_delete
|
|
126363
|
+
|
|
126364
|
+
|
|
126365
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
126366
|
+
:type authorization: str
|
|
126367
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
126368
|
+
number provided, it will be total request
|
|
126369
|
+
timeout. It can also be a pair (tuple) of
|
|
126370
|
+
(connection, read) timeouts.
|
|
126371
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
126372
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
126373
|
+
request; this effectively ignores the
|
|
126374
|
+
authentication in the spec for a single request.
|
|
126375
|
+
:type _request_auth: dict, optional
|
|
126376
|
+
:param _content_type: force content-type for the request.
|
|
126377
|
+
:type _content_type: str, Optional
|
|
126378
|
+
:param _headers: set to override the headers for a single
|
|
126379
|
+
request; this effectively ignores the headers
|
|
126380
|
+
in the spec for a single request.
|
|
126381
|
+
:type _headers: dict, optional
|
|
126382
|
+
:param _host_index: set to override the host_index for a single
|
|
126383
|
+
request; this effectively ignores the host_index
|
|
126384
|
+
in the spec for a single request.
|
|
126385
|
+
:type _host_index: int, optional
|
|
126386
|
+
:return: Returns the result object.
|
|
126387
|
+
""" # noqa: E501
|
|
126388
|
+
|
|
126389
|
+
_param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize(
|
|
126390
|
+
authorization=authorization,
|
|
126391
|
+
_request_auth=_request_auth,
|
|
126392
|
+
_content_type=_content_type,
|
|
126393
|
+
_headers=_headers,
|
|
126394
|
+
_host_index=_host_index
|
|
126395
|
+
)
|
|
126396
|
+
|
|
126397
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
126398
|
+
'200': "object",
|
|
126399
|
+
}
|
|
126400
|
+
response_data = self.api_client.call_api(
|
|
126401
|
+
*_param,
|
|
126402
|
+
_request_timeout=_request_timeout
|
|
126403
|
+
)
|
|
126404
|
+
response_data.read()
|
|
126405
|
+
return self.api_client.response_deserialize(
|
|
126406
|
+
response_data=response_data,
|
|
126407
|
+
response_types_map=_response_types_map,
|
|
126408
|
+
).data
|
|
126409
|
+
|
|
126410
|
+
|
|
126411
|
+
@validate_call
|
|
126412
|
+
def v2_assurance_delete_dnsproxy_entry_delete_with_http_info(
|
|
126413
|
+
self,
|
|
126414
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
126415
|
+
_request_timeout: Union[
|
|
126416
|
+
None,
|
|
126417
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
126418
|
+
Tuple[
|
|
126419
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
126420
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
126421
|
+
]
|
|
126422
|
+
] = None,
|
|
126423
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
126424
|
+
_content_type: Optional[StrictStr] = None,
|
|
126425
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
126426
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
126427
|
+
) -> ApiResponse[object]:
|
|
126428
|
+
"""v2_assurance_delete_dnsproxy_entry_delete
|
|
126429
|
+
|
|
126430
|
+
|
|
126431
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
126432
|
+
:type authorization: str
|
|
126433
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
126434
|
+
number provided, it will be total request
|
|
126435
|
+
timeout. It can also be a pair (tuple) of
|
|
126436
|
+
(connection, read) timeouts.
|
|
126437
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
126438
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
126439
|
+
request; this effectively ignores the
|
|
126440
|
+
authentication in the spec for a single request.
|
|
126441
|
+
:type _request_auth: dict, optional
|
|
126442
|
+
:param _content_type: force content-type for the request.
|
|
126443
|
+
:type _content_type: str, Optional
|
|
126444
|
+
:param _headers: set to override the headers for a single
|
|
126445
|
+
request; this effectively ignores the headers
|
|
126446
|
+
in the spec for a single request.
|
|
126447
|
+
:type _headers: dict, optional
|
|
126448
|
+
:param _host_index: set to override the host_index for a single
|
|
126449
|
+
request; this effectively ignores the host_index
|
|
126450
|
+
in the spec for a single request.
|
|
126451
|
+
:type _host_index: int, optional
|
|
126452
|
+
:return: Returns the result object.
|
|
126453
|
+
""" # noqa: E501
|
|
126454
|
+
|
|
126455
|
+
_param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize(
|
|
126456
|
+
authorization=authorization,
|
|
126457
|
+
_request_auth=_request_auth,
|
|
126458
|
+
_content_type=_content_type,
|
|
126459
|
+
_headers=_headers,
|
|
126460
|
+
_host_index=_host_index
|
|
126461
|
+
)
|
|
126462
|
+
|
|
126463
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
126464
|
+
'200': "object",
|
|
126465
|
+
}
|
|
126466
|
+
response_data = self.api_client.call_api(
|
|
126467
|
+
*_param,
|
|
126468
|
+
_request_timeout=_request_timeout
|
|
126469
|
+
)
|
|
126470
|
+
response_data.read()
|
|
126471
|
+
return self.api_client.response_deserialize(
|
|
126472
|
+
response_data=response_data,
|
|
126473
|
+
response_types_map=_response_types_map,
|
|
126474
|
+
)
|
|
126475
|
+
|
|
126476
|
+
|
|
126477
|
+
@validate_call
|
|
126478
|
+
def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content(
|
|
126479
|
+
self,
|
|
126480
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
126481
|
+
_request_timeout: Union[
|
|
126482
|
+
None,
|
|
126483
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
126484
|
+
Tuple[
|
|
126485
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
126486
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
126487
|
+
]
|
|
126488
|
+
] = None,
|
|
126489
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
126490
|
+
_content_type: Optional[StrictStr] = None,
|
|
126491
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
126492
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
126493
|
+
) -> RESTResponseType:
|
|
126494
|
+
"""v2_assurance_delete_dnsproxy_entry_delete
|
|
126495
|
+
|
|
126496
|
+
|
|
126497
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
126498
|
+
:type authorization: str
|
|
126499
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
126500
|
+
number provided, it will be total request
|
|
126501
|
+
timeout. It can also be a pair (tuple) of
|
|
126502
|
+
(connection, read) timeouts.
|
|
126503
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
126504
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
126505
|
+
request; this effectively ignores the
|
|
126506
|
+
authentication in the spec for a single request.
|
|
126507
|
+
:type _request_auth: dict, optional
|
|
126508
|
+
:param _content_type: force content-type for the request.
|
|
126509
|
+
:type _content_type: str, Optional
|
|
126510
|
+
:param _headers: set to override the headers for a single
|
|
126511
|
+
request; this effectively ignores the headers
|
|
126512
|
+
in the spec for a single request.
|
|
126513
|
+
:type _headers: dict, optional
|
|
126514
|
+
:param _host_index: set to override the host_index for a single
|
|
126515
|
+
request; this effectively ignores the host_index
|
|
126516
|
+
in the spec for a single request.
|
|
126517
|
+
:type _host_index: int, optional
|
|
126518
|
+
:return: Returns the result object.
|
|
126519
|
+
""" # noqa: E501
|
|
126520
|
+
|
|
126521
|
+
_param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize(
|
|
126522
|
+
authorization=authorization,
|
|
126523
|
+
_request_auth=_request_auth,
|
|
126524
|
+
_content_type=_content_type,
|
|
126525
|
+
_headers=_headers,
|
|
126526
|
+
_host_index=_host_index
|
|
126527
|
+
)
|
|
126528
|
+
|
|
126529
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
126530
|
+
'200': "object",
|
|
126531
|
+
}
|
|
126532
|
+
response_data = self.api_client.call_api(
|
|
126533
|
+
*_param,
|
|
126534
|
+
_request_timeout=_request_timeout
|
|
126535
|
+
)
|
|
126536
|
+
return response_data.response
|
|
126537
|
+
|
|
126538
|
+
|
|
126539
|
+
def _v2_assurance_delete_dnsproxy_entry_delete_serialize(
|
|
126540
|
+
self,
|
|
126541
|
+
authorization,
|
|
126542
|
+
_request_auth,
|
|
126543
|
+
_content_type,
|
|
126544
|
+
_headers,
|
|
126545
|
+
_host_index,
|
|
126546
|
+
) -> RequestSerialized:
|
|
126547
|
+
|
|
126548
|
+
_host = None
|
|
126549
|
+
|
|
126550
|
+
_collection_formats: Dict[str, str] = {
|
|
126551
|
+
}
|
|
126552
|
+
|
|
126553
|
+
_path_params: Dict[str, str] = {}
|
|
126554
|
+
_query_params: List[Tuple[str, str]] = []
|
|
126555
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
126556
|
+
_form_params: List[Tuple[str, str]] = []
|
|
126557
|
+
_files: Dict[
|
|
126558
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
126559
|
+
] = {}
|
|
126560
|
+
_body_params: Optional[bytes] = None
|
|
126561
|
+
|
|
126562
|
+
# process the path parameters
|
|
126563
|
+
# process the query parameters
|
|
126564
|
+
# process the header parameters
|
|
126565
|
+
if authorization is not None:
|
|
126566
|
+
_header_params['Authorization'] = authorization
|
|
126567
|
+
# process the form parameters
|
|
126568
|
+
# process the body parameter
|
|
125411
126569
|
|
|
125412
126570
|
|
|
125413
126571
|
# set the HTTP header `Accept`
|
|
@@ -125418,19 +126576,6 @@ class DefaultApi:
|
|
|
125418
126576
|
]
|
|
125419
126577
|
)
|
|
125420
126578
|
|
|
125421
|
-
# set the HTTP header `Content-Type`
|
|
125422
|
-
if _content_type:
|
|
125423
|
-
_header_params['Content-Type'] = _content_type
|
|
125424
|
-
else:
|
|
125425
|
-
_default_content_type = (
|
|
125426
|
-
self.api_client.select_header_content_type(
|
|
125427
|
-
[
|
|
125428
|
-
'application/json'
|
|
125429
|
-
]
|
|
125430
|
-
)
|
|
125431
|
-
)
|
|
125432
|
-
if _default_content_type is not None:
|
|
125433
|
-
_header_params['Content-Type'] = _default_content_type
|
|
125434
126579
|
|
|
125435
126580
|
# authentication setting
|
|
125436
126581
|
_auth_settings: List[str] = [
|
|
@@ -125438,8 +126583,8 @@ class DefaultApi:
|
|
|
125438
126583
|
]
|
|
125439
126584
|
|
|
125440
126585
|
return self.api_client.param_serialize(
|
|
125441
|
-
method='
|
|
125442
|
-
resource_path='/v2/assurance/
|
|
126586
|
+
method='DELETE',
|
|
126587
|
+
resource_path='/v2/assurance/delete-dnsproxy-entry',
|
|
125443
126588
|
path_params=_path_params,
|
|
125444
126589
|
query_params=_query_params,
|
|
125445
126590
|
header_params=_header_params,
|
|
@@ -127380,6 +128525,264 @@ class DefaultApi:
|
|
|
127380
128525
|
|
|
127381
128526
|
|
|
127382
128527
|
|
|
128528
|
+
@validate_call
|
|
128529
|
+
def v2_assurance_read_dnsproxy_list_get(
|
|
128530
|
+
self,
|
|
128531
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
128532
|
+
_request_timeout: Union[
|
|
128533
|
+
None,
|
|
128534
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
128535
|
+
Tuple[
|
|
128536
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
128537
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
128538
|
+
]
|
|
128539
|
+
] = None,
|
|
128540
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
128541
|
+
_content_type: Optional[StrictStr] = None,
|
|
128542
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128543
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
128544
|
+
) -> V2AssuranceReadDnsproxyListGetResponse:
|
|
128545
|
+
"""v2_assurance_read_dnsproxy_list_get
|
|
128546
|
+
|
|
128547
|
+
|
|
128548
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
128549
|
+
:type authorization: str
|
|
128550
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
128551
|
+
number provided, it will be total request
|
|
128552
|
+
timeout. It can also be a pair (tuple) of
|
|
128553
|
+
(connection, read) timeouts.
|
|
128554
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
128555
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
128556
|
+
request; this effectively ignores the
|
|
128557
|
+
authentication in the spec for a single request.
|
|
128558
|
+
:type _request_auth: dict, optional
|
|
128559
|
+
:param _content_type: force content-type for the request.
|
|
128560
|
+
:type _content_type: str, Optional
|
|
128561
|
+
:param _headers: set to override the headers for a single
|
|
128562
|
+
request; this effectively ignores the headers
|
|
128563
|
+
in the spec for a single request.
|
|
128564
|
+
:type _headers: dict, optional
|
|
128565
|
+
:param _host_index: set to override the host_index for a single
|
|
128566
|
+
request; this effectively ignores the host_index
|
|
128567
|
+
in the spec for a single request.
|
|
128568
|
+
:type _host_index: int, optional
|
|
128569
|
+
:return: Returns the result object.
|
|
128570
|
+
""" # noqa: E501
|
|
128571
|
+
|
|
128572
|
+
_param = self._v2_assurance_read_dnsproxy_list_get_serialize(
|
|
128573
|
+
authorization=authorization,
|
|
128574
|
+
_request_auth=_request_auth,
|
|
128575
|
+
_content_type=_content_type,
|
|
128576
|
+
_headers=_headers,
|
|
128577
|
+
_host_index=_host_index
|
|
128578
|
+
)
|
|
128579
|
+
|
|
128580
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
128581
|
+
'200': "V2AssuranceReadDnsproxyListGetResponse",
|
|
128582
|
+
}
|
|
128583
|
+
response_data = self.api_client.call_api(
|
|
128584
|
+
*_param,
|
|
128585
|
+
_request_timeout=_request_timeout
|
|
128586
|
+
)
|
|
128587
|
+
response_data.read()
|
|
128588
|
+
return self.api_client.response_deserialize(
|
|
128589
|
+
response_data=response_data,
|
|
128590
|
+
response_types_map=_response_types_map,
|
|
128591
|
+
).data
|
|
128592
|
+
|
|
128593
|
+
|
|
128594
|
+
@validate_call
|
|
128595
|
+
def v2_assurance_read_dnsproxy_list_get_with_http_info(
|
|
128596
|
+
self,
|
|
128597
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
128598
|
+
_request_timeout: Union[
|
|
128599
|
+
None,
|
|
128600
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
128601
|
+
Tuple[
|
|
128602
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
128603
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
128604
|
+
]
|
|
128605
|
+
] = None,
|
|
128606
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
128607
|
+
_content_type: Optional[StrictStr] = None,
|
|
128608
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128609
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
128610
|
+
) -> ApiResponse[V2AssuranceReadDnsproxyListGetResponse]:
|
|
128611
|
+
"""v2_assurance_read_dnsproxy_list_get
|
|
128612
|
+
|
|
128613
|
+
|
|
128614
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
128615
|
+
:type authorization: str
|
|
128616
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
128617
|
+
number provided, it will be total request
|
|
128618
|
+
timeout. It can also be a pair (tuple) of
|
|
128619
|
+
(connection, read) timeouts.
|
|
128620
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
128621
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
128622
|
+
request; this effectively ignores the
|
|
128623
|
+
authentication in the spec for a single request.
|
|
128624
|
+
:type _request_auth: dict, optional
|
|
128625
|
+
:param _content_type: force content-type for the request.
|
|
128626
|
+
:type _content_type: str, Optional
|
|
128627
|
+
:param _headers: set to override the headers for a single
|
|
128628
|
+
request; this effectively ignores the headers
|
|
128629
|
+
in the spec for a single request.
|
|
128630
|
+
:type _headers: dict, optional
|
|
128631
|
+
:param _host_index: set to override the host_index for a single
|
|
128632
|
+
request; this effectively ignores the host_index
|
|
128633
|
+
in the spec for a single request.
|
|
128634
|
+
:type _host_index: int, optional
|
|
128635
|
+
:return: Returns the result object.
|
|
128636
|
+
""" # noqa: E501
|
|
128637
|
+
|
|
128638
|
+
_param = self._v2_assurance_read_dnsproxy_list_get_serialize(
|
|
128639
|
+
authorization=authorization,
|
|
128640
|
+
_request_auth=_request_auth,
|
|
128641
|
+
_content_type=_content_type,
|
|
128642
|
+
_headers=_headers,
|
|
128643
|
+
_host_index=_host_index
|
|
128644
|
+
)
|
|
128645
|
+
|
|
128646
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
128647
|
+
'200': "V2AssuranceReadDnsproxyListGetResponse",
|
|
128648
|
+
}
|
|
128649
|
+
response_data = self.api_client.call_api(
|
|
128650
|
+
*_param,
|
|
128651
|
+
_request_timeout=_request_timeout
|
|
128652
|
+
)
|
|
128653
|
+
response_data.read()
|
|
128654
|
+
return self.api_client.response_deserialize(
|
|
128655
|
+
response_data=response_data,
|
|
128656
|
+
response_types_map=_response_types_map,
|
|
128657
|
+
)
|
|
128658
|
+
|
|
128659
|
+
|
|
128660
|
+
@validate_call
|
|
128661
|
+
def v2_assurance_read_dnsproxy_list_get_without_preload_content(
|
|
128662
|
+
self,
|
|
128663
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
128664
|
+
_request_timeout: Union[
|
|
128665
|
+
None,
|
|
128666
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
128667
|
+
Tuple[
|
|
128668
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
128669
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
128670
|
+
]
|
|
128671
|
+
] = None,
|
|
128672
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
128673
|
+
_content_type: Optional[StrictStr] = None,
|
|
128674
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128675
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
128676
|
+
) -> RESTResponseType:
|
|
128677
|
+
"""v2_assurance_read_dnsproxy_list_get
|
|
128678
|
+
|
|
128679
|
+
|
|
128680
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
128681
|
+
:type authorization: str
|
|
128682
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
128683
|
+
number provided, it will be total request
|
|
128684
|
+
timeout. It can also be a pair (tuple) of
|
|
128685
|
+
(connection, read) timeouts.
|
|
128686
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
128687
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
128688
|
+
request; this effectively ignores the
|
|
128689
|
+
authentication in the spec for a single request.
|
|
128690
|
+
:type _request_auth: dict, optional
|
|
128691
|
+
:param _content_type: force content-type for the request.
|
|
128692
|
+
:type _content_type: str, Optional
|
|
128693
|
+
:param _headers: set to override the headers for a single
|
|
128694
|
+
request; this effectively ignores the headers
|
|
128695
|
+
in the spec for a single request.
|
|
128696
|
+
:type _headers: dict, optional
|
|
128697
|
+
:param _host_index: set to override the host_index for a single
|
|
128698
|
+
request; this effectively ignores the host_index
|
|
128699
|
+
in the spec for a single request.
|
|
128700
|
+
:type _host_index: int, optional
|
|
128701
|
+
:return: Returns the result object.
|
|
128702
|
+
""" # noqa: E501
|
|
128703
|
+
|
|
128704
|
+
_param = self._v2_assurance_read_dnsproxy_list_get_serialize(
|
|
128705
|
+
authorization=authorization,
|
|
128706
|
+
_request_auth=_request_auth,
|
|
128707
|
+
_content_type=_content_type,
|
|
128708
|
+
_headers=_headers,
|
|
128709
|
+
_host_index=_host_index
|
|
128710
|
+
)
|
|
128711
|
+
|
|
128712
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
128713
|
+
'200': "V2AssuranceReadDnsproxyListGetResponse",
|
|
128714
|
+
}
|
|
128715
|
+
response_data = self.api_client.call_api(
|
|
128716
|
+
*_param,
|
|
128717
|
+
_request_timeout=_request_timeout
|
|
128718
|
+
)
|
|
128719
|
+
return response_data.response
|
|
128720
|
+
|
|
128721
|
+
|
|
128722
|
+
def _v2_assurance_read_dnsproxy_list_get_serialize(
|
|
128723
|
+
self,
|
|
128724
|
+
authorization,
|
|
128725
|
+
_request_auth,
|
|
128726
|
+
_content_type,
|
|
128727
|
+
_headers,
|
|
128728
|
+
_host_index,
|
|
128729
|
+
) -> RequestSerialized:
|
|
128730
|
+
|
|
128731
|
+
_host = None
|
|
128732
|
+
|
|
128733
|
+
_collection_formats: Dict[str, str] = {
|
|
128734
|
+
}
|
|
128735
|
+
|
|
128736
|
+
_path_params: Dict[str, str] = {}
|
|
128737
|
+
_query_params: List[Tuple[str, str]] = []
|
|
128738
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
128739
|
+
_form_params: List[Tuple[str, str]] = []
|
|
128740
|
+
_files: Dict[
|
|
128741
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
128742
|
+
] = {}
|
|
128743
|
+
_body_params: Optional[bytes] = None
|
|
128744
|
+
|
|
128745
|
+
# process the path parameters
|
|
128746
|
+
# process the query parameters
|
|
128747
|
+
# process the header parameters
|
|
128748
|
+
if authorization is not None:
|
|
128749
|
+
_header_params['Authorization'] = authorization
|
|
128750
|
+
# process the form parameters
|
|
128751
|
+
# process the body parameter
|
|
128752
|
+
|
|
128753
|
+
|
|
128754
|
+
# set the HTTP header `Accept`
|
|
128755
|
+
if 'Accept' not in _header_params:
|
|
128756
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
128757
|
+
[
|
|
128758
|
+
'application/json'
|
|
128759
|
+
]
|
|
128760
|
+
)
|
|
128761
|
+
|
|
128762
|
+
|
|
128763
|
+
# authentication setting
|
|
128764
|
+
_auth_settings: List[str] = [
|
|
128765
|
+
'jwtAuth'
|
|
128766
|
+
]
|
|
128767
|
+
|
|
128768
|
+
return self.api_client.param_serialize(
|
|
128769
|
+
method='GET',
|
|
128770
|
+
resource_path='/v2/assurance/read-dnsproxy-list',
|
|
128771
|
+
path_params=_path_params,
|
|
128772
|
+
query_params=_query_params,
|
|
128773
|
+
header_params=_header_params,
|
|
128774
|
+
body=_body_params,
|
|
128775
|
+
post_params=_form_params,
|
|
128776
|
+
files=_files,
|
|
128777
|
+
auth_settings=_auth_settings,
|
|
128778
|
+
collection_formats=_collection_formats,
|
|
128779
|
+
_host=_host,
|
|
128780
|
+
_request_auth=_request_auth
|
|
128781
|
+
)
|
|
128782
|
+
|
|
128783
|
+
|
|
128784
|
+
|
|
128785
|
+
|
|
127383
128786
|
@validate_call
|
|
127384
128787
|
def v2_assurance_read_user_report_list_get(
|
|
127385
128788
|
self,
|
|
@@ -130498,6 +131901,292 @@ class DefaultApi:
|
|
|
130498
131901
|
|
|
130499
131902
|
|
|
130500
131903
|
|
|
131904
|
+
@validate_call
|
|
131905
|
+
def v2_assurance_update_dnsproxy_entry_post(
|
|
131906
|
+
self,
|
|
131907
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
131908
|
+
v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest,
|
|
131909
|
+
_request_timeout: Union[
|
|
131910
|
+
None,
|
|
131911
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
131912
|
+
Tuple[
|
|
131913
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
131914
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
131915
|
+
]
|
|
131916
|
+
] = None,
|
|
131917
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
131918
|
+
_content_type: Optional[StrictStr] = None,
|
|
131919
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
131920
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
131921
|
+
) -> object:
|
|
131922
|
+
"""v2_assurance_update_dnsproxy_entry_post
|
|
131923
|
+
|
|
131924
|
+
|
|
131925
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
131926
|
+
:type authorization: str
|
|
131927
|
+
:param v2_assurance_update_dnsproxy_entry_post_request: (required)
|
|
131928
|
+
:type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest
|
|
131929
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
131930
|
+
number provided, it will be total request
|
|
131931
|
+
timeout. It can also be a pair (tuple) of
|
|
131932
|
+
(connection, read) timeouts.
|
|
131933
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
131934
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
131935
|
+
request; this effectively ignores the
|
|
131936
|
+
authentication in the spec for a single request.
|
|
131937
|
+
:type _request_auth: dict, optional
|
|
131938
|
+
:param _content_type: force content-type for the request.
|
|
131939
|
+
:type _content_type: str, Optional
|
|
131940
|
+
:param _headers: set to override the headers for a single
|
|
131941
|
+
request; this effectively ignores the headers
|
|
131942
|
+
in the spec for a single request.
|
|
131943
|
+
:type _headers: dict, optional
|
|
131944
|
+
:param _host_index: set to override the host_index for a single
|
|
131945
|
+
request; this effectively ignores the host_index
|
|
131946
|
+
in the spec for a single request.
|
|
131947
|
+
:type _host_index: int, optional
|
|
131948
|
+
:return: Returns the result object.
|
|
131949
|
+
""" # noqa: E501
|
|
131950
|
+
|
|
131951
|
+
_param = self._v2_assurance_update_dnsproxy_entry_post_serialize(
|
|
131952
|
+
authorization=authorization,
|
|
131953
|
+
v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request,
|
|
131954
|
+
_request_auth=_request_auth,
|
|
131955
|
+
_content_type=_content_type,
|
|
131956
|
+
_headers=_headers,
|
|
131957
|
+
_host_index=_host_index
|
|
131958
|
+
)
|
|
131959
|
+
|
|
131960
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
131961
|
+
'200': "object",
|
|
131962
|
+
}
|
|
131963
|
+
response_data = self.api_client.call_api(
|
|
131964
|
+
*_param,
|
|
131965
|
+
_request_timeout=_request_timeout
|
|
131966
|
+
)
|
|
131967
|
+
response_data.read()
|
|
131968
|
+
return self.api_client.response_deserialize(
|
|
131969
|
+
response_data=response_data,
|
|
131970
|
+
response_types_map=_response_types_map,
|
|
131971
|
+
).data
|
|
131972
|
+
|
|
131973
|
+
|
|
131974
|
+
@validate_call
|
|
131975
|
+
def v2_assurance_update_dnsproxy_entry_post_with_http_info(
|
|
131976
|
+
self,
|
|
131977
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
131978
|
+
v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest,
|
|
131979
|
+
_request_timeout: Union[
|
|
131980
|
+
None,
|
|
131981
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
131982
|
+
Tuple[
|
|
131983
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
131984
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
131985
|
+
]
|
|
131986
|
+
] = None,
|
|
131987
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
131988
|
+
_content_type: Optional[StrictStr] = None,
|
|
131989
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
131990
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
131991
|
+
) -> ApiResponse[object]:
|
|
131992
|
+
"""v2_assurance_update_dnsproxy_entry_post
|
|
131993
|
+
|
|
131994
|
+
|
|
131995
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
131996
|
+
:type authorization: str
|
|
131997
|
+
:param v2_assurance_update_dnsproxy_entry_post_request: (required)
|
|
131998
|
+
:type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest
|
|
131999
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
132000
|
+
number provided, it will be total request
|
|
132001
|
+
timeout. It can also be a pair (tuple) of
|
|
132002
|
+
(connection, read) timeouts.
|
|
132003
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
132004
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
132005
|
+
request; this effectively ignores the
|
|
132006
|
+
authentication in the spec for a single request.
|
|
132007
|
+
:type _request_auth: dict, optional
|
|
132008
|
+
:param _content_type: force content-type for the request.
|
|
132009
|
+
:type _content_type: str, Optional
|
|
132010
|
+
:param _headers: set to override the headers for a single
|
|
132011
|
+
request; this effectively ignores the headers
|
|
132012
|
+
in the spec for a single request.
|
|
132013
|
+
:type _headers: dict, optional
|
|
132014
|
+
:param _host_index: set to override the host_index for a single
|
|
132015
|
+
request; this effectively ignores the host_index
|
|
132016
|
+
in the spec for a single request.
|
|
132017
|
+
:type _host_index: int, optional
|
|
132018
|
+
:return: Returns the result object.
|
|
132019
|
+
""" # noqa: E501
|
|
132020
|
+
|
|
132021
|
+
_param = self._v2_assurance_update_dnsproxy_entry_post_serialize(
|
|
132022
|
+
authorization=authorization,
|
|
132023
|
+
v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request,
|
|
132024
|
+
_request_auth=_request_auth,
|
|
132025
|
+
_content_type=_content_type,
|
|
132026
|
+
_headers=_headers,
|
|
132027
|
+
_host_index=_host_index
|
|
132028
|
+
)
|
|
132029
|
+
|
|
132030
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
132031
|
+
'200': "object",
|
|
132032
|
+
}
|
|
132033
|
+
response_data = self.api_client.call_api(
|
|
132034
|
+
*_param,
|
|
132035
|
+
_request_timeout=_request_timeout
|
|
132036
|
+
)
|
|
132037
|
+
response_data.read()
|
|
132038
|
+
return self.api_client.response_deserialize(
|
|
132039
|
+
response_data=response_data,
|
|
132040
|
+
response_types_map=_response_types_map,
|
|
132041
|
+
)
|
|
132042
|
+
|
|
132043
|
+
|
|
132044
|
+
@validate_call
|
|
132045
|
+
def v2_assurance_update_dnsproxy_entry_post_without_preload_content(
|
|
132046
|
+
self,
|
|
132047
|
+
authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer <your_token_here>")],
|
|
132048
|
+
v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest,
|
|
132049
|
+
_request_timeout: Union[
|
|
132050
|
+
None,
|
|
132051
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
132052
|
+
Tuple[
|
|
132053
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
132054
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
132055
|
+
]
|
|
132056
|
+
] = None,
|
|
132057
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
132058
|
+
_content_type: Optional[StrictStr] = None,
|
|
132059
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
132060
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
132061
|
+
) -> RESTResponseType:
|
|
132062
|
+
"""v2_assurance_update_dnsproxy_entry_post
|
|
132063
|
+
|
|
132064
|
+
|
|
132065
|
+
:param authorization: Bearer token. Format: Bearer <your_token_here> (required)
|
|
132066
|
+
:type authorization: str
|
|
132067
|
+
:param v2_assurance_update_dnsproxy_entry_post_request: (required)
|
|
132068
|
+
:type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest
|
|
132069
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
132070
|
+
number provided, it will be total request
|
|
132071
|
+
timeout. It can also be a pair (tuple) of
|
|
132072
|
+
(connection, read) timeouts.
|
|
132073
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
132074
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
132075
|
+
request; this effectively ignores the
|
|
132076
|
+
authentication in the spec for a single request.
|
|
132077
|
+
:type _request_auth: dict, optional
|
|
132078
|
+
:param _content_type: force content-type for the request.
|
|
132079
|
+
:type _content_type: str, Optional
|
|
132080
|
+
:param _headers: set to override the headers for a single
|
|
132081
|
+
request; this effectively ignores the headers
|
|
132082
|
+
in the spec for a single request.
|
|
132083
|
+
:type _headers: dict, optional
|
|
132084
|
+
:param _host_index: set to override the host_index for a single
|
|
132085
|
+
request; this effectively ignores the host_index
|
|
132086
|
+
in the spec for a single request.
|
|
132087
|
+
:type _host_index: int, optional
|
|
132088
|
+
:return: Returns the result object.
|
|
132089
|
+
""" # noqa: E501
|
|
132090
|
+
|
|
132091
|
+
_param = self._v2_assurance_update_dnsproxy_entry_post_serialize(
|
|
132092
|
+
authorization=authorization,
|
|
132093
|
+
v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request,
|
|
132094
|
+
_request_auth=_request_auth,
|
|
132095
|
+
_content_type=_content_type,
|
|
132096
|
+
_headers=_headers,
|
|
132097
|
+
_host_index=_host_index
|
|
132098
|
+
)
|
|
132099
|
+
|
|
132100
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
132101
|
+
'200': "object",
|
|
132102
|
+
}
|
|
132103
|
+
response_data = self.api_client.call_api(
|
|
132104
|
+
*_param,
|
|
132105
|
+
_request_timeout=_request_timeout
|
|
132106
|
+
)
|
|
132107
|
+
return response_data.response
|
|
132108
|
+
|
|
132109
|
+
|
|
132110
|
+
def _v2_assurance_update_dnsproxy_entry_post_serialize(
|
|
132111
|
+
self,
|
|
132112
|
+
authorization,
|
|
132113
|
+
v2_assurance_update_dnsproxy_entry_post_request,
|
|
132114
|
+
_request_auth,
|
|
132115
|
+
_content_type,
|
|
132116
|
+
_headers,
|
|
132117
|
+
_host_index,
|
|
132118
|
+
) -> RequestSerialized:
|
|
132119
|
+
|
|
132120
|
+
_host = None
|
|
132121
|
+
|
|
132122
|
+
_collection_formats: Dict[str, str] = {
|
|
132123
|
+
}
|
|
132124
|
+
|
|
132125
|
+
_path_params: Dict[str, str] = {}
|
|
132126
|
+
_query_params: List[Tuple[str, str]] = []
|
|
132127
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
132128
|
+
_form_params: List[Tuple[str, str]] = []
|
|
132129
|
+
_files: Dict[
|
|
132130
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
132131
|
+
] = {}
|
|
132132
|
+
_body_params: Optional[bytes] = None
|
|
132133
|
+
|
|
132134
|
+
# process the path parameters
|
|
132135
|
+
# process the query parameters
|
|
132136
|
+
# process the header parameters
|
|
132137
|
+
if authorization is not None:
|
|
132138
|
+
_header_params['Authorization'] = authorization
|
|
132139
|
+
# process the form parameters
|
|
132140
|
+
# process the body parameter
|
|
132141
|
+
if v2_assurance_update_dnsproxy_entry_post_request is not None:
|
|
132142
|
+
_body_params = v2_assurance_update_dnsproxy_entry_post_request
|
|
132143
|
+
|
|
132144
|
+
|
|
132145
|
+
# set the HTTP header `Accept`
|
|
132146
|
+
if 'Accept' not in _header_params:
|
|
132147
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
132148
|
+
[
|
|
132149
|
+
'application/json'
|
|
132150
|
+
]
|
|
132151
|
+
)
|
|
132152
|
+
|
|
132153
|
+
# set the HTTP header `Content-Type`
|
|
132154
|
+
if _content_type:
|
|
132155
|
+
_header_params['Content-Type'] = _content_type
|
|
132156
|
+
else:
|
|
132157
|
+
_default_content_type = (
|
|
132158
|
+
self.api_client.select_header_content_type(
|
|
132159
|
+
[
|
|
132160
|
+
'application/json'
|
|
132161
|
+
]
|
|
132162
|
+
)
|
|
132163
|
+
)
|
|
132164
|
+
if _default_content_type is not None:
|
|
132165
|
+
_header_params['Content-Type'] = _default_content_type
|
|
132166
|
+
|
|
132167
|
+
# authentication setting
|
|
132168
|
+
_auth_settings: List[str] = [
|
|
132169
|
+
'jwtAuth'
|
|
132170
|
+
]
|
|
132171
|
+
|
|
132172
|
+
return self.api_client.param_serialize(
|
|
132173
|
+
method='POST',
|
|
132174
|
+
resource_path='/v2/assurance/update-dnsproxy-entry',
|
|
132175
|
+
path_params=_path_params,
|
|
132176
|
+
query_params=_query_params,
|
|
132177
|
+
header_params=_header_params,
|
|
132178
|
+
body=_body_params,
|
|
132179
|
+
post_params=_form_params,
|
|
132180
|
+
files=_files,
|
|
132181
|
+
auth_settings=_auth_settings,
|
|
132182
|
+
collection_formats=_collection_formats,
|
|
132183
|
+
_host=_host,
|
|
132184
|
+
_request_auth=_request_auth
|
|
132185
|
+
)
|
|
132186
|
+
|
|
132187
|
+
|
|
132188
|
+
|
|
132189
|
+
|
|
130501
132190
|
@validate_call
|
|
130502
132191
|
def v2_assurance_updateclassifiedapplication_post(
|
|
130503
132192
|
self,
|