@@ -633,19 +633,19 @@ def distribute_content_library_vmtemplate_clusters_with_http_info(self, content_
633
633
collection_formats = collection_formats ,
634
634
_request_auth = local_var_params .get ('_request_auth' ))
635
635
636
- def export_content_library_vm_template (self , content_language , content_library_vm_template_export_params , ** kwargs ): # noqa: E501
636
+ def export_content_library_vm_template (self , content_library_vm_template_export_params , ** kwargs ): # noqa: E501
637
637
"""export_content_library_vm_template # noqa: E501
638
638
639
639
This method makes a synchronous HTTP request by default. To make an
640
640
asynchronous HTTP request, please pass async_req=True
641
641
642
- >>> thread = api.export_content_library_vm_template(content_language, content_library_vm_template_export_params, async_req=True)
642
+ >>> thread = api.export_content_library_vm_template(content_library_vm_template_export_params, async_req=True)
643
643
>>> result = thread.get()
644
644
645
- :param content_language: (required)
646
- :type content_language: ContentLanguage
647
645
:param content_library_vm_template_export_params: (required)
648
646
:type content_library_vm_template_export_params: ContentLibraryVmTemplateExportParams
647
+ :param content_language:
648
+ :type content_language: ContentLanguage
649
649
:param async_req: Whether to execute the request asynchronously.
650
650
:type async_req: bool, optional
651
651
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -662,21 +662,21 @@ def export_content_library_vm_template(self, content_language, content_library_v
662
662
:rtype: list[WithTaskVmExportFile]
663
663
"""
664
664
kwargs ['_return_http_data_only' ] = True
665
- return self .export_content_library_vm_template_with_http_info (content_language , content_library_vm_template_export_params , ** kwargs ) # noqa: E501
665
+ return self .export_content_library_vm_template_with_http_info (content_library_vm_template_export_params , ** kwargs ) # noqa: E501
666
666
667
- def export_content_library_vm_template_with_http_info (self , content_language , content_library_vm_template_export_params , ** kwargs ): # noqa: E501
667
+ def export_content_library_vm_template_with_http_info (self , content_library_vm_template_export_params , ** kwargs ): # noqa: E501
668
668
"""export_content_library_vm_template # noqa: E501
669
669
670
670
This method makes a synchronous HTTP request by default. To make an
671
671
asynchronous HTTP request, please pass async_req=True
672
672
673
- >>> thread = api.export_content_library_vm_template_with_http_info(content_language, content_library_vm_template_export_params, async_req=True)
673
+ >>> thread = api.export_content_library_vm_template_with_http_info(content_library_vm_template_export_params, async_req=True)
674
674
>>> result = thread.get()
675
675
676
- :param content_language: (required)
677
- :type content_language: ContentLanguage
678
676
:param content_library_vm_template_export_params: (required)
679
677
:type content_library_vm_template_export_params: ContentLibraryVmTemplateExportParams
678
+ :param content_language:
679
+ :type content_language: ContentLanguage
680
680
:param async_req: Whether to execute the request asynchronously.
681
681
:type async_req: bool, optional
682
682
:param _return_http_data_only: response data without head status code
@@ -704,8 +704,8 @@ def export_content_library_vm_template_with_http_info(self, content_language, co
704
704
local_var_params = locals ()
705
705
706
706
all_params = [
707
- 'content_language ' ,
708
- 'content_library_vm_template_export_params '
707
+ 'content_library_vm_template_export_params ' ,
708
+ 'content_language '
709
709
]
710
710
all_params .extend (
711
711
[
@@ -727,10 +727,6 @@ def export_content_library_vm_template_with_http_info(self, content_language, co
727
727
)
728
728
local_var_params [key ] = val
729
729
del local_var_params ['kwargs' ]
730
- # verify the required parameter 'content_language' is set
731
- if self .api_client .client_side_validation and ('content_language' not in local_var_params or # noqa: E501
732
- local_var_params ['content_language' ] is None ): # noqa: E501
733
- raise ApiValueError ("Missing the required parameter `content_language` when calling `export_content_library_vm_template`" ) # noqa: E501
734
730
# verify the required parameter 'content_library_vm_template_export_params' is set
735
731
if self .api_client .client_side_validation and ('content_library_vm_template_export_params' not in local_var_params or # noqa: E501
736
732
local_var_params ['content_library_vm_template_export_params' ] is None ): # noqa: E501
@@ -1093,19 +1089,19 @@ def get_content_library_vm_templates_connection_with_http_info(self, get_content
1093
1089
collection_formats = collection_formats ,
1094
1090
_request_auth = local_var_params .get ('_request_auth' ))
1095
1091
1096
- def import_content_library_vm_template (self , content_language , content_library_vm_template_import_params , ** kwargs ): # noqa: E501
1092
+ def import_content_library_vm_template (self , content_library_vm_template_import_params , ** kwargs ): # noqa: E501
1097
1093
"""import_content_library_vm_template # noqa: E501
1098
1094
1099
1095
This method makes a synchronous HTTP request by default. To make an
1100
1096
asynchronous HTTP request, please pass async_req=True
1101
1097
1102
- >>> thread = api.import_content_library_vm_template(content_language, content_library_vm_template_import_params, async_req=True)
1098
+ >>> thread = api.import_content_library_vm_template(content_library_vm_template_import_params, async_req=True)
1103
1099
>>> result = thread.get()
1104
1100
1105
- :param content_language: (required)
1106
- :type content_language: ContentLanguage
1107
1101
:param content_library_vm_template_import_params: (required)
1108
1102
:type content_library_vm_template_import_params: list[ContentLibraryVmTemplateImportParams]
1103
+ :param content_language:
1104
+ :type content_language: ContentLanguage
1109
1105
:param async_req: Whether to execute the request asynchronously.
1110
1106
:type async_req: bool, optional
1111
1107
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -1122,21 +1118,21 @@ def import_content_library_vm_template(self, content_language, content_library_v
1122
1118
:rtype: list[WithTaskContentLibraryVmTemplate]
1123
1119
"""
1124
1120
kwargs ['_return_http_data_only' ] = True
1125
- return self .import_content_library_vm_template_with_http_info (content_language , content_library_vm_template_import_params , ** kwargs ) # noqa: E501
1121
+ return self .import_content_library_vm_template_with_http_info (content_library_vm_template_import_params , ** kwargs ) # noqa: E501
1126
1122
1127
- def import_content_library_vm_template_with_http_info (self , content_language , content_library_vm_template_import_params , ** kwargs ): # noqa: E501
1123
+ def import_content_library_vm_template_with_http_info (self , content_library_vm_template_import_params , ** kwargs ): # noqa: E501
1128
1124
"""import_content_library_vm_template # noqa: E501
1129
1125
1130
1126
This method makes a synchronous HTTP request by default. To make an
1131
1127
asynchronous HTTP request, please pass async_req=True
1132
1128
1133
- >>> thread = api.import_content_library_vm_template_with_http_info(content_language, content_library_vm_template_import_params, async_req=True)
1129
+ >>> thread = api.import_content_library_vm_template_with_http_info(content_library_vm_template_import_params, async_req=True)
1134
1130
>>> result = thread.get()
1135
1131
1136
- :param content_language: (required)
1137
- :type content_language: ContentLanguage
1138
1132
:param content_library_vm_template_import_params: (required)
1139
1133
:type content_library_vm_template_import_params: list[ContentLibraryVmTemplateImportParams]
1134
+ :param content_language:
1135
+ :type content_language: ContentLanguage
1140
1136
:param async_req: Whether to execute the request asynchronously.
1141
1137
:type async_req: bool, optional
1142
1138
:param _return_http_data_only: response data without head status code
@@ -1164,8 +1160,8 @@ def import_content_library_vm_template_with_http_info(self, content_language, co
1164
1160
local_var_params = locals ()
1165
1161
1166
1162
all_params = [
1167
- 'content_language ' ,
1168
- 'content_library_vm_template_import_params '
1163
+ 'content_library_vm_template_import_params ' ,
1164
+ 'content_language '
1169
1165
]
1170
1166
all_params .extend (
1171
1167
[
@@ -1187,10 +1183,6 @@ def import_content_library_vm_template_with_http_info(self, content_language, co
1187
1183
)
1188
1184
local_var_params [key ] = val
1189
1185
del local_var_params ['kwargs' ]
1190
- # verify the required parameter 'content_language' is set
1191
- if self .api_client .client_side_validation and ('content_language' not in local_var_params or # noqa: E501
1192
- local_var_params ['content_language' ] is None ): # noqa: E501
1193
- raise ApiValueError ("Missing the required parameter `content_language` when calling `import_content_library_vm_template`" ) # noqa: E501
1194
1186
# verify the required parameter 'content_library_vm_template_import_params' is set
1195
1187
if self .api_client .client_side_validation and ('content_library_vm_template_import_params' not in local_var_params or # noqa: E501
1196
1188
local_var_params ['content_library_vm_template_import_params' ] is None ): # noqa: E501
0 commit comments