qi-compute-api-client 0.32.0__py3-none-any.whl → 0.33.0__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 qi-compute-api-client might be problematic. Click here for more details.

Files changed (130) hide show
  1. compute_api_client/__init__.py +19 -1
  2. compute_api_client/api/algorithms_api.py +76 -75
  3. compute_api_client/api/backend_api.py +78 -75
  4. compute_api_client/api/backend_types_api.py +78 -75
  5. compute_api_client/api/batch_jobs_api.py +77 -74
  6. compute_api_client/api/commits_api.py +78 -75
  7. compute_api_client/api/files_api.py +78 -75
  8. compute_api_client/api/final_results_api.py +1 -1
  9. compute_api_client/api/jobs_api.py +78 -75
  10. compute_api_client/api/languages_api.py +76 -73
  11. compute_api_client/api/members_api.py +78 -75
  12. compute_api_client/api/metadata_api.py +79 -8
  13. compute_api_client/api/permissions_api.py +146 -142
  14. compute_api_client/api/projects_api.py +76 -75
  15. compute_api_client/api/reservations_api.py +78 -75
  16. compute_api_client/api/results_api.py +151 -80
  17. compute_api_client/api/teams_api.py +78 -75
  18. compute_api_client/api/transactions_api.py +78 -75
  19. compute_api_client/api/users_api.py +78 -75
  20. compute_api_client/api_client.py +1 -1
  21. compute_api_client/configuration.py +1 -1
  22. compute_api_client/docs/AlgorithmsApi.md +12 -12
  23. compute_api_client/docs/BackendApi.md +12 -12
  24. compute_api_client/docs/BackendTypesApi.md +12 -12
  25. compute_api_client/docs/BatchJobsApi.md +12 -12
  26. compute_api_client/docs/CommitsApi.md +12 -12
  27. compute_api_client/docs/FilesApi.md +12 -12
  28. compute_api_client/docs/JobsApi.md +12 -12
  29. compute_api_client/docs/LanguagesApi.md +12 -12
  30. compute_api_client/docs/MembersApi.md +12 -12
  31. compute_api_client/docs/MetadataApi.md +12 -4
  32. compute_api_client/docs/PageAlgorithm.md +32 -0
  33. compute_api_client/docs/PageBackend.md +32 -0
  34. compute_api_client/docs/PageBackendType.md +32 -0
  35. compute_api_client/docs/PageBatchJob.md +32 -0
  36. compute_api_client/docs/PageCommit.md +32 -0
  37. compute_api_client/docs/PageFile.md +32 -0
  38. compute_api_client/docs/PageJob.md +32 -0
  39. compute_api_client/docs/PageLanguage.md +32 -0
  40. compute_api_client/docs/PageMember.md +32 -0
  41. compute_api_client/docs/PageMetadata.md +32 -0
  42. compute_api_client/docs/PagePermission.md +32 -0
  43. compute_api_client/docs/PagePermissionGroup.md +32 -0
  44. compute_api_client/docs/PageProject.md +32 -0
  45. compute_api_client/docs/PageReservation.md +32 -0
  46. compute_api_client/docs/PageResult.md +32 -0
  47. compute_api_client/docs/PageTeam.md +32 -0
  48. compute_api_client/docs/PageTransaction.md +32 -0
  49. compute_api_client/docs/PageUser.md +32 -0
  50. compute_api_client/docs/PermissionsApi.md +24 -24
  51. compute_api_client/docs/ProjectsApi.md +12 -12
  52. compute_api_client/docs/ReservationsApi.md +12 -12
  53. compute_api_client/docs/ResultsApi.md +24 -16
  54. compute_api_client/docs/TeamsApi.md +12 -12
  55. compute_api_client/docs/TransactionsApi.md +12 -12
  56. compute_api_client/docs/UsersApi.md +12 -12
  57. compute_api_client/exceptions.py +1 -1
  58. compute_api_client/models/__init__.py +19 -1
  59. compute_api_client/models/algorithm.py +1 -1
  60. compute_api_client/models/algorithm_in.py +1 -1
  61. compute_api_client/models/algorithm_type.py +1 -1
  62. compute_api_client/models/backend.py +1 -1
  63. compute_api_client/models/backend_in.py +1 -1
  64. compute_api_client/models/backend_patch.py +1 -1
  65. compute_api_client/models/backend_status.py +1 -1
  66. compute_api_client/models/backend_type.py +1 -1
  67. compute_api_client/models/backend_with_authentication.py +1 -1
  68. compute_api_client/models/batch_job.py +1 -1
  69. compute_api_client/models/batch_job_in.py +1 -1
  70. compute_api_client/models/batch_job_status.py +1 -1
  71. compute_api_client/models/commit.py +1 -1
  72. compute_api_client/models/commit_in.py +1 -1
  73. compute_api_client/models/compile_stage.py +1 -1
  74. compute_api_client/models/domain.py +1 -1
  75. compute_api_client/models/file.py +1 -1
  76. compute_api_client/models/file_in.py +1 -1
  77. compute_api_client/models/final_result.py +1 -1
  78. compute_api_client/models/final_result_in.py +1 -1
  79. compute_api_client/models/http_not_found_error.py +1 -1
  80. compute_api_client/models/http_validation_error.py +1 -1
  81. compute_api_client/models/job.py +1 -1
  82. compute_api_client/models/job_in.py +1 -1
  83. compute_api_client/models/job_patch.py +1 -1
  84. compute_api_client/models/job_status.py +1 -1
  85. compute_api_client/models/language.py +1 -1
  86. compute_api_client/models/location_inner.py +1 -1
  87. compute_api_client/models/member.py +1 -1
  88. compute_api_client/models/member_in.py +1 -1
  89. compute_api_client/models/metadata.py +1 -1
  90. compute_api_client/models/metadata_in.py +1 -1
  91. compute_api_client/models/page_algorithm.py +125 -0
  92. compute_api_client/models/page_backend.py +125 -0
  93. compute_api_client/models/page_backend_type.py +125 -0
  94. compute_api_client/models/page_batch_job.py +125 -0
  95. compute_api_client/models/page_commit.py +125 -0
  96. compute_api_client/models/page_file.py +125 -0
  97. compute_api_client/models/page_job.py +125 -0
  98. compute_api_client/models/page_language.py +125 -0
  99. compute_api_client/models/page_member.py +125 -0
  100. compute_api_client/models/page_metadata.py +125 -0
  101. compute_api_client/models/page_permission.py +125 -0
  102. compute_api_client/models/page_permission_group.py +125 -0
  103. compute_api_client/models/page_project.py +125 -0
  104. compute_api_client/models/page_reservation.py +125 -0
  105. compute_api_client/models/page_result.py +125 -0
  106. compute_api_client/models/page_team.py +125 -0
  107. compute_api_client/models/page_transaction.py +125 -0
  108. compute_api_client/models/page_user.py +125 -0
  109. compute_api_client/models/permission.py +1 -1
  110. compute_api_client/models/permission_group.py +1 -1
  111. compute_api_client/models/project.py +1 -1
  112. compute_api_client/models/project_in.py +1 -1
  113. compute_api_client/models/project_patch.py +1 -1
  114. compute_api_client/models/reservation.py +1 -1
  115. compute_api_client/models/reservation_in.py +1 -1
  116. compute_api_client/models/result.py +1 -1
  117. compute_api_client/models/result_in.py +1 -1
  118. compute_api_client/models/role.py +1 -1
  119. compute_api_client/models/share_type.py +1 -1
  120. compute_api_client/models/team.py +1 -1
  121. compute_api_client/models/transaction.py +1 -1
  122. compute_api_client/models/user.py +1 -1
  123. compute_api_client/models/user_in.py +1 -1
  124. compute_api_client/models/validation_error.py +1 -1
  125. compute_api_client/rest.py +1 -1
  126. {qi_compute_api_client-0.32.0.dist-info → qi_compute_api_client-0.33.0.dist-info}/METADATA +20 -2
  127. qi_compute_api_client-0.33.0.dist-info/RECORD +180 -0
  128. qi_compute_api_client-0.32.0.dist-info/RECORD +0 -144
  129. {qi_compute_api_client-0.32.0.dist-info → qi_compute_api_client-0.33.0.dist-info}/LICENSE.md +0 -0
  130. {qi_compute_api_client-0.32.0.dist-info → qi_compute_api_client-0.33.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,32 @@
1
+ # PageMember
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[Member]**](Member.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_member import PageMember
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PageMember from a JSON string
21
+ page_member_instance = PageMember.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PageMember.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_member_dict = page_member_instance.to_dict()
27
+ # create an instance of PageMember from a dict
28
+ page_member_form_dict = page_member.from_dict(page_member_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PageMetadata
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[Metadata]**](Metadata.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_metadata import PageMetadata
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PageMetadata from a JSON string
21
+ page_metadata_instance = PageMetadata.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PageMetadata.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_metadata_dict = page_metadata_instance.to_dict()
27
+ # create an instance of PageMetadata from a dict
28
+ page_metadata_form_dict = page_metadata.from_dict(page_metadata_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PagePermission
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[Permission]**](Permission.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_permission import PagePermission
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PagePermission from a JSON string
21
+ page_permission_instance = PagePermission.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PagePermission.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_permission_dict = page_permission_instance.to_dict()
27
+ # create an instance of PagePermission from a dict
28
+ page_permission_form_dict = page_permission.from_dict(page_permission_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PagePermissionGroup
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[PermissionGroup]**](PermissionGroup.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_permission_group import PagePermissionGroup
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PagePermissionGroup from a JSON string
21
+ page_permission_group_instance = PagePermissionGroup.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PagePermissionGroup.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_permission_group_dict = page_permission_group_instance.to_dict()
27
+ # create an instance of PagePermissionGroup from a dict
28
+ page_permission_group_form_dict = page_permission_group.from_dict(page_permission_group_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PageProject
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[Project]**](Project.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_project import PageProject
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PageProject from a JSON string
21
+ page_project_instance = PageProject.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PageProject.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_project_dict = page_project_instance.to_dict()
27
+ # create an instance of PageProject from a dict
28
+ page_project_form_dict = page_project.from_dict(page_project_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PageReservation
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[Reservation]**](Reservation.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_reservation import PageReservation
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PageReservation from a JSON string
21
+ page_reservation_instance = PageReservation.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PageReservation.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_reservation_dict = page_reservation_instance.to_dict()
27
+ # create an instance of PageReservation from a dict
28
+ page_reservation_form_dict = page_reservation.from_dict(page_reservation_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PageResult
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[Result]**](Result.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_result import PageResult
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PageResult from a JSON string
21
+ page_result_instance = PageResult.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PageResult.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_result_dict = page_result_instance.to_dict()
27
+ # create an instance of PageResult from a dict
28
+ page_result_form_dict = page_result.from_dict(page_result_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PageTeam
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[Team]**](Team.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_team import PageTeam
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PageTeam from a JSON string
21
+ page_team_instance = PageTeam.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PageTeam.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_team_dict = page_team_instance.to_dict()
27
+ # create an instance of PageTeam from a dict
28
+ page_team_form_dict = page_team.from_dict(page_team_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PageTransaction
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[Transaction]**](Transaction.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_transaction import PageTransaction
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PageTransaction from a JSON string
21
+ page_transaction_instance = PageTransaction.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PageTransaction.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_transaction_dict = page_transaction_instance.to_dict()
27
+ # create an instance of PageTransaction from a dict
28
+ page_transaction_form_dict = page_transaction.from_dict(page_transaction_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,32 @@
1
+ # PageUser
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **items** | [**List[User]**](User.md) | |
8
+ **total** | **int** | |
9
+ **page** | **int** | |
10
+ **size** | **int** | |
11
+ **pages** | **int** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.page_user import PageUser
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of PageUser from a JSON string
21
+ page_user_instance = PageUser.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print PageUser.to_json()
24
+
25
+ # convert the object into a dict
26
+ page_user_dict = page_user_instance.to_dict()
27
+ # create an instance of PageUser from a dict
28
+ page_user_form_dict = page_user.from_dict(page_user_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+
@@ -87,7 +87,7 @@ Name | Type | Description | Notes
87
87
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
88
88
 
89
89
  # **read_permission_groups_permission_groups_get**
90
- > List[PermissionGroup] read_permission_groups_permission_groups_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, name=name)
90
+ > PagePermissionGroup read_permission_groups_permission_groups_get(id=id, name=name, sort_by=sort_by, latest=latest, page=page, size=size)
91
91
 
92
92
  List permission groups
93
93
 
@@ -100,7 +100,7 @@ Read permissions groups.
100
100
  import time
101
101
  import os
102
102
  import compute_api_client
103
- from compute_api_client.models.permission_group import PermissionGroup
103
+ from compute_api_client.models.page_permission_group import PagePermissionGroup
104
104
  from compute_api_client.rest import ApiException
105
105
  from pprint import pprint
106
106
 
@@ -121,16 +121,16 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
121
121
  async with compute_api_client.ApiClient(configuration) as api_client:
122
122
  # Create an instance of the API class
123
123
  api_instance = compute_api_client.PermissionsApi(api_client)
124
- latest = True # bool | (optional)
125
- sort_by = 'sort_by_example' # str | (optional)
126
- page_number = 56 # int | (optional)
127
- items_per_page = 56 # int | (optional)
128
124
  id = 56 # int | (optional)
129
125
  name = 'name_example' # str | (optional)
126
+ sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
127
+ latest = True # bool | If True gets the most recently created object. (optional)
128
+ page = 1 # int | Page number (optional) (default to 1)
129
+ size = 50 # int | Page size (optional) (default to 50)
130
130
 
131
131
  try:
132
132
  # List permission groups
133
- api_response = await api_instance.read_permission_groups_permission_groups_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, name=name)
133
+ api_response = await api_instance.read_permission_groups_permission_groups_get(id=id, name=name, sort_by=sort_by, latest=latest, page=page, size=size)
134
134
  print("The response of PermissionsApi->read_permission_groups_permission_groups_get:\n")
135
135
  pprint(api_response)
136
136
  except Exception as e:
@@ -143,16 +143,16 @@ async with compute_api_client.ApiClient(configuration) as api_client:
143
143
 
144
144
  Name | Type | Description | Notes
145
145
  ------------- | ------------- | ------------- | -------------
146
- **latest** | **bool**| | [optional]
147
- **sort_by** | **str**| | [optional]
148
- **page_number** | **int**| | [optional]
149
- **items_per_page** | **int**| | [optional]
150
146
  **id** | **int**| | [optional]
151
147
  **name** | **str**| | [optional]
148
+ **sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
149
+ **latest** | **bool**| If True gets the most recently created object. | [optional]
150
+ **page** | **int**| Page number | [optional] [default to 1]
151
+ **size** | **int**| Page size | [optional] [default to 50]
152
152
 
153
153
  ### Return type
154
154
 
155
- [**List[PermissionGroup]**](PermissionGroup.md)
155
+ [**PagePermissionGroup**](PagePermissionGroup.md)
156
156
 
157
157
  ### Authorization
158
158
 
@@ -248,7 +248,7 @@ Name | Type | Description | Notes
248
248
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
249
249
 
250
250
  # **read_permissions_permissions_get**
251
- > List[Permission] read_permissions_permissions_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, permission=permission, name=name)
251
+ > PagePermission read_permissions_permissions_get(id=id, permission=permission, name=name, sort_by=sort_by, latest=latest, page=page, size=size)
252
252
 
253
253
  List permissions
254
254
 
@@ -261,7 +261,7 @@ Read permissions.
261
261
  import time
262
262
  import os
263
263
  import compute_api_client
264
- from compute_api_client.models.permission import Permission
264
+ from compute_api_client.models.page_permission import PagePermission
265
265
  from compute_api_client.rest import ApiException
266
266
  from pprint import pprint
267
267
 
@@ -282,17 +282,17 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
282
282
  async with compute_api_client.ApiClient(configuration) as api_client:
283
283
  # Create an instance of the API class
284
284
  api_instance = compute_api_client.PermissionsApi(api_client)
285
- latest = True # bool | (optional)
286
- sort_by = 'sort_by_example' # str | (optional)
287
- page_number = 56 # int | (optional)
288
- items_per_page = 56 # int | (optional)
289
285
  id = 56 # int | (optional)
290
286
  permission = 'permission_example' # str | (optional)
291
287
  name = 'name_example' # str | (optional)
288
+ sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
289
+ latest = True # bool | If True gets the most recently created object. (optional)
290
+ page = 1 # int | Page number (optional) (default to 1)
291
+ size = 50 # int | Page size (optional) (default to 50)
292
292
 
293
293
  try:
294
294
  # List permissions
295
- api_response = await api_instance.read_permissions_permissions_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, permission=permission, name=name)
295
+ api_response = await api_instance.read_permissions_permissions_get(id=id, permission=permission, name=name, sort_by=sort_by, latest=latest, page=page, size=size)
296
296
  print("The response of PermissionsApi->read_permissions_permissions_get:\n")
297
297
  pprint(api_response)
298
298
  except Exception as e:
@@ -305,17 +305,17 @@ async with compute_api_client.ApiClient(configuration) as api_client:
305
305
 
306
306
  Name | Type | Description | Notes
307
307
  ------------- | ------------- | ------------- | -------------
308
- **latest** | **bool**| | [optional]
309
- **sort_by** | **str**| | [optional]
310
- **page_number** | **int**| | [optional]
311
- **items_per_page** | **int**| | [optional]
312
308
  **id** | **int**| | [optional]
313
309
  **permission** | **str**| | [optional]
314
310
  **name** | **str**| | [optional]
311
+ **sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
312
+ **latest** | **bool**| If True gets the most recently created object. | [optional]
313
+ **page** | **int**| Page number | [optional] [default to 1]
314
+ **size** | **int**| Page size | [optional] [default to 50]
315
315
 
316
316
  ### Return type
317
317
 
318
- [**List[Permission]**](Permission.md)
318
+ [**PagePermission**](PagePermission.md)
319
319
 
320
320
  ### Authorization
321
321
 
@@ -317,7 +317,7 @@ Name | Type | Description | Notes
317
317
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
318
318
 
319
319
  # **read_projects_projects_get**
320
- > List[Project] read_projects_projects_get(search=search, latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, created_on=created_on, owner_id=owner_id, name=name, description=description, starred=starred)
320
+ > PageProject read_projects_projects_get(search=search, id=id, created_on=created_on, owner_id=owner_id, name=name, description=description, starred=starred, sort_by=sort_by, latest=latest, page=page, size=size)
321
321
 
322
322
  List projects
323
323
 
@@ -330,7 +330,7 @@ List projects. If the search parameter is provided, the list is filtered based
330
330
  import time
331
331
  import os
332
332
  import compute_api_client
333
- from compute_api_client.models.project import Project
333
+ from compute_api_client.models.page_project import PageProject
334
334
  from compute_api_client.rest import ApiException
335
335
  from pprint import pprint
336
336
 
@@ -352,20 +352,20 @@ async with compute_api_client.ApiClient(configuration) as api_client:
352
352
  # Create an instance of the API class
353
353
  api_instance = compute_api_client.ProjectsApi(api_client)
354
354
  search = 'search_example' # str | Substring search for project names or description (optional)
355
- latest = True # bool | (optional)
356
- sort_by = 'sort_by_example' # str | (optional)
357
- page_number = 56 # int | (optional)
358
- items_per_page = 56 # int | (optional)
359
355
  id = 56 # int | (optional)
360
356
  created_on = '2013-10-20T19:20:30+01:00' # datetime | (optional)
361
357
  owner_id = 56 # int | (optional)
362
358
  name = 'name_example' # str | (optional)
363
359
  description = 'description_example' # str | (optional)
364
360
  starred = True # bool | (optional)
361
+ sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
362
+ latest = True # bool | If True gets the most recently created object. (optional)
363
+ page = 1 # int | Page number (optional) (default to 1)
364
+ size = 50 # int | Page size (optional) (default to 50)
365
365
 
366
366
  try:
367
367
  # List projects
368
- api_response = await api_instance.read_projects_projects_get(search=search, latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, created_on=created_on, owner_id=owner_id, name=name, description=description, starred=starred)
368
+ api_response = await api_instance.read_projects_projects_get(search=search, id=id, created_on=created_on, owner_id=owner_id, name=name, description=description, starred=starred, sort_by=sort_by, latest=latest, page=page, size=size)
369
369
  print("The response of ProjectsApi->read_projects_projects_get:\n")
370
370
  pprint(api_response)
371
371
  except Exception as e:
@@ -379,20 +379,20 @@ async with compute_api_client.ApiClient(configuration) as api_client:
379
379
  Name | Type | Description | Notes
380
380
  ------------- | ------------- | ------------- | -------------
381
381
  **search** | **str**| Substring search for project names or description | [optional]
382
- **latest** | **bool**| | [optional]
383
- **sort_by** | **str**| | [optional]
384
- **page_number** | **int**| | [optional]
385
- **items_per_page** | **int**| | [optional]
386
382
  **id** | **int**| | [optional]
387
383
  **created_on** | **datetime**| | [optional]
388
384
  **owner_id** | **int**| | [optional]
389
385
  **name** | **str**| | [optional]
390
386
  **description** | **str**| | [optional]
391
387
  **starred** | **bool**| | [optional]
388
+ **sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
389
+ **latest** | **bool**| If True gets the most recently created object. | [optional]
390
+ **page** | **int**| Page number | [optional] [default to 1]
391
+ **size** | **int**| Page size | [optional] [default to 50]
392
392
 
393
393
  ### Return type
394
394
 
395
- [**List[Project]**](Project.md)
395
+ [**PageProject**](PageProject.md)
396
396
 
397
397
  ### Authorization
398
398
 
@@ -163,7 +163,7 @@ Name | Type | Description | Notes
163
163
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
164
164
 
165
165
  # **read_reservations_reservations_get**
166
- > List[Reservation] read_reservations_reservations_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, member_id=member_id, start_time=start_time, end_time=end_time, backend_type_id=backend_type_id, backend_id__isnull=backend_id__isnull, backend_id=backend_id, is_terminated=is_terminated)
166
+ > PageReservation read_reservations_reservations_get(id=id, member_id=member_id, start_time=start_time, end_time=end_time, backend_type_id=backend_type_id, backend_id__isnull=backend_id__isnull, backend_id=backend_id, is_terminated=is_terminated, sort_by=sort_by, latest=latest, page=page, size=size)
167
167
 
168
168
  List reservations
169
169
 
@@ -176,7 +176,7 @@ Read reservations.
176
176
  import time
177
177
  import os
178
178
  import compute_api_client
179
- from compute_api_client.models.reservation import Reservation
179
+ from compute_api_client.models.page_reservation import PageReservation
180
180
  from compute_api_client.rest import ApiException
181
181
  from pprint import pprint
182
182
 
@@ -197,10 +197,6 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
197
197
  async with compute_api_client.ApiClient(configuration) as api_client:
198
198
  # Create an instance of the API class
199
199
  api_instance = compute_api_client.ReservationsApi(api_client)
200
- latest = True # bool | (optional)
201
- sort_by = 'sort_by_example' # str | (optional)
202
- page_number = 56 # int | (optional)
203
- items_per_page = 56 # int | (optional)
204
200
  id = 56 # int | (optional)
205
201
  member_id = 56 # int | (optional)
206
202
  start_time = '2013-10-20T19:20:30+01:00' # datetime | (optional)
@@ -209,10 +205,14 @@ async with compute_api_client.ApiClient(configuration) as api_client:
209
205
  backend_id__isnull = True # bool | (optional)
210
206
  backend_id = 56 # int | (optional)
211
207
  is_terminated = True # bool | (optional)
208
+ sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
209
+ latest = True # bool | If True gets the most recently created object. (optional)
210
+ page = 1 # int | Page number (optional) (default to 1)
211
+ size = 50 # int | Page size (optional) (default to 50)
212
212
 
213
213
  try:
214
214
  # List reservations
215
- api_response = await api_instance.read_reservations_reservations_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, member_id=member_id, start_time=start_time, end_time=end_time, backend_type_id=backend_type_id, backend_id__isnull=backend_id__isnull, backend_id=backend_id, is_terminated=is_terminated)
215
+ api_response = await api_instance.read_reservations_reservations_get(id=id, member_id=member_id, start_time=start_time, end_time=end_time, backend_type_id=backend_type_id, backend_id__isnull=backend_id__isnull, backend_id=backend_id, is_terminated=is_terminated, sort_by=sort_by, latest=latest, page=page, size=size)
216
216
  print("The response of ReservationsApi->read_reservations_reservations_get:\n")
217
217
  pprint(api_response)
218
218
  except Exception as e:
@@ -225,10 +225,6 @@ async with compute_api_client.ApiClient(configuration) as api_client:
225
225
 
226
226
  Name | Type | Description | Notes
227
227
  ------------- | ------------- | ------------- | -------------
228
- **latest** | **bool**| | [optional]
229
- **sort_by** | **str**| | [optional]
230
- **page_number** | **int**| | [optional]
231
- **items_per_page** | **int**| | [optional]
232
228
  **id** | **int**| | [optional]
233
229
  **member_id** | **int**| | [optional]
234
230
  **start_time** | **datetime**| | [optional]
@@ -237,10 +233,14 @@ Name | Type | Description | Notes
237
233
  **backend_id__isnull** | **bool**| | [optional]
238
234
  **backend_id** | **int**| | [optional]
239
235
  **is_terminated** | **bool**| | [optional]
236
+ **sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
237
+ **latest** | **bool**| If True gets the most recently created object. | [optional]
238
+ **page** | **int**| Page number | [optional] [default to 1]
239
+ **size** | **int**| Page size | [optional] [default to 50]
240
240
 
241
241
  ### Return type
242
242
 
243
- [**List[Reservation]**](Reservation.md)
243
+ [**PageReservation**](PageReservation.md)
244
244
 
245
245
  ### Authorization
246
246