1010 Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
1212 Do not edit the class manually.
13- """ # noqa: E501 docstring might be too long
13+ """ # noqa: E501
1414
1515from typing import Any , Dict , List , Optional , Tuple , Union
1616
@@ -89,7 +89,7 @@ def create_instance(
8989 in the spec for a single request.
9090 :type _host_index: int, optional
9191 :return: Returns the result object.
92- """ # noqa: E501 docstring might be too long
92+ """ # noqa: E501
9393
9494 _param = self ._create_instance_serialize (
9595 project_id = project_id ,
@@ -157,7 +157,7 @@ def create_instance_with_http_info(
157157 in the spec for a single request.
158158 :type _host_index: int, optional
159159 :return: Returns the result object.
160- """ # noqa: E501 docstring might be too long
160+ """ # noqa: E501
161161
162162 _param = self ._create_instance_serialize (
163163 project_id = project_id ,
@@ -225,7 +225,7 @@ def create_instance_without_preload_content(
225225 in the spec for a single request.
226226 :type _host_index: int, optional
227227 :return: Returns the result object.
228- """ # noqa: E501 docstring might be too long
228+ """ # noqa: E501
229229
230230 _param = self ._create_instance_serialize (
231231 project_id = project_id ,
@@ -264,7 +264,7 @@ def _create_instance_serialize(
264264 _query_params : List [Tuple [str , str ]] = []
265265 _header_params : Dict [str , Optional [str ]] = _headers or {}
266266 _form_params : List [Tuple [str , str ]] = []
267- _files : Dict [str , Union [str , bytes ]] = {}
267+ _files : Dict [str , Union [str , bytes , List [ str ], List [ bytes ], List [ Tuple [ str , bytes ]] ]] = {}
268268 _body_params : Optional [bytes ] = None
269269
270270 # process the path parameters
@@ -352,7 +352,7 @@ def delete_instance(
352352 in the spec for a single request.
353353 :type _host_index: int, optional
354354 :return: Returns the result object.
355- """ # noqa: E501 docstring might be too long
355+ """ # noqa: E501
356356
357357 _param = self ._delete_instance_serialize (
358358 project_id = project_id ,
@@ -423,7 +423,7 @@ def delete_instance_with_http_info(
423423 in the spec for a single request.
424424 :type _host_index: int, optional
425425 :return: Returns the result object.
426- """ # noqa: E501 docstring might be too long
426+ """ # noqa: E501
427427
428428 _param = self ._delete_instance_serialize (
429429 project_id = project_id ,
@@ -494,7 +494,7 @@ def delete_instance_without_preload_content(
494494 in the spec for a single request.
495495 :type _host_index: int, optional
496496 :return: Returns the result object.
497- """ # noqa: E501 docstring might be too long
497+ """ # noqa: E501
498498
499499 _param = self ._delete_instance_serialize (
500500 project_id = project_id ,
@@ -534,7 +534,7 @@ def _delete_instance_serialize(
534534 _query_params : List [Tuple [str , str ]] = []
535535 _header_params : Dict [str , Optional [str ]] = _headers or {}
536536 _form_params : List [Tuple [str , str ]] = []
537- _files : Dict [str , Union [str , bytes ]] = {}
537+ _files : Dict [str , Union [str , bytes , List [ str ], List [ bytes ], List [ Tuple [ str , bytes ]] ]] = {}
538538 _body_params : Optional [bytes ] = None
539539
540540 # process the path parameters
@@ -614,7 +614,7 @@ def get_instance(
614614 in the spec for a single request.
615615 :type _host_index: int, optional
616616 :return: Returns the result object.
617- """ # noqa: E501 docstring might be too long
617+ """ # noqa: E501
618618
619619 _param = self ._get_instance_serialize (
620620 project_id = project_id ,
@@ -684,7 +684,7 @@ def get_instance_with_http_info(
684684 in the spec for a single request.
685685 :type _host_index: int, optional
686686 :return: Returns the result object.
687- """ # noqa: E501 docstring might be too long
687+ """ # noqa: E501
688688
689689 _param = self ._get_instance_serialize (
690690 project_id = project_id ,
@@ -754,7 +754,7 @@ def get_instance_without_preload_content(
754754 in the spec for a single request.
755755 :type _host_index: int, optional
756756 :return: Returns the result object.
757- """ # noqa: E501 docstring might be too long
757+ """ # noqa: E501
758758
759759 _param = self ._get_instance_serialize (
760760 project_id = project_id ,
@@ -793,7 +793,7 @@ def _get_instance_serialize(
793793 _query_params : List [Tuple [str , str ]] = []
794794 _header_params : Dict [str , Optional [str ]] = _headers or {}
795795 _form_params : List [Tuple [str , str ]] = []
796- _files : Dict [str , Union [str , bytes ]] = {}
796+ _files : Dict [str , Union [str , bytes , List [ str ], List [ bytes ], List [ Tuple [ str , bytes ]] ]] = {}
797797 _body_params : Optional [bytes ] = None
798798
799799 # process the path parameters
@@ -831,14 +831,7 @@ def _get_instance_serialize(
831831 @validate_call
832832 def list_flavors (
833833 self ,
834- project_id : Annotated [
835- str ,
836- Field (
837- strict = True ,
838- max_length = 36 ,
839- description = "The STACKIT portal project UUID the STACKIT Git instance is part of." ,
840- ),
841- ],
834+ project_id : Annotated [str , Field (min_length = 36 , strict = True , max_length = 36 , description = "Project identifier." )],
842835 _request_timeout : Union [
843836 None ,
844837 Annotated [StrictFloat , Field (gt = 0 )],
@@ -853,7 +846,7 @@ def list_flavors(
853846
854847 Provides detailed information about possible Git Flavors.
855848
856- :param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of . (required)
849+ :param project_id: Project identifier . (required)
857850 :type project_id: str
858851 :param _request_timeout: timeout setting for this request. If one
859852 number provided, it will be total request
@@ -875,7 +868,7 @@ def list_flavors(
875868 in the spec for a single request.
876869 :type _host_index: int, optional
877870 :return: Returns the result object.
878- """ # noqa: E501 docstring might be too long
871+ """ # noqa: E501
879872
880873 _param = self ._list_flavors_serialize (
881874 project_id = project_id ,
@@ -887,10 +880,10 @@ def list_flavors(
887880
888881 _response_types_map : Dict [str , Optional [str ]] = {
889882 "200" : "ListFlavors" ,
890- "400" : None ,
883+ "400" : "GenericErrorResponse" ,
891884 "401" : "UnauthorizedResponse" ,
892885 "404" : None ,
893- "500" : "InternalServerErrorResponse " ,
886+ "500" : "GenericErrorResponse " ,
894887 }
895888 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
896889 response_data .read ()
@@ -902,14 +895,7 @@ def list_flavors(
902895 @validate_call
903896 def list_flavors_with_http_info (
904897 self ,
905- project_id : Annotated [
906- str ,
907- Field (
908- strict = True ,
909- max_length = 36 ,
910- description = "The STACKIT portal project UUID the STACKIT Git instance is part of." ,
911- ),
912- ],
898+ project_id : Annotated [str , Field (min_length = 36 , strict = True , max_length = 36 , description = "Project identifier." )],
913899 _request_timeout : Union [
914900 None ,
915901 Annotated [StrictFloat , Field (gt = 0 )],
@@ -924,7 +910,7 @@ def list_flavors_with_http_info(
924910
925911 Provides detailed information about possible Git Flavors.
926912
927- :param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of . (required)
913+ :param project_id: Project identifier . (required)
928914 :type project_id: str
929915 :param _request_timeout: timeout setting for this request. If one
930916 number provided, it will be total request
@@ -946,7 +932,7 @@ def list_flavors_with_http_info(
946932 in the spec for a single request.
947933 :type _host_index: int, optional
948934 :return: Returns the result object.
949- """ # noqa: E501 docstring might be too long
935+ """ # noqa: E501
950936
951937 _param = self ._list_flavors_serialize (
952938 project_id = project_id ,
@@ -958,10 +944,10 @@ def list_flavors_with_http_info(
958944
959945 _response_types_map : Dict [str , Optional [str ]] = {
960946 "200" : "ListFlavors" ,
961- "400" : None ,
947+ "400" : "GenericErrorResponse" ,
962948 "401" : "UnauthorizedResponse" ,
963949 "404" : None ,
964- "500" : "InternalServerErrorResponse " ,
950+ "500" : "GenericErrorResponse " ,
965951 }
966952 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
967953 response_data .read ()
@@ -973,14 +959,7 @@ def list_flavors_with_http_info(
973959 @validate_call
974960 def list_flavors_without_preload_content (
975961 self ,
976- project_id : Annotated [
977- str ,
978- Field (
979- strict = True ,
980- max_length = 36 ,
981- description = "The STACKIT portal project UUID the STACKIT Git instance is part of." ,
982- ),
983- ],
962+ project_id : Annotated [str , Field (min_length = 36 , strict = True , max_length = 36 , description = "Project identifier." )],
984963 _request_timeout : Union [
985964 None ,
986965 Annotated [StrictFloat , Field (gt = 0 )],
@@ -995,7 +974,7 @@ def list_flavors_without_preload_content(
995974
996975 Provides detailed information about possible Git Flavors.
997976
998- :param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of . (required)
977+ :param project_id: Project identifier . (required)
999978 :type project_id: str
1000979 :param _request_timeout: timeout setting for this request. If one
1001980 number provided, it will be total request
@@ -1017,7 +996,7 @@ def list_flavors_without_preload_content(
1017996 in the spec for a single request.
1018997 :type _host_index: int, optional
1019998 :return: Returns the result object.
1020- """ # noqa: E501 docstring might be too long
999+ """ # noqa: E501
10211000
10221001 _param = self ._list_flavors_serialize (
10231002 project_id = project_id ,
@@ -1029,10 +1008,10 @@ def list_flavors_without_preload_content(
10291008
10301009 _response_types_map : Dict [str , Optional [str ]] = {
10311010 "200" : "ListFlavors" ,
1032- "400" : None ,
1011+ "400" : "GenericErrorResponse" ,
10331012 "401" : "UnauthorizedResponse" ,
10341013 "404" : None ,
1035- "500" : "InternalServerErrorResponse " ,
1014+ "500" : "GenericErrorResponse " ,
10361015 }
10371016 response_data = self .api_client .call_api (* _param , _request_timeout = _request_timeout )
10381017 return response_data .response
@@ -1054,7 +1033,7 @@ def _list_flavors_serialize(
10541033 _query_params : List [Tuple [str , str ]] = []
10551034 _header_params : Dict [str , Optional [str ]] = _headers or {}
10561035 _form_params : List [Tuple [str , str ]] = []
1057- _files : Dict [str , Union [str , bytes ]] = {}
1036+ _files : Dict [str , Union [str , bytes , List [ str ], List [ bytes ], List [ Tuple [ str , bytes ]] ]] = {}
10581037 _body_params : Optional [bytes ] = None
10591038
10601039 # process the path parameters
@@ -1127,7 +1106,7 @@ def list_instances(
11271106 in the spec for a single request.
11281107 :type _host_index: int, optional
11291108 :return: Returns the result object.
1130- """ # noqa: E501 docstring might be too long
1109+ """ # noqa: E501
11311110
11321111 _param = self ._list_instances_serialize (
11331112 project_id = project_id ,
@@ -1190,7 +1169,7 @@ def list_instances_with_http_info(
11901169 in the spec for a single request.
11911170 :type _host_index: int, optional
11921171 :return: Returns the result object.
1193- """ # noqa: E501 docstring might be too long
1172+ """ # noqa: E501
11941173
11951174 _param = self ._list_instances_serialize (
11961175 project_id = project_id ,
@@ -1253,7 +1232,7 @@ def list_instances_without_preload_content(
12531232 in the spec for a single request.
12541233 :type _host_index: int, optional
12551234 :return: Returns the result object.
1256- """ # noqa: E501 docstring might be too long
1235+ """ # noqa: E501
12571236
12581237 _param = self ._list_instances_serialize (
12591238 project_id = project_id ,
@@ -1289,7 +1268,7 @@ def _list_instances_serialize(
12891268 _query_params : List [Tuple [str , str ]] = []
12901269 _header_params : Dict [str , Optional [str ]] = _headers or {}
12911270 _form_params : List [Tuple [str , str ]] = []
1292- _files : Dict [str , Union [str , bytes ]] = {}
1271+ _files : Dict [str , Union [str , bytes , List [ str ], List [ bytes ], List [ Tuple [ str , bytes ]] ]] = {}
12931272 _body_params : Optional [bytes ] = None
12941273
12951274 # process the path parameters
0 commit comments