vrchatapi-async 1.20.8.dev1__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.
- vrchatapi/__init__.py +742 -0
- vrchatapi/api/__init__.py +23 -0
- vrchatapi/api/authentication_api.py +6253 -0
- vrchatapi/api/avatars_api.py +4234 -0
- vrchatapi/api/calendar_api.py +4090 -0
- vrchatapi/api/economy_api.py +11547 -0
- vrchatapi/api/favorites_api.py +2368 -0
- vrchatapi/api/files_api.py +6109 -0
- vrchatapi/api/friends_api.py +1708 -0
- vrchatapi/api/groups_api.py +15085 -0
- vrchatapi/api/instances_api.py +1754 -0
- vrchatapi/api/inventory_api.py +4333 -0
- vrchatapi/api/invite_api.py +3337 -0
- vrchatapi/api/jams_api.py +1446 -0
- vrchatapi/api/miscellaneous_api.py +2384 -0
- vrchatapi/api/notifications_api.py +3624 -0
- vrchatapi/api/playermoderation_api.py +1127 -0
- vrchatapi/api/prints_api.py +1478 -0
- vrchatapi/api/props_api.py +2269 -0
- vrchatapi/api/users_api.py +7894 -0
- vrchatapi/api/worlds_api.py +6153 -0
- vrchatapi/api_client.py +865 -0
- vrchatapi/api_response.py +21 -0
- vrchatapi/configuration.py +686 -0
- vrchatapi/exceptions.py +218 -0
- vrchatapi/models/__init__.py +345 -0
- vrchatapi/models/account_deletion_log.py +253 -0
- vrchatapi/models/add_favorite_request.py +246 -0
- vrchatapi/models/add_group_gallery_image_request.py +234 -0
- vrchatapi/models/admin_asset_bundle.py +337 -0
- vrchatapi/models/admin_unity_package.py +261 -0
- vrchatapi/models/age_verification_status.py +38 -0
- vrchatapi/models/agreement.py +280 -0
- vrchatapi/models/agreement_code.py +36 -0
- vrchatapi/models/agreement_request.py +256 -0
- vrchatapi/models/agreement_status.py +261 -0
- vrchatapi/models/api_config.py +1299 -0
- vrchatapi/models/api_config_access_logs_urls.py +258 -0
- vrchatapi/models/api_config_announcement.py +217 -0
- vrchatapi/models/api_config_audio_config.py +311 -0
- vrchatapi/models/api_config_avatar_perf_limiter.py +293 -0
- vrchatapi/models/api_config_constants.py +262 -0
- vrchatapi/models/api_config_constants_groups.py +306 -0
- vrchatapi/models/api_config_constants_instance.py +238 -0
- vrchatapi/models/api_config_constants_instancepopulationbrackets.py +262 -0
- vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +216 -0
- vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +216 -0
- vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +216 -0
- vrchatapi/models/api_config_constants_language.py +234 -0
- vrchatapi/models/api_config_download_url_list.py +258 -0
- vrchatapi/models/api_config_events.py +314 -0
- vrchatapi/models/api_config_ios_version.py +216 -0
- vrchatapi/models/api_config_min_supported_client_build_number.py +348 -0
- vrchatapi/models/api_config_offline_analysis.py +216 -0
- vrchatapi/models/api_health.py +248 -0
- vrchatapi/models/avatar.py +463 -0
- vrchatapi/models/avatar_moderation.py +249 -0
- vrchatapi/models/avatar_moderation_created.py +248 -0
- vrchatapi/models/avatar_moderation_type.py +36 -0
- vrchatapi/models/avatar_performance.py +265 -0
- vrchatapi/models/avatar_published_listings_inner.py +271 -0
- vrchatapi/models/avatar_style.py +239 -0
- vrchatapi/models/avatar_styles.py +231 -0
- vrchatapi/models/avatar_unity_package_url_object.py +234 -0
- vrchatapi/models/badge.py +308 -0
- vrchatapi/models/balance.py +247 -0
- vrchatapi/models/ban_group_member_request.py +234 -0
- vrchatapi/models/boop_request.py +250 -0
- vrchatapi/models/calendar_day_of_week.py +42 -0
- vrchatapi/models/calendar_event.py +475 -0
- vrchatapi/models/calendar_event_access.py +37 -0
- vrchatapi/models/calendar_event_category.py +48 -0
- vrchatapi/models/calendar_event_discovery.py +247 -0
- vrchatapi/models/calendar_event_discovery_inclusion.py +38 -0
- vrchatapi/models/calendar_event_discovery_scope.py +38 -0
- vrchatapi/models/calendar_event_frequency.py +39 -0
- vrchatapi/models/calendar_event_occurrence_kind.py +38 -0
- vrchatapi/models/calendar_event_platform.py +38 -0
- vrchatapi/models/calendar_event_recurrence.py +261 -0
- vrchatapi/models/calendar_event_recurrence_end.py +246 -0
- vrchatapi/models/calendar_event_recurrence_end_type.py +37 -0
- vrchatapi/models/calendar_event_user_interest.py +251 -0
- vrchatapi/models/change_user_tags_request.py +212 -0
- vrchatapi/models/change_world_tags_request.py +212 -0
- vrchatapi/models/content_filter.py +40 -0
- vrchatapi/models/create_avatar_moderation_request.py +243 -0
- vrchatapi/models/create_avatar_request.py +324 -0
- vrchatapi/models/create_calendar_event_request.py +385 -0
- vrchatapi/models/create_file_request.py +251 -0
- vrchatapi/models/create_file_version_request.py +259 -0
- vrchatapi/models/create_group_announcement_request.py +253 -0
- vrchatapi/models/create_group_gallery_request.py +297 -0
- vrchatapi/models/create_group_invite_request.py +242 -0
- vrchatapi/models/create_group_post_request.py +267 -0
- vrchatapi/models/create_group_request.py +295 -0
- vrchatapi/models/create_group_role_request.py +255 -0
- vrchatapi/models/create_instance_request.py +384 -0
- vrchatapi/models/create_jam_submission_request.py +239 -0
- vrchatapi/models/create_listing_request.py +285 -0
- vrchatapi/models/create_product_request.py +270 -0
- vrchatapi/models/create_prop_request.py +308 -0
- vrchatapi/models/create_world_request.py +322 -0
- vrchatapi/models/current_user.py +909 -0
- vrchatapi/models/current_user_platform_history_inner.py +245 -0
- vrchatapi/models/current_user_presence.py +379 -0
- vrchatapi/models/decline_group_invite_request.py +211 -0
- vrchatapi/models/developer_type.py +39 -0
- vrchatapi/models/disable2_fa_result.py +211 -0
- vrchatapi/models/discord_details.py +216 -0
- vrchatapi/models/dynamic_content_row.py +276 -0
- vrchatapi/models/earnings_metrics.py +248 -0
- vrchatapi/models/earnings_metrics_totals.py +267 -0
- vrchatapi/models/economy_account.py +360 -0
- vrchatapi/models/economy_balances.py +221 -0
- vrchatapi/models/economy_payout.py +385 -0
- vrchatapi/models/economy_payout_eligibility.py +263 -0
- vrchatapi/models/economy_payout_list.py +219 -0
- vrchatapi/models/economy_payout_status.py +295 -0
- vrchatapi/models/equip_inventory_item_request.py +235 -0
- vrchatapi/models/error.py +215 -0
- vrchatapi/models/favorite.py +251 -0
- vrchatapi/models/favorite_group.py +278 -0
- vrchatapi/models/favorite_group_limits.py +249 -0
- vrchatapi/models/favorite_group_visibility.py +38 -0
- vrchatapi/models/favorite_limits.py +265 -0
- vrchatapi/models/favorite_type.py +39 -0
- vrchatapi/models/favorited_world.py +441 -0
- vrchatapi/models/feedback.py +331 -0
- vrchatapi/models/file.py +325 -0
- vrchatapi/models/file_analysis.py +281 -0
- vrchatapi/models/file_analysis_avatar_stats.py +575 -0
- vrchatapi/models/file_data.py +279 -0
- vrchatapi/models/file_status.py +39 -0
- vrchatapi/models/file_upload_url.py +212 -0
- vrchatapi/models/file_version.py +254 -0
- vrchatapi/models/file_version_upload_status.py +269 -0
- vrchatapi/models/finish_file_data_upload_request.py +248 -0
- vrchatapi/models/follow_calendar_event_request.py +234 -0
- vrchatapi/models/friend_status.py +250 -0
- vrchatapi/models/get_group_posts200_response.py +219 -0
- vrchatapi/models/get_user_group_instances200_response.py +248 -0
- vrchatapi/models/group.py +514 -0
- vrchatapi/models/group_access_type.py +38 -0
- vrchatapi/models/group_announcement.py +315 -0
- vrchatapi/models/group_audit_log_entry.py +287 -0
- vrchatapi/models/group_gallery.py +319 -0
- vrchatapi/models/group_gallery_file_order.py +211 -0
- vrchatapi/models/group_gallery_file_order_request.py +239 -0
- vrchatapi/models/group_gallery_image.py +301 -0
- vrchatapi/models/group_instance.py +257 -0
- vrchatapi/models/group_join_request_action.py +37 -0
- vrchatapi/models/group_join_state.py +39 -0
- vrchatapi/models/group_member.py +415 -0
- vrchatapi/models/group_member_limited_user.py +290 -0
- vrchatapi/models/group_member_status.py +41 -0
- vrchatapi/models/group_my_member.py +399 -0
- vrchatapi/models/group_permission.py +260 -0
- vrchatapi/models/group_permissions.py +63 -0
- vrchatapi/models/group_post.py +317 -0
- vrchatapi/models/group_post_visibility.py +37 -0
- vrchatapi/models/group_privacy.py +37 -0
- vrchatapi/models/group_role.py +309 -0
- vrchatapi/models/group_role_template.py +39 -0
- vrchatapi/models/group_role_template_values.py +254 -0
- vrchatapi/models/group_role_template_values_roles.py +253 -0
- vrchatapi/models/group_search_sort.py +37 -0
- vrchatapi/models/group_transferable.py +215 -0
- vrchatapi/models/group_transferable_requirements.py +266 -0
- vrchatapi/models/group_user_visibility.py +38 -0
- vrchatapi/models/image_animation_style.py +62 -0
- vrchatapi/models/image_loop_style.py +37 -0
- vrchatapi/models/image_mask.py +41 -0
- vrchatapi/models/image_purpose.py +46 -0
- vrchatapi/models/info_push.py +306 -0
- vrchatapi/models/info_push_data.py +288 -0
- vrchatapi/models/info_push_data_article.py +215 -0
- vrchatapi/models/info_push_data_article_content.py +251 -0
- vrchatapi/models/info_push_data_clickable.py +224 -0
- vrchatapi/models/instance.py +597 -0
- vrchatapi/models/instance_content_settings.py +236 -0
- vrchatapi/models/instance_platforms.py +222 -0
- vrchatapi/models/instance_region.py +40 -0
- vrchatapi/models/instance_short_name_response.py +248 -0
- vrchatapi/models/instance_type.py +40 -0
- vrchatapi/models/inventory.py +247 -0
- vrchatapi/models/inventory_consumption_results.py +255 -0
- vrchatapi/models/inventory_default_attributes_value.py +243 -0
- vrchatapi/models/inventory_default_attributes_value_validator.py +211 -0
- vrchatapi/models/inventory_drop.py +331 -0
- vrchatapi/models/inventory_equip_slot.py +39 -0
- vrchatapi/models/inventory_flag.py +43 -0
- vrchatapi/models/inventory_item.py +420 -0
- vrchatapi/models/inventory_item_type.py +42 -0
- vrchatapi/models/inventory_metadata.py +287 -0
- vrchatapi/models/inventory_notification_details.py +244 -0
- vrchatapi/models/inventory_spawn.py +216 -0
- vrchatapi/models/inventory_template.py +351 -0
- vrchatapi/models/inventory_user_attributes.py +250 -0
- vrchatapi/models/invite_message.py +276 -0
- vrchatapi/models/invite_message_type.py +39 -0
- vrchatapi/models/invite_request.py +243 -0
- vrchatapi/models/invite_response.py +235 -0
- vrchatapi/models/jam.py +302 -0
- vrchatapi/models/jam_state_change_dates.py +276 -0
- vrchatapi/models/jam_submission.py +275 -0
- vrchatapi/models/join_group_request.py +234 -0
- vrchatapi/models/license.py +261 -0
- vrchatapi/models/license_action.py +37 -0
- vrchatapi/models/license_group.py +235 -0
- vrchatapi/models/license_type.py +39 -0
- vrchatapi/models/limited_group.py +377 -0
- vrchatapi/models/limited_unity_package.py +251 -0
- vrchatapi/models/limited_user_friend.py +399 -0
- vrchatapi/models/limited_user_groups.py +386 -0
- vrchatapi/models/limited_user_instance.py +430 -0
- vrchatapi/models/limited_user_search.py +395 -0
- vrchatapi/models/limited_world.py +410 -0
- vrchatapi/models/mime_type.py +50 -0
- vrchatapi/models/model_print.py +299 -0
- vrchatapi/models/moderate_user_request.py +217 -0
- vrchatapi/models/moderation_report.py +296 -0
- vrchatapi/models/mutual_friend.py +302 -0
- vrchatapi/models/mutuals.py +217 -0
- vrchatapi/models/notification.py +283 -0
- vrchatapi/models/notification_detail_invite.py +250 -0
- vrchatapi/models/notification_detail_invite_response.py +242 -0
- vrchatapi/models/notification_detail_request_invite.py +239 -0
- vrchatapi/models/notification_detail_request_invite_response.py +242 -0
- vrchatapi/models/notification_detail_vote_to_kick.py +242 -0
- vrchatapi/models/notification_type.py +43 -0
- vrchatapi/models/notification_v2.py +466 -0
- vrchatapi/models/notification_v2_details_boop.py +255 -0
- vrchatapi/models/notification_v2_response.py +259 -0
- vrchatapi/models/notification_v2_type.py +58 -0
- vrchatapi/models/ok_status.py +211 -0
- vrchatapi/models/ok_status2.py +234 -0
- vrchatapi/models/order_option.py +37 -0
- vrchatapi/models/order_option_short.py +37 -0
- vrchatapi/models/paginated_calendar_event_list.py +255 -0
- vrchatapi/models/paginated_group_audit_log_entry_list.py +255 -0
- vrchatapi/models/paginated_moderation_report_list.py +255 -0
- vrchatapi/models/past_display_name.py +241 -0
- vrchatapi/models/pending2_fa_result.py +239 -0
- vrchatapi/models/performance_limiter_info.py +234 -0
- vrchatapi/models/performance_ratings.py +41 -0
- vrchatapi/models/permission.py +280 -0
- vrchatapi/models/permission_data.py +258 -0
- vrchatapi/models/platform_build_info.py +242 -0
- vrchatapi/models/player_moderation.py +276 -0
- vrchatapi/models/player_moderation_type.py +44 -0
- vrchatapi/models/print_files.py +239 -0
- vrchatapi/models/private_profile.py +267 -0
- vrchatapi/models/private_profile_activity.py +292 -0
- vrchatapi/models/product.py +389 -0
- vrchatapi/models/product_listing.py +538 -0
- vrchatapi/models/product_listing_type.py +39 -0
- vrchatapi/models/product_listing_variant.py +272 -0
- vrchatapi/models/product_purchase.py +571 -0
- vrchatapi/models/product_purchase_history.py +256 -0
- vrchatapi/models/product_purchase_location_type.py +46 -0
- vrchatapi/models/product_purchase_product.py +269 -0
- vrchatapi/models/product_purchase_purchase_context.py +250 -0
- vrchatapi/models/product_purchase_record.py +312 -0
- vrchatapi/models/product_type.py +39 -0
- vrchatapi/models/profile_represented_group.py +262 -0
- vrchatapi/models/prop.py +358 -0
- vrchatapi/models/prop_publish_status.py +234 -0
- vrchatapi/models/prop_unity_package.py +269 -0
- vrchatapi/models/public_profile.py +398 -0
- vrchatapi/models/purchase_context_data.py +251 -0
- vrchatapi/models/purchase_product_listing_request.py +281 -0
- vrchatapi/models/region.py +42 -0
- vrchatapi/models/register_user_account_request.py +278 -0
- vrchatapi/models/release_status.py +39 -0
- vrchatapi/models/report_category.py +226 -0
- vrchatapi/models/report_reason.py +216 -0
- vrchatapi/models/represented_group.py +348 -0
- vrchatapi/models/request_invite_request.py +235 -0
- vrchatapi/models/respond_group_join_request.py +217 -0
- vrchatapi/models/respond_notification_v2_request.py +242 -0
- vrchatapi/models/response.py +217 -0
- vrchatapi/models/reward_badge.py +308 -0
- vrchatapi/models/reward_redemption.py +220 -0
- vrchatapi/models/reward_redemption_data.py +224 -0
- vrchatapi/models/reward_redemption_request.py +211 -0
- vrchatapi/models/reward_redemption_result.py +250 -0
- vrchatapi/models/search_group_members200_response.py +224 -0
- vrchatapi/models/seller_eligibility.py +211 -0
- vrchatapi/models/sent_notification.py +278 -0
- vrchatapi/models/service_queue_stats.py +234 -0
- vrchatapi/models/service_status.py +281 -0
- vrchatapi/models/share_inventory_item_direct_request.py +239 -0
- vrchatapi/models/sort_option.py +53 -0
- vrchatapi/models/sort_option_product_purchase.py +36 -0
- vrchatapi/models/store.py +372 -0
- vrchatapi/models/store_context.py +249 -0
- vrchatapi/models/store_shelf.py +304 -0
- vrchatapi/models/store_type.py +38 -0
- vrchatapi/models/store_view.py +40 -0
- vrchatapi/models/submit_moderation_report_request.py +263 -0
- vrchatapi/models/submit_moderation_report_request_details.py +283 -0
- vrchatapi/models/subscription.py +301 -0
- vrchatapi/models/subscription_period.py +40 -0
- vrchatapi/models/success.py +215 -0
- vrchatapi/models/success_flag.py +211 -0
- vrchatapi/models/tilia_kyc.py +246 -0
- vrchatapi/models/tilia_status.py +259 -0
- vrchatapi/models/tilia_tos.py +211 -0
- vrchatapi/models/token_bundle.py +286 -0
- vrchatapi/models/transaction.py +322 -0
- vrchatapi/models/transaction_agreement.py +353 -0
- vrchatapi/models/transaction_status.py +39 -0
- vrchatapi/models/transaction_steam_info.py +271 -0
- vrchatapi/models/transaction_steam_wallet_info.py +227 -0
- vrchatapi/models/transfer_group_request.py +234 -0
- vrchatapi/models/tutorial_status.py +255 -0
- vrchatapi/models/two_factor_auth_code.py +211 -0
- vrchatapi/models/two_factor_email_code.py +211 -0
- vrchatapi/models/two_factor_recovery_codes.py +247 -0
- vrchatapi/models/two_factor_recovery_codes_otp_inner.py +216 -0
- vrchatapi/models/unity_package.py +360 -0
- vrchatapi/models/update_asset_review_notes_request.py +234 -0
- vrchatapi/models/update_avatar_request.py +293 -0
- vrchatapi/models/update_calendar_event_request.py +365 -0
- vrchatapi/models/update_favorite_group_request.py +246 -0
- vrchatapi/models/update_group_gallery_request.py +297 -0
- vrchatapi/models/update_group_member_request.py +256 -0
- vrchatapi/models/update_group_representation_request.py +234 -0
- vrchatapi/models/update_group_request.py +300 -0
- vrchatapi/models/update_group_role_request.py +255 -0
- vrchatapi/models/update_inventory_item_request.py +254 -0
- vrchatapi/models/update_invite_message_request.py +211 -0
- vrchatapi/models/update_listing_request.py +211 -0
- vrchatapi/models/update_product_request.py +261 -0
- vrchatapi/models/update_prop_request.py +303 -0
- vrchatapi/models/update_tilia_tos_request.py +211 -0
- vrchatapi/models/update_user_badge_request.py +216 -0
- vrchatapi/models/update_user_note_request.py +239 -0
- vrchatapi/models/update_user_request.py +358 -0
- vrchatapi/models/update_world_request.py +317 -0
- vrchatapi/models/user.py +549 -0
- vrchatapi/models/user_credits_eligible.py +216 -0
- vrchatapi/models/user_exists.py +242 -0
- vrchatapi/models/user_note.py +273 -0
- vrchatapi/models/user_note_target_user.py +277 -0
- vrchatapi/models/user_state.py +38 -0
- vrchatapi/models/user_status.py +40 -0
- vrchatapi/models/user_subscription.py +330 -0
- vrchatapi/models/user_subscription_eligible.py +274 -0
- vrchatapi/models/verify2_fa_email_code_result.py +211 -0
- vrchatapi/models/verify2_fa_result.py +216 -0
- vrchatapi/models/verify_auth_token_result.py +217 -0
- vrchatapi/models/world.py +459 -0
- vrchatapi/models/world_metadata.py +216 -0
- vrchatapi/models/world_publish_status.py +234 -0
- vrchatapi/py.typed +0 -0
- vrchatapi/rest.py +303 -0
- vrchatapi_async-1.20.8.dev1.dist-info/METADATA +137 -0
- vrchatapi_async-1.20.8.dev1.dist-info/RECORD +362 -0
- vrchatapi_async-1.20.8.dev1.dist-info/WHEEL +5 -0
- vrchatapi_async-1.20.8.dev1.dist-info/licenses/LICENSE +21 -0
- vrchatapi_async-1.20.8.dev1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1478 @@
|
|
|
1
|
+
"""
|
|
2
|
+
VRChat API Documentation
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
The version of the OpenAPI document: 1.20.8
|
|
6
|
+
Contact: vrchatapi.lpv0t@aries.fyi
|
|
7
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
+
|
|
9
|
+
Do not edit the class manually.
|
|
10
|
+
""" # noqa: E501
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
import warnings
|
|
14
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
15
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
16
|
+
from typing_extensions import Annotated
|
|
17
|
+
|
|
18
|
+
from datetime import datetime
|
|
19
|
+
from pydantic import Field, StrictBytes, StrictStr
|
|
20
|
+
from typing import List, Optional, Tuple, Union
|
|
21
|
+
from typing_extensions import Annotated
|
|
22
|
+
from vrchatapi.models.model_print import ModelPrint
|
|
23
|
+
|
|
24
|
+
from vrchatapi.api_client import ApiClient, RequestSerialized
|
|
25
|
+
from vrchatapi.api_response import ApiResponse
|
|
26
|
+
from vrchatapi.rest import RESTResponseType
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class PrintsApi:
|
|
30
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
31
|
+
Ref: https://openapi-generator.tech
|
|
32
|
+
|
|
33
|
+
Do not edit the class manually.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
def __init__(self, api_client=None) -> None:
|
|
37
|
+
if api_client is None:
|
|
38
|
+
api_client = ApiClient.get_default()
|
|
39
|
+
self.api_client = api_client
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@validate_call
|
|
43
|
+
async def delete_print(
|
|
44
|
+
self,
|
|
45
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
46
|
+
_request_timeout: Union[
|
|
47
|
+
None,
|
|
48
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
49
|
+
Tuple[
|
|
50
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
52
|
+
]
|
|
53
|
+
] = None,
|
|
54
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
55
|
+
_content_type: Optional[StrictStr] = None,
|
|
56
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
57
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
58
|
+
) -> None:
|
|
59
|
+
"""Delete Print
|
|
60
|
+
|
|
61
|
+
Returns a print.
|
|
62
|
+
|
|
63
|
+
:param print_id: Print ID. (required)
|
|
64
|
+
:type print_id: str
|
|
65
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
66
|
+
number provided, it will be total request
|
|
67
|
+
timeout. It can also be a pair (tuple) of
|
|
68
|
+
(connection, read) timeouts.
|
|
69
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
70
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
71
|
+
request; this effectively ignores the
|
|
72
|
+
authentication in the spec for a single request.
|
|
73
|
+
:type _request_auth: dict, optional
|
|
74
|
+
:param _content_type: force content-type for the request.
|
|
75
|
+
:type _content_type: str, Optional
|
|
76
|
+
:param _headers: set to override the headers for a single
|
|
77
|
+
request; this effectively ignores the headers
|
|
78
|
+
in the spec for a single request.
|
|
79
|
+
:type _headers: dict, optional
|
|
80
|
+
:param _host_index: set to override the host_index for a single
|
|
81
|
+
request; this effectively ignores the host_index
|
|
82
|
+
in the spec for a single request.
|
|
83
|
+
:type _host_index: int, optional
|
|
84
|
+
:return: Returns the result object.
|
|
85
|
+
""" # noqa: E501
|
|
86
|
+
|
|
87
|
+
_param = self._delete_print_serialize(
|
|
88
|
+
print_id=print_id,
|
|
89
|
+
_request_auth=_request_auth,
|
|
90
|
+
_content_type=_content_type,
|
|
91
|
+
_headers=_headers,
|
|
92
|
+
_host_index=_host_index
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
96
|
+
'200': None,
|
|
97
|
+
'401': "Error",
|
|
98
|
+
}
|
|
99
|
+
response_data = await self.api_client.call_api(
|
|
100
|
+
*_param,
|
|
101
|
+
_request_timeout=_request_timeout
|
|
102
|
+
)
|
|
103
|
+
await response_data.read()
|
|
104
|
+
return self.api_client.response_deserialize(
|
|
105
|
+
response_data=response_data,
|
|
106
|
+
response_types_map=_response_types_map,
|
|
107
|
+
).data
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
@validate_call
|
|
111
|
+
async def delete_print_with_http_info(
|
|
112
|
+
self,
|
|
113
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
114
|
+
_request_timeout: Union[
|
|
115
|
+
None,
|
|
116
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
117
|
+
Tuple[
|
|
118
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
119
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
120
|
+
]
|
|
121
|
+
] = None,
|
|
122
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
123
|
+
_content_type: Optional[StrictStr] = None,
|
|
124
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
125
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
126
|
+
) -> ApiResponse[None]:
|
|
127
|
+
"""Delete Print
|
|
128
|
+
|
|
129
|
+
Returns a print.
|
|
130
|
+
|
|
131
|
+
:param print_id: Print ID. (required)
|
|
132
|
+
:type print_id: str
|
|
133
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
134
|
+
number provided, it will be total request
|
|
135
|
+
timeout. It can also be a pair (tuple) of
|
|
136
|
+
(connection, read) timeouts.
|
|
137
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
138
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
139
|
+
request; this effectively ignores the
|
|
140
|
+
authentication in the spec for a single request.
|
|
141
|
+
:type _request_auth: dict, optional
|
|
142
|
+
:param _content_type: force content-type for the request.
|
|
143
|
+
:type _content_type: str, Optional
|
|
144
|
+
:param _headers: set to override the headers for a single
|
|
145
|
+
request; this effectively ignores the headers
|
|
146
|
+
in the spec for a single request.
|
|
147
|
+
:type _headers: dict, optional
|
|
148
|
+
:param _host_index: set to override the host_index for a single
|
|
149
|
+
request; this effectively ignores the host_index
|
|
150
|
+
in the spec for a single request.
|
|
151
|
+
:type _host_index: int, optional
|
|
152
|
+
:return: Returns the result object.
|
|
153
|
+
""" # noqa: E501
|
|
154
|
+
|
|
155
|
+
_param = self._delete_print_serialize(
|
|
156
|
+
print_id=print_id,
|
|
157
|
+
_request_auth=_request_auth,
|
|
158
|
+
_content_type=_content_type,
|
|
159
|
+
_headers=_headers,
|
|
160
|
+
_host_index=_host_index
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
164
|
+
'200': None,
|
|
165
|
+
'401': "Error",
|
|
166
|
+
}
|
|
167
|
+
response_data = await self.api_client.call_api(
|
|
168
|
+
*_param,
|
|
169
|
+
_request_timeout=_request_timeout
|
|
170
|
+
)
|
|
171
|
+
await response_data.read()
|
|
172
|
+
return self.api_client.response_deserialize(
|
|
173
|
+
response_data=response_data,
|
|
174
|
+
response_types_map=_response_types_map,
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
@validate_call
|
|
179
|
+
async def delete_print_without_preload_content(
|
|
180
|
+
self,
|
|
181
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
182
|
+
_request_timeout: Union[
|
|
183
|
+
None,
|
|
184
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
185
|
+
Tuple[
|
|
186
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
187
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
188
|
+
]
|
|
189
|
+
] = None,
|
|
190
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
191
|
+
_content_type: Optional[StrictStr] = None,
|
|
192
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
193
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
194
|
+
) -> RESTResponseType:
|
|
195
|
+
"""Delete Print
|
|
196
|
+
|
|
197
|
+
Returns a print.
|
|
198
|
+
|
|
199
|
+
:param print_id: Print ID. (required)
|
|
200
|
+
:type print_id: str
|
|
201
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
202
|
+
number provided, it will be total request
|
|
203
|
+
timeout. It can also be a pair (tuple) of
|
|
204
|
+
(connection, read) timeouts.
|
|
205
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
206
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
207
|
+
request; this effectively ignores the
|
|
208
|
+
authentication in the spec for a single request.
|
|
209
|
+
:type _request_auth: dict, optional
|
|
210
|
+
:param _content_type: force content-type for the request.
|
|
211
|
+
:type _content_type: str, Optional
|
|
212
|
+
:param _headers: set to override the headers for a single
|
|
213
|
+
request; this effectively ignores the headers
|
|
214
|
+
in the spec for a single request.
|
|
215
|
+
:type _headers: dict, optional
|
|
216
|
+
:param _host_index: set to override the host_index for a single
|
|
217
|
+
request; this effectively ignores the host_index
|
|
218
|
+
in the spec for a single request.
|
|
219
|
+
:type _host_index: int, optional
|
|
220
|
+
:return: Returns the result object.
|
|
221
|
+
""" # noqa: E501
|
|
222
|
+
|
|
223
|
+
_param = self._delete_print_serialize(
|
|
224
|
+
print_id=print_id,
|
|
225
|
+
_request_auth=_request_auth,
|
|
226
|
+
_content_type=_content_type,
|
|
227
|
+
_headers=_headers,
|
|
228
|
+
_host_index=_host_index
|
|
229
|
+
)
|
|
230
|
+
|
|
231
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
232
|
+
'200': None,
|
|
233
|
+
'401': "Error",
|
|
234
|
+
}
|
|
235
|
+
response_data = await self.api_client.call_api(
|
|
236
|
+
*_param,
|
|
237
|
+
_request_timeout=_request_timeout
|
|
238
|
+
)
|
|
239
|
+
return response_data.response
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
def _delete_print_serialize(
|
|
243
|
+
self,
|
|
244
|
+
print_id,
|
|
245
|
+
_request_auth,
|
|
246
|
+
_content_type,
|
|
247
|
+
_headers,
|
|
248
|
+
_host_index,
|
|
249
|
+
) -> RequestSerialized:
|
|
250
|
+
|
|
251
|
+
_host = None
|
|
252
|
+
|
|
253
|
+
_collection_formats: Dict[str, str] = {
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
_path_params: Dict[str, str] = {}
|
|
257
|
+
_query_params: List[Tuple[str, str]] = []
|
|
258
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
259
|
+
_form_params: List[Tuple[str, str]] = []
|
|
260
|
+
_files: Dict[
|
|
261
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
262
|
+
] = {}
|
|
263
|
+
_body_params: Optional[bytes] = None
|
|
264
|
+
|
|
265
|
+
# process the path parameters
|
|
266
|
+
if print_id is not None:
|
|
267
|
+
_path_params['printId'] = print_id
|
|
268
|
+
# process the query parameters
|
|
269
|
+
# process the header parameters
|
|
270
|
+
# process the form parameters
|
|
271
|
+
# process the body parameter
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
# set the HTTP header `Accept`
|
|
275
|
+
if 'Accept' not in _header_params:
|
|
276
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
277
|
+
[
|
|
278
|
+
'application/json'
|
|
279
|
+
]
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
# authentication setting
|
|
284
|
+
_auth_settings: List[str] = [
|
|
285
|
+
'authCookie'
|
|
286
|
+
]
|
|
287
|
+
|
|
288
|
+
return self.api_client.param_serialize(
|
|
289
|
+
method='DELETE',
|
|
290
|
+
resource_path='/prints/{printId}',
|
|
291
|
+
path_params=_path_params,
|
|
292
|
+
query_params=_query_params,
|
|
293
|
+
header_params=_header_params,
|
|
294
|
+
body=_body_params,
|
|
295
|
+
post_params=_form_params,
|
|
296
|
+
files=_files,
|
|
297
|
+
auth_settings=_auth_settings,
|
|
298
|
+
collection_formats=_collection_formats,
|
|
299
|
+
_host=_host,
|
|
300
|
+
_request_auth=_request_auth
|
|
301
|
+
)
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
@validate_call
|
|
307
|
+
async def edit_print(
|
|
308
|
+
self,
|
|
309
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
310
|
+
image: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The binary blob of the png file.")],
|
|
311
|
+
note: Annotated[Optional[StrictStr], Field(description="The caption for the image.")] = None,
|
|
312
|
+
_request_timeout: Union[
|
|
313
|
+
None,
|
|
314
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
315
|
+
Tuple[
|
|
316
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
317
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
318
|
+
]
|
|
319
|
+
] = None,
|
|
320
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
321
|
+
_content_type: Optional[StrictStr] = None,
|
|
322
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
323
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
324
|
+
) -> ModelPrint:
|
|
325
|
+
"""Edit Print
|
|
326
|
+
|
|
327
|
+
Edits a print.
|
|
328
|
+
|
|
329
|
+
:param print_id: Print ID. (required)
|
|
330
|
+
:type print_id: str
|
|
331
|
+
:param image: The binary blob of the png file. (required)
|
|
332
|
+
:type image: bytes
|
|
333
|
+
:param note: The caption for the image.
|
|
334
|
+
:type note: str
|
|
335
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
336
|
+
number provided, it will be total request
|
|
337
|
+
timeout. It can also be a pair (tuple) of
|
|
338
|
+
(connection, read) timeouts.
|
|
339
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
340
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
341
|
+
request; this effectively ignores the
|
|
342
|
+
authentication in the spec for a single request.
|
|
343
|
+
:type _request_auth: dict, optional
|
|
344
|
+
:param _content_type: force content-type for the request.
|
|
345
|
+
:type _content_type: str, Optional
|
|
346
|
+
:param _headers: set to override the headers for a single
|
|
347
|
+
request; this effectively ignores the headers
|
|
348
|
+
in the spec for a single request.
|
|
349
|
+
:type _headers: dict, optional
|
|
350
|
+
:param _host_index: set to override the host_index for a single
|
|
351
|
+
request; this effectively ignores the host_index
|
|
352
|
+
in the spec for a single request.
|
|
353
|
+
:type _host_index: int, optional
|
|
354
|
+
:return: Returns the result object.
|
|
355
|
+
""" # noqa: E501
|
|
356
|
+
|
|
357
|
+
_param = self._edit_print_serialize(
|
|
358
|
+
print_id=print_id,
|
|
359
|
+
image=image,
|
|
360
|
+
note=note,
|
|
361
|
+
_request_auth=_request_auth,
|
|
362
|
+
_content_type=_content_type,
|
|
363
|
+
_headers=_headers,
|
|
364
|
+
_host_index=_host_index
|
|
365
|
+
)
|
|
366
|
+
|
|
367
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
368
|
+
'200': "ModelPrint",
|
|
369
|
+
'401': "Error",
|
|
370
|
+
}
|
|
371
|
+
response_data = await self.api_client.call_api(
|
|
372
|
+
*_param,
|
|
373
|
+
_request_timeout=_request_timeout
|
|
374
|
+
)
|
|
375
|
+
await response_data.read()
|
|
376
|
+
return self.api_client.response_deserialize(
|
|
377
|
+
response_data=response_data,
|
|
378
|
+
response_types_map=_response_types_map,
|
|
379
|
+
).data
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
@validate_call
|
|
383
|
+
async def edit_print_with_http_info(
|
|
384
|
+
self,
|
|
385
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
386
|
+
image: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The binary blob of the png file.")],
|
|
387
|
+
note: Annotated[Optional[StrictStr], Field(description="The caption for the image.")] = None,
|
|
388
|
+
_request_timeout: Union[
|
|
389
|
+
None,
|
|
390
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
391
|
+
Tuple[
|
|
392
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
393
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
394
|
+
]
|
|
395
|
+
] = None,
|
|
396
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
397
|
+
_content_type: Optional[StrictStr] = None,
|
|
398
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
399
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
400
|
+
) -> ApiResponse[ModelPrint]:
|
|
401
|
+
"""Edit Print
|
|
402
|
+
|
|
403
|
+
Edits a print.
|
|
404
|
+
|
|
405
|
+
:param print_id: Print ID. (required)
|
|
406
|
+
:type print_id: str
|
|
407
|
+
:param image: The binary blob of the png file. (required)
|
|
408
|
+
:type image: bytes
|
|
409
|
+
:param note: The caption for the image.
|
|
410
|
+
:type note: str
|
|
411
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
412
|
+
number provided, it will be total request
|
|
413
|
+
timeout. It can also be a pair (tuple) of
|
|
414
|
+
(connection, read) timeouts.
|
|
415
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
416
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
417
|
+
request; this effectively ignores the
|
|
418
|
+
authentication in the spec for a single request.
|
|
419
|
+
:type _request_auth: dict, optional
|
|
420
|
+
:param _content_type: force content-type for the request.
|
|
421
|
+
:type _content_type: str, Optional
|
|
422
|
+
:param _headers: set to override the headers for a single
|
|
423
|
+
request; this effectively ignores the headers
|
|
424
|
+
in the spec for a single request.
|
|
425
|
+
:type _headers: dict, optional
|
|
426
|
+
:param _host_index: set to override the host_index for a single
|
|
427
|
+
request; this effectively ignores the host_index
|
|
428
|
+
in the spec for a single request.
|
|
429
|
+
:type _host_index: int, optional
|
|
430
|
+
:return: Returns the result object.
|
|
431
|
+
""" # noqa: E501
|
|
432
|
+
|
|
433
|
+
_param = self._edit_print_serialize(
|
|
434
|
+
print_id=print_id,
|
|
435
|
+
image=image,
|
|
436
|
+
note=note,
|
|
437
|
+
_request_auth=_request_auth,
|
|
438
|
+
_content_type=_content_type,
|
|
439
|
+
_headers=_headers,
|
|
440
|
+
_host_index=_host_index
|
|
441
|
+
)
|
|
442
|
+
|
|
443
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
444
|
+
'200': "ModelPrint",
|
|
445
|
+
'401': "Error",
|
|
446
|
+
}
|
|
447
|
+
response_data = await self.api_client.call_api(
|
|
448
|
+
*_param,
|
|
449
|
+
_request_timeout=_request_timeout
|
|
450
|
+
)
|
|
451
|
+
await response_data.read()
|
|
452
|
+
return self.api_client.response_deserialize(
|
|
453
|
+
response_data=response_data,
|
|
454
|
+
response_types_map=_response_types_map,
|
|
455
|
+
)
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
@validate_call
|
|
459
|
+
async def edit_print_without_preload_content(
|
|
460
|
+
self,
|
|
461
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
462
|
+
image: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The binary blob of the png file.")],
|
|
463
|
+
note: Annotated[Optional[StrictStr], Field(description="The caption for the image.")] = None,
|
|
464
|
+
_request_timeout: Union[
|
|
465
|
+
None,
|
|
466
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
467
|
+
Tuple[
|
|
468
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
469
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
470
|
+
]
|
|
471
|
+
] = None,
|
|
472
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
473
|
+
_content_type: Optional[StrictStr] = None,
|
|
474
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
475
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
476
|
+
) -> RESTResponseType:
|
|
477
|
+
"""Edit Print
|
|
478
|
+
|
|
479
|
+
Edits a print.
|
|
480
|
+
|
|
481
|
+
:param print_id: Print ID. (required)
|
|
482
|
+
:type print_id: str
|
|
483
|
+
:param image: The binary blob of the png file. (required)
|
|
484
|
+
:type image: bytes
|
|
485
|
+
:param note: The caption for the image.
|
|
486
|
+
:type note: str
|
|
487
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
488
|
+
number provided, it will be total request
|
|
489
|
+
timeout. It can also be a pair (tuple) of
|
|
490
|
+
(connection, read) timeouts.
|
|
491
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
492
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
493
|
+
request; this effectively ignores the
|
|
494
|
+
authentication in the spec for a single request.
|
|
495
|
+
:type _request_auth: dict, optional
|
|
496
|
+
:param _content_type: force content-type for the request.
|
|
497
|
+
:type _content_type: str, Optional
|
|
498
|
+
:param _headers: set to override the headers for a single
|
|
499
|
+
request; this effectively ignores the headers
|
|
500
|
+
in the spec for a single request.
|
|
501
|
+
:type _headers: dict, optional
|
|
502
|
+
:param _host_index: set to override the host_index for a single
|
|
503
|
+
request; this effectively ignores the host_index
|
|
504
|
+
in the spec for a single request.
|
|
505
|
+
:type _host_index: int, optional
|
|
506
|
+
:return: Returns the result object.
|
|
507
|
+
""" # noqa: E501
|
|
508
|
+
|
|
509
|
+
_param = self._edit_print_serialize(
|
|
510
|
+
print_id=print_id,
|
|
511
|
+
image=image,
|
|
512
|
+
note=note,
|
|
513
|
+
_request_auth=_request_auth,
|
|
514
|
+
_content_type=_content_type,
|
|
515
|
+
_headers=_headers,
|
|
516
|
+
_host_index=_host_index
|
|
517
|
+
)
|
|
518
|
+
|
|
519
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
520
|
+
'200': "ModelPrint",
|
|
521
|
+
'401': "Error",
|
|
522
|
+
}
|
|
523
|
+
response_data = await self.api_client.call_api(
|
|
524
|
+
*_param,
|
|
525
|
+
_request_timeout=_request_timeout
|
|
526
|
+
)
|
|
527
|
+
return response_data.response
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
def _edit_print_serialize(
|
|
531
|
+
self,
|
|
532
|
+
print_id,
|
|
533
|
+
image,
|
|
534
|
+
note,
|
|
535
|
+
_request_auth,
|
|
536
|
+
_content_type,
|
|
537
|
+
_headers,
|
|
538
|
+
_host_index,
|
|
539
|
+
) -> RequestSerialized:
|
|
540
|
+
|
|
541
|
+
_host = None
|
|
542
|
+
|
|
543
|
+
_collection_formats: Dict[str, str] = {
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
_path_params: Dict[str, str] = {}
|
|
547
|
+
_query_params: List[Tuple[str, str]] = []
|
|
548
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
549
|
+
_form_params: List[Tuple[str, str]] = []
|
|
550
|
+
_files: Dict[
|
|
551
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
552
|
+
] = {}
|
|
553
|
+
_body_params: Optional[bytes] = None
|
|
554
|
+
|
|
555
|
+
# process the path parameters
|
|
556
|
+
if print_id is not None:
|
|
557
|
+
_path_params['printId'] = print_id
|
|
558
|
+
# process the query parameters
|
|
559
|
+
# process the header parameters
|
|
560
|
+
# process the form parameters
|
|
561
|
+
if image is not None:
|
|
562
|
+
_files['image'] = image
|
|
563
|
+
if note is not None:
|
|
564
|
+
_form_params.append(('note', note))
|
|
565
|
+
# process the body parameter
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
# set the HTTP header `Accept`
|
|
569
|
+
if 'Accept' not in _header_params:
|
|
570
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
571
|
+
[
|
|
572
|
+
'application/json'
|
|
573
|
+
]
|
|
574
|
+
)
|
|
575
|
+
|
|
576
|
+
# set the HTTP header `Content-Type`
|
|
577
|
+
if _content_type:
|
|
578
|
+
_header_params['Content-Type'] = _content_type
|
|
579
|
+
else:
|
|
580
|
+
_default_content_type = (
|
|
581
|
+
self.api_client.select_header_content_type(
|
|
582
|
+
[
|
|
583
|
+
'multipart/form-data'
|
|
584
|
+
]
|
|
585
|
+
)
|
|
586
|
+
)
|
|
587
|
+
if _default_content_type is not None:
|
|
588
|
+
_header_params['Content-Type'] = _default_content_type
|
|
589
|
+
|
|
590
|
+
# authentication setting
|
|
591
|
+
_auth_settings: List[str] = [
|
|
592
|
+
'authCookie'
|
|
593
|
+
]
|
|
594
|
+
|
|
595
|
+
return self.api_client.param_serialize(
|
|
596
|
+
method='POST',
|
|
597
|
+
resource_path='/prints/{printId}',
|
|
598
|
+
path_params=_path_params,
|
|
599
|
+
query_params=_query_params,
|
|
600
|
+
header_params=_header_params,
|
|
601
|
+
body=_body_params,
|
|
602
|
+
post_params=_form_params,
|
|
603
|
+
files=_files,
|
|
604
|
+
auth_settings=_auth_settings,
|
|
605
|
+
collection_formats=_collection_formats,
|
|
606
|
+
_host=_host,
|
|
607
|
+
_request_auth=_request_auth
|
|
608
|
+
)
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
@validate_call
|
|
614
|
+
async def get_print(
|
|
615
|
+
self,
|
|
616
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
617
|
+
_request_timeout: Union[
|
|
618
|
+
None,
|
|
619
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
620
|
+
Tuple[
|
|
621
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
622
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
623
|
+
]
|
|
624
|
+
] = None,
|
|
625
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
626
|
+
_content_type: Optional[StrictStr] = None,
|
|
627
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
628
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
629
|
+
) -> ModelPrint:
|
|
630
|
+
"""Get Print
|
|
631
|
+
|
|
632
|
+
Returns a print.
|
|
633
|
+
|
|
634
|
+
:param print_id: Print ID. (required)
|
|
635
|
+
:type print_id: str
|
|
636
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
637
|
+
number provided, it will be total request
|
|
638
|
+
timeout. It can also be a pair (tuple) of
|
|
639
|
+
(connection, read) timeouts.
|
|
640
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
641
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
642
|
+
request; this effectively ignores the
|
|
643
|
+
authentication in the spec for a single request.
|
|
644
|
+
:type _request_auth: dict, optional
|
|
645
|
+
:param _content_type: force content-type for the request.
|
|
646
|
+
:type _content_type: str, Optional
|
|
647
|
+
:param _headers: set to override the headers for a single
|
|
648
|
+
request; this effectively ignores the headers
|
|
649
|
+
in the spec for a single request.
|
|
650
|
+
:type _headers: dict, optional
|
|
651
|
+
:param _host_index: set to override the host_index for a single
|
|
652
|
+
request; this effectively ignores the host_index
|
|
653
|
+
in the spec for a single request.
|
|
654
|
+
:type _host_index: int, optional
|
|
655
|
+
:return: Returns the result object.
|
|
656
|
+
""" # noqa: E501
|
|
657
|
+
|
|
658
|
+
_param = self._get_print_serialize(
|
|
659
|
+
print_id=print_id,
|
|
660
|
+
_request_auth=_request_auth,
|
|
661
|
+
_content_type=_content_type,
|
|
662
|
+
_headers=_headers,
|
|
663
|
+
_host_index=_host_index
|
|
664
|
+
)
|
|
665
|
+
|
|
666
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
667
|
+
'200': "ModelPrint",
|
|
668
|
+
'401': "Error",
|
|
669
|
+
}
|
|
670
|
+
response_data = await self.api_client.call_api(
|
|
671
|
+
*_param,
|
|
672
|
+
_request_timeout=_request_timeout
|
|
673
|
+
)
|
|
674
|
+
await response_data.read()
|
|
675
|
+
return self.api_client.response_deserialize(
|
|
676
|
+
response_data=response_data,
|
|
677
|
+
response_types_map=_response_types_map,
|
|
678
|
+
).data
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
@validate_call
|
|
682
|
+
async def get_print_with_http_info(
|
|
683
|
+
self,
|
|
684
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
685
|
+
_request_timeout: Union[
|
|
686
|
+
None,
|
|
687
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
688
|
+
Tuple[
|
|
689
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
690
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
691
|
+
]
|
|
692
|
+
] = None,
|
|
693
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
694
|
+
_content_type: Optional[StrictStr] = None,
|
|
695
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
696
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
697
|
+
) -> ApiResponse[ModelPrint]:
|
|
698
|
+
"""Get Print
|
|
699
|
+
|
|
700
|
+
Returns a print.
|
|
701
|
+
|
|
702
|
+
:param print_id: Print ID. (required)
|
|
703
|
+
:type print_id: str
|
|
704
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
705
|
+
number provided, it will be total request
|
|
706
|
+
timeout. It can also be a pair (tuple) of
|
|
707
|
+
(connection, read) timeouts.
|
|
708
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
709
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
710
|
+
request; this effectively ignores the
|
|
711
|
+
authentication in the spec for a single request.
|
|
712
|
+
:type _request_auth: dict, optional
|
|
713
|
+
:param _content_type: force content-type for the request.
|
|
714
|
+
:type _content_type: str, Optional
|
|
715
|
+
:param _headers: set to override the headers for a single
|
|
716
|
+
request; this effectively ignores the headers
|
|
717
|
+
in the spec for a single request.
|
|
718
|
+
:type _headers: dict, optional
|
|
719
|
+
:param _host_index: set to override the host_index for a single
|
|
720
|
+
request; this effectively ignores the host_index
|
|
721
|
+
in the spec for a single request.
|
|
722
|
+
:type _host_index: int, optional
|
|
723
|
+
:return: Returns the result object.
|
|
724
|
+
""" # noqa: E501
|
|
725
|
+
|
|
726
|
+
_param = self._get_print_serialize(
|
|
727
|
+
print_id=print_id,
|
|
728
|
+
_request_auth=_request_auth,
|
|
729
|
+
_content_type=_content_type,
|
|
730
|
+
_headers=_headers,
|
|
731
|
+
_host_index=_host_index
|
|
732
|
+
)
|
|
733
|
+
|
|
734
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
735
|
+
'200': "ModelPrint",
|
|
736
|
+
'401': "Error",
|
|
737
|
+
}
|
|
738
|
+
response_data = await self.api_client.call_api(
|
|
739
|
+
*_param,
|
|
740
|
+
_request_timeout=_request_timeout
|
|
741
|
+
)
|
|
742
|
+
await response_data.read()
|
|
743
|
+
return self.api_client.response_deserialize(
|
|
744
|
+
response_data=response_data,
|
|
745
|
+
response_types_map=_response_types_map,
|
|
746
|
+
)
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
@validate_call
|
|
750
|
+
async def get_print_without_preload_content(
|
|
751
|
+
self,
|
|
752
|
+
print_id: Annotated[StrictStr, Field(description="Print ID.")],
|
|
753
|
+
_request_timeout: Union[
|
|
754
|
+
None,
|
|
755
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
756
|
+
Tuple[
|
|
757
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
758
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
759
|
+
]
|
|
760
|
+
] = None,
|
|
761
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
762
|
+
_content_type: Optional[StrictStr] = None,
|
|
763
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
764
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
765
|
+
) -> RESTResponseType:
|
|
766
|
+
"""Get Print
|
|
767
|
+
|
|
768
|
+
Returns a print.
|
|
769
|
+
|
|
770
|
+
:param print_id: Print ID. (required)
|
|
771
|
+
:type print_id: str
|
|
772
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
773
|
+
number provided, it will be total request
|
|
774
|
+
timeout. It can also be a pair (tuple) of
|
|
775
|
+
(connection, read) timeouts.
|
|
776
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
777
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
778
|
+
request; this effectively ignores the
|
|
779
|
+
authentication in the spec for a single request.
|
|
780
|
+
:type _request_auth: dict, optional
|
|
781
|
+
:param _content_type: force content-type for the request.
|
|
782
|
+
:type _content_type: str, Optional
|
|
783
|
+
:param _headers: set to override the headers for a single
|
|
784
|
+
request; this effectively ignores the headers
|
|
785
|
+
in the spec for a single request.
|
|
786
|
+
:type _headers: dict, optional
|
|
787
|
+
:param _host_index: set to override the host_index for a single
|
|
788
|
+
request; this effectively ignores the host_index
|
|
789
|
+
in the spec for a single request.
|
|
790
|
+
:type _host_index: int, optional
|
|
791
|
+
:return: Returns the result object.
|
|
792
|
+
""" # noqa: E501
|
|
793
|
+
|
|
794
|
+
_param = self._get_print_serialize(
|
|
795
|
+
print_id=print_id,
|
|
796
|
+
_request_auth=_request_auth,
|
|
797
|
+
_content_type=_content_type,
|
|
798
|
+
_headers=_headers,
|
|
799
|
+
_host_index=_host_index
|
|
800
|
+
)
|
|
801
|
+
|
|
802
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
803
|
+
'200': "ModelPrint",
|
|
804
|
+
'401': "Error",
|
|
805
|
+
}
|
|
806
|
+
response_data = await self.api_client.call_api(
|
|
807
|
+
*_param,
|
|
808
|
+
_request_timeout=_request_timeout
|
|
809
|
+
)
|
|
810
|
+
return response_data.response
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
def _get_print_serialize(
|
|
814
|
+
self,
|
|
815
|
+
print_id,
|
|
816
|
+
_request_auth,
|
|
817
|
+
_content_type,
|
|
818
|
+
_headers,
|
|
819
|
+
_host_index,
|
|
820
|
+
) -> RequestSerialized:
|
|
821
|
+
|
|
822
|
+
_host = None
|
|
823
|
+
|
|
824
|
+
_collection_formats: Dict[str, str] = {
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
_path_params: Dict[str, str] = {}
|
|
828
|
+
_query_params: List[Tuple[str, str]] = []
|
|
829
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
830
|
+
_form_params: List[Tuple[str, str]] = []
|
|
831
|
+
_files: Dict[
|
|
832
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
833
|
+
] = {}
|
|
834
|
+
_body_params: Optional[bytes] = None
|
|
835
|
+
|
|
836
|
+
# process the path parameters
|
|
837
|
+
if print_id is not None:
|
|
838
|
+
_path_params['printId'] = print_id
|
|
839
|
+
# process the query parameters
|
|
840
|
+
# process the header parameters
|
|
841
|
+
# process the form parameters
|
|
842
|
+
# process the body parameter
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
# set the HTTP header `Accept`
|
|
846
|
+
if 'Accept' not in _header_params:
|
|
847
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
848
|
+
[
|
|
849
|
+
'application/json'
|
|
850
|
+
]
|
|
851
|
+
)
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
# authentication setting
|
|
855
|
+
_auth_settings: List[str] = [
|
|
856
|
+
'authCookie'
|
|
857
|
+
]
|
|
858
|
+
|
|
859
|
+
return self.api_client.param_serialize(
|
|
860
|
+
method='GET',
|
|
861
|
+
resource_path='/prints/{printId}',
|
|
862
|
+
path_params=_path_params,
|
|
863
|
+
query_params=_query_params,
|
|
864
|
+
header_params=_header_params,
|
|
865
|
+
body=_body_params,
|
|
866
|
+
post_params=_form_params,
|
|
867
|
+
files=_files,
|
|
868
|
+
auth_settings=_auth_settings,
|
|
869
|
+
collection_formats=_collection_formats,
|
|
870
|
+
_host=_host,
|
|
871
|
+
_request_auth=_request_auth
|
|
872
|
+
)
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
@validate_call
|
|
878
|
+
async def get_user_prints(
|
|
879
|
+
self,
|
|
880
|
+
user_id: Annotated[StrictStr, Field(description="Must be a valid user ID.")],
|
|
881
|
+
_request_timeout: Union[
|
|
882
|
+
None,
|
|
883
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
884
|
+
Tuple[
|
|
885
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
886
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
887
|
+
]
|
|
888
|
+
] = None,
|
|
889
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
890
|
+
_content_type: Optional[StrictStr] = None,
|
|
891
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
892
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
893
|
+
) -> List[ModelPrint]:
|
|
894
|
+
"""Get Own Prints
|
|
895
|
+
|
|
896
|
+
Returns a list of all prints of the user. User id has to be your own userId, as you can't request other user's prints.
|
|
897
|
+
|
|
898
|
+
:param user_id: Must be a valid user ID. (required)
|
|
899
|
+
:type user_id: str
|
|
900
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
901
|
+
number provided, it will be total request
|
|
902
|
+
timeout. It can also be a pair (tuple) of
|
|
903
|
+
(connection, read) timeouts.
|
|
904
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
905
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
906
|
+
request; this effectively ignores the
|
|
907
|
+
authentication in the spec for a single request.
|
|
908
|
+
:type _request_auth: dict, optional
|
|
909
|
+
:param _content_type: force content-type for the request.
|
|
910
|
+
:type _content_type: str, Optional
|
|
911
|
+
:param _headers: set to override the headers for a single
|
|
912
|
+
request; this effectively ignores the headers
|
|
913
|
+
in the spec for a single request.
|
|
914
|
+
:type _headers: dict, optional
|
|
915
|
+
:param _host_index: set to override the host_index for a single
|
|
916
|
+
request; this effectively ignores the host_index
|
|
917
|
+
in the spec for a single request.
|
|
918
|
+
:type _host_index: int, optional
|
|
919
|
+
:return: Returns the result object.
|
|
920
|
+
""" # noqa: E501
|
|
921
|
+
|
|
922
|
+
_param = self._get_user_prints_serialize(
|
|
923
|
+
user_id=user_id,
|
|
924
|
+
_request_auth=_request_auth,
|
|
925
|
+
_content_type=_content_type,
|
|
926
|
+
_headers=_headers,
|
|
927
|
+
_host_index=_host_index
|
|
928
|
+
)
|
|
929
|
+
|
|
930
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
931
|
+
'200': "List[ModelPrint]",
|
|
932
|
+
'401': "Error",
|
|
933
|
+
'403': "Error",
|
|
934
|
+
}
|
|
935
|
+
response_data = await self.api_client.call_api(
|
|
936
|
+
*_param,
|
|
937
|
+
_request_timeout=_request_timeout
|
|
938
|
+
)
|
|
939
|
+
await response_data.read()
|
|
940
|
+
return self.api_client.response_deserialize(
|
|
941
|
+
response_data=response_data,
|
|
942
|
+
response_types_map=_response_types_map,
|
|
943
|
+
).data
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
@validate_call
|
|
947
|
+
async def get_user_prints_with_http_info(
|
|
948
|
+
self,
|
|
949
|
+
user_id: Annotated[StrictStr, Field(description="Must be a valid user ID.")],
|
|
950
|
+
_request_timeout: Union[
|
|
951
|
+
None,
|
|
952
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
953
|
+
Tuple[
|
|
954
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
955
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
956
|
+
]
|
|
957
|
+
] = None,
|
|
958
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
959
|
+
_content_type: Optional[StrictStr] = None,
|
|
960
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
961
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
962
|
+
) -> ApiResponse[List[ModelPrint]]:
|
|
963
|
+
"""Get Own Prints
|
|
964
|
+
|
|
965
|
+
Returns a list of all prints of the user. User id has to be your own userId, as you can't request other user's prints.
|
|
966
|
+
|
|
967
|
+
:param user_id: Must be a valid user ID. (required)
|
|
968
|
+
:type user_id: str
|
|
969
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
970
|
+
number provided, it will be total request
|
|
971
|
+
timeout. It can also be a pair (tuple) of
|
|
972
|
+
(connection, read) timeouts.
|
|
973
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
974
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
975
|
+
request; this effectively ignores the
|
|
976
|
+
authentication in the spec for a single request.
|
|
977
|
+
:type _request_auth: dict, optional
|
|
978
|
+
:param _content_type: force content-type for the request.
|
|
979
|
+
:type _content_type: str, Optional
|
|
980
|
+
:param _headers: set to override the headers for a single
|
|
981
|
+
request; this effectively ignores the headers
|
|
982
|
+
in the spec for a single request.
|
|
983
|
+
:type _headers: dict, optional
|
|
984
|
+
:param _host_index: set to override the host_index for a single
|
|
985
|
+
request; this effectively ignores the host_index
|
|
986
|
+
in the spec for a single request.
|
|
987
|
+
:type _host_index: int, optional
|
|
988
|
+
:return: Returns the result object.
|
|
989
|
+
""" # noqa: E501
|
|
990
|
+
|
|
991
|
+
_param = self._get_user_prints_serialize(
|
|
992
|
+
user_id=user_id,
|
|
993
|
+
_request_auth=_request_auth,
|
|
994
|
+
_content_type=_content_type,
|
|
995
|
+
_headers=_headers,
|
|
996
|
+
_host_index=_host_index
|
|
997
|
+
)
|
|
998
|
+
|
|
999
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1000
|
+
'200': "List[ModelPrint]",
|
|
1001
|
+
'401': "Error",
|
|
1002
|
+
'403': "Error",
|
|
1003
|
+
}
|
|
1004
|
+
response_data = await self.api_client.call_api(
|
|
1005
|
+
*_param,
|
|
1006
|
+
_request_timeout=_request_timeout
|
|
1007
|
+
)
|
|
1008
|
+
await response_data.read()
|
|
1009
|
+
return self.api_client.response_deserialize(
|
|
1010
|
+
response_data=response_data,
|
|
1011
|
+
response_types_map=_response_types_map,
|
|
1012
|
+
)
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
@validate_call
|
|
1016
|
+
async def get_user_prints_without_preload_content(
|
|
1017
|
+
self,
|
|
1018
|
+
user_id: Annotated[StrictStr, Field(description="Must be a valid user ID.")],
|
|
1019
|
+
_request_timeout: Union[
|
|
1020
|
+
None,
|
|
1021
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1022
|
+
Tuple[
|
|
1023
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1024
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1025
|
+
]
|
|
1026
|
+
] = None,
|
|
1027
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1028
|
+
_content_type: Optional[StrictStr] = None,
|
|
1029
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1030
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1031
|
+
) -> RESTResponseType:
|
|
1032
|
+
"""Get Own Prints
|
|
1033
|
+
|
|
1034
|
+
Returns a list of all prints of the user. User id has to be your own userId, as you can't request other user's prints.
|
|
1035
|
+
|
|
1036
|
+
:param user_id: Must be a valid user ID. (required)
|
|
1037
|
+
:type user_id: str
|
|
1038
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1039
|
+
number provided, it will be total request
|
|
1040
|
+
timeout. It can also be a pair (tuple) of
|
|
1041
|
+
(connection, read) timeouts.
|
|
1042
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1043
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1044
|
+
request; this effectively ignores the
|
|
1045
|
+
authentication in the spec for a single request.
|
|
1046
|
+
:type _request_auth: dict, optional
|
|
1047
|
+
:param _content_type: force content-type for the request.
|
|
1048
|
+
:type _content_type: str, Optional
|
|
1049
|
+
:param _headers: set to override the headers for a single
|
|
1050
|
+
request; this effectively ignores the headers
|
|
1051
|
+
in the spec for a single request.
|
|
1052
|
+
:type _headers: dict, optional
|
|
1053
|
+
:param _host_index: set to override the host_index for a single
|
|
1054
|
+
request; this effectively ignores the host_index
|
|
1055
|
+
in the spec for a single request.
|
|
1056
|
+
:type _host_index: int, optional
|
|
1057
|
+
:return: Returns the result object.
|
|
1058
|
+
""" # noqa: E501
|
|
1059
|
+
|
|
1060
|
+
_param = self._get_user_prints_serialize(
|
|
1061
|
+
user_id=user_id,
|
|
1062
|
+
_request_auth=_request_auth,
|
|
1063
|
+
_content_type=_content_type,
|
|
1064
|
+
_headers=_headers,
|
|
1065
|
+
_host_index=_host_index
|
|
1066
|
+
)
|
|
1067
|
+
|
|
1068
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1069
|
+
'200': "List[ModelPrint]",
|
|
1070
|
+
'401': "Error",
|
|
1071
|
+
'403': "Error",
|
|
1072
|
+
}
|
|
1073
|
+
response_data = await self.api_client.call_api(
|
|
1074
|
+
*_param,
|
|
1075
|
+
_request_timeout=_request_timeout
|
|
1076
|
+
)
|
|
1077
|
+
return response_data.response
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
def _get_user_prints_serialize(
|
|
1081
|
+
self,
|
|
1082
|
+
user_id,
|
|
1083
|
+
_request_auth,
|
|
1084
|
+
_content_type,
|
|
1085
|
+
_headers,
|
|
1086
|
+
_host_index,
|
|
1087
|
+
) -> RequestSerialized:
|
|
1088
|
+
|
|
1089
|
+
_host = None
|
|
1090
|
+
|
|
1091
|
+
_collection_formats: Dict[str, str] = {
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
_path_params: Dict[str, str] = {}
|
|
1095
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1096
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1097
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1098
|
+
_files: Dict[
|
|
1099
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1100
|
+
] = {}
|
|
1101
|
+
_body_params: Optional[bytes] = None
|
|
1102
|
+
|
|
1103
|
+
# process the path parameters
|
|
1104
|
+
if user_id is not None:
|
|
1105
|
+
_path_params['userId'] = user_id
|
|
1106
|
+
# process the query parameters
|
|
1107
|
+
# process the header parameters
|
|
1108
|
+
# process the form parameters
|
|
1109
|
+
# process the body parameter
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
# set the HTTP header `Accept`
|
|
1113
|
+
if 'Accept' not in _header_params:
|
|
1114
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1115
|
+
[
|
|
1116
|
+
'application/json'
|
|
1117
|
+
]
|
|
1118
|
+
)
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
# authentication setting
|
|
1122
|
+
_auth_settings: List[str] = [
|
|
1123
|
+
'authCookie'
|
|
1124
|
+
]
|
|
1125
|
+
|
|
1126
|
+
return self.api_client.param_serialize(
|
|
1127
|
+
method='GET',
|
|
1128
|
+
resource_path='/prints/user/{userId}',
|
|
1129
|
+
path_params=_path_params,
|
|
1130
|
+
query_params=_query_params,
|
|
1131
|
+
header_params=_header_params,
|
|
1132
|
+
body=_body_params,
|
|
1133
|
+
post_params=_form_params,
|
|
1134
|
+
files=_files,
|
|
1135
|
+
auth_settings=_auth_settings,
|
|
1136
|
+
collection_formats=_collection_formats,
|
|
1137
|
+
_host=_host,
|
|
1138
|
+
_request_auth=_request_auth
|
|
1139
|
+
)
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
@validate_call
|
|
1145
|
+
async def upload_print(
|
|
1146
|
+
self,
|
|
1147
|
+
image: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The binary blob of the png file.")],
|
|
1148
|
+
timestamp: Annotated[datetime, Field(description="The time the image was captured.")],
|
|
1149
|
+
note: Annotated[Optional[StrictStr], Field(description="The caption for the image.")] = None,
|
|
1150
|
+
world_id: Annotated[Optional[StrictStr], Field(description="The id of the world in which the image was captured.")] = None,
|
|
1151
|
+
world_name: Annotated[Optional[StrictStr], Field(description="The name of the world in which the image was captured.")] = None,
|
|
1152
|
+
_request_timeout: Union[
|
|
1153
|
+
None,
|
|
1154
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1155
|
+
Tuple[
|
|
1156
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1157
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1158
|
+
]
|
|
1159
|
+
] = None,
|
|
1160
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1161
|
+
_content_type: Optional[StrictStr] = None,
|
|
1162
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1163
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1164
|
+
) -> ModelPrint:
|
|
1165
|
+
"""Upload Print
|
|
1166
|
+
|
|
1167
|
+
Uploads and creates a print.
|
|
1168
|
+
|
|
1169
|
+
:param image: The binary blob of the png file. (required)
|
|
1170
|
+
:type image: bytes
|
|
1171
|
+
:param timestamp: The time the image was captured. (required)
|
|
1172
|
+
:type timestamp: datetime
|
|
1173
|
+
:param note: The caption for the image.
|
|
1174
|
+
:type note: str
|
|
1175
|
+
:param world_id: The id of the world in which the image was captured.
|
|
1176
|
+
:type world_id: str
|
|
1177
|
+
:param world_name: The name of the world in which the image was captured.
|
|
1178
|
+
:type world_name: str
|
|
1179
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1180
|
+
number provided, it will be total request
|
|
1181
|
+
timeout. It can also be a pair (tuple) of
|
|
1182
|
+
(connection, read) timeouts.
|
|
1183
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1184
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1185
|
+
request; this effectively ignores the
|
|
1186
|
+
authentication in the spec for a single request.
|
|
1187
|
+
:type _request_auth: dict, optional
|
|
1188
|
+
:param _content_type: force content-type for the request.
|
|
1189
|
+
:type _content_type: str, Optional
|
|
1190
|
+
:param _headers: set to override the headers for a single
|
|
1191
|
+
request; this effectively ignores the headers
|
|
1192
|
+
in the spec for a single request.
|
|
1193
|
+
:type _headers: dict, optional
|
|
1194
|
+
:param _host_index: set to override the host_index for a single
|
|
1195
|
+
request; this effectively ignores the host_index
|
|
1196
|
+
in the spec for a single request.
|
|
1197
|
+
:type _host_index: int, optional
|
|
1198
|
+
:return: Returns the result object.
|
|
1199
|
+
""" # noqa: E501
|
|
1200
|
+
|
|
1201
|
+
_param = self._upload_print_serialize(
|
|
1202
|
+
image=image,
|
|
1203
|
+
timestamp=timestamp,
|
|
1204
|
+
note=note,
|
|
1205
|
+
world_id=world_id,
|
|
1206
|
+
world_name=world_name,
|
|
1207
|
+
_request_auth=_request_auth,
|
|
1208
|
+
_content_type=_content_type,
|
|
1209
|
+
_headers=_headers,
|
|
1210
|
+
_host_index=_host_index
|
|
1211
|
+
)
|
|
1212
|
+
|
|
1213
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1214
|
+
'200': "ModelPrint",
|
|
1215
|
+
'401': "Error",
|
|
1216
|
+
}
|
|
1217
|
+
response_data = await self.api_client.call_api(
|
|
1218
|
+
*_param,
|
|
1219
|
+
_request_timeout=_request_timeout
|
|
1220
|
+
)
|
|
1221
|
+
await response_data.read()
|
|
1222
|
+
return self.api_client.response_deserialize(
|
|
1223
|
+
response_data=response_data,
|
|
1224
|
+
response_types_map=_response_types_map,
|
|
1225
|
+
).data
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
@validate_call
|
|
1229
|
+
async def upload_print_with_http_info(
|
|
1230
|
+
self,
|
|
1231
|
+
image: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The binary blob of the png file.")],
|
|
1232
|
+
timestamp: Annotated[datetime, Field(description="The time the image was captured.")],
|
|
1233
|
+
note: Annotated[Optional[StrictStr], Field(description="The caption for the image.")] = None,
|
|
1234
|
+
world_id: Annotated[Optional[StrictStr], Field(description="The id of the world in which the image was captured.")] = None,
|
|
1235
|
+
world_name: Annotated[Optional[StrictStr], Field(description="The name of the world in which the image was captured.")] = None,
|
|
1236
|
+
_request_timeout: Union[
|
|
1237
|
+
None,
|
|
1238
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1239
|
+
Tuple[
|
|
1240
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1241
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1242
|
+
]
|
|
1243
|
+
] = None,
|
|
1244
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1245
|
+
_content_type: Optional[StrictStr] = None,
|
|
1246
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1247
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1248
|
+
) -> ApiResponse[ModelPrint]:
|
|
1249
|
+
"""Upload Print
|
|
1250
|
+
|
|
1251
|
+
Uploads and creates a print.
|
|
1252
|
+
|
|
1253
|
+
:param image: The binary blob of the png file. (required)
|
|
1254
|
+
:type image: bytes
|
|
1255
|
+
:param timestamp: The time the image was captured. (required)
|
|
1256
|
+
:type timestamp: datetime
|
|
1257
|
+
:param note: The caption for the image.
|
|
1258
|
+
:type note: str
|
|
1259
|
+
:param world_id: The id of the world in which the image was captured.
|
|
1260
|
+
:type world_id: str
|
|
1261
|
+
:param world_name: The name of the world in which the image was captured.
|
|
1262
|
+
:type world_name: str
|
|
1263
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1264
|
+
number provided, it will be total request
|
|
1265
|
+
timeout. It can also be a pair (tuple) of
|
|
1266
|
+
(connection, read) timeouts.
|
|
1267
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1268
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1269
|
+
request; this effectively ignores the
|
|
1270
|
+
authentication in the spec for a single request.
|
|
1271
|
+
:type _request_auth: dict, optional
|
|
1272
|
+
:param _content_type: force content-type for the request.
|
|
1273
|
+
:type _content_type: str, Optional
|
|
1274
|
+
:param _headers: set to override the headers for a single
|
|
1275
|
+
request; this effectively ignores the headers
|
|
1276
|
+
in the spec for a single request.
|
|
1277
|
+
:type _headers: dict, optional
|
|
1278
|
+
:param _host_index: set to override the host_index for a single
|
|
1279
|
+
request; this effectively ignores the host_index
|
|
1280
|
+
in the spec for a single request.
|
|
1281
|
+
:type _host_index: int, optional
|
|
1282
|
+
:return: Returns the result object.
|
|
1283
|
+
""" # noqa: E501
|
|
1284
|
+
|
|
1285
|
+
_param = self._upload_print_serialize(
|
|
1286
|
+
image=image,
|
|
1287
|
+
timestamp=timestamp,
|
|
1288
|
+
note=note,
|
|
1289
|
+
world_id=world_id,
|
|
1290
|
+
world_name=world_name,
|
|
1291
|
+
_request_auth=_request_auth,
|
|
1292
|
+
_content_type=_content_type,
|
|
1293
|
+
_headers=_headers,
|
|
1294
|
+
_host_index=_host_index
|
|
1295
|
+
)
|
|
1296
|
+
|
|
1297
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1298
|
+
'200': "ModelPrint",
|
|
1299
|
+
'401': "Error",
|
|
1300
|
+
}
|
|
1301
|
+
response_data = await self.api_client.call_api(
|
|
1302
|
+
*_param,
|
|
1303
|
+
_request_timeout=_request_timeout
|
|
1304
|
+
)
|
|
1305
|
+
await response_data.read()
|
|
1306
|
+
return self.api_client.response_deserialize(
|
|
1307
|
+
response_data=response_data,
|
|
1308
|
+
response_types_map=_response_types_map,
|
|
1309
|
+
)
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
@validate_call
|
|
1313
|
+
async def upload_print_without_preload_content(
|
|
1314
|
+
self,
|
|
1315
|
+
image: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The binary blob of the png file.")],
|
|
1316
|
+
timestamp: Annotated[datetime, Field(description="The time the image was captured.")],
|
|
1317
|
+
note: Annotated[Optional[StrictStr], Field(description="The caption for the image.")] = None,
|
|
1318
|
+
world_id: Annotated[Optional[StrictStr], Field(description="The id of the world in which the image was captured.")] = None,
|
|
1319
|
+
world_name: Annotated[Optional[StrictStr], Field(description="The name of the world in which the image was captured.")] = None,
|
|
1320
|
+
_request_timeout: Union[
|
|
1321
|
+
None,
|
|
1322
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1323
|
+
Tuple[
|
|
1324
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1325
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1326
|
+
]
|
|
1327
|
+
] = None,
|
|
1328
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1329
|
+
_content_type: Optional[StrictStr] = None,
|
|
1330
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1331
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1332
|
+
) -> RESTResponseType:
|
|
1333
|
+
"""Upload Print
|
|
1334
|
+
|
|
1335
|
+
Uploads and creates a print.
|
|
1336
|
+
|
|
1337
|
+
:param image: The binary blob of the png file. (required)
|
|
1338
|
+
:type image: bytes
|
|
1339
|
+
:param timestamp: The time the image was captured. (required)
|
|
1340
|
+
:type timestamp: datetime
|
|
1341
|
+
:param note: The caption for the image.
|
|
1342
|
+
:type note: str
|
|
1343
|
+
:param world_id: The id of the world in which the image was captured.
|
|
1344
|
+
:type world_id: str
|
|
1345
|
+
:param world_name: The name of the world in which the image was captured.
|
|
1346
|
+
:type world_name: str
|
|
1347
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1348
|
+
number provided, it will be total request
|
|
1349
|
+
timeout. It can also be a pair (tuple) of
|
|
1350
|
+
(connection, read) timeouts.
|
|
1351
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1352
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1353
|
+
request; this effectively ignores the
|
|
1354
|
+
authentication in the spec for a single request.
|
|
1355
|
+
:type _request_auth: dict, optional
|
|
1356
|
+
:param _content_type: force content-type for the request.
|
|
1357
|
+
:type _content_type: str, Optional
|
|
1358
|
+
:param _headers: set to override the headers for a single
|
|
1359
|
+
request; this effectively ignores the headers
|
|
1360
|
+
in the spec for a single request.
|
|
1361
|
+
:type _headers: dict, optional
|
|
1362
|
+
:param _host_index: set to override the host_index for a single
|
|
1363
|
+
request; this effectively ignores the host_index
|
|
1364
|
+
in the spec for a single request.
|
|
1365
|
+
:type _host_index: int, optional
|
|
1366
|
+
:return: Returns the result object.
|
|
1367
|
+
""" # noqa: E501
|
|
1368
|
+
|
|
1369
|
+
_param = self._upload_print_serialize(
|
|
1370
|
+
image=image,
|
|
1371
|
+
timestamp=timestamp,
|
|
1372
|
+
note=note,
|
|
1373
|
+
world_id=world_id,
|
|
1374
|
+
world_name=world_name,
|
|
1375
|
+
_request_auth=_request_auth,
|
|
1376
|
+
_content_type=_content_type,
|
|
1377
|
+
_headers=_headers,
|
|
1378
|
+
_host_index=_host_index
|
|
1379
|
+
)
|
|
1380
|
+
|
|
1381
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1382
|
+
'200': "ModelPrint",
|
|
1383
|
+
'401': "Error",
|
|
1384
|
+
}
|
|
1385
|
+
response_data = await self.api_client.call_api(
|
|
1386
|
+
*_param,
|
|
1387
|
+
_request_timeout=_request_timeout
|
|
1388
|
+
)
|
|
1389
|
+
return response_data.response
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
def _upload_print_serialize(
|
|
1393
|
+
self,
|
|
1394
|
+
image,
|
|
1395
|
+
timestamp,
|
|
1396
|
+
note,
|
|
1397
|
+
world_id,
|
|
1398
|
+
world_name,
|
|
1399
|
+
_request_auth,
|
|
1400
|
+
_content_type,
|
|
1401
|
+
_headers,
|
|
1402
|
+
_host_index,
|
|
1403
|
+
) -> RequestSerialized:
|
|
1404
|
+
|
|
1405
|
+
_host = None
|
|
1406
|
+
|
|
1407
|
+
_collection_formats: Dict[str, str] = {
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
_path_params: Dict[str, str] = {}
|
|
1411
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1412
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1413
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1414
|
+
_files: Dict[
|
|
1415
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1416
|
+
] = {}
|
|
1417
|
+
_body_params: Optional[bytes] = None
|
|
1418
|
+
|
|
1419
|
+
# process the path parameters
|
|
1420
|
+
# process the query parameters
|
|
1421
|
+
# process the header parameters
|
|
1422
|
+
# process the form parameters
|
|
1423
|
+
if image is not None:
|
|
1424
|
+
_files['image'] = image
|
|
1425
|
+
if note is not None:
|
|
1426
|
+
_form_params.append(('note', note))
|
|
1427
|
+
if timestamp is not None:
|
|
1428
|
+
_form_params.append(('timestamp', timestamp))
|
|
1429
|
+
if world_id is not None:
|
|
1430
|
+
_form_params.append(('worldId', world_id))
|
|
1431
|
+
if world_name is not None:
|
|
1432
|
+
_form_params.append(('worldName', world_name))
|
|
1433
|
+
# process the body parameter
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
# set the HTTP header `Accept`
|
|
1437
|
+
if 'Accept' not in _header_params:
|
|
1438
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1439
|
+
[
|
|
1440
|
+
'application/json'
|
|
1441
|
+
]
|
|
1442
|
+
)
|
|
1443
|
+
|
|
1444
|
+
# set the HTTP header `Content-Type`
|
|
1445
|
+
if _content_type:
|
|
1446
|
+
_header_params['Content-Type'] = _content_type
|
|
1447
|
+
else:
|
|
1448
|
+
_default_content_type = (
|
|
1449
|
+
self.api_client.select_header_content_type(
|
|
1450
|
+
[
|
|
1451
|
+
'multipart/form-data'
|
|
1452
|
+
]
|
|
1453
|
+
)
|
|
1454
|
+
)
|
|
1455
|
+
if _default_content_type is not None:
|
|
1456
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1457
|
+
|
|
1458
|
+
# authentication setting
|
|
1459
|
+
_auth_settings: List[str] = [
|
|
1460
|
+
'authCookie'
|
|
1461
|
+
]
|
|
1462
|
+
|
|
1463
|
+
return self.api_client.param_serialize(
|
|
1464
|
+
method='POST',
|
|
1465
|
+
resource_path='/prints',
|
|
1466
|
+
path_params=_path_params,
|
|
1467
|
+
query_params=_query_params,
|
|
1468
|
+
header_params=_header_params,
|
|
1469
|
+
body=_body_params,
|
|
1470
|
+
post_params=_form_params,
|
|
1471
|
+
files=_files,
|
|
1472
|
+
auth_settings=_auth_settings,
|
|
1473
|
+
collection_formats=_collection_formats,
|
|
1474
|
+
_host=_host,
|
|
1475
|
+
_request_auth=_request_auth
|
|
1476
|
+
)
|
|
1477
|
+
|
|
1478
|
+
|