qi-compute-api-client 0.17.0__py3-none-any.whl → 0.27.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 (104) hide show
  1. compute_api_client/__init__.py +2 -1
  2. compute_api_client/api/algorithms_api.py +110 -1
  3. compute_api_client/api/backend_api.py +71 -16
  4. compute_api_client/api/backend_types_api.py +106 -1
  5. compute_api_client/api/batch_jobs_api.py +310 -5
  6. compute_api_client/api/commits_api.py +56 -1
  7. compute_api_client/api/files_api.py +56 -1
  8. compute_api_client/api/final_results_api.py +4 -1
  9. compute_api_client/api/jobs_api.py +60 -2
  10. compute_api_client/api/languages_api.py +54 -1
  11. compute_api_client/api/members_api.py +57 -2
  12. compute_api_client/api/metadata_api.py +3 -1
  13. compute_api_client/api/permissions_api.py +107 -1
  14. compute_api_client/api/projects_api.py +80 -4
  15. compute_api_client/api/reservations_api.py +57 -2
  16. compute_api_client/api/results_api.py +268 -7
  17. compute_api_client/api/teams_api.py +54 -1
  18. compute_api_client/api/transactions_api.py +55 -2
  19. compute_api_client/api/users_api.py +73 -1
  20. compute_api_client/api_client.py +1 -1
  21. compute_api_client/configuration.py +8 -1
  22. compute_api_client/docs/Algorithm.md +1 -0
  23. compute_api_client/docs/AlgorithmIn.md +1 -0
  24. compute_api_client/docs/AlgorithmsApi.md +34 -7
  25. compute_api_client/docs/BackendApi.md +25 -10
  26. compute_api_client/docs/BackendIn.md +32 -0
  27. compute_api_client/docs/BackendType.md +3 -0
  28. compute_api_client/docs/BackendTypesApi.md +23 -4
  29. compute_api_client/docs/BatchJobIn.md +0 -1
  30. compute_api_client/docs/BatchJobsApi.md +101 -7
  31. compute_api_client/docs/CommitIn.md +0 -1
  32. compute_api_client/docs/CommitsApi.md +24 -6
  33. compute_api_client/docs/FilesApi.md +24 -6
  34. compute_api_client/docs/FinalResultsApi.md +12 -3
  35. compute_api_client/docs/JobIn.md +0 -1
  36. compute_api_client/docs/JobsApi.md +42 -7
  37. compute_api_client/docs/LanguagesApi.md +16 -4
  38. compute_api_client/docs/MembersApi.md +24 -6
  39. compute_api_client/docs/MetadataApi.md +8 -2
  40. compute_api_client/docs/PermissionsApi.md +32 -8
  41. compute_api_client/docs/ProjectsApi.md +35 -9
  42. compute_api_client/docs/ReservationsApi.md +24 -6
  43. compute_api_client/docs/ResultsApi.md +90 -6
  44. compute_api_client/docs/TeamsApi.md +16 -4
  45. compute_api_client/docs/TransactionsApi.md +16 -4
  46. compute_api_client/docs/User.md +1 -0
  47. compute_api_client/docs/UserIn.md +1 -0
  48. compute_api_client/docs/UsersApi.md +26 -6
  49. compute_api_client/exceptions.py +1 -1
  50. compute_api_client/models/__init__.py +2 -1
  51. compute_api_client/models/algorithm.py +10 -3
  52. compute_api_client/models/algorithm_in.py +10 -3
  53. compute_api_client/models/algorithm_type.py +1 -1
  54. compute_api_client/models/backend.py +1 -1
  55. compute_api_client/models/backend_in.py +98 -0
  56. compute_api_client/models/backend_patch.py +1 -1
  57. compute_api_client/models/backend_status.py +1 -1
  58. compute_api_client/models/backend_type.py +10 -3
  59. compute_api_client/models/backend_with_authentication.py +1 -1
  60. compute_api_client/models/batch_job.py +1 -1
  61. compute_api_client/models/batch_job_in.py +2 -4
  62. compute_api_client/models/batch_job_status.py +1 -1
  63. compute_api_client/models/commit.py +1 -1
  64. compute_api_client/models/commit_in.py +2 -6
  65. compute_api_client/models/compile_stage.py +1 -1
  66. compute_api_client/models/domain.py +1 -1
  67. compute_api_client/models/file.py +1 -1
  68. compute_api_client/models/file_in.py +1 -1
  69. compute_api_client/models/final_result.py +1 -1
  70. compute_api_client/models/final_result_in.py +1 -1
  71. compute_api_client/models/http_not_found_error.py +1 -1
  72. compute_api_client/models/http_validation_error.py +1 -1
  73. compute_api_client/models/job.py +1 -1
  74. compute_api_client/models/job_in.py +2 -5
  75. compute_api_client/models/job_patch.py +1 -1
  76. compute_api_client/models/job_status.py +1 -1
  77. compute_api_client/models/language.py +1 -1
  78. compute_api_client/models/location_inner.py +1 -1
  79. compute_api_client/models/member.py +1 -1
  80. compute_api_client/models/member_in.py +1 -1
  81. compute_api_client/models/metadata.py +1 -1
  82. compute_api_client/models/metadata_in.py +1 -1
  83. compute_api_client/models/permission.py +1 -1
  84. compute_api_client/models/permission_group.py +1 -1
  85. compute_api_client/models/project.py +1 -1
  86. compute_api_client/models/project_in.py +1 -1
  87. compute_api_client/models/project_patch.py +1 -1
  88. compute_api_client/models/reservation.py +1 -1
  89. compute_api_client/models/reservation_in.py +1 -1
  90. compute_api_client/models/result.py +1 -1
  91. compute_api_client/models/result_in.py +1 -1
  92. compute_api_client/models/role.py +1 -1
  93. compute_api_client/models/share_type.py +1 -1
  94. compute_api_client/models/team.py +1 -1
  95. compute_api_client/models/transaction.py +1 -1
  96. compute_api_client/models/user.py +5 -3
  97. compute_api_client/models/user_in.py +5 -3
  98. compute_api_client/models/validation_error.py +1 -1
  99. compute_api_client/rest.py +1 -1
  100. {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/METADATA +17 -5
  101. qi_compute_api_client-0.27.0.dist-info/RECORD +144 -0
  102. qi_compute_api_client-0.17.0.dist-info/RECORD +0 -142
  103. {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/LICENSE.md +0 -0
  104. {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/WHEEL +0 -0
@@ -5,7 +5,7 @@
5
5
  """
6
6
  Quantum Inspire 2
7
7
 
8
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
8
+ **Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
9
9
 
10
10
  The version of the OpenAPI document: 0.1.0
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -52,6 +52,7 @@ from compute_api_client.models.algorithm import Algorithm
52
52
  from compute_api_client.models.algorithm_in import AlgorithmIn
53
53
  from compute_api_client.models.algorithm_type import AlgorithmType
54
54
  from compute_api_client.models.backend import Backend
55
+ from compute_api_client.models.backend_in import BackendIn
55
56
  from compute_api_client.models.backend_patch import BackendPatch
56
57
  from compute_api_client.models.backend_status import BackendStatus
57
58
  from compute_api_client.models.backend_type import BackendType
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Quantum Inspire 2
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ **Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
7
7
 
8
8
  The version of the OpenAPI document: 0.1.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -23,6 +23,8 @@ try:
23
23
  except ImportError:
24
24
  from typing_extensions import Annotated
25
25
 
26
+ from pydantic import Field
27
+ from typing_extensions import Annotated
26
28
  from pydantic import StrictBool, StrictInt, StrictStr
27
29
 
28
30
  from typing import List, Optional
@@ -307,6 +309,7 @@ class AlgorithmsApi:
307
309
 
308
310
  # authentication setting
309
311
  _auth_settings: List[str] = [
312
+ 'user_bearer',
310
313
  'user'
311
314
  ]
312
315
 
@@ -566,6 +569,7 @@ class AlgorithmsApi:
566
569
 
567
570
  # authentication setting
568
571
  _auth_settings: List[str] = [
572
+ 'user_bearer',
569
573
  'user'
570
574
  ]
571
575
 
@@ -834,6 +838,7 @@ class AlgorithmsApi:
834
838
 
835
839
  # authentication setting
836
840
  _auth_settings: List[str] = [
841
+ 'user_bearer',
837
842
  'backend',
838
843
  'user'
839
844
  ]
@@ -859,13 +864,19 @@ class AlgorithmsApi:
859
864
  @validate_call
860
865
  async def read_algorithms_algorithms_get(
861
866
  self,
867
+ search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
862
868
  latest: Optional[StrictBool] = None,
869
+ sort_by: Optional[StrictStr] = None,
870
+ page_number: Optional[StrictInt] = None,
871
+ items_per_page: Optional[StrictInt] = None,
863
872
  id: Optional[StrictInt] = None,
864
873
  project_id: Optional[StrictInt] = None,
865
874
  type: Optional[AlgorithmType] = None,
866
875
  shared: Optional[ShareType] = None,
867
876
  link__isnull: Optional[StrictBool] = None,
868
877
  link: Optional[StrictStr] = None,
878
+ name__isnull: Optional[StrictBool] = None,
879
+ name: Optional[StrictStr] = None,
869
880
  _request_timeout: Union[
870
881
  None,
871
882
  Annotated[StrictFloat, Field(gt=0)],
@@ -883,8 +894,16 @@ class AlgorithmsApi:
883
894
 
884
895
  List algorithms.
885
896
 
897
+ :param search: Substring search for algorithm names
898
+ :type search: str
886
899
  :param latest:
887
900
  :type latest: bool
901
+ :param sort_by:
902
+ :type sort_by: str
903
+ :param page_number:
904
+ :type page_number: int
905
+ :param items_per_page:
906
+ :type items_per_page: int
888
907
  :param id:
889
908
  :type id: int
890
909
  :param project_id:
@@ -897,6 +916,10 @@ class AlgorithmsApi:
897
916
  :type link__isnull: bool
898
917
  :param link:
899
918
  :type link: str
919
+ :param name__isnull:
920
+ :type name__isnull: bool
921
+ :param name:
922
+ :type name: str
900
923
  :param _request_timeout: timeout setting for this request. If one
901
924
  number provided, it will be total request
902
925
  timeout. It can also be a pair (tuple) of
@@ -920,13 +943,19 @@ class AlgorithmsApi:
920
943
  """ # noqa: E501
921
944
 
922
945
  _param = self._read_algorithms_algorithms_get_serialize(
946
+ search=search,
923
947
  latest=latest,
948
+ sort_by=sort_by,
949
+ page_number=page_number,
950
+ items_per_page=items_per_page,
924
951
  id=id,
925
952
  project_id=project_id,
926
953
  type=type,
927
954
  shared=shared,
928
955
  link__isnull=link__isnull,
929
956
  link=link,
957
+ name__isnull=name__isnull,
958
+ name=name,
930
959
  _request_auth=_request_auth,
931
960
  _content_type=_content_type,
932
961
  _headers=_headers,
@@ -952,13 +981,19 @@ class AlgorithmsApi:
952
981
  @validate_call
953
982
  async def read_algorithms_algorithms_get_with_http_info(
954
983
  self,
984
+ search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
955
985
  latest: Optional[StrictBool] = None,
986
+ sort_by: Optional[StrictStr] = None,
987
+ page_number: Optional[StrictInt] = None,
988
+ items_per_page: Optional[StrictInt] = None,
956
989
  id: Optional[StrictInt] = None,
957
990
  project_id: Optional[StrictInt] = None,
958
991
  type: Optional[AlgorithmType] = None,
959
992
  shared: Optional[ShareType] = None,
960
993
  link__isnull: Optional[StrictBool] = None,
961
994
  link: Optional[StrictStr] = None,
995
+ name__isnull: Optional[StrictBool] = None,
996
+ name: Optional[StrictStr] = None,
962
997
  _request_timeout: Union[
963
998
  None,
964
999
  Annotated[StrictFloat, Field(gt=0)],
@@ -976,8 +1011,16 @@ class AlgorithmsApi:
976
1011
 
977
1012
  List algorithms.
978
1013
 
1014
+ :param search: Substring search for algorithm names
1015
+ :type search: str
979
1016
  :param latest:
980
1017
  :type latest: bool
1018
+ :param sort_by:
1019
+ :type sort_by: str
1020
+ :param page_number:
1021
+ :type page_number: int
1022
+ :param items_per_page:
1023
+ :type items_per_page: int
981
1024
  :param id:
982
1025
  :type id: int
983
1026
  :param project_id:
@@ -990,6 +1033,10 @@ class AlgorithmsApi:
990
1033
  :type link__isnull: bool
991
1034
  :param link:
992
1035
  :type link: str
1036
+ :param name__isnull:
1037
+ :type name__isnull: bool
1038
+ :param name:
1039
+ :type name: str
993
1040
  :param _request_timeout: timeout setting for this request. If one
994
1041
  number provided, it will be total request
995
1042
  timeout. It can also be a pair (tuple) of
@@ -1013,13 +1060,19 @@ class AlgorithmsApi:
1013
1060
  """ # noqa: E501
1014
1061
 
1015
1062
  _param = self._read_algorithms_algorithms_get_serialize(
1063
+ search=search,
1016
1064
  latest=latest,
1065
+ sort_by=sort_by,
1066
+ page_number=page_number,
1067
+ items_per_page=items_per_page,
1017
1068
  id=id,
1018
1069
  project_id=project_id,
1019
1070
  type=type,
1020
1071
  shared=shared,
1021
1072
  link__isnull=link__isnull,
1022
1073
  link=link,
1074
+ name__isnull=name__isnull,
1075
+ name=name,
1023
1076
  _request_auth=_request_auth,
1024
1077
  _content_type=_content_type,
1025
1078
  _headers=_headers,
@@ -1045,13 +1098,19 @@ class AlgorithmsApi:
1045
1098
  @validate_call
1046
1099
  async def read_algorithms_algorithms_get_without_preload_content(
1047
1100
  self,
1101
+ search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
1048
1102
  latest: Optional[StrictBool] = None,
1103
+ sort_by: Optional[StrictStr] = None,
1104
+ page_number: Optional[StrictInt] = None,
1105
+ items_per_page: Optional[StrictInt] = None,
1049
1106
  id: Optional[StrictInt] = None,
1050
1107
  project_id: Optional[StrictInt] = None,
1051
1108
  type: Optional[AlgorithmType] = None,
1052
1109
  shared: Optional[ShareType] = None,
1053
1110
  link__isnull: Optional[StrictBool] = None,
1054
1111
  link: Optional[StrictStr] = None,
1112
+ name__isnull: Optional[StrictBool] = None,
1113
+ name: Optional[StrictStr] = None,
1055
1114
  _request_timeout: Union[
1056
1115
  None,
1057
1116
  Annotated[StrictFloat, Field(gt=0)],
@@ -1069,8 +1128,16 @@ class AlgorithmsApi:
1069
1128
 
1070
1129
  List algorithms.
1071
1130
 
1131
+ :param search: Substring search for algorithm names
1132
+ :type search: str
1072
1133
  :param latest:
1073
1134
  :type latest: bool
1135
+ :param sort_by:
1136
+ :type sort_by: str
1137
+ :param page_number:
1138
+ :type page_number: int
1139
+ :param items_per_page:
1140
+ :type items_per_page: int
1074
1141
  :param id:
1075
1142
  :type id: int
1076
1143
  :param project_id:
@@ -1083,6 +1150,10 @@ class AlgorithmsApi:
1083
1150
  :type link__isnull: bool
1084
1151
  :param link:
1085
1152
  :type link: str
1153
+ :param name__isnull:
1154
+ :type name__isnull: bool
1155
+ :param name:
1156
+ :type name: str
1086
1157
  :param _request_timeout: timeout setting for this request. If one
1087
1158
  number provided, it will be total request
1088
1159
  timeout. It can also be a pair (tuple) of
@@ -1106,13 +1177,19 @@ class AlgorithmsApi:
1106
1177
  """ # noqa: E501
1107
1178
 
1108
1179
  _param = self._read_algorithms_algorithms_get_serialize(
1180
+ search=search,
1109
1181
  latest=latest,
1182
+ sort_by=sort_by,
1183
+ page_number=page_number,
1184
+ items_per_page=items_per_page,
1110
1185
  id=id,
1111
1186
  project_id=project_id,
1112
1187
  type=type,
1113
1188
  shared=shared,
1114
1189
  link__isnull=link__isnull,
1115
1190
  link=link,
1191
+ name__isnull=name__isnull,
1192
+ name=name,
1116
1193
  _request_auth=_request_auth,
1117
1194
  _content_type=_content_type,
1118
1195
  _headers=_headers,
@@ -1133,13 +1210,19 @@ class AlgorithmsApi:
1133
1210
 
1134
1211
  def _read_algorithms_algorithms_get_serialize(
1135
1212
  self,
1213
+ search,
1136
1214
  latest,
1215
+ sort_by,
1216
+ page_number,
1217
+ items_per_page,
1137
1218
  id,
1138
1219
  project_id,
1139
1220
  type,
1140
1221
  shared,
1141
1222
  link__isnull,
1142
1223
  link,
1224
+ name__isnull,
1225
+ name,
1143
1226
  _request_auth,
1144
1227
  _content_type,
1145
1228
  _headers,
@@ -1161,10 +1244,26 @@ class AlgorithmsApi:
1161
1244
 
1162
1245
  # process the path parameters
1163
1246
  # process the query parameters
1247
+ if search is not None:
1248
+
1249
+ _query_params.append(('search', search))
1250
+
1164
1251
  if latest is not None:
1165
1252
 
1166
1253
  _query_params.append(('latest', latest))
1167
1254
 
1255
+ if sort_by is not None:
1256
+
1257
+ _query_params.append(('sort_by', sort_by))
1258
+
1259
+ if page_number is not None:
1260
+
1261
+ _query_params.append(('page_number', page_number))
1262
+
1263
+ if items_per_page is not None:
1264
+
1265
+ _query_params.append(('items_per_page', items_per_page))
1266
+
1168
1267
  if id is not None:
1169
1268
 
1170
1269
  _query_params.append(('id', id))
@@ -1189,6 +1288,14 @@ class AlgorithmsApi:
1189
1288
 
1190
1289
  _query_params.append(('link', link))
1191
1290
 
1291
+ if name__isnull is not None:
1292
+
1293
+ _query_params.append(('name__isnull', name__isnull))
1294
+
1295
+ if name is not None:
1296
+
1297
+ _query_params.append(('name', name))
1298
+
1192
1299
  # process the header parameters
1193
1300
  # process the form parameters
1194
1301
  # process the body parameter
@@ -1204,6 +1311,7 @@ class AlgorithmsApi:
1204
1311
 
1205
1312
  # authentication setting
1206
1313
  _auth_settings: List[str] = [
1314
+ 'user_bearer',
1207
1315
  'user'
1208
1316
  ]
1209
1317
 
@@ -1500,6 +1608,7 @@ class AlgorithmsApi:
1500
1608
 
1501
1609
  # authentication setting
1502
1610
  _auth_settings: List[str] = [
1611
+ 'user_bearer',
1503
1612
  'user'
1504
1613
  ]
1505
1614
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Quantum Inspire 2
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ **Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
7
7
 
8
8
  The version of the OpenAPI document: 0.1.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -30,6 +30,7 @@ from pydantic import StrictBool, StrictInt, StrictStr
30
30
  from typing import List, Optional
31
31
 
32
32
  from compute_api_client.models.backend import Backend
33
+ from compute_api_client.models.backend_in import BackendIn
33
34
  from compute_api_client.models.backend_patch import BackendPatch
34
35
  from compute_api_client.models.backend_status import BackendStatus
35
36
  from compute_api_client.models.backend_with_authentication import BackendWithAuthentication
@@ -55,7 +56,7 @@ class BackendApi:
55
56
  @validate_call
56
57
  async def create_backend_backends_post(
57
58
  self,
58
- backend: Backend,
59
+ backend_in: BackendIn,
59
60
  _request_timeout: Union[
60
61
  None,
61
62
  Annotated[StrictFloat, Field(gt=0)],
@@ -73,8 +74,8 @@ class BackendApi:
73
74
 
74
75
  Create new backend.
75
76
 
76
- :param backend: (required)
77
- :type backend: Backend
77
+ :param backend_in: (required)
78
+ :type backend_in: BackendIn
78
79
  :param _request_timeout: timeout setting for this request. If one
79
80
  number provided, it will be total request
80
81
  timeout. It can also be a pair (tuple) of
@@ -98,7 +99,7 @@ class BackendApi:
98
99
  """ # noqa: E501
99
100
 
100
101
  _param = self._create_backend_backends_post_serialize(
101
- backend=backend,
102
+ backend_in=backend_in,
102
103
  _request_auth=_request_auth,
103
104
  _content_type=_content_type,
104
105
  _headers=_headers,
@@ -124,7 +125,7 @@ class BackendApi:
124
125
  @validate_call
125
126
  async def create_backend_backends_post_with_http_info(
126
127
  self,
127
- backend: Backend,
128
+ backend_in: BackendIn,
128
129
  _request_timeout: Union[
129
130
  None,
130
131
  Annotated[StrictFloat, Field(gt=0)],
@@ -142,8 +143,8 @@ class BackendApi:
142
143
 
143
144
  Create new backend.
144
145
 
145
- :param backend: (required)
146
- :type backend: Backend
146
+ :param backend_in: (required)
147
+ :type backend_in: BackendIn
147
148
  :param _request_timeout: timeout setting for this request. If one
148
149
  number provided, it will be total request
149
150
  timeout. It can also be a pair (tuple) of
@@ -167,7 +168,7 @@ class BackendApi:
167
168
  """ # noqa: E501
168
169
 
169
170
  _param = self._create_backend_backends_post_serialize(
170
- backend=backend,
171
+ backend_in=backend_in,
171
172
  _request_auth=_request_auth,
172
173
  _content_type=_content_type,
173
174
  _headers=_headers,
@@ -193,7 +194,7 @@ class BackendApi:
193
194
  @validate_call
194
195
  async def create_backend_backends_post_without_preload_content(
195
196
  self,
196
- backend: Backend,
197
+ backend_in: BackendIn,
197
198
  _request_timeout: Union[
198
199
  None,
199
200
  Annotated[StrictFloat, Field(gt=0)],
@@ -211,8 +212,8 @@ class BackendApi:
211
212
 
212
213
  Create new backend.
213
214
 
214
- :param backend: (required)
215
- :type backend: Backend
215
+ :param backend_in: (required)
216
+ :type backend_in: BackendIn
216
217
  :param _request_timeout: timeout setting for this request. If one
217
218
  number provided, it will be total request
218
219
  timeout. It can also be a pair (tuple) of
@@ -236,7 +237,7 @@ class BackendApi:
236
237
  """ # noqa: E501
237
238
 
238
239
  _param = self._create_backend_backends_post_serialize(
239
- backend=backend,
240
+ backend_in=backend_in,
240
241
  _request_auth=_request_auth,
241
242
  _content_type=_content_type,
242
243
  _headers=_headers,
@@ -257,7 +258,7 @@ class BackendApi:
257
258
 
258
259
  def _create_backend_backends_post_serialize(
259
260
  self,
260
- backend,
261
+ backend_in,
261
262
  _request_auth,
262
263
  _content_type,
263
264
  _headers,
@@ -282,8 +283,8 @@ class BackendApi:
282
283
  # process the header parameters
283
284
  # process the form parameters
284
285
  # process the body parameter
285
- if backend is not None:
286
- _body_params = backend
286
+ if backend_in is not None:
287
+ _body_params = backend_in
287
288
 
288
289
 
289
290
  # set the HTTP header `Accept`
@@ -309,6 +310,7 @@ class BackendApi:
309
310
 
310
311
  # authentication setting
311
312
  _auth_settings: List[str] = [
313
+ 'user_bearer',
312
314
  'user'
313
315
  ]
314
316
 
@@ -577,6 +579,7 @@ class BackendApi:
577
579
 
578
580
  # authentication setting
579
581
  _auth_settings: List[str] = [
582
+ 'user_bearer',
580
583
  'user'
581
584
  ]
582
585
 
@@ -849,6 +852,9 @@ class BackendApi:
849
852
  async def read_backends_backends_get(
850
853
  self,
851
854
  latest: Optional[StrictBool] = None,
855
+ sort_by: Optional[StrictStr] = None,
856
+ page_number: Optional[StrictInt] = None,
857
+ items_per_page: Optional[StrictInt] = None,
852
858
  id: Optional[StrictInt] = None,
853
859
  name: Optional[StrictStr] = None,
854
860
  location: Optional[StrictStr] = None,
@@ -874,6 +880,12 @@ class BackendApi:
874
880
 
875
881
  :param latest:
876
882
  :type latest: bool
883
+ :param sort_by:
884
+ :type sort_by: str
885
+ :param page_number:
886
+ :type page_number: int
887
+ :param items_per_page:
888
+ :type items_per_page: int
877
889
  :param id:
878
890
  :type id: int
879
891
  :param name:
@@ -910,6 +922,9 @@ class BackendApi:
910
922
 
911
923
  _param = self._read_backends_backends_get_serialize(
912
924
  latest=latest,
925
+ sort_by=sort_by,
926
+ page_number=page_number,
927
+ items_per_page=items_per_page,
913
928
  id=id,
914
929
  name=name,
915
930
  location=location,
@@ -942,6 +957,9 @@ class BackendApi:
942
957
  async def read_backends_backends_get_with_http_info(
943
958
  self,
944
959
  latest: Optional[StrictBool] = None,
960
+ sort_by: Optional[StrictStr] = None,
961
+ page_number: Optional[StrictInt] = None,
962
+ items_per_page: Optional[StrictInt] = None,
945
963
  id: Optional[StrictInt] = None,
946
964
  name: Optional[StrictStr] = None,
947
965
  location: Optional[StrictStr] = None,
@@ -967,6 +985,12 @@ class BackendApi:
967
985
 
968
986
  :param latest:
969
987
  :type latest: bool
988
+ :param sort_by:
989
+ :type sort_by: str
990
+ :param page_number:
991
+ :type page_number: int
992
+ :param items_per_page:
993
+ :type items_per_page: int
970
994
  :param id:
971
995
  :type id: int
972
996
  :param name:
@@ -1003,6 +1027,9 @@ class BackendApi:
1003
1027
 
1004
1028
  _param = self._read_backends_backends_get_serialize(
1005
1029
  latest=latest,
1030
+ sort_by=sort_by,
1031
+ page_number=page_number,
1032
+ items_per_page=items_per_page,
1006
1033
  id=id,
1007
1034
  name=name,
1008
1035
  location=location,
@@ -1035,6 +1062,9 @@ class BackendApi:
1035
1062
  async def read_backends_backends_get_without_preload_content(
1036
1063
  self,
1037
1064
  latest: Optional[StrictBool] = None,
1065
+ sort_by: Optional[StrictStr] = None,
1066
+ page_number: Optional[StrictInt] = None,
1067
+ items_per_page: Optional[StrictInt] = None,
1038
1068
  id: Optional[StrictInt] = None,
1039
1069
  name: Optional[StrictStr] = None,
1040
1070
  location: Optional[StrictStr] = None,
@@ -1060,6 +1090,12 @@ class BackendApi:
1060
1090
 
1061
1091
  :param latest:
1062
1092
  :type latest: bool
1093
+ :param sort_by:
1094
+ :type sort_by: str
1095
+ :param page_number:
1096
+ :type page_number: int
1097
+ :param items_per_page:
1098
+ :type items_per_page: int
1063
1099
  :param id:
1064
1100
  :type id: int
1065
1101
  :param name:
@@ -1096,6 +1132,9 @@ class BackendApi:
1096
1132
 
1097
1133
  _param = self._read_backends_backends_get_serialize(
1098
1134
  latest=latest,
1135
+ sort_by=sort_by,
1136
+ page_number=page_number,
1137
+ items_per_page=items_per_page,
1099
1138
  id=id,
1100
1139
  name=name,
1101
1140
  location=location,
@@ -1123,6 +1162,9 @@ class BackendApi:
1123
1162
  def _read_backends_backends_get_serialize(
1124
1163
  self,
1125
1164
  latest,
1165
+ sort_by,
1166
+ page_number,
1167
+ items_per_page,
1126
1168
  id,
1127
1169
  name,
1128
1170
  location,
@@ -1154,6 +1196,18 @@ class BackendApi:
1154
1196
 
1155
1197
  _query_params.append(('latest', latest))
1156
1198
 
1199
+ if sort_by is not None:
1200
+
1201
+ _query_params.append(('sort_by', sort_by))
1202
+
1203
+ if page_number is not None:
1204
+
1205
+ _query_params.append(('page_number', page_number))
1206
+
1207
+ if items_per_page is not None:
1208
+
1209
+ _query_params.append(('items_per_page', items_per_page))
1210
+
1157
1211
  if id is not None:
1158
1212
 
1159
1213
  _query_params.append(('id', id))
@@ -1202,6 +1256,7 @@ class BackendApi:
1202
1256
 
1203
1257
  # authentication setting
1204
1258
  _auth_settings: List[str] = [
1259
+ 'user_bearer',
1205
1260
  'user'
1206
1261
  ]
1207
1262