waldur-api-client 7.7.5__py3-none-any.whl → 7.7.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_retrieve.py +154 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_review_retrieve.py +154 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_completion_review_status_retrieve.py +154 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_completion_status_retrieve.py +154 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_submit_answers.py +179 -0
- waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_list.py +23 -0
- waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_retrieve.py +30 -1
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_service_accounts_list.py +276 -0
- waldur_api_client/api/marketplace_service_providers/service_provider_compliance_overview.py +189 -0
- waldur_api_client/api/marketplace_service_providers/service_provider_offering_users_compliance.py +222 -0
- waldur_api_client/api/public_maintenance_announcements/__init__.py +1 -0
- waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_count.py +325 -0
- waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_list.py +328 -0
- waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_retrieve.py +144 -0
- waldur_api_client/models/__init__.py +56 -4
- waldur_api_client/models/admin_announcement.py +109 -1
- waldur_api_client/models/admin_announcement_maintenance_affected_offerings_item.py +103 -0
- waldur_api_client/models/admin_announcements_list_field_item.py +8 -0
- waldur_api_client/models/admin_announcements_retrieve_field_item.py +8 -0
- waldur_api_client/models/azure_sql_server_create_order_attributes.py +80 -0
- waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +96 -0
- waldur_api_client/models/basic_user.py +30 -21
- waldur_api_client/models/booking_offerings_list_field_item.py +1 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -0
- waldur_api_client/models/create_router.py +1 -1
- waldur_api_client/models/create_router_request.py +1 -1
- waldur_api_client/models/customer.py +0 -30
- waldur_api_client/models/customers_list_field_item.py +0 -2
- waldur_api_client/models/customers_retrieve_field_item.py +0 -2
- waldur_api_client/models/fingerprint.py +19 -17
- waldur_api_client/models/instance_flavor_change_request.py +1 -1
- waldur_api_client/models/marketplace_managed_rancher_create_order_attributes.py +144 -0
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_rancher_create_order_attributes.py +142 -0
- waldur_api_client/models/marketplace_robot_accounts_list_field_item.py +32 -0
- waldur_api_client/models/marketplace_robot_accounts_retrieve_field_item.py +32 -0
- waldur_api_client/models/offering.py +9 -0
- waldur_api_client/models/offering_create.py +8 -0
- waldur_api_client/models/open_stack_backend_instance.py +2 -2
- waldur_api_client/models/open_stack_backend_volumes.py +3 -3
- waldur_api_client/models/open_stack_backup.py +1 -1
- waldur_api_client/models/open_stack_backup_restoration.py +8 -5
- waldur_api_client/models/open_stack_backup_restoration_request.py +28 -3
- waldur_api_client/models/open_stack_fixed_ip.py +2 -2
- waldur_api_client/models/open_stack_fixed_ip_request.py +2 -2
- waldur_api_client/models/open_stack_floating_ip.py +5 -4
- waldur_api_client/models/open_stack_instance.py +17 -15
- waldur_api_client/models/open_stack_instance_allowed_address_pairs_update_request.py +3 -2
- waldur_api_client/models/open_stack_instance_availability_zone.py +1 -1
- waldur_api_client/models/open_stack_instance_create_order_attributes.py +280 -0
- waldur_api_client/models/open_stack_instance_request.py +4 -3
- waldur_api_client/models/open_stack_instance_security_groups_update_request.py +1 -1
- waldur_api_client/models/open_stack_nested_floating_ip.py +3 -3
- waldur_api_client/models/open_stack_nested_instance.py +1 -1
- waldur_api_client/models/open_stack_nested_port.py +5 -5
- waldur_api_client/models/open_stack_nested_port_request.py +1 -1
- waldur_api_client/models/open_stack_nested_security_group.py +1 -53
- waldur_api_client/models/open_stack_nested_security_group_request.py +59 -0
- waldur_api_client/models/open_stack_nested_sub_net.py +4 -4
- waldur_api_client/models/open_stack_nested_sub_net_request.py +4 -4
- waldur_api_client/models/open_stack_nested_volume.py +3 -3
- waldur_api_client/models/open_stack_nested_volume_request.py +3 -3
- waldur_api_client/models/open_stack_network.py +3 -3
- waldur_api_client/models/open_stack_port.py +10 -9
- waldur_api_client/models/open_stack_port_ip_update_request.py +2 -2
- waldur_api_client/models/open_stack_port_request.py +3 -3
- waldur_api_client/models/open_stack_router.py +2 -2
- waldur_api_client/models/open_stack_router_interface_request.py +4 -2
- waldur_api_client/models/open_stack_security_group_rule_create.py +6 -5
- waldur_api_client/models/open_stack_security_group_rule_create_request.py +6 -5
- waldur_api_client/models/open_stack_security_group_rule_update_request.py +6 -5
- waldur_api_client/models/open_stack_server_group.py +2 -1
- waldur_api_client/models/open_stack_server_group_request.py +2 -1
- waldur_api_client/models/open_stack_snapshot.py +2 -2
- waldur_api_client/models/open_stack_snapshot_restoration.py +1 -1
- waldur_api_client/models/open_stack_sub_net.py +5 -5
- waldur_api_client/models/open_stack_sub_net_request.py +2 -2
- waldur_api_client/models/open_stack_tenant.py +3 -3
- waldur_api_client/models/open_stack_tenant_create_order_attributes.py +109 -0
- waldur_api_client/models/open_stack_volume.py +9 -9
- waldur_api_client/models/open_stack_volume_create_order_attributes.py +152 -0
- waldur_api_client/models/open_stack_volume_request.py +1 -1
- waldur_api_client/models/order_create_request.py +165 -4
- waldur_api_client/models/patched_open_stack_instance_request.py +4 -3
- waldur_api_client/models/patched_open_stack_server_group_request.py +2 -1
- waldur_api_client/models/patched_open_stack_sub_net_request.py +2 -2
- waldur_api_client/models/patched_open_stack_volume_request.py +1 -1
- waldur_api_client/models/permission_request.py +2 -2
- waldur_api_client/models/provider_offering_details.py +9 -0
- waldur_api_client/models/public_maintenance_announcement.py +217 -0
- waldur_api_client/models/public_maintenance_announcement_state_enum.py +10 -0
- waldur_api_client/models/public_maintenance_announcements_count_o_item.py +15 -0
- waldur_api_client/models/public_maintenance_announcements_count_state_item.py +12 -0
- waldur_api_client/models/public_maintenance_announcements_list_o_item.py +15 -0
- waldur_api_client/models/public_maintenance_announcements_list_state_item.py +12 -0
- waldur_api_client/models/public_offering_details.py +9 -0
- waldur_api_client/models/rancher_cluster_security_group_rule.py +5 -4
- waldur_api_client/models/rancher_cluster_security_group_rule_request.py +5 -4
- waldur_api_client/models/remote_project_update_request.py +2 -2
- waldur_api_client/models/robot_account_details.py +226 -144
- waldur_api_client/models/service_provider_compliance_overview.py +122 -0
- waldur_api_client/models/service_provider_offering_user_compliance.py +179 -0
- waldur_api_client/models/service_provider_offering_user_compliance_state_enum.py +17 -0
- waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +72 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +225 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_1.py +155 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_2_type_1.py +155 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_3_type_1.py +155 -0
- waldur_api_client/models/volume_attach_request.py +1 -1
- {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.6.dist-info}/METADATA +1 -1
- {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.6.dist-info}/RECORD +120 -85
- waldur_api_client/models/nested_security_group_rule.py +0 -222
- waldur_api_client/models/nested_security_group_rule_request.py +0 -187
- {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.6.dist-info}/LICENSE +0 -0
- {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.6.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.service_provider_compliance_overview import ServiceProviderComplianceOverview
|
|
10
|
+
from ...types import UNSET, Response, Unset
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
service_provider_uuid: UUID,
|
|
15
|
+
*,
|
|
16
|
+
page: Union[Unset, int] = UNSET,
|
|
17
|
+
page_size: Union[Unset, int] = UNSET,
|
|
18
|
+
) -> dict[str, Any]:
|
|
19
|
+
params: dict[str, Any] = {}
|
|
20
|
+
|
|
21
|
+
params["page"] = page
|
|
22
|
+
|
|
23
|
+
params["page_size"] = page_size
|
|
24
|
+
|
|
25
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
26
|
+
|
|
27
|
+
_kwargs: dict[str, Any] = {
|
|
28
|
+
"method": "get",
|
|
29
|
+
"url": f"/api/marketplace-service-providers/{service_provider_uuid}/compliance/compliance_overview/",
|
|
30
|
+
"params": params,
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return _kwargs
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def _parse_response(
|
|
37
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
38
|
+
) -> list["ServiceProviderComplianceOverview"]:
|
|
39
|
+
if response.status_code == 200:
|
|
40
|
+
response_200 = []
|
|
41
|
+
_response_200 = response.json()
|
|
42
|
+
for response_200_item_data in _response_200:
|
|
43
|
+
response_200_item = ServiceProviderComplianceOverview.from_dict(response_200_item_data)
|
|
44
|
+
|
|
45
|
+
response_200.append(response_200_item)
|
|
46
|
+
|
|
47
|
+
return response_200
|
|
48
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def _build_response(
|
|
52
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
53
|
+
) -> Response[list["ServiceProviderComplianceOverview"]]:
|
|
54
|
+
return Response(
|
|
55
|
+
status_code=HTTPStatus(response.status_code),
|
|
56
|
+
content=response.content,
|
|
57
|
+
headers=response.headers,
|
|
58
|
+
parsed=_parse_response(client=client, response=response),
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def sync_detailed(
|
|
63
|
+
service_provider_uuid: UUID,
|
|
64
|
+
*,
|
|
65
|
+
client: AuthenticatedClient,
|
|
66
|
+
page: Union[Unset, int] = UNSET,
|
|
67
|
+
page_size: Union[Unset, int] = UNSET,
|
|
68
|
+
) -> Response[list["ServiceProviderComplianceOverview"]]:
|
|
69
|
+
"""Get compliance overview statistics for all offerings managed by this service provider.
|
|
70
|
+
|
|
71
|
+
Args:
|
|
72
|
+
service_provider_uuid (UUID):
|
|
73
|
+
page (Union[Unset, int]):
|
|
74
|
+
page_size (Union[Unset, int]):
|
|
75
|
+
|
|
76
|
+
Raises:
|
|
77
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
78
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
79
|
+
|
|
80
|
+
Returns:
|
|
81
|
+
Response[list['ServiceProviderComplianceOverview']]
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
kwargs = _get_kwargs(
|
|
85
|
+
service_provider_uuid=service_provider_uuid,
|
|
86
|
+
page=page,
|
|
87
|
+
page_size=page_size,
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
response = client.get_httpx_client().request(
|
|
91
|
+
**kwargs,
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
return _build_response(client=client, response=response)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def sync(
|
|
98
|
+
service_provider_uuid: UUID,
|
|
99
|
+
*,
|
|
100
|
+
client: AuthenticatedClient,
|
|
101
|
+
page: Union[Unset, int] = UNSET,
|
|
102
|
+
page_size: Union[Unset, int] = UNSET,
|
|
103
|
+
) -> list["ServiceProviderComplianceOverview"]:
|
|
104
|
+
"""Get compliance overview statistics for all offerings managed by this service provider.
|
|
105
|
+
|
|
106
|
+
Args:
|
|
107
|
+
service_provider_uuid (UUID):
|
|
108
|
+
page (Union[Unset, int]):
|
|
109
|
+
page_size (Union[Unset, int]):
|
|
110
|
+
|
|
111
|
+
Raises:
|
|
112
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
113
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
114
|
+
|
|
115
|
+
Returns:
|
|
116
|
+
list['ServiceProviderComplianceOverview']
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
return sync_detailed(
|
|
120
|
+
service_provider_uuid=service_provider_uuid,
|
|
121
|
+
client=client,
|
|
122
|
+
page=page,
|
|
123
|
+
page_size=page_size,
|
|
124
|
+
).parsed
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
async def asyncio_detailed(
|
|
128
|
+
service_provider_uuid: UUID,
|
|
129
|
+
*,
|
|
130
|
+
client: AuthenticatedClient,
|
|
131
|
+
page: Union[Unset, int] = UNSET,
|
|
132
|
+
page_size: Union[Unset, int] = UNSET,
|
|
133
|
+
) -> Response[list["ServiceProviderComplianceOverview"]]:
|
|
134
|
+
"""Get compliance overview statistics for all offerings managed by this service provider.
|
|
135
|
+
|
|
136
|
+
Args:
|
|
137
|
+
service_provider_uuid (UUID):
|
|
138
|
+
page (Union[Unset, int]):
|
|
139
|
+
page_size (Union[Unset, int]):
|
|
140
|
+
|
|
141
|
+
Raises:
|
|
142
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
143
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
144
|
+
|
|
145
|
+
Returns:
|
|
146
|
+
Response[list['ServiceProviderComplianceOverview']]
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
kwargs = _get_kwargs(
|
|
150
|
+
service_provider_uuid=service_provider_uuid,
|
|
151
|
+
page=page,
|
|
152
|
+
page_size=page_size,
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
156
|
+
|
|
157
|
+
return _build_response(client=client, response=response)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
async def asyncio(
|
|
161
|
+
service_provider_uuid: UUID,
|
|
162
|
+
*,
|
|
163
|
+
client: AuthenticatedClient,
|
|
164
|
+
page: Union[Unset, int] = UNSET,
|
|
165
|
+
page_size: Union[Unset, int] = UNSET,
|
|
166
|
+
) -> list["ServiceProviderComplianceOverview"]:
|
|
167
|
+
"""Get compliance overview statistics for all offerings managed by this service provider.
|
|
168
|
+
|
|
169
|
+
Args:
|
|
170
|
+
service_provider_uuid (UUID):
|
|
171
|
+
page (Union[Unset, int]):
|
|
172
|
+
page_size (Union[Unset, int]):
|
|
173
|
+
|
|
174
|
+
Raises:
|
|
175
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
176
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
177
|
+
|
|
178
|
+
Returns:
|
|
179
|
+
list['ServiceProviderComplianceOverview']
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
return (
|
|
183
|
+
await asyncio_detailed(
|
|
184
|
+
service_provider_uuid=service_provider_uuid,
|
|
185
|
+
client=client,
|
|
186
|
+
page=page,
|
|
187
|
+
page_size=page_size,
|
|
188
|
+
)
|
|
189
|
+
).parsed
|
waldur_api_client/api/marketplace_service_providers/service_provider_offering_users_compliance.py
ADDED
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.service_provider_offering_user_compliance import ServiceProviderOfferingUserCompliance
|
|
10
|
+
from ...types import UNSET, Response, Unset
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
service_provider_uuid: UUID,
|
|
15
|
+
*,
|
|
16
|
+
compliance_status: Union[Unset, str] = UNSET,
|
|
17
|
+
offering_uuid: Union[Unset, UUID] = UNSET,
|
|
18
|
+
page: Union[Unset, int] = UNSET,
|
|
19
|
+
page_size: Union[Unset, int] = UNSET,
|
|
20
|
+
) -> dict[str, Any]:
|
|
21
|
+
params: dict[str, Any] = {}
|
|
22
|
+
|
|
23
|
+
params["compliance_status"] = compliance_status
|
|
24
|
+
|
|
25
|
+
json_offering_uuid: Union[Unset, str] = UNSET
|
|
26
|
+
if not isinstance(offering_uuid, Unset):
|
|
27
|
+
json_offering_uuid = str(offering_uuid)
|
|
28
|
+
params["offering_uuid"] = json_offering_uuid
|
|
29
|
+
|
|
30
|
+
params["page"] = page
|
|
31
|
+
|
|
32
|
+
params["page_size"] = page_size
|
|
33
|
+
|
|
34
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
35
|
+
|
|
36
|
+
_kwargs: dict[str, Any] = {
|
|
37
|
+
"method": "get",
|
|
38
|
+
"url": f"/api/marketplace-service-providers/{service_provider_uuid}/compliance/offering_users/",
|
|
39
|
+
"params": params,
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return _kwargs
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _parse_response(
|
|
46
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
47
|
+
) -> list["ServiceProviderOfferingUserCompliance"]:
|
|
48
|
+
if response.status_code == 200:
|
|
49
|
+
response_200 = []
|
|
50
|
+
_response_200 = response.json()
|
|
51
|
+
for response_200_item_data in _response_200:
|
|
52
|
+
response_200_item = ServiceProviderOfferingUserCompliance.from_dict(response_200_item_data)
|
|
53
|
+
|
|
54
|
+
response_200.append(response_200_item)
|
|
55
|
+
|
|
56
|
+
return response_200
|
|
57
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def _build_response(
|
|
61
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
62
|
+
) -> Response[list["ServiceProviderOfferingUserCompliance"]]:
|
|
63
|
+
return Response(
|
|
64
|
+
status_code=HTTPStatus(response.status_code),
|
|
65
|
+
content=response.content,
|
|
66
|
+
headers=response.headers,
|
|
67
|
+
parsed=_parse_response(client=client, response=response),
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def sync_detailed(
|
|
72
|
+
service_provider_uuid: UUID,
|
|
73
|
+
*,
|
|
74
|
+
client: AuthenticatedClient,
|
|
75
|
+
compliance_status: Union[Unset, str] = UNSET,
|
|
76
|
+
offering_uuid: Union[Unset, UUID] = UNSET,
|
|
77
|
+
page: Union[Unset, int] = UNSET,
|
|
78
|
+
page_size: Union[Unset, int] = UNSET,
|
|
79
|
+
) -> Response[list["ServiceProviderOfferingUserCompliance"]]:
|
|
80
|
+
"""List offering users with their compliance status for this service provider.
|
|
81
|
+
|
|
82
|
+
Args:
|
|
83
|
+
service_provider_uuid (UUID):
|
|
84
|
+
compliance_status (Union[Unset, str]):
|
|
85
|
+
offering_uuid (Union[Unset, UUID]):
|
|
86
|
+
page (Union[Unset, int]):
|
|
87
|
+
page_size (Union[Unset, int]):
|
|
88
|
+
|
|
89
|
+
Raises:
|
|
90
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
91
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
92
|
+
|
|
93
|
+
Returns:
|
|
94
|
+
Response[list['ServiceProviderOfferingUserCompliance']]
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
kwargs = _get_kwargs(
|
|
98
|
+
service_provider_uuid=service_provider_uuid,
|
|
99
|
+
compliance_status=compliance_status,
|
|
100
|
+
offering_uuid=offering_uuid,
|
|
101
|
+
page=page,
|
|
102
|
+
page_size=page_size,
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
response = client.get_httpx_client().request(
|
|
106
|
+
**kwargs,
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
return _build_response(client=client, response=response)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def sync(
|
|
113
|
+
service_provider_uuid: UUID,
|
|
114
|
+
*,
|
|
115
|
+
client: AuthenticatedClient,
|
|
116
|
+
compliance_status: Union[Unset, str] = UNSET,
|
|
117
|
+
offering_uuid: Union[Unset, UUID] = UNSET,
|
|
118
|
+
page: Union[Unset, int] = UNSET,
|
|
119
|
+
page_size: Union[Unset, int] = UNSET,
|
|
120
|
+
) -> list["ServiceProviderOfferingUserCompliance"]:
|
|
121
|
+
"""List offering users with their compliance status for this service provider.
|
|
122
|
+
|
|
123
|
+
Args:
|
|
124
|
+
service_provider_uuid (UUID):
|
|
125
|
+
compliance_status (Union[Unset, str]):
|
|
126
|
+
offering_uuid (Union[Unset, UUID]):
|
|
127
|
+
page (Union[Unset, int]):
|
|
128
|
+
page_size (Union[Unset, int]):
|
|
129
|
+
|
|
130
|
+
Raises:
|
|
131
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
132
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
133
|
+
|
|
134
|
+
Returns:
|
|
135
|
+
list['ServiceProviderOfferingUserCompliance']
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
return sync_detailed(
|
|
139
|
+
service_provider_uuid=service_provider_uuid,
|
|
140
|
+
client=client,
|
|
141
|
+
compliance_status=compliance_status,
|
|
142
|
+
offering_uuid=offering_uuid,
|
|
143
|
+
page=page,
|
|
144
|
+
page_size=page_size,
|
|
145
|
+
).parsed
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
async def asyncio_detailed(
|
|
149
|
+
service_provider_uuid: UUID,
|
|
150
|
+
*,
|
|
151
|
+
client: AuthenticatedClient,
|
|
152
|
+
compliance_status: Union[Unset, str] = UNSET,
|
|
153
|
+
offering_uuid: Union[Unset, UUID] = UNSET,
|
|
154
|
+
page: Union[Unset, int] = UNSET,
|
|
155
|
+
page_size: Union[Unset, int] = UNSET,
|
|
156
|
+
) -> Response[list["ServiceProviderOfferingUserCompliance"]]:
|
|
157
|
+
"""List offering users with their compliance status for this service provider.
|
|
158
|
+
|
|
159
|
+
Args:
|
|
160
|
+
service_provider_uuid (UUID):
|
|
161
|
+
compliance_status (Union[Unset, str]):
|
|
162
|
+
offering_uuid (Union[Unset, UUID]):
|
|
163
|
+
page (Union[Unset, int]):
|
|
164
|
+
page_size (Union[Unset, int]):
|
|
165
|
+
|
|
166
|
+
Raises:
|
|
167
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
168
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
169
|
+
|
|
170
|
+
Returns:
|
|
171
|
+
Response[list['ServiceProviderOfferingUserCompliance']]
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
kwargs = _get_kwargs(
|
|
175
|
+
service_provider_uuid=service_provider_uuid,
|
|
176
|
+
compliance_status=compliance_status,
|
|
177
|
+
offering_uuid=offering_uuid,
|
|
178
|
+
page=page,
|
|
179
|
+
page_size=page_size,
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
183
|
+
|
|
184
|
+
return _build_response(client=client, response=response)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
async def asyncio(
|
|
188
|
+
service_provider_uuid: UUID,
|
|
189
|
+
*,
|
|
190
|
+
client: AuthenticatedClient,
|
|
191
|
+
compliance_status: Union[Unset, str] = UNSET,
|
|
192
|
+
offering_uuid: Union[Unset, UUID] = UNSET,
|
|
193
|
+
page: Union[Unset, int] = UNSET,
|
|
194
|
+
page_size: Union[Unset, int] = UNSET,
|
|
195
|
+
) -> list["ServiceProviderOfferingUserCompliance"]:
|
|
196
|
+
"""List offering users with their compliance status for this service provider.
|
|
197
|
+
|
|
198
|
+
Args:
|
|
199
|
+
service_provider_uuid (UUID):
|
|
200
|
+
compliance_status (Union[Unset, str]):
|
|
201
|
+
offering_uuid (Union[Unset, UUID]):
|
|
202
|
+
page (Union[Unset, int]):
|
|
203
|
+
page_size (Union[Unset, int]):
|
|
204
|
+
|
|
205
|
+
Raises:
|
|
206
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
207
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
208
|
+
|
|
209
|
+
Returns:
|
|
210
|
+
list['ServiceProviderOfferingUserCompliance']
|
|
211
|
+
"""
|
|
212
|
+
|
|
213
|
+
return (
|
|
214
|
+
await asyncio_detailed(
|
|
215
|
+
service_provider_uuid=service_provider_uuid,
|
|
216
|
+
client=client,
|
|
217
|
+
compliance_status=compliance_status,
|
|
218
|
+
offering_uuid=offering_uuid,
|
|
219
|
+
page=page,
|
|
220
|
+
page_size=page_size,
|
|
221
|
+
)
|
|
222
|
+
).parsed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains endpoint functions for accessing the API"""
|