hyperstack 1.25.0a0__py3-none-any.whl → 1.41.0a0__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.
- hyperstack/__init__.py +79 -131
- hyperstack/api/__init__.py +2 -0
- hyperstack/api/alive_api.py +240 -0
- hyperstack/api/api_key_api.py +16 -20
- hyperstack/api/assigning_member_role_api.py +15 -17
- hyperstack/api/auth_api.py +1050 -5
- hyperstack/api/beta_access_api.py +856 -0
- hyperstack/api/billing_api.py +6461 -673
- hyperstack/api/calculate_api.py +8 -9
- hyperstack/api/callbacks_api.py +120 -126
- hyperstack/api/cluster_events_api.py +1 -2
- hyperstack/api/clusters_api.py +2492 -146
- hyperstack/api/compliance_api.py +14 -18
- hyperstack/api/credit_api.py +17 -15
- hyperstack/api/customer_contract_api.py +30 -33
- hyperstack/api/dashboard_api.py +4 -5
- hyperstack/api/deployment_api.py +4 -8
- hyperstack/api/environment_api.py +285 -16
- hyperstack/api/firewall_attachment_api.py +11 -9
- hyperstack/api/firewalls_api.py +341 -347
- hyperstack/api/flavor_api.py +4 -5
- hyperstack/api/floating_ip_api.py +50 -49
- hyperstack/api/gpu_api.py +1 -2
- hyperstack/api/image_api.py +35 -39
- hyperstack/api/invite_api.py +288 -18
- hyperstack/api/keypair_api.py +22 -26
- hyperstack/api/organization_api.py +12 -15
- hyperstack/api/partner_config_api.py +564 -0
- hyperstack/api/payment_api.py +299 -18
- hyperstack/api/permission_api.py +4 -5
- hyperstack/api/policy_api.py +4 -5
- hyperstack/api/pricebook_api.py +14 -12
- hyperstack/api/profile_api.py +13 -17
- hyperstack/api/rbac_role_api.py +20 -25
- hyperstack/api/region_api.py +7 -8
- hyperstack/api/security_rules_api.py +1 -2
- hyperstack/api/snapshot_events_api.py +1 -2
- hyperstack/api/snapshots_api.py +166 -172
- hyperstack/api/stock_api.py +4 -5
- hyperstack/api/template_api.py +14 -19
- hyperstack/api/user_api.py +55 -49
- hyperstack/api/user_detail_choice_api.py +1 -2
- hyperstack/api/user_permission_api.py +8 -10
- hyperstack/api/virtual_machine_api.py +1529 -929
- hyperstack/api/virtual_machine_events_api.py +21 -22
- hyperstack/api/vnc_url_api.py +54 -50
- hyperstack/api/volume_api.py +340 -40
- hyperstack/api/volume_attachment_api.py +342 -42
- hyperstack/api_client.py +1 -1
- hyperstack/configuration.py +1 -11
- hyperstack/models/__init__.py +76 -130
- hyperstack/models/{environment_fieldsfor_volume.py → access_token_field.py} +7 -7
- hyperstack/models/attach_volume_fields.py +6 -2
- hyperstack/models/attach_volumes_payload.py +4 -2
- hyperstack/models/{virtual_machine_usage.py → attachments_fields_for_volume.py} +13 -11
- hyperstack/models/{flavor_vm_fields.py → attributes.py} +15 -18
- hyperstack/models/auth_get_token_response_model.py +4 -6
- hyperstack/models/{future_node_model.py → beta_access_request_fields.py} +27 -25
- hyperstack/models/{create_gpu.py → beta_access_request_payload.py} +9 -11
- hyperstack/models/{create_discount_response.py → beta_access_request_response_model.py} +11 -11
- hyperstack/models/{export_billing_data_request.py → beta_access_status_item.py} +20 -23
- hyperstack/models/{get_all_discount_for_all_organization_response.py → beta_access_status_response_model.py} +15 -15
- hyperstack/models/{exclude_billing_post_response.py → billing_history.py} +13 -11
- hyperstack/models/billing_history_data_synthesis_details.py +105 -0
- hyperstack/models/{vm_usage_response.py → billing_history_fine_tuning.py} +23 -19
- hyperstack/models/billing_history_model_evalutation_details.py +105 -0
- hyperstack/models/{get_all_discounts_fields.py → billing_history_serverless_inference.py} +23 -24
- hyperstack/models/billing_history_serverless_inference_details.py +105 -0
- hyperstack/models/{billingmetricesfields.py → billing_metrices_fields.py} +4 -4
- hyperstack/models/{billingmetricesresponse.py → billing_metrices_response.py} +7 -7
- hyperstack/models/cluster_fields.py +27 -9
- hyperstack/models/{add_update_flavor_organization_payload.py → cluster_flavor_fields.py} +28 -26
- hyperstack/models/{historical_instances_fields.py → cluster_node_fields.py} +24 -22
- hyperstack/models/{internal_instance_flavor_fields.py → cluster_node_group_fields.py} +17 -17
- hyperstack/models/{create_update_policy_response_model.py → cluster_node_groups_create_response.py} +21 -11
- hyperstack/models/{create_update_permission_response_model.py → cluster_node_groups_get_response.py} +11 -11
- hyperstack/models/{auth_request_login_response_model.py → cluster_node_groups_list_response.py} +15 -11
- hyperstack/models/{contract_eligible_instance_fields.py → cluster_node_instance_fields.py} +13 -11
- hyperstack/models/{image_logos.py → cluster_nodes_list_response.py} +14 -14
- hyperstack/models/{internal_environment_fields.py → cluster_version.py} +13 -9
- hyperstack/models/cluster_versions.py +10 -2
- hyperstack/models/{future_nodes_stock_model.py → colors.py} +17 -15
- hyperstack/models/contract_discount_plan_fields.py +3 -1
- hyperstack/models/contract_instance_fields.py +7 -1
- hyperstack/models/{future_node_response_model.py → create_cluster_node_fields.py} +23 -18
- hyperstack/models/{update_gpu.py → create_cluster_node_group_payload.py} +12 -11
- hyperstack/models/create_cluster_payload.py +31 -8
- hyperstack/models/create_environment.py +1 -1
- hyperstack/models/create_instances_payload.py +7 -7
- hyperstack/models/create_profile_payload.py +1 -1
- hyperstack/models/create_snapshot_payload.py +2 -4
- hyperstack/models/create_volume_payload.py +1 -1
- hyperstack/models/data_synthesis_billing_history_details_response_schema.py +95 -0
- hyperstack/models/{deployment_fieldsforstartdeployments.py → deployment_fields_for_start_deployments.py} +4 -4
- hyperstack/models/{editlabelofanexisting_vm_payload.py → edit_label_of_an_existing_vm_payload.py} +4 -4
- hyperstack/models/environment_features.py +14 -2
- hyperstack/models/{node_stocks_payload.py → environment_fields_for_volume.py} +10 -12
- hyperstack/models/flavor_fields.py +3 -1
- hyperstack/models/{customer_fields.py → flavor_label_fields.py} +7 -7
- hyperstack/models/{getcreditandthresholdinfo.py → get_credit_and_threshold_info.py} +4 -4
- hyperstack/models/{getcreditandthresholdinfoinresponse.py → get_credit_and_threshold_info_in_response.py} +7 -7
- hyperstack/models/{region_payload.py → get_instance_logs_response.py} +7 -9
- hyperstack/models/instance_fields.py +8 -4
- hyperstack/models/instance_flavor_fields.py +13 -1
- hyperstack/models/{flavor_response.py → keypair_environment_features.py} +20 -16
- hyperstack/models/{internal_instance_keypair_fields.py → keypair_environment_fields.py} +13 -11
- hyperstack/models/keypair_fields.py +6 -2
- hyperstack/models/{lastdaycostfields.py → last_day_cost_fields.py} +4 -4
- hyperstack/models/{lastdaycostresponse.py → last_day_cost_response.py} +7 -7
- hyperstack/models/{export_billing_data_response.py → logos.py} +13 -9
- hyperstack/models/{creditrequestresponse.py → master_flavors_response.py} +14 -14
- hyperstack/models/{customer_payload.py → mfa_status_fields.py} +8 -10
- hyperstack/models/{gpu.py → mfa_status_response.py} +11 -11
- hyperstack/models/model_evaluation_billing_history_details_response_schema.py +95 -0
- hyperstack/models/{organization_thresholdfields.py → organization_threshold_fields.py} +4 -4
- hyperstack/models/{organizationthresholdupdateresponse.py → organization_threshold_update_response.py} +7 -7
- hyperstack/models/{organizationthresholdsresponse.py → organization_thresholds_response.py} +7 -7
- hyperstack/models/{logo_get_response.py → pagination.py} +12 -12
- hyperstack/models/{billing_response.py → partner_config.py} +31 -20
- hyperstack/models/payment_details_fields.py +5 -1
- hyperstack/models/{logout_payload.py → primary_color.py} +10 -8
- hyperstack/models/region_fields.py +16 -2
- hyperstack/models/{vm_usage_request_payload.py → request_instance_logs_payload.py} +8 -8
- hyperstack/models/{stock_visibility_user_payload.py → request_instance_logs_response.py} +8 -8
- hyperstack/models/{contract_billing_history.py → resource_level_billing_bucket_details_resources.py} +10 -10
- hyperstack/models/{node_response_model.py → resource_level_billing_history_resources_cluster.py} +21 -11
- hyperstack/models/resource_level_billing_history_response_attributes.py +3 -1
- hyperstack/models/{get_all_contracts_response_model.py → resource_level_bucket_billing_details_response_model.py} +11 -15
- hyperstack/models/{contract_billing_history_response_model.py → resource_level_bucket_billing_history_response_model.py} +11 -11
- hyperstack/models/resource_level_cluster_billing_details_response_model.py +95 -0
- hyperstack/models/resource_level_cluster_billing_history_response_model.py +95 -0
- hyperstack/models/{get_discount_detail_response.py → resource_level_cluster_graph_billing_details_response_model.py} +11 -11
- hyperstack/models/{organization_object_response.py → resource_level_graph_billing_details_bucket.py} +18 -14
- hyperstack/models/{update_discounts_status_payload.py → secondary_color.py} +10 -8
- hyperstack/models/{security_rules_fieldsfor_instance.py → security_rules_fields_for_instance.py} +4 -4
- hyperstack/models/serverless_inferenced_billing_history_details_response_schema.py +95 -0
- hyperstack/models/snapshot_fields.py +6 -1
- hyperstack/models/snapshot_retrieve_fields.py +29 -2
- hyperstack/models/start_deployment.py +3 -3
- hyperstack/models/{subscribeorunsubscribeupdatepayload.py → subscribe_or_unsubscribe_update_payload.py} +4 -4
- hyperstack/models/token_based_billing_history_response.py +95 -0
- hyperstack/models/{update_keypairnameresponse.py → update_keypair_name_response.py} +4 -4
- hyperstack/models/update_volume_attachment_payload.py +87 -0
- hyperstack/models/{verify_api_key_payload.py → update_volume_payload.py} +7 -7
- hyperstack/models/{stock_visibility_user_list_response.py → update_volume_response.py} +14 -16
- hyperstack/models/{auth_request_login_fields.py → uris.py} +19 -9
- hyperstack/models/{userinfopostpayload.py → user_info_post_payload.py} +4 -4
- hyperstack/models/{node_stock_response_model.py → user_organizations_response.py} +14 -14
- hyperstack/models/users_info_fields.py +3 -1
- hyperstack/models/volume_attachment_fields.py +9 -5
- hyperstack/models/volume_fields.py +14 -4
- hyperstack/models/{volume_fieldsfor_instance.py → volume_fields_for_instance.py} +4 -4
- hyperstack/models/volumes.py +17 -11
- hyperstack/models/{instances_summary_fields.py → volumes_fields.py} +33 -29
- hyperstack/models/workload_billing_history_response.py +95 -0
- {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.0a0.dist-info}/METADATA +2 -2
- hyperstack-1.41.0a0.dist-info/RECORD +349 -0
- {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.0a0.dist-info}/WHEEL +1 -1
- hyperstack/models/api_key_verify_fields.py +0 -93
- hyperstack/models/billing_immune_resources_response.py +0 -95
- hyperstack/models/contract_billing_history_response_attributes.py +0 -99
- hyperstack/models/contract_change_payload.py +0 -101
- hyperstack/models/contract_eligible_instances_response.py +0 -101
- hyperstack/models/contract_event_create_model.py +0 -91
- hyperstack/models/contract_resource_payload.py +0 -95
- hyperstack/models/contractl_billing_history_response_metrics.py +0 -87
- hyperstack/models/create_contract_fields.py +0 -110
- hyperstack/models/create_contract_payload.py +0 -106
- hyperstack/models/create_discounts_payload.py +0 -112
- hyperstack/models/create_update_permission_payload.py +0 -93
- hyperstack/models/create_update_policy_payload.py +0 -93
- hyperstack/models/creditrechargelimitfield.py +0 -93
- hyperstack/models/creditrechargelimitresponse.py +0 -99
- hyperstack/models/creditrequests.py +0 -96
- hyperstack/models/data.py +0 -91
- hyperstack/models/discount_entity_model.py +0 -97
- hyperstack/models/discount_fields.py +0 -100
- hyperstack/models/discount_plan_fields.py +0 -108
- hyperstack/models/discount_resource_fields.py +0 -93
- hyperstack/models/discount_resource_payload.py +0 -93
- hyperstack/models/exclude_billing_post_payload.py +0 -91
- hyperstack/models/field_change.py +0 -91
- hyperstack/models/flavor_payload.py +0 -101
- hyperstack/models/flavor_vms_response.py +0 -99
- hyperstack/models/future_node_stock_model.py +0 -93
- hyperstack/models/future_node_update_model.py +0 -98
- hyperstack/models/get_all_contract_fields.py +0 -100
- hyperstack/models/get_discount_response.py +0 -99
- hyperstack/models/get_entity_discount_detail_response.py +0 -108
- hyperstack/models/get_token_payload.py +0 -89
- hyperstack/models/get_version_response.py +0 -91
- hyperstack/models/historical_instance.py +0 -101
- hyperstack/models/infrahub_resource_object_response.py +0 -119
- hyperstack/models/insert_discount_plan_fields.py +0 -112
- hyperstack/models/internal_instance_fields.py +0 -156
- hyperstack/models/internal_instance_image_fields.py +0 -95
- hyperstack/models/internal_instances_response.py +0 -99
- hyperstack/models/internal_security_rules_fields_for_instance.py +0 -104
- hyperstack/models/internal_volume_attachment_fields.py +0 -98
- hyperstack/models/internal_volume_fields.py +0 -95
- hyperstack/models/internal_volumes_response.py +0 -99
- hyperstack/models/new_stock_update_response_model.py +0 -89
- hyperstack/models/node_model.py +0 -114
- hyperstack/models/node_payload_model.py +0 -97
- hyperstack/models/node_power_usage_model.py +0 -120
- hyperstack/models/node_stock_payload_model.py +0 -95
- hyperstack/models/organizationcreditrechargelimitresponse.py +0 -95
- hyperstack/models/power_usage_model.py +0 -89
- hyperstack/models/pricebook_resource_object_response.py +0 -107
- hyperstack/models/refresh_token_payload.py +0 -89
- hyperstack/models/region_response.py +0 -95
- hyperstack/models/set_defaults_payload.py +0 -89
- hyperstack/models/single_visibility_user_response.py +0 -91
- hyperstack/models/success_response_model.py +0 -89
- hyperstack/models/token_fields.py +0 -91
- hyperstack/models/update_contract_payload.py +0 -104
- hyperstack/models/update_discounts_payload.py +0 -102
- hyperstack/models/user_transfer_payload.py +0 -89
- hyperstack/models/verify_api_key_response_model.py +0 -95
- hyperstack/models/volume_status_change_fields.py +0 -96
- hyperstack/models/volumes_last_status_change_response.py +0 -99
- hyperstack/models/warning_mail_log_fields.py +0 -99
- hyperstack/models/warning_mail_log_response.py +0 -101
- hyperstack-1.25.0a0.dist-info/RECORD +0 -401
- {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.0a0.dist-info}/top_level.txt +0 -0
hyperstack/api/stock_api.py
CHANGED
|
@@ -54,7 +54,7 @@ class StockApi:
|
|
|
54
54
|
) -> NewStockRetriveResponse:
|
|
55
55
|
"""Retrieve GPU stocks
|
|
56
56
|
|
|
57
|
-
Returns information on current and upcoming GPU availability, organized
|
|
57
|
+
Returns information on current and upcoming GPU availability, organized byregion and GPU model. For additional information on GPU stocks,[**click here**](https://docs...cloud/docs/hardware/gpu-stock-information).
|
|
58
58
|
|
|
59
59
|
:param _request_timeout: timeout setting for this request. If one
|
|
60
60
|
number provided, it will be total request
|
|
@@ -120,7 +120,7 @@ class StockApi:
|
|
|
120
120
|
) -> ApiResponse[NewStockRetriveResponse]:
|
|
121
121
|
"""Retrieve GPU stocks
|
|
122
122
|
|
|
123
|
-
Returns information on current and upcoming GPU availability, organized
|
|
123
|
+
Returns information on current and upcoming GPU availability, organized byregion and GPU model. For additional information on GPU stocks,[**click here**](https://docs...cloud/docs/hardware/gpu-stock-information).
|
|
124
124
|
|
|
125
125
|
:param _request_timeout: timeout setting for this request. If one
|
|
126
126
|
number provided, it will be total request
|
|
@@ -186,7 +186,7 @@ class StockApi:
|
|
|
186
186
|
) -> RESTResponseType:
|
|
187
187
|
"""Retrieve GPU stocks
|
|
188
188
|
|
|
189
|
-
Returns information on current and upcoming GPU availability, organized
|
|
189
|
+
Returns information on current and upcoming GPU availability, organized byregion and GPU model. For additional information on GPU stocks,[**click here**](https://docs...cloud/docs/hardware/gpu-stock-information).
|
|
190
190
|
|
|
191
191
|
:param _request_timeout: timeout setting for this request. If one
|
|
192
192
|
number provided, it will be total request
|
|
@@ -270,8 +270,7 @@ class StockApi:
|
|
|
270
270
|
|
|
271
271
|
# authentication setting
|
|
272
272
|
_auth_settings: List[str] = [
|
|
273
|
-
'apiKey'
|
|
274
|
-
'accessToken'
|
|
273
|
+
'apiKey'
|
|
275
274
|
]
|
|
276
275
|
|
|
277
276
|
return self.api_client.param_serialize(
|
hyperstack/api/template_api.py
CHANGED
|
@@ -349,8 +349,7 @@ class TemplateApi:
|
|
|
349
349
|
|
|
350
350
|
# authentication setting
|
|
351
351
|
_auth_settings: List[str] = [
|
|
352
|
-
'apiKey'
|
|
353
|
-
'accessToken'
|
|
352
|
+
'apiKey'
|
|
354
353
|
]
|
|
355
354
|
|
|
356
355
|
return self.api_client.param_serialize(
|
|
@@ -623,8 +622,7 @@ class TemplateApi:
|
|
|
623
622
|
|
|
624
623
|
# authentication setting
|
|
625
624
|
_auth_settings: List[str] = [
|
|
626
|
-
'apiKey'
|
|
627
|
-
'accessToken'
|
|
625
|
+
'apiKey'
|
|
628
626
|
]
|
|
629
627
|
|
|
630
628
|
return self.api_client.param_serialize(
|
|
@@ -664,7 +662,7 @@ class TemplateApi:
|
|
|
664
662
|
) -> Templates:
|
|
665
663
|
"""List templates
|
|
666
664
|
|
|
667
|
-
Returns a comprehensive list of templates, providing resource configuration details for each. Optionally, specify the `visibility` as `public` or `private` to retrieve templates with the desired visibility status. To learn more about the templates feature, [**click here**](https://
|
|
665
|
+
Returns a comprehensive list of templates, providing resource configuration details for each. Optionally, specify the `visibility` as `public` or `private` to retrieve templates with the desired visibility status. To learn more about the templates feature, [**click here**](https://docs...cloud/docs/features/templates#view-a-list-of-templates).
|
|
668
666
|
|
|
669
667
|
:param visibility: Specify the `visibility` status as either `public` or `private` to filter and retrieve templates with the desired visibility.
|
|
670
668
|
:type visibility: str
|
|
@@ -735,7 +733,7 @@ class TemplateApi:
|
|
|
735
733
|
) -> ApiResponse[Templates]:
|
|
736
734
|
"""List templates
|
|
737
735
|
|
|
738
|
-
Returns a comprehensive list of templates, providing resource configuration details for each. Optionally, specify the `visibility` as `public` or `private` to retrieve templates with the desired visibility status. To learn more about the templates feature, [**click here**](https://
|
|
736
|
+
Returns a comprehensive list of templates, providing resource configuration details for each. Optionally, specify the `visibility` as `public` or `private` to retrieve templates with the desired visibility status. To learn more about the templates feature, [**click here**](https://docs...cloud/docs/features/templates#view-a-list-of-templates).
|
|
739
737
|
|
|
740
738
|
:param visibility: Specify the `visibility` status as either `public` or `private` to filter and retrieve templates with the desired visibility.
|
|
741
739
|
:type visibility: str
|
|
@@ -806,7 +804,7 @@ class TemplateApi:
|
|
|
806
804
|
) -> RESTResponseType:
|
|
807
805
|
"""List templates
|
|
808
806
|
|
|
809
|
-
Returns a comprehensive list of templates, providing resource configuration details for each. Optionally, specify the `visibility` as `public` or `private` to retrieve templates with the desired visibility status. To learn more about the templates feature, [**click here**](https://
|
|
807
|
+
Returns a comprehensive list of templates, providing resource configuration details for each. Optionally, specify the `visibility` as `public` or `private` to retrieve templates with the desired visibility status. To learn more about the templates feature, [**click here**](https://docs...cloud/docs/features/templates#view-a-list-of-templates).
|
|
810
808
|
|
|
811
809
|
:param visibility: Specify the `visibility` status as either `public` or `private` to filter and retrieve templates with the desired visibility.
|
|
812
810
|
:type visibility: str
|
|
@@ -899,8 +897,7 @@ class TemplateApi:
|
|
|
899
897
|
|
|
900
898
|
# authentication setting
|
|
901
899
|
_auth_settings: List[str] = [
|
|
902
|
-
'apiKey'
|
|
903
|
-
'accessToken'
|
|
900
|
+
'apiKey'
|
|
904
901
|
]
|
|
905
902
|
|
|
906
903
|
return self.api_client.param_serialize(
|
|
@@ -940,7 +937,7 @@ class TemplateApi:
|
|
|
940
937
|
) -> Template:
|
|
941
938
|
"""Retrieve template details
|
|
942
939
|
|
|
943
|
-
Retrieves the resource configuration details for a specified template.
|
|
940
|
+
Retrieves the resource configuration details for a specified template.Provide the template ID in the path to retrieve details for the specified template.For additional information on template configuration details,[**click here**](https://docs...cloud/docs/api-references/).
|
|
944
941
|
|
|
945
942
|
:param id: (required)
|
|
946
943
|
:type id: int
|
|
@@ -1011,7 +1008,7 @@ class TemplateApi:
|
|
|
1011
1008
|
) -> ApiResponse[Template]:
|
|
1012
1009
|
"""Retrieve template details
|
|
1013
1010
|
|
|
1014
|
-
Retrieves the resource configuration details for a specified template.
|
|
1011
|
+
Retrieves the resource configuration details for a specified template.Provide the template ID in the path to retrieve details for the specified template.For additional information on template configuration details,[**click here**](https://docs...cloud/docs/api-references/).
|
|
1015
1012
|
|
|
1016
1013
|
:param id: (required)
|
|
1017
1014
|
:type id: int
|
|
@@ -1082,7 +1079,7 @@ class TemplateApi:
|
|
|
1082
1079
|
) -> RESTResponseType:
|
|
1083
1080
|
"""Retrieve template details
|
|
1084
1081
|
|
|
1085
|
-
Retrieves the resource configuration details for a specified template.
|
|
1082
|
+
Retrieves the resource configuration details for a specified template.Provide the template ID in the path to retrieve details for the specified template.For additional information on template configuration details,[**click here**](https://docs...cloud/docs/api-references/).
|
|
1086
1083
|
|
|
1087
1084
|
:param id: (required)
|
|
1088
1085
|
:type id: int
|
|
@@ -1173,8 +1170,7 @@ class TemplateApi:
|
|
|
1173
1170
|
|
|
1174
1171
|
# authentication setting
|
|
1175
1172
|
_auth_settings: List[str] = [
|
|
1176
|
-
'apiKey'
|
|
1177
|
-
'accessToken'
|
|
1173
|
+
'apiKey'
|
|
1178
1174
|
]
|
|
1179
1175
|
|
|
1180
1176
|
return self.api_client.param_serialize(
|
|
@@ -1215,7 +1211,7 @@ class TemplateApi:
|
|
|
1215
1211
|
) -> Template:
|
|
1216
1212
|
"""Update template
|
|
1217
1213
|
|
|
1218
|
-
Updates the details of a template. Modify the template name, description and/or
|
|
1214
|
+
Updates the details of a template. Modify the template name, description and/or`is_public` status to change the public/private visibility of the template.
|
|
1219
1215
|
|
|
1220
1216
|
:param id: (required)
|
|
1221
1217
|
:type id: int
|
|
@@ -1290,7 +1286,7 @@ class TemplateApi:
|
|
|
1290
1286
|
) -> ApiResponse[Template]:
|
|
1291
1287
|
"""Update template
|
|
1292
1288
|
|
|
1293
|
-
Updates the details of a template. Modify the template name, description and/or
|
|
1289
|
+
Updates the details of a template. Modify the template name, description and/or`is_public` status to change the public/private visibility of the template.
|
|
1294
1290
|
|
|
1295
1291
|
:param id: (required)
|
|
1296
1292
|
:type id: int
|
|
@@ -1365,7 +1361,7 @@ class TemplateApi:
|
|
|
1365
1361
|
) -> RESTResponseType:
|
|
1366
1362
|
"""Update template
|
|
1367
1363
|
|
|
1368
|
-
Updates the details of a template. Modify the template name, description and/or
|
|
1364
|
+
Updates the details of a template. Modify the template name, description and/or`is_public` status to change the public/private visibility of the template.
|
|
1369
1365
|
|
|
1370
1366
|
:param id: (required)
|
|
1371
1367
|
:type id: int
|
|
@@ -1475,8 +1471,7 @@ class TemplateApi:
|
|
|
1475
1471
|
|
|
1476
1472
|
# authentication setting
|
|
1477
1473
|
_auth_settings: List[str] = [
|
|
1478
|
-
'apiKey'
|
|
1479
|
-
'accessToken'
|
|
1474
|
+
'apiKey'
|
|
1480
1475
|
]
|
|
1481
1476
|
|
|
1482
1477
|
return self.api_client.param_serialize(
|
hyperstack/api/user_api.py
CHANGED
|
@@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
19
|
from ..models.add_user_info_success_response_model import AddUserInfoSuccessResponseModel
|
|
20
|
-
from ..models.
|
|
20
|
+
from ..models.user_info_post_payload import UserInfoPostPayload
|
|
21
21
|
from ..models.users_info_list_response import UsersInfoListResponse
|
|
22
22
|
|
|
23
23
|
from ..api_client import ApiClient, RequestSerialized
|
|
@@ -39,7 +39,7 @@ class UserApi:
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
@validate_call
|
|
42
|
-
def
|
|
42
|
+
def get_user(
|
|
43
43
|
self,
|
|
44
44
|
_request_timeout: Union[
|
|
45
45
|
None,
|
|
@@ -54,8 +54,9 @@ class UserApi:
|
|
|
54
54
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
55
55
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
56
56
|
) -> UsersInfoListResponse:
|
|
57
|
-
"""GET:
|
|
57
|
+
"""GET: Retrieve billing info
|
|
58
58
|
|
|
59
|
+
Retrieve the billing details associated with your organization.
|
|
59
60
|
|
|
60
61
|
:param _request_timeout: timeout setting for this request. If one
|
|
61
62
|
number provided, it will be total request
|
|
@@ -79,7 +80,7 @@ class UserApi:
|
|
|
79
80
|
:return: Returns the result object.
|
|
80
81
|
""" # noqa: E501
|
|
81
82
|
|
|
82
|
-
_param = self.
|
|
83
|
+
_param = self._get_user_serialize(
|
|
83
84
|
_request_auth=_request_auth,
|
|
84
85
|
_content_type=_content_type,
|
|
85
86
|
_headers=_headers,
|
|
@@ -106,7 +107,7 @@ class UserApi:
|
|
|
106
107
|
|
|
107
108
|
|
|
108
109
|
@validate_call
|
|
109
|
-
def
|
|
110
|
+
def get_user_with_http_info(
|
|
110
111
|
self,
|
|
111
112
|
_request_timeout: Union[
|
|
112
113
|
None,
|
|
@@ -121,8 +122,9 @@ class UserApi:
|
|
|
121
122
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
122
123
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
123
124
|
) -> ApiResponse[UsersInfoListResponse]:
|
|
124
|
-
"""GET:
|
|
125
|
+
"""GET: Retrieve billing info
|
|
125
126
|
|
|
127
|
+
Retrieve the billing details associated with your organization.
|
|
126
128
|
|
|
127
129
|
:param _request_timeout: timeout setting for this request. If one
|
|
128
130
|
number provided, it will be total request
|
|
@@ -146,7 +148,7 @@ class UserApi:
|
|
|
146
148
|
:return: Returns the result object.
|
|
147
149
|
""" # noqa: E501
|
|
148
150
|
|
|
149
|
-
_param = self.
|
|
151
|
+
_param = self._get_user_serialize(
|
|
150
152
|
_request_auth=_request_auth,
|
|
151
153
|
_content_type=_content_type,
|
|
152
154
|
_headers=_headers,
|
|
@@ -173,7 +175,7 @@ class UserApi:
|
|
|
173
175
|
|
|
174
176
|
|
|
175
177
|
@validate_call
|
|
176
|
-
def
|
|
178
|
+
def get_user_without_preload_content(
|
|
177
179
|
self,
|
|
178
180
|
_request_timeout: Union[
|
|
179
181
|
None,
|
|
@@ -188,8 +190,9 @@ class UserApi:
|
|
|
188
190
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
189
191
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
190
192
|
) -> RESTResponseType:
|
|
191
|
-
"""GET:
|
|
193
|
+
"""GET: Retrieve billing info
|
|
192
194
|
|
|
195
|
+
Retrieve the billing details associated with your organization.
|
|
193
196
|
|
|
194
197
|
:param _request_timeout: timeout setting for this request. If one
|
|
195
198
|
number provided, it will be total request
|
|
@@ -213,7 +216,7 @@ class UserApi:
|
|
|
213
216
|
:return: Returns the result object.
|
|
214
217
|
""" # noqa: E501
|
|
215
218
|
|
|
216
|
-
_param = self.
|
|
219
|
+
_param = self._get_user_serialize(
|
|
217
220
|
_request_auth=_request_auth,
|
|
218
221
|
_content_type=_content_type,
|
|
219
222
|
_headers=_headers,
|
|
@@ -235,7 +238,7 @@ class UserApi:
|
|
|
235
238
|
return response_data.response
|
|
236
239
|
|
|
237
240
|
|
|
238
|
-
def
|
|
241
|
+
def _get_user_serialize(
|
|
239
242
|
self,
|
|
240
243
|
_request_auth,
|
|
241
244
|
_content_type,
|
|
@@ -275,8 +278,7 @@ class UserApi:
|
|
|
275
278
|
|
|
276
279
|
# authentication setting
|
|
277
280
|
_auth_settings: List[str] = [
|
|
278
|
-
'apiKey'
|
|
279
|
-
'accessToken'
|
|
281
|
+
'apiKey'
|
|
280
282
|
]
|
|
281
283
|
|
|
282
284
|
return self.api_client.param_serialize(
|
|
@@ -298,9 +300,9 @@ class UserApi:
|
|
|
298
300
|
|
|
299
301
|
|
|
300
302
|
@validate_call
|
|
301
|
-
def
|
|
303
|
+
def post_user(
|
|
302
304
|
self,
|
|
303
|
-
payload:
|
|
305
|
+
payload: UserInfoPostPayload,
|
|
304
306
|
_request_timeout: Union[
|
|
305
307
|
None,
|
|
306
308
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -314,11 +316,12 @@ class UserApi:
|
|
|
314
316
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
315
317
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
316
318
|
) -> AddUserInfoSuccessResponseModel:
|
|
317
|
-
"""POST: Insert
|
|
319
|
+
"""POST: Insert billing info
|
|
318
320
|
|
|
321
|
+
Add billing details associated with your organization in the request body.
|
|
319
322
|
|
|
320
323
|
:param payload: (required)
|
|
321
|
-
:type payload:
|
|
324
|
+
:type payload: UserInfoPostPayload
|
|
322
325
|
:param _request_timeout: timeout setting for this request. If one
|
|
323
326
|
number provided, it will be total request
|
|
324
327
|
timeout. It can also be a pair (tuple) of
|
|
@@ -341,7 +344,7 @@ class UserApi:
|
|
|
341
344
|
:return: Returns the result object.
|
|
342
345
|
""" # noqa: E501
|
|
343
346
|
|
|
344
|
-
_param = self.
|
|
347
|
+
_param = self._post_user_serialize(
|
|
345
348
|
payload=payload,
|
|
346
349
|
_request_auth=_request_auth,
|
|
347
350
|
_content_type=_content_type,
|
|
@@ -369,9 +372,9 @@ class UserApi:
|
|
|
369
372
|
|
|
370
373
|
|
|
371
374
|
@validate_call
|
|
372
|
-
def
|
|
375
|
+
def post_user_with_http_info(
|
|
373
376
|
self,
|
|
374
|
-
payload:
|
|
377
|
+
payload: UserInfoPostPayload,
|
|
375
378
|
_request_timeout: Union[
|
|
376
379
|
None,
|
|
377
380
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -385,11 +388,12 @@ class UserApi:
|
|
|
385
388
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
386
389
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
387
390
|
) -> ApiResponse[AddUserInfoSuccessResponseModel]:
|
|
388
|
-
"""POST: Insert
|
|
391
|
+
"""POST: Insert billing info
|
|
389
392
|
|
|
393
|
+
Add billing details associated with your organization in the request body.
|
|
390
394
|
|
|
391
395
|
:param payload: (required)
|
|
392
|
-
:type payload:
|
|
396
|
+
:type payload: UserInfoPostPayload
|
|
393
397
|
:param _request_timeout: timeout setting for this request. If one
|
|
394
398
|
number provided, it will be total request
|
|
395
399
|
timeout. It can also be a pair (tuple) of
|
|
@@ -412,7 +416,7 @@ class UserApi:
|
|
|
412
416
|
:return: Returns the result object.
|
|
413
417
|
""" # noqa: E501
|
|
414
418
|
|
|
415
|
-
_param = self.
|
|
419
|
+
_param = self._post_user_serialize(
|
|
416
420
|
payload=payload,
|
|
417
421
|
_request_auth=_request_auth,
|
|
418
422
|
_content_type=_content_type,
|
|
@@ -440,9 +444,9 @@ class UserApi:
|
|
|
440
444
|
|
|
441
445
|
|
|
442
446
|
@validate_call
|
|
443
|
-
def
|
|
447
|
+
def post_user_without_preload_content(
|
|
444
448
|
self,
|
|
445
|
-
payload:
|
|
449
|
+
payload: UserInfoPostPayload,
|
|
446
450
|
_request_timeout: Union[
|
|
447
451
|
None,
|
|
448
452
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -456,11 +460,12 @@ class UserApi:
|
|
|
456
460
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
457
461
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
458
462
|
) -> RESTResponseType:
|
|
459
|
-
"""POST: Insert
|
|
463
|
+
"""POST: Insert billing info
|
|
460
464
|
|
|
465
|
+
Add billing details associated with your organization in the request body.
|
|
461
466
|
|
|
462
467
|
:param payload: (required)
|
|
463
|
-
:type payload:
|
|
468
|
+
:type payload: UserInfoPostPayload
|
|
464
469
|
:param _request_timeout: timeout setting for this request. If one
|
|
465
470
|
number provided, it will be total request
|
|
466
471
|
timeout. It can also be a pair (tuple) of
|
|
@@ -483,7 +488,7 @@ class UserApi:
|
|
|
483
488
|
:return: Returns the result object.
|
|
484
489
|
""" # noqa: E501
|
|
485
490
|
|
|
486
|
-
_param = self.
|
|
491
|
+
_param = self._post_user_serialize(
|
|
487
492
|
payload=payload,
|
|
488
493
|
_request_auth=_request_auth,
|
|
489
494
|
_content_type=_content_type,
|
|
@@ -506,7 +511,7 @@ class UserApi:
|
|
|
506
511
|
return response_data.response
|
|
507
512
|
|
|
508
513
|
|
|
509
|
-
def
|
|
514
|
+
def _post_user_serialize(
|
|
510
515
|
self,
|
|
511
516
|
payload,
|
|
512
517
|
_request_auth,
|
|
@@ -562,8 +567,7 @@ class UserApi:
|
|
|
562
567
|
|
|
563
568
|
# authentication setting
|
|
564
569
|
_auth_settings: List[str] = [
|
|
565
|
-
'apiKey'
|
|
566
|
-
'accessToken'
|
|
570
|
+
'apiKey'
|
|
567
571
|
]
|
|
568
572
|
|
|
569
573
|
return self.api_client.param_serialize(
|
|
@@ -585,9 +589,9 @@ class UserApi:
|
|
|
585
589
|
|
|
586
590
|
|
|
587
591
|
@validate_call
|
|
588
|
-
def
|
|
592
|
+
def put_user(
|
|
589
593
|
self,
|
|
590
|
-
payload:
|
|
594
|
+
payload: UserInfoPostPayload,
|
|
591
595
|
_request_timeout: Union[
|
|
592
596
|
None,
|
|
593
597
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -601,11 +605,12 @@ class UserApi:
|
|
|
601
605
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
602
606
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
603
607
|
) -> AddUserInfoSuccessResponseModel:
|
|
604
|
-
"""PUT: Update
|
|
608
|
+
"""PUT: Update billing info
|
|
605
609
|
|
|
610
|
+
Update the billing information for your organization in the request body.
|
|
606
611
|
|
|
607
612
|
:param payload: (required)
|
|
608
|
-
:type payload:
|
|
613
|
+
:type payload: UserInfoPostPayload
|
|
609
614
|
:param _request_timeout: timeout setting for this request. If one
|
|
610
615
|
number provided, it will be total request
|
|
611
616
|
timeout. It can also be a pair (tuple) of
|
|
@@ -628,7 +633,7 @@ class UserApi:
|
|
|
628
633
|
:return: Returns the result object.
|
|
629
634
|
""" # noqa: E501
|
|
630
635
|
|
|
631
|
-
_param = self.
|
|
636
|
+
_param = self._put_user_serialize(
|
|
632
637
|
payload=payload,
|
|
633
638
|
_request_auth=_request_auth,
|
|
634
639
|
_content_type=_content_type,
|
|
@@ -656,9 +661,9 @@ class UserApi:
|
|
|
656
661
|
|
|
657
662
|
|
|
658
663
|
@validate_call
|
|
659
|
-
def
|
|
664
|
+
def put_user_with_http_info(
|
|
660
665
|
self,
|
|
661
|
-
payload:
|
|
666
|
+
payload: UserInfoPostPayload,
|
|
662
667
|
_request_timeout: Union[
|
|
663
668
|
None,
|
|
664
669
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -672,11 +677,12 @@ class UserApi:
|
|
|
672
677
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
673
678
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
674
679
|
) -> ApiResponse[AddUserInfoSuccessResponseModel]:
|
|
675
|
-
"""PUT: Update
|
|
680
|
+
"""PUT: Update billing info
|
|
676
681
|
|
|
682
|
+
Update the billing information for your organization in the request body.
|
|
677
683
|
|
|
678
684
|
:param payload: (required)
|
|
679
|
-
:type payload:
|
|
685
|
+
:type payload: UserInfoPostPayload
|
|
680
686
|
:param _request_timeout: timeout setting for this request. If one
|
|
681
687
|
number provided, it will be total request
|
|
682
688
|
timeout. It can also be a pair (tuple) of
|
|
@@ -699,7 +705,7 @@ class UserApi:
|
|
|
699
705
|
:return: Returns the result object.
|
|
700
706
|
""" # noqa: E501
|
|
701
707
|
|
|
702
|
-
_param = self.
|
|
708
|
+
_param = self._put_user_serialize(
|
|
703
709
|
payload=payload,
|
|
704
710
|
_request_auth=_request_auth,
|
|
705
711
|
_content_type=_content_type,
|
|
@@ -727,9 +733,9 @@ class UserApi:
|
|
|
727
733
|
|
|
728
734
|
|
|
729
735
|
@validate_call
|
|
730
|
-
def
|
|
736
|
+
def put_user_without_preload_content(
|
|
731
737
|
self,
|
|
732
|
-
payload:
|
|
738
|
+
payload: UserInfoPostPayload,
|
|
733
739
|
_request_timeout: Union[
|
|
734
740
|
None,
|
|
735
741
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -743,11 +749,12 @@ class UserApi:
|
|
|
743
749
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
744
750
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
745
751
|
) -> RESTResponseType:
|
|
746
|
-
"""PUT: Update
|
|
752
|
+
"""PUT: Update billing info
|
|
747
753
|
|
|
754
|
+
Update the billing information for your organization in the request body.
|
|
748
755
|
|
|
749
756
|
:param payload: (required)
|
|
750
|
-
:type payload:
|
|
757
|
+
:type payload: UserInfoPostPayload
|
|
751
758
|
:param _request_timeout: timeout setting for this request. If one
|
|
752
759
|
number provided, it will be total request
|
|
753
760
|
timeout. It can also be a pair (tuple) of
|
|
@@ -770,7 +777,7 @@ class UserApi:
|
|
|
770
777
|
:return: Returns the result object.
|
|
771
778
|
""" # noqa: E501
|
|
772
779
|
|
|
773
|
-
_param = self.
|
|
780
|
+
_param = self._put_user_serialize(
|
|
774
781
|
payload=payload,
|
|
775
782
|
_request_auth=_request_auth,
|
|
776
783
|
_content_type=_content_type,
|
|
@@ -793,7 +800,7 @@ class UserApi:
|
|
|
793
800
|
return response_data.response
|
|
794
801
|
|
|
795
802
|
|
|
796
|
-
def
|
|
803
|
+
def _put_user_serialize(
|
|
797
804
|
self,
|
|
798
805
|
payload,
|
|
799
806
|
_request_auth,
|
|
@@ -849,8 +856,7 @@ class UserApi:
|
|
|
849
856
|
|
|
850
857
|
# authentication setting
|
|
851
858
|
_auth_settings: List[str] = [
|
|
852
|
-
'apiKey'
|
|
853
|
-
'accessToken'
|
|
859
|
+
'apiKey'
|
|
854
860
|
]
|
|
855
861
|
|
|
856
862
|
return self.api_client.param_serialize(
|
|
@@ -55,7 +55,7 @@ class UserPermissionApi:
|
|
|
55
55
|
) -> GetUserPermissionsResponseModel:
|
|
56
56
|
"""List My User Permissions
|
|
57
57
|
|
|
58
|
-
Retrieves a list of permissions granted to your account. For additional information on your permissions, [click here](https://
|
|
58
|
+
Retrieves a list of permissions granted to your account. For additional information on your permissions, [click here](https://docs...cloud/docs/api-reference/auth-resources/permission/list-my-permissions).
|
|
59
59
|
|
|
60
60
|
:param _request_timeout: timeout setting for this request. If one
|
|
61
61
|
number provided, it will be total request
|
|
@@ -121,7 +121,7 @@ class UserPermissionApi:
|
|
|
121
121
|
) -> ApiResponse[GetUserPermissionsResponseModel]:
|
|
122
122
|
"""List My User Permissions
|
|
123
123
|
|
|
124
|
-
Retrieves a list of permissions granted to your account. For additional information on your permissions, [click here](https://
|
|
124
|
+
Retrieves a list of permissions granted to your account. For additional information on your permissions, [click here](https://docs...cloud/docs/api-reference/auth-resources/permission/list-my-permissions).
|
|
125
125
|
|
|
126
126
|
:param _request_timeout: timeout setting for this request. If one
|
|
127
127
|
number provided, it will be total request
|
|
@@ -187,7 +187,7 @@ class UserPermissionApi:
|
|
|
187
187
|
) -> RESTResponseType:
|
|
188
188
|
"""List My User Permissions
|
|
189
189
|
|
|
190
|
-
Retrieves a list of permissions granted to your account. For additional information on your permissions, [click here](https://
|
|
190
|
+
Retrieves a list of permissions granted to your account. For additional information on your permissions, [click here](https://docs...cloud/docs/api-reference/auth-resources/permission/list-my-permissions).
|
|
191
191
|
|
|
192
192
|
:param _request_timeout: timeout setting for this request. If one
|
|
193
193
|
number provided, it will be total request
|
|
@@ -271,8 +271,7 @@ class UserPermissionApi:
|
|
|
271
271
|
|
|
272
272
|
# authentication setting
|
|
273
273
|
_auth_settings: List[str] = [
|
|
274
|
-
'apiKey'
|
|
275
|
-
'accessToken'
|
|
274
|
+
'apiKey'
|
|
276
275
|
]
|
|
277
276
|
|
|
278
277
|
return self.api_client.param_serialize(
|
|
@@ -312,7 +311,7 @@ class UserPermissionApi:
|
|
|
312
311
|
) -> GetUserPermissionsResponseModel:
|
|
313
312
|
"""List User Permissions
|
|
314
313
|
|
|
315
|
-
Retrieves a list of permissions granted to a specific user within your organization. Provide the ID of the user in the path. For additional information on user permissions, [click here](https://
|
|
314
|
+
Retrieves a list of permissions granted to a specific user within your organization. Provide the ID of the user in the path. For additional information on user permissions, [click here](https://docs...cloud/docs/api-reference/auth-resources/permission/list-user-permissions).
|
|
316
315
|
|
|
317
316
|
:param id: (required)
|
|
318
317
|
:type id: int
|
|
@@ -383,7 +382,7 @@ class UserPermissionApi:
|
|
|
383
382
|
) -> ApiResponse[GetUserPermissionsResponseModel]:
|
|
384
383
|
"""List User Permissions
|
|
385
384
|
|
|
386
|
-
Retrieves a list of permissions granted to a specific user within your organization. Provide the ID of the user in the path. For additional information on user permissions, [click here](https://
|
|
385
|
+
Retrieves a list of permissions granted to a specific user within your organization. Provide the ID of the user in the path. For additional information on user permissions, [click here](https://docs...cloud/docs/api-reference/auth-resources/permission/list-user-permissions).
|
|
387
386
|
|
|
388
387
|
:param id: (required)
|
|
389
388
|
:type id: int
|
|
@@ -454,7 +453,7 @@ class UserPermissionApi:
|
|
|
454
453
|
) -> RESTResponseType:
|
|
455
454
|
"""List User Permissions
|
|
456
455
|
|
|
457
|
-
Retrieves a list of permissions granted to a specific user within your organization. Provide the ID of the user in the path. For additional information on user permissions, [click here](https://
|
|
456
|
+
Retrieves a list of permissions granted to a specific user within your organization. Provide the ID of the user in the path. For additional information on user permissions, [click here](https://docs...cloud/docs/api-reference/auth-resources/permission/list-user-permissions).
|
|
458
457
|
|
|
459
458
|
:param id: (required)
|
|
460
459
|
:type id: int
|
|
@@ -545,8 +544,7 @@ class UserPermissionApi:
|
|
|
545
544
|
|
|
546
545
|
# authentication setting
|
|
547
546
|
_auth_settings: List[str] = [
|
|
548
|
-
'apiKey'
|
|
549
|
-
'accessToken'
|
|
547
|
+
'apiKey'
|
|
550
548
|
]
|
|
551
549
|
|
|
552
550
|
return self.api_client.param_serialize(
|