From 91ce5dc6aeaebaf98b61af7daa4946681e82b598 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Fri, 31 Jul 2020 22:05:35 +0400 Subject: [PATCH 01/20] v4 SDK generated --- sdk/AsposeEmailCloudSdk/__init__.py | 333 +- sdk/AsposeEmailCloudSdk/api/__init__.py | 30 + sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py | 113 + sdk/AsposeEmailCloudSdk/api/ai_group.py | 55 + sdk/AsposeEmailCloudSdk/api/ai_name_api.py | 496 + sdk/AsposeEmailCloudSdk/api/api_base.py | 107 + sdk/AsposeEmailCloudSdk/api/calendar_api.py | 416 + .../api/client_account_api.py | 181 + .../api/client_folder_api.py | 141 + sdk/AsposeEmailCloudSdk/api/client_group.py | 73 + .../api/client_message_api.py | 443 + .../api/client_thread_api.py | 225 + .../api/cloud_storage_group.py | 64 + sdk/AsposeEmailCloudSdk/api/contact_api.py | 361 + .../disposable_email_api.py} | 61 +- sdk/AsposeEmailCloudSdk/api/email_api.py | 2962 +---- sdk/AsposeEmailCloudSdk/api/email_cloud.py | 143 + .../api/email_config_api.py | 137 + sdk/AsposeEmailCloudSdk/api/file_api.py | 258 + sdk/AsposeEmailCloudSdk/api/folder_api.py | 247 + .../api/mapi_calendar_api.py | 205 + .../api/mapi_contact_api.py | 215 + sdk/AsposeEmailCloudSdk/api/mapi_group.py | 64 + .../api/mapi_message_api.py | 215 + sdk/AsposeEmailCloudSdk/api/storage_api.py | 190 + sdk/AsposeEmailCloudSdk/models/__init__.py | 308 +- .../models/account_base_request.py | 189 - .../models/add_attachment_request.py | 157 - .../models/ai_bcr_base64_rq.py | 137 - .../models/ai_bcr_image.py | 6 +- .../models/ai_bcr_image_storage_file.py | 4 +- .../models/ai_bcr_ocr_data.py | 213 - .../models/ai_bcr_ocr_data_part.py | 275 - .../models/ai_bcr_options.py | 16 +- .../models/ai_bcr_parse_request.py | 57 + ..._rq.py => ai_bcr_parse_storage_request.py} | 86 +- sdk/AsposeEmailCloudSdk/models/ai_bcr_rq.py | 129 - .../models/ai_name_complete_request.py | 62 + .../models/ai_name_component_list.py | 107 + .../models/ai_name_expand_request.py | 62 + .../models/ai_name_extracted_list.py | 107 + .../{requests => }/ai_name_format_request.py | 109 +- .../models/ai_name_gender_hypothesis_list.py | 107 + .../models/ai_name_genderize_request.py | 62 + .../models/ai_name_match_request.py | 65 + .../ai_name_parse_email_address_request.py | 63 + .../models/ai_name_parse_request.py | 62 + ..._rq.py => ai_name_parsed_match_request.py} | 18 +- ...parsed_rq.py => ai_name_parsed_request.py} | 30 +- .../models/append_email_base_request.py | 159 - .../models/append_email_mime_base_request.py | 160 - .../models/append_email_model_rq.py | 159 - ...rq.py => calendar_as_alternate_request.py} | 34 +- ...dar_dto.py => calendar_as_file_request.py} | 83 +- .../models/calendar_convert_request.py | 50 + .../models/calendar_from_file_request.py | 47 + .../calendar_get_as_alternate_request.py | 59 + .../models/calendar_get_as_file_request.py | 56 + .../models/calendar_get_list_request.py | 57 + .../models/calendar_get_request.py | 53 + .../models/calendar_save_request.py | 144 + ...r_dto_list.py => calendar_storage_list.py} | 12 +- ...a_rq.py => client_account_base_request.py} | 64 +- .../client_account_get_multi_request.py | 54 + .../models/client_account_get_request.py | 53 + ...est.py => client_folder_create_request.py} | 108 +- ...age.py => client_folder_delete_request.py} | 65 +- .../models/client_folder_get_list_request.py | 57 + .../client_message_append_file_request.py | 65 + ...st.py => client_message_append_request.py} | 101 +- .../models/client_message_base_request.py | 140 + ...rq.py => client_message_delete_request.py} | 57 +- .../client_message_fetch_file_request.py | 62 + .../models/client_message_fetch_request.py | 65 + .../models/client_message_list_request.py | 68 + ...e_rq.py => client_message_move_request.py} | 95 +- .../client_message_send_file_request.py | 60 + ...l_rq.py => client_message_send_request.py} | 62 +- ... => client_message_set_is_read_request.py} | 76 +- ...bject.py => client_thread_base_request.py} | 87 +- .../models/client_thread_delete_request.py | 141 + .../models/client_thread_get_list_request.py | 62 + .../client_thread_get_messages_request.py | 60 + ...ad_rq.py => client_thread_move_request.py} | 61 +- ...y => client_thread_set_is_read_request.py} | 71 +- ...tact_dto.py => contact_as_file_request.py} | 83 +- .../models/contact_convert_request.py | 53 + .../models/contact_from_file_request.py | 50 + .../models/contact_get_as_file_request.py | 59 + .../models/contact_get_list_request.py | 60 + .../models/contact_get_request.py | 56 + .../models/contact_list.py | 107 + .../models/contact_photo.py | 4 + .../models/contact_save_request.py | 144 + ...ct_dto_list.py => contact_storage_list.py} | 12 +- .../models/copy_file_request.py | 59 + .../models/copy_folder_request.py | 56 + .../models/create_email_request.py | 160 - .../models/create_folder_request.py | 50 + .../models/delete_file_request.py | 53 + .../models/delete_folder_base_request.py | 180 - .../models/delete_folder_request.py | 53 + .../models/delete_message_base_request.py | 208 - sdk/AsposeEmailCloudSdk/models/disc_usage.py | 12 +- .../models/discover_email_config_oauth.py | 4 +- .../models/discover_email_config_password.py | 4 +- ...rq.py => discover_email_config_request.py} | 30 +- .../disposable_email_is_disposable_request.py | 48 + .../models/download_file_request.py | 53 + .../models/email_account_request.py | 317 - .../models/email_address.py | 4 + ..._email_dto.py => email_as_file_request.py} | 83 +- .../email_client_account_save_request.py | 113 + ...email_client_multi_account_save_request.py | 113 + .../models/email_config_discover_request.py | 51 + .../models/email_convert_request.py | 50 + .../models/email_document.py | 160 - .../models/email_document_response.py | 129 - .../models/email_from_file_request.py | 50 + .../models/email_get_as_file_request.py | 56 + .../models/email_get_list_request.py | 60 + .../models/email_get_request.py | 56 + sdk/AsposeEmailCloudSdk/models/email_list.py | 107 + .../models/email_properties.py | 160 - .../models/email_property_response.py | 129 - .../models/email_save_request.py | 144 + ...mail_dto_list.py => email_storage_list.py} | 12 +- ...th_custom_of_associated_person_category.py | 2 + ...m_with_custom_of_email_address_category.py | 2 + .../enum_with_custom_of_event_category.py | 2 + ...th_custom_of_instant_messenger_category.py | 2 + ...um_with_custom_of_phone_number_category.py | 2 + ..._with_custom_of_postal_address_category.py | 2 + .../enum_with_custom_of_url_category.py | 2 + sdk/AsposeEmailCloudSdk/models/error.py | 20 +- .../models/error_details.py | 12 +- .../models/file_version.py | 22 +- .../models/file_versions.py | 8 +- sdk/AsposeEmailCloudSdk/models/files_list.py | 8 +- .../models/files_upload_result.py | 12 +- .../models/get_disc_usage_request.py | 47 + .../models/get_file_versions_request.py | 50 + .../models/get_files_list_request.py | 50 + .../models/hierarchical_object.py | 140 - .../models/hierarchical_object_request.py | 160 - .../models/hierarchical_object_response.py | 158 - .../models/{requests => }/http_request.py | 1 + .../models/indexed_hierarchical_object.py | 170 - sdk/AsposeEmailCloudSdk/models/link.py | 211 - ... => list_response_of_mail_message_base.py} | 30 +- ...{mime_response.py => mail_message_base.py} | 46 +- ...ail_property.py => mail_message_base64.py} | 132 +- .../models/mail_message_base_list.py | 107 + ...archical_object.py => mail_message_dto.py} | 45 +- ...bject_response.py => mail_message_mapi.py} | 45 +- .../models/mail_server_folder_list.py | 107 + .../models/mapi_calendar_as_file_request.py | 161 + .../models/mapi_calendar_from_file_request.py | 47 + .../models/mapi_calendar_get_request.py | 54 + ...bject.py => mapi_calendar_save_request.py} | 70 +- .../mapi_calendar_time_zone_rule_dto.py | 4 + .../models/mapi_contact_as_file_request.py | 161 + .../models/mapi_contact_from_file_request.py | 50 + .../models/mapi_contact_get_request.py | 57 + .../models/mapi_contact_save_request.py | 144 + .../models/mapi_known_property_descriptor.py | 4 + ...ect.py => mapi_message_as_file_request.py} | 93 +- .../models/mapi_message_from_file_request.py | 50 + .../models/mapi_message_get_request.py | 57 + .../models/mapi_message_save_request.py | 144 + .../models/move_file_request.py | 59 + .../models/move_folder_request.py | 57 + .../models/object_exist.py | 12 +- .../models/object_exists_request.py | 53 + .../models/reminder_attendee.py | 4 + .../models/requests/__init__.py | 160 - .../add_calendar_attachment_request.py | 108 - .../add_contact_attachment_request.py | 116 - .../requests/add_email_attachment_request.py | 108 - .../requests/add_mapi_attachment_request.py | 108 - .../models/requests/ai_bcr_ocr_request.py | 92 - .../requests/ai_bcr_ocr_storage_request.py | 92 - .../requests/ai_bcr_parse_model_request.py | 92 - .../ai_bcr_parse_ocr_data_model_request.py | 92 - .../models/requests/ai_bcr_parse_request.py | 92 - .../requests/ai_bcr_parse_storage_request.py | 92 - .../requests/ai_name_complete_request.py | 141 - .../requests/ai_name_expand_parsed_request.py | 92 - .../models/requests/ai_name_expand_request.py | 141 - .../requests/ai_name_format_parsed_request.py | 92 - .../ai_name_genderize_parsed_request.py | 92 - .../requests/ai_name_genderize_request.py | 141 - .../requests/ai_name_match_parsed_request.py | 92 - .../models/requests/ai_name_match_request.py | 153 - .../ai_name_parse_email_address_request.py | 141 - .../models/requests/ai_name_parse_request.py | 141 - .../requests/append_email_message_request.py | 92 - .../append_email_model_message_request.py | 92 - .../requests/append_mime_message_request.py | 92 - .../models/requests/base_request.py | 90 - ...ert_calendar_model_to_alternate_request.py | 92 - .../convert_calendar_model_to_file_request.py | 100 - ...rt_calendar_model_to_mapi_model_request.py | 92 - .../requests/convert_calendar_request.py | 100 - .../convert_contact_model_to_file_request.py | 100 - ...ert_contact_model_to_mapi_model_request.py | 92 - .../requests/convert_contact_request.py | 108 - .../convert_email_model_to_file_request.py | 100 - ...nvert_email_model_to_mapi_model_request.py | 92 - .../models/requests/convert_email_request.py | 100 - ...alendar_model_to_calendar_model_request.py | 92 - ...ert_mapi_calendar_model_to_file_request.py | 100 - ..._contact_model_to_contact_model_request.py | 92 - ...vert_mapi_contact_model_to_file_request.py | 100 - ...pi_message_model_to_email_model_request.py | 92 - ...vert_mapi_message_model_to_file_request.py | 100 - .../models/requests/copy_file_request.py | 131 - .../models/requests/copy_folder_request.py | 122 - .../requests/create_calendar_request.py | 100 - .../models/requests/create_contact_request.py | 108 - .../requests/create_email_folder_request.py | 92 - .../models/requests/create_email_request.py | 100 - .../models/requests/create_folder_request.py | 101 - .../models/requests/create_mapi_request.py | 100 - .../delete_calendar_property_request.py | 116 - .../delete_contact_property_request.py | 124 - .../requests/delete_email_folder_request.py | 92 - .../requests/delete_email_message_request.py | 92 - .../requests/delete_email_thread_request.py | 100 - .../models/requests/delete_file_request.py | 110 - .../models/requests/delete_folder_request.py | 110 - .../delete_mapi_attachment_request.py | 108 - .../delete_mapi_properties_request.py | 100 - .../discover_email_config_oauth_request.py | 92 - .../discover_email_config_password_request.py | 92 - .../requests/discover_email_config_request.py | 105 - .../models/requests/download_file_request.py | 110 - .../requests/fetch_email_message_request.py | 144 - .../requests/fetch_email_model_request.py | 144 - .../fetch_email_thread_messages_request.py | 140 - .../requests/get_calendar_as_file_request.py | 118 - .../get_calendar_attachment_request.py | 118 - ...get_calendar_file_as_mapi_model_request.py | 92 - .../get_calendar_file_as_model_request.py | 92 - .../requests/get_calendar_list_request.py | 129 - ...get_calendar_model_as_alternate_request.py | 127 - .../get_calendar_model_list_request.py | 123 - .../requests/get_calendar_model_request.py | 110 - .../models/requests/get_calendar_request.py | 110 - .../requests/get_contact_as_file_request.py | 126 - .../get_contact_attachment_request.py | 126 - .../get_contact_file_as_mapi_model_request.py | 100 - .../get_contact_file_as_model_request.py | 100 - .../requests/get_contact_list_request.py | 128 - .../get_contact_model_list_request.py | 128 - .../requests/get_contact_model_request.py | 118 - .../get_contact_properties_request.py | 118 - .../models/requests/get_disc_usage_request.py | 93 - .../requests/get_email_as_file_request.py | 118 - .../requests/get_email_attachment_request.py | 118 - .../get_email_client_account_request.py | 120 - .../get_email_client_multi_account_request.py | 120 - .../get_email_file_as_mapi_model_request.py | 100 - .../get_email_file_as_model_request.py | 92 - .../requests/get_email_model_list_request.py | 128 - .../requests/get_email_model_request.py | 118 - .../requests/get_email_property_request.py | 118 - .../models/requests/get_email_request.py | 110 - .../requests/get_file_versions_request.py | 101 - .../models/requests/get_files_list_request.py | 101 - .../requests/get_mapi_attachment_request.py | 118 - .../requests/get_mapi_attachments_request.py | 110 - .../get_mapi_calendar_model_request.py | 110 - .../get_mapi_contact_model_request.py | 118 - .../models/requests/get_mapi_list_request.py | 120 - .../get_mapi_message_model_request.py | 118 - .../requests/get_mapi_properties_request.py | 110 - .../requests/list_email_folders_request.py | 132 - .../requests/list_email_messages_request.py | 156 - .../requests/list_email_models_request.py | 153 - .../requests/list_email_threads_request.py | 153 - .../requests/move_email_message_request.py | 92 - .../requests/move_email_thread_request.py | 100 - .../models/requests/move_file_request.py | 131 - .../models/requests/move_folder_request.py | 122 - .../models/requests/object_exists_request.py | 110 - .../requests/save_calendar_model_request.py | 100 - .../requests/save_contact_model_request.py | 108 - .../save_email_client_account_request.py | 92 - ...save_email_client_multi_account_request.py | 92 - .../requests/save_email_model_request.py | 108 - .../requests/save_mail_account_request.py | 92 - .../save_mail_o_auth_account_request.py | 92 - .../save_mapi_calendar_model_request.py | 108 - .../save_mapi_contact_model_request.py | 108 - .../save_mapi_message_model_request.py | 108 - .../requests/send_email_mime_request.py | 92 - .../requests/send_email_model_request.py | 92 - .../models/requests/send_email_request.py | 92 - .../requests/set_email_property_request.py | 108 - .../requests/set_email_read_flag_request.py | 92 - .../set_email_thread_read_flag_request.py | 100 - .../models/requests/storage_exists_request.py | 92 - .../update_calendar_properties_request.py | 100 - .../update_contact_properties_request.py | 108 - .../update_mapi_properties_request.py | 100 - .../models/requests/upload_file_request.py | 110 - .../models/save_email_account_request.py | 170 - .../save_o_auth_email_account_request.py | 262 - .../models/send_email_base_request.py | 149 - .../models/send_email_mime_base_request.py | 150 - .../models/set_email_property_request.py | 160 - ..._message_read_flag_account_base_request.py | 180 - .../models/storage_exist.py | 8 +- .../models/storage_exists_request.py | 48 + .../models/storage_file.py | 24 +- ...tring.py => storage_file_location_list.py} | 42 +- .../models/storage_model_of_calendar_dto.py | 4 + .../models/storage_model_of_contact_dto.py | 4 + ... storage_model_of_email_client_account.py} | 72 +- ...ge_model_of_email_client_multi_account.py} | 72 +- .../models/storage_model_of_email_dto.py | 4 + ... => storage_model_of_mapi_calendar_dto.py} | 74 +- ...y => storage_model_of_mapi_contact_dto.py} | 74 +- ...y => storage_model_of_mapi_message_dto.py} | 74 +- .../models/upload_file_request.py | 54 + ...value_response.py => value_t_of_string.py} | 26 +- sdk/docs/AccountBaseRequest.md | 13 - sdk/docs/AddAttachmentRequest.md | 12 - sdk/docs/AiBcrApi.md | 146 + sdk/docs/AiBcrImage.md | 2 +- sdk/docs/AiBcrImageStorageFile.md | 2 +- sdk/docs/AiBcrOcrData.md | 14 - sdk/docs/AiBcrOcrDataPart.md | 16 - sdk/docs/AiBcrOptions.md | 4 +- ...orageRq.md => AiBcrParseStorageRequest.md} | 6 +- sdk/docs/AiBcrStorageImageRq.md | 11 - sdk/docs/AiGroup.md | 7 + sdk/docs/AiNameApi.md | 917 ++ ...MimeResponse.md => AiNameComponentList.md} | 5 +- sdk/docs/AiNameExtractedList.md | 10 + sdk/docs/AiNameGenderHypothesisList.md | 10 + ...MatchRq.md => AiNameParsedMatchRequest.md} | 4 +- ...NameParsedRq.md => AiNameParsedRequest.md} | 2 +- sdk/docs/AppendEmailAccountBaseRequest.md | 12 - sdk/docs/AppendEmailBaseRequest.md | 11 - sdk/docs/AppendEmailMimeBaseRequest.md | 11 - sdk/docs/AppendEmailModelRq.md | 11 - sdk/docs/CalendarApi.md | 710 ++ ...ateRq.md => CalendarAsAlternateRequest.md} | 2 +- sdk/docs/CalendarAsFileRequest.md | 12 + sdk/docs/CalendarSaveRequest.md | 11 + ...endarDtoList.md => CalendarStorageList.md} | 2 +- sdk/docs/ClientAccountApi.md | 278 + sdk/docs/ClientAccountBaseRequest.md | 11 + sdk/docs/ClientFolderApi.md | 209 + sdk/docs/ClientFolderCreateRequest.md | 12 + ...sponse.md => ClientFolderDeleteRequest.md} | 6 +- sdk/docs/ClientGroup.md | 9 + sdk/docs/ClientMessageApi.md | 804 ++ sdk/docs/ClientMessageAppendRequest.md | 13 + sdk/docs/ClientMessageBaseRequest.md | 11 + sdk/docs/ClientMessageDeleteRequest.md | 11 + ...eObject.md => ClientMessageMoveRequest.md} | 8 +- sdk/docs/ClientMessageSendRequest.md | 11 + ...Rq.md => ClientMessageSetIsReadRequest.md} | 6 +- sdk/docs/ClientThreadApi.md | 371 + ...e64Image.md => ClientThreadBaseRequest.md} | 6 +- sdk/docs/ClientThreadDeleteRequest.md | 11 + ...ThreadRq.md => ClientThreadMoveRequest.md} | 6 +- sdk/docs/ClientThreadSetIsReadRequest.md | 12 + sdk/docs/CloudStorageGroup.md | 8 + sdk/docs/ContactApi.md | 590 + ...{BaseObject.md => ContactAsFileRequest.md} | 6 +- ...sponseOfAiBcrOcrData.md => ContactList.md} | 5 +- sdk/docs/ContactPhoto.md | 2 +- sdk/docs/ContactSaveRequest.md | 11 + ...ontactDtoList.md => ContactStorageList.md} | 2 +- sdk/docs/CreateEmailRequest.md | 12 - sdk/docs/CreateFolderBaseRequest.md | 12 - sdk/docs/DeleteEmailThreadAccountRq.md | 11 - sdk/docs/DeleteFolderBaseRequest.md | 12 - sdk/docs/DeleteMessageBaseRequest.md | 13 - sdk/docs/DiscUsage.md | 4 +- sdk/docs/DiscoverEmailConfigOauth.md | 2 +- sdk/docs/DiscoverEmailConfigPassword.md | 2 +- ...figRq.md => DiscoverEmailConfigRequest.md} | 2 +- sdk/docs/DisposableEmailApi.md | 65 + sdk/docs/EmailAccountRequest.md | 17 - sdk/docs/EmailAddress.md | 2 +- sdk/docs/EmailApi.md | 9632 +---------------- sdk/docs/EmailAsFileRequest.md | 12 + sdk/docs/EmailClientAccountSaveRequest.md | 10 + .../EmailClientMultiAccountSaveRequest.md | 10 + sdk/docs/EmailConfigApi.md | 197 + sdk/docs/EmailDocument.md | 12 - sdk/docs/EmailList.md | 10 + sdk/docs/EmailProperties.md | 12 - sdk/docs/EmailSaveRequest.md | 11 + .../{EmailDtoList.md => EmailStorageList.md} | 2 +- sdk/docs/EmailThreadReadFlagRq.md | 12 - sdk/docs/Error.md | 8 +- sdk/docs/ErrorDetails.md | 4 +- sdk/docs/FileApi.md | 401 + sdk/docs/FileVersion.md | 4 +- sdk/docs/FileVersions.md | 2 +- sdk/docs/FilesList.md | 2 +- sdk/docs/FilesUploadResult.md | 4 +- sdk/docs/FolderApi.md | 377 + sdk/docs/HierarchicalObject.md | 11 - sdk/docs/HierarchicalObjectRequest.md | 12 - sdk/docs/HierarchicalObjectResponse.md | 12 - sdk/docs/IndexedHierarchicalObject.md | 12 - sdk/docs/Link.md | 14 - sdk/docs/ListResponseOfHierarchicalObject.md | 11 - ...istResponseOfHierarchicalObjectResponse.md | 11 - ...Rq.md => ListResponseOfMailMessageBase.md} | 4 +- ...ResponseOfString.md => MailMessageBase.md} | 4 +- sdk/docs/MailMessageBase64.md | 12 + sdk/docs/MailMessageBaseList.md | 10 + ...BcrParseOcrDataRq.md => MailMessageDto.md} | 6 +- sdk/docs/MailMessageMapi.md | 11 + sdk/docs/MailServerFolderList.md | 10 + sdk/docs/MapiCalendarApi.md | 329 + ...operty.md => MapiCalendarAsFileRequest.md} | 7 +- sdk/docs/MapiCalendarSaveRequest.md | 11 + sdk/docs/MapiContactApi.md | 341 + sdk/docs/MapiContactAsFileRequest.md | 12 + sdk/docs/MapiContactSaveRequest.md | 11 + sdk/docs/MapiGroup.md | 8 + sdk/docs/MapiKnownPropertyDescriptor.md | 2 +- sdk/docs/MapiMessageApi.md | 341 + sdk/docs/MapiMessageAsFileRequest.md | 12 + sdk/docs/MapiMessageSaveRequest.md | 11 + sdk/docs/MoveEmailMessageRq.md | 13 - sdk/docs/ObjectExist.md | 4 +- sdk/docs/PrimitiveObject.md | 11 - sdk/docs/README.md | 490 +- sdk/docs/ReminderAttendee.md | 2 +- sdk/docs/SaveEmailAccountRequest.md | 11 - sdk/docs/SaveOAuthEmailAccountRequest.md | 14 - sdk/docs/SendEmailBaseRequest.md | 11 - sdk/docs/SendEmailMimeBaseRequest.md | 11 - sdk/docs/SendEmailModelRq.md | 11 - sdk/docs/SetEmailPropertyRequest.md | 12 - .../SetMessageReadFlagAccountBaseRequest.md | 12 - sdk/docs/StorageApi.md | 272 + sdk/docs/StorageExist.md | 2 +- sdk/docs/StorageFile.md | 10 +- sdk/docs/StorageFileLocationList.md | 10 + sdk/docs/StorageModelOfCalendarDto.md | 4 +- sdk/docs/StorageModelOfContactDto.md | 4 +- ...md => StorageModelOfEmailClientAccount.md} | 6 +- ... StorageModelOfEmailClientMultiAccount.md} | 6 +- sdk/docs/StorageModelOfEmailDto.md | 4 +- sdk/docs/StorageModelOfMapiCalendarDto.md | 12 + ...nse.md => StorageModelOfMapiContactDto.md} | 5 +- sdk/docs/StorageModelOfMapiMessageDto.md | 12 + sdk/docs/StorageModelRqOfCalendarDto.md | 12 - sdk/docs/StorageModelRqOfContactDto.md | 12 - sdk/docs/StorageModelRqOfEmailDto.md | 12 - sdk/docs/StorageModelRqOfMapiCalendarDto.md | 12 - sdk/docs/StorageModelRqOfMapiContactDto.md | 12 - sdk/docs/StorageModelRqOfMapiMessageDto.md | 12 - .../{ValueResponse.md => ValueTOfString.md} | 4 +- sdk/setup.py | 2 +- tests/conftest.py | 48 +- tests/tests/ai_test.py | 1 - 468 files changed, 18621 insertions(+), 34206 deletions(-) create mode 100644 sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/ai_group.py create mode 100644 sdk/AsposeEmailCloudSdk/api/ai_name_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/api_base.py create mode 100644 sdk/AsposeEmailCloudSdk/api/calendar_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/client_account_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/client_folder_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/client_group.py create mode 100644 sdk/AsposeEmailCloudSdk/api/client_message_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/client_thread_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py create mode 100644 sdk/AsposeEmailCloudSdk/api/contact_api.py rename sdk/AsposeEmailCloudSdk/{models/requests/is_email_address_disposable_request.py => api/disposable_email_api.py} (55%) create mode 100644 sdk/AsposeEmailCloudSdk/api/email_cloud.py create mode 100644 sdk/AsposeEmailCloudSdk/api/email_config_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/file_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/folder_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/mapi_group.py create mode 100644 sdk/AsposeEmailCloudSdk/api/mapi_message_api.py create mode 100644 sdk/AsposeEmailCloudSdk/api/storage_api.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/account_base_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/add_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/ai_bcr_base64_rq.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/ai_bcr_ocr_data.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/ai_bcr_ocr_data_part.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py rename sdk/AsposeEmailCloudSdk/models/{ai_bcr_parse_storage_rq.py => ai_bcr_parse_storage_request.py} (67%) delete mode 100644 sdk/AsposeEmailCloudSdk/models/ai_bcr_rq.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py rename sdk/AsposeEmailCloudSdk/models/{requests => }/ai_name_format_request.py (50%) create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py rename sdk/AsposeEmailCloudSdk/models/{ai_name_parsed_match_rq.py => ai_name_parsed_match_request.py} (94%) rename sdk/AsposeEmailCloudSdk/models/{ai_name_parsed_rq.py => ai_name_parsed_request.py} (91%) delete mode 100644 sdk/AsposeEmailCloudSdk/models/append_email_base_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/append_email_mime_base_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/append_email_model_rq.py rename sdk/AsposeEmailCloudSdk/models/{calendar_dto_alternate_rq.py => calendar_as_alternate_request.py} (83%) rename sdk/AsposeEmailCloudSdk/models/{storage_model_rq_of_calendar_dto.py => calendar_as_file_request.py} (67%) create mode 100644 sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/calendar_get_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/calendar_save_request.py rename sdk/AsposeEmailCloudSdk/models/{calendar_dto_list.py => calendar_storage_list.py} (90%) rename sdk/AsposeEmailCloudSdk/models/{ai_bcr_parse_ocr_data_rq.py => client_account_base_request.py} (64%) create mode 100644 sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/client_account_get_request.py rename sdk/AsposeEmailCloudSdk/models/{create_folder_base_request.py => client_folder_create_request.py} (55%) rename sdk/AsposeEmailCloudSdk/models/{ai_bcr_base64_image.py => client_folder_delete_request.py} (63%) create mode 100644 sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py rename sdk/AsposeEmailCloudSdk/models/{append_email_account_base_request.py => client_message_append_request.py} (57%) create mode 100644 sdk/AsposeEmailCloudSdk/models/client_message_base_request.py rename sdk/AsposeEmailCloudSdk/models/{delete_email_thread_account_rq.py => client_message_delete_request.py} (64%) create mode 100644 sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/client_message_list_request.py rename sdk/AsposeEmailCloudSdk/models/{move_email_message_rq.py => client_message_move_request.py} (58%) create mode 100644 sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py rename sdk/AsposeEmailCloudSdk/models/{send_email_model_rq.py => client_message_send_request.py} (64%) rename sdk/AsposeEmailCloudSdk/models/{ai_bcr_storage_image_rq.py => client_message_set_is_read_request.py} (60%) rename sdk/AsposeEmailCloudSdk/models/{base_object.py => client_thread_base_request.py} (62%) create mode 100644 sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py rename sdk/AsposeEmailCloudSdk/models/{move_email_thread_rq.py => client_thread_move_request.py} (67%) rename sdk/AsposeEmailCloudSdk/models/{email_thread_read_flag_rq.py => client_thread_set_is_read_request.py} (62%) rename sdk/AsposeEmailCloudSdk/models/{storage_model_rq_of_contact_dto.py => contact_as_file_request.py} (66%) create mode 100644 sdk/AsposeEmailCloudSdk/models/contact_convert_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/contact_get_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/contact_list.py create mode 100644 sdk/AsposeEmailCloudSdk/models/contact_save_request.py rename sdk/AsposeEmailCloudSdk/models/{contact_dto_list.py => contact_storage_list.py} (90%) create mode 100644 sdk/AsposeEmailCloudSdk/models/copy_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/copy_folder_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/create_email_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/create_folder_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/delete_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/delete_folder_base_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/delete_folder_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/delete_message_base_request.py rename sdk/AsposeEmailCloudSdk/models/{discover_email_config_rq.py => discover_email_config_request.py} (90%) create mode 100644 sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/download_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/email_account_request.py rename sdk/AsposeEmailCloudSdk/models/{storage_model_rq_of_email_dto.py => email_as_file_request.py} (66%) create mode 100644 sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_convert_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/email_document.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/email_document_response.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_from_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_get_list_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_get_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_list.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/email_properties.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/email_property_response.py create mode 100644 sdk/AsposeEmailCloudSdk/models/email_save_request.py rename sdk/AsposeEmailCloudSdk/models/{email_dto_list.py => email_storage_list.py} (90%) create mode 100644 sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/get_files_list_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/hierarchical_object.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/hierarchical_object_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/hierarchical_object_response.py rename sdk/AsposeEmailCloudSdk/models/{requests => }/http_request.py (99%) delete mode 100644 sdk/AsposeEmailCloudSdk/models/indexed_hierarchical_object.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/link.py rename sdk/AsposeEmailCloudSdk/models/{list_response_of_ai_bcr_ocr_data.py => list_response_of_mail_message_base.py} (80%) rename sdk/AsposeEmailCloudSdk/models/{mime_response.py => mail_message_base.py} (73%) rename sdk/AsposeEmailCloudSdk/models/{email_property.py => mail_message_base64.py} (53%) create mode 100644 sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py rename sdk/AsposeEmailCloudSdk/models/{list_response_of_hierarchical_object.py => mail_message_dto.py} (71%) rename sdk/AsposeEmailCloudSdk/models/{list_response_of_hierarchical_object_response.py => mail_message_mapi.py} (71%) create mode 100644 sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py rename sdk/AsposeEmailCloudSdk/models/{primitive_object.py => mapi_calendar_save_request.py} (63%) create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py rename sdk/AsposeEmailCloudSdk/models/{indexed_primitive_object.py => mapi_message_as_file_request.py} (61%) create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/move_file_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/move_folder_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/object_exists_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/__init__.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/add_calendar_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/add_contact_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/add_email_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/add_mapi_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_ocr_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_ocr_storage_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_ocr_data_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_storage_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_complete_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_expand_parsed_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_expand_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_format_parsed_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_genderize_parsed_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_genderize_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_match_parsed_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_match_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_parse_email_address_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/ai_name_parse_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/append_email_message_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/append_email_model_message_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/append_mime_message_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/base_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_alternate_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_mapi_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_contact_model_to_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_contact_model_to_mapi_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_contact_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_email_model_to_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_email_model_to_mapi_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_email_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_calendar_model_to_calendar_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_calendar_model_to_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_contact_model_to_contact_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_contact_model_to_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_message_model_to_email_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_message_model_to_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/copy_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/copy_folder_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/create_calendar_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/create_contact_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/create_email_folder_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/create_email_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/create_folder_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/create_mapi_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_calendar_property_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_contact_property_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_email_folder_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_email_message_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_email_thread_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_folder_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_mapi_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/delete_mapi_properties_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_oauth_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_password_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/download_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/fetch_email_message_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/fetch_email_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/fetch_email_thread_messages_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_as_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_file_as_mapi_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_file_as_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_list_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_as_alternate_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_list_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_calendar_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_contact_as_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_contact_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_contact_file_as_mapi_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_contact_file_as_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_contact_list_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_contact_model_list_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_contact_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_contact_properties_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_disc_usage_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_as_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_client_account_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_client_multi_account_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_file_as_mapi_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_file_as_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_model_list_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_property_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_email_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_file_versions_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_files_list_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_mapi_attachment_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_mapi_attachments_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_mapi_calendar_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_mapi_contact_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_mapi_list_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_mapi_message_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/get_mapi_properties_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/list_email_folders_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/list_email_messages_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/list_email_models_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/list_email_threads_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/move_email_message_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/move_email_thread_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/move_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/move_folder_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/object_exists_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_calendar_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_contact_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_email_client_account_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_email_client_multi_account_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_email_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_mail_account_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_mail_o_auth_account_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_mapi_calendar_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_mapi_contact_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/save_mapi_message_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/send_email_mime_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/send_email_model_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/send_email_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/set_email_property_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/set_email_read_flag_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/set_email_thread_read_flag_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/storage_exists_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/update_calendar_properties_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/update_contact_properties_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/update_mapi_properties_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/requests/upload_file_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/save_email_account_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/save_o_auth_email_account_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/send_email_base_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/send_email_mime_base_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/set_email_property_request.py delete mode 100644 sdk/AsposeEmailCloudSdk/models/set_message_read_flag_account_base_request.py create mode 100644 sdk/AsposeEmailCloudSdk/models/storage_exists_request.py rename sdk/AsposeEmailCloudSdk/models/{list_response_of_string.py => storage_file_location_list.py} (80%) rename sdk/AsposeEmailCloudSdk/models/{storage_file_rq_of_email_client_account.py => storage_model_of_email_client_account.py} (77%) rename sdk/AsposeEmailCloudSdk/models/{storage_file_rq_of_email_client_multi_account.py => storage_model_of_email_client_multi_account.py} (77%) rename sdk/AsposeEmailCloudSdk/models/{storage_model_rq_of_mapi_calendar_dto.py => storage_model_of_mapi_calendar_dto.py} (68%) rename sdk/AsposeEmailCloudSdk/models/{storage_model_rq_of_mapi_contact_dto.py => storage_model_of_mapi_contact_dto.py} (68%) rename sdk/AsposeEmailCloudSdk/models/{storage_model_rq_of_mapi_message_dto.py => storage_model_of_mapi_message_dto.py} (68%) create mode 100644 sdk/AsposeEmailCloudSdk/models/upload_file_request.py rename sdk/AsposeEmailCloudSdk/models/{value_response.py => value_t_of_string.py} (84%) delete mode 100644 sdk/docs/AccountBaseRequest.md delete mode 100644 sdk/docs/AddAttachmentRequest.md create mode 100644 sdk/docs/AiBcrApi.md delete mode 100644 sdk/docs/AiBcrOcrData.md delete mode 100644 sdk/docs/AiBcrOcrDataPart.md rename sdk/docs/{AiBcrParseStorageRq.md => AiBcrParseStorageRequest.md} (60%) delete mode 100644 sdk/docs/AiBcrStorageImageRq.md create mode 100644 sdk/docs/AiGroup.md create mode 100644 sdk/docs/AiNameApi.md rename sdk/docs/{MimeResponse.md => AiNameComponentList.md} (66%) create mode 100644 sdk/docs/AiNameExtractedList.md create mode 100644 sdk/docs/AiNameGenderHypothesisList.md rename sdk/docs/{AiNameParsedMatchRq.md => AiNameParsedMatchRequest.md} (76%) rename sdk/docs/{AiNameParsedRq.md => AiNameParsedRequest.md} (97%) delete mode 100644 sdk/docs/AppendEmailAccountBaseRequest.md delete mode 100644 sdk/docs/AppendEmailBaseRequest.md delete mode 100644 sdk/docs/AppendEmailMimeBaseRequest.md delete mode 100644 sdk/docs/AppendEmailModelRq.md create mode 100644 sdk/docs/CalendarApi.md rename sdk/docs/{CalendarDtoAlternateRq.md => CalendarAsAlternateRequest.md} (90%) create mode 100644 sdk/docs/CalendarAsFileRequest.md create mode 100644 sdk/docs/CalendarSaveRequest.md rename sdk/docs/{CalendarDtoList.md => CalendarStorageList.md} (88%) create mode 100644 sdk/docs/ClientAccountApi.md create mode 100644 sdk/docs/ClientAccountBaseRequest.md create mode 100644 sdk/docs/ClientFolderApi.md create mode 100644 sdk/docs/ClientFolderCreateRequest.md rename sdk/docs/{EmailDocumentResponse.md => ClientFolderDeleteRequest.md} (58%) create mode 100644 sdk/docs/ClientGroup.md create mode 100644 sdk/docs/ClientMessageApi.md create mode 100644 sdk/docs/ClientMessageAppendRequest.md create mode 100644 sdk/docs/ClientMessageBaseRequest.md create mode 100644 sdk/docs/ClientMessageDeleteRequest.md rename sdk/docs/{IndexedPrimitiveObject.md => ClientMessageMoveRequest.md} (51%) create mode 100644 sdk/docs/ClientMessageSendRequest.md rename sdk/docs/{AiBcrBase64Rq.md => ClientMessageSetIsReadRequest.md} (57%) create mode 100644 sdk/docs/ClientThreadApi.md rename sdk/docs/{AiBcrBase64Image.md => ClientThreadBaseRequest.md} (58%) create mode 100644 sdk/docs/ClientThreadDeleteRequest.md rename sdk/docs/{MoveEmailThreadRq.md => ClientThreadMoveRequest.md} (68%) create mode 100644 sdk/docs/ClientThreadSetIsReadRequest.md create mode 100644 sdk/docs/CloudStorageGroup.md create mode 100644 sdk/docs/ContactApi.md rename sdk/docs/{BaseObject.md => ContactAsFileRequest.md} (54%) rename sdk/docs/{ListResponseOfAiBcrOcrData.md => ContactList.md} (67%) create mode 100644 sdk/docs/ContactSaveRequest.md rename sdk/docs/{ContactDtoList.md => ContactStorageList.md} (88%) delete mode 100644 sdk/docs/CreateEmailRequest.md delete mode 100644 sdk/docs/CreateFolderBaseRequest.md delete mode 100644 sdk/docs/DeleteEmailThreadAccountRq.md delete mode 100644 sdk/docs/DeleteFolderBaseRequest.md delete mode 100644 sdk/docs/DeleteMessageBaseRequest.md rename sdk/docs/{DiscoverEmailConfigRq.md => DiscoverEmailConfigRequest.md} (91%) create mode 100644 sdk/docs/DisposableEmailApi.md delete mode 100644 sdk/docs/EmailAccountRequest.md create mode 100644 sdk/docs/EmailAsFileRequest.md create mode 100644 sdk/docs/EmailClientAccountSaveRequest.md create mode 100644 sdk/docs/EmailClientMultiAccountSaveRequest.md create mode 100644 sdk/docs/EmailConfigApi.md delete mode 100644 sdk/docs/EmailDocument.md create mode 100644 sdk/docs/EmailList.md delete mode 100644 sdk/docs/EmailProperties.md create mode 100644 sdk/docs/EmailSaveRequest.md rename sdk/docs/{EmailDtoList.md => EmailStorageList.md} (88%) delete mode 100644 sdk/docs/EmailThreadReadFlagRq.md create mode 100644 sdk/docs/FileApi.md create mode 100644 sdk/docs/FolderApi.md delete mode 100644 sdk/docs/HierarchicalObject.md delete mode 100644 sdk/docs/HierarchicalObjectRequest.md delete mode 100644 sdk/docs/HierarchicalObjectResponse.md delete mode 100644 sdk/docs/IndexedHierarchicalObject.md delete mode 100644 sdk/docs/Link.md delete mode 100644 sdk/docs/ListResponseOfHierarchicalObject.md delete mode 100644 sdk/docs/ListResponseOfHierarchicalObjectResponse.md rename sdk/docs/{AiBcrRq.md => ListResponseOfMailMessageBase.md} (66%) rename sdk/docs/{ListResponseOfString.md => MailMessageBase.md} (74%) create mode 100644 sdk/docs/MailMessageBase64.md create mode 100644 sdk/docs/MailMessageBaseList.md rename sdk/docs/{AiBcrParseOcrDataRq.md => MailMessageDto.md} (59%) create mode 100644 sdk/docs/MailMessageMapi.md create mode 100644 sdk/docs/MailServerFolderList.md create mode 100644 sdk/docs/MapiCalendarApi.md rename sdk/docs/{EmailProperty.md => MapiCalendarAsFileRequest.md} (53%) create mode 100644 sdk/docs/MapiCalendarSaveRequest.md create mode 100644 sdk/docs/MapiContactApi.md create mode 100644 sdk/docs/MapiContactAsFileRequest.md create mode 100644 sdk/docs/MapiContactSaveRequest.md create mode 100644 sdk/docs/MapiGroup.md create mode 100644 sdk/docs/MapiMessageApi.md create mode 100644 sdk/docs/MapiMessageAsFileRequest.md create mode 100644 sdk/docs/MapiMessageSaveRequest.md delete mode 100644 sdk/docs/MoveEmailMessageRq.md delete mode 100644 sdk/docs/PrimitiveObject.md delete mode 100644 sdk/docs/SaveEmailAccountRequest.md delete mode 100644 sdk/docs/SaveOAuthEmailAccountRequest.md delete mode 100644 sdk/docs/SendEmailBaseRequest.md delete mode 100644 sdk/docs/SendEmailMimeBaseRequest.md delete mode 100644 sdk/docs/SendEmailModelRq.md delete mode 100644 sdk/docs/SetEmailPropertyRequest.md delete mode 100644 sdk/docs/SetMessageReadFlagAccountBaseRequest.md create mode 100644 sdk/docs/StorageApi.md create mode 100644 sdk/docs/StorageFileLocationList.md rename sdk/docs/{StorageFileRqOfEmailClientAccount.md => StorageModelOfEmailClientAccount.md} (80%) rename sdk/docs/{StorageFileRqOfEmailClientMultiAccount.md => StorageModelOfEmailClientMultiAccount.md} (77%) create mode 100644 sdk/docs/StorageModelOfMapiCalendarDto.md rename sdk/docs/{EmailPropertyResponse.md => StorageModelOfMapiContactDto.md} (58%) create mode 100644 sdk/docs/StorageModelOfMapiMessageDto.md delete mode 100644 sdk/docs/StorageModelRqOfCalendarDto.md delete mode 100644 sdk/docs/StorageModelRqOfContactDto.md delete mode 100644 sdk/docs/StorageModelRqOfEmailDto.md delete mode 100644 sdk/docs/StorageModelRqOfMapiCalendarDto.md delete mode 100644 sdk/docs/StorageModelRqOfMapiContactDto.md delete mode 100644 sdk/docs/StorageModelRqOfMapiMessageDto.md rename sdk/docs/{ValueResponse.md => ValueTOfString.md} (68%) diff --git a/sdk/AsposeEmailCloudSdk/__init__.py b/sdk/AsposeEmailCloudSdk/__init__.py index ba3eac8..0c07a25 100644 --- a/sdk/AsposeEmailCloudSdk/__init__.py +++ b/sdk/AsposeEmailCloudSdk/__init__.py @@ -27,19 +27,30 @@ from __future__ import absolute_import # import apis into sdk package +from AsposeEmailCloudSdk.api.ai_bcr_api import AiBcrApi +from AsposeEmailCloudSdk.api.ai_name_api import AiNameApi +from AsposeEmailCloudSdk.api.calendar_api import CalendarApi +from AsposeEmailCloudSdk.api.client_account_api import ClientAccountApi +from AsposeEmailCloudSdk.api.client_folder_api import ClientFolderApi +from AsposeEmailCloudSdk.api.client_message_api import ClientMessageApi +from AsposeEmailCloudSdk.api.client_thread_api import ClientThreadApi +from AsposeEmailCloudSdk.api.contact_api import ContactApi +from AsposeEmailCloudSdk.api.disposable_email_api import DisposableEmailApi from AsposeEmailCloudSdk.api.email_api import EmailApi - +from AsposeEmailCloudSdk.api.email_config_api import EmailConfigApi +from AsposeEmailCloudSdk.api.file_api import FileApi +from AsposeEmailCloudSdk.api.folder_api import FolderApi +from AsposeEmailCloudSdk.api.mapi_calendar_api import MapiCalendarApi +from AsposeEmailCloudSdk.api.mapi_contact_api import MapiContactApi +from AsposeEmailCloudSdk.api.mapi_message_api import MapiMessageApi +from AsposeEmailCloudSdk.api.storage_api import StorageApi # import ApiClient from AsposeEmailCloudSdk.api_client import ApiClient from AsposeEmailCloudSdk.configuration import Configuration # import models into sdk package -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.add_attachment_request import AddAttachmentRequest from AsposeEmailCloudSdk.models.ai_bcr_image import AiBcrImage -from AsposeEmailCloudSdk.models.ai_bcr_ocr_data import AiBcrOcrData -from AsposeEmailCloudSdk.models.ai_bcr_ocr_data_part import AiBcrOcrDataPart from AsposeEmailCloudSdk.models.ai_bcr_options import AiBcrOptions -from AsposeEmailCloudSdk.models.ai_bcr_rq import AiBcrRq +from AsposeEmailCloudSdk.models.ai_bcr_parse_storage_request import AiBcrParseStorageRequest from AsposeEmailCloudSdk.models.ai_name_component import AiNameComponent from AsposeEmailCloudSdk.models.ai_name_cultural_context import AiNameCulturalContext from AsposeEmailCloudSdk.models.ai_name_extracted import AiNameExtracted @@ -48,35 +59,31 @@ from AsposeEmailCloudSdk.models.ai_name_gender_hypothesis import AiNameGenderHypothesis from AsposeEmailCloudSdk.models.ai_name_match_result import AiNameMatchResult from AsposeEmailCloudSdk.models.ai_name_mismatch import AiNameMismatch -from AsposeEmailCloudSdk.models.ai_name_parsed_rq import AiNameParsedRq +from AsposeEmailCloudSdk.models.ai_name_parsed_request import AiNameParsedRequest from AsposeEmailCloudSdk.models.ai_name_weighted import AiNameWeighted from AsposeEmailCloudSdk.models.ai_name_weighted_variants import AiNameWeightedVariants from AsposeEmailCloudSdk.models.associated_person import AssociatedPerson from AsposeEmailCloudSdk.models.attachment_base import AttachmentBase -from AsposeEmailCloudSdk.models.base_object import BaseObject +from AsposeEmailCloudSdk.models.calendar_as_alternate_request import CalendarAsAlternateRequest +from AsposeEmailCloudSdk.models.calendar_as_file_request import CalendarAsFileRequest from AsposeEmailCloudSdk.models.calendar_dto import CalendarDto -from AsposeEmailCloudSdk.models.calendar_dto_alternate_rq import CalendarDtoAlternateRq from AsposeEmailCloudSdk.models.calendar_reminder import CalendarReminder +from AsposeEmailCloudSdk.models.client_account_base_request import ClientAccountBaseRequest +from AsposeEmailCloudSdk.models.contact_as_file_request import ContactAsFileRequest from AsposeEmailCloudSdk.models.contact_dto import ContactDto from AsposeEmailCloudSdk.models.contact_photo import ContactPhoto from AsposeEmailCloudSdk.models.content_type import ContentType from AsposeEmailCloudSdk.models.content_type_parameter import ContentTypeParameter -from AsposeEmailCloudSdk.models.create_email_request import CreateEmailRequest from AsposeEmailCloudSdk.models.customer_event import CustomerEvent from AsposeEmailCloudSdk.models.disc_usage import DiscUsage -from AsposeEmailCloudSdk.models.discover_email_config_rq import DiscoverEmailConfigRq +from AsposeEmailCloudSdk.models.discover_email_config_request import DiscoverEmailConfigRequest from AsposeEmailCloudSdk.models.email_account_config import EmailAccountConfig -from AsposeEmailCloudSdk.models.email_account_request import EmailAccountRequest from AsposeEmailCloudSdk.models.email_address import EmailAddress +from AsposeEmailCloudSdk.models.email_as_file_request import EmailAsFileRequest from AsposeEmailCloudSdk.models.email_client_account import EmailClientAccount from AsposeEmailCloudSdk.models.email_client_account_credentials import EmailClientAccountCredentials from AsposeEmailCloudSdk.models.email_client_multi_account import EmailClientMultiAccount -from AsposeEmailCloudSdk.models.email_document import EmailDocument -from AsposeEmailCloudSdk.models.email_document_response import EmailDocumentResponse from AsposeEmailCloudSdk.models.email_dto import EmailDto -from AsposeEmailCloudSdk.models.email_properties import EmailProperties -from AsposeEmailCloudSdk.models.email_property import EmailProperty -from AsposeEmailCloudSdk.models.email_property_response import EmailPropertyResponse from AsposeEmailCloudSdk.models.email_thread import EmailThread from AsposeEmailCloudSdk.models.enum_with_custom_of_associated_person_category import EnumWithCustomOfAssociatedPersonCategory from AsposeEmailCloudSdk.models.enum_with_custom_of_email_address_category import EnumWithCustomOfEmailAddressCategory @@ -90,11 +97,7 @@ from AsposeEmailCloudSdk.models.file_versions import FileVersions from AsposeEmailCloudSdk.models.files_list import FilesList from AsposeEmailCloudSdk.models.files_upload_result import FilesUploadResult -from AsposeEmailCloudSdk.models.hierarchical_object_request import HierarchicalObjectRequest -from AsposeEmailCloudSdk.models.hierarchical_object_response import HierarchicalObjectResponse from AsposeEmailCloudSdk.models.instant_messenger_address import InstantMessengerAddress -from AsposeEmailCloudSdk.models.link import Link -from AsposeEmailCloudSdk.models.list_response_of_ai_bcr_ocr_data import ListResponseOfAiBcrOcrData from AsposeEmailCloudSdk.models.list_response_of_ai_name_component import ListResponseOfAiNameComponent from AsposeEmailCloudSdk.models.list_response_of_ai_name_extracted import ListResponseOfAiNameExtracted from AsposeEmailCloudSdk.models.list_response_of_ai_name_gender_hypothesis import ListResponseOfAiNameGenderHypothesis @@ -102,17 +105,17 @@ from AsposeEmailCloudSdk.models.list_response_of_email_account_config import ListResponseOfEmailAccountConfig from AsposeEmailCloudSdk.models.list_response_of_email_dto import ListResponseOfEmailDto from AsposeEmailCloudSdk.models.list_response_of_email_thread import ListResponseOfEmailThread -from AsposeEmailCloudSdk.models.list_response_of_hierarchical_object import ListResponseOfHierarchicalObject -from AsposeEmailCloudSdk.models.list_response_of_hierarchical_object_response import ListResponseOfHierarchicalObjectResponse +from AsposeEmailCloudSdk.models.list_response_of_mail_message_base import ListResponseOfMailMessageBase from AsposeEmailCloudSdk.models.list_response_of_mail_server_folder import ListResponseOfMailServerFolder from AsposeEmailCloudSdk.models.list_response_of_storage_file_location import ListResponseOfStorageFileLocation from AsposeEmailCloudSdk.models.list_response_of_storage_model_of_calendar_dto import ListResponseOfStorageModelOfCalendarDto from AsposeEmailCloudSdk.models.list_response_of_storage_model_of_contact_dto import ListResponseOfStorageModelOfContactDto from AsposeEmailCloudSdk.models.list_response_of_storage_model_of_email_dto import ListResponseOfStorageModelOfEmailDto -from AsposeEmailCloudSdk.models.list_response_of_string import ListResponseOfString from AsposeEmailCloudSdk.models.mail_address import MailAddress +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase from AsposeEmailCloudSdk.models.mail_server_folder import MailServerFolder from AsposeEmailCloudSdk.models.mapi_attachment_dto import MapiAttachmentDto +from AsposeEmailCloudSdk.models.mapi_calendar_as_file_request import MapiCalendarAsFileRequest from AsposeEmailCloudSdk.models.mapi_calendar_attendees_dto import MapiCalendarAttendeesDto from AsposeEmailCloudSdk.models.mapi_calendar_event_recurrence_dto import MapiCalendarEventRecurrenceDto from AsposeEmailCloudSdk.models.mapi_calendar_exception_info_dto import MapiCalendarExceptionInfoDto @@ -120,6 +123,7 @@ from AsposeEmailCloudSdk.models.mapi_calendar_time_zone_dto import MapiCalendarTimeZoneDto from AsposeEmailCloudSdk.models.mapi_calendar_time_zone_info_dto import MapiCalendarTimeZoneInfoDto from AsposeEmailCloudSdk.models.mapi_calendar_time_zone_rule_dto import MapiCalendarTimeZoneRuleDto +from AsposeEmailCloudSdk.models.mapi_contact_as_file_request import MapiContactAsFileRequest from AsposeEmailCloudSdk.models.mapi_contact_electronic_address_dto import MapiContactElectronicAddressDto from AsposeEmailCloudSdk.models.mapi_contact_electronic_address_property_set_dto import MapiContactElectronicAddressPropertySetDto from AsposeEmailCloudSdk.models.mapi_contact_event_property_set_dto import MapiContactEventPropertySetDto @@ -131,11 +135,11 @@ from AsposeEmailCloudSdk.models.mapi_contact_professional_property_set_dto import MapiContactProfessionalPropertySetDto from AsposeEmailCloudSdk.models.mapi_contact_telephone_property_set_dto import MapiContactTelephonePropertySetDto from AsposeEmailCloudSdk.models.mapi_electronic_address_dto import MapiElectronicAddressDto +from AsposeEmailCloudSdk.models.mapi_message_as_file_request import MapiMessageAsFileRequest from AsposeEmailCloudSdk.models.mapi_message_item_base_dto import MapiMessageItemBaseDto from AsposeEmailCloudSdk.models.mapi_property_descriptor import MapiPropertyDescriptor from AsposeEmailCloudSdk.models.mapi_property_dto import MapiPropertyDto from AsposeEmailCloudSdk.models.mapi_recipient_dto import MapiRecipientDto -from AsposeEmailCloudSdk.models.mime_response import MimeResponse from AsposeEmailCloudSdk.models.name_value_pair import NameValuePair from AsposeEmailCloudSdk.models.object_exist import ObjectExist from AsposeEmailCloudSdk.models.phone_number import PhoneNumber @@ -143,61 +147,67 @@ from AsposeEmailCloudSdk.models.recurrence_pattern_dto import RecurrencePatternDto from AsposeEmailCloudSdk.models.reminder_attendee import ReminderAttendee from AsposeEmailCloudSdk.models.reminder_trigger import ReminderTrigger -from AsposeEmailCloudSdk.models.set_email_property_request import SetEmailPropertyRequest from AsposeEmailCloudSdk.models.storage_exist import StorageExist from AsposeEmailCloudSdk.models.storage_file import StorageFile -from AsposeEmailCloudSdk.models.storage_file_rq_of_email_client_account import StorageFileRqOfEmailClientAccount -from AsposeEmailCloudSdk.models.storage_file_rq_of_email_client_multi_account import StorageFileRqOfEmailClientMultiAccount from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation from AsposeEmailCloudSdk.models.storage_model_of_calendar_dto import StorageModelOfCalendarDto from AsposeEmailCloudSdk.models.storage_model_of_contact_dto import StorageModelOfContactDto +from AsposeEmailCloudSdk.models.storage_model_of_email_client_account import StorageModelOfEmailClientAccount +from AsposeEmailCloudSdk.models.storage_model_of_email_client_multi_account import StorageModelOfEmailClientMultiAccount from AsposeEmailCloudSdk.models.storage_model_of_email_dto import StorageModelOfEmailDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_calendar_dto import StorageModelRqOfCalendarDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_contact_dto import StorageModelRqOfContactDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_email_dto import StorageModelRqOfEmailDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_mapi_calendar_dto import StorageModelRqOfMapiCalendarDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_mapi_contact_dto import StorageModelRqOfMapiContactDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_mapi_message_dto import StorageModelRqOfMapiMessageDto +from AsposeEmailCloudSdk.models.storage_model_of_mapi_calendar_dto import StorageModelOfMapiCalendarDto +from AsposeEmailCloudSdk.models.storage_model_of_mapi_contact_dto import StorageModelOfMapiContactDto +from AsposeEmailCloudSdk.models.storage_model_of_mapi_message_dto import StorageModelOfMapiMessageDto from AsposeEmailCloudSdk.models.url import Url -from AsposeEmailCloudSdk.models.value_response import ValueResponse from AsposeEmailCloudSdk.models.value_t_of_boolean import ValueTOfBoolean -from AsposeEmailCloudSdk.models.ai_bcr_base64_image import AiBcrBase64Image -from AsposeEmailCloudSdk.models.ai_bcr_base64_rq import AiBcrBase64Rq +from AsposeEmailCloudSdk.models.value_t_of_string import ValueTOfString from AsposeEmailCloudSdk.models.ai_bcr_image_storage_file import AiBcrImageStorageFile -from AsposeEmailCloudSdk.models.ai_bcr_parse_ocr_data_rq import AiBcrParseOcrDataRq -from AsposeEmailCloudSdk.models.ai_bcr_storage_image_rq import AiBcrStorageImageRq -from AsposeEmailCloudSdk.models.ai_name_parsed_match_rq import AiNameParsedMatchRq +from AsposeEmailCloudSdk.models.ai_name_component_list import AiNameComponentList +from AsposeEmailCloudSdk.models.ai_name_extracted_list import AiNameExtractedList +from AsposeEmailCloudSdk.models.ai_name_gender_hypothesis_list import AiNameGenderHypothesisList +from AsposeEmailCloudSdk.models.ai_name_parsed_match_request import AiNameParsedMatchRequest from AsposeEmailCloudSdk.models.alternate_view import AlternateView -from AsposeEmailCloudSdk.models.append_email_account_base_request import AppendEmailAccountBaseRequest from AsposeEmailCloudSdk.models.attachment import Attachment -from AsposeEmailCloudSdk.models.calendar_dto_list import CalendarDtoList -from AsposeEmailCloudSdk.models.contact_dto_list import ContactDtoList -from AsposeEmailCloudSdk.models.create_folder_base_request import CreateFolderBaseRequest +from AsposeEmailCloudSdk.models.calendar_save_request import CalendarSaveRequest +from AsposeEmailCloudSdk.models.calendar_storage_list import CalendarStorageList +from AsposeEmailCloudSdk.models.client_folder_create_request import ClientFolderCreateRequest +from AsposeEmailCloudSdk.models.client_folder_delete_request import ClientFolderDeleteRequest +from AsposeEmailCloudSdk.models.client_message_append_request import ClientMessageAppendRequest +from AsposeEmailCloudSdk.models.client_message_base_request import ClientMessageBaseRequest +from AsposeEmailCloudSdk.models.client_message_send_request import ClientMessageSendRequest +from AsposeEmailCloudSdk.models.client_thread_base_request import ClientThreadBaseRequest +from AsposeEmailCloudSdk.models.contact_list import ContactList +from AsposeEmailCloudSdk.models.contact_save_request import ContactSaveRequest +from AsposeEmailCloudSdk.models.contact_storage_list import ContactStorageList from AsposeEmailCloudSdk.models.daily_recurrence_pattern_dto import DailyRecurrencePatternDto -from AsposeEmailCloudSdk.models.delete_email_thread_account_rq import DeleteEmailThreadAccountRq -from AsposeEmailCloudSdk.models.delete_folder_base_request import DeleteFolderBaseRequest -from AsposeEmailCloudSdk.models.delete_message_base_request import DeleteMessageBaseRequest from AsposeEmailCloudSdk.models.discover_email_config_oauth import DiscoverEmailConfigOauth from AsposeEmailCloudSdk.models.discover_email_config_password import DiscoverEmailConfigPassword from AsposeEmailCloudSdk.models.email_account_config_list import EmailAccountConfigList from AsposeEmailCloudSdk.models.email_client_account_oauth_credentials import EmailClientAccountOauthCredentials from AsposeEmailCloudSdk.models.email_client_account_password_credentials import EmailClientAccountPasswordCredentials -from AsposeEmailCloudSdk.models.email_dto_list import EmailDtoList +from AsposeEmailCloudSdk.models.email_client_account_save_request import EmailClientAccountSaveRequest +from AsposeEmailCloudSdk.models.email_client_multi_account_save_request import EmailClientMultiAccountSaveRequest +from AsposeEmailCloudSdk.models.email_list import EmailList +from AsposeEmailCloudSdk.models.email_save_request import EmailSaveRequest +from AsposeEmailCloudSdk.models.email_storage_list import EmailStorageList from AsposeEmailCloudSdk.models.email_thread_list import EmailThreadList -from AsposeEmailCloudSdk.models.email_thread_read_flag_rq import EmailThreadReadFlagRq from AsposeEmailCloudSdk.models.file_version import FileVersion -from AsposeEmailCloudSdk.models.hierarchical_object import HierarchicalObject -from AsposeEmailCloudSdk.models.indexed_hierarchical_object import IndexedHierarchicalObject -from AsposeEmailCloudSdk.models.indexed_primitive_object import IndexedPrimitiveObject from AsposeEmailCloudSdk.models.linked_resource import LinkedResource +from AsposeEmailCloudSdk.models.mail_message_base64 import MailMessageBase64 +from AsposeEmailCloudSdk.models.mail_message_base_list import MailMessageBaseList +from AsposeEmailCloudSdk.models.mail_message_dto import MailMessageDto +from AsposeEmailCloudSdk.models.mail_message_mapi import MailMessageMapi +from AsposeEmailCloudSdk.models.mail_server_folder_list import MailServerFolderList from AsposeEmailCloudSdk.models.mapi_binary_property_dto import MapiBinaryPropertyDto from AsposeEmailCloudSdk.models.mapi_boolean_property_dto import MapiBooleanPropertyDto from AsposeEmailCloudSdk.models.mapi_calendar_daily_recurrence_pattern_dto import MapiCalendarDailyRecurrencePatternDto from AsposeEmailCloudSdk.models.mapi_calendar_dto import MapiCalendarDto +from AsposeEmailCloudSdk.models.mapi_calendar_save_request import MapiCalendarSaveRequest from AsposeEmailCloudSdk.models.mapi_calendar_weekly_recurrence_pattern_dto import MapiCalendarWeeklyRecurrencePatternDto from AsposeEmailCloudSdk.models.mapi_calendar_yearly_and_monthly_recurrence_pattern_dto import MapiCalendarYearlyAndMonthlyRecurrencePatternDto from AsposeEmailCloudSdk.models.mapi_contact_dto import MapiContactDto from AsposeEmailCloudSdk.models.mapi_contact_photo_dto import MapiContactPhotoDto +from AsposeEmailCloudSdk.models.mapi_contact_save_request import MapiContactSaveRequest from AsposeEmailCloudSdk.models.mapi_date_time_property_dto import MapiDateTimePropertyDto from AsposeEmailCloudSdk.models.mapi_file_as_property_dto import MapiFileAsPropertyDto from AsposeEmailCloudSdk.models.mapi_importance_property_dto import MapiImportancePropertyDto @@ -205,6 +215,7 @@ from AsposeEmailCloudSdk.models.mapi_known_property_descriptor import MapiKnownPropertyDescriptor from AsposeEmailCloudSdk.models.mapi_legacy_free_busy_property_dto import MapiLegacyFreeBusyPropertyDto from AsposeEmailCloudSdk.models.mapi_message_dto import MapiMessageDto +from AsposeEmailCloudSdk.models.mapi_message_save_request import MapiMessageSaveRequest from AsposeEmailCloudSdk.models.mapi_multi_int_property_dto import MapiMultiIntPropertyDto from AsposeEmailCloudSdk.models.mapi_multi_string_property_dto import MapiMultiStringPropertyDto from AsposeEmailCloudSdk.models.mapi_physical_address_index_property_dto import MapiPhysicalAddressIndexPropertyDto @@ -212,156 +223,84 @@ from AsposeEmailCloudSdk.models.mapi_response_type_property_dto import MapiResponseTypePropertyDto from AsposeEmailCloudSdk.models.mapi_string_property_dto import MapiStringPropertyDto from AsposeEmailCloudSdk.models.monthly_recurrence_pattern_dto import MonthlyRecurrencePatternDto -from AsposeEmailCloudSdk.models.move_email_message_rq import MoveEmailMessageRq -from AsposeEmailCloudSdk.models.move_email_thread_rq import MoveEmailThreadRq -from AsposeEmailCloudSdk.models.primitive_object import PrimitiveObject -from AsposeEmailCloudSdk.models.save_email_account_request import SaveEmailAccountRequest -from AsposeEmailCloudSdk.models.save_o_auth_email_account_request import SaveOAuthEmailAccountRequest -from AsposeEmailCloudSdk.models.send_email_base_request import SendEmailBaseRequest -from AsposeEmailCloudSdk.models.send_email_mime_base_request import SendEmailMimeBaseRequest -from AsposeEmailCloudSdk.models.send_email_model_rq import SendEmailModelRq -from AsposeEmailCloudSdk.models.set_message_read_flag_account_base_request import SetMessageReadFlagAccountBaseRequest from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_file_location_list import StorageFileLocationList from AsposeEmailCloudSdk.models.task_regenerating_pattern_dto import TaskRegeneratingPatternDto from AsposeEmailCloudSdk.models.weekly_recurrence_pattern_dto import WeeklyRecurrencePatternDto from AsposeEmailCloudSdk.models.yearly_recurrence_pattern_dto import YearlyRecurrencePatternDto -from AsposeEmailCloudSdk.models.ai_bcr_parse_storage_rq import AiBcrParseStorageRq -from AsposeEmailCloudSdk.models.append_email_base_request import AppendEmailBaseRequest -from AsposeEmailCloudSdk.models.append_email_mime_base_request import AppendEmailMimeBaseRequest -from AsposeEmailCloudSdk.models.append_email_model_rq import AppendEmailModelRq +from AsposeEmailCloudSdk.models.client_message_delete_request import ClientMessageDeleteRequest +from AsposeEmailCloudSdk.models.client_message_move_request import ClientMessageMoveRequest +from AsposeEmailCloudSdk.models.client_message_set_is_read_request import ClientMessageSetIsReadRequest +from AsposeEmailCloudSdk.models.client_thread_delete_request import ClientThreadDeleteRequest +from AsposeEmailCloudSdk.models.client_thread_move_request import ClientThreadMoveRequest +from AsposeEmailCloudSdk.models.client_thread_set_is_read_request import ClientThreadSetIsReadRequest from AsposeEmailCloudSdk.models.mapi_pid_lid_property_descriptor import MapiPidLidPropertyDescriptor from AsposeEmailCloudSdk.models.mapi_pid_name_property_descriptor import MapiPidNamePropertyDescriptor from AsposeEmailCloudSdk.models.mapi_pid_tag_property_descriptor import MapiPidTagPropertyDescriptor +from AsposeEmailCloudSdk.models.ai_bcr_parse_request import AiBcrParseRequest +from AsposeEmailCloudSdk.models.ai_name_complete_request import AiNameCompleteRequest +from AsposeEmailCloudSdk.models.ai_name_expand_request import AiNameExpandRequest +from AsposeEmailCloudSdk.models.ai_name_format_request import AiNameFormatRequest +from AsposeEmailCloudSdk.models.ai_name_genderize_request import AiNameGenderizeRequest +from AsposeEmailCloudSdk.models.ai_name_match_request import AiNameMatchRequest +from AsposeEmailCloudSdk.models.ai_name_parse_request import AiNameParseRequest +from AsposeEmailCloudSdk.models.ai_name_parse_email_address_request import AiNameParseEmailAddressRequest +from AsposeEmailCloudSdk.models.calendar_convert_request import CalendarConvertRequest +from AsposeEmailCloudSdk.models.calendar_from_file_request import CalendarFromFileRequest +from AsposeEmailCloudSdk.models.calendar_get_request import CalendarGetRequest +from AsposeEmailCloudSdk.models.calendar_get_as_alternate_request import CalendarGetAsAlternateRequest +from AsposeEmailCloudSdk.models.calendar_get_as_file_request import CalendarGetAsFileRequest +from AsposeEmailCloudSdk.models.calendar_get_list_request import CalendarGetListRequest +from AsposeEmailCloudSdk.models.client_account_get_request import ClientAccountGetRequest +from AsposeEmailCloudSdk.models.client_account_get_multi_request import ClientAccountGetMultiRequest +from AsposeEmailCloudSdk.models.client_folder_get_list_request import ClientFolderGetListRequest +from AsposeEmailCloudSdk.models.client_message_append_file_request import ClientMessageAppendFileRequest +from AsposeEmailCloudSdk.models.client_message_fetch_request import ClientMessageFetchRequest +from AsposeEmailCloudSdk.models.client_message_fetch_file_request import ClientMessageFetchFileRequest +from AsposeEmailCloudSdk.models.client_message_list_request import ClientMessageListRequest +from AsposeEmailCloudSdk.models.client_message_send_file_request import ClientMessageSendFileRequest +from AsposeEmailCloudSdk.models.client_thread_get_list_request import ClientThreadGetListRequest +from AsposeEmailCloudSdk.models.client_thread_get_messages_request import ClientThreadGetMessagesRequest +from AsposeEmailCloudSdk.models.contact_convert_request import ContactConvertRequest +from AsposeEmailCloudSdk.models.contact_from_file_request import ContactFromFileRequest +from AsposeEmailCloudSdk.models.contact_get_request import ContactGetRequest +from AsposeEmailCloudSdk.models.contact_get_as_file_request import ContactGetAsFileRequest +from AsposeEmailCloudSdk.models.contact_get_list_request import ContactGetListRequest +from AsposeEmailCloudSdk.models.disposable_email_is_disposable_request import DisposableEmailIsDisposableRequest +from AsposeEmailCloudSdk.models.email_convert_request import EmailConvertRequest +from AsposeEmailCloudSdk.models.email_from_file_request import EmailFromFileRequest +from AsposeEmailCloudSdk.models.email_get_request import EmailGetRequest +from AsposeEmailCloudSdk.models.email_get_as_file_request import EmailGetAsFileRequest +from AsposeEmailCloudSdk.models.email_get_list_request import EmailGetListRequest +from AsposeEmailCloudSdk.models.email_config_discover_request import EmailConfigDiscoverRequest +from AsposeEmailCloudSdk.models.copy_file_request import CopyFileRequest +from AsposeEmailCloudSdk.models.delete_file_request import DeleteFileRequest +from AsposeEmailCloudSdk.models.download_file_request import DownloadFileRequest +from AsposeEmailCloudSdk.models.move_file_request import MoveFileRequest +from AsposeEmailCloudSdk.models.upload_file_request import UploadFileRequest +from AsposeEmailCloudSdk.models.copy_folder_request import CopyFolderRequest +from AsposeEmailCloudSdk.models.create_folder_request import CreateFolderRequest +from AsposeEmailCloudSdk.models.delete_folder_request import DeleteFolderRequest +from AsposeEmailCloudSdk.models.get_files_list_request import GetFilesListRequest +from AsposeEmailCloudSdk.models.move_folder_request import MoveFolderRequest +from AsposeEmailCloudSdk.models.mapi_calendar_from_file_request import MapiCalendarFromFileRequest +from AsposeEmailCloudSdk.models.mapi_calendar_get_request import MapiCalendarGetRequest +from AsposeEmailCloudSdk.models.mapi_contact_from_file_request import MapiContactFromFileRequest +from AsposeEmailCloudSdk.models.mapi_contact_get_request import MapiContactGetRequest +from AsposeEmailCloudSdk.models.mapi_message_from_file_request import MapiMessageFromFileRequest +from AsposeEmailCloudSdk.models.mapi_message_get_request import MapiMessageGetRequest +from AsposeEmailCloudSdk.models.get_disc_usage_request import GetDiscUsageRequest +from AsposeEmailCloudSdk.models.get_file_versions_request import GetFileVersionsRequest +from AsposeEmailCloudSdk.models.object_exists_request import ObjectExistsRequest +from AsposeEmailCloudSdk.models.storage_exists_request import StorageExistsRequest + +# EmailCloud imports +from AsposeEmailCloudSdk.api.email_cloud import EmailCloud + +from AsposeEmailCloudSdk.api.mapi_group import MapiGroup + +from AsposeEmailCloudSdk.api.client_group import ClientGroup + +from AsposeEmailCloudSdk.api.ai_group import AiGroup -from AsposeEmailCloudSdk.models.requests.add_calendar_attachment_request import AddCalendarAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_contact_attachment_request import AddContactAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_email_attachment_request import AddEmailAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_mapi_attachment_request import AddMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_ocr_request import AiBcrOcrRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_ocr_storage_request import AiBcrOcrStorageRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_model_request import AiBcrParseModelRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_ocr_data_model_request import AiBcrParseOcrDataModelRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_request import AiBcrParseRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_storage_request import AiBcrParseStorageRequest -from AsposeEmailCloudSdk.models.requests.ai_name_complete_request import AiNameCompleteRequest -from AsposeEmailCloudSdk.models.requests.ai_name_expand_parsed_request import AiNameExpandParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_expand_request import AiNameExpandRequest -from AsposeEmailCloudSdk.models.requests.ai_name_format_parsed_request import AiNameFormatParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_format_request import AiNameFormatRequest -from AsposeEmailCloudSdk.models.requests.ai_name_genderize_parsed_request import AiNameGenderizeParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_genderize_request import AiNameGenderizeRequest -from AsposeEmailCloudSdk.models.requests.ai_name_match_parsed_request import AiNameMatchParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_match_request import AiNameMatchRequest -from AsposeEmailCloudSdk.models.requests.ai_name_parse_email_address_request import AiNameParseEmailAddressRequest -from AsposeEmailCloudSdk.models.requests.ai_name_parse_request import AiNameParseRequest -from AsposeEmailCloudSdk.models.requests.append_email_message_request import AppendEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.append_email_model_message_request import AppendEmailModelMessageRequest -from AsposeEmailCloudSdk.models.requests.append_mime_message_request import AppendMimeMessageRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_alternate_request import ConvertCalendarModelToAlternateRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_file_request import ConvertCalendarModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_mapi_model_request import ConvertCalendarModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_request import ConvertCalendarRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_model_to_file_request import ConvertContactModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_model_to_mapi_model_request import ConvertContactModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_request import ConvertContactRequest -from AsposeEmailCloudSdk.models.requests.convert_email_model_to_file_request import ConvertEmailModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_email_model_to_mapi_model_request import ConvertEmailModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_email_request import ConvertEmailRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_calendar_model_to_calendar_model_request import ConvertMapiCalendarModelToCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_calendar_model_to_file_request import ConvertMapiCalendarModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_contact_model_to_contact_model_request import ConvertMapiContactModelToContactModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_contact_model_to_file_request import ConvertMapiContactModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_message_model_to_email_model_request import ConvertMapiMessageModelToEmailModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_message_model_to_file_request import ConvertMapiMessageModelToFileRequest -from AsposeEmailCloudSdk.models.requests.copy_file_request import CopyFileRequest -from AsposeEmailCloudSdk.models.requests.copy_folder_request import CopyFolderRequest -from AsposeEmailCloudSdk.models.requests.create_calendar_request import CreateCalendarRequest -from AsposeEmailCloudSdk.models.requests.create_contact_request import CreateContactRequest -from AsposeEmailCloudSdk.models.requests.create_email_folder_request import CreateEmailFolderRequest -from AsposeEmailCloudSdk.models.requests.create_email_request import CreateEmailRequest -from AsposeEmailCloudSdk.models.requests.create_folder_request import CreateFolderRequest -from AsposeEmailCloudSdk.models.requests.create_mapi_request import CreateMapiRequest -from AsposeEmailCloudSdk.models.requests.delete_calendar_property_request import DeleteCalendarPropertyRequest -from AsposeEmailCloudSdk.models.requests.delete_contact_property_request import DeleteContactPropertyRequest -from AsposeEmailCloudSdk.models.requests.delete_email_folder_request import DeleteEmailFolderRequest -from AsposeEmailCloudSdk.models.requests.delete_email_message_request import DeleteEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.delete_email_thread_request import DeleteEmailThreadRequest -from AsposeEmailCloudSdk.models.requests.delete_file_request import DeleteFileRequest -from AsposeEmailCloudSdk.models.requests.delete_folder_request import DeleteFolderRequest -from AsposeEmailCloudSdk.models.requests.delete_mapi_attachment_request import DeleteMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.delete_mapi_properties_request import DeleteMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_oauth_request import DiscoverEmailConfigOauthRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_password_request import DiscoverEmailConfigPasswordRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_request import DiscoverEmailConfigRequest -from AsposeEmailCloudSdk.models.requests.download_file_request import DownloadFileRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_message_request import FetchEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_model_request import FetchEmailModelRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_thread_messages_request import FetchEmailThreadMessagesRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_as_file_request import GetCalendarAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_attachment_request import GetCalendarAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_file_as_mapi_model_request import GetCalendarFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_file_as_model_request import GetCalendarFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_list_request import GetCalendarListRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_as_alternate_request import GetCalendarModelAsAlternateRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_list_request import GetCalendarModelListRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_request import GetCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_request import GetCalendarRequest -from AsposeEmailCloudSdk.models.requests.get_contact_as_file_request import GetContactAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_contact_attachment_request import GetContactAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_contact_file_as_mapi_model_request import GetContactFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_file_as_model_request import GetContactFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_list_request import GetContactListRequest -from AsposeEmailCloudSdk.models.requests.get_contact_model_list_request import GetContactModelListRequest -from AsposeEmailCloudSdk.models.requests.get_contact_model_request import GetContactModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_properties_request import GetContactPropertiesRequest -from AsposeEmailCloudSdk.models.requests.get_disc_usage_request import GetDiscUsageRequest -from AsposeEmailCloudSdk.models.requests.get_email_as_file_request import GetEmailAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_email_attachment_request import GetEmailAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_email_client_account_request import GetEmailClientAccountRequest -from AsposeEmailCloudSdk.models.requests.get_email_client_multi_account_request import GetEmailClientMultiAccountRequest -from AsposeEmailCloudSdk.models.requests.get_email_file_as_mapi_model_request import GetEmailFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_file_as_model_request import GetEmailFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_model_list_request import GetEmailModelListRequest -from AsposeEmailCloudSdk.models.requests.get_email_model_request import GetEmailModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_property_request import GetEmailPropertyRequest -from AsposeEmailCloudSdk.models.requests.get_email_request import GetEmailRequest -from AsposeEmailCloudSdk.models.requests.get_files_list_request import GetFilesListRequest -from AsposeEmailCloudSdk.models.requests.get_file_versions_request import GetFileVersionsRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_attachments_request import GetMapiAttachmentsRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_attachment_request import GetMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_calendar_model_request import GetMapiCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_contact_model_request import GetMapiContactModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_list_request import GetMapiListRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_message_model_request import GetMapiMessageModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_properties_request import GetMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.is_email_address_disposable_request import IsEmailAddressDisposableRequest -from AsposeEmailCloudSdk.models.requests.list_email_folders_request import ListEmailFoldersRequest -from AsposeEmailCloudSdk.models.requests.list_email_messages_request import ListEmailMessagesRequest -from AsposeEmailCloudSdk.models.requests.list_email_models_request import ListEmailModelsRequest -from AsposeEmailCloudSdk.models.requests.list_email_threads_request import ListEmailThreadsRequest -from AsposeEmailCloudSdk.models.requests.move_email_message_request import MoveEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.move_email_thread_request import MoveEmailThreadRequest -from AsposeEmailCloudSdk.models.requests.move_file_request import MoveFileRequest -from AsposeEmailCloudSdk.models.requests.move_folder_request import MoveFolderRequest -from AsposeEmailCloudSdk.models.requests.object_exists_request import ObjectExistsRequest -from AsposeEmailCloudSdk.models.requests.save_calendar_model_request import SaveCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.save_contact_model_request import SaveContactModelRequest -from AsposeEmailCloudSdk.models.requests.save_email_client_account_request import SaveEmailClientAccountRequest -from AsposeEmailCloudSdk.models.requests.save_email_client_multi_account_request import SaveEmailClientMultiAccountRequest -from AsposeEmailCloudSdk.models.requests.save_email_model_request import SaveEmailModelRequest -from AsposeEmailCloudSdk.models.requests.save_mail_account_request import SaveMailAccountRequest -from AsposeEmailCloudSdk.models.requests.save_mail_o_auth_account_request import SaveMailOAuthAccountRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_calendar_model_request import SaveMapiCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_contact_model_request import SaveMapiContactModelRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_message_model_request import SaveMapiMessageModelRequest -from AsposeEmailCloudSdk.models.requests.send_email_mime_request import SendEmailMimeRequest -from AsposeEmailCloudSdk.models.requests.send_email_model_request import SendEmailModelRequest -from AsposeEmailCloudSdk.models.requests.send_email_request import SendEmailRequest -from AsposeEmailCloudSdk.models.requests.set_email_property_request import SetEmailPropertyRequest -from AsposeEmailCloudSdk.models.requests.set_email_read_flag_request import SetEmailReadFlagRequest -from AsposeEmailCloudSdk.models.requests.set_email_thread_read_flag_request import SetEmailThreadReadFlagRequest -from AsposeEmailCloudSdk.models.requests.storage_exists_request import StorageExistsRequest -from AsposeEmailCloudSdk.models.requests.update_calendar_properties_request import UpdateCalendarPropertiesRequest -from AsposeEmailCloudSdk.models.requests.update_contact_properties_request import UpdateContactPropertiesRequest -from AsposeEmailCloudSdk.models.requests.update_mapi_properties_request import UpdateMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.upload_file_request import UploadFileRequest +from AsposeEmailCloudSdk.api.cloud_storage_group import CloudStorageGroup diff --git a/sdk/AsposeEmailCloudSdk/api/__init__.py b/sdk/AsposeEmailCloudSdk/api/__init__.py index c3a078c..a4f8941 100644 --- a/sdk/AsposeEmailCloudSdk/api/__init__.py +++ b/sdk/AsposeEmailCloudSdk/api/__init__.py @@ -1,3 +1,4 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- # @@ -27,4 +28,33 @@ from __future__ import absolute_import # import apis into api package +from AsposeEmailCloudSdk.api.ai_bcr_api import AiBcrApi +from AsposeEmailCloudSdk.api.ai_name_api import AiNameApi +from AsposeEmailCloudSdk.api.calendar_api import CalendarApi +from AsposeEmailCloudSdk.api.client_account_api import ClientAccountApi +from AsposeEmailCloudSdk.api.client_folder_api import ClientFolderApi +from AsposeEmailCloudSdk.api.client_message_api import ClientMessageApi +from AsposeEmailCloudSdk.api.client_thread_api import ClientThreadApi +from AsposeEmailCloudSdk.api.contact_api import ContactApi +from AsposeEmailCloudSdk.api.disposable_email_api import DisposableEmailApi from AsposeEmailCloudSdk.api.email_api import EmailApi +from AsposeEmailCloudSdk.api.email_config_api import EmailConfigApi +from AsposeEmailCloudSdk.api.file_api import FileApi +from AsposeEmailCloudSdk.api.folder_api import FolderApi +from AsposeEmailCloudSdk.api.mapi_calendar_api import MapiCalendarApi +from AsposeEmailCloudSdk.api.mapi_contact_api import MapiContactApi +from AsposeEmailCloudSdk.api.mapi_message_api import MapiMessageApi +from AsposeEmailCloudSdk.api.storage_api import StorageApi + + + +# EmailCloud imports +from AsposeEmailCloudSdk.api.email_cloud import EmailCloud + +from AsposeEmailCloudSdk.api.mapi_group import MapiGroup + +from AsposeEmailCloudSdk.api.client_group import ClientGroup + +from AsposeEmailCloudSdk.api.ai_group import AiGroup + +from AsposeEmailCloudSdk.api.cloud_storage_group import CloudStorageGroup diff --git a/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py b/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py new file mode 100644 index 0000000..d86f3e3 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py @@ -0,0 +1,113 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class AiBcrApi(ApiBase): + """ + Aspose.Email Cloud API. AiBcrApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def parse(self, request: AiBcrParseRequest) -> ContactList: + """Parse images to vCard document models + + + :param request AiBcrParseRequest object with parameters + :return: ContactList + """ + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `parse`") + + collection_formats = {} + path = '/email/AiBcr/parse' + + query_params = [] + if request.countries is not None: + query_params.append((self._lowercase_first_letter('countries'), request.countries)) + if request.languages is not None: + query_params.append((self._lowercase_first_letter('languages'), request.languages)) + if request.is_single is not None: + query_params.append((self._lowercase_first_letter('isSingle'), request.is_single)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'ContactList') + + def parse_storage(self, request: AiBcrParseStorageRequest) -> StorageFileLocationList: + """Parse images from storage to vCard files + + :param request AiBcrParseStorageRequest Request with images located on storage + :return: StorageFileLocationList + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `parse_storage`") + + collection_formats = {} + path = '/email/AiBcr/parse-storage' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'StorageFileLocationList') diff --git a/sdk/AsposeEmailCloudSdk/api/ai_group.py b/sdk/AsposeEmailCloudSdk/api/ai_group.py new file mode 100644 index 0000000..2e99074 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/ai_group.py @@ -0,0 +1,55 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import +from AsposeEmailCloudSdk.api import * + + +class AiGroup(object): + """ + AI powered operations. + """ + def __init__(self, api_client): + + self._bcr = AiBcrApi(api_client) + + self._name = AiNameApi(api_client) + + + @property + def bcr(self) -> AiBcrApi: + """ + AI Business card recognition operations. + """ + return self._bcr + + @property + def name(self) -> AiNameApi: + """ + AI Name operations. + """ + return self._name + diff --git a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py new file mode 100644 index 0000000..3a2220b --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py @@ -0,0 +1,496 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class AiNameApi(ApiBase): + """ + Aspose.Email Cloud API. AiNameApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def complete(self, request: AiNameCompleteRequest) -> AiNameWeightedVariants: + """The call proposes k most probable names for given starting characters. + + + :param request AiNameCompleteRequest object with parameters + :return: AiNameWeightedVariants + """ + # verify the required parameter 'name' is set + if request.name is None: + raise ValueError("Missing the required parameter `name` when calling `complete`") + + collection_formats = {} + path = '/email/AiName/complete' + + query_params = [] + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'AiNameWeightedVariants') + + def expand(self, request: AiNameExpandRequest) -> AiNameWeightedVariants: + """Expands a person's name into a list of possible alternatives using options for expanding instructions. + + + :param request AiNameExpandRequest object with parameters + :return: AiNameWeightedVariants + """ + # verify the required parameter 'name' is set + if request.name is None: + raise ValueError("Missing the required parameter `name` when calling `expand`") + + collection_formats = {} + path = '/email/AiName/expand' + + query_params = [] + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'AiNameWeightedVariants') + + def expand_parsed(self, request: AiNameParsedRequest) -> AiNameWeightedVariants: + """Expands a person's parsed name into a list of possible alternatives using options for expanding instructions. + + :param request AiNameParsedRequest Parsed name with options. + :return: AiNameWeightedVariants + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `expand_parsed`") + + collection_formats = {} + path = '/email/AiName/expand-parsed' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'AiNameWeightedVariants') + + def format(self, request: AiNameFormatRequest) -> AiNameFormatted: + """Formats a person's name in correct case and name order using options for formatting instructions. + + + :param request AiNameFormatRequest object with parameters + :return: AiNameFormatted + """ + # verify the required parameter 'name' is set + if request.name is None: + raise ValueError("Missing the required parameter `name` when calling `format`") + + collection_formats = {} + path = '/email/AiName/format' + + query_params = [] + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'AiNameFormatted') + + def format_parsed(self, request: AiNameParsedRequest) -> AiNameFormatted: + """Formats a person's parsed name in correct case and name order using options for formatting instructions. + + :param request AiNameParsedRequest Parsed name with options. + :return: AiNameFormatted + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `format_parsed`") + + collection_formats = {} + path = '/email/AiName/format-parsed' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'AiNameFormatted') + + def genderize(self, request: AiNameGenderizeRequest) -> AiNameGenderHypothesisList: + """Detect person's gender from name string. + + + :param request AiNameGenderizeRequest object with parameters + :return: AiNameGenderHypothesisList + """ + # verify the required parameter 'name' is set + if request.name is None: + raise ValueError("Missing the required parameter `name` when calling `genderize`") + + collection_formats = {} + path = '/email/AiName/genderize' + + query_params = [] + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'AiNameGenderHypothesisList') + + def genderize_parsed(self, request: AiNameParsedRequest) -> AiNameGenderHypothesisList: + """Detect person's gender from parsed name. + + :param request AiNameParsedRequest Gender detection request data. + :return: AiNameGenderHypothesisList + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `genderize_parsed`") + + collection_formats = {} + path = '/email/AiName/genderize-parsed' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'AiNameGenderHypothesisList') + + def match(self, request: AiNameMatchRequest) -> AiNameMatchResult: + """Compare people's names. Uses options for comparing instructions. + + + :param request AiNameMatchRequest object with parameters + :return: AiNameMatchResult + """ + # verify the required parameter 'name' is set + if request.name is None: + raise ValueError("Missing the required parameter `name` when calling `match`") + # verify the required parameter 'other_name' is set + if request.other_name is None: + raise ValueError("Missing the required parameter `other_name` when calling `match`") + + collection_formats = {} + path = '/email/AiName/match' + + query_params = [] + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + if request.other_name is not None: + query_params.append((self._lowercase_first_letter('otherName'), request.other_name)) + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'AiNameMatchResult') + + def match_parsed(self, request: AiNameParsedMatchRequest) -> AiNameMatchResult: + """Compare people's parsed names and attributes. Uses options for comparing instructions. + + :param request AiNameParsedMatchRequest Parsed names to match. + :return: AiNameMatchResult + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `match_parsed`") + + collection_formats = {} + path = '/email/AiName/match-parsed' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'AiNameMatchResult') + + def parse(self, request: AiNameParseRequest) -> AiNameComponentList: + """Parse name to components. + + + :param request AiNameParseRequest object with parameters + :return: AiNameComponentList + """ + # verify the required parameter 'name' is set + if request.name is None: + raise ValueError("Missing the required parameter `name` when calling `parse`") + + collection_formats = {} + path = '/email/AiName/parse' + + query_params = [] + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'AiNameComponentList') + + def parse_email_address(self, request: AiNameParseEmailAddressRequest) -> AiNameExtractedList: + """Parse person's name out of an email address. + + + :param request AiNameParseEmailAddressRequest object with parameters + :return: AiNameExtractedList + """ + # verify the required parameter 'email_address' is set + if request.email_address is None: + raise ValueError("Missing the required parameter `email_address` when calling `parse_email_address`") + + collection_formats = {} + path = '/email/AiName/parse-email-address' + + query_params = [] + if request.email_address is not None: + query_params.append((self._lowercase_first_letter('emailAddress'), request.email_address)) + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'AiNameExtractedList') diff --git a/sdk/AsposeEmailCloudSdk/api/api_base.py b/sdk/AsposeEmailCloudSdk/api/api_base.py new file mode 100644 index 0000000..e098306 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/api_base.py @@ -0,0 +1,107 @@ + +import six + +from AsposeEmailCloudSdk.api_client import ApiClient +from AsposeEmailCloudSdk.rest import ApiException + + +class ApiBase(object): + def __init__(self, api_client: ApiClient): + self.api_client = api_client + + @staticmethod + def _select_header_accept(accepts): + """Returns `Accept` based on an array of accepts provided. + + :param accepts: List of headers. + :return: Accept (e.g. application/json). + """ + if not accepts: + return None + + accepts = [x.lower() for x in accepts] + + if 'application/json' in accepts: + return 'application/json' + + return ', '.join(accepts) + + @staticmethod + def _select_header_content_type(content_types): + """Returns `Content-Type` based on an array of content_types provided. + + :param content_types: List of content-types. + :return: Content-Type (e.g. application/json). + """ + if not content_types: + return 'application/json' + + content_types = [x.lower() for x in content_types] + + if 'application/json' in content_types or '*/*' in content_types: + return 'application/json' + + return content_types[0] + + @staticmethod + def _lowercase_first_letter(string): + """ + Converts first letter of the string to lowercase + + :param string: initial string + :return: initial string with first character in lowercase + """ + if not string: + return string + + return string[0].lower() + string[1:] + + def _make_request(self, http_request, method, return_type): + def call_api(): + return self.api_client.call_api( + resource_path=http_request.resource_path, + method=method, + path_params=http_request.path_params, + query_params=http_request.query_params, + header_params=http_request.header_params, + body=http_request.body_params, + post_params=http_request.form_params, + files=http_request.files, + response_type=return_type, + auth_settings=http_request.auth_settings, + _return_http_data_only=http_request.return_http_data_only, + _preload_content=http_request.preload_content, + _request_timeout=http_request.request_timeout, + collection_formats=http_request.collection_formats) + + try: + return call_api() + except ApiException as ex: + if ex.code == 401: + self._request_token() + return call_api() + raise + + def _request_token(self): + config = self.api_client.configuration + request_url = "/connect/token" + form_params = [('grant_type', 'client_credentials'), ('client_id', config.api_key['app_sid']), + ('client_secret', config.api_key['api_key'])] + + header_params = {'Accept': 'application/json', 'Content-Type': 'application/x-www-form-urlencoded'} + + api_version = self.api_client.configuration.api_version + self.api_client.configuration.api_version = '' + + data = self.api_client.call_api(request_url, 'POST', + {}, + [], + header_params, + post_params=form_params, + response_type='object', + files={}, _return_http_data_only=True, + host=config.get_auth_url()) + access_token = data['access_token'] if six.PY3 else data['access_token'].encode('utf8') + self.api_client.configuration.access_token = access_token + + self.api_client.configuration.api_version = api_version diff --git a/sdk/AsposeEmailCloudSdk/api/calendar_api.py b/sdk/AsposeEmailCloudSdk/api/calendar_api.py new file mode 100644 index 0000000..8ccb4bb --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/calendar_api.py @@ -0,0 +1,416 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class CalendarApi(ApiBase): + """ + Aspose.Email Cloud API. CalendarApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def as_alternate(self, request: CalendarAsAlternateRequest) -> AlternateView: + """Convert iCalendar to AlternateView + + :param request CalendarAsAlternateRequest iCalendar to AlternateView request + :return: AlternateView + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `as_alternate`") + + collection_formats = {} + path = '/email/Calendar/as-alternate' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'AlternateView') + + def as_file(self, request: CalendarAsFileRequest) -> str: + """Converts calendar model to specified format and returns as file. + + :param request CalendarAsFileRequest Calendar model and format to convert. + :return: str + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `as_file`") + + collection_formats = {} + path = '/email/Calendar/as-file' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'file') + + def as_mapi(self, calendar_dto: CalendarDto) -> MapiCalendarDto: + """Converts CalendarDto to MapiCalendarDto. + + :param calendar_dto CalendarDto iCalendar model calendar representation. + :return: MapiCalendarDto + """ + # verify the required parameter 'calendar_dto' is set + if calendar_dto is None: + raise ValueError("Missing the required parameter `calendar_dto` when calling `as_mapi`") + + collection_formats = {} + path = '/email/Calendar/as-mapi' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = calendar_dto + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'MapiCalendarDto') + + def convert(self, request: CalendarConvertRequest) -> str: + """Converts calendar document to specified format and returns as file. + + + :param request CalendarConvertRequest object with parameters + :return: str + """ + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `convert`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `convert`") + + collection_formats = {} + path = '/email/Calendar/convert' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'file') + + def from_file(self, request: CalendarFromFileRequest) -> CalendarDto: + """Converts calendar document to a model representation. + + + :param request CalendarFromFileRequest object with parameters + :return: CalendarDto + """ + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `from_file`") + + collection_formats = {} + path = '/email/Calendar/from-file' + + query_params = [] + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'CalendarDto') + + def get(self, request: CalendarGetRequest) -> CalendarDto: + """Get calendar file from storage. + + + :param request CalendarGetRequest object with parameters + :return: CalendarDto + """ + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get`") + + collection_formats = {} + path = '/email/Calendar' + + query_params = [] + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'CalendarDto') + + def get_as_alternate(self, request: CalendarGetAsAlternateRequest) -> AlternateView: + """Get iCalendar from storage as AlternateView + + + :param request CalendarGetAsAlternateRequest object with parameters + :return: AlternateView + """ + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get_as_alternate`") + # verify the required parameter 'calendar_action' is set + if request.calendar_action is None: + raise ValueError("Missing the required parameter `calendar_action` when calling `get_as_alternate`") + + collection_formats = {} + path = '/email/Calendar/as-alternate' + + query_params = [] + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.calendar_action is not None: + query_params.append((self._lowercase_first_letter('calendarAction'), request.calendar_action)) + if request.sequence_id is not None: + query_params.append((self._lowercase_first_letter('sequenceId'), request.sequence_id)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'AlternateView') + + def get_as_file(self, request: CalendarGetAsFileRequest) -> str: + """Converts calendar document from storage to specified format and returns as file. + + + :param request CalendarGetAsFileRequest object with parameters + :return: str + """ + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get_as_file`") + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `get_as_file`") + + collection_formats = {} + path = '/email/Calendar/as-file' + + query_params = [] + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'file') + + def get_list(self, request: CalendarGetListRequest) -> CalendarStorageList: + """Get iCalendar list from storage folder. + + + :param request CalendarGetListRequest object with parameters + :return: CalendarStorageList + """ + # verify the required parameter 'folder' is set + if request.folder is None: + raise ValueError("Missing the required parameter `folder` when calling `get_list`") + + collection_formats = {} + path = '/email/Calendar/list' + + query_params = [] + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.items_per_page is not None: + query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) + if request.page_number is not None: + query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'CalendarStorageList') + + def save(self, request: CalendarSaveRequest): + """Save iCalendar + + :param request CalendarSaveRequest iCalendar create/update request + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `save`") + + collection_formats = {} + path = '/email/Calendar' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/client_account_api.py b/sdk/AsposeEmailCloudSdk/api/client_account_api.py new file mode 100644 index 0000000..be5e5fc --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/client_account_api.py @@ -0,0 +1,181 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class ClientAccountApi(ApiBase): + """ + Aspose.Email Cloud API. ClientAccountApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def get(self, request: ClientAccountGetRequest) -> EmailClientAccount: + """Get email client account from storage. + + + :param request ClientAccountGetRequest object with parameters + :return: EmailClientAccount + """ + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get`") + + collection_formats = {} + path = '/email/client/account' + + query_params = [] + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'EmailClientAccount') + + def get_multi(self, request: ClientAccountGetMultiRequest) -> EmailClientMultiAccount: + """Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". + + + :param request ClientAccountGetMultiRequest object with parameters + :return: EmailClientMultiAccount + """ + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get_multi`") + + collection_formats = {} + path = '/email/client/account/multi' + + query_params = [] + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'EmailClientMultiAccount') + + def save(self, request: EmailClientAccountSaveRequest): + """Create/update email client account file (*.account) with credentials + + :param request EmailClientAccountSaveRequest Email account information + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `save`") + + collection_formats = {} + path = '/email/client/account' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) + + def save_multi(self, request: EmailClientMultiAccountSaveRequest): + """Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". + + :param request EmailClientMultiAccountSaveRequest Email accounts information. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `save_multi`") + + collection_formats = {} + path = '/email/client/account/multi' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/client_folder_api.py b/sdk/AsposeEmailCloudSdk/api/client_folder_api.py new file mode 100644 index 0000000..1a4b85a --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/client_folder_api.py @@ -0,0 +1,141 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class ClientFolderApi(ApiBase): + """ + Aspose.Email Cloud API. ClientFolderApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def create(self, request: ClientFolderCreateRequest): + """Create new folder in email account + + :param request ClientFolderCreateRequest Create folder request + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `create`") + + collection_formats = {} + path = '/email/client/folder' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) + + def delete(self, request: ClientFolderDeleteRequest): + """Delete a folder in email account + + :param request ClientFolderDeleteRequest Delete folder request + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `delete`") + + collection_formats = {} + path = '/email/client/folder' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'DELETE', None) + + def get_list(self, request: ClientFolderGetListRequest) -> MailServerFolderList: + """Get folders list in email account + + + :param request ClientFolderGetListRequest object with parameters + :return: MailServerFolderList + """ + # verify the required parameter 'account' is set + if request.account is None: + raise ValueError("Missing the required parameter `account` when calling `get_list`") + + collection_formats = {} + path = '/email/client/folder/list' + + query_params = [] + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + if request.parent_folder is not None: + query_params.append((self._lowercase_first_letter('parentFolder'), request.parent_folder)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'MailServerFolderList') diff --git a/sdk/AsposeEmailCloudSdk/api/client_group.py b/sdk/AsposeEmailCloudSdk/api/client_group.py new file mode 100644 index 0000000..8352a30 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/client_group.py @@ -0,0 +1,73 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import +from AsposeEmailCloudSdk.api import * + + +class ClientGroup(object): + """ + Builtin Email client operations. + """ + def __init__(self, api_client): + + self._account = ClientAccountApi(api_client) + + self._folder = ClientFolderApi(api_client) + + self._message = ClientMessageApi(api_client) + + self._thread = ClientThreadApi(api_client) + + + @property + def account(self) -> ClientAccountApi: + """ + Email server account for built-in client operations. + """ + return self._account + + @property + def folder(self) -> ClientFolderApi: + """ + Email client folder operations. + """ + return self._folder + + @property + def message(self) -> ClientMessageApi: + """ + Email client message operations. + """ + return self._message + + @property + def thread(self) -> ClientThreadApi: + """ + Email client thread operations. + """ + return self._thread + diff --git a/sdk/AsposeEmailCloudSdk/api/client_message_api.py b/sdk/AsposeEmailCloudSdk/api/client_message_api.py new file mode 100644 index 0000000..64f273d --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/client_message_api.py @@ -0,0 +1,443 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class ClientMessageApi(ApiBase): + """ + Aspose.Email Cloud API. ClientMessageApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def append(self, request: ClientMessageAppendRequest) -> ValueTOfString: + """Add email message to specified folder in email account. + + :param request ClientMessageAppendRequest Append email request. + :return: ValueTOfString + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `append`") + + collection_formats = {} + path = '/email/client/message/append' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'POST', 'ValueTOfString') + + def append_file(self, request: ClientMessageAppendFileRequest) -> ValueTOfString: + """Add email message from file to specified folder in email account. + + + :param request ClientMessageAppendFileRequest object with parameters + :return: ValueTOfString + """ + # verify the required parameter 'account' is set + if request.account is None: + raise ValueError("Missing the required parameter `account` when calling `append_file`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `append_file`") + + collection_formats = {} + path = '/email/client/message/file/append' + + query_params = [] + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.mark_as_sent is not None: + query_params.append((self._lowercase_first_letter('markAsSent'), request.mark_as_sent)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'POST', 'ValueTOfString') + + def delete(self, request: ClientMessageDeleteRequest): + """Delete message. + + :param request ClientMessageDeleteRequest Delete message request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `delete`") + + collection_formats = {} + path = '/email/client/message' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'DELETE', None) + + def fetch(self, request: ClientMessageFetchRequest) -> MailMessageBase: + """Fetch message from email account + + + :param request ClientMessageFetchRequest object with parameters + :return: MailMessageBase + """ + # verify the required parameter 'message_id' is set + if request.message_id is None: + raise ValueError("Missing the required parameter `message_id` when calling `fetch`") + # verify the required parameter 'account' is set + if request.account is None: + raise ValueError("Missing the required parameter `account` when calling `fetch`") + + collection_formats = {} + path = '/email/client/message' + + query_params = [] + if request.message_id is not None: + query_params.append((self._lowercase_first_letter('messageId'), request.message_id)) + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + if request.type is not None: + query_params.append((self._lowercase_first_letter('type'), request.type)) + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'MailMessageBase') + + def fetch_file(self, request: ClientMessageFetchFileRequest) -> str: + """Fetch message as file from email account + + + :param request ClientMessageFetchFileRequest object with parameters + :return: str + """ + # verify the required parameter 'message_id' is set + if request.message_id is None: + raise ValueError("Missing the required parameter `message_id` when calling `fetch_file`") + # verify the required parameter 'account' is set + if request.account is None: + raise ValueError("Missing the required parameter `account` when calling `fetch_file`") + + collection_formats = {} + path = '/email/client/message/file' + + query_params = [] + if request.message_id is not None: + query_params.append((self._lowercase_first_letter('messageId'), request.message_id)) + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'file') + + def list(self, request: ClientMessageListRequest) -> MailMessageBaseList: + """Get messages from folder, filtered by query + + The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" + + :param request ClientMessageListRequest object with parameters + :return: MailMessageBaseList + """ + # verify the required parameter 'folder' is set + if request.folder is None: + raise ValueError("Missing the required parameter `folder` when calling `list`") + # verify the required parameter 'account' is set + if request.account is None: + raise ValueError("Missing the required parameter `account` when calling `list`") + + collection_formats = {} + path = '/email/client/message/list' + + query_params = [] + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + if request.query_string is not None: + query_params.append((self._lowercase_first_letter('queryString'), request.query_string)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + if request.recursive is not None: + query_params.append((self._lowercase_first_letter('recursive'), request.recursive)) + if request.type is not None: + query_params.append((self._lowercase_first_letter('type'), request.type)) + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'MailMessageBaseList') + + def move(self, request: ClientMessageMoveRequest): + """Move message to another folder. + + :param request ClientMessageMoveRequest Move message request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `move`") + + collection_formats = {} + path = '/email/client/message/move' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) + + def send(self, request: ClientMessageSendRequest): + """Send an email specified by model in request. + + :param request ClientMessageSendRequest Send email request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `send`") + + collection_formats = {} + path = '/email/client/message' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'POST', None) + + def send_file(self, request: ClientMessageSendFileRequest): + """Send an email file. + + + :param request ClientMessageSendFileRequest object with parameters + :return: None + """ + # verify the required parameter 'account' is set + if request.account is None: + raise ValueError("Missing the required parameter `account` when calling `send_file`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `send_file`") + + collection_formats = {} + path = '/email/client/message/file' + + query_params = [] + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'POST', None) + + def set_is_read(self, request: ClientMessageSetIsReadRequest): + """Mark message as read or unread. + + :param request ClientMessageSetIsReadRequest Delete message request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `set_is_read`") + + collection_formats = {} + path = '/email/client/message/set-is-read' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/client_thread_api.py b/sdk/AsposeEmailCloudSdk/api/client_thread_api.py new file mode 100644 index 0000000..904418b --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/client_thread_api.py @@ -0,0 +1,225 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class ClientThreadApi(ApiBase): + """ + Aspose.Email Cloud API. ClientThreadApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def delete(self, request: ClientThreadDeleteRequest): + """Delete thread by id. All messages from thread will also be deleted. + + :param request ClientThreadDeleteRequest Delete email thread request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `delete`") + + collection_formats = {} + path = '/email/client/thread' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'DELETE', None) + + def get_list(self, request: ClientThreadGetListRequest) -> EmailThreadList: + """Get message threads from folder. All messages are partly fetched (without email body and some other fields). + + + :param request ClientThreadGetListRequest object with parameters + :return: EmailThreadList + """ + # verify the required parameter 'folder' is set + if request.folder is None: + raise ValueError("Missing the required parameter `folder` when calling `get_list`") + # verify the required parameter 'account' is set + if request.account is None: + raise ValueError("Missing the required parameter `account` when calling `get_list`") + + collection_formats = {} + path = '/email/client/thread/list' + + query_params = [] + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + if request.update_folder_cache is not None: + query_params.append((self._lowercase_first_letter('updateFolderCache'), request.update_folder_cache)) + if request.messages_cache_limit is not None: + query_params.append((self._lowercase_first_letter('messagesCacheLimit'), request.messages_cache_limit)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'EmailThreadList') + + def get_messages(self, request: ClientThreadGetMessagesRequest) -> EmailList: + """Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. + + + :param request ClientThreadGetMessagesRequest object with parameters + :return: EmailList + """ + # verify the required parameter 'thread_id' is set + if request.thread_id is None: + raise ValueError("Missing the required parameter `thread_id` when calling `get_messages`") + # verify the required parameter 'account' is set + if request.account is None: + raise ValueError("Missing the required parameter `account` when calling `get_messages`") + + collection_formats = {} + path = '/email/client/thread/messages' + + query_params = [] + if request.thread_id is not None: + query_params.append((self._lowercase_first_letter('threadId'), request.thread_id)) + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'EmailList') + + def move(self, request: ClientThreadMoveRequest): + """Move thread to another folder. + + :param request ClientThreadMoveRequest Move thread request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `move`") + + collection_formats = {} + path = '/email/client/thread/move' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) + + def set_is_read(self, request: ClientThreadSetIsReadRequest): + """Mark all messages in thread as read or unread. + + :param request ClientThreadSetIsReadRequest Email account specifier and IsRead flag. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `set_is_read`") + + collection_formats = {} + path = '/email/client/thread/set-is-read' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py b/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py new file mode 100644 index 0000000..3081efe --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py @@ -0,0 +1,64 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import +from AsposeEmailCloudSdk.api import * + + +class CloudStorageGroup(object): + """ + Cloud file storage operations. + """ + def __init__(self, api_client): + + self._file = FileApi(api_client) + + self._folder = FolderApi(api_client) + + self._storage = StorageApi(api_client) + + + @property + def file(self) -> FileApi: + """ + File operations controller + """ + return self._file + + @property + def folder(self) -> FolderApi: + """ + Folder operations controller + """ + return self._folder + + @property + def storage(self) -> StorageApi: + """ + Storage operations controller + """ + return self._storage + diff --git a/sdk/AsposeEmailCloudSdk/api/contact_api.py b/sdk/AsposeEmailCloudSdk/api/contact_api.py new file mode 100644 index 0000000..8f238a6 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/contact_api.py @@ -0,0 +1,361 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class ContactApi(ApiBase): + """ + Aspose.Email Cloud API. ContactApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def as_file(self, request: ContactAsFileRequest) -> str: + """Converts contact model to specified format and returns as file + + :param request ContactAsFileRequest Contact model and format to convert + :return: str + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `as_file`") + + collection_formats = {} + path = '/email/Contact/as-file' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'file') + + def as_mapi(self, contact_dto: ContactDto) -> MapiContactDto: + """Converts ContactDto to MapiContactDto. + + :param contact_dto ContactDto Contact model to convert + :return: MapiContactDto + """ + # verify the required parameter 'contact_dto' is set + if contact_dto is None: + raise ValueError("Missing the required parameter `contact_dto` when calling `as_mapi`") + + collection_formats = {} + path = '/email/Contact/as-mapi' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = contact_dto + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'MapiContactDto') + + def convert(self, request: ContactConvertRequest) -> str: + """Converts contact document to specified format and returns as file + + + :param request ContactConvertRequest object with parameters + :return: str + """ + # verify the required parameter 'to_format' is set + if request.to_format is None: + raise ValueError("Missing the required parameter `to_format` when calling `convert`") + # verify the required parameter 'from_format' is set + if request.from_format is None: + raise ValueError("Missing the required parameter `from_format` when calling `convert`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `convert`") + + collection_formats = {} + path = '/email/Contact/convert' + + query_params = [] + if request.to_format is not None: + query_params.append((self._lowercase_first_letter('toFormat'), request.to_format)) + if request.from_format is not None: + query_params.append((self._lowercase_first_letter('fromFormat'), request.from_format)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'file') + + def from_file(self, request: ContactFromFileRequest) -> ContactDto: + """Converts contact document to a model representation + + + :param request ContactFromFileRequest object with parameters + :return: ContactDto + """ + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `from_file`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `from_file`") + + collection_formats = {} + path = '/email/Contact/from-file' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'ContactDto') + + def get(self, request: ContactGetRequest) -> ContactDto: + """Get contact document from storage. + + + :param request ContactGetRequest object with parameters + :return: ContactDto + """ + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `get`") + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get`") + + collection_formats = {} + path = '/email/Contact' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'ContactDto') + + def get_as_file(self, request: ContactGetAsFileRequest) -> str: + """Converts contact document from storage to specified format and returns as file + + + :param request ContactGetAsFileRequest object with parameters + :return: str + """ + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get_as_file`") + # verify the required parameter 'to_format' is set + if request.to_format is None: + raise ValueError("Missing the required parameter `to_format` when calling `get_as_file`") + # verify the required parameter 'from_format' is set + if request.from_format is None: + raise ValueError("Missing the required parameter `from_format` when calling `get_as_file`") + + collection_formats = {} + path = '/email/Contact/as-file' + + query_params = [] + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.to_format is not None: + query_params.append((self._lowercase_first_letter('toFormat'), request.to_format)) + if request.from_format is not None: + query_params.append((self._lowercase_first_letter('fromFormat'), request.from_format)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'file') + + def get_list(self, request: ContactGetListRequest) -> ContactStorageList: + """Get contact list from storage folder. + + + :param request ContactGetListRequest object with parameters + :return: ContactStorageList + """ + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `get_list`") + + collection_formats = {} + path = '/email/Contact/list' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.items_per_page is not None: + query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) + if request.page_number is not None: + query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'ContactStorageList') + + def save(self, request: ContactSaveRequest): + """Save contact to storage. + + :param request ContactSaveRequest Create/Update contact request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `save`") + + collection_formats = {} + path = '/email/Contact' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/is_email_address_disposable_request.py b/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py similarity index 55% rename from sdk/AsposeEmailCloudSdk/models/requests/is_email_address_disposable_request.py rename to sdk/AsposeEmailCloudSdk/api/disposable_email_api.py index b697ccd..e44d559 100644 --- a/sdk/AsposeEmailCloudSdk/models/requests/is_email_address_disposable_request.py +++ b/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py @@ -1,6 +1,7 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -23,60 +24,44 @@ # DEALINGS IN THE SOFTWARE. # # ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.is_email_address_disposable_request import IsEmailAddressDisposableRequest -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase from AsposeEmailCloudSdk.models import * -class IsEmailAddressDisposableRequest(BaseRequest): +class DisposableEmailApi(ApiBase): """ - Request model for is_email_address_disposable operation. - Initializes a new instance. + Aspose.Email Cloud API. DisposableEmailApi operations. - :param address (str) An email address to check """ - def __init__(self, address: str): - """ - Request model for is_email_address_disposable operation. - Initializes a new instance. - - :param address (str) An email address to check - """ - - BaseRequest.__init__(self) - self.address = address + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def is_disposable(self, request: DisposableEmailIsDisposableRequest) -> ValueTOfBoolean: + """Check email address is disposable - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest + :param request DisposableEmailIsDisposableRequest object with parameters + :return: ValueTOfBoolean """ # verify the required parameter 'address' is set - if self.address is None: - raise ValueError("Missing the required parameter `address` when calling `is_email_address_disposable`") + if request.address is None: + raise ValueError("Missing the required parameter `address` when calling `is_disposable`") collection_formats = {} - path = '/email/disposable/isDisposable/{address}' - path_params = {} - if self.address is not None: - path_params[self._lowercase_first_letter('address')] = self.address + path = '/email/disposable/is-disposable' query_params = [] - - header_params = {} + if request.address is not None: + query_params.append((self._lowercase_first_letter('address'), request.address)) form_params = [] local_var_files = [] - body_params = None - + header_params = {} # HTTP header `Accept` header_params['Accept'] = self._select_header_accept( ['application/json']) @@ -88,5 +73,7 @@ def to_http_info(self, config): # Authentication setting auth_settings = ['JWT'] - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'ValueTOfBoolean') diff --git a/sdk/AsposeEmailCloudSdk/api/email_api.py b/sdk/AsposeEmailCloudSdk/api/email_api.py index 586e3af..1e91973 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_api.py @@ -1,3 +1,4 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- # @@ -26,2760 +27,325 @@ from __future__ import absolute_import -import six - -from AsposeEmailCloudSdk.api_client import ApiClient -from AsposeEmailCloudSdk.configuration import Configuration -from AsposeEmailCloudSdk.rest import ApiException +from AsposeEmailCloudSdk.api.api_base import ApiBase from AsposeEmailCloudSdk.models import * -from AsposeEmailCloudSdk.models import requests -import multiprocessing -class EmailApi(object): +class EmailApi(ApiBase): """ - Aspose.Email Cloud API + Aspose.Email Cloud API. EmailApi operations. """ - def __init__(self, app_key=None, app_sid=None, base_url=None, - api_version=None, debug=False): - """ - Initializes a new instance of the EmailApi class. - - :param app_key: The app key. - :param app_sid: The app sid. - :param base_url: The base URL. - :param api_version: API version. - :param debug: If debug mode is enabled. False by default. - :param on_premise: - True for on-premise solution with metered license usage. - False for Aspose Cloud-hosted solution usage, default. - """ - configuration = Configuration(app_key=app_key, - app_sid=app_sid, - base_url=base_url, - api_version=api_version, - debug=debug) - self.api_client = ApiClient(configuration) - - def add_calendar_attachment(self, request: requests.AddCalendarAttachmentRequest) : - """Adds an attachment to iCalendar file - - - :param request AddCalendarAttachmentRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def add_calendar_attachment_async(self, request: requests.AddCalendarAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Adds an attachment to iCalendar file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AddCalendarAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def add_contact_attachment(self, request: requests.AddContactAttachmentRequest) : - """Add attachment to contact document - - - :param request AddContactAttachmentRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def add_contact_attachment_async(self, request: requests.AddContactAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Add attachment to contact document - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AddContactAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def add_email_attachment(self, request: requests.AddEmailAttachmentRequest) -> EmailDocumentResponse: - """Adds an attachment to Email document - - - :param request AddEmailAttachmentRequest object with parameters - :return: EmailDocumentResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'EmailDocumentResponse') - - def add_email_attachment_async(self, request: requests.AddEmailAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Adds an attachment to Email document - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AddEmailAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailDocumentResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'EmailDocumentResponse') - - def add_mapi_attachment(self, request: requests.AddMapiAttachmentRequest) : - """Add attachment to document - - - :param request AddMapiAttachmentRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def add_mapi_attachment_async(self, request: requests.AddMapiAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Add attachment to document - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AddMapiAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def ai_bcr_ocr(self, request: requests.AiBcrOcrRequest) -> ListResponseOfAiBcrOcrData: - """Ocr images - - - :param request AiBcrOcrRequest object with parameters - :return: ListResponseOfAiBcrOcrData - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'ListResponseOfAiBcrOcrData') - - def ai_bcr_ocr_async(self, request: requests.AiBcrOcrRequest) -> multiprocessing.pool.AsyncResult: - """Ocr images - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiBcrOcrRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfAiBcrOcrData) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'ListResponseOfAiBcrOcrData') - - def ai_bcr_ocr_storage(self, request: requests.AiBcrOcrStorageRequest) -> ListResponseOfAiBcrOcrData: - """Ocr images from storage - - - :param request AiBcrOcrStorageRequest object with parameters - :return: ListResponseOfAiBcrOcrData - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'ListResponseOfAiBcrOcrData') - - def ai_bcr_ocr_storage_async(self, request: requests.AiBcrOcrStorageRequest) -> multiprocessing.pool.AsyncResult: - """Ocr images from storage - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiBcrOcrStorageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfAiBcrOcrData) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'ListResponseOfAiBcrOcrData') - - def ai_bcr_parse(self, request: requests.AiBcrParseRequest) -> ListResponseOfHierarchicalObject: - """Parse images to vCard properties - - - :param request AiBcrParseRequest object with parameters - :return: ListResponseOfHierarchicalObject - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'ListResponseOfHierarchicalObject') - - def ai_bcr_parse_async(self, request: requests.AiBcrParseRequest) -> multiprocessing.pool.AsyncResult: - """Parse images to vCard properties - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiBcrParseRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfHierarchicalObject) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'ListResponseOfHierarchicalObject') - - def ai_bcr_parse_model(self, request: requests.AiBcrParseModelRequest) -> ListResponseOfContactDto: - """Parse images to vCard document models - - - :param request AiBcrParseModelRequest object with parameters - :return: ListResponseOfContactDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'ListResponseOfContactDto') - - def ai_bcr_parse_model_async(self, request: requests.AiBcrParseModelRequest) -> multiprocessing.pool.AsyncResult: - """Parse images to vCard document models - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiBcrParseModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfContactDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'ListResponseOfContactDto') - - def ai_bcr_parse_ocr_data_model(self, request: requests.AiBcrParseOcrDataModelRequest) -> ListResponseOfContactDto: - """Parse OCR data to vCard document models - - - :param request AiBcrParseOcrDataModelRequest object with parameters - :return: ListResponseOfContactDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'ListResponseOfContactDto') - - def ai_bcr_parse_ocr_data_model_async(self, request: requests.AiBcrParseOcrDataModelRequest) -> multiprocessing.pool.AsyncResult: - """Parse OCR data to vCard document models - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiBcrParseOcrDataModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfContactDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'ListResponseOfContactDto') - - def ai_bcr_parse_storage(self, request: requests.AiBcrParseStorageRequest) -> ListResponseOfStorageFileLocation: - """Parse images from storage to vCard files - - - :param request AiBcrParseStorageRequest object with parameters - :return: ListResponseOfStorageFileLocation - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'ListResponseOfStorageFileLocation') - - def ai_bcr_parse_storage_async(self, request: requests.AiBcrParseStorageRequest) -> multiprocessing.pool.AsyncResult: - """Parse images from storage to vCard files - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiBcrParseStorageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfStorageFileLocation) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'ListResponseOfStorageFileLocation') - - def ai_name_complete(self, request: requests.AiNameCompleteRequest) -> AiNameWeightedVariants: - """The call proposes k most probable names for given starting characters - - - :param request AiNameCompleteRequest object with parameters - :return: AiNameWeightedVariants - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'AiNameWeightedVariants') - - def ai_name_complete_async(self, request: requests.AiNameCompleteRequest) -> multiprocessing.pool.AsyncResult: - """The call proposes k most probable names for given starting characters - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameCompleteRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AiNameWeightedVariants) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'AiNameWeightedVariants') - - def ai_name_expand(self, request: requests.AiNameExpandRequest) -> AiNameWeightedVariants: - """Expands a person's name into a list of possible alternatives using options for expanding instructions - - - :param request AiNameExpandRequest object with parameters - :return: AiNameWeightedVariants - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'AiNameWeightedVariants') - - def ai_name_expand_async(self, request: requests.AiNameExpandRequest) -> multiprocessing.pool.AsyncResult: - """Expands a person's name into a list of possible alternatives using options for expanding instructions - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameExpandRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AiNameWeightedVariants) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'AiNameWeightedVariants') - - def ai_name_expand_parsed(self, request: requests.AiNameExpandParsedRequest) -> AiNameWeightedVariants: - """Expands a person's parsed name into a list of possible alternatives using options for expanding instructions - - - :param request AiNameExpandParsedRequest object with parameters - :return: AiNameWeightedVariants - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'AiNameWeightedVariants') - - def ai_name_expand_parsed_async(self, request: requests.AiNameExpandParsedRequest) -> multiprocessing.pool.AsyncResult: - """Expands a person's parsed name into a list of possible alternatives using options for expanding instructions - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameExpandParsedRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AiNameWeightedVariants) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'AiNameWeightedVariants') - - def ai_name_format(self, request: requests.AiNameFormatRequest) -> AiNameFormatted: - """Formats a person's name in correct case and name order using options for formatting instructions - - - :param request AiNameFormatRequest object with parameters - :return: AiNameFormatted - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'AiNameFormatted') - - def ai_name_format_async(self, request: requests.AiNameFormatRequest) -> multiprocessing.pool.AsyncResult: - """Formats a person's name in correct case and name order using options for formatting instructions - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameFormatRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AiNameFormatted) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'AiNameFormatted') - - def ai_name_format_parsed(self, request: requests.AiNameFormatParsedRequest) -> AiNameFormatted: - """Formats a person's parsed name in correct case and name order using options for formatting instructions - - - :param request AiNameFormatParsedRequest object with parameters - :return: AiNameFormatted - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'AiNameFormatted') - - def ai_name_format_parsed_async(self, request: requests.AiNameFormatParsedRequest) -> multiprocessing.pool.AsyncResult: - """Formats a person's parsed name in correct case and name order using options for formatting instructions - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameFormatParsedRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AiNameFormatted) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'AiNameFormatted') - - def ai_name_genderize(self, request: requests.AiNameGenderizeRequest) -> ListResponseOfAiNameGenderHypothesis: - """Detect person's gender from name string - - - :param request AiNameGenderizeRequest object with parameters - :return: ListResponseOfAiNameGenderHypothesis - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfAiNameGenderHypothesis') - - def ai_name_genderize_async(self, request: requests.AiNameGenderizeRequest) -> multiprocessing.pool.AsyncResult: - """Detect person's gender from name string - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameGenderizeRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfAiNameGenderHypothesis) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfAiNameGenderHypothesis') - - def ai_name_genderize_parsed(self, request: requests.AiNameGenderizeParsedRequest) -> ListResponseOfAiNameGenderHypothesis: - """Detect person's gender from parsed name - - - :param request AiNameGenderizeParsedRequest object with parameters - :return: ListResponseOfAiNameGenderHypothesis - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'ListResponseOfAiNameGenderHypothesis') - - def ai_name_genderize_parsed_async(self, request: requests.AiNameGenderizeParsedRequest) -> multiprocessing.pool.AsyncResult: - """Detect person's gender from parsed name - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameGenderizeParsedRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfAiNameGenderHypothesis) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'ListResponseOfAiNameGenderHypothesis') - - def ai_name_match(self, request: requests.AiNameMatchRequest) -> AiNameMatchResult: - """Compare people's names. Uses options for comparing instructions - + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def as_file(self, request: EmailAsFileRequest) -> str: + """Converts Email model to specified format and returns as file. - :param request AiNameMatchRequest object with parameters - :return: AiNameMatchResult - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'AiNameMatchResult') - - def ai_name_match_async(self, request: requests.AiNameMatchRequest) -> multiprocessing.pool.AsyncResult: - """Compare people's names. Uses options for comparing instructions - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameMatchRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AiNameMatchResult) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'AiNameMatchResult') - - def ai_name_match_parsed(self, request: requests.AiNameMatchParsedRequest) -> AiNameMatchResult: - """Compare people's parsed names and attributes. Uses options for comparing instructions - - - :param request AiNameMatchParsedRequest object with parameters - :return: AiNameMatchResult - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'AiNameMatchResult') - - def ai_name_match_parsed_async(self, request: requests.AiNameMatchParsedRequest) -> multiprocessing.pool.AsyncResult: - """Compare people's parsed names and attributes. Uses options for comparing instructions - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameMatchParsedRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AiNameMatchResult) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'AiNameMatchResult') - - def ai_name_parse(self, request: requests.AiNameParseRequest) -> ListResponseOfAiNameComponent: - """Parse name to components - - - :param request AiNameParseRequest object with parameters - :return: ListResponseOfAiNameComponent - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfAiNameComponent') - - def ai_name_parse_async(self, request: requests.AiNameParseRequest) -> multiprocessing.pool.AsyncResult: - """Parse name to components - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameParseRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfAiNameComponent) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfAiNameComponent') - - def ai_name_parse_email_address(self, request: requests.AiNameParseEmailAddressRequest) -> ListResponseOfAiNameExtracted: - """Parse person's name out of an email address - - - :param request AiNameParseEmailAddressRequest object with parameters - :return: ListResponseOfAiNameExtracted - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfAiNameExtracted') - - def ai_name_parse_email_address_async(self, request: requests.AiNameParseEmailAddressRequest) -> multiprocessing.pool.AsyncResult: - """Parse person's name out of an email address - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AiNameParseEmailAddressRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfAiNameExtracted) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfAiNameExtracted') - - def append_email_message(self, request: requests.AppendEmailMessageRequest) -> EmailPropertyResponse: - """Adds an email from *.eml file to specified folder in email account - - - :param request AppendEmailMessageRequest object with parameters - :return: EmailPropertyResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'EmailPropertyResponse') - - def append_email_message_async(self, request: requests.AppendEmailMessageRequest) -> multiprocessing.pool.AsyncResult: - """Adds an email from *.eml file to specified folder in email account - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AppendEmailMessageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailPropertyResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'EmailPropertyResponse') - - def append_email_model_message(self, request: requests.AppendEmailModelMessageRequest) -> ValueResponse: - """Adds an email from model to specified folder in email account - - - :param request AppendEmailModelMessageRequest object with parameters - :return: ValueResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'ValueResponse') - - def append_email_model_message_async(self, request: requests.AppendEmailModelMessageRequest) -> multiprocessing.pool.AsyncResult: - """Adds an email from model to specified folder in email account - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AppendEmailModelMessageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ValueResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'ValueResponse') - - def append_mime_message(self, request: requests.AppendMimeMessageRequest) -> ValueResponse: - """Adds an email from MIME to specified folder in email account - - - :param request AppendMimeMessageRequest object with parameters - :return: ValueResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'ValueResponse') - - def append_mime_message_async(self, request: requests.AppendMimeMessageRequest) -> multiprocessing.pool.AsyncResult: - """Adds an email from MIME to specified folder in email account - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request AppendMimeMessageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ValueResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'ValueResponse') - - def convert_calendar(self, request: requests.ConvertCalendarRequest) -> str: - """Converts calendar document to specified format and returns as file - - - :param request ConvertCalendarRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') - - def convert_calendar_async(self, request: requests.ConvertCalendarRequest) -> multiprocessing.pool.AsyncResult: - """Converts calendar document to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertCalendarRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') - - def convert_calendar_model_to_alternate(self, request: requests.ConvertCalendarModelToAlternateRequest) -> AlternateView: - """Convert iCalendar to AlternateView - - - :param request ConvertCalendarModelToAlternateRequest object with parameters - :return: AlternateView - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'AlternateView') - - def convert_calendar_model_to_alternate_async(self, request: requests.ConvertCalendarModelToAlternateRequest) -> multiprocessing.pool.AsyncResult: - """Convert iCalendar to AlternateView - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertCalendarModelToAlternateRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AlternateView) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'AlternateView') - - def convert_calendar_model_to_file(self, request: requests.ConvertCalendarModelToFileRequest) -> str: - """Converts calendar model to specified format and returns as file - - - :param request ConvertCalendarModelToFileRequest object with parameters + :param request EmailAsFileRequest Email model and format to convert. :return: str """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') - - def convert_calendar_model_to_file_async(self, request: requests.ConvertCalendarModelToFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts calendar model to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertCalendarModelToFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') - - def convert_calendar_model_to_mapi_model(self, request: requests.ConvertCalendarModelToMapiModelRequest) -> MapiCalendarDto: - """Converts CalendarDto to MapiCalendarDto. - - - :param request ConvertCalendarModelToMapiModelRequest object with parameters - :return: MapiCalendarDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'MapiCalendarDto') - - def convert_calendar_model_to_mapi_model_async(self, request: requests.ConvertCalendarModelToMapiModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts CalendarDto to MapiCalendarDto. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertCalendarModelToMapiModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiCalendarDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'MapiCalendarDto') - - def convert_contact(self, request: requests.ConvertContactRequest) -> str: - """Converts contact document to specified format and returns as file - - - :param request ConvertContactRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') - - def convert_contact_async(self, request: requests.ConvertContactRequest) -> multiprocessing.pool.AsyncResult: - """Converts contact document to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertContactRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') - - def convert_contact_model_to_file(self, request: requests.ConvertContactModelToFileRequest) -> str: - """Converts contact model to specified format and returns as file - - - :param request ConvertContactModelToFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') - - def convert_contact_model_to_file_async(self, request: requests.ConvertContactModelToFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts contact model to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertContactModelToFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') - - def convert_contact_model_to_mapi_model(self, request: requests.ConvertContactModelToMapiModelRequest) -> MapiContactDto: - """Converts ContactDto to MapiContactDto. - - - :param request ConvertContactModelToMapiModelRequest object with parameters - :return: MapiContactDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'MapiContactDto') - - def convert_contact_model_to_mapi_model_async(self, request: requests.ConvertContactModelToMapiModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts ContactDto to MapiContactDto. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `as_file`") + + collection_formats = {} + path = '/email/as-file' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'file') + + def as_mapi(self, email_dto: EmailDto) -> MapiMessageDto: + """Converts EmailDto to MapiMessageDto. - :param request ConvertContactModelToMapiModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiContactDto) + :param email_dto EmailDto Email model to convert + :return: MapiMessageDto """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'MapiContactDto') - - def convert_email(self, request: requests.ConvertEmailRequest) -> str: + # verify the required parameter 'email_dto' is set + if email_dto is None: + raise ValueError("Missing the required parameter `email_dto` when calling `as_mapi`") + + collection_formats = {} + path = '/email/as-mapi' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = email_dto + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'MapiMessageDto') + + def convert(self, request: EmailConvertRequest) -> str: """Converts email document to specified format and returns as file - :param request ConvertEmailRequest object with parameters + :param request EmailConvertRequest object with parameters :return: str """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') - - def convert_email_async(self, request: requests.ConvertEmailRequest) -> multiprocessing.pool.AsyncResult: - """Converts email document to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertEmailRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `convert`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `convert`") - def convert_email_model_to_file(self, request: requests.ConvertEmailModelToFileRequest) -> str: - """Converts Email model to specified format and returns as file + collection_formats = {} + path = '/email/convert' + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) - :param request ConvertEmailModelToFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) - def convert_email_model_to_file_async(self, request: requests.ConvertEmailModelToFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts Email model to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) - :param request ConvertEmailModelToFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) - def convert_email_model_to_mapi_model(self, request: requests.ConvertEmailModelToMapiModelRequest) -> MapiMessageDto: - """Converts EmailDto to MapiMessageDto. + # Authentication setting + auth_settings = ['JWT'] + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) - :param request ConvertEmailModelToMapiModelRequest object with parameters - :return: MapiMessageDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'MapiMessageDto') + return self._make_request(http_request_object, 'PUT', 'file') + + def from_file(self, request: EmailFromFileRequest) -> EmailDto: + """Converts email document to a model representation - def convert_email_model_to_mapi_model_async(self, request: requests.ConvertEmailModelToMapiModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts EmailDto to MapiMessageDto. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - :param request ConvertEmailModelToMapiModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiMessageDto) + :param request EmailFromFileRequest object with parameters + :return: EmailDto """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'MapiMessageDto') + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `from_file`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `from_file`") - def convert_mapi_calendar_model_to_calendar_model(self, request: requests.ConvertMapiCalendarModelToCalendarModelRequest) -> CalendarDto: - """Converts MAPI calendar model to CalendarDto model + collection_formats = {} + path = '/email/from-file' + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) - :param request ConvertMapiCalendarModelToCalendarModelRequest object with parameters - :return: CalendarDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'CalendarDto') + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) - def convert_mapi_calendar_model_to_calendar_model_async(self, request: requests.ConvertMapiCalendarModelToCalendarModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts MAPI calendar model to CalendarDto model - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) - :param request ConvertMapiCalendarModelToCalendarModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns CalendarDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'CalendarDto') + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) - def convert_mapi_calendar_model_to_file(self, request: requests.ConvertMapiCalendarModelToFileRequest) -> str: - """Converts MAPI calendar model to specified format and returns as file + # Authentication setting + auth_settings = ['JWT'] + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) - :param request ConvertMapiCalendarModelToFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') + return self._make_request(http_request_object, 'PUT', 'EmailDto') + + def get(self, request: EmailGetRequest) -> EmailDto: + """Get email document from storage. - def convert_mapi_calendar_model_to_file_async(self, request: requests.ConvertMapiCalendarModelToFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts MAPI calendar model to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - :param request ConvertMapiCalendarModelToFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) + :param request EmailGetRequest object with parameters + :return: EmailDto """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') - - def convert_mapi_contact_model_to_contact_model(self, request: requests.ConvertMapiContactModelToContactModelRequest) -> ContactDto: - """Converts MAPI contact model to ContactDto model + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `get`") + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get`") + + collection_formats = {} + path = '/email' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'EmailDto') + + def get_as_file(self, request: EmailGetAsFileRequest) -> str: + """Converts email document from storage to specified format and returns as file - :param request ConvertMapiContactModelToContactModelRequest object with parameters - :return: ContactDto + :param request EmailGetAsFileRequest object with parameters + :return: str """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'ContactDto') + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get_as_file`") + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `get_as_file`") + + collection_formats = {} + path = '/email/as-file' + + query_params = [] + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'file') + + def get_list(self, request: EmailGetListRequest) -> EmailStorageList: + """Get email list from storage folder. - def convert_mapi_contact_model_to_contact_model_async(self, request: requests.ConvertMapiContactModelToContactModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts MAPI contact model to ContactDto model - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - :param request ConvertMapiContactModelToContactModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ContactDto) + :param request EmailGetListRequest object with parameters + :return: EmailStorageList """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'ContactDto') + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `get_list`") - def convert_mapi_contact_model_to_file(self, request: requests.ConvertMapiContactModelToFileRequest) -> str: - """Converts MAPI contact model to specified format and returns as file + collection_formats = {} + path = '/email/list' + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + if request.items_per_page is not None: + query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) + if request.page_number is not None: + query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) - :param request ConvertMapiContactModelToFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') + form_params = [] + local_var_files = [] - def convert_mapi_contact_model_to_file_async(self, request: requests.ConvertMapiContactModelToFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts MAPI contact model to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertMapiContactModelToFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) - def convert_mapi_message_model_to_email_model(self, request: requests.ConvertMapiMessageModelToEmailModelRequest) -> EmailDto: - """Converts MAPI message model to EmailDto model + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + # Authentication setting + auth_settings = ['JWT'] - :param request ConvertMapiMessageModelToEmailModelRequest object with parameters - :return: EmailDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'EmailDto') + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) - def convert_mapi_message_model_to_email_model_async(self, request: requests.ConvertMapiMessageModelToEmailModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts MAPI message model to EmailDto model - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult + return self._make_request(http_request_object, 'GET', 'EmailStorageList') + + def save(self, request: EmailSaveRequest): + """Save email document to storage. - :param request ConvertMapiMessageModelToEmailModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailDto) + :param request EmailSaveRequest Email document create/update request. + :return: None """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'EmailDto') + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `save`") - def convert_mapi_message_model_to_file(self, request: requests.ConvertMapiMessageModelToFileRequest) -> str: - """Converts MAPI message model to specified format and returns as file + collection_formats = {} + path = '/email' + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] - :param request ConvertMapiMessageModelToFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'file') - - def convert_mapi_message_model_to_file_async(self, request: requests.ConvertMapiMessageModelToFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts MAPI message model to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ConvertMapiMessageModelToFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'file') - - def copy_file(self, request: requests.CopyFileRequest) : - """copy_file - - - :param request CopyFileRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def copy_file_async(self, request: requests.CopyFileRequest) -> multiprocessing.pool.AsyncResult: - """copy_file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request CopyFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def copy_folder(self, request: requests.CopyFolderRequest) : - """copy_folder - - - :param request CopyFolderRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def copy_folder_async(self, request: requests.CopyFolderRequest) -> multiprocessing.pool.AsyncResult: - """copy_folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request CopyFolderRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def create_calendar(self, request: requests.CreateCalendarRequest) : - """Create calendar file - - - :param request CreateCalendarRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def create_calendar_async(self, request: requests.CreateCalendarRequest) -> multiprocessing.pool.AsyncResult: - """Create calendar file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request CreateCalendarRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def create_contact(self, request: requests.CreateContactRequest) : - """Create contact document - - - :param request CreateContactRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def create_contact_async(self, request: requests.CreateContactRequest) -> multiprocessing.pool.AsyncResult: - """Create contact document - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request CreateContactRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def create_email(self, request: requests.CreateEmailRequest) -> EmailDocumentResponse: - """Create an email document - - - :param request CreateEmailRequest object with parameters - :return: EmailDocumentResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'EmailDocumentResponse') - - def create_email_async(self, request: requests.CreateEmailRequest) -> multiprocessing.pool.AsyncResult: - """Create an email document - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request CreateEmailRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailDocumentResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'EmailDocumentResponse') - - def create_email_folder(self, request: requests.CreateEmailFolderRequest) : - """Create new folder in email account - - - :param request CreateEmailFolderRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def create_email_folder_async(self, request: requests.CreateEmailFolderRequest) -> multiprocessing.pool.AsyncResult: - """Create new folder in email account - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request CreateEmailFolderRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def create_folder(self, request: requests.CreateFolderRequest) : - """create_folder - - - :param request CreateFolderRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def create_folder_async(self, request: requests.CreateFolderRequest) -> multiprocessing.pool.AsyncResult: - """create_folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request CreateFolderRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def create_mapi(self, request: requests.CreateMapiRequest) : - """Create new document - - - :param request CreateMapiRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def create_mapi_async(self, request: requests.CreateMapiRequest) -> multiprocessing.pool.AsyncResult: - """Create new document - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request CreateMapiRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def delete_calendar_property(self, request: requests.DeleteCalendarPropertyRequest) : - """Deletes indexed property by index and name. To delete Reminder attachment, use path ReminderAttachment/{ReminderIndex}/{AttachmentIndex} - - - :param request DeleteCalendarPropertyRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_calendar_property_async(self, request: requests.DeleteCalendarPropertyRequest) -> multiprocessing.pool.AsyncResult: - """Deletes indexed property by index and name. To delete Reminder attachment, use path ReminderAttachment/{ReminderIndex}/{AttachmentIndex} - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteCalendarPropertyRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def delete_contact_property(self, request: requests.DeleteContactPropertyRequest) : - """Delete property from indexed property list - - - :param request DeleteContactPropertyRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_contact_property_async(self, request: requests.DeleteContactPropertyRequest) -> multiprocessing.pool.AsyncResult: - """Delete property from indexed property list - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteContactPropertyRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def delete_email_folder(self, request: requests.DeleteEmailFolderRequest) : - """Delete a folder in email account - - - :param request DeleteEmailFolderRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_email_folder_async(self, request: requests.DeleteEmailFolderRequest) -> multiprocessing.pool.AsyncResult: - """Delete a folder in email account - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteEmailFolderRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def delete_email_message(self, request: requests.DeleteEmailMessageRequest) : - """Delete message from email account by id - - - :param request DeleteEmailMessageRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_email_message_async(self, request: requests.DeleteEmailMessageRequest) -> multiprocessing.pool.AsyncResult: - """Delete message from email account by id - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteEmailMessageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def delete_email_thread(self, request: requests.DeleteEmailThreadRequest) : - """Delete thread by id. All messages from thread will also be deleted - - - :param request DeleteEmailThreadRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_email_thread_async(self, request: requests.DeleteEmailThreadRequest) -> multiprocessing.pool.AsyncResult: - """Delete thread by id. All messages from thread will also be deleted - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteEmailThreadRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def delete_file(self, request: requests.DeleteFileRequest) : - """delete_file - - - :param request DeleteFileRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_file_async(self, request: requests.DeleteFileRequest) -> multiprocessing.pool.AsyncResult: - """delete_file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def delete_folder(self, request: requests.DeleteFolderRequest) : - """delete_folder - - - :param request DeleteFolderRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_folder_async(self, request: requests.DeleteFolderRequest) -> multiprocessing.pool.AsyncResult: - """delete_folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteFolderRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def delete_mapi_attachment(self, request: requests.DeleteMapiAttachmentRequest) : - """Remove attachment from document - - - :param request DeleteMapiAttachmentRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_mapi_attachment_async(self, request: requests.DeleteMapiAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Remove attachment from document - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteMapiAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def delete_mapi_properties(self, request: requests.DeleteMapiPropertiesRequest) : - """Delete document properties - - - :param request DeleteMapiPropertiesRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'DELETE', None) - - def delete_mapi_properties_async(self, request: requests.DeleteMapiPropertiesRequest) -> multiprocessing.pool.AsyncResult: - """Delete document properties - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DeleteMapiPropertiesRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'DELETE', None) - - def discover_email_config(self, request: requests.DiscoverEmailConfigRequest) -> EmailAccountConfigList: - """Discover email accounts by email address. Does not validate discovered accounts. - - - :param request DiscoverEmailConfigRequest object with parameters - :return: EmailAccountConfigList - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailAccountConfigList') - - def discover_email_config_async(self, request: requests.DiscoverEmailConfigRequest) -> multiprocessing.pool.AsyncResult: - """Discover email accounts by email address. Does not validate discovered accounts. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DiscoverEmailConfigRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailAccountConfigList) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailAccountConfigList') - - def discover_email_config_oauth(self, request: requests.DiscoverEmailConfigOauthRequest) -> EmailAccountConfigList: - """Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. - - - :param request DiscoverEmailConfigOauthRequest object with parameters - :return: EmailAccountConfigList - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'EmailAccountConfigList') - - def discover_email_config_oauth_async(self, request: requests.DiscoverEmailConfigOauthRequest) -> multiprocessing.pool.AsyncResult: - """Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DiscoverEmailConfigOauthRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailAccountConfigList) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'EmailAccountConfigList') - - def discover_email_config_password(self, request: requests.DiscoverEmailConfigPasswordRequest) -> EmailAccountConfigList: - """Discover email accounts by email address. Validates discovered accounts using login and password. - - - :param request DiscoverEmailConfigPasswordRequest object with parameters - :return: EmailAccountConfigList - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', 'EmailAccountConfigList') - - def discover_email_config_password_async(self, request: requests.DiscoverEmailConfigPasswordRequest) -> multiprocessing.pool.AsyncResult: - """Discover email accounts by email address. Validates discovered accounts using login and password. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DiscoverEmailConfigPasswordRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailAccountConfigList) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', 'EmailAccountConfigList') - - def download_file(self, request: requests.DownloadFileRequest) -> str: - """download_file - - - :param request DownloadFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'file') - - def download_file_async(self, request: requests.DownloadFileRequest) -> multiprocessing.pool.AsyncResult: - """download_file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request DownloadFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'file') - - def fetch_email_message(self, request: requests.FetchEmailMessageRequest) -> MimeResponse: - """Fetch message mime from email account - - - :param request FetchEmailMessageRequest object with parameters - :return: MimeResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'MimeResponse') - - def fetch_email_message_async(self, request: requests.FetchEmailMessageRequest) -> multiprocessing.pool.AsyncResult: - """Fetch message mime from email account - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request FetchEmailMessageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MimeResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'MimeResponse') - - def fetch_email_model(self, request: requests.FetchEmailModelRequest) -> EmailDto: - """Fetch message model from email account - - - :param request FetchEmailModelRequest object with parameters - :return: EmailDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailDto') - - def fetch_email_model_async(self, request: requests.FetchEmailModelRequest) -> multiprocessing.pool.AsyncResult: - """Fetch message model from email account - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request FetchEmailModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailDto') - - def fetch_email_thread_messages(self, request: requests.FetchEmailThreadMessagesRequest) -> ListResponseOfEmailDto: - """Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. - - - :param request FetchEmailThreadMessagesRequest object with parameters - :return: ListResponseOfEmailDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfEmailDto') - - def fetch_email_thread_messages_async(self, request: requests.FetchEmailThreadMessagesRequest) -> multiprocessing.pool.AsyncResult: - """Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request FetchEmailThreadMessagesRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfEmailDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfEmailDto') - - def get_calendar(self, request: requests.GetCalendarRequest) -> HierarchicalObject: - """Get calendar file properties - - - :param request GetCalendarRequest object with parameters - :return: HierarchicalObject - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'HierarchicalObject') - - def get_calendar_async(self, request: requests.GetCalendarRequest) -> multiprocessing.pool.AsyncResult: - """Get calendar file properties - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns HierarchicalObject) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'HierarchicalObject') - - def get_calendar_as_file(self, request: requests.GetCalendarAsFileRequest) -> str: - """Converts calendar document from storage to specified format and returns as file - - - :param request GetCalendarAsFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'file') - - def get_calendar_as_file_async(self, request: requests.GetCalendarAsFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts calendar document from storage to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarAsFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'file') - - def get_calendar_attachment(self, request: requests.GetCalendarAttachmentRequest) -> str: - """Get iCalendar document attachment by name - - - :param request GetCalendarAttachmentRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'file') - - def get_calendar_attachment_async(self, request: requests.GetCalendarAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Get iCalendar document attachment by name - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'file') - - def get_calendar_file_as_mapi_model(self, request: requests.GetCalendarFileAsMapiModelRequest) -> MapiCalendarDto: - """Converts calendar file to a MAPI model representation - - - :param request GetCalendarFileAsMapiModelRequest object with parameters - :return: MapiCalendarDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'MapiCalendarDto') - - def get_calendar_file_as_mapi_model_async(self, request: requests.GetCalendarFileAsMapiModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts calendar file to a MAPI model representation - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarFileAsMapiModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiCalendarDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'MapiCalendarDto') - - def get_calendar_file_as_model(self, request: requests.GetCalendarFileAsModelRequest) -> CalendarDto: - """Converts calendar document to a model representation - - - :param request GetCalendarFileAsModelRequest object with parameters - :return: CalendarDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'CalendarDto') - - def get_calendar_file_as_model_async(self, request: requests.GetCalendarFileAsModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts calendar document to a model representation - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarFileAsModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns CalendarDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'CalendarDto') - - def get_calendar_list(self, request: requests.GetCalendarListRequest) -> ListResponseOfHierarchicalObjectResponse: - """Get iCalendar files list in folder on storage - - - :param request GetCalendarListRequest object with parameters - :return: ListResponseOfHierarchicalObjectResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfHierarchicalObjectResponse') - - def get_calendar_list_async(self, request: requests.GetCalendarListRequest) -> multiprocessing.pool.AsyncResult: - """Get iCalendar files list in folder on storage - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarListRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfHierarchicalObjectResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfHierarchicalObjectResponse') - - def get_calendar_model(self, request: requests.GetCalendarModelRequest) -> CalendarDto: - """Get calendar file - - - :param request GetCalendarModelRequest object with parameters - :return: CalendarDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'CalendarDto') - - def get_calendar_model_async(self, request: requests.GetCalendarModelRequest) -> multiprocessing.pool.AsyncResult: - """Get calendar file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns CalendarDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'CalendarDto') - - def get_calendar_model_as_alternate(self, request: requests.GetCalendarModelAsAlternateRequest) -> AlternateView: - """Get iCalendar from storage as AlternateView - - - :param request GetCalendarModelAsAlternateRequest object with parameters - :return: AlternateView - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'AlternateView') - - def get_calendar_model_as_alternate_async(self, request: requests.GetCalendarModelAsAlternateRequest) -> multiprocessing.pool.AsyncResult: - """Get iCalendar from storage as AlternateView - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarModelAsAlternateRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns AlternateView) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'AlternateView') - - def get_calendar_model_list(self, request: requests.GetCalendarModelListRequest) -> CalendarDtoList: - """Get iCalendar list from storage folder - - - :param request GetCalendarModelListRequest object with parameters - :return: CalendarDtoList - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'CalendarDtoList') - - def get_calendar_model_list_async(self, request: requests.GetCalendarModelListRequest) -> multiprocessing.pool.AsyncResult: - """Get iCalendar list from storage folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetCalendarModelListRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns CalendarDtoList) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'CalendarDtoList') - - def get_contact_as_file(self, request: requests.GetContactAsFileRequest) -> str: - """Converts calendar document from storage to specified format and returns as file - - - :param request GetContactAsFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'file') - - def get_contact_as_file_async(self, request: requests.GetContactAsFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts calendar document from storage to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetContactAsFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'file') - - def get_contact_attachment(self, request: requests.GetContactAttachmentRequest) -> str: - """Get attachment file by name - - - :param request GetContactAttachmentRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'file') - - def get_contact_attachment_async(self, request: requests.GetContactAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Get attachment file by name - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetContactAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'file') - - def get_contact_file_as_mapi_model(self, request: requests.GetContactFileAsMapiModelRequest) -> MapiContactDto: - """Converts contact file to a MAPI model representation - - - :param request GetContactFileAsMapiModelRequest object with parameters - :return: MapiContactDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'MapiContactDto') - - def get_contact_file_as_mapi_model_async(self, request: requests.GetContactFileAsMapiModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts contact file to a MAPI model representation - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetContactFileAsMapiModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiContactDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'MapiContactDto') - - def get_contact_file_as_model(self, request: requests.GetContactFileAsModelRequest) -> ContactDto: - """Converts contact document to a model representation - - - :param request GetContactFileAsModelRequest object with parameters - :return: ContactDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'ContactDto') - - def get_contact_file_as_model_async(self, request: requests.GetContactFileAsModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts contact document to a model representation - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetContactFileAsModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ContactDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'ContactDto') - - def get_contact_list(self, request: requests.GetContactListRequest) -> ListResponseOfHierarchicalObjectResponse: - """Get contact list from storage folder - - - :param request GetContactListRequest object with parameters - :return: ListResponseOfHierarchicalObjectResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfHierarchicalObjectResponse') - - def get_contact_list_async(self, request: requests.GetContactListRequest) -> multiprocessing.pool.AsyncResult: - """Get contact list from storage folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetContactListRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfHierarchicalObjectResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfHierarchicalObjectResponse') - - def get_contact_model(self, request: requests.GetContactModelRequest) -> ContactDto: - """Get contact document. - - - :param request GetContactModelRequest object with parameters - :return: ContactDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ContactDto') - - def get_contact_model_async(self, request: requests.GetContactModelRequest) -> multiprocessing.pool.AsyncResult: - """Get contact document. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetContactModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ContactDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ContactDto') - - def get_contact_model_list(self, request: requests.GetContactModelListRequest) -> ContactDtoList: - """Get contact list from storage folder. - - - :param request GetContactModelListRequest object with parameters - :return: ContactDtoList - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ContactDtoList') - - def get_contact_model_list_async(self, request: requests.GetContactModelListRequest) -> multiprocessing.pool.AsyncResult: - """Get contact list from storage folder. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetContactModelListRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ContactDtoList) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ContactDtoList') - - def get_contact_properties(self, request: requests.GetContactPropertiesRequest) -> HierarchicalObject: - """Get contact document properties - - - :param request GetContactPropertiesRequest object with parameters - :return: HierarchicalObject - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'HierarchicalObject') - - def get_contact_properties_async(self, request: requests.GetContactPropertiesRequest) -> multiprocessing.pool.AsyncResult: - """Get contact document properties - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetContactPropertiesRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns HierarchicalObject) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'HierarchicalObject') - - def get_disc_usage(self, request: requests.GetDiscUsageRequest) -> DiscUsage: - """get_disc_usage - - - :param request GetDiscUsageRequest object with parameters - :return: DiscUsage - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'DiscUsage') - - def get_disc_usage_async(self, request: requests.GetDiscUsageRequest) -> multiprocessing.pool.AsyncResult: - """get_disc_usage - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetDiscUsageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns DiscUsage) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'DiscUsage') - - def get_email(self, request: requests.GetEmailRequest) -> EmailDocument: - """Get email document - - - :param request GetEmailRequest object with parameters - :return: EmailDocument - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailDocument') - - def get_email_async(self, request: requests.GetEmailRequest) -> multiprocessing.pool.AsyncResult: - """Get email document - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailDocument) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailDocument') - - def get_email_as_file(self, request: requests.GetEmailAsFileRequest) -> str: - """Converts email document from storage to specified format and returns as file - - - :param request GetEmailAsFileRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'file') - - def get_email_as_file_async(self, request: requests.GetEmailAsFileRequest) -> multiprocessing.pool.AsyncResult: - """Converts email document from storage to specified format and returns as file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailAsFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'file') - - def get_email_attachment(self, request: requests.GetEmailAttachmentRequest) -> str: - """Get email attachment by name - - - :param request GetEmailAttachmentRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'file') - - def get_email_attachment_async(self, request: requests.GetEmailAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Get email attachment by name - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'file') - - def get_email_client_account(self, request: requests.GetEmailClientAccountRequest) -> EmailClientAccount: - """Get email client account from storage - - - :param request GetEmailClientAccountRequest object with parameters - :return: EmailClientAccount - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailClientAccount') - - def get_email_client_account_async(self, request: requests.GetEmailClientAccountRequest) -> multiprocessing.pool.AsyncResult: - """Get email client account from storage - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailClientAccountRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailClientAccount) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailClientAccount') - - def get_email_client_multi_account(self, request: requests.GetEmailClientMultiAccountRequest) -> EmailClientMultiAccount: - """Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - - - :param request GetEmailClientMultiAccountRequest object with parameters - :return: EmailClientMultiAccount - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailClientMultiAccount') - - def get_email_client_multi_account_async(self, request: requests.GetEmailClientMultiAccountRequest) -> multiprocessing.pool.AsyncResult: - """Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailClientMultiAccountRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailClientMultiAccount) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailClientMultiAccount') - - def get_email_file_as_mapi_model(self, request: requests.GetEmailFileAsMapiModelRequest) -> MapiMessageDto: - """Converts email file to a MAPI model representation - - - :param request GetEmailFileAsMapiModelRequest object with parameters - :return: MapiMessageDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'MapiMessageDto') - - def get_email_file_as_mapi_model_async(self, request: requests.GetEmailFileAsMapiModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts email file to a MAPI model representation - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailFileAsMapiModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiMessageDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'MapiMessageDto') - - def get_email_file_as_model(self, request: requests.GetEmailFileAsModelRequest) -> EmailDto: - """Converts email document to a model representation - - - :param request GetEmailFileAsModelRequest object with parameters - :return: EmailDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'EmailDto') - - def get_email_file_as_model_async(self, request: requests.GetEmailFileAsModelRequest) -> multiprocessing.pool.AsyncResult: - """Converts email document to a model representation - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailFileAsModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'EmailDto') - - def get_email_model(self, request: requests.GetEmailModelRequest) -> EmailDto: - """Get email document. - - - :param request GetEmailModelRequest object with parameters - :return: EmailDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailDto') - - def get_email_model_async(self, request: requests.GetEmailModelRequest) -> multiprocessing.pool.AsyncResult: - """Get email document. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailDto') - - def get_email_model_list(self, request: requests.GetEmailModelListRequest) -> EmailDtoList: - """Get email list from storage folder. - - - :param request GetEmailModelListRequest object with parameters - :return: EmailDtoList - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailDtoList') - - def get_email_model_list_async(self, request: requests.GetEmailModelListRequest) -> multiprocessing.pool.AsyncResult: - """Get email list from storage folder. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailModelListRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailDtoList) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailDtoList') - - def get_email_property(self, request: requests.GetEmailPropertyRequest) -> EmailPropertyResponse: - """Get an email document property by its name - - - :param request GetEmailPropertyRequest object with parameters - :return: EmailPropertyResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailPropertyResponse') - - def get_email_property_async(self, request: requests.GetEmailPropertyRequest) -> multiprocessing.pool.AsyncResult: - """Get an email document property by its name - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetEmailPropertyRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailPropertyResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailPropertyResponse') - - def get_file_versions(self, request: requests.GetFileVersionsRequest) -> FileVersions: - """get_file_versions - - - :param request GetFileVersionsRequest object with parameters - :return: FileVersions - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'FileVersions') - - def get_file_versions_async(self, request: requests.GetFileVersionsRequest) -> multiprocessing.pool.AsyncResult: - """get_file_versions - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetFileVersionsRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns FileVersions) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'FileVersions') - - def get_files_list(self, request: requests.GetFilesListRequest) -> FilesList: - """get_files_list - - - :param request GetFilesListRequest object with parameters - :return: FilesList - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'FilesList') - - def get_files_list_async(self, request: requests.GetFilesListRequest) -> multiprocessing.pool.AsyncResult: - """get_files_list - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetFilesListRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns FilesList) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'FilesList') - - def get_mapi_attachment(self, request: requests.GetMapiAttachmentRequest) -> str: - """Get document attachment as file stream - - - :param request GetMapiAttachmentRequest object with parameters - :return: str - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'file') - - def get_mapi_attachment_async(self, request: requests.GetMapiAttachmentRequest) -> multiprocessing.pool.AsyncResult: - """Get document attachment as file stream - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetMapiAttachmentRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns file) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'file') - - def get_mapi_attachments(self, request: requests.GetMapiAttachmentsRequest) -> ListResponseOfString: - """Get document attachment list - - - :param request GetMapiAttachmentsRequest object with parameters - :return: ListResponseOfString - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfString') - - def get_mapi_attachments_async(self, request: requests.GetMapiAttachmentsRequest) -> multiprocessing.pool.AsyncResult: - """Get document attachment list - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetMapiAttachmentsRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfString) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfString') - - def get_mapi_calendar_model(self, request: requests.GetMapiCalendarModelRequest) -> MapiCalendarDto: - """Get MAPI calendar document. - - - :param request GetMapiCalendarModelRequest object with parameters - :return: MapiCalendarDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'MapiCalendarDto') - - def get_mapi_calendar_model_async(self, request: requests.GetMapiCalendarModelRequest) -> multiprocessing.pool.AsyncResult: - """Get MAPI calendar document. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetMapiCalendarModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiCalendarDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'MapiCalendarDto') - - def get_mapi_contact_model(self, request: requests.GetMapiContactModelRequest) -> MapiContactDto: - """Get MAPI contact document. - - - :param request GetMapiContactModelRequest object with parameters - :return: MapiContactDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'MapiContactDto') - - def get_mapi_contact_model_async(self, request: requests.GetMapiContactModelRequest) -> multiprocessing.pool.AsyncResult: - """Get MAPI contact document. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetMapiContactModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiContactDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'MapiContactDto') - - def get_mapi_list(self, request: requests.GetMapiListRequest) -> ListResponseOfHierarchicalObjectResponse: - """Get document list from storage folder - - - :param request GetMapiListRequest object with parameters - :return: ListResponseOfHierarchicalObjectResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfHierarchicalObjectResponse') - - def get_mapi_list_async(self, request: requests.GetMapiListRequest) -> multiprocessing.pool.AsyncResult: - """Get document list from storage folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetMapiListRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfHierarchicalObjectResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfHierarchicalObjectResponse') - - def get_mapi_message_model(self, request: requests.GetMapiMessageModelRequest) -> MapiMessageDto: - """Get MAPI message document. - - - :param request GetMapiMessageModelRequest object with parameters - :return: MapiMessageDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'MapiMessageDto') - - def get_mapi_message_model_async(self, request: requests.GetMapiMessageModelRequest) -> multiprocessing.pool.AsyncResult: - """Get MAPI message document. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetMapiMessageModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns MapiMessageDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'MapiMessageDto') - - def get_mapi_properties(self, request: requests.GetMapiPropertiesRequest) -> HierarchicalObjectResponse: - """Get document properties - - - :param request GetMapiPropertiesRequest object with parameters - :return: HierarchicalObjectResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'HierarchicalObjectResponse') - - def get_mapi_properties_async(self, request: requests.GetMapiPropertiesRequest) -> multiprocessing.pool.AsyncResult: - """Get document properties - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request GetMapiPropertiesRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns HierarchicalObjectResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'HierarchicalObjectResponse') - - def is_email_address_disposable(self, request: requests.IsEmailAddressDisposableRequest) -> ValueTOfBoolean: - """Check email address is disposable - - - :param request IsEmailAddressDisposableRequest object with parameters - :return: ValueTOfBoolean - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ValueTOfBoolean') - - def is_email_address_disposable_async(self, request: requests.IsEmailAddressDisposableRequest) -> multiprocessing.pool.AsyncResult: - """Check email address is disposable - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request IsEmailAddressDisposableRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ValueTOfBoolean) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ValueTOfBoolean') - - def list_email_folders(self, request: requests.ListEmailFoldersRequest) -> ListResponseOfMailServerFolder: - """Get folders list in email account - - - :param request ListEmailFoldersRequest object with parameters - :return: ListResponseOfMailServerFolder - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfMailServerFolder') - - def list_email_folders_async(self, request: requests.ListEmailFoldersRequest) -> multiprocessing.pool.AsyncResult: - """Get folders list in email account - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ListEmailFoldersRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfMailServerFolder) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfMailServerFolder') - - def list_email_messages(self, request: requests.ListEmailMessagesRequest) -> ListResponseOfString: - """Get messages from folder, filtered by query - - The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - - :param request ListEmailMessagesRequest object with parameters - :return: ListResponseOfString - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfString') - - def list_email_messages_async(self, request: requests.ListEmailMessagesRequest) -> multiprocessing.pool.AsyncResult: - """Get messages from folder, filtered by query - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - - :param request ListEmailMessagesRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfString) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfString') - - def list_email_models(self, request: requests.ListEmailModelsRequest) -> ListResponseOfEmailDto: - """Get messages from folder, filtered by query - - The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - - :param request ListEmailModelsRequest object with parameters - :return: ListResponseOfEmailDto - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ListResponseOfEmailDto') - - def list_email_models_async(self, request: requests.ListEmailModelsRequest) -> multiprocessing.pool.AsyncResult: - """Get messages from folder, filtered by query - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - - :param request ListEmailModelsRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ListResponseOfEmailDto) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ListResponseOfEmailDto') - - def list_email_threads(self, request: requests.ListEmailThreadsRequest) -> EmailThreadList: - """Get message threads from folder. All messages are partly fetched (without email body and other fields) - - - :param request ListEmailThreadsRequest object with parameters - :return: EmailThreadList - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'EmailThreadList') - - def list_email_threads_async(self, request: requests.ListEmailThreadsRequest) -> multiprocessing.pool.AsyncResult: - """Get message threads from folder. All messages are partly fetched (without email body and other fields) - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ListEmailThreadsRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailThreadList) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'EmailThreadList') - - def move_email_message(self, request: requests.MoveEmailMessageRequest) : - """Move message to another folder - - - :param request MoveEmailMessageRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def move_email_message_async(self, request: requests.MoveEmailMessageRequest) -> multiprocessing.pool.AsyncResult: - """Move message to another folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request MoveEmailMessageRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def move_email_thread(self, request: requests.MoveEmailThreadRequest) : - """Move thread to another folder - - - :param request MoveEmailThreadRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def move_email_thread_async(self, request: requests.MoveEmailThreadRequest) -> multiprocessing.pool.AsyncResult: - """Move thread to another folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request MoveEmailThreadRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def move_file(self, request: requests.MoveFileRequest) : - """move_file - - - :param request MoveFileRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def move_file_async(self, request: requests.MoveFileRequest) -> multiprocessing.pool.AsyncResult: - """move_file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request MoveFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def move_folder(self, request: requests.MoveFolderRequest) : - """move_folder - - - :param request MoveFolderRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def move_folder_async(self, request: requests.MoveFolderRequest) -> multiprocessing.pool.AsyncResult: - """move_folder - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request MoveFolderRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def object_exists(self, request: requests.ObjectExistsRequest) -> ObjectExist: - """object_exists - - - :param request ObjectExistsRequest object with parameters - :return: ObjectExist - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'ObjectExist') - - def object_exists_async(self, request: requests.ObjectExistsRequest) -> multiprocessing.pool.AsyncResult: - """object_exists - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request ObjectExistsRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns ObjectExist) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'ObjectExist') - - def save_calendar_model(self, request: requests.SaveCalendarModelRequest) : - """Save iCalendar - - - :param request SaveCalendarModelRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def save_calendar_model_async(self, request: requests.SaveCalendarModelRequest) -> multiprocessing.pool.AsyncResult: - """Save iCalendar - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveCalendarModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def save_contact_model(self, request: requests.SaveContactModelRequest) : - """Save contact. - - - :param request SaveContactModelRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def save_contact_model_async(self, request: requests.SaveContactModelRequest) -> multiprocessing.pool.AsyncResult: - """Save contact. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveContactModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def save_email_client_account(self, request: requests.SaveEmailClientAccountRequest) : - """Create email client account file (*.account) with any of supported credentials - - - :param request SaveEmailClientAccountRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def save_email_client_account_async(self, request: requests.SaveEmailClientAccountRequest) -> multiprocessing.pool.AsyncResult: - """Create email client account file (*.account) with any of supported credentials - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveEmailClientAccountRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def save_email_client_multi_account(self, request: requests.SaveEmailClientMultiAccountRequest) : - """Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - - - :param request SaveEmailClientMultiAccountRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def save_email_client_multi_account_async(self, request: requests.SaveEmailClientMultiAccountRequest) -> multiprocessing.pool.AsyncResult: - """Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveEmailClientMultiAccountRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def save_email_model(self, request: requests.SaveEmailModelRequest) : - """Save email document. - - - :param request SaveEmailModelRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def save_email_model_async(self, request: requests.SaveEmailModelRequest) -> multiprocessing.pool.AsyncResult: - """Save email document. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveEmailModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def save_mail_account(self, request: requests.SaveMailAccountRequest) : - """Create email account file (*.account) with login/password authentication - - - :param request SaveMailAccountRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', None) - - def save_mail_account_async(self, request: requests.SaveMailAccountRequest) -> multiprocessing.pool.AsyncResult: - """Create email account file (*.account) with login/password authentication - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveMailAccountRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', None) - - def save_mail_o_auth_account(self, request: requests.SaveMailOAuthAccountRequest) : - """Create email account file (*.account) with OAuth - - - :param request SaveMailOAuthAccountRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', None) - - def save_mail_o_auth_account_async(self, request: requests.SaveMailOAuthAccountRequest) -> multiprocessing.pool.AsyncResult: - """Create email account file (*.account) with OAuth - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveMailOAuthAccountRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', None) - - def save_mapi_calendar_model(self, request: requests.SaveMapiCalendarModelRequest) : - """Save MAPI Calendar to storage. - - - :param request SaveMapiCalendarModelRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def save_mapi_calendar_model_async(self, request: requests.SaveMapiCalendarModelRequest) -> multiprocessing.pool.AsyncResult: - """Save MAPI Calendar to storage. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveMapiCalendarModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def save_mapi_contact_model(self, request: requests.SaveMapiContactModelRequest) : - """Save MAPI Contact to storage. - - - :param request SaveMapiContactModelRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def save_mapi_contact_model_async(self, request: requests.SaveMapiContactModelRequest) -> multiprocessing.pool.AsyncResult: - """Save MAPI Contact to storage. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveMapiContactModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def save_mapi_message_model(self, request: requests.SaveMapiMessageModelRequest) : - """Save MAPI message to storage. - - - :param request SaveMapiMessageModelRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def save_mapi_message_model_async(self, request: requests.SaveMapiMessageModelRequest) -> multiprocessing.pool.AsyncResult: - """Save MAPI message to storage. - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SaveMapiMessageModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def send_email(self, request: requests.SendEmailRequest) : - """Send an email from *.eml file located on storage - - - :param request SendEmailRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', None) - - def send_email_async(self, request: requests.SendEmailRequest) -> multiprocessing.pool.AsyncResult: - """Send an email from *.eml file located on storage - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SendEmailRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', None) - - def send_email_mime(self, request: requests.SendEmailMimeRequest) : - """Send an email specified by MIME in request - - - :param request SendEmailMimeRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', None) - - def send_email_mime_async(self, request: requests.SendEmailMimeRequest) -> multiprocessing.pool.AsyncResult: - """Send an email specified by MIME in request - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SendEmailMimeRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', None) - - def send_email_model(self, request: requests.SendEmailModelRequest) : - """Send an email specified by model in request - - - :param request SendEmailModelRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', None) - - def send_email_model_async(self, request: requests.SendEmailModelRequest) -> multiprocessing.pool.AsyncResult: - """Send an email specified by model in request - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SendEmailModelRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', None) - - def set_email_property(self, request: requests.SetEmailPropertyRequest) -> EmailPropertyResponse: - """Set email document property value - - - :param request SetEmailPropertyRequest object with parameters - :return: EmailPropertyResponse - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'EmailPropertyResponse') - - def set_email_property_async(self, request: requests.SetEmailPropertyRequest) -> multiprocessing.pool.AsyncResult: - """Set email document property value - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SetEmailPropertyRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns EmailPropertyResponse) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'EmailPropertyResponse') - - def set_email_read_flag(self, request: requests.SetEmailReadFlagRequest) : - """Sets \"Message is read\" flag - - - :param request SetEmailReadFlagRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'POST', None) - - def set_email_read_flag_async(self, request: requests.SetEmailReadFlagRequest) -> multiprocessing.pool.AsyncResult: - """Sets \"Message is read\" flag - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SetEmailReadFlagRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'POST', None) - - def set_email_thread_read_flag(self, request: requests.SetEmailThreadReadFlagRequest) : - """Mark all messages in thread as read or unread - - - :param request SetEmailThreadReadFlagRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def set_email_thread_read_flag_async(self, request: requests.SetEmailThreadReadFlagRequest) -> multiprocessing.pool.AsyncResult: - """Mark all messages in thread as read or unread - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request SetEmailThreadReadFlagRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def storage_exists(self, request: requests.StorageExistsRequest) -> StorageExist: - """storage_exists - - - :param request StorageExistsRequest object with parameters - :return: StorageExist - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'GET', 'StorageExist') - - def storage_exists_async(self, request: requests.StorageExistsRequest) -> multiprocessing.pool.AsyncResult: - """storage_exists - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request StorageExistsRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns StorageExist) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'GET', 'StorageExist') - - def update_calendar_properties(self, request: requests.UpdateCalendarPropertiesRequest) : - """Update calendar file properties - - - :param request UpdateCalendarPropertiesRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def update_calendar_properties_async(self, request: requests.UpdateCalendarPropertiesRequest) -> multiprocessing.pool.AsyncResult: - """Update calendar file properties - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request UpdateCalendarPropertiesRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def update_contact_properties(self, request: requests.UpdateContactPropertiesRequest) : - """Update contact document properties - - - :param request UpdateContactPropertiesRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def update_contact_properties_async(self, request: requests.UpdateContactPropertiesRequest) -> multiprocessing.pool.AsyncResult: - """Update contact document properties - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request UpdateContactPropertiesRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def update_mapi_properties(self, request: requests.UpdateMapiPropertiesRequest) : - """Update document properties - - - :param request UpdateMapiPropertiesRequest object with parameters - :return: None - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', None) - - def update_mapi_properties_async(self, request: requests.UpdateMapiPropertiesRequest) -> multiprocessing.pool.AsyncResult: - """Update document properties - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request UpdateMapiPropertiesRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns None) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', None) - - def upload_file(self, request: requests.UploadFileRequest) -> FilesUploadResult: - """upload_file - - - :param request UploadFileRequest object with parameters - :return: FilesUploadResult - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request(http_request, 'PUT', 'FilesUploadResult') - - def upload_file_async(self, request: requests.UploadFileRequest) -> multiprocessing.pool.AsyncResult: - """upload_file - Performs operation asynchronously. Returns multiprocessing.pool.AsyncResult - - :param request UploadFileRequest object with parameters - :return: multiprocessing.pool.AsyncResult (AsyncResult.get() returns FilesUploadResult) - """ - http_request = request.to_http_info(self.api_client.configuration) - return self.__make_request_async(http_request, 'PUT', 'FilesUploadResult') - - def __make_request(self, http_request, method, return_type): - def call_api(): - return self.api_client.call_api( - resource_path=http_request.resource_path, - method=method, - path_params=http_request.path_params, - query_params=http_request.query_params, - header_params=http_request.header_params, - body=http_request.body_params, - post_params=http_request.form_params, - files=http_request.files, - response_type=return_type, - auth_settings=http_request.auth_settings, - _return_http_data_only=http_request.return_http_data_only, - _preload_content=http_request.preload_content, - _request_timeout=http_request.request_timeout, - collection_formats=http_request.collection_formats) - - try: - return call_api() - except ApiException as ex: - if ex.code == 401: - self.__request_token() - return call_api() - raise - - def __make_request_async(self, http_request, method, return_type): - def call_api_async(): - return self.api_client.call_api_async( - resource_path=http_request.resource_path, - method=method, - path_params=http_request.path_params, - query_params=http_request.query_params, - header_params=http_request.header_params, - body=http_request.body_params, - post_params=http_request.form_params, - files=http_request.files, - response_type=return_type, - auth_settings=http_request.auth_settings, - _return_http_data_only=http_request.return_http_data_only, - _preload_content=http_request.preload_content, - _request_timeout=http_request.request_timeout, - collection_formats=http_request.collection_formats) - - try: - return call_api_async() - except ApiException as ex: - if ex.code == 401: - self.__request_token() - return call_api_async() - raise - - def __request_token(self): - config = self.api_client.configuration - request_url = "/connect/token" - form_params = [('grant_type', 'client_credentials'), ('client_id', config.api_key['app_sid']), - ('client_secret', config.api_key['api_key'])] - - header_params = {'Accept': 'application/json', 'Content-Type': 'application/x-www-form-urlencoded'} - - api_version = self.api_client.configuration.api_version - self.api_client.configuration.api_version = '' - - data = self.api_client.call_api(request_url, 'POST', - {}, - [], - header_params, - post_params=form_params, - response_type='object', - files={}, _return_http_data_only=True, - host=config.get_auth_url()) - access_token = data['access_token'] if six.PY3 else data['access_token'].encode('utf8') - self.api_client.configuration.access_token = access_token - - self.api_client.configuration.api_version = api_version + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/email_cloud.py b/sdk/AsposeEmailCloudSdk/api/email_cloud.py new file mode 100644 index 0000000..cabfd9a --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/email_cloud.py @@ -0,0 +1,143 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk import Configuration, ApiClient +from AsposeEmailCloudSdk.api import * + +class EmailCloud(object): + """ + Aspose.Email Cloud API. + """ + + def __init__(self, app_key=None, app_sid=None, base_url=None, + api_version=None, debug=False): + """ + Initializes a new instance of the EmailCloud class. + + :param app_key: The app key. + :param app_sid: The app sid. + :param base_url: The base URL. + :param api_version: API version. + :param debug: If debug mode is enabled. False by default. + """ + configuration = Configuration(app_key=app_key, + app_sid=app_sid, + base_url=base_url, + api_version=api_version, + debug=debug) + api_client = ApiClient(configuration) + + + + + self._calendar = CalendarApi(api_client) + + self._contact = ContactApi(api_client) + + self._email = EmailApi(api_client) + + self._disposable_email = DisposableEmailApi(api_client) + + self._email_config = EmailConfigApi(api_client) + + + self._mapi = MapiGroup(api_client) + + self._client = ClientGroup(api_client) + + self._ai = AiGroup(api_client) + + self._cloud_storage = CloudStorageGroup(api_client) + + + + @property + def calendar(self) -> CalendarApi: + """ + iCalendar document operations. + """ + return self._calendar + + @property + def contact(self) -> ContactApi: + """ + Contact document operations. Supported formats: VCard, MSG, WebDav + """ + return self._contact + + @property + def email(self) -> EmailApi: + """ + Email document (*.eml) operations. + """ + return self._email + + @property + def disposable_email(self) -> DisposableEmailApi: + """ + Check email address is disposable operations + """ + return self._disposable_email + + @property + def email_config(self) -> EmailConfigApi: + """ + Email server configuration discovery. + """ + return self._email_config + + + + @property + def mapi(self) -> MapiGroup: + """ + MAPI operations. + """ + return self._mapi + + @property + def client(self) -> ClientGroup: + """ + Builtin Email client operations. + """ + return self._client + + @property + def ai(self) -> AiGroup: + """ + AI powered operations. + """ + return self._ai + + @property + def cloud_storage(self) -> CloudStorageGroup: + """ + Cloud file storage operations. + """ + return self._cloud_storage + diff --git a/sdk/AsposeEmailCloudSdk/api/email_config_api.py b/sdk/AsposeEmailCloudSdk/api/email_config_api.py new file mode 100644 index 0000000..dd6a511 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/email_config_api.py @@ -0,0 +1,137 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class EmailConfigApi(ApiBase): + """ + Aspose.Email Cloud API. EmailConfigApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def discover(self, request: EmailConfigDiscoverRequest) -> EmailAccountConfigList: + """Discover email accounts by email address. Does not validate discovered accounts. + + + :param request EmailConfigDiscoverRequest object with parameters + :return: EmailAccountConfigList + """ + # verify the required parameter 'address' is set + if request.address is None: + raise ValueError("Missing the required parameter `address` when calling `discover`") + + collection_formats = {} + path = '/email/config/discover' + + query_params = [] + if request.address is not None: + query_params.append((self._lowercase_first_letter('address'), request.address)) + if request.fast_processing is not None: + query_params.append((self._lowercase_first_letter('fastProcessing'), request.fast_processing)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'EmailAccountConfigList') + + def discover_oauth(self, request: DiscoverEmailConfigOauth) -> EmailAccountConfigList: + """Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. + + :param request DiscoverEmailConfigOauth Discover email configuration request. + :return: EmailAccountConfigList + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `discover_oauth`") + + collection_formats = {} + path = '/email/config/discover/oauth' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'EmailAccountConfigList') + + def discover_password(self, request: DiscoverEmailConfigPassword) -> EmailAccountConfigList: + """Discover email accounts by email address. Validates discovered accounts using login and password. + + :param request DiscoverEmailConfigPassword Discover email configuration request. + :return: EmailAccountConfigList + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `discover_password`") + + collection_formats = {} + path = '/email/config/discover/password' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'EmailAccountConfigList') diff --git a/sdk/AsposeEmailCloudSdk/api/file_api.py b/sdk/AsposeEmailCloudSdk/api/file_api.py new file mode 100644 index 0000000..bba9f09 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/file_api.py @@ -0,0 +1,258 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class FileApi(ApiBase): + """ + Aspose.Email Cloud API. FileApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def copy_file(self, request: CopyFileRequest): + """Copy file + + + :param request CopyFileRequest object with parameters + :return: None + """ + # verify the required parameter 'src_path' is set + if request.src_path is None: + raise ValueError("Missing the required parameter `src_path` when calling `copy_file`") + # verify the required parameter 'dest_path' is set + if request.dest_path is None: + raise ValueError("Missing the required parameter `dest_path` when calling `copy_file`") + + collection_formats = {} + path = '/email/storage/file/copy/{srcPath}' + + query_params = [] + if request.dest_path is not None: + query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) + if request.src_storage_name is not None: + query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) + if request.dest_storage_name is not None: + query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) + + def delete_file(self, request: DeleteFileRequest): + """Delete file + + + :param request DeleteFileRequest object with parameters + :return: None + """ + # verify the required parameter 'path' is set + if request.path is None: + raise ValueError("Missing the required parameter `path` when calling `delete_file`") + + collection_formats = {} + path = '/email/storage/file/{path}' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'DELETE', None) + + def download_file(self, request: DownloadFileRequest) -> str: + """Download file + + + :param request DownloadFileRequest object with parameters + :return: str + """ + # verify the required parameter 'path' is set + if request.path is None: + raise ValueError("Missing the required parameter `path` when calling `download_file`") + + collection_formats = {} + path = '/email/storage/file/{path}' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'file') + + def move_file(self, request: MoveFileRequest): + """Move file + + + :param request MoveFileRequest object with parameters + :return: None + """ + # verify the required parameter 'src_path' is set + if request.src_path is None: + raise ValueError("Missing the required parameter `src_path` when calling `move_file`") + # verify the required parameter 'dest_path' is set + if request.dest_path is None: + raise ValueError("Missing the required parameter `dest_path` when calling `move_file`") + + collection_formats = {} + path = '/email/storage/file/move/{srcPath}' + + query_params = [] + if request.dest_path is not None: + query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) + if request.src_storage_name is not None: + query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) + if request.dest_storage_name is not None: + query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) + + def upload_file(self, request: UploadFileRequest) -> FilesUploadResult: + """Upload file + + + :param request UploadFileRequest object with parameters + :return: FilesUploadResult + """ + # verify the required parameter 'path' is set + if request.path is None: + raise ValueError("Missing the required parameter `path` when calling `upload_file`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `upload_file`") + + collection_formats = {} + path = '/email/storage/file/{path}' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'FilesUploadResult') diff --git a/sdk/AsposeEmailCloudSdk/api/folder_api.py b/sdk/AsposeEmailCloudSdk/api/folder_api.py new file mode 100644 index 0000000..8021ab5 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/folder_api.py @@ -0,0 +1,247 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class FolderApi(ApiBase): + """ + Aspose.Email Cloud API. FolderApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def copy_folder(self, request: CopyFolderRequest): + """Copy folder + + + :param request CopyFolderRequest object with parameters + :return: None + """ + # verify the required parameter 'src_path' is set + if request.src_path is None: + raise ValueError("Missing the required parameter `src_path` when calling `copy_folder`") + # verify the required parameter 'dest_path' is set + if request.dest_path is None: + raise ValueError("Missing the required parameter `dest_path` when calling `copy_folder`") + + collection_formats = {} + path = '/email/storage/folder/copy/{srcPath}' + + query_params = [] + if request.dest_path is not None: + query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) + if request.src_storage_name is not None: + query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) + if request.dest_storage_name is not None: + query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) + + def create_folder(self, request: CreateFolderRequest): + """Create the folder + + + :param request CreateFolderRequest object with parameters + :return: None + """ + # verify the required parameter 'path' is set + if request.path is None: + raise ValueError("Missing the required parameter `path` when calling `create_folder`") + + collection_formats = {} + path = '/email/storage/folder/{path}' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) + + def delete_folder(self, request: DeleteFolderRequest): + """Delete folder + + + :param request DeleteFolderRequest object with parameters + :return: None + """ + # verify the required parameter 'path' is set + if request.path is None: + raise ValueError("Missing the required parameter `path` when calling `delete_folder`") + + collection_formats = {} + path = '/email/storage/folder/{path}' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + if request.recursive is not None: + query_params.append((self._lowercase_first_letter('recursive'), request.recursive)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'DELETE', None) + + def get_files_list(self, request: GetFilesListRequest) -> FilesList: + """Get all files and folders within a folder + + + :param request GetFilesListRequest object with parameters + :return: FilesList + """ + # verify the required parameter 'path' is set + if request.path is None: + raise ValueError("Missing the required parameter `path` when calling `get_files_list`") + + collection_formats = {} + path = '/email/storage/folder/{path}' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'FilesList') + + def move_folder(self, request: MoveFolderRequest): + """Move folder + + + :param request MoveFolderRequest object with parameters + :return: None + """ + # verify the required parameter 'src_path' is set + if request.src_path is None: + raise ValueError("Missing the required parameter `src_path` when calling `move_folder`") + # verify the required parameter 'dest_path' is set + if request.dest_path is None: + raise ValueError("Missing the required parameter `dest_path` when calling `move_folder`") + + collection_formats = {} + path = '/email/storage/folder/move/{srcPath}' + + query_params = [] + if request.dest_path is not None: + query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) + if request.src_storage_name is not None: + query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) + if request.dest_storage_name is not None: + query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py new file mode 100644 index 0000000..63070bc --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py @@ -0,0 +1,205 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class MapiCalendarApi(ApiBase): + """ + Aspose.Email Cloud API. MapiCalendarApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def as_calendar_dto(self, mapi_calendar_dto: MapiCalendarDto) -> CalendarDto: + """Converts MAPI calendar model to CalendarDto model. + + :param mapi_calendar_dto MapiCalendarDto MAPI calendar model to convert. + :return: CalendarDto + """ + # verify the required parameter 'mapi_calendar_dto' is set + if mapi_calendar_dto is None: + raise ValueError("Missing the required parameter `mapi_calendar_dto` when calling `as_calendar_dto`") + + collection_formats = {} + path = '/email/MapiCalendar/as-calendar-dto' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = mapi_calendar_dto + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'CalendarDto') + + def as_file(self, request: MapiCalendarAsFileRequest) -> str: + """Converts MAPI calendar model to specified format and returns as file. + + :param request MapiCalendarAsFileRequest MAPI calendar model to convert. + :return: str + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `as_file`") + + collection_formats = {} + path = '/email/MapiCalendar/as-file' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'file') + + def from_file(self, request: MapiCalendarFromFileRequest) -> MapiCalendarDto: + """Converts calendar file to a MAPI model representation. + + + :param request MapiCalendarFromFileRequest object with parameters + :return: MapiCalendarDto + """ + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `from_file`") + + collection_formats = {} + path = '/email/MapiCalendar/from-file' + + query_params = [] + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'MapiCalendarDto') + + def get(self, request: MapiCalendarGetRequest) -> MapiCalendarDto: + """Get MAPI calendar document. + + + :param request MapiCalendarGetRequest object with parameters + :return: MapiCalendarDto + """ + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get`") + + collection_formats = {} + path = '/email/MapiCalendar' + + query_params = [] + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'MapiCalendarDto') + + def save(self, request: MapiCalendarSaveRequest): + """Save MAPI Calendar to storage. + + :param request MapiCalendarSaveRequest Calendar create/update request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `save`") + + collection_formats = {} + path = '/email/MapiCalendar' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py new file mode 100644 index 0000000..a89bb5a --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py @@ -0,0 +1,215 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class MapiContactApi(ApiBase): + """ + Aspose.Email Cloud API. MapiContactApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def as_contact_dto(self, mapi_contact_dto: MapiContactDto) -> ContactDto: + """Converts MAPI contact model to ContactDto model. + + :param mapi_contact_dto MapiContactDto MAPI contact model to convert. + :return: ContactDto + """ + # verify the required parameter 'mapi_contact_dto' is set + if mapi_contact_dto is None: + raise ValueError("Missing the required parameter `mapi_contact_dto` when calling `as_contact_dto`") + + collection_formats = {} + path = '/email/MapiContact/as-contact-dto' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = mapi_contact_dto + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'ContactDto') + + def as_file(self, request: MapiContactAsFileRequest) -> str: + """Converts MAPI contact model to specified format and returns as file. + + :param request MapiContactAsFileRequest MAPI contact model to convert. + :return: str + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `as_file`") + + collection_formats = {} + path = '/email/MapiContact/as-file' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'file') + + def from_file(self, request: MapiContactFromFileRequest) -> MapiContactDto: + """Converts contact file to a MAPI model representation. + + + :param request MapiContactFromFileRequest object with parameters + :return: MapiContactDto + """ + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `from_file`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `from_file`") + + collection_formats = {} + path = '/email/MapiContact/from-file' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'MapiContactDto') + + def get(self, request: MapiContactGetRequest) -> MapiContactDto: + """Get MAPI contact document. + + + :param request MapiContactGetRequest object with parameters + :return: MapiContactDto + """ + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `get`") + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get`") + + collection_formats = {} + path = '/email/MapiContact' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'MapiContactDto') + + def save(self, request: MapiContactSaveRequest): + """Save MAPI Contact to storage. + + :param request MapiContactSaveRequest Create/Update contact request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `save`") + + collection_formats = {} + path = '/email/MapiContact' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_group.py b/sdk/AsposeEmailCloudSdk/api/mapi_group.py new file mode 100644 index 0000000..1b2b2a3 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/mapi_group.py @@ -0,0 +1,64 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import +from AsposeEmailCloudSdk.api import * + + +class MapiGroup(object): + """ + MAPI operations. + """ + def __init__(self, api_client): + + self._calendar = MapiCalendarApi(api_client) + + self._contact = MapiContactApi(api_client) + + self._message = MapiMessageApi(api_client) + + + @property + def calendar(self) -> MapiCalendarApi: + """ + MAPI calendar operations. + """ + return self._calendar + + @property + def contact(self) -> MapiContactApi: + """ + MAPI contact operations + """ + return self._contact + + @property + def message(self) -> MapiMessageApi: + """ + MAPI message operations + """ + return self._message + diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py new file mode 100644 index 0000000..c4d3670 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py @@ -0,0 +1,215 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class MapiMessageApi(ApiBase): + """ + Aspose.Email Cloud API. MapiMessageApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def as_email_dto(self, mapi_message: MapiMessageDto) -> EmailDto: + """Converts MAPI message model to EmailDto model + + :param mapi_message MapiMessageDto MAPI message model to convert + :return: EmailDto + """ + # verify the required parameter 'mapi_message' is set + if mapi_message is None: + raise ValueError("Missing the required parameter `mapi_message` when calling `as_email_dto`") + + collection_formats = {} + path = '/email/MapiMessage/as-email-dto' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = mapi_message + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'EmailDto') + + def as_file(self, request: MapiMessageAsFileRequest) -> str: + """Converts MAPI message model to specified format and returns as file. + + :param request MapiMessageAsFileRequest MAPI message model to convert. + :return: str + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `as_file`") + + collection_formats = {} + path = '/email/MapiMessage/as-file' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['multipart/form-data']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'file') + + def from_file(self, request: MapiMessageFromFileRequest) -> MapiMessageDto: + """Converts email file to a MAPI model representation + + + :param request MapiMessageFromFileRequest object with parameters + :return: MapiMessageDto + """ + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `from_file`") + # verify the required parameter 'file' is set + if request.file is None: + raise ValueError("Missing the required parameter `file` when calling `from_file`") + + collection_formats = {} + path = '/email/MapiMessage/from-file' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + + form_params = [] + local_var_files = [] + if request.file is not None: + local_var_files.append((self._lowercase_first_letter('File'), request.file)) + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['multipart/form-data']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'PUT', 'MapiMessageDto') + + def get(self, request: MapiMessageGetRequest) -> MapiMessageDto: + """Get MAPI message document. + + + :param request MapiMessageGetRequest object with parameters + :return: MapiMessageDto + """ + # verify the required parameter 'format' is set + if request.format is None: + raise ValueError("Missing the required parameter `format` when calling `get`") + # verify the required parameter 'file_name' is set + if request.file_name is None: + raise ValueError("Missing the required parameter `file_name` when calling `get`") + + collection_formats = {} + path = '/email/MapiMessage' + + query_params = [] + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'MapiMessageDto') + + def save(self, request: MapiMessageSaveRequest): + """Save MAPI message to storage. + + :param request MapiMessageSaveRequest Message create/update request. + :return: None + """ + # verify the required parameter 'request' is set + if request is None: + raise ValueError("Missing the required parameter `request` when calling `save`") + + collection_formats = {} + path = '/email/MapiMessage' + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + body_params = request + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, None, header_params, None, body_params, None, None, auth_settings) + + return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/storage_api.py b/sdk/AsposeEmailCloudSdk/api/storage_api.py new file mode 100644 index 0000000..dac730b --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/api/storage_api.py @@ -0,0 +1,190 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from __future__ import absolute_import + +from AsposeEmailCloudSdk.api.api_base import ApiBase +from AsposeEmailCloudSdk.models import * + + +class StorageApi(ApiBase): + """ + Aspose.Email Cloud API. StorageApi operations. + + """ + + def __init__(self, api_client): + super(ApiBase, self).__init__(api_client) + + def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: + """Get disc usage + + + :param request GetDiscUsageRequest object with parameters + :return: DiscUsage + """ + + collection_formats = {} + path = '/email/storage/disc' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'DiscUsage') + + def get_file_versions(self, request: GetFileVersionsRequest) -> FileVersions: + """Get file versions + + + :param request GetFileVersionsRequest object with parameters + :return: FileVersions + """ + # verify the required parameter 'path' is set + if request.path is None: + raise ValueError("Missing the required parameter `path` when calling `get_file_versions`") + + collection_formats = {} + path = '/email/storage/version/{path}' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'FileVersions') + + def object_exists(self, request: ObjectExistsRequest) -> ObjectExist: + """Check if file or folder exists + + + :param request ObjectExistsRequest object with parameters + :return: ObjectExist + """ + # verify the required parameter 'path' is set + if request.path is None: + raise ValueError("Missing the required parameter `path` when calling `object_exists`") + + collection_formats = {} + path = '/email/storage/exist/{path}' + + query_params = [] + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'ObjectExist') + + def exists(self, request: StorageExistsRequest) -> StorageExist: + """Check if storage exists + + + :param request StorageExistsRequest object with parameters + :return: StorageExist + """ + # verify the required parameter 'storage_name' is set + if request.storage_name is None: + raise ValueError("Missing the required parameter `storage_name` when calling `exists`") + + collection_formats = {} + path = '/email/storage/{storageName}/exist' + + query_params = [] + + form_params = [] + local_var_files = [] + + header_params = {} + # HTTP header `Accept` + header_params['Accept'] = self._select_header_accept( + ['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self._select_header_content_type( + ['application/json']) + + # Authentication setting + auth_settings = ['JWT'] + + http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + collection_formats, auth_settings) + + return self._make_request(http_request_object, 'GET', 'StorageExist') diff --git a/sdk/AsposeEmailCloudSdk/models/__init__.py b/sdk/AsposeEmailCloudSdk/models/__init__.py index b9fe2ae..4204bce 100644 --- a/sdk/AsposeEmailCloudSdk/models/__init__.py +++ b/sdk/AsposeEmailCloudSdk/models/__init__.py @@ -27,13 +27,9 @@ from __future__ import absolute_import # import models into model package -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.add_attachment_request import AddAttachmentRequest from AsposeEmailCloudSdk.models.ai_bcr_image import AiBcrImage -from AsposeEmailCloudSdk.models.ai_bcr_ocr_data import AiBcrOcrData -from AsposeEmailCloudSdk.models.ai_bcr_ocr_data_part import AiBcrOcrDataPart from AsposeEmailCloudSdk.models.ai_bcr_options import AiBcrOptions -from AsposeEmailCloudSdk.models.ai_bcr_rq import AiBcrRq +from AsposeEmailCloudSdk.models.ai_bcr_parse_storage_request import AiBcrParseStorageRequest from AsposeEmailCloudSdk.models.ai_name_component import AiNameComponent from AsposeEmailCloudSdk.models.ai_name_cultural_context import AiNameCulturalContext from AsposeEmailCloudSdk.models.ai_name_extracted import AiNameExtracted @@ -42,35 +38,31 @@ from AsposeEmailCloudSdk.models.ai_name_gender_hypothesis import AiNameGenderHypothesis from AsposeEmailCloudSdk.models.ai_name_match_result import AiNameMatchResult from AsposeEmailCloudSdk.models.ai_name_mismatch import AiNameMismatch -from AsposeEmailCloudSdk.models.ai_name_parsed_rq import AiNameParsedRq +from AsposeEmailCloudSdk.models.ai_name_parsed_request import AiNameParsedRequest from AsposeEmailCloudSdk.models.ai_name_weighted import AiNameWeighted from AsposeEmailCloudSdk.models.ai_name_weighted_variants import AiNameWeightedVariants from AsposeEmailCloudSdk.models.associated_person import AssociatedPerson from AsposeEmailCloudSdk.models.attachment_base import AttachmentBase -from AsposeEmailCloudSdk.models.base_object import BaseObject +from AsposeEmailCloudSdk.models.calendar_as_alternate_request import CalendarAsAlternateRequest +from AsposeEmailCloudSdk.models.calendar_as_file_request import CalendarAsFileRequest from AsposeEmailCloudSdk.models.calendar_dto import CalendarDto -from AsposeEmailCloudSdk.models.calendar_dto_alternate_rq import CalendarDtoAlternateRq from AsposeEmailCloudSdk.models.calendar_reminder import CalendarReminder +from AsposeEmailCloudSdk.models.client_account_base_request import ClientAccountBaseRequest +from AsposeEmailCloudSdk.models.contact_as_file_request import ContactAsFileRequest from AsposeEmailCloudSdk.models.contact_dto import ContactDto from AsposeEmailCloudSdk.models.contact_photo import ContactPhoto from AsposeEmailCloudSdk.models.content_type import ContentType from AsposeEmailCloudSdk.models.content_type_parameter import ContentTypeParameter -from AsposeEmailCloudSdk.models.create_email_request import CreateEmailRequest from AsposeEmailCloudSdk.models.customer_event import CustomerEvent from AsposeEmailCloudSdk.models.disc_usage import DiscUsage -from AsposeEmailCloudSdk.models.discover_email_config_rq import DiscoverEmailConfigRq +from AsposeEmailCloudSdk.models.discover_email_config_request import DiscoverEmailConfigRequest from AsposeEmailCloudSdk.models.email_account_config import EmailAccountConfig -from AsposeEmailCloudSdk.models.email_account_request import EmailAccountRequest from AsposeEmailCloudSdk.models.email_address import EmailAddress +from AsposeEmailCloudSdk.models.email_as_file_request import EmailAsFileRequest from AsposeEmailCloudSdk.models.email_client_account import EmailClientAccount from AsposeEmailCloudSdk.models.email_client_account_credentials import EmailClientAccountCredentials from AsposeEmailCloudSdk.models.email_client_multi_account import EmailClientMultiAccount -from AsposeEmailCloudSdk.models.email_document import EmailDocument -from AsposeEmailCloudSdk.models.email_document_response import EmailDocumentResponse from AsposeEmailCloudSdk.models.email_dto import EmailDto -from AsposeEmailCloudSdk.models.email_properties import EmailProperties -from AsposeEmailCloudSdk.models.email_property import EmailProperty -from AsposeEmailCloudSdk.models.email_property_response import EmailPropertyResponse from AsposeEmailCloudSdk.models.email_thread import EmailThread from AsposeEmailCloudSdk.models.enum_with_custom_of_associated_person_category import EnumWithCustomOfAssociatedPersonCategory from AsposeEmailCloudSdk.models.enum_with_custom_of_email_address_category import EnumWithCustomOfEmailAddressCategory @@ -84,11 +76,7 @@ from AsposeEmailCloudSdk.models.file_versions import FileVersions from AsposeEmailCloudSdk.models.files_list import FilesList from AsposeEmailCloudSdk.models.files_upload_result import FilesUploadResult -from AsposeEmailCloudSdk.models.hierarchical_object_request import HierarchicalObjectRequest -from AsposeEmailCloudSdk.models.hierarchical_object_response import HierarchicalObjectResponse from AsposeEmailCloudSdk.models.instant_messenger_address import InstantMessengerAddress -from AsposeEmailCloudSdk.models.link import Link -from AsposeEmailCloudSdk.models.list_response_of_ai_bcr_ocr_data import ListResponseOfAiBcrOcrData from AsposeEmailCloudSdk.models.list_response_of_ai_name_component import ListResponseOfAiNameComponent from AsposeEmailCloudSdk.models.list_response_of_ai_name_extracted import ListResponseOfAiNameExtracted from AsposeEmailCloudSdk.models.list_response_of_ai_name_gender_hypothesis import ListResponseOfAiNameGenderHypothesis @@ -96,17 +84,17 @@ from AsposeEmailCloudSdk.models.list_response_of_email_account_config import ListResponseOfEmailAccountConfig from AsposeEmailCloudSdk.models.list_response_of_email_dto import ListResponseOfEmailDto from AsposeEmailCloudSdk.models.list_response_of_email_thread import ListResponseOfEmailThread -from AsposeEmailCloudSdk.models.list_response_of_hierarchical_object import ListResponseOfHierarchicalObject -from AsposeEmailCloudSdk.models.list_response_of_hierarchical_object_response import ListResponseOfHierarchicalObjectResponse +from AsposeEmailCloudSdk.models.list_response_of_mail_message_base import ListResponseOfMailMessageBase from AsposeEmailCloudSdk.models.list_response_of_mail_server_folder import ListResponseOfMailServerFolder from AsposeEmailCloudSdk.models.list_response_of_storage_file_location import ListResponseOfStorageFileLocation from AsposeEmailCloudSdk.models.list_response_of_storage_model_of_calendar_dto import ListResponseOfStorageModelOfCalendarDto from AsposeEmailCloudSdk.models.list_response_of_storage_model_of_contact_dto import ListResponseOfStorageModelOfContactDto from AsposeEmailCloudSdk.models.list_response_of_storage_model_of_email_dto import ListResponseOfStorageModelOfEmailDto -from AsposeEmailCloudSdk.models.list_response_of_string import ListResponseOfString from AsposeEmailCloudSdk.models.mail_address import MailAddress +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase from AsposeEmailCloudSdk.models.mail_server_folder import MailServerFolder from AsposeEmailCloudSdk.models.mapi_attachment_dto import MapiAttachmentDto +from AsposeEmailCloudSdk.models.mapi_calendar_as_file_request import MapiCalendarAsFileRequest from AsposeEmailCloudSdk.models.mapi_calendar_attendees_dto import MapiCalendarAttendeesDto from AsposeEmailCloudSdk.models.mapi_calendar_event_recurrence_dto import MapiCalendarEventRecurrenceDto from AsposeEmailCloudSdk.models.mapi_calendar_exception_info_dto import MapiCalendarExceptionInfoDto @@ -114,6 +102,7 @@ from AsposeEmailCloudSdk.models.mapi_calendar_time_zone_dto import MapiCalendarTimeZoneDto from AsposeEmailCloudSdk.models.mapi_calendar_time_zone_info_dto import MapiCalendarTimeZoneInfoDto from AsposeEmailCloudSdk.models.mapi_calendar_time_zone_rule_dto import MapiCalendarTimeZoneRuleDto +from AsposeEmailCloudSdk.models.mapi_contact_as_file_request import MapiContactAsFileRequest from AsposeEmailCloudSdk.models.mapi_contact_electronic_address_dto import MapiContactElectronicAddressDto from AsposeEmailCloudSdk.models.mapi_contact_electronic_address_property_set_dto import MapiContactElectronicAddressPropertySetDto from AsposeEmailCloudSdk.models.mapi_contact_event_property_set_dto import MapiContactEventPropertySetDto @@ -125,11 +114,11 @@ from AsposeEmailCloudSdk.models.mapi_contact_professional_property_set_dto import MapiContactProfessionalPropertySetDto from AsposeEmailCloudSdk.models.mapi_contact_telephone_property_set_dto import MapiContactTelephonePropertySetDto from AsposeEmailCloudSdk.models.mapi_electronic_address_dto import MapiElectronicAddressDto +from AsposeEmailCloudSdk.models.mapi_message_as_file_request import MapiMessageAsFileRequest from AsposeEmailCloudSdk.models.mapi_message_item_base_dto import MapiMessageItemBaseDto from AsposeEmailCloudSdk.models.mapi_property_descriptor import MapiPropertyDescriptor from AsposeEmailCloudSdk.models.mapi_property_dto import MapiPropertyDto from AsposeEmailCloudSdk.models.mapi_recipient_dto import MapiRecipientDto -from AsposeEmailCloudSdk.models.mime_response import MimeResponse from AsposeEmailCloudSdk.models.name_value_pair import NameValuePair from AsposeEmailCloudSdk.models.object_exist import ObjectExist from AsposeEmailCloudSdk.models.phone_number import PhoneNumber @@ -137,61 +126,67 @@ from AsposeEmailCloudSdk.models.recurrence_pattern_dto import RecurrencePatternDto from AsposeEmailCloudSdk.models.reminder_attendee import ReminderAttendee from AsposeEmailCloudSdk.models.reminder_trigger import ReminderTrigger -from AsposeEmailCloudSdk.models.set_email_property_request import SetEmailPropertyRequest from AsposeEmailCloudSdk.models.storage_exist import StorageExist from AsposeEmailCloudSdk.models.storage_file import StorageFile -from AsposeEmailCloudSdk.models.storage_file_rq_of_email_client_account import StorageFileRqOfEmailClientAccount -from AsposeEmailCloudSdk.models.storage_file_rq_of_email_client_multi_account import StorageFileRqOfEmailClientMultiAccount from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation from AsposeEmailCloudSdk.models.storage_model_of_calendar_dto import StorageModelOfCalendarDto from AsposeEmailCloudSdk.models.storage_model_of_contact_dto import StorageModelOfContactDto +from AsposeEmailCloudSdk.models.storage_model_of_email_client_account import StorageModelOfEmailClientAccount +from AsposeEmailCloudSdk.models.storage_model_of_email_client_multi_account import StorageModelOfEmailClientMultiAccount from AsposeEmailCloudSdk.models.storage_model_of_email_dto import StorageModelOfEmailDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_calendar_dto import StorageModelRqOfCalendarDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_contact_dto import StorageModelRqOfContactDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_email_dto import StorageModelRqOfEmailDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_mapi_calendar_dto import StorageModelRqOfMapiCalendarDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_mapi_contact_dto import StorageModelRqOfMapiContactDto -from AsposeEmailCloudSdk.models.storage_model_rq_of_mapi_message_dto import StorageModelRqOfMapiMessageDto +from AsposeEmailCloudSdk.models.storage_model_of_mapi_calendar_dto import StorageModelOfMapiCalendarDto +from AsposeEmailCloudSdk.models.storage_model_of_mapi_contact_dto import StorageModelOfMapiContactDto +from AsposeEmailCloudSdk.models.storage_model_of_mapi_message_dto import StorageModelOfMapiMessageDto from AsposeEmailCloudSdk.models.url import Url -from AsposeEmailCloudSdk.models.value_response import ValueResponse from AsposeEmailCloudSdk.models.value_t_of_boolean import ValueTOfBoolean -from AsposeEmailCloudSdk.models.ai_bcr_base64_image import AiBcrBase64Image -from AsposeEmailCloudSdk.models.ai_bcr_base64_rq import AiBcrBase64Rq +from AsposeEmailCloudSdk.models.value_t_of_string import ValueTOfString from AsposeEmailCloudSdk.models.ai_bcr_image_storage_file import AiBcrImageStorageFile -from AsposeEmailCloudSdk.models.ai_bcr_parse_ocr_data_rq import AiBcrParseOcrDataRq -from AsposeEmailCloudSdk.models.ai_bcr_storage_image_rq import AiBcrStorageImageRq -from AsposeEmailCloudSdk.models.ai_name_parsed_match_rq import AiNameParsedMatchRq +from AsposeEmailCloudSdk.models.ai_name_component_list import AiNameComponentList +from AsposeEmailCloudSdk.models.ai_name_extracted_list import AiNameExtractedList +from AsposeEmailCloudSdk.models.ai_name_gender_hypothesis_list import AiNameGenderHypothesisList +from AsposeEmailCloudSdk.models.ai_name_parsed_match_request import AiNameParsedMatchRequest from AsposeEmailCloudSdk.models.alternate_view import AlternateView -from AsposeEmailCloudSdk.models.append_email_account_base_request import AppendEmailAccountBaseRequest from AsposeEmailCloudSdk.models.attachment import Attachment -from AsposeEmailCloudSdk.models.calendar_dto_list import CalendarDtoList -from AsposeEmailCloudSdk.models.contact_dto_list import ContactDtoList -from AsposeEmailCloudSdk.models.create_folder_base_request import CreateFolderBaseRequest +from AsposeEmailCloudSdk.models.calendar_save_request import CalendarSaveRequest +from AsposeEmailCloudSdk.models.calendar_storage_list import CalendarStorageList +from AsposeEmailCloudSdk.models.client_folder_create_request import ClientFolderCreateRequest +from AsposeEmailCloudSdk.models.client_folder_delete_request import ClientFolderDeleteRequest +from AsposeEmailCloudSdk.models.client_message_append_request import ClientMessageAppendRequest +from AsposeEmailCloudSdk.models.client_message_base_request import ClientMessageBaseRequest +from AsposeEmailCloudSdk.models.client_message_send_request import ClientMessageSendRequest +from AsposeEmailCloudSdk.models.client_thread_base_request import ClientThreadBaseRequest +from AsposeEmailCloudSdk.models.contact_list import ContactList +from AsposeEmailCloudSdk.models.contact_save_request import ContactSaveRequest +from AsposeEmailCloudSdk.models.contact_storage_list import ContactStorageList from AsposeEmailCloudSdk.models.daily_recurrence_pattern_dto import DailyRecurrencePatternDto -from AsposeEmailCloudSdk.models.delete_email_thread_account_rq import DeleteEmailThreadAccountRq -from AsposeEmailCloudSdk.models.delete_folder_base_request import DeleteFolderBaseRequest -from AsposeEmailCloudSdk.models.delete_message_base_request import DeleteMessageBaseRequest from AsposeEmailCloudSdk.models.discover_email_config_oauth import DiscoverEmailConfigOauth from AsposeEmailCloudSdk.models.discover_email_config_password import DiscoverEmailConfigPassword from AsposeEmailCloudSdk.models.email_account_config_list import EmailAccountConfigList from AsposeEmailCloudSdk.models.email_client_account_oauth_credentials import EmailClientAccountOauthCredentials from AsposeEmailCloudSdk.models.email_client_account_password_credentials import EmailClientAccountPasswordCredentials -from AsposeEmailCloudSdk.models.email_dto_list import EmailDtoList +from AsposeEmailCloudSdk.models.email_client_account_save_request import EmailClientAccountSaveRequest +from AsposeEmailCloudSdk.models.email_client_multi_account_save_request import EmailClientMultiAccountSaveRequest +from AsposeEmailCloudSdk.models.email_list import EmailList +from AsposeEmailCloudSdk.models.email_save_request import EmailSaveRequest +from AsposeEmailCloudSdk.models.email_storage_list import EmailStorageList from AsposeEmailCloudSdk.models.email_thread_list import EmailThreadList -from AsposeEmailCloudSdk.models.email_thread_read_flag_rq import EmailThreadReadFlagRq from AsposeEmailCloudSdk.models.file_version import FileVersion -from AsposeEmailCloudSdk.models.hierarchical_object import HierarchicalObject -from AsposeEmailCloudSdk.models.indexed_hierarchical_object import IndexedHierarchicalObject -from AsposeEmailCloudSdk.models.indexed_primitive_object import IndexedPrimitiveObject from AsposeEmailCloudSdk.models.linked_resource import LinkedResource +from AsposeEmailCloudSdk.models.mail_message_base64 import MailMessageBase64 +from AsposeEmailCloudSdk.models.mail_message_base_list import MailMessageBaseList +from AsposeEmailCloudSdk.models.mail_message_dto import MailMessageDto +from AsposeEmailCloudSdk.models.mail_message_mapi import MailMessageMapi +from AsposeEmailCloudSdk.models.mail_server_folder_list import MailServerFolderList from AsposeEmailCloudSdk.models.mapi_binary_property_dto import MapiBinaryPropertyDto from AsposeEmailCloudSdk.models.mapi_boolean_property_dto import MapiBooleanPropertyDto from AsposeEmailCloudSdk.models.mapi_calendar_daily_recurrence_pattern_dto import MapiCalendarDailyRecurrencePatternDto from AsposeEmailCloudSdk.models.mapi_calendar_dto import MapiCalendarDto +from AsposeEmailCloudSdk.models.mapi_calendar_save_request import MapiCalendarSaveRequest from AsposeEmailCloudSdk.models.mapi_calendar_weekly_recurrence_pattern_dto import MapiCalendarWeeklyRecurrencePatternDto from AsposeEmailCloudSdk.models.mapi_calendar_yearly_and_monthly_recurrence_pattern_dto import MapiCalendarYearlyAndMonthlyRecurrencePatternDto from AsposeEmailCloudSdk.models.mapi_contact_dto import MapiContactDto from AsposeEmailCloudSdk.models.mapi_contact_photo_dto import MapiContactPhotoDto +from AsposeEmailCloudSdk.models.mapi_contact_save_request import MapiContactSaveRequest from AsposeEmailCloudSdk.models.mapi_date_time_property_dto import MapiDateTimePropertyDto from AsposeEmailCloudSdk.models.mapi_file_as_property_dto import MapiFileAsPropertyDto from AsposeEmailCloudSdk.models.mapi_importance_property_dto import MapiImportancePropertyDto @@ -199,6 +194,7 @@ from AsposeEmailCloudSdk.models.mapi_known_property_descriptor import MapiKnownPropertyDescriptor from AsposeEmailCloudSdk.models.mapi_legacy_free_busy_property_dto import MapiLegacyFreeBusyPropertyDto from AsposeEmailCloudSdk.models.mapi_message_dto import MapiMessageDto +from AsposeEmailCloudSdk.models.mapi_message_save_request import MapiMessageSaveRequest from AsposeEmailCloudSdk.models.mapi_multi_int_property_dto import MapiMultiIntPropertyDto from AsposeEmailCloudSdk.models.mapi_multi_string_property_dto import MapiMultiStringPropertyDto from AsposeEmailCloudSdk.models.mapi_physical_address_index_property_dto import MapiPhysicalAddressIndexPropertyDto @@ -206,156 +202,74 @@ from AsposeEmailCloudSdk.models.mapi_response_type_property_dto import MapiResponseTypePropertyDto from AsposeEmailCloudSdk.models.mapi_string_property_dto import MapiStringPropertyDto from AsposeEmailCloudSdk.models.monthly_recurrence_pattern_dto import MonthlyRecurrencePatternDto -from AsposeEmailCloudSdk.models.move_email_message_rq import MoveEmailMessageRq -from AsposeEmailCloudSdk.models.move_email_thread_rq import MoveEmailThreadRq -from AsposeEmailCloudSdk.models.primitive_object import PrimitiveObject -from AsposeEmailCloudSdk.models.save_email_account_request import SaveEmailAccountRequest -from AsposeEmailCloudSdk.models.save_o_auth_email_account_request import SaveOAuthEmailAccountRequest -from AsposeEmailCloudSdk.models.send_email_base_request import SendEmailBaseRequest -from AsposeEmailCloudSdk.models.send_email_mime_base_request import SendEmailMimeBaseRequest -from AsposeEmailCloudSdk.models.send_email_model_rq import SendEmailModelRq -from AsposeEmailCloudSdk.models.set_message_read_flag_account_base_request import SetMessageReadFlagAccountBaseRequest from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_file_location_list import StorageFileLocationList from AsposeEmailCloudSdk.models.task_regenerating_pattern_dto import TaskRegeneratingPatternDto from AsposeEmailCloudSdk.models.weekly_recurrence_pattern_dto import WeeklyRecurrencePatternDto from AsposeEmailCloudSdk.models.yearly_recurrence_pattern_dto import YearlyRecurrencePatternDto -from AsposeEmailCloudSdk.models.ai_bcr_parse_storage_rq import AiBcrParseStorageRq -from AsposeEmailCloudSdk.models.append_email_base_request import AppendEmailBaseRequest -from AsposeEmailCloudSdk.models.append_email_mime_base_request import AppendEmailMimeBaseRequest -from AsposeEmailCloudSdk.models.append_email_model_rq import AppendEmailModelRq +from AsposeEmailCloudSdk.models.client_message_delete_request import ClientMessageDeleteRequest +from AsposeEmailCloudSdk.models.client_message_move_request import ClientMessageMoveRequest +from AsposeEmailCloudSdk.models.client_message_set_is_read_request import ClientMessageSetIsReadRequest +from AsposeEmailCloudSdk.models.client_thread_delete_request import ClientThreadDeleteRequest +from AsposeEmailCloudSdk.models.client_thread_move_request import ClientThreadMoveRequest +from AsposeEmailCloudSdk.models.client_thread_set_is_read_request import ClientThreadSetIsReadRequest from AsposeEmailCloudSdk.models.mapi_pid_lid_property_descriptor import MapiPidLidPropertyDescriptor from AsposeEmailCloudSdk.models.mapi_pid_name_property_descriptor import MapiPidNamePropertyDescriptor from AsposeEmailCloudSdk.models.mapi_pid_tag_property_descriptor import MapiPidTagPropertyDescriptor - -from AsposeEmailCloudSdk.models.requests.add_calendar_attachment_request import AddCalendarAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_contact_attachment_request import AddContactAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_email_attachment_request import AddEmailAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_mapi_attachment_request import AddMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_ocr_request import AiBcrOcrRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_ocr_storage_request import AiBcrOcrStorageRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_model_request import AiBcrParseModelRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_ocr_data_model_request import AiBcrParseOcrDataModelRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_request import AiBcrParseRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_storage_request import AiBcrParseStorageRequest -from AsposeEmailCloudSdk.models.requests.ai_name_complete_request import AiNameCompleteRequest -from AsposeEmailCloudSdk.models.requests.ai_name_expand_parsed_request import AiNameExpandParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_expand_request import AiNameExpandRequest -from AsposeEmailCloudSdk.models.requests.ai_name_format_parsed_request import AiNameFormatParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_format_request import AiNameFormatRequest -from AsposeEmailCloudSdk.models.requests.ai_name_genderize_parsed_request import AiNameGenderizeParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_genderize_request import AiNameGenderizeRequest -from AsposeEmailCloudSdk.models.requests.ai_name_match_parsed_request import AiNameMatchParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_match_request import AiNameMatchRequest -from AsposeEmailCloudSdk.models.requests.ai_name_parse_email_address_request import AiNameParseEmailAddressRequest -from AsposeEmailCloudSdk.models.requests.ai_name_parse_request import AiNameParseRequest -from AsposeEmailCloudSdk.models.requests.append_email_message_request import AppendEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.append_email_model_message_request import AppendEmailModelMessageRequest -from AsposeEmailCloudSdk.models.requests.append_mime_message_request import AppendMimeMessageRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_alternate_request import ConvertCalendarModelToAlternateRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_file_request import ConvertCalendarModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_mapi_model_request import ConvertCalendarModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_request import ConvertCalendarRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_model_to_file_request import ConvertContactModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_model_to_mapi_model_request import ConvertContactModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_request import ConvertContactRequest -from AsposeEmailCloudSdk.models.requests.convert_email_model_to_file_request import ConvertEmailModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_email_model_to_mapi_model_request import ConvertEmailModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_email_request import ConvertEmailRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_calendar_model_to_calendar_model_request import ConvertMapiCalendarModelToCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_calendar_model_to_file_request import ConvertMapiCalendarModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_contact_model_to_contact_model_request import ConvertMapiContactModelToContactModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_contact_model_to_file_request import ConvertMapiContactModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_message_model_to_email_model_request import ConvertMapiMessageModelToEmailModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_message_model_to_file_request import ConvertMapiMessageModelToFileRequest -from AsposeEmailCloudSdk.models.requests.copy_file_request import CopyFileRequest -from AsposeEmailCloudSdk.models.requests.copy_folder_request import CopyFolderRequest -from AsposeEmailCloudSdk.models.requests.create_calendar_request import CreateCalendarRequest -from AsposeEmailCloudSdk.models.requests.create_contact_request import CreateContactRequest -from AsposeEmailCloudSdk.models.requests.create_email_folder_request import CreateEmailFolderRequest -from AsposeEmailCloudSdk.models.requests.create_email_request import CreateEmailRequest -from AsposeEmailCloudSdk.models.requests.create_folder_request import CreateFolderRequest -from AsposeEmailCloudSdk.models.requests.create_mapi_request import CreateMapiRequest -from AsposeEmailCloudSdk.models.requests.delete_calendar_property_request import DeleteCalendarPropertyRequest -from AsposeEmailCloudSdk.models.requests.delete_contact_property_request import DeleteContactPropertyRequest -from AsposeEmailCloudSdk.models.requests.delete_email_folder_request import DeleteEmailFolderRequest -from AsposeEmailCloudSdk.models.requests.delete_email_message_request import DeleteEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.delete_email_thread_request import DeleteEmailThreadRequest -from AsposeEmailCloudSdk.models.requests.delete_file_request import DeleteFileRequest -from AsposeEmailCloudSdk.models.requests.delete_folder_request import DeleteFolderRequest -from AsposeEmailCloudSdk.models.requests.delete_mapi_attachment_request import DeleteMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.delete_mapi_properties_request import DeleteMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_oauth_request import DiscoverEmailConfigOauthRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_password_request import DiscoverEmailConfigPasswordRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_request import DiscoverEmailConfigRequest -from AsposeEmailCloudSdk.models.requests.download_file_request import DownloadFileRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_message_request import FetchEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_model_request import FetchEmailModelRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_thread_messages_request import FetchEmailThreadMessagesRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_as_file_request import GetCalendarAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_attachment_request import GetCalendarAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_file_as_mapi_model_request import GetCalendarFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_file_as_model_request import GetCalendarFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_list_request import GetCalendarListRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_as_alternate_request import GetCalendarModelAsAlternateRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_list_request import GetCalendarModelListRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_request import GetCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_request import GetCalendarRequest -from AsposeEmailCloudSdk.models.requests.get_contact_as_file_request import GetContactAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_contact_attachment_request import GetContactAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_contact_file_as_mapi_model_request import GetContactFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_file_as_model_request import GetContactFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_list_request import GetContactListRequest -from AsposeEmailCloudSdk.models.requests.get_contact_model_list_request import GetContactModelListRequest -from AsposeEmailCloudSdk.models.requests.get_contact_model_request import GetContactModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_properties_request import GetContactPropertiesRequest -from AsposeEmailCloudSdk.models.requests.get_disc_usage_request import GetDiscUsageRequest -from AsposeEmailCloudSdk.models.requests.get_email_as_file_request import GetEmailAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_email_attachment_request import GetEmailAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_email_client_account_request import GetEmailClientAccountRequest -from AsposeEmailCloudSdk.models.requests.get_email_client_multi_account_request import GetEmailClientMultiAccountRequest -from AsposeEmailCloudSdk.models.requests.get_email_file_as_mapi_model_request import GetEmailFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_file_as_model_request import GetEmailFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_model_list_request import GetEmailModelListRequest -from AsposeEmailCloudSdk.models.requests.get_email_model_request import GetEmailModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_property_request import GetEmailPropertyRequest -from AsposeEmailCloudSdk.models.requests.get_email_request import GetEmailRequest -from AsposeEmailCloudSdk.models.requests.get_files_list_request import GetFilesListRequest -from AsposeEmailCloudSdk.models.requests.get_file_versions_request import GetFileVersionsRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_attachments_request import GetMapiAttachmentsRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_attachment_request import GetMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_calendar_model_request import GetMapiCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_contact_model_request import GetMapiContactModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_list_request import GetMapiListRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_message_model_request import GetMapiMessageModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_properties_request import GetMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.is_email_address_disposable_request import IsEmailAddressDisposableRequest -from AsposeEmailCloudSdk.models.requests.list_email_folders_request import ListEmailFoldersRequest -from AsposeEmailCloudSdk.models.requests.list_email_messages_request import ListEmailMessagesRequest -from AsposeEmailCloudSdk.models.requests.list_email_models_request import ListEmailModelsRequest -from AsposeEmailCloudSdk.models.requests.list_email_threads_request import ListEmailThreadsRequest -from AsposeEmailCloudSdk.models.requests.move_email_message_request import MoveEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.move_email_thread_request import MoveEmailThreadRequest -from AsposeEmailCloudSdk.models.requests.move_file_request import MoveFileRequest -from AsposeEmailCloudSdk.models.requests.move_folder_request import MoveFolderRequest -from AsposeEmailCloudSdk.models.requests.object_exists_request import ObjectExistsRequest -from AsposeEmailCloudSdk.models.requests.save_calendar_model_request import SaveCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.save_contact_model_request import SaveContactModelRequest -from AsposeEmailCloudSdk.models.requests.save_email_client_account_request import SaveEmailClientAccountRequest -from AsposeEmailCloudSdk.models.requests.save_email_client_multi_account_request import SaveEmailClientMultiAccountRequest -from AsposeEmailCloudSdk.models.requests.save_email_model_request import SaveEmailModelRequest -from AsposeEmailCloudSdk.models.requests.save_mail_account_request import SaveMailAccountRequest -from AsposeEmailCloudSdk.models.requests.save_mail_o_auth_account_request import SaveMailOAuthAccountRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_calendar_model_request import SaveMapiCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_contact_model_request import SaveMapiContactModelRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_message_model_request import SaveMapiMessageModelRequest -from AsposeEmailCloudSdk.models.requests.send_email_mime_request import SendEmailMimeRequest -from AsposeEmailCloudSdk.models.requests.send_email_model_request import SendEmailModelRequest -from AsposeEmailCloudSdk.models.requests.send_email_request import SendEmailRequest -from AsposeEmailCloudSdk.models.requests.set_email_property_request import SetEmailPropertyRequest -from AsposeEmailCloudSdk.models.requests.set_email_read_flag_request import SetEmailReadFlagRequest -from AsposeEmailCloudSdk.models.requests.set_email_thread_read_flag_request import SetEmailThreadReadFlagRequest -from AsposeEmailCloudSdk.models.requests.storage_exists_request import StorageExistsRequest -from AsposeEmailCloudSdk.models.requests.update_calendar_properties_request import UpdateCalendarPropertiesRequest -from AsposeEmailCloudSdk.models.requests.update_contact_properties_request import UpdateContactPropertiesRequest -from AsposeEmailCloudSdk.models.requests.update_mapi_properties_request import UpdateMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.upload_file_request import UploadFileRequest +from AsposeEmailCloudSdk.models.http_request import HttpRequest +from AsposeEmailCloudSdk.models.ai_bcr_parse_request import AiBcrParseRequest +from AsposeEmailCloudSdk.models.ai_name_complete_request import AiNameCompleteRequest +from AsposeEmailCloudSdk.models.ai_name_expand_request import AiNameExpandRequest +from AsposeEmailCloudSdk.models.ai_name_format_request import AiNameFormatRequest +from AsposeEmailCloudSdk.models.ai_name_genderize_request import AiNameGenderizeRequest +from AsposeEmailCloudSdk.models.ai_name_match_request import AiNameMatchRequest +from AsposeEmailCloudSdk.models.ai_name_parse_request import AiNameParseRequest +from AsposeEmailCloudSdk.models.ai_name_parse_email_address_request import AiNameParseEmailAddressRequest +from AsposeEmailCloudSdk.models.calendar_convert_request import CalendarConvertRequest +from AsposeEmailCloudSdk.models.calendar_from_file_request import CalendarFromFileRequest +from AsposeEmailCloudSdk.models.calendar_get_request import CalendarGetRequest +from AsposeEmailCloudSdk.models.calendar_get_as_alternate_request import CalendarGetAsAlternateRequest +from AsposeEmailCloudSdk.models.calendar_get_as_file_request import CalendarGetAsFileRequest +from AsposeEmailCloudSdk.models.calendar_get_list_request import CalendarGetListRequest +from AsposeEmailCloudSdk.models.client_account_get_request import ClientAccountGetRequest +from AsposeEmailCloudSdk.models.client_account_get_multi_request import ClientAccountGetMultiRequest +from AsposeEmailCloudSdk.models.client_folder_get_list_request import ClientFolderGetListRequest +from AsposeEmailCloudSdk.models.client_message_append_file_request import ClientMessageAppendFileRequest +from AsposeEmailCloudSdk.models.client_message_fetch_request import ClientMessageFetchRequest +from AsposeEmailCloudSdk.models.client_message_fetch_file_request import ClientMessageFetchFileRequest +from AsposeEmailCloudSdk.models.client_message_list_request import ClientMessageListRequest +from AsposeEmailCloudSdk.models.client_message_send_file_request import ClientMessageSendFileRequest +from AsposeEmailCloudSdk.models.client_thread_get_list_request import ClientThreadGetListRequest +from AsposeEmailCloudSdk.models.client_thread_get_messages_request import ClientThreadGetMessagesRequest +from AsposeEmailCloudSdk.models.contact_convert_request import ContactConvertRequest +from AsposeEmailCloudSdk.models.contact_from_file_request import ContactFromFileRequest +from AsposeEmailCloudSdk.models.contact_get_request import ContactGetRequest +from AsposeEmailCloudSdk.models.contact_get_as_file_request import ContactGetAsFileRequest +from AsposeEmailCloudSdk.models.contact_get_list_request import ContactGetListRequest +from AsposeEmailCloudSdk.models.disposable_email_is_disposable_request import DisposableEmailIsDisposableRequest +from AsposeEmailCloudSdk.models.email_convert_request import EmailConvertRequest +from AsposeEmailCloudSdk.models.email_from_file_request import EmailFromFileRequest +from AsposeEmailCloudSdk.models.email_get_request import EmailGetRequest +from AsposeEmailCloudSdk.models.email_get_as_file_request import EmailGetAsFileRequest +from AsposeEmailCloudSdk.models.email_get_list_request import EmailGetListRequest +from AsposeEmailCloudSdk.models.email_config_discover_request import EmailConfigDiscoverRequest +from AsposeEmailCloudSdk.models.copy_file_request import CopyFileRequest +from AsposeEmailCloudSdk.models.delete_file_request import DeleteFileRequest +from AsposeEmailCloudSdk.models.download_file_request import DownloadFileRequest +from AsposeEmailCloudSdk.models.move_file_request import MoveFileRequest +from AsposeEmailCloudSdk.models.upload_file_request import UploadFileRequest +from AsposeEmailCloudSdk.models.copy_folder_request import CopyFolderRequest +from AsposeEmailCloudSdk.models.create_folder_request import CreateFolderRequest +from AsposeEmailCloudSdk.models.delete_folder_request import DeleteFolderRequest +from AsposeEmailCloudSdk.models.get_files_list_request import GetFilesListRequest +from AsposeEmailCloudSdk.models.move_folder_request import MoveFolderRequest +from AsposeEmailCloudSdk.models.mapi_calendar_from_file_request import MapiCalendarFromFileRequest +from AsposeEmailCloudSdk.models.mapi_calendar_get_request import MapiCalendarGetRequest +from AsposeEmailCloudSdk.models.mapi_contact_from_file_request import MapiContactFromFileRequest +from AsposeEmailCloudSdk.models.mapi_contact_get_request import MapiContactGetRequest +from AsposeEmailCloudSdk.models.mapi_message_from_file_request import MapiMessageFromFileRequest +from AsposeEmailCloudSdk.models.mapi_message_get_request import MapiMessageGetRequest +from AsposeEmailCloudSdk.models.get_disc_usage_request import GetDiscUsageRequest +from AsposeEmailCloudSdk.models.get_file_versions_request import GetFileVersionsRequest +from AsposeEmailCloudSdk.models.object_exists_request import ObjectExistsRequest +from AsposeEmailCloudSdk.models.storage_exists_request import StorageExistsRequest diff --git a/sdk/AsposeEmailCloudSdk/models/account_base_request.py b/sdk/AsposeEmailCloudSdk/models/account_base_request.py deleted file mode 100644 index 19635e3..0000000 --- a/sdk/AsposeEmailCloudSdk/models/account_base_request.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class AccountBaseRequest(object): - """EmailClient accounts request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None): - """ - EmailClient accounts request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - """ - - self._first_account = None - self._second_account = None - self._storage_folder = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - - @property - def first_account(self) -> str: - """Gets the first_account of this AccountBaseRequest. - - First account storage file name - - :return: The first_account of this AccountBaseRequest. - :rtype: str - """ - return self._first_account - - @first_account.setter - def first_account(self, first_account: str): - """Sets the first_account of this AccountBaseRequest. - - First account storage file name - - :param first_account: The first_account of this AccountBaseRequest. - :type: str - """ - if first_account is None: - raise ValueError("Invalid value for `first_account`, must not be `None`") - if first_account is not None and len(first_account) < 1: - raise ValueError("Invalid value for `first_account`, length must be greater than or equal to `1`") - self._first_account = first_account - - @property - def second_account(self) -> str: - """Gets the second_account of this AccountBaseRequest. - - Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - - :return: The second_account of this AccountBaseRequest. - :rtype: str - """ - return self._second_account - - @second_account.setter - def second_account(self, second_account: str): - """Sets the second_account of this AccountBaseRequest. - - Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - - :param second_account: The second_account of this AccountBaseRequest. - :type: str - """ - self._second_account = second_account - - @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this AccountBaseRequest. - - Storage folder location of account files - - :return: The storage_folder of this AccountBaseRequest. - :rtype: StorageFolderLocation - """ - return self._storage_folder - - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this AccountBaseRequest. - - Storage folder location of account files - - :param storage_folder: The storage_folder of this AccountBaseRequest. - :type: StorageFolderLocation - """ - self._storage_folder = storage_folder - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AccountBaseRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/add_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/add_attachment_request.py deleted file mode 100644 index 52c5295..0000000 --- a/sdk/AsposeEmailCloudSdk/models/add_attachment_request.py +++ /dev/null @@ -1,157 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class AddAttachmentRequest(object): - """Add attachment request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'document_folder': 'StorageFolderLocation', - 'attachment_folder': 'StorageFolderLocation' - } - - attribute_map = { - 'document_folder': 'documentFolder', - 'attachment_folder': 'attachmentFolder' - } - - def __init__(self, document_folder: StorageFolderLocation = None, attachment_folder: StorageFolderLocation = None): - """ - Add attachment request - :param document_folder (StorageFolderLocation) Storage folder location of document - :param attachment_folder (StorageFolderLocation) Storage folder location of an attachment - """ - - self._document_folder = None - self._attachment_folder = None - - if document_folder is not None: - self.document_folder = document_folder - if attachment_folder is not None: - self.attachment_folder = attachment_folder - - @property - def document_folder(self) -> StorageFolderLocation: - """Gets the document_folder of this AddAttachmentRequest. - - Storage folder location of document - - :return: The document_folder of this AddAttachmentRequest. - :rtype: StorageFolderLocation - """ - return self._document_folder - - @document_folder.setter - def document_folder(self, document_folder: StorageFolderLocation): - """Sets the document_folder of this AddAttachmentRequest. - - Storage folder location of document - - :param document_folder: The document_folder of this AddAttachmentRequest. - :type: StorageFolderLocation - """ - self._document_folder = document_folder - - @property - def attachment_folder(self) -> StorageFolderLocation: - """Gets the attachment_folder of this AddAttachmentRequest. - - Storage folder location of an attachment - - :return: The attachment_folder of this AddAttachmentRequest. - :rtype: StorageFolderLocation - """ - return self._attachment_folder - - @attachment_folder.setter - def attachment_folder(self, attachment_folder: StorageFolderLocation): - """Sets the attachment_folder of this AddAttachmentRequest. - - Storage folder location of an attachment - - :param attachment_folder: The attachment_folder of this AddAttachmentRequest. - :type: StorageFolderLocation - """ - self._attachment_folder = attachment_folder - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AddAttachmentRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_base64_rq.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_base64_rq.py deleted file mode 100644 index 01e52a5..0000000 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_base64_rq.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.ai_bcr_base64_image import AiBcrBase64Image -from AsposeEmailCloudSdk.models.ai_bcr_options import AiBcrOptions -from AsposeEmailCloudSdk.models.ai_bcr_rq import AiBcrRq - - -class AiBcrBase64Rq(AiBcrRq): - """Parse business card image request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'options': 'AiBcrOptions', - 'images': 'list[AiBcrBase64Image]' - } - - attribute_map = { - 'options': 'options', - 'images': 'images' - } - - def __init__(self, options: AiBcrOptions = None, images: List[AiBcrBase64Image] = None): - """ - Parse business card image request - :param options (AiBcrOptions) Recognition options - :param images (List[AiBcrBase64Image]) Images to recognize - """ - super(AiBcrBase64Rq, self).__init__() - - self._images = None - - if options is not None: - self.options = options - if images is not None: - self.images = images - - @property - def images(self) -> List[AiBcrBase64Image]: - """Gets the images of this AiBcrBase64Rq. - - Images to recognize - - :return: The images of this AiBcrBase64Rq. - :rtype: list[AiBcrBase64Image] - """ - return self._images - - @images.setter - def images(self, images: List[AiBcrBase64Image]): - """Sets the images of this AiBcrBase64Rq. - - Images to recognize - - :param images: The images of this AiBcrBase64Rq. - :type: list[AiBcrBase64Image] - """ - self._images = images - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AiBcrBase64Rq): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py index 2b939f3..3647650 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py @@ -53,7 +53,7 @@ class AiBcrImage(object): def __init__(self, is_single: bool = None): """ Image for recognition - :param is_single (bool) Determines that image contains single VCard or more. Ignored in current version. Multiple cards on image support will be added soon + :param is_single (bool) Determines that image contains single VCard or more. """ self._is_single = None @@ -65,7 +65,7 @@ def __init__(self, is_single: bool = None): def is_single(self) -> bool: """Gets the is_single of this AiBcrImage. - Determines that image contains single VCard or more. Ignored in current version. Multiple cards on image support will be added soon + Determines that image contains single VCard or more. :return: The is_single of this AiBcrImage. :rtype: bool @@ -76,7 +76,7 @@ def is_single(self) -> bool: def is_single(self, is_single: bool): """Sets the is_single of this AiBcrImage. - Determines that image contains single VCard or more. Ignored in current version. Multiple cards on image support will be added soon + Determines that image contains single VCard or more. :param is_single: The is_single of this AiBcrImage. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py index fc16ff4..44ccd8f 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py @@ -58,7 +58,7 @@ class AiBcrImageStorageFile(AiBcrImage): def __init__(self, is_single: bool = None, file: StorageFileLocation = None): """ Image from storage for recognition - :param is_single (bool) Determines that image contains single VCard or more. Ignored in current version. Multiple cards on image support will be added soon + :param is_single (bool) Determines that image contains single VCard or more. :param file (StorageFileLocation) Image location """ super(AiBcrImageStorageFile, self).__init__() @@ -90,6 +90,8 @@ def file(self, file: StorageFileLocation): :param file: The file of this AiBcrImageStorageFile. :type: StorageFileLocation """ + if file is None: + raise ValueError("Invalid value for `file`, must not be `None`") self._file = file def to_dict(self): diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_ocr_data.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_ocr_data.py deleted file mode 100644 index 64c8ff4..0000000 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_ocr_data.py +++ /dev/null @@ -1,213 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.ai_bcr_ocr_data_part import AiBcrOcrDataPart - - -class AiBcrOcrData(object): - """Image OCR results - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'image': 'str', - 'details': 'dict(str, str)', - 'data': 'list[AiBcrOcrDataPart]' - } - - attribute_map = { - 'id': 'id', - 'image': 'image', - 'details': 'details', - 'data': 'data' - } - - def __init__(self, id: str = None, image: str = None, details: Dict[str, str] = None, data: List[AiBcrOcrDataPart] = None): - """ - Image OCR results - :param id (str) Image identifier - :param image (str) Image with possible pre-processing in Base64 - :param details (Dict[str, str]) Additional details from OCR engine - :param data (List[AiBcrOcrDataPart]) OCR results - """ - - self._id = None - self._image = None - self._details = None - self._data = None - - if id is not None: - self.id = id - if image is not None: - self.image = image - if details is not None: - self.details = details - if data is not None: - self.data = data - - @property - def id(self) -> str: - """Gets the id of this AiBcrOcrData. - - Image identifier - - :return: The id of this AiBcrOcrData. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id: str): - """Sets the id of this AiBcrOcrData. - - Image identifier - - :param id: The id of this AiBcrOcrData. - :type: str - """ - self._id = id - - @property - def image(self) -> str: - """Gets the image of this AiBcrOcrData. - - Image with possible pre-processing in Base64 - - :return: The image of this AiBcrOcrData. - :rtype: str - """ - return self._image - - @image.setter - def image(self, image: str): - """Sets the image of this AiBcrOcrData. - - Image with possible pre-processing in Base64 - - :param image: The image of this AiBcrOcrData. - :type: str - """ - self._image = image - - @property - def details(self) -> Dict[str, str]: - """Gets the details of this AiBcrOcrData. - - Additional details from OCR engine - - :return: The details of this AiBcrOcrData. - :rtype: dict(str, str) - """ - return self._details - - @details.setter - def details(self, details: Dict[str, str]): - """Sets the details of this AiBcrOcrData. - - Additional details from OCR engine - - :param details: The details of this AiBcrOcrData. - :type: dict(str, str) - """ - self._details = details - - @property - def data(self) -> List[AiBcrOcrDataPart]: - """Gets the data of this AiBcrOcrData. - - OCR results - - :return: The data of this AiBcrOcrData. - :rtype: list[AiBcrOcrDataPart] - """ - return self._data - - @data.setter - def data(self, data: List[AiBcrOcrDataPart]): - """Sets the data of this AiBcrOcrData. - - OCR results - - :param data: The data of this AiBcrOcrData. - :type: list[AiBcrOcrDataPart] - """ - self._data = data - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AiBcrOcrData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_ocr_data_part.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_ocr_data_part.py deleted file mode 100644 index 2f6da48..0000000 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_ocr_data_part.py +++ /dev/null @@ -1,275 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - - -class AiBcrOcrDataPart(object): - """Recognized text block - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'x': 'float', - 'y': 'float', - 'width': 'float', - 'height': 'float', - 'text': 'str', - 'details': 'dict(str, str)' - } - - attribute_map = { - 'x': 'x', - 'y': 'y', - 'width': 'width', - 'height': 'height', - 'text': 'text', - 'details': 'details' - } - - def __init__(self, x: float = None, y: float = None, width: float = None, height: float = None, text: str = None, details: Dict[str, str] = None): - """ - Recognized text block - :param x (float) X position of text block - :param y (float) Y position of text block - :param width (float) Width of text block - :param height (float) Height of text block - :param text (str) Recognized text - :param details (Dict[str, str]) Additional recognition result details - """ - - self._x = None - self._y = None - self._width = None - self._height = None - self._text = None - self._details = None - - if x is not None: - self.x = x - if y is not None: - self.y = y - if width is not None: - self.width = width - if height is not None: - self.height = height - if text is not None: - self.text = text - if details is not None: - self.details = details - - @property - def x(self) -> float: - """Gets the x of this AiBcrOcrDataPart. - - X position of text block - - :return: The x of this AiBcrOcrDataPart. - :rtype: float - """ - return self._x - - @x.setter - def x(self, x: float): - """Sets the x of this AiBcrOcrDataPart. - - X position of text block - - :param x: The x of this AiBcrOcrDataPart. - :type: float - """ - if x is None: - raise ValueError("Invalid value for `x`, must not be `None`") - self._x = x - - @property - def y(self) -> float: - """Gets the y of this AiBcrOcrDataPart. - - Y position of text block - - :return: The y of this AiBcrOcrDataPart. - :rtype: float - """ - return self._y - - @y.setter - def y(self, y: float): - """Sets the y of this AiBcrOcrDataPart. - - Y position of text block - - :param y: The y of this AiBcrOcrDataPart. - :type: float - """ - if y is None: - raise ValueError("Invalid value for `y`, must not be `None`") - self._y = y - - @property - def width(self) -> float: - """Gets the width of this AiBcrOcrDataPart. - - Width of text block - - :return: The width of this AiBcrOcrDataPart. - :rtype: float - """ - return self._width - - @width.setter - def width(self, width: float): - """Sets the width of this AiBcrOcrDataPart. - - Width of text block - - :param width: The width of this AiBcrOcrDataPart. - :type: float - """ - if width is None: - raise ValueError("Invalid value for `width`, must not be `None`") - self._width = width - - @property - def height(self) -> float: - """Gets the height of this AiBcrOcrDataPart. - - Height of text block - - :return: The height of this AiBcrOcrDataPart. - :rtype: float - """ - return self._height - - @height.setter - def height(self, height: float): - """Sets the height of this AiBcrOcrDataPart. - - Height of text block - - :param height: The height of this AiBcrOcrDataPart. - :type: float - """ - if height is None: - raise ValueError("Invalid value for `height`, must not be `None`") - self._height = height - - @property - def text(self) -> str: - """Gets the text of this AiBcrOcrDataPart. - - Recognized text - - :return: The text of this AiBcrOcrDataPart. - :rtype: str - """ - return self._text - - @text.setter - def text(self, text: str): - """Sets the text of this AiBcrOcrDataPart. - - Recognized text - - :param text: The text of this AiBcrOcrDataPart. - :type: str - """ - self._text = text - - @property - def details(self) -> Dict[str, str]: - """Gets the details of this AiBcrOcrDataPart. - - Additional recognition result details - - :return: The details of this AiBcrOcrDataPart. - :rtype: dict(str, str) - """ - return self._details - - @details.setter - def details(self, details: Dict[str, str]): - """Sets the details of this AiBcrOcrDataPart. - - Additional recognition result details - - :param details: The details of this AiBcrOcrDataPart. - :type: dict(str, str) - """ - self._details = details - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AiBcrOcrDataPart): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py index 18b0274..0a5ff80 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py @@ -32,7 +32,7 @@ class AiBcrOptions(object): - """Recognition options + """Recognition options. """ """ @@ -54,9 +54,9 @@ class AiBcrOptions(object): def __init__(self, languages: str = None, countries: str = None): """ - Recognition options - :param languages (str) Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default - :param countries (str) Comma-separated codes of countries + Recognition options. + :param languages (str) Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. + :param countries (str) Comma-separated codes of countries. """ self._languages = None @@ -71,7 +71,7 @@ def __init__(self, languages: str = None, countries: str = None): def languages(self) -> str: """Gets the languages of this AiBcrOptions. - Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default + Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. :return: The languages of this AiBcrOptions. :rtype: str @@ -82,7 +82,7 @@ def languages(self) -> str: def languages(self, languages: str): """Sets the languages of this AiBcrOptions. - Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default + Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. :param languages: The languages of this AiBcrOptions. :type: str @@ -93,7 +93,7 @@ def languages(self, languages: str): def countries(self) -> str: """Gets the countries of this AiBcrOptions. - Comma-separated codes of countries + Comma-separated codes of countries. :return: The countries of this AiBcrOptions. :rtype: str @@ -104,7 +104,7 @@ def countries(self) -> str: def countries(self, countries: str): """Sets the countries of this AiBcrOptions. - Comma-separated codes of countries + Comma-separated codes of countries. :param countries: The countries of this AiBcrOptions. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py new file mode 100644 index 0000000..7c53a87 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py @@ -0,0 +1,57 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class AiBcrParseRequest(object): + """ + Request model for ai_bcr_parse operation. + Initializes a new instance. + + :param file (str) File to parse + :param countries (str) Comma-separated codes of countries. + :param languages (str) Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. + :param is_single (bool) Determines that image contains single VCard or more. + """ + + def __init__(self, file: str, countries: str = None, languages: str = None, is_single: bool = None): + """ + Request model for ai_bcr_parse operation. + Initializes a new instance. + + :param file (str) File to parse + :param countries (str) Comma-separated codes of countries. + :param languages (str) Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. + :param is_single (bool) Determines that image contains single VCard or more. + """ + + self.file = file + self.countries = countries + self.languages = languages + self.is_single = is_single + diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_rq.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py similarity index 67% rename from sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_rq.py rename to sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py index 641d597..3f449bf 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -32,11 +32,10 @@ from AsposeEmailCloudSdk.models.ai_bcr_image_storage_file import AiBcrImageStorageFile from AsposeEmailCloudSdk.models.ai_bcr_options import AiBcrOptions -from AsposeEmailCloudSdk.models.ai_bcr_storage_image_rq import AiBcrStorageImageRq from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation -class AiBcrParseStorageRq(AiBcrStorageImageRq): +class AiBcrParseStorageRequest(object): """Parse business card images from Storage request """ @@ -48,59 +47,106 @@ class AiBcrParseStorageRq(AiBcrStorageImageRq): and the value is json key in definition. """ swagger_types = { - 'options': 'AiBcrOptions', + 'out_folder': 'StorageFolderLocation', 'images': 'list[AiBcrImageStorageFile]', - 'out_folder': 'StorageFolderLocation' + 'options': 'AiBcrOptions' } attribute_map = { - 'options': 'options', + 'out_folder': 'outFolder', 'images': 'images', - 'out_folder': 'outFolder' + 'options': 'options' } - def __init__(self, options: AiBcrOptions = None, images: List[AiBcrImageStorageFile] = None, out_folder: StorageFolderLocation = None): + def __init__(self, out_folder: StorageFolderLocation = None, images: List[AiBcrImageStorageFile] = None, options: AiBcrOptions = None): """ Parse business card images from Storage request - :param options (AiBcrOptions) Recognition options - :param images (List[AiBcrImageStorageFile]) List of images with business cards :param out_folder (StorageFolderLocation) Parse output folder location on storage + :param images (List[AiBcrImageStorageFile]) Images to parse. + :param options (AiBcrOptions) Recognition options. """ - super(AiBcrParseStorageRq, self).__init__() self._out_folder = None + self._images = None + self._options = None - if options is not None: - self.options = options - if images is not None: - self.images = images if out_folder is not None: self.out_folder = out_folder + if images is not None: + self.images = images + if options is not None: + self.options = options @property def out_folder(self) -> StorageFolderLocation: - """Gets the out_folder of this AiBcrParseStorageRq. + """Gets the out_folder of this AiBcrParseStorageRequest. Parse output folder location on storage - :return: The out_folder of this AiBcrParseStorageRq. + :return: The out_folder of this AiBcrParseStorageRequest. :rtype: StorageFolderLocation """ return self._out_folder @out_folder.setter def out_folder(self, out_folder: StorageFolderLocation): - """Sets the out_folder of this AiBcrParseStorageRq. + """Sets the out_folder of this AiBcrParseStorageRequest. Parse output folder location on storage - :param out_folder: The out_folder of this AiBcrParseStorageRq. + :param out_folder: The out_folder of this AiBcrParseStorageRequest. :type: StorageFolderLocation """ if out_folder is None: raise ValueError("Invalid value for `out_folder`, must not be `None`") self._out_folder = out_folder + @property + def images(self) -> List[AiBcrImageStorageFile]: + """Gets the images of this AiBcrParseStorageRequest. + + Images to parse. + + :return: The images of this AiBcrParseStorageRequest. + :rtype: list[AiBcrImageStorageFile] + """ + return self._images + + @images.setter + def images(self, images: List[AiBcrImageStorageFile]): + """Sets the images of this AiBcrParseStorageRequest. + + Images to parse. + + :param images: The images of this AiBcrParseStorageRequest. + :type: list[AiBcrImageStorageFile] + """ + if images is None: + raise ValueError("Invalid value for `images`, must not be `None`") + self._images = images + + @property + def options(self) -> AiBcrOptions: + """Gets the options of this AiBcrParseStorageRequest. + + Recognition options. + + :return: The options of this AiBcrParseStorageRequest. + :rtype: AiBcrOptions + """ + return self._options + + @options.setter + def options(self, options: AiBcrOptions): + """Sets the options of this AiBcrParseStorageRequest. + + Recognition options. + + :param options: The options of this AiBcrParseStorageRequest. + :type: AiBcrOptions + """ + self._options = options + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -135,7 +181,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AiBcrParseStorageRq): + if not isinstance(other, AiBcrParseStorageRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_rq.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_rq.py deleted file mode 100644 index 5bcdb18..0000000 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_rq.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.ai_bcr_options import AiBcrOptions - - -class AiBcrRq(object): - """Business card recognition request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'options': 'AiBcrOptions' - } - - attribute_map = { - 'options': 'options' - } - - def __init__(self, options: AiBcrOptions = None): - """ - Business card recognition request - :param options (AiBcrOptions) Recognition options - """ - - self._options = None - - if options is not None: - self.options = options - - @property - def options(self) -> AiBcrOptions: - """Gets the options of this AiBcrRq. - - Recognition options - - :return: The options of this AiBcrRq. - :rtype: AiBcrOptions - """ - return self._options - - @options.setter - def options(self, options: AiBcrOptions): - """Sets the options of this AiBcrRq. - - Recognition options - - :param options: The options of this AiBcrRq. - :type: AiBcrOptions - """ - self._options = options - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AiBcrRq): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py new file mode 100644 index 0000000..244536e --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py @@ -0,0 +1,62 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class AiNameCompleteRequest(object): + """ + Request model for ai_name_complete operation. + Initializes a new instance. + + :param name (str) A name to complete. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): + """ + Request model for ai_name_complete operation. + Initializes a new instance. + + :param name (str) A name to complete. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + self.name = name + self.language = language + self.location = location + self.encoding = encoding + self.script = script + self.style = style diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py new file mode 100644 index 0000000..decf934 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py @@ -0,0 +1,107 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.ai_name_component import AiNameComponent +from AsposeEmailCloudSdk.models.list_response_of_ai_name_component import ListResponseOfAiNameComponent + + +class AiNameComponentList(ListResponseOfAiNameComponent): + """List of name components + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'list[AiNameComponent]' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value: List[AiNameComponent] = None): + """ + List of name components + :param value (List[AiNameComponent]) + """ + super(AiNameComponentList, self).__init__() + + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AiNameComponentList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py new file mode 100644 index 0000000..4b83cab --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py @@ -0,0 +1,62 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class AiNameExpandRequest(object): + """ + Request model for ai_name_expand operation. + Initializes a new instance. + + :param name (str) A name to expand. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): + """ + Request model for ai_name_expand operation. + Initializes a new instance. + + :param name (str) A name to expand. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + self.name = name + self.language = language + self.location = location + self.encoding = encoding + self.script = script + self.style = style diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py new file mode 100644 index 0000000..7812fce --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py @@ -0,0 +1,107 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.ai_name_extracted import AiNameExtracted +from AsposeEmailCloudSdk.models.list_response_of_ai_name_extracted import ListResponseOfAiNameExtracted + + +class AiNameExtractedList(ListResponseOfAiNameExtracted): + """Extracted name list. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'list[AiNameExtracted]' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value: List[AiNameExtracted] = None): + """ + Extracted name list. + :param value (List[AiNameExtracted]) + """ + super(AiNameExtractedList, self).__init__() + + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AiNameExtractedList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_format_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py similarity index 50% rename from sdk/AsposeEmailCloudSdk/models/requests/ai_name_format_request.py rename to sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py index e250e74..1bdfbd1 100644 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_format_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py @@ -1,3 +1,4 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- # @@ -23,23 +24,20 @@ # DEALINGS IN THE SOFTWARE. # # ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_format_request import AiNameFormatRequest -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest from AsposeEmailCloudSdk.models import * -class AiNameFormatRequest(BaseRequest): +class AiNameFormatRequest(object): """ Request model for ai_name_format operation. Initializes a new instance. - :param name (str) A name to format (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name + :param name (str) A name to format. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. :param format (str) Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic """ @@ -49,16 +47,15 @@ def __init__(self, name: str, language: str = None, location: str = None, encodi Request model for ai_name_format operation. Initializes a new instance. - :param name (str) A name to format (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name + :param name (str) A name to format. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. :param format (str) Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic """ - BaseRequest.__init__(self) self.name = name self.language = language self.location = location @@ -66,85 +63,3 @@ def __init__(self, name: str, language: str = None, location: str = None, encodi self.script = script self.format = format self.style = style - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `ai_name_format`") - - collection_formats = {} - path = '/email/AiName/format' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('name') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.name if self.name is not None else '') - else: - if self.name is not None: - query_params.append((self._lowercase_first_letter('name'), self.name)) - path_parameter = '{' + self._lowercase_first_letter('language') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.language if self.language is not None else '') - else: - if self.language is not None: - query_params.append((self._lowercase_first_letter('language'), self.language)) - path_parameter = '{' + self._lowercase_first_letter('location') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.location if self.location is not None else '') - else: - if self.location is not None: - query_params.append((self._lowercase_first_letter('location'), self.location)) - path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.encoding if self.encoding is not None else '') - else: - if self.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), self.encoding)) - path_parameter = '{' + self._lowercase_first_letter('script') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.script if self.script is not None else '') - else: - if self.script is not None: - query_params.append((self._lowercase_first_letter('script'), self.script)) - path_parameter = '{' + self._lowercase_first_letter('format') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.format if self.format is not None else '') - else: - if self.format is not None: - query_params.append((self._lowercase_first_letter('format'), self.format)) - path_parameter = '{' + self._lowercase_first_letter('style') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.style if self.style is not None else '') - else: - if self.style is not None: - query_params.append((self._lowercase_first_letter('style'), self.style)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py new file mode 100644 index 0000000..976ee90 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py @@ -0,0 +1,107 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.ai_name_gender_hypothesis import AiNameGenderHypothesis +from AsposeEmailCloudSdk.models.list_response_of_ai_name_gender_hypothesis import ListResponseOfAiNameGenderHypothesis + + +class AiNameGenderHypothesisList(ListResponseOfAiNameGenderHypothesis): + """Hypotheses about person's gender + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'list[AiNameGenderHypothesis]' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value: List[AiNameGenderHypothesis] = None): + """ + Hypotheses about person's gender + :param value (List[AiNameGenderHypothesis]) + """ + super(AiNameGenderHypothesisList, self).__init__() + + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AiNameGenderHypothesisList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py new file mode 100644 index 0000000..d462565 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py @@ -0,0 +1,62 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class AiNameGenderizeRequest(object): + """ + Request model for ai_name_genderize operation. + Initializes a new instance. + + :param name (str) A name to genderize. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): + """ + Request model for ai_name_genderize operation. + Initializes a new instance. + + :param name (str) A name to genderize. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + self.name = name + self.language = language + self.location = location + self.encoding = encoding + self.script = script + self.style = style diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py new file mode 100644 index 0000000..026cce1 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py @@ -0,0 +1,65 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class AiNameMatchRequest(object): + """ + Request model for ai_name_match operation. + Initializes a new instance. + + :param name (str) A name to match. + :param other_name (str) Another name to match. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + def __init__(self, name: str, other_name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): + """ + Request model for ai_name_match operation. + Initializes a new instance. + + :param name (str) A name to match. + :param other_name (str) Another name to match. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + self.name = name + self.other_name = other_name + self.language = language + self.location = location + self.encoding = encoding + self.script = script + self.style = style diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py new file mode 100644 index 0000000..b92b103 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py @@ -0,0 +1,63 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class AiNameParseEmailAddressRequest(object): + """ + Request model for ai_name_parse_email_address operation. + Initializes a new instance. + + :param email_address (str) Email address to parse. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + def __init__(self, email_address: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): + """ + Request model for ai_name_parse_email_address operation. + Initializes a new instance. + + :param email_address (str) Email address to parse. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + self.email_address = email_address + self.language = language + self.location = location + self.encoding = encoding + self.script = script + self.style = style + diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py new file mode 100644 index 0000000..932cd12 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py @@ -0,0 +1,62 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class AiNameParseRequest(object): + """ + Request model for ai_name_parse operation. + Initializes a new instance. + + :param name (str) A name to parse. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): + """ + Request model for ai_name_parse operation. + Initializes a new instance. + + :param name (str) A name to parse. + :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :param encoding (str) A character encoding name. + :param script (str) A writing system code; starts with the ISO-15924 script name. + :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + """ + + self.name = name + self.language = language + self.location = location + self.encoding = encoding + self.script = script + self.style = style diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_rq.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py similarity index 94% rename from sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_rq.py rename to sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py index f7ae6b5..b8d903d 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -32,10 +32,10 @@ from AsposeEmailCloudSdk.models.ai_name_component import AiNameComponent from AsposeEmailCloudSdk.models.ai_name_cultural_context import AiNameCulturalContext -from AsposeEmailCloudSdk.models.ai_name_parsed_rq import AiNameParsedRq +from AsposeEmailCloudSdk.models.ai_name_parsed_request import AiNameParsedRequest -class AiNameParsedMatchRq(AiNameParsedRq): +class AiNameParsedMatchRequest(AiNameParsedRequest): """Two parsed names to match request """ @@ -68,7 +68,7 @@ def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = :param parsed_name (List[AiNameComponent]) Parsed name :param other_parsed_name (List[AiNameComponent]) Other parsed name to match """ - super(AiNameParsedMatchRq, self).__init__() + super(AiNameParsedMatchRequest, self).__init__() self._other_parsed_name = None @@ -83,22 +83,22 @@ def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = @property def other_parsed_name(self) -> List[AiNameComponent]: - """Gets the other_parsed_name of this AiNameParsedMatchRq. + """Gets the other_parsed_name of this AiNameParsedMatchRequest. Other parsed name to match - :return: The other_parsed_name of this AiNameParsedMatchRq. + :return: The other_parsed_name of this AiNameParsedMatchRequest. :rtype: list[AiNameComponent] """ return self._other_parsed_name @other_parsed_name.setter def other_parsed_name(self, other_parsed_name: List[AiNameComponent]): - """Sets the other_parsed_name of this AiNameParsedMatchRq. + """Sets the other_parsed_name of this AiNameParsedMatchRequest. Other parsed name to match - :param other_parsed_name: The other_parsed_name of this AiNameParsedMatchRq. + :param other_parsed_name: The other_parsed_name of this AiNameParsedMatchRequest. :type: list[AiNameComponent] """ if other_parsed_name is None: @@ -139,7 +139,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AiNameParsedMatchRq): + if not isinstance(other, AiNameParsedMatchRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_rq.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py similarity index 91% rename from sdk/AsposeEmailCloudSdk/models/ai_name_parsed_rq.py rename to sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py index 32d0d51..5e002af 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -34,7 +34,7 @@ from AsposeEmailCloudSdk.models.ai_name_cultural_context import AiNameCulturalContext -class AiNameParsedRq(object): +class AiNameParsedRequest(object): """Parsed name request model """ @@ -78,66 +78,66 @@ def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = @property def cultural_context(self) -> AiNameCulturalContext: - """Gets the cultural_context of this AiNameParsedRq. + """Gets the cultural_context of this AiNameParsedRequest. AiName parser cultural context - :return: The cultural_context of this AiNameParsedRq. + :return: The cultural_context of this AiNameParsedRequest. :rtype: AiNameCulturalContext """ return self._cultural_context @cultural_context.setter def cultural_context(self, cultural_context: AiNameCulturalContext): - """Sets the cultural_context of this AiNameParsedRq. + """Sets the cultural_context of this AiNameParsedRequest. AiName parser cultural context - :param cultural_context: The cultural_context of this AiNameParsedRq. + :param cultural_context: The cultural_context of this AiNameParsedRequest. :type: AiNameCulturalContext """ self._cultural_context = cultural_context @property def format(self) -> str: - """Gets the format of this AiNameParsedRq. + """Gets the format of this AiNameParsedRequest. Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' - :return: The format of this AiNameParsedRq. + :return: The format of this AiNameParsedRequest. :rtype: str """ return self._format @format.setter def format(self, format: str): - """Sets the format of this AiNameParsedRq. + """Sets the format of this AiNameParsedRequest. Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' - :param format: The format of this AiNameParsedRq. + :param format: The format of this AiNameParsedRequest. :type: str """ self._format = format @property def parsed_name(self) -> List[AiNameComponent]: - """Gets the parsed_name of this AiNameParsedRq. + """Gets the parsed_name of this AiNameParsedRequest. Parsed name - :return: The parsed_name of this AiNameParsedRq. + :return: The parsed_name of this AiNameParsedRequest. :rtype: list[AiNameComponent] """ return self._parsed_name @parsed_name.setter def parsed_name(self, parsed_name: List[AiNameComponent]): - """Sets the parsed_name of this AiNameParsedRq. + """Sets the parsed_name of this AiNameParsedRequest. Parsed name - :param parsed_name: The parsed_name of this AiNameParsedRq. + :param parsed_name: The parsed_name of this AiNameParsedRequest. :type: list[AiNameComponent] """ if parsed_name is None: @@ -178,7 +178,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AiNameParsedRq): + if not isinstance(other, AiNameParsedRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/append_email_base_request.py b/sdk/AsposeEmailCloudSdk/models/append_email_base_request.py deleted file mode 100644 index 022a8bc..0000000 --- a/sdk/AsposeEmailCloudSdk/models/append_email_base_request.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.append_email_account_base_request import AppendEmailAccountBaseRequest -from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class AppendEmailBaseRequest(AppendEmailAccountBaseRequest): - """Append email from storage file to account request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'folder': 'str', - 'mark_as_sent': 'bool', - 'email_file': 'StorageFileLocation' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'folder': 'folder', - 'mark_as_sent': 'markAsSent', - 'email_file': 'emailFile' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, folder: str = None, mark_as_sent: bool = None, email_file: StorageFileLocation = None): - """ - Append email from storage file to account request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param folder (str) Email account folder to store a message - :param mark_as_sent (bool) Mark message as sent - :param email_file (StorageFileLocation) Email document file location in storage - """ - super(AppendEmailBaseRequest, self).__init__() - - self._email_file = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if folder is not None: - self.folder = folder - if mark_as_sent is not None: - self.mark_as_sent = mark_as_sent - if email_file is not None: - self.email_file = email_file - - @property - def email_file(self) -> StorageFileLocation: - """Gets the email_file of this AppendEmailBaseRequest. - - Email document file location in storage - - :return: The email_file of this AppendEmailBaseRequest. - :rtype: StorageFileLocation - """ - return self._email_file - - @email_file.setter - def email_file(self, email_file: StorageFileLocation): - """Sets the email_file of this AppendEmailBaseRequest. - - Email document file location in storage - - :param email_file: The email_file of this AppendEmailBaseRequest. - :type: StorageFileLocation - """ - if email_file is None: - raise ValueError("Invalid value for `email_file`, must not be `None`") - self._email_file = email_file - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AppendEmailBaseRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/append_email_mime_base_request.py b/sdk/AsposeEmailCloudSdk/models/append_email_mime_base_request.py deleted file mode 100644 index 1e6e229..0000000 --- a/sdk/AsposeEmailCloudSdk/models/append_email_mime_base_request.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.append_email_account_base_request import AppendEmailAccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class AppendEmailMimeBaseRequest(AppendEmailAccountBaseRequest): - """Append email from MIME string to account request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'folder': 'str', - 'mark_as_sent': 'bool', - 'base64_mime_message': 'str' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'folder': 'folder', - 'mark_as_sent': 'markAsSent', - 'base64_mime_message': 'base64MimeMessage' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, folder: str = None, mark_as_sent: bool = None, base64_mime_message: str = None): - """ - Append email from MIME string to account request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param folder (str) Email account folder to store a message - :param mark_as_sent (bool) Mark message as sent - :param base64_mime_message (str) Email document serialized as MIME string - """ - super(AppendEmailMimeBaseRequest, self).__init__() - - self._base64_mime_message = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if folder is not None: - self.folder = folder - if mark_as_sent is not None: - self.mark_as_sent = mark_as_sent - if base64_mime_message is not None: - self.base64_mime_message = base64_mime_message - - @property - def base64_mime_message(self) -> str: - """Gets the base64_mime_message of this AppendEmailMimeBaseRequest. - - Email document serialized as MIME string - - :return: The base64_mime_message of this AppendEmailMimeBaseRequest. - :rtype: str - """ - return self._base64_mime_message - - @base64_mime_message.setter - def base64_mime_message(self, base64_mime_message: str): - """Sets the base64_mime_message of this AppendEmailMimeBaseRequest. - - Email document serialized as MIME string - - :param base64_mime_message: The base64_mime_message of this AppendEmailMimeBaseRequest. - :type: str - """ - if base64_mime_message is None: - raise ValueError("Invalid value for `base64_mime_message`, must not be `None`") - if base64_mime_message is not None and len(base64_mime_message) < 1: - raise ValueError("Invalid value for `base64_mime_message`, length must be greater than or equal to `1`") - self._base64_mime_message = base64_mime_message - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AppendEmailMimeBaseRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/append_email_model_rq.py b/sdk/AsposeEmailCloudSdk/models/append_email_model_rq.py deleted file mode 100644 index e9821d7..0000000 --- a/sdk/AsposeEmailCloudSdk/models/append_email_model_rq.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.append_email_account_base_request import AppendEmailAccountBaseRequest -from AsposeEmailCloudSdk.models.email_dto import EmailDto -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class AppendEmailModelRq(AppendEmailAccountBaseRequest): - """Append email request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'folder': 'str', - 'mark_as_sent': 'bool', - 'message': 'EmailDto' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'folder': 'folder', - 'mark_as_sent': 'markAsSent', - 'message': 'message' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, folder: str = None, mark_as_sent: bool = None, message: EmailDto = None): - """ - Append email request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param folder (str) Email account folder to store a message - :param mark_as_sent (bool) Mark message as sent - :param message (EmailDto) Email document - """ - super(AppendEmailModelRq, self).__init__() - - self._message = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if folder is not None: - self.folder = folder - if mark_as_sent is not None: - self.mark_as_sent = mark_as_sent - if message is not None: - self.message = message - - @property - def message(self) -> EmailDto: - """Gets the message of this AppendEmailModelRq. - - Email document - - :return: The message of this AppendEmailModelRq. - :rtype: EmailDto - """ - return self._message - - @message.setter - def message(self, message: EmailDto): - """Sets the message of this AppendEmailModelRq. - - Email document - - :param message: The message of this AppendEmailModelRq. - :type: EmailDto - """ - if message is None: - raise ValueError("Invalid value for `message`, must not be `None`") - self._message = message - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AppendEmailModelRq): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_dto_alternate_rq.py b/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py similarity index 83% rename from sdk/AsposeEmailCloudSdk/models/calendar_dto_alternate_rq.py rename to sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py index 59d204c..995bf6e 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_dto_alternate_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -33,8 +33,8 @@ from AsposeEmailCloudSdk.models.calendar_dto import CalendarDto -class CalendarDtoAlternateRq(object): - """iCalendar document as AlternateView request +class CalendarAsAlternateRequest(object): + """Convert iCalendar to AlternateView request """ """ @@ -58,7 +58,7 @@ class CalendarDtoAlternateRq(object): def __init__(self, value: CalendarDto = None, action: str = None, sequence_id: str = None): """ - iCalendar document as AlternateView request + Convert iCalendar to AlternateView request :param value (CalendarDto) iCalendar document model :param action (str) iCalendar actions. Enum, available values: Create, Update, Cancel :param sequence_id (str) iCalendar sequence id @@ -77,22 +77,22 @@ def __init__(self, value: CalendarDto = None, action: str = None, sequence_id: s @property def value(self) -> CalendarDto: - """Gets the value of this CalendarDtoAlternateRq. + """Gets the value of this CalendarAsAlternateRequest. iCalendar document model - :return: The value of this CalendarDtoAlternateRq. + :return: The value of this CalendarAsAlternateRequest. :rtype: CalendarDto """ return self._value @value.setter def value(self, value: CalendarDto): - """Sets the value of this CalendarDtoAlternateRq. + """Sets the value of this CalendarAsAlternateRequest. iCalendar document model - :param value: The value of this CalendarDtoAlternateRq. + :param value: The value of this CalendarAsAlternateRequest. :type: CalendarDto """ if value is None: @@ -101,22 +101,22 @@ def value(self, value: CalendarDto): @property def action(self) -> str: - """Gets the action of this CalendarDtoAlternateRq. + """Gets the action of this CalendarAsAlternateRequest. iCalendar actions. Enum, available values: Create, Update, Cancel - :return: The action of this CalendarDtoAlternateRq. + :return: The action of this CalendarAsAlternateRequest. :rtype: str """ return self._action @action.setter def action(self, action: str): - """Sets the action of this CalendarDtoAlternateRq. + """Sets the action of this CalendarAsAlternateRequest. iCalendar actions. Enum, available values: Create, Update, Cancel - :param action: The action of this CalendarDtoAlternateRq. + :param action: The action of this CalendarAsAlternateRequest. :type: str """ if action is None: @@ -127,22 +127,22 @@ def action(self, action: str): @property def sequence_id(self) -> str: - """Gets the sequence_id of this CalendarDtoAlternateRq. + """Gets the sequence_id of this CalendarAsAlternateRequest. iCalendar sequence id - :return: The sequence_id of this CalendarDtoAlternateRq. + :return: The sequence_id of this CalendarAsAlternateRequest. :rtype: str """ return self._sequence_id @sequence_id.setter def sequence_id(self, sequence_id: str): - """Sets the sequence_id of this CalendarDtoAlternateRq. + """Sets the sequence_id of this CalendarAsAlternateRequest. iCalendar sequence id - :param sequence_id: The sequence_id of this CalendarDtoAlternateRq. + :param sequence_id: The sequence_id of this CalendarAsAlternateRequest. :type: str """ self._sequence_id = sequence_id @@ -181,7 +181,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CalendarDtoAlternateRq): + if not isinstance(other, CalendarAsAlternateRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py similarity index 67% rename from sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_calendar_dto.py rename to sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py index ac615df..b4dfe20 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,11 +31,10 @@ from datetime import datetime from AsposeEmailCloudSdk.models.calendar_dto import CalendarDto -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation -class StorageModelRqOfCalendarDto(object): - """ +class CalendarAsFileRequest(object): + """iCalendar model to file request. """ """ @@ -46,69 +45,77 @@ class StorageModelRqOfCalendarDto(object): and the value is json key in definition. """ swagger_types = { - 'value': 'CalendarDto', - 'storage_folder': 'StorageFolderLocation' + 'format': 'str', + 'value': 'CalendarDto' } attribute_map = { - 'value': 'value', - 'storage_folder': 'storageFolder' + 'format': 'format', + 'value': 'value' } - def __init__(self, value: CalendarDto = None, storage_folder: StorageFolderLocation = None): + def __init__(self, format: str = None, value: CalendarDto = None): """ - - :param value (CalendarDto) - :param storage_folder (StorageFolderLocation) + iCalendar model to file request. + :param format (str) Calendar file format Enum, available values: Ics, Msg + :param value (CalendarDto) iCalendar model """ + self._format = None self._value = None - self._storage_folder = None + if format is not None: + self.format = format if value is not None: self.value = value - if storage_folder is not None: - self.storage_folder = storage_folder @property - def value(self) -> CalendarDto: - """Gets the value of this StorageModelRqOfCalendarDto. + def format(self) -> str: + """Gets the format of this CalendarAsFileRequest. + Calendar file format Enum, available values: Ics, Msg - :return: The value of this StorageModelRqOfCalendarDto. - :rtype: CalendarDto + :return: The format of this CalendarAsFileRequest. + :rtype: str """ - return self._value + return self._format - @value.setter - def value(self, value: CalendarDto): - """Sets the value of this StorageModelRqOfCalendarDto. + @format.setter + def format(self, format: str): + """Sets the format of this CalendarAsFileRequest. + Calendar file format Enum, available values: Ics, Msg - :param value: The value of this StorageModelRqOfCalendarDto. - :type: CalendarDto + :param format: The format of this CalendarAsFileRequest. + :type: str """ - self._value = value + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this StorageModelRqOfCalendarDto. + def value(self) -> CalendarDto: + """Gets the value of this CalendarAsFileRequest. + iCalendar model - :return: The storage_folder of this StorageModelRqOfCalendarDto. - :rtype: StorageFolderLocation + :return: The value of this CalendarAsFileRequest. + :rtype: CalendarDto """ - return self._storage_folder + return self._value - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this StorageModelRqOfCalendarDto. + @value.setter + def value(self, value: CalendarDto): + """Sets the value of this CalendarAsFileRequest. + iCalendar model - :param storage_folder: The storage_folder of this StorageModelRqOfCalendarDto. - :type: StorageFolderLocation + :param value: The value of this CalendarAsFileRequest. + :type: CalendarDto """ - self._storage_folder = storage_folder + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value def to_dict(self): """Returns the model properties as a dict""" @@ -144,7 +151,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, StorageModelRqOfCalendarDto): + if not isinstance(other, CalendarAsFileRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py new file mode 100644 index 0000000..a0d6d94 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CalendarConvertRequest(object): + """ + Request model for calendar_convert operation. + Initializes a new instance. + + :param format (str) File format. Enum, available values: Ics, Msg + :param file (str) File to convert + """ + + def __init__(self, format: str, file: str): + """ + Request model for calendar_convert operation. + Initializes a new instance. + + :param format (str) File format. Enum, available values: Ics, Msg + :param file (str) File to convert + """ + + self.format = format + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py new file mode 100644 index 0000000..54880a8 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py @@ -0,0 +1,47 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CalendarFromFileRequest(object): + """ + Request model for calendar_from_file operation. + Initializes a new instance. + + :param file (str) File to convert + """ + + def __init__(self, file: str): + """ + Request model for calendar_from_file operation. + Initializes a new instance. + + :param file (str) File to convert + """ + + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py new file mode 100644 index 0000000..f153fae --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py @@ -0,0 +1,59 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CalendarGetAsAlternateRequest(object): + """ + Request model for calendar_get_as_alternate operation. + Initializes a new instance. + + :param file_name (str) iCalendar file name in storage + :param calendar_action (str) iCalendar method type Enum, available values: Create, Update, Cancel + :param sequence_id (str) The sequence id + :param folder (str) Path to folder in storage + :param storage (str) Storage name + """ + + def __init__(self, file_name: str, calendar_action: str, sequence_id: str = None, folder: str = None, storage: str = None): + """ + Request model for calendar_get_as_alternate operation. + Initializes a new instance. + + :param file_name (str) iCalendar file name in storage + :param calendar_action (str) iCalendar method type Enum, available values: Create, Update, Cancel + :param sequence_id (str) The sequence id + :param folder (str) Path to folder in storage + :param storage (str) Storage name + """ + + self.file_name = file_name + self.calendar_action = calendar_action + self.sequence_id = sequence_id + self.folder = folder + self.storage = storage diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py new file mode 100644 index 0000000..ae48bc3 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py @@ -0,0 +1,56 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CalendarGetAsFileRequest(object): + """ + Request model for calendar_get_as_file operation. + Initializes a new instance. + + :param file_name (str) Calendar document file name. + :param format (str) File format. Enum, available values: Ics, Msg + :param storage (str) Storage name. + :param folder (str) Path to folder in storage. + """ + + def __init__(self, file_name: str, format: str, storage: str = None, folder: str = None): + """ + Request model for calendar_get_as_file operation. + Initializes a new instance. + + :param file_name (str) Calendar document file name. + :param format (str) File format. Enum, available values: Ics, Msg + :param storage (str) Storage name. + :param folder (str) Path to folder in storage. + """ + + self.file_name = file_name + self.format = format + self.storage = storage + self.folder = folder diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py new file mode 100644 index 0000000..5cf9abd --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py @@ -0,0 +1,57 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CalendarGetListRequest(object): + """ + Request model for calendar_get_list operation. + Initializes a new instance. + + :param folder (str) Path to folder in storage. + :param items_per_page (int) Count of items on page. + :param page_number (int) Page number. + :param storage (str) Storage name. + """ + + def __init__(self, folder: str, items_per_page: int = None, page_number: int = None, storage: str = None): + """ + Request model for calendar_get_list operation. + Initializes a new instance. + + :param folder (str) Path to folder in storage. + :param items_per_page (int) Count of items on page. + :param page_number (int) Page number. + :param storage (str) Storage name. + """ + + self.folder = folder + self.items_per_page = items_per_page + self.page_number = page_number + self.storage = storage + diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py new file mode 100644 index 0000000..59df7bb --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py @@ -0,0 +1,53 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CalendarGetRequest(object): + """ + Request model for calendar_get operation. + Initializes a new instance. + + :param file_name (str) iCalendar file name in storage. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + def __init__(self, file_name: str, folder: str = None, storage: str = None): + """ + Request model for calendar_get operation. + Initializes a new instance. + + :param file_name (str) iCalendar file name in storage. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + self.file_name = file_name + self.folder = folder + self.storage = storage diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py new file mode 100644 index 0000000..28383f3 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py @@ -0,0 +1,144 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.calendar_dto import CalendarDto +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_model_of_calendar_dto import StorageModelOfCalendarDto + + +class CalendarSaveRequest(StorageModelOfCalendarDto): + """Save iCalendar to storage request. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'storage_file': 'StorageFileLocation', + 'value': 'CalendarDto', + 'format': 'str' + } + + attribute_map = { + 'storage_file': 'storageFile', + 'value': 'value', + 'format': 'format' + } + + def __init__(self, storage_file: StorageFileLocation = None, value: CalendarDto = None, format: str = None): + """ + Save iCalendar to storage request. + :param storage_file (StorageFileLocation) + :param value (CalendarDto) + :param format (str) Calendar file format Enum, available values: Ics, Msg + """ + super(CalendarSaveRequest, self).__init__() + + self._format = None + + if storage_file is not None: + self.storage_file = storage_file + if value is not None: + self.value = value + if format is not None: + self.format = format + + @property + def format(self) -> str: + """Gets the format of this CalendarSaveRequest. + + Calendar file format Enum, available values: Ics, Msg + + :return: The format of this CalendarSaveRequest. + :rtype: str + """ + return self._format + + @format.setter + def format(self, format: str): + """Sets the format of this CalendarSaveRequest. + + Calendar file format Enum, available values: Ics, Msg + + :param format: The format of this CalendarSaveRequest. + :type: str + """ + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CalendarSaveRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_dto_list.py b/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py similarity index 90% rename from sdk/AsposeEmailCloudSdk/models/calendar_dto_list.py rename to sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py index 9854a14..0a4a256 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_dto_list.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -34,8 +34,8 @@ from AsposeEmailCloudSdk.models.storage_model_of_calendar_dto import StorageModelOfCalendarDto -class CalendarDtoList(ListResponseOfStorageModelOfCalendarDto): - """List of iCalendar documents +class CalendarStorageList(ListResponseOfStorageModelOfCalendarDto): + """iCalendar models list with corresponding storage locations. """ """ @@ -55,10 +55,10 @@ class CalendarDtoList(ListResponseOfStorageModelOfCalendarDto): def __init__(self, value: List[StorageModelOfCalendarDto] = None): """ - List of iCalendar documents + iCalendar models list with corresponding storage locations. :param value (List[StorageModelOfCalendarDto]) """ - super(CalendarDtoList, self).__init__() + super(CalendarStorageList, self).__init__() if value is not None: self.value = value @@ -97,7 +97,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CalendarDtoList): + if not isinstance(other, CalendarStorageList): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_ocr_data_rq.py b/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py similarity index 64% rename from sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_ocr_data_rq.py rename to sdk/AsposeEmailCloudSdk/models/client_account_base_request.py index d723955..2e57e46 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_ocr_data_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,13 +30,11 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.ai_bcr_ocr_data import AiBcrOcrData -from AsposeEmailCloudSdk.models.ai_bcr_options import AiBcrOptions -from AsposeEmailCloudSdk.models.ai_bcr_rq import AiBcrRq +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class AiBcrParseOcrDataRq(AiBcrRq): - """Parse ocr data request +class ClientAccountBaseRequest(object): + """Base request for Email client. Stores information about email account location. """ """ @@ -47,53 +45,47 @@ class AiBcrParseOcrDataRq(AiBcrRq): and the value is json key in definition. """ swagger_types = { - 'options': 'AiBcrOptions', - 'data': 'list[AiBcrOcrData]' + 'account_location': 'StorageFileLocation' } attribute_map = { - 'options': 'options', - 'data': 'data' + 'account_location': 'accountLocation' } - def __init__(self, options: AiBcrOptions = None, data: List[AiBcrOcrData] = None): + def __init__(self, account_location: StorageFileLocation = None): """ - Parse ocr data request - :param options (AiBcrOptions) Recognition options - :param data (List[AiBcrOcrData]) OCR data + Base request for Email client. Stores information about email account location. + :param account_location (StorageFileLocation) Email client account configuration location on storage. """ - super(AiBcrParseOcrDataRq, self).__init__() - self._data = None + self._account_location = None - if options is not None: - self.options = options - if data is not None: - self.data = data + if account_location is not None: + self.account_location = account_location @property - def data(self) -> List[AiBcrOcrData]: - """Gets the data of this AiBcrParseOcrDataRq. + def account_location(self) -> StorageFileLocation: + """Gets the account_location of this ClientAccountBaseRequest. - OCR data + Email client account configuration location on storage. - :return: The data of this AiBcrParseOcrDataRq. - :rtype: list[AiBcrOcrData] + :return: The account_location of this ClientAccountBaseRequest. + :rtype: StorageFileLocation """ - return self._data + return self._account_location - @data.setter - def data(self, data: List[AiBcrOcrData]): - """Sets the data of this AiBcrParseOcrDataRq. + @account_location.setter + def account_location(self, account_location: StorageFileLocation): + """Sets the account_location of this ClientAccountBaseRequest. - OCR data + Email client account configuration location on storage. - :param data: The data of this AiBcrParseOcrDataRq. - :type: list[AiBcrOcrData] + :param account_location: The account_location of this ClientAccountBaseRequest. + :type: StorageFileLocation """ - if data is None: - raise ValueError("Invalid value for `data`, must not be `None`") - self._data = data + if account_location is None: + raise ValueError("Invalid value for `account_location`, must not be `None`") + self._account_location = account_location def to_dict(self): """Returns the model properties as a dict""" @@ -129,7 +121,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AiBcrParseOcrDataRq): + if not isinstance(other, ClientAccountBaseRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py new file mode 100644 index 0000000..9d700b0 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py @@ -0,0 +1,54 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientAccountGetMultiRequest(object): + """ + Request model for client_account_get_multi operation. + Initializes a new instance. + + :param file_name (str) File name on storage + :param folder (str) Folder on storage + :param storage (str) Storage name + """ + + def __init__(self, file_name: str, folder: str = None, storage: str = None): + """ + Request model for client_account_get_multi operation. + Initializes a new instance. + + :param file_name (str) File name on storage + :param folder (str) Folder on storage + :param storage (str) Storage name + """ + + self.file_name = file_name + self.folder = folder + self.storage = storage + diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py new file mode 100644 index 0000000..dd0dea8 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py @@ -0,0 +1,53 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientAccountGetRequest(object): + """ + Request model for client_account_get operation. + Initializes a new instance. + + :param file_name (str) File name on storage. + :param folder (str) Folder on storage. + :param storage (str) Storage name. + """ + + def __init__(self, file_name: str, folder: str = None, storage: str = None): + """ + Request model for client_account_get operation. + Initializes a new instance. + + :param file_name (str) File name on storage. + :param folder (str) Folder on storage. + :param storage (str) Storage name. + """ + + self.file_name = file_name + self.folder = folder + self.storage = storage diff --git a/sdk/AsposeEmailCloudSdk/models/create_folder_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py similarity index 55% rename from sdk/AsposeEmailCloudSdk/models/create_folder_base_request.py rename to sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py index 43e7008..e745421 100644 --- a/sdk/AsposeEmailCloudSdk/models/create_folder_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,12 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.client_account_base_request import ClientAccountBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class CreateFolderBaseRequest(AccountBaseRequest): - """Create folder request +class ClientFolderCreateRequest(ClientAccountBaseRequest): + """Email Client create folder request. """ """ @@ -46,93 +46,83 @@ class CreateFolderBaseRequest(AccountBaseRequest): and the value is json key in definition. """ swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'folder': 'str', - 'parent_folder': 'str' + 'account_location': 'StorageFileLocation', + 'parent_folder': 'str', + 'folder_name': 'str' } attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'folder': 'folder', - 'parent_folder': 'parentFolder' + 'account_location': 'accountLocation', + 'parent_folder': 'parentFolder', + 'folder_name': 'folderName' } - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, folder: str = None, parent_folder: str = None): + def __init__(self, account_location: StorageFileLocation = None, parent_folder: str = None, folder_name: str = None): """ - Create folder request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param folder (str) Folder name - :param parent_folder (str) Parent folder path + Email Client create folder request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param parent_folder (str) Path to parent folder. + :param folder_name (str) Folder name. """ - super(CreateFolderBaseRequest, self).__init__() + super(ClientFolderCreateRequest, self).__init__() - self._folder = None self._parent_folder = None + self._folder_name = None - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if folder is not None: - self.folder = folder + if account_location is not None: + self.account_location = account_location if parent_folder is not None: self.parent_folder = parent_folder + if folder_name is not None: + self.folder_name = folder_name @property - def folder(self) -> str: - """Gets the folder of this CreateFolderBaseRequest. + def parent_folder(self) -> str: + """Gets the parent_folder of this ClientFolderCreateRequest. - Folder name + Path to parent folder. - :return: The folder of this CreateFolderBaseRequest. + :return: The parent_folder of this ClientFolderCreateRequest. :rtype: str """ - return self._folder + return self._parent_folder - @folder.setter - def folder(self, folder: str): - """Sets the folder of this CreateFolderBaseRequest. + @parent_folder.setter + def parent_folder(self, parent_folder: str): + """Sets the parent_folder of this ClientFolderCreateRequest. - Folder name + Path to parent folder. - :param folder: The folder of this CreateFolderBaseRequest. + :param parent_folder: The parent_folder of this ClientFolderCreateRequest. :type: str """ - if folder is None: - raise ValueError("Invalid value for `folder`, must not be `None`") - if folder is not None and len(folder) < 1: - raise ValueError("Invalid value for `folder`, length must be greater than or equal to `1`") - self._folder = folder + self._parent_folder = parent_folder @property - def parent_folder(self) -> str: - """Gets the parent_folder of this CreateFolderBaseRequest. + def folder_name(self) -> str: + """Gets the folder_name of this ClientFolderCreateRequest. - Parent folder path + Folder name. - :return: The parent_folder of this CreateFolderBaseRequest. + :return: The folder_name of this ClientFolderCreateRequest. :rtype: str """ - return self._parent_folder + return self._folder_name - @parent_folder.setter - def parent_folder(self, parent_folder: str): - """Sets the parent_folder of this CreateFolderBaseRequest. + @folder_name.setter + def folder_name(self, folder_name: str): + """Sets the folder_name of this ClientFolderCreateRequest. - Parent folder path + Folder name. - :param parent_folder: The parent_folder of this CreateFolderBaseRequest. + :param folder_name: The folder_name of this ClientFolderCreateRequest. :type: str """ - self._parent_folder = parent_folder + if folder_name is None: + raise ValueError("Invalid value for `folder_name`, must not be `None`") + if folder_name is not None and len(folder_name) < 1: + raise ValueError("Invalid value for `folder_name`, length must be greater than or equal to `1`") + self._folder_name = folder_name def to_dict(self): """Returns the model properties as a dict""" @@ -168,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreateFolderBaseRequest): + if not isinstance(other, ClientFolderCreateRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_base64_image.py b/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py similarity index 63% rename from sdk/AsposeEmailCloudSdk/models/ai_bcr_base64_image.py rename to sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py index 2edbe39..3762b86 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_base64_image.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,11 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.ai_bcr_image import AiBcrImage +from AsposeEmailCloudSdk.models.client_account_base_request import ClientAccountBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class AiBcrBase64Image(AiBcrImage): - """Image to recognize +class ClientFolderDeleteRequest(ClientAccountBaseRequest): + """Email client delete folder request. """ """ @@ -45,51 +46,55 @@ class AiBcrBase64Image(AiBcrImage): and the value is json key in definition. """ swagger_types = { - 'is_single': 'bool', - 'base64_data': 'str' + 'account_location': 'StorageFileLocation', + 'folder': 'str' } attribute_map = { - 'is_single': 'isSingle', - 'base64_data': 'base64Data' + 'account_location': 'accountLocation', + 'folder': 'folder' } - def __init__(self, is_single: bool = None, base64_data: str = None): + def __init__(self, account_location: StorageFileLocation = None, folder: str = None): """ - Image to recognize - :param is_single (bool) Determines that image contains single VCard or more. Ignored in current version. Multiple cards on image support will be added soon - :param base64_data (str) Image data in base64 + Email client delete folder request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param folder (str) Path to folder to delete. """ - super(AiBcrBase64Image, self).__init__() + super(ClientFolderDeleteRequest, self).__init__() - self._base64_data = None + self._folder = None - if is_single is not None: - self.is_single = is_single - if base64_data is not None: - self.base64_data = base64_data + if account_location is not None: + self.account_location = account_location + if folder is not None: + self.folder = folder @property - def base64_data(self) -> str: - """Gets the base64_data of this AiBcrBase64Image. + def folder(self) -> str: + """Gets the folder of this ClientFolderDeleteRequest. - Image data in base64 + Path to folder to delete. - :return: The base64_data of this AiBcrBase64Image. + :return: The folder of this ClientFolderDeleteRequest. :rtype: str """ - return self._base64_data + return self._folder - @base64_data.setter - def base64_data(self, base64_data: str): - """Sets the base64_data of this AiBcrBase64Image. + @folder.setter + def folder(self, folder: str): + """Sets the folder of this ClientFolderDeleteRequest. - Image data in base64 + Path to folder to delete. - :param base64_data: The base64_data of this AiBcrBase64Image. + :param folder: The folder of this ClientFolderDeleteRequest. :type: str """ - self._base64_data = base64_data + if folder is None: + raise ValueError("Invalid value for `folder`, must not be `None`") + if folder is not None and len(folder) < 1: + raise ValueError("Invalid value for `folder`, length must be greater than or equal to `1`") + self._folder = folder def to_dict(self): """Returns the model properties as a dict""" @@ -125,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AiBcrBase64Image): + if not isinstance(other, ClientFolderDeleteRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py new file mode 100644 index 0000000..9e6591c --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py @@ -0,0 +1,57 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientFolderGetListRequest(object): + """ + Request model for client_folder_get_list operation. + Initializes a new instance. + + :param account (str) Email account + :param storage (str) Storage name where account file located + :param account_storage_folder (str) Folder in storage where account file located + :param parent_folder (str) Folder in which subfolders should be listed + """ + + def __init__(self, account: str, storage: str = None, account_storage_folder: str = None, parent_folder: str = None): + """ + Request model for client_folder_get_list operation. + Initializes a new instance. + + :param account (str) Email account + :param storage (str) Storage name where account file located + :param account_storage_folder (str) Folder in storage where account file located + :param parent_folder (str) Folder in which subfolders should be listed + """ + + self.account = account + self.storage = storage + self.account_storage_folder = account_storage_folder + self.parent_folder = parent_folder + diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py new file mode 100644 index 0000000..d95707a --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py @@ -0,0 +1,65 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientMessageAppendFileRequest(object): + """ + Request model for client_message_append_file operation. + Initializes a new instance. + + :param account (str) Email account. + :param file (str) Message file to append. + :param storage (str) Storage name where account file located. + :param account_storage_folder (str) Folder in storage where account file located. + :param format (str) Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param folder (str) Path to folder on email server to append message to. + :param mark_as_sent (bool) Determines that appended message should be market as sent or not. + """ + + def __init__(self, account: str, file: str, storage: str = None, account_storage_folder: str = None, format: str = None, folder: str = None, mark_as_sent: bool = None): + """ + Request model for client_message_append_file operation. + Initializes a new instance. + + :param account (str) Email account. + :param file (str) Message file to append. + :param storage (str) Storage name where account file located. + :param account_storage_folder (str) Folder in storage where account file located. + :param format (str) Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param folder (str) Path to folder on email server to append message to. + :param mark_as_sent (bool) Determines that appended message should be market as sent or not. + """ + + self.account = account + self.file = file + self.storage = storage + self.account_storage_folder = account_storage_folder + self.format = format + self.folder = folder + self.mark_as_sent = mark_as_sent diff --git a/sdk/AsposeEmailCloudSdk/models/append_email_account_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py similarity index 57% rename from sdk/AsposeEmailCloudSdk/models/append_email_account_base_request.py rename to sdk/AsposeEmailCloudSdk/models/client_message_append_request.py index a00fc85..992f3ed 100644 --- a/sdk/AsposeEmailCloudSdk/models/append_email_account_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,12 +30,13 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.client_account_base_request import ClientAccountBaseRequest +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class AppendEmailAccountBaseRequest(AccountBaseRequest): - """Append email to account request +class ClientMessageAppendRequest(ClientAccountBaseRequest): + """Email client append message request. """ """ @@ -46,90 +47,106 @@ class AppendEmailAccountBaseRequest(AccountBaseRequest): and the value is json key in definition. """ swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', + 'account_location': 'StorageFileLocation', 'folder': 'str', + 'message': 'MailMessageBase', 'mark_as_sent': 'bool' } attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', + 'account_location': 'accountLocation', 'folder': 'folder', + 'message': 'message', 'mark_as_sent': 'markAsSent' } - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, folder: str = None, mark_as_sent: bool = None): + def __init__(self, account_location: StorageFileLocation = None, folder: str = None, message: MailMessageBase = None, mark_as_sent: bool = None): """ - Append email to account request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param folder (str) Email account folder to store a message - :param mark_as_sent (bool) Mark message as sent + Email client append message request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param folder (str) Path to folder on email server to append message to. + :param message (MailMessageBase) Message to append. + :param mark_as_sent (bool) Determines that appended message should be market as sent or not. """ - super(AppendEmailAccountBaseRequest, self).__init__() + super(ClientMessageAppendRequest, self).__init__() self._folder = None + self._message = None self._mark_as_sent = None - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder + if account_location is not None: + self.account_location = account_location if folder is not None: self.folder = folder + if message is not None: + self.message = message if mark_as_sent is not None: self.mark_as_sent = mark_as_sent @property def folder(self) -> str: - """Gets the folder of this AppendEmailAccountBaseRequest. + """Gets the folder of this ClientMessageAppendRequest. - Email account folder to store a message + Path to folder on email server to append message to. - :return: The folder of this AppendEmailAccountBaseRequest. + :return: The folder of this ClientMessageAppendRequest. :rtype: str """ return self._folder @folder.setter def folder(self, folder: str): - """Sets the folder of this AppendEmailAccountBaseRequest. + """Sets the folder of this ClientMessageAppendRequest. - Email account folder to store a message + Path to folder on email server to append message to. - :param folder: The folder of this AppendEmailAccountBaseRequest. + :param folder: The folder of this ClientMessageAppendRequest. :type: str """ - if folder is None: - raise ValueError("Invalid value for `folder`, must not be `None`") - if folder is not None and len(folder) < 1: - raise ValueError("Invalid value for `folder`, length must be greater than or equal to `1`") self._folder = folder + @property + def message(self) -> MailMessageBase: + """Gets the message of this ClientMessageAppendRequest. + + Message to append. + + :return: The message of this ClientMessageAppendRequest. + :rtype: MailMessageBase + """ + return self._message + + @message.setter + def message(self, message: MailMessageBase): + """Sets the message of this ClientMessageAppendRequest. + + Message to append. + + :param message: The message of this ClientMessageAppendRequest. + :type: MailMessageBase + """ + if message is None: + raise ValueError("Invalid value for `message`, must not be `None`") + self._message = message + @property def mark_as_sent(self) -> bool: - """Gets the mark_as_sent of this AppendEmailAccountBaseRequest. + """Gets the mark_as_sent of this ClientMessageAppendRequest. - Mark message as sent + Determines that appended message should be market as sent or not. - :return: The mark_as_sent of this AppendEmailAccountBaseRequest. + :return: The mark_as_sent of this ClientMessageAppendRequest. :rtype: bool """ return self._mark_as_sent @mark_as_sent.setter def mark_as_sent(self, mark_as_sent: bool): - """Sets the mark_as_sent of this AppendEmailAccountBaseRequest. + """Sets the mark_as_sent of this ClientMessageAppendRequest. - Mark message as sent + Determines that appended message should be market as sent or not. - :param mark_as_sent: The mark_as_sent of this AppendEmailAccountBaseRequest. + :param mark_as_sent: The mark_as_sent of this ClientMessageAppendRequest. :type: bool """ if mark_as_sent is None: @@ -170,7 +187,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AppendEmailAccountBaseRequest): + if not isinstance(other, ClientMessageAppendRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py new file mode 100644 index 0000000..829ba50 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py @@ -0,0 +1,140 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.client_account_base_request import ClientAccountBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation + + +class ClientMessageBaseRequest(ClientAccountBaseRequest): + """Email client message request. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_location': 'StorageFileLocation', + 'message_id': 'str' + } + + attribute_map = { + 'account_location': 'accountLocation', + 'message_id': 'messageId' + } + + def __init__(self, account_location: StorageFileLocation = None, message_id: str = None): + """ + Email client message request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param message_id (str) Message identifier. + """ + super(ClientMessageBaseRequest, self).__init__() + + self._message_id = None + + if account_location is not None: + self.account_location = account_location + if message_id is not None: + self.message_id = message_id + + @property + def message_id(self) -> str: + """Gets the message_id of this ClientMessageBaseRequest. + + Message identifier. + + :return: The message_id of this ClientMessageBaseRequest. + :rtype: str + """ + return self._message_id + + @message_id.setter + def message_id(self, message_id: str): + """Sets the message_id of this ClientMessageBaseRequest. + + Message identifier. + + :param message_id: The message_id of this ClientMessageBaseRequest. + :type: str + """ + if message_id is None: + raise ValueError("Invalid value for `message_id`, must not be `None`") + if message_id is not None and len(message_id) < 1: + raise ValueError("Invalid value for `message_id`, length must be greater than or equal to `1`") + self._message_id = message_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ClientMessageBaseRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/delete_email_thread_account_rq.py b/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py similarity index 64% rename from sdk/AsposeEmailCloudSdk/models/delete_email_thread_account_rq.py rename to sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py index 57612fc..5a70272 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_email_thread_account_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,12 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.client_message_base_request import ClientMessageBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class DeleteEmailThreadAccountRq(AccountBaseRequest): - """Delete thread request +class ClientMessageDeleteRequest(ClientMessageBaseRequest): + """Email client delete message request. """ """ @@ -46,58 +46,53 @@ class DeleteEmailThreadAccountRq(AccountBaseRequest): and the value is json key in definition. """ swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', + 'account_location': 'StorageFileLocation', + 'message_id': 'str', 'folder': 'str' } attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', + 'account_location': 'accountLocation', + 'message_id': 'messageId', 'folder': 'folder' } - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, folder: str = None): + def __init__(self, account_location: StorageFileLocation = None, message_id: str = None, folder: str = None): """ - Delete thread request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param folder (str) Specifies account folder to get thread from + Email client delete message request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param message_id (str) Message identifier. + :param folder (str) Folder to delete message from. """ - super(DeleteEmailThreadAccountRq, self).__init__() + super(ClientMessageDeleteRequest, self).__init__() self._folder = None - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder + if account_location is not None: + self.account_location = account_location + if message_id is not None: + self.message_id = message_id if folder is not None: self.folder = folder @property def folder(self) -> str: - """Gets the folder of this DeleteEmailThreadAccountRq. + """Gets the folder of this ClientMessageDeleteRequest. - Specifies account folder to get thread from + Folder to delete message from. - :return: The folder of this DeleteEmailThreadAccountRq. + :return: The folder of this ClientMessageDeleteRequest. :rtype: str """ return self._folder @folder.setter def folder(self, folder: str): - """Sets the folder of this DeleteEmailThreadAccountRq. + """Sets the folder of this ClientMessageDeleteRequest. - Specifies account folder to get thread from + Folder to delete message from. - :param folder: The folder of this DeleteEmailThreadAccountRq. + :param folder: The folder of this ClientMessageDeleteRequest. :type: str """ self._folder = folder @@ -136,7 +131,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeleteEmailThreadAccountRq): + if not isinstance(other, ClientMessageDeleteRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py new file mode 100644 index 0000000..91bf8ea --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py @@ -0,0 +1,62 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientMessageFetchFileRequest(object): + """ + Request model for client_message_fetch_file operation. + Initializes a new instance. + + :param message_id (str) Message identifier + :param account (str) Email account + :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) + :param storage (str) Storage name where account file located. + :param account_storage_folder (str) Folder in storage where account file located. + :param format (str) Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + + def __init__(self, message_id: str, account: str, folder: str = None, storage: str = None, account_storage_folder: str = None, format: str = None): + """ + Request model for client_message_fetch_file operation. + Initializes a new instance. + + :param message_id (str) Message identifier + :param account (str) Email account + :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) + :param storage (str) Storage name where account file located. + :param account_storage_folder (str) Folder in storage where account file located. + :param format (str) Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + + self.message_id = message_id + self.account = account + self.folder = folder + self.storage = storage + self.account_storage_folder = account_storage_folder + self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py new file mode 100644 index 0000000..2c864cb --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py @@ -0,0 +1,65 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientMessageFetchRequest(object): + """ + Request model for client_message_fetch operation. + Initializes a new instance. + + :param message_id (str) Message identifier + :param account (str) Email account + :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) + :param storage (str) Storage name where account file located. + :param account_storage_folder (str) Folder in storage where account file located. + :param type (str) MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 + :param format (str) Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + + def __init__(self, message_id: str, account: str, folder: str = None, storage: str = None, account_storage_folder: str = None, type: str = None, format: str = None): + """ + Request model for client_message_fetch operation. + Initializes a new instance. + + :param message_id (str) Message identifier + :param account (str) Email account + :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) + :param storage (str) Storage name where account file located. + :param account_storage_folder (str) Folder in storage where account file located. + :param type (str) MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 + :param format (str) Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + + self.message_id = message_id + self.account = account + self.folder = folder + self.storage = storage + self.account_storage_folder = account_storage_folder + self.type = type + self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py new file mode 100644 index 0000000..2e98b31 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py @@ -0,0 +1,68 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientMessageListRequest(object): + """ + Request model for client_message_list operation. + Initializes a new instance. + + :param folder (str) A folder in email account + :param account (str) Email account + :param query_string (str) A MailQuery search string + :param storage (str) Storage name where account file located + :param account_storage_folder (str) Folder in storage where account file located + :param recursive (bool) Specifies that should message be searched in subfolders recursively + :param type (str) MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 + :param format (str) Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + + def __init__(self, folder: str, account: str, query_string: str = None, storage: str = None, account_storage_folder: str = None, recursive: bool = None, type: str = None, format: str = None): + """ + Request model for client_message_list operation. + Initializes a new instance. + + :param folder (str) A folder in email account + :param account (str) Email account + :param query_string (str) A MailQuery search string + :param storage (str) Storage name where account file located + :param account_storage_folder (str) Folder in storage where account file located + :param recursive (bool) Specifies that should message be searched in subfolders recursively + :param type (str) MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 + :param format (str) Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + + self.folder = folder + self.account = account + self.query_string = query_string + self.storage = storage + self.account_storage_folder = account_storage_folder + self.recursive = recursive + self.type = type + self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/move_email_message_rq.py b/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py similarity index 58% rename from sdk/AsposeEmailCloudSdk/models/move_email_message_rq.py rename to sdk/AsposeEmailCloudSdk/models/client_message_move_request.py index 690f2e4..8f97aca 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_email_message_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,12 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.client_message_base_request import ClientMessageBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class MoveEmailMessageRq(AccountBaseRequest): - """Move email message request +class ClientMessageMoveRequest(ClientMessageBaseRequest): + """Email client move message request. """ """ @@ -46,45 +46,34 @@ class MoveEmailMessageRq(AccountBaseRequest): and the value is json key in definition. """ swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', + 'account_location': 'StorageFileLocation', 'message_id': 'str', 'source_folder': 'str', 'destination_folder': 'str' } attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', + 'account_location': 'accountLocation', 'message_id': 'messageId', 'source_folder': 'sourceFolder', 'destination_folder': 'destinationFolder' } - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, message_id: str = None, source_folder: str = None, destination_folder: str = None): + def __init__(self, account_location: StorageFileLocation = None, message_id: str = None, source_folder: str = None, destination_folder: str = None): """ - Move email message request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param message_id (str) Message identifier - :param source_folder (str) Message source folder. Account root folder by default - :param destination_folder (str) Folder in email account to move message to + Email client move message request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param message_id (str) Message identifier. + :param source_folder (str) Folder to move message from. + :param destination_folder (str) Folder to move message to. """ - super(MoveEmailMessageRq, self).__init__() + super(ClientMessageMoveRequest, self).__init__() - self._message_id = None self._source_folder = None self._destination_folder = None - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder + if account_location is not None: + self.account_location = account_location if message_id is not None: self.message_id = message_id if source_folder is not None: @@ -92,70 +81,52 @@ def __init__(self, first_account: str = None, second_account: str = None, storag if destination_folder is not None: self.destination_folder = destination_folder - @property - def message_id(self) -> str: - """Gets the message_id of this MoveEmailMessageRq. - - Message identifier - - :return: The message_id of this MoveEmailMessageRq. - :rtype: str - """ - return self._message_id - - @message_id.setter - def message_id(self, message_id: str): - """Sets the message_id of this MoveEmailMessageRq. - - Message identifier - - :param message_id: The message_id of this MoveEmailMessageRq. - :type: str - """ - self._message_id = message_id - @property def source_folder(self) -> str: - """Gets the source_folder of this MoveEmailMessageRq. + """Gets the source_folder of this ClientMessageMoveRequest. - Message source folder. Account root folder by default + Folder to move message from. - :return: The source_folder of this MoveEmailMessageRq. + :return: The source_folder of this ClientMessageMoveRequest. :rtype: str """ return self._source_folder @source_folder.setter def source_folder(self, source_folder: str): - """Sets the source_folder of this MoveEmailMessageRq. + """Sets the source_folder of this ClientMessageMoveRequest. - Message source folder. Account root folder by default + Folder to move message from. - :param source_folder: The source_folder of this MoveEmailMessageRq. + :param source_folder: The source_folder of this ClientMessageMoveRequest. :type: str """ self._source_folder = source_folder @property def destination_folder(self) -> str: - """Gets the destination_folder of this MoveEmailMessageRq. + """Gets the destination_folder of this ClientMessageMoveRequest. - Folder in email account to move message to + Folder to move message to. - :return: The destination_folder of this MoveEmailMessageRq. + :return: The destination_folder of this ClientMessageMoveRequest. :rtype: str """ return self._destination_folder @destination_folder.setter def destination_folder(self, destination_folder: str): - """Sets the destination_folder of this MoveEmailMessageRq. + """Sets the destination_folder of this ClientMessageMoveRequest. - Folder in email account to move message to + Folder to move message to. - :param destination_folder: The destination_folder of this MoveEmailMessageRq. + :param destination_folder: The destination_folder of this ClientMessageMoveRequest. :type: str """ + if destination_folder is None: + raise ValueError("Invalid value for `destination_folder`, must not be `None`") + if destination_folder is not None and len(destination_folder) < 1: + raise ValueError("Invalid value for `destination_folder`, length must be greater than or equal to `1`") self._destination_folder = destination_folder def to_dict(self): @@ -192,7 +163,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, MoveEmailMessageRq): + if not isinstance(other, ClientMessageMoveRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py new file mode 100644 index 0000000..dbbc3df --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py @@ -0,0 +1,60 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientMessageSendFileRequest(object): + """ + Request model for client_message_send_file operation. + Initializes a new instance. + + :param account (str) Email account + :param file (str) File to send + :param storage (str) Storage name where account file located. + :param account_storage_folder (str) Folder in storage where account file located. + :param format (str) Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + + def __init__(self, account: str, file: str, storage: str = None, account_storage_folder: str = None, format: str = None): + """ + Request model for client_message_send_file operation. + Initializes a new instance. + + :param account (str) Email account + :param file (str) File to send + :param storage (str) Storage name where account file located. + :param account_storage_folder (str) Folder in storage where account file located. + :param format (str) Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + + self.account = account + self.file = file + self.storage = storage + self.account_storage_folder = account_storage_folder + self.format = format + diff --git a/sdk/AsposeEmailCloudSdk/models/send_email_model_rq.py b/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py similarity index 64% rename from sdk/AsposeEmailCloudSdk/models/send_email_model_rq.py rename to sdk/AsposeEmailCloudSdk/models/client_message_send_request.py index c8eb11c..ca78944 100644 --- a/sdk/AsposeEmailCloudSdk/models/send_email_model_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,13 +30,13 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.email_dto import EmailDto -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.client_account_base_request import ClientAccountBaseRequest +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class SendEmailModelRq(AccountBaseRequest): - """Send email model request +class ClientMessageSendRequest(ClientAccountBaseRequest): + """Email client send message request. """ """ @@ -47,60 +47,52 @@ class SendEmailModelRq(AccountBaseRequest): and the value is json key in definition. """ swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'message': 'EmailDto' + 'account_location': 'StorageFileLocation', + 'message': 'MailMessageBase' } attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', + 'account_location': 'accountLocation', 'message': 'message' } - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, message: EmailDto = None): + def __init__(self, account_location: StorageFileLocation = None, message: MailMessageBase = None): """ - Send email model request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param message (EmailDto) Message to send + Email client send message request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param message (MailMessageBase) Message to send """ - super(SendEmailModelRq, self).__init__() + super(ClientMessageSendRequest, self).__init__() self._message = None - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder + if account_location is not None: + self.account_location = account_location if message is not None: self.message = message @property - def message(self) -> EmailDto: - """Gets the message of this SendEmailModelRq. + def message(self) -> MailMessageBase: + """Gets the message of this ClientMessageSendRequest. Message to send - :return: The message of this SendEmailModelRq. - :rtype: EmailDto + :return: The message of this ClientMessageSendRequest. + :rtype: MailMessageBase """ return self._message @message.setter - def message(self, message: EmailDto): - """Sets the message of this SendEmailModelRq. + def message(self, message: MailMessageBase): + """Sets the message of this ClientMessageSendRequest. Message to send - :param message: The message of this SendEmailModelRq. - :type: EmailDto + :param message: The message of this ClientMessageSendRequest. + :type: MailMessageBase """ + if message is None: + raise ValueError("Invalid value for `message`, must not be `None`") self._message = message def to_dict(self): @@ -137,7 +129,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, SendEmailModelRq): + if not isinstance(other, ClientMessageSendRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_storage_image_rq.py b/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py similarity index 60% rename from sdk/AsposeEmailCloudSdk/models/ai_bcr_storage_image_rq.py rename to sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py index 4386d1b..03efadd 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_storage_image_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,13 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.ai_bcr_image_storage_file import AiBcrImageStorageFile -from AsposeEmailCloudSdk.models.ai_bcr_options import AiBcrOptions -from AsposeEmailCloudSdk.models.ai_bcr_rq import AiBcrRq +from AsposeEmailCloudSdk.models.client_message_base_request import ClientMessageBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class AiBcrStorageImageRq(AiBcrRq): - """Business card images from storage for recognition +class ClientMessageSetIsReadRequest(ClientMessageBaseRequest): + """Email client mark message is read/unread request. """ """ @@ -47,53 +46,58 @@ class AiBcrStorageImageRq(AiBcrRq): and the value is json key in definition. """ swagger_types = { - 'options': 'AiBcrOptions', - 'images': 'list[AiBcrImageStorageFile]' + 'account_location': 'StorageFileLocation', + 'message_id': 'str', + 'is_read': 'bool' } attribute_map = { - 'options': 'options', - 'images': 'images' + 'account_location': 'accountLocation', + 'message_id': 'messageId', + 'is_read': 'isRead' } - def __init__(self, options: AiBcrOptions = None, images: List[AiBcrImageStorageFile] = None): + def __init__(self, account_location: StorageFileLocation = None, message_id: str = None, is_read: bool = None): """ - Business card images from storage for recognition - :param options (AiBcrOptions) Recognition options - :param images (List[AiBcrImageStorageFile]) List of images with business cards + Email client mark message is read/unread request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param message_id (str) Message identifier. + :param is_read (bool) Message is read flag. """ - super(AiBcrStorageImageRq, self).__init__() + super(ClientMessageSetIsReadRequest, self).__init__() - self._images = None + self._is_read = None - if options is not None: - self.options = options - if images is not None: - self.images = images + if account_location is not None: + self.account_location = account_location + if message_id is not None: + self.message_id = message_id + if is_read is not None: + self.is_read = is_read @property - def images(self) -> List[AiBcrImageStorageFile]: - """Gets the images of this AiBcrStorageImageRq. + def is_read(self) -> bool: + """Gets the is_read of this ClientMessageSetIsReadRequest. - List of images with business cards + Message is read flag. - :return: The images of this AiBcrStorageImageRq. - :rtype: list[AiBcrImageStorageFile] + :return: The is_read of this ClientMessageSetIsReadRequest. + :rtype: bool """ - return self._images + return self._is_read - @images.setter - def images(self, images: List[AiBcrImageStorageFile]): - """Sets the images of this AiBcrStorageImageRq. + @is_read.setter + def is_read(self, is_read: bool): + """Sets the is_read of this ClientMessageSetIsReadRequest. - List of images with business cards + Message is read flag. - :param images: The images of this AiBcrStorageImageRq. - :type: list[AiBcrImageStorageFile] + :param is_read: The is_read of this ClientMessageSetIsReadRequest. + :type: bool """ - if images is None: - raise ValueError("Invalid value for `images`, must not be `None`") - self._images = images + if is_read is None: + raise ValueError("Invalid value for `is_read`, must not be `None`") + self._is_read = is_read def to_dict(self): """Returns the model properties as a dict""" @@ -129,7 +133,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AiBcrStorageImageRq): + if not isinstance(other, ClientMessageSetIsReadRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/base_object.py b/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py similarity index 62% rename from sdk/AsposeEmailCloudSdk/models/base_object.py rename to sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py index 1deed18..526ac2a 100644 --- a/sdk/AsposeEmailCloudSdk/models/base_object.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,9 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime +from AsposeEmailCloudSdk.models.client_account_base_request import ClientAccountBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class BaseObject(object): - """Base property object + +class ClientThreadBaseRequest(ClientAccountBaseRequest): + """Email client thread request. """ """ @@ -43,73 +46,55 @@ class BaseObject(object): and the value is json key in definition. """ swagger_types = { - 'name': 'str', - 'type': 'str' + 'account_location': 'StorageFileLocation', + 'thread_id': 'str' } attribute_map = { - 'name': 'name', - 'type': 'type' + 'account_location': 'accountLocation', + 'thread_id': 'threadId' } - def __init__(self, name: str = None, type: str = None): - """ - Base property object - :param name (str) Gets or sets the name of an object. - :param type (str) Property type. Used for deserialization purposes + def __init__(self, account_location: StorageFileLocation = None, thread_id: str = None): """ - - self._name = None - self._type = self.__class__.__name__ - - if name is not None: - self.name = name - if type is not None: - self.type = type - - @property - def name(self) -> str: - """Gets the name of this BaseObject. - - Gets or sets the name of an object. - - :return: The name of this BaseObject. - :rtype: str + Email client thread request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param thread_id (str) Thread identifier. """ - return self._name + super(ClientThreadBaseRequest, self).__init__() - @name.setter - def name(self, name: str): - """Sets the name of this BaseObject. + self._thread_id = None - Gets or sets the name of an object. - - :param name: The name of this BaseObject. - :type: str - """ - self._name = name + if account_location is not None: + self.account_location = account_location + if thread_id is not None: + self.thread_id = thread_id @property - def type(self) -> str: - """Gets the type of this BaseObject. + def thread_id(self) -> str: + """Gets the thread_id of this ClientThreadBaseRequest. - Property type. Used for deserialization purposes + Thread identifier. - :return: The type of this BaseObject. + :return: The thread_id of this ClientThreadBaseRequest. :rtype: str """ - return self.__class__.__name__ + return self._thread_id - @type.setter - def type(self, type: str): - """Sets the type of this BaseObject. + @thread_id.setter + def thread_id(self, thread_id: str): + """Sets the thread_id of this ClientThreadBaseRequest. - Property type. Used for deserialization purposes + Thread identifier. - :param type: The type of this BaseObject. + :param thread_id: The thread_id of this ClientThreadBaseRequest. :type: str """ - self._type = self.__class__.__name__ + if thread_id is None: + raise ValueError("Invalid value for `thread_id`, must not be `None`") + if thread_id is not None and len(thread_id) < 1: + raise ValueError("Invalid value for `thread_id`, length must be greater than or equal to `1`") + self._thread_id = thread_id def to_dict(self): """Returns the model properties as a dict""" @@ -145,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, BaseObject): + if not isinstance(other, ClientThreadBaseRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py new file mode 100644 index 0000000..8563505 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py @@ -0,0 +1,141 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.client_thread_base_request import ClientThreadBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation + + +class ClientThreadDeleteRequest(ClientThreadBaseRequest): + """Delete email client thread request. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_location': 'StorageFileLocation', + 'thread_id': 'str', + 'folder': 'str' + } + + attribute_map = { + 'account_location': 'accountLocation', + 'thread_id': 'threadId', + 'folder': 'folder' + } + + def __init__(self, account_location: StorageFileLocation = None, thread_id: str = None, folder: str = None): + """ + Delete email client thread request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param thread_id (str) Thread identifier. + :param folder (str) Folder on email server, where thread is stored. + """ + super(ClientThreadDeleteRequest, self).__init__() + + self._folder = None + + if account_location is not None: + self.account_location = account_location + if thread_id is not None: + self.thread_id = thread_id + if folder is not None: + self.folder = folder + + @property + def folder(self) -> str: + """Gets the folder of this ClientThreadDeleteRequest. + + Folder on email server, where thread is stored. + + :return: The folder of this ClientThreadDeleteRequest. + :rtype: str + """ + return self._folder + + @folder.setter + def folder(self, folder: str): + """Sets the folder of this ClientThreadDeleteRequest. + + Folder on email server, where thread is stored. + + :param folder: The folder of this ClientThreadDeleteRequest. + :type: str + """ + self._folder = folder + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ClientThreadDeleteRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py new file mode 100644 index 0000000..f72c451 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py @@ -0,0 +1,62 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientThreadGetListRequest(object): + """ + Request model for client_thread_get_list operation. + Initializes a new instance. + + :param folder (str) A folder in email account. + :param account (str) Email account + :param storage (str) Storage name where account file located + :param account_storage_folder (str) Folder in storage where account file located + :param update_folder_cache (bool) This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account + :param messages_cache_limit (int) Limit messages cache size if CacheFile is used. Ignored in accounts without limits support + """ + + def __init__(self, folder: str, account: str, storage: str = None, account_storage_folder: str = None, update_folder_cache: bool = None, messages_cache_limit: int = None): + """ + Request model for client_thread_get_list operation. + Initializes a new instance. + + :param folder (str) A folder in email account. + :param account (str) Email account + :param storage (str) Storage name where account file located + :param account_storage_folder (str) Folder in storage where account file located + :param update_folder_cache (bool) This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account + :param messages_cache_limit (int) Limit messages cache size if CacheFile is used. Ignored in accounts without limits support + """ + + self.folder = folder + self.account = account + self.storage = storage + self.account_storage_folder = account_storage_folder + self.update_folder_cache = update_folder_cache + self.messages_cache_limit = messages_cache_limit diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py new file mode 100644 index 0000000..53800f7 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py @@ -0,0 +1,60 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ClientThreadGetMessagesRequest(object): + """ + Request model for client_thread_get_messages operation. + Initializes a new instance. + + :param thread_id (str) Thread identifier + :param account (str) Email account + :param folder (str) Specifies account folder to get thread from + :param storage (str) Storage name where account file located + :param account_storage_folder (str) Folder in storage where account file located + """ + + def __init__(self, thread_id: str, account: str, folder: str = None, storage: str = None, account_storage_folder: str = None): + """ + Request model for client_thread_get_messages operation. + Initializes a new instance. + + :param thread_id (str) Thread identifier + :param account (str) Email account + :param folder (str) Specifies account folder to get thread from + :param storage (str) Storage name where account file located + :param account_storage_folder (str) Folder in storage where account file located + """ + + self.thread_id = thread_id + self.account = account + self.folder = folder + self.storage = storage + self.account_storage_folder = account_storage_folder + diff --git a/sdk/AsposeEmailCloudSdk/models/move_email_thread_rq.py b/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py similarity index 67% rename from sdk/AsposeEmailCloudSdk/models/move_email_thread_rq.py rename to sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py index 5bb93f1..deb983f 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_email_thread_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,12 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.client_thread_base_request import ClientThreadBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class MoveEmailThreadRq(AccountBaseRequest): - """Email thread move request +class ClientThreadMoveRequest(ClientThreadBaseRequest): + """Email client move thread request. """ """ @@ -46,60 +46,59 @@ class MoveEmailThreadRq(AccountBaseRequest): and the value is json key in definition. """ swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', + 'account_location': 'StorageFileLocation', + 'thread_id': 'str', 'destination_folder': 'str' } attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', + 'account_location': 'accountLocation', + 'thread_id': 'threadId', 'destination_folder': 'destinationFolder' } - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, destination_folder: str = None): + def __init__(self, account_location: StorageFileLocation = None, thread_id: str = None, destination_folder: str = None): """ - Email thread move request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param destination_folder (str) Email account folder to move thread to + Email client move thread request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param thread_id (str) Thread identifier. + :param destination_folder (str) Email account folder to move thread to. """ - super(MoveEmailThreadRq, self).__init__() + super(ClientThreadMoveRequest, self).__init__() self._destination_folder = None - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder + if account_location is not None: + self.account_location = account_location + if thread_id is not None: + self.thread_id = thread_id if destination_folder is not None: self.destination_folder = destination_folder @property def destination_folder(self) -> str: - """Gets the destination_folder of this MoveEmailThreadRq. + """Gets the destination_folder of this ClientThreadMoveRequest. - Email account folder to move thread to + Email account folder to move thread to. - :return: The destination_folder of this MoveEmailThreadRq. + :return: The destination_folder of this ClientThreadMoveRequest. :rtype: str """ return self._destination_folder @destination_folder.setter def destination_folder(self, destination_folder: str): - """Sets the destination_folder of this MoveEmailThreadRq. + """Sets the destination_folder of this ClientThreadMoveRequest. - Email account folder to move thread to + Email account folder to move thread to. - :param destination_folder: The destination_folder of this MoveEmailThreadRq. + :param destination_folder: The destination_folder of this ClientThreadMoveRequest. :type: str """ + if destination_folder is None: + raise ValueError("Invalid value for `destination_folder`, must not be `None`") + if destination_folder is not None and len(destination_folder) < 1: + raise ValueError("Invalid value for `destination_folder`, length must be greater than or equal to `1`") self._destination_folder = destination_folder def to_dict(self): @@ -136,7 +135,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, MoveEmailThreadRq): + if not isinstance(other, ClientThreadMoveRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/email_thread_read_flag_rq.py b/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py similarity index 62% rename from sdk/AsposeEmailCloudSdk/models/email_thread_read_flag_rq.py rename to sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py index 7c06b26..12b2f20 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_thread_read_flag_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,12 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.client_thread_base_request import ClientThreadBaseRequest +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class EmailThreadReadFlagRq(AccountBaseRequest): - """Request to mark all messages in thread as read or unread +class ClientThreadSetIsReadRequest(ClientThreadBaseRequest): + """Mark thread messages as read or unread request. """ """ @@ -46,41 +46,36 @@ class EmailThreadReadFlagRq(AccountBaseRequest): and the value is json key in definition. """ swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', + 'account_location': 'StorageFileLocation', + 'thread_id': 'str', 'is_read': 'bool', 'folder': 'str' } attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', + 'account_location': 'accountLocation', + 'thread_id': 'threadId', 'is_read': 'isRead', 'folder': 'folder' } - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, is_read: bool = None, folder: str = None): + def __init__(self, account_location: StorageFileLocation = None, thread_id: str = None, is_read: bool = None, folder: str = None): """ - Request to mark all messages in thread as read or unread - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param is_read (bool) Read flag to set. \"true\" by default - :param folder (str) Specifies account folder to get thread from + Mark thread messages as read or unread request. + :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param thread_id (str) Thread identifier. + :param is_read (bool) Message is read flag. + :param folder (str) Folder on email server, where thread is stored. """ - super(EmailThreadReadFlagRq, self).__init__() + super(ClientThreadSetIsReadRequest, self).__init__() self._is_read = None self._folder = None - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder + if account_location is not None: + self.account_location = account_location + if thread_id is not None: + self.thread_id = thread_id if is_read is not None: self.is_read = is_read if folder is not None: @@ -88,22 +83,22 @@ def __init__(self, first_account: str = None, second_account: str = None, storag @property def is_read(self) -> bool: - """Gets the is_read of this EmailThreadReadFlagRq. + """Gets the is_read of this ClientThreadSetIsReadRequest. - Read flag to set. \"true\" by default + Message is read flag. - :return: The is_read of this EmailThreadReadFlagRq. + :return: The is_read of this ClientThreadSetIsReadRequest. :rtype: bool """ return self._is_read @is_read.setter def is_read(self, is_read: bool): - """Sets the is_read of this EmailThreadReadFlagRq. + """Sets the is_read of this ClientThreadSetIsReadRequest. - Read flag to set. \"true\" by default + Message is read flag. - :param is_read: The is_read of this EmailThreadReadFlagRq. + :param is_read: The is_read of this ClientThreadSetIsReadRequest. :type: bool """ if is_read is None: @@ -112,22 +107,22 @@ def is_read(self, is_read: bool): @property def folder(self) -> str: - """Gets the folder of this EmailThreadReadFlagRq. + """Gets the folder of this ClientThreadSetIsReadRequest. - Specifies account folder to get thread from + Folder on email server, where thread is stored. - :return: The folder of this EmailThreadReadFlagRq. + :return: The folder of this ClientThreadSetIsReadRequest. :rtype: str """ return self._folder @folder.setter def folder(self, folder: str): - """Sets the folder of this EmailThreadReadFlagRq. + """Sets the folder of this ClientThreadSetIsReadRequest. - Specifies account folder to get thread from + Folder on email server, where thread is stored. - :param folder: The folder of this EmailThreadReadFlagRq. + :param folder: The folder of this ClientThreadSetIsReadRequest. :type: str """ self._folder = folder @@ -166,7 +161,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, EmailThreadReadFlagRq): + if not isinstance(other, ClientThreadSetIsReadRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py similarity index 66% rename from sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_contact_dto.py rename to sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py index 790cb1f..0fe0f12 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,11 +31,10 @@ from datetime import datetime from AsposeEmailCloudSdk.models.contact_dto import ContactDto -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation -class StorageModelRqOfContactDto(object): - """ +class ContactAsFileRequest(object): + """Convert contact model to file request. """ """ @@ -46,69 +45,77 @@ class StorageModelRqOfContactDto(object): and the value is json key in definition. """ swagger_types = { - 'value': 'ContactDto', - 'storage_folder': 'StorageFolderLocation' + 'format': 'str', + 'value': 'ContactDto' } attribute_map = { - 'value': 'value', - 'storage_folder': 'storageFolder' + 'format': 'format', + 'value': 'value' } - def __init__(self, value: ContactDto = None, storage_folder: StorageFolderLocation = None): + def __init__(self, format: str = None, value: ContactDto = None): """ - - :param value (ContactDto) - :param storage_folder (StorageFolderLocation) + Convert contact model to file request. + :param format (str) Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :param value (ContactDto) Contact model. """ + self._format = None self._value = None - self._storage_folder = None + if format is not None: + self.format = format if value is not None: self.value = value - if storage_folder is not None: - self.storage_folder = storage_folder @property - def value(self) -> ContactDto: - """Gets the value of this StorageModelRqOfContactDto. + def format(self) -> str: + """Gets the format of this ContactAsFileRequest. + Enumerates contact formats. Enum, available values: VCard, WebDav, Msg - :return: The value of this StorageModelRqOfContactDto. - :rtype: ContactDto + :return: The format of this ContactAsFileRequest. + :rtype: str """ - return self._value + return self._format - @value.setter - def value(self, value: ContactDto): - """Sets the value of this StorageModelRqOfContactDto. + @format.setter + def format(self, format: str): + """Sets the format of this ContactAsFileRequest. + Enumerates contact formats. Enum, available values: VCard, WebDav, Msg - :param value: The value of this StorageModelRqOfContactDto. - :type: ContactDto + :param format: The format of this ContactAsFileRequest. + :type: str """ - self._value = value + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this StorageModelRqOfContactDto. + def value(self) -> ContactDto: + """Gets the value of this ContactAsFileRequest. + Contact model. - :return: The storage_folder of this StorageModelRqOfContactDto. - :rtype: StorageFolderLocation + :return: The value of this ContactAsFileRequest. + :rtype: ContactDto """ - return self._storage_folder + return self._value - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this StorageModelRqOfContactDto. + @value.setter + def value(self, value: ContactDto): + """Sets the value of this ContactAsFileRequest. + Contact model. - :param storage_folder: The storage_folder of this StorageModelRqOfContactDto. - :type: StorageFolderLocation + :param value: The value of this ContactAsFileRequest. + :type: ContactDto """ - self._storage_folder = storage_folder + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value def to_dict(self): """Returns the model properties as a dict""" @@ -144,7 +151,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, StorageModelRqOfContactDto): + if not isinstance(other, ContactAsFileRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py b/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py new file mode 100644 index 0000000..839b44d --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py @@ -0,0 +1,53 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ContactConvertRequest(object): + """ + Request model for contact_convert operation. + Initializes a new instance. + + :param to_format (str) File format to convert to Enum, available values: VCard, WebDav, Msg + :param from_format (str) File format to convert from Enum, available values: VCard, WebDav, Msg + :param file (str) File to convert + """ + + def __init__(self, to_format: str, from_format: str, file: str): + """ + Request model for contact_convert operation. + Initializes a new instance. + + :param to_format (str) File format to convert to Enum, available values: VCard, WebDav, Msg + :param from_format (str) File format to convert from Enum, available values: VCard, WebDav, Msg + :param file (str) File to convert + """ + + self.to_format = to_format + self.from_format = from_format + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py new file mode 100644 index 0000000..88de74a --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ContactFromFileRequest(object): + """ + Request model for contact_from_file operation. + Initializes a new instance. + + :param format (str) File format Enum, available values: VCard, WebDav, Msg + :param file (str) File to convert + """ + + def __init__(self, format: str, file: str): + """ + Request model for contact_from_file operation. + Initializes a new instance. + + :param format (str) File format Enum, available values: VCard, WebDav, Msg + :param file (str) File to convert + """ + + self.format = format + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py new file mode 100644 index 0000000..0a5409d --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py @@ -0,0 +1,59 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ContactGetAsFileRequest(object): + """ + Request model for contact_get_as_file operation. + Initializes a new instance. + + :param file_name (str) Calendar document file name + :param to_format (str) File format Enum, available values: VCard, WebDav, Msg + :param from_format (str) File format to convert from Enum, available values: VCard, WebDav, Msg + :param storage (str) Storage name + :param folder (str) Path to folder in storage + """ + + def __init__(self, file_name: str, to_format: str, from_format: str, storage: str = None, folder: str = None): + """ + Request model for contact_get_as_file operation. + Initializes a new instance. + + :param file_name (str) Calendar document file name + :param to_format (str) File format Enum, available values: VCard, WebDav, Msg + :param from_format (str) File format to convert from Enum, available values: VCard, WebDav, Msg + :param storage (str) Storage name + :param folder (str) Path to folder in storage + """ + + self.file_name = file_name + self.to_format = to_format + self.from_format = from_format + self.storage = storage + self.folder = folder diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py new file mode 100644 index 0000000..ee770f7 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py @@ -0,0 +1,60 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ContactGetListRequest(object): + """ + Request model for contact_get_list operation. + Initializes a new instance. + + :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + :param items_per_page (int) Count of items on page. + :param page_number (int) Page number. + """ + + def __init__(self, format: str, folder: str = None, storage: str = None, items_per_page: int = None, page_number: int = None): + """ + Request model for contact_get_list operation. + Initializes a new instance. + + :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + :param items_per_page (int) Count of items on page. + :param page_number (int) Page number. + """ + + self.format = format + self.folder = folder + self.storage = storage + self.items_per_page = items_per_page + self.page_number = page_number + diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_request.py new file mode 100644 index 0000000..413576d --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_request.py @@ -0,0 +1,56 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ContactGetRequest(object): + """ + Request model for contact_get operation. + Initializes a new instance. + + :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg + :param file_name (str) Contact document file name. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + def __init__(self, format: str, file_name: str, folder: str = None, storage: str = None): + """ + Request model for contact_get operation. + Initializes a new instance. + + :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg + :param file_name (str) Contact document file name. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + self.format = format + self.file_name = file_name + self.folder = folder + self.storage = storage diff --git a/sdk/AsposeEmailCloudSdk/models/contact_list.py b/sdk/AsposeEmailCloudSdk/models/contact_list.py new file mode 100644 index 0000000..a73337a --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/contact_list.py @@ -0,0 +1,107 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.contact_dto import ContactDto +from AsposeEmailCloudSdk.models.list_response_of_contact_dto import ListResponseOfContactDto + + +class ContactList(ListResponseOfContactDto): + """List of VCard documents + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'list[ContactDto]' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value: List[ContactDto] = None): + """ + List of VCard documents + :param value (List[ContactDto]) + """ + super(ContactList, self).__init__() + + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ContactList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/contact_photo.py b/sdk/AsposeEmailCloudSdk/models/contact_photo.py index 3d4072a..451cab5 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_photo.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_photo.py @@ -117,6 +117,10 @@ def base64_data(self, base64_data: str): :param base64_data: The base64_data of this ContactPhoto. :type: str """ + if base64_data is None: + raise ValueError("Invalid value for `base64_data`, must not be `None`") + if base64_data is not None and len(base64_data) < 1: + raise ValueError("Invalid value for `base64_data`, length must be greater than or equal to `1`") self._base64_data = base64_data @property diff --git a/sdk/AsposeEmailCloudSdk/models/contact_save_request.py b/sdk/AsposeEmailCloudSdk/models/contact_save_request.py new file mode 100644 index 0000000..04946ad --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/contact_save_request.py @@ -0,0 +1,144 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.contact_dto import ContactDto +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_model_of_contact_dto import StorageModelOfContactDto + + +class ContactSaveRequest(StorageModelOfContactDto): + """Contact save to storage request + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'storage_file': 'StorageFileLocation', + 'value': 'ContactDto', + 'format': 'str' + } + + attribute_map = { + 'storage_file': 'storageFile', + 'value': 'value', + 'format': 'format' + } + + def __init__(self, storage_file: StorageFileLocation = None, value: ContactDto = None, format: str = None): + """ + Contact save to storage request + :param storage_file (StorageFileLocation) + :param value (ContactDto) + :param format (str) Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + """ + super(ContactSaveRequest, self).__init__() + + self._format = None + + if storage_file is not None: + self.storage_file = storage_file + if value is not None: + self.value = value + if format is not None: + self.format = format + + @property + def format(self) -> str: + """Gets the format of this ContactSaveRequest. + + Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + + :return: The format of this ContactSaveRequest. + :rtype: str + """ + return self._format + + @format.setter + def format(self, format: str): + """Sets the format of this ContactSaveRequest. + + Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + + :param format: The format of this ContactSaveRequest. + :type: str + """ + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ContactSaveRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/contact_dto_list.py b/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py similarity index 90% rename from sdk/AsposeEmailCloudSdk/models/contact_dto_list.py rename to sdk/AsposeEmailCloudSdk/models/contact_storage_list.py index 1f75d68..6b50f3d 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_dto_list.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -34,8 +34,8 @@ from AsposeEmailCloudSdk.models.storage_model_of_contact_dto import StorageModelOfContactDto -class ContactDtoList(ListResponseOfStorageModelOfContactDto): - """List of contact documents +class ContactStorageList(ListResponseOfStorageModelOfContactDto): + """Contact models list with corresponding storage locations. """ """ @@ -55,10 +55,10 @@ class ContactDtoList(ListResponseOfStorageModelOfContactDto): def __init__(self, value: List[StorageModelOfContactDto] = None): """ - List of contact documents + Contact models list with corresponding storage locations. :param value (List[StorageModelOfContactDto]) """ - super(ContactDtoList, self).__init__() + super(ContactStorageList, self).__init__() if value is not None: self.value = value @@ -97,7 +97,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ContactDtoList): + if not isinstance(other, ContactStorageList): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py new file mode 100644 index 0000000..ff669c0 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py @@ -0,0 +1,59 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CopyFileRequest(object): + """ + Request model for copy_file operation. + Initializes a new instance. + + :param src_path (str) Source file path e.g. '/folder/file.ext' + :param dest_path (str) Destination file path + :param src_storage_name (str) Source storage name + :param dest_storage_name (str) Destination storage name + :param version_id (str) File version ID to copy + """ + + def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None, version_id: str = None): + """ + Request model for copy_file operation. + Initializes a new instance. + + :param src_path (str) Source file path e.g. '/folder/file.ext' + :param dest_path (str) Destination file path + :param src_storage_name (str) Source storage name + :param dest_storage_name (str) Destination storage name + :param version_id (str) File version ID to copy + """ + + self.src_path = src_path + self.dest_path = dest_path + self.src_storage_name = src_storage_name + self.dest_storage_name = dest_storage_name + self.version_id = version_id diff --git a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py new file mode 100644 index 0000000..f143339 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py @@ -0,0 +1,56 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CopyFolderRequest(object): + """ + Request model for copy_folder operation. + Initializes a new instance. + + :param src_path (str) Source folder path e.g. '/src' + :param dest_path (str) Destination folder path e.g. '/dst' + :param src_storage_name (str) Source storage name + :param dest_storage_name (str) Destination storage name + """ + + def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None): + """ + Request model for copy_folder operation. + Initializes a new instance. + + :param src_path (str) Source folder path e.g. '/src' + :param dest_path (str) Destination folder path e.g. '/dst' + :param src_storage_name (str) Source storage name + :param dest_storage_name (str) Destination storage name + """ + + self.src_path = src_path + self.dest_path = dest_path + self.src_storage_name = src_storage_name + self.dest_storage_name = dest_storage_name diff --git a/sdk/AsposeEmailCloudSdk/models/create_email_request.py b/sdk/AsposeEmailCloudSdk/models/create_email_request.py deleted file mode 100644 index 68b2b2b..0000000 --- a/sdk/AsposeEmailCloudSdk/models/create_email_request.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.email_document import EmailDocument -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class CreateEmailRequest(object): - """Create email document request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email_document': 'EmailDocument', - 'storage_folder': 'StorageFolderLocation' - } - - attribute_map = { - 'email_document': 'emailDocument', - 'storage_folder': 'storageFolder' - } - - def __init__(self, email_document: EmailDocument = None, storage_folder: StorageFolderLocation = None): - """ - Create email document request - :param email_document (EmailDocument) An email document that should be created - :param storage_folder (StorageFolderLocation) Email document location in storage - """ - - self._email_document = None - self._storage_folder = None - - if email_document is not None: - self.email_document = email_document - if storage_folder is not None: - self.storage_folder = storage_folder - - @property - def email_document(self) -> EmailDocument: - """Gets the email_document of this CreateEmailRequest. - - An email document that should be created - - :return: The email_document of this CreateEmailRequest. - :rtype: EmailDocument - """ - return self._email_document - - @email_document.setter - def email_document(self, email_document: EmailDocument): - """Sets the email_document of this CreateEmailRequest. - - An email document that should be created - - :param email_document: The email_document of this CreateEmailRequest. - :type: EmailDocument - """ - if email_document is None: - raise ValueError("Invalid value for `email_document`, must not be `None`") - self._email_document = email_document - - @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this CreateEmailRequest. - - Email document location in storage - - :return: The storage_folder of this CreateEmailRequest. - :rtype: StorageFolderLocation - """ - return self._storage_folder - - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this CreateEmailRequest. - - Email document location in storage - - :param storage_folder: The storage_folder of this CreateEmailRequest. - :type: StorageFolderLocation - """ - self._storage_folder = storage_folder - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateEmailRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py new file mode 100644 index 0000000..df6e2d7 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class CreateFolderRequest(object): + """ + Request model for create_folder operation. + Initializes a new instance. + + :param path (str) Folder path to create e.g. 'folder_1/folder_2/' + :param storage_name (str) Storage name + """ + + def __init__(self, path: str, storage_name: str = None): + """ + Request model for create_folder operation. + Initializes a new instance. + + :param path (str) Folder path to create e.g. 'folder_1/folder_2/' + :param storage_name (str) Storage name + """ + + self.path = path + self.storage_name = storage_name diff --git a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py new file mode 100644 index 0000000..ece50a6 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py @@ -0,0 +1,53 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class DeleteFileRequest(object): + """ + Request model for delete_file operation. + Initializes a new instance. + + :param path (str) File path e.g. '/folder/file.ext' + :param storage_name (str) Storage name + :param version_id (str) File version ID to delete + """ + + def __init__(self, path: str, storage_name: str = None, version_id: str = None): + """ + Request model for delete_file operation. + Initializes a new instance. + + :param path (str) File path e.g. '/folder/file.ext' + :param storage_name (str) Storage name + :param version_id (str) File version ID to delete + """ + + self.path = path + self.storage_name = storage_name + self.version_id = version_id diff --git a/sdk/AsposeEmailCloudSdk/models/delete_folder_base_request.py b/sdk/AsposeEmailCloudSdk/models/delete_folder_base_request.py deleted file mode 100644 index 6a699e1..0000000 --- a/sdk/AsposeEmailCloudSdk/models/delete_folder_base_request.py +++ /dev/null @@ -1,180 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class DeleteFolderBaseRequest(AccountBaseRequest): - """Delete folder request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'folder': 'str', - 'delete_permanently': 'bool' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'folder': 'folder', - 'delete_permanently': 'deletePermanently' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, folder: str = None, delete_permanently: bool = None): - """ - Delete folder request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param folder (str) Folder name - :param delete_permanently (bool) Specifies that folder should be deleted permanently - """ - super(DeleteFolderBaseRequest, self).__init__() - - self._folder = None - self._delete_permanently = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if folder is not None: - self.folder = folder - if delete_permanently is not None: - self.delete_permanently = delete_permanently - - @property - def folder(self) -> str: - """Gets the folder of this DeleteFolderBaseRequest. - - Folder name - - :return: The folder of this DeleteFolderBaseRequest. - :rtype: str - """ - return self._folder - - @folder.setter - def folder(self, folder: str): - """Sets the folder of this DeleteFolderBaseRequest. - - Folder name - - :param folder: The folder of this DeleteFolderBaseRequest. - :type: str - """ - if folder is None: - raise ValueError("Invalid value for `folder`, must not be `None`") - if folder is not None and len(folder) < 1: - raise ValueError("Invalid value for `folder`, length must be greater than or equal to `1`") - self._folder = folder - - @property - def delete_permanently(self) -> bool: - """Gets the delete_permanently of this DeleteFolderBaseRequest. - - Specifies that folder should be deleted permanently - - :return: The delete_permanently of this DeleteFolderBaseRequest. - :rtype: bool - """ - return self._delete_permanently - - @delete_permanently.setter - def delete_permanently(self, delete_permanently: bool): - """Sets the delete_permanently of this DeleteFolderBaseRequest. - - Specifies that folder should be deleted permanently - - :param delete_permanently: The delete_permanently of this DeleteFolderBaseRequest. - :type: bool - """ - if delete_permanently is None: - raise ValueError("Invalid value for `delete_permanently`, must not be `None`") - self._delete_permanently = delete_permanently - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteFolderBaseRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py new file mode 100644 index 0000000..701cc58 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py @@ -0,0 +1,53 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class DeleteFolderRequest(object): + """ + Request model for delete_folder operation. + Initializes a new instance. + + :param path (str) Folder path e.g. '/folder' + :param storage_name (str) Storage name + :param recursive (bool) Enable to delete folders, subfolders and files + """ + + def __init__(self, path: str, storage_name: str = None, recursive: bool = None): + """ + Request model for delete_folder operation. + Initializes a new instance. + + :param path (str) Folder path e.g. '/folder' + :param storage_name (str) Storage name + :param recursive (bool) Enable to delete folders, subfolders and files + """ + + self.path = path + self.storage_name = storage_name + self.recursive = recursive diff --git a/sdk/AsposeEmailCloudSdk/models/delete_message_base_request.py b/sdk/AsposeEmailCloudSdk/models/delete_message_base_request.py deleted file mode 100644 index 54678b7..0000000 --- a/sdk/AsposeEmailCloudSdk/models/delete_message_base_request.py +++ /dev/null @@ -1,208 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class DeleteMessageBaseRequest(AccountBaseRequest): - """Delete message request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'message_id': 'str', - 'folder': 'str', - 'delete_permanently': 'bool' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'message_id': 'messageId', - 'folder': 'folder', - 'delete_permanently': 'deletePermanently' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, message_id: str = None, folder: str = None, delete_permanently: bool = None): - """ - Delete message request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param message_id (str) Message identifier - :param folder (str) Account folder where message located. Should be specified for some accounts - :param delete_permanently (bool) Specifies that message should be deleted permanently - """ - super(DeleteMessageBaseRequest, self).__init__() - - self._message_id = None - self._folder = None - self._delete_permanently = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if message_id is not None: - self.message_id = message_id - if folder is not None: - self.folder = folder - if delete_permanently is not None: - self.delete_permanently = delete_permanently - - @property - def message_id(self) -> str: - """Gets the message_id of this DeleteMessageBaseRequest. - - Message identifier - - :return: The message_id of this DeleteMessageBaseRequest. - :rtype: str - """ - return self._message_id - - @message_id.setter - def message_id(self, message_id: str): - """Sets the message_id of this DeleteMessageBaseRequest. - - Message identifier - - :param message_id: The message_id of this DeleteMessageBaseRequest. - :type: str - """ - if message_id is None: - raise ValueError("Invalid value for `message_id`, must not be `None`") - if message_id is not None and len(message_id) < 1: - raise ValueError("Invalid value for `message_id`, length must be greater than or equal to `1`") - self._message_id = message_id - - @property - def folder(self) -> str: - """Gets the folder of this DeleteMessageBaseRequest. - - Account folder where message located. Should be specified for some accounts - - :return: The folder of this DeleteMessageBaseRequest. - :rtype: str - """ - return self._folder - - @folder.setter - def folder(self, folder: str): - """Sets the folder of this DeleteMessageBaseRequest. - - Account folder where message located. Should be specified for some accounts - - :param folder: The folder of this DeleteMessageBaseRequest. - :type: str - """ - self._folder = folder - - @property - def delete_permanently(self) -> bool: - """Gets the delete_permanently of this DeleteMessageBaseRequest. - - Specifies that message should be deleted permanently - - :return: The delete_permanently of this DeleteMessageBaseRequest. - :rtype: bool - """ - return self._delete_permanently - - @delete_permanently.setter - def delete_permanently(self, delete_permanently: bool): - """Sets the delete_permanently of this DeleteMessageBaseRequest. - - Specifies that message should be deleted permanently - - :param delete_permanently: The delete_permanently of this DeleteMessageBaseRequest. - :type: bool - """ - if delete_permanently is None: - raise ValueError("Invalid value for `delete_permanently`, must not be `None`") - self._delete_permanently = delete_permanently - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteMessageBaseRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/disc_usage.py b/sdk/AsposeEmailCloudSdk/models/disc_usage.py index 2c8daa6..5627f8a 100644 --- a/sdk/AsposeEmailCloudSdk/models/disc_usage.py +++ b/sdk/AsposeEmailCloudSdk/models/disc_usage.py @@ -32,7 +32,7 @@ class DiscUsage(object): - """ + """Class for disc space information. """ """ @@ -54,9 +54,9 @@ class DiscUsage(object): def __init__(self, used_size: int = None, total_size: int = None): """ - - :param used_size (int) - :param total_size (int) + Class for disc space information. + :param used_size (int) Application used disc space. + :param total_size (int) Total disc space. """ self._used_size = None @@ -71,6 +71,7 @@ def __init__(self, used_size: int = None, total_size: int = None): def used_size(self) -> int: """Gets the used_size of this DiscUsage. + Application used disc space. :return: The used_size of this DiscUsage. :rtype: int @@ -81,6 +82,7 @@ def used_size(self) -> int: def used_size(self, used_size: int): """Sets the used_size of this DiscUsage. + Application used disc space. :param used_size: The used_size of this DiscUsage. :type: int @@ -93,6 +95,7 @@ def used_size(self, used_size: int): def total_size(self) -> int: """Gets the total_size of this DiscUsage. + Total disc space. :return: The total_size of this DiscUsage. :rtype: int @@ -103,6 +106,7 @@ def total_size(self) -> int: def total_size(self, total_size: int): """Sets the total_size of this DiscUsage. + Total disc space. :param total_size: The total_size of this DiscUsage. :type: int diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py index 853c1fc..3207c46 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py @@ -30,10 +30,10 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.discover_email_config_rq import DiscoverEmailConfigRq +from AsposeEmailCloudSdk.models.discover_email_config_request import DiscoverEmailConfigRequest -class DiscoverEmailConfigOauth(DiscoverEmailConfigRq): +class DiscoverEmailConfigOauth(DiscoverEmailConfigRequest): """ """ diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py index 9109a80..f63bd92 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py @@ -30,10 +30,10 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.discover_email_config_rq import DiscoverEmailConfigRq +from AsposeEmailCloudSdk.models.discover_email_config_request import DiscoverEmailConfigRequest -class DiscoverEmailConfigPassword(DiscoverEmailConfigRq): +class DiscoverEmailConfigPassword(DiscoverEmailConfigRequest): """ """ diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_rq.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py similarity index 90% rename from sdk/AsposeEmailCloudSdk/models/discover_email_config_rq.py rename to sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py index 43e765a..f2d74c2 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_rq.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,7 +31,7 @@ from datetime import datetime -class DiscoverEmailConfigRq(object): +class DiscoverEmailConfigRequest(object): """Discover email configuration request. """ @@ -75,22 +75,22 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str @property def address(self) -> str: - """Gets the address of this DiscoverEmailConfigRq. + """Gets the address of this DiscoverEmailConfigRequest. Email address to discover. - :return: The address of this DiscoverEmailConfigRq. + :return: The address of this DiscoverEmailConfigRequest. :rtype: str """ return self._address @address.setter def address(self, address: str): - """Sets the address of this DiscoverEmailConfigRq. + """Sets the address of this DiscoverEmailConfigRequest. Email address to discover. - :param address: The address of this DiscoverEmailConfigRq. + :param address: The address of this DiscoverEmailConfigRequest. :type: str """ if address is None: @@ -101,22 +101,22 @@ def address(self, address: str): @property def fast_processing(self) -> bool: - """Gets the fast_processing of this DiscoverEmailConfigRq. + """Gets the fast_processing of this DiscoverEmailConfigRequest. Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. - :return: The fast_processing of this DiscoverEmailConfigRq. + :return: The fast_processing of this DiscoverEmailConfigRequest. :rtype: bool """ return self._fast_processing @fast_processing.setter def fast_processing(self, fast_processing: bool): - """Sets the fast_processing of this DiscoverEmailConfigRq. + """Sets the fast_processing of this DiscoverEmailConfigRequest. Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. - :param fast_processing: The fast_processing of this DiscoverEmailConfigRq. + :param fast_processing: The fast_processing of this DiscoverEmailConfigRequest. :type: bool """ if fast_processing is None: @@ -125,22 +125,22 @@ def fast_processing(self, fast_processing: bool): @property def login(self) -> str: - """Gets the login of this DiscoverEmailConfigRq. + """Gets the login of this DiscoverEmailConfigRequest. Email account login. If not specified, address used as a login. - :return: The login of this DiscoverEmailConfigRq. + :return: The login of this DiscoverEmailConfigRequest. :rtype: str """ return self._login @login.setter def login(self, login: str): - """Sets the login of this DiscoverEmailConfigRq. + """Sets the login of this DiscoverEmailConfigRequest. Email account login. If not specified, address used as a login. - :param login: The login of this DiscoverEmailConfigRq. + :param login: The login of this DiscoverEmailConfigRequest. :type: str """ self._login = login @@ -179,7 +179,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DiscoverEmailConfigRq): + if not isinstance(other, DiscoverEmailConfigRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py b/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py new file mode 100644 index 0000000..92b5e05 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py @@ -0,0 +1,48 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class DisposableEmailIsDisposableRequest(object): + """ + Request model for disposable_email_is_disposable operation. + Initializes a new instance. + + :param address (str) An email address to check + """ + + def __init__(self, address: str): + """ + Request model for disposable_email_is_disposable operation. + Initializes a new instance. + + :param address (str) An email address to check + """ + + self.address = address + diff --git a/sdk/AsposeEmailCloudSdk/models/download_file_request.py b/sdk/AsposeEmailCloudSdk/models/download_file_request.py new file mode 100644 index 0000000..63c6687 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/download_file_request.py @@ -0,0 +1,53 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class DownloadFileRequest(object): + """ + Request model for download_file operation. + Initializes a new instance. + + :param path (str) File path e.g. '/folder/file.ext' + :param storage_name (str) Storage name + :param version_id (str) File version ID to download + """ + + def __init__(self, path: str, storage_name: str = None, version_id: str = None): + """ + Request model for download_file operation. + Initializes a new instance. + + :param path (str) File path e.g. '/folder/file.ext' + :param storage_name (str) Storage name + :param version_id (str) File version ID to download + """ + + self.path = path + self.storage_name = storage_name + self.version_id = version_id diff --git a/sdk/AsposeEmailCloudSdk/models/email_account_request.py b/sdk/AsposeEmailCloudSdk/models/email_account_request.py deleted file mode 100644 index 4abfe9d..0000000 --- a/sdk/AsposeEmailCloudSdk/models/email_account_request.py +++ /dev/null @@ -1,317 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation - - -class EmailAccountRequest(object): - """Email account settings request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'host': 'str', - 'port': 'int', - 'login': 'str', - 'security_options': 'str', - 'protocol_type': 'str', - 'description': 'str', - 'storage_file': 'StorageFileLocation' - } - - attribute_map = { - 'host': 'host', - 'port': 'port', - 'login': 'login', - 'security_options': 'securityOptions', - 'protocol_type': 'protocolType', - 'description': 'description', - 'storage_file': 'storageFile' - } - - def __init__(self, host: str = None, port: int = None, login: str = None, security_options: str = None, protocol_type: str = None, description: str = None, storage_file: StorageFileLocation = None): - """ - Email account settings request - :param host (str) Email account host - :param port (int) Email account port - :param login (str) Email account login - :param security_options (str) Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto - :param protocol_type (str) Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav - :param description (str) Email account description - :param storage_file (StorageFileLocation) A storage file location info to store email account - """ - - self._host = None - self._port = None - self._login = None - self._security_options = None - self._protocol_type = None - self._description = None - self._storage_file = None - - if host is not None: - self.host = host - if port is not None: - self.port = port - if login is not None: - self.login = login - if security_options is not None: - self.security_options = security_options - if protocol_type is not None: - self.protocol_type = protocol_type - if description is not None: - self.description = description - if storage_file is not None: - self.storage_file = storage_file - - @property - def host(self) -> str: - """Gets the host of this EmailAccountRequest. - - Email account host - - :return: The host of this EmailAccountRequest. - :rtype: str - """ - return self._host - - @host.setter - def host(self, host: str): - """Sets the host of this EmailAccountRequest. - - Email account host - - :param host: The host of this EmailAccountRequest. - :type: str - """ - if host is None: - raise ValueError("Invalid value for `host`, must not be `None`") - if host is not None and len(host) < 1: - raise ValueError("Invalid value for `host`, length must be greater than or equal to `1`") - self._host = host - - @property - def port(self) -> int: - """Gets the port of this EmailAccountRequest. - - Email account port - - :return: The port of this EmailAccountRequest. - :rtype: int - """ - return self._port - - @port.setter - def port(self, port: int): - """Sets the port of this EmailAccountRequest. - - Email account port - - :param port: The port of this EmailAccountRequest. - :type: int - """ - if port is None: - raise ValueError("Invalid value for `port`, must not be `None`") - self._port = port - - @property - def login(self) -> str: - """Gets the login of this EmailAccountRequest. - - Email account login - - :return: The login of this EmailAccountRequest. - :rtype: str - """ - return self._login - - @login.setter - def login(self, login: str): - """Sets the login of this EmailAccountRequest. - - Email account login - - :param login: The login of this EmailAccountRequest. - :type: str - """ - if login is None: - raise ValueError("Invalid value for `login`, must not be `None`") - if login is not None and len(login) < 1: - raise ValueError("Invalid value for `login`, length must be greater than or equal to `1`") - self._login = login - - @property - def security_options(self) -> str: - """Gets the security_options of this EmailAccountRequest. - - Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto - - :return: The security_options of this EmailAccountRequest. - :rtype: str - """ - return self._security_options - - @security_options.setter - def security_options(self, security_options: str): - """Sets the security_options of this EmailAccountRequest. - - Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto - - :param security_options: The security_options of this EmailAccountRequest. - :type: str - """ - if security_options is None: - raise ValueError("Invalid value for `security_options`, must not be `None`") - if security_options is not None and len(security_options) < 1: - raise ValueError("Invalid value for `security_options`, length must be greater than or equal to `1`") - self._security_options = security_options - - @property - def protocol_type(self) -> str: - """Gets the protocol_type of this EmailAccountRequest. - - Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav - - :return: The protocol_type of this EmailAccountRequest. - :rtype: str - """ - return self._protocol_type - - @protocol_type.setter - def protocol_type(self, protocol_type: str): - """Sets the protocol_type of this EmailAccountRequest. - - Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav - - :param protocol_type: The protocol_type of this EmailAccountRequest. - :type: str - """ - if protocol_type is None: - raise ValueError("Invalid value for `protocol_type`, must not be `None`") - if protocol_type is not None and len(protocol_type) < 1: - raise ValueError("Invalid value for `protocol_type`, length must be greater than or equal to `1`") - self._protocol_type = protocol_type - - @property - def description(self) -> str: - """Gets the description of this EmailAccountRequest. - - Email account description - - :return: The description of this EmailAccountRequest. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description: str): - """Sets the description of this EmailAccountRequest. - - Email account description - - :param description: The description of this EmailAccountRequest. - :type: str - """ - self._description = description - - @property - def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this EmailAccountRequest. - - A storage file location info to store email account - - :return: The storage_file of this EmailAccountRequest. - :rtype: StorageFileLocation - """ - return self._storage_file - - @storage_file.setter - def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this EmailAccountRequest. - - A storage file location info to store email account - - :param storage_file: The storage_file of this EmailAccountRequest. - :type: StorageFileLocation - """ - if storage_file is None: - raise ValueError("Invalid value for `storage_file`, must not be `None`") - self._storage_file = storage_file - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EmailAccountRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_address.py b/sdk/AsposeEmailCloudSdk/models/email_address.py index 6ad45c1..e0ae005 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_address.py +++ b/sdk/AsposeEmailCloudSdk/models/email_address.py @@ -203,6 +203,10 @@ def address(self, address: str): :param address: The address of this EmailAddress. :type: str """ + if address is None: + raise ValueError("Invalid value for `address`, must not be `None`") + if address is not None and len(address) < 1: + raise ValueError("Invalid value for `address`, length must be greater than or equal to `1`") self._address = address @property diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py similarity index 66% rename from sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_email_dto.py rename to sdk/AsposeEmailCloudSdk/models/email_as_file_request.py index 8e9512d..e33e815 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,11 +31,10 @@ from datetime import datetime from AsposeEmailCloudSdk.models.email_dto import EmailDto -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation -class StorageModelRqOfEmailDto(object): - """ +class EmailAsFileRequest(object): + """Convert email model to file request. """ """ @@ -46,69 +45,77 @@ class StorageModelRqOfEmailDto(object): and the value is json key in definition. """ swagger_types = { - 'value': 'EmailDto', - 'storage_folder': 'StorageFolderLocation' + 'format': 'str', + 'value': 'EmailDto' } attribute_map = { - 'value': 'value', - 'storage_folder': 'storageFolder' + 'format': 'format', + 'value': 'value' } - def __init__(self, value: EmailDto = None, storage_folder: StorageFolderLocation = None): + def __init__(self, format: str = None, value: EmailDto = None): """ - - :param value (EmailDto) - :param storage_folder (StorageFolderLocation) + Convert email model to file request. + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param value (EmailDto) Email model. """ + self._format = None self._value = None - self._storage_folder = None + if format is not None: + self.format = format if value is not None: self.value = value - if storage_folder is not None: - self.storage_folder = storage_folder @property - def value(self) -> EmailDto: - """Gets the value of this StorageModelRqOfEmailDto. + def format(self) -> str: + """Gets the format of this EmailAsFileRequest. + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :return: The value of this StorageModelRqOfEmailDto. - :rtype: EmailDto + :return: The format of this EmailAsFileRequest. + :rtype: str """ - return self._value + return self._format - @value.setter - def value(self, value: EmailDto): - """Sets the value of this StorageModelRqOfEmailDto. + @format.setter + def format(self, format: str): + """Sets the format of this EmailAsFileRequest. + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param value: The value of this StorageModelRqOfEmailDto. - :type: EmailDto + :param format: The format of this EmailAsFileRequest. + :type: str """ - self._value = value + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this StorageModelRqOfEmailDto. + def value(self) -> EmailDto: + """Gets the value of this EmailAsFileRequest. + Email model. - :return: The storage_folder of this StorageModelRqOfEmailDto. - :rtype: StorageFolderLocation + :return: The value of this EmailAsFileRequest. + :rtype: EmailDto """ - return self._storage_folder + return self._value - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this StorageModelRqOfEmailDto. + @value.setter + def value(self, value: EmailDto): + """Sets the value of this EmailAsFileRequest. + Email model. - :param storage_folder: The storage_folder of this StorageModelRqOfEmailDto. - :type: StorageFolderLocation + :param value: The value of this EmailAsFileRequest. + :type: EmailDto """ - self._storage_folder = storage_folder + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value def to_dict(self): """Returns the model properties as a dict""" @@ -144,7 +151,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, StorageModelRqOfEmailDto): + if not isinstance(other, EmailAsFileRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py new file mode 100644 index 0000000..a6992a2 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py @@ -0,0 +1,113 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.email_client_account import EmailClientAccount +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_model_of_email_client_account import StorageModelOfEmailClientAccount + + +class EmailClientAccountSaveRequest(StorageModelOfEmailClientAccount): + """Email client account save request + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'storage_file': 'StorageFileLocation', + 'value': 'EmailClientAccount' + } + + attribute_map = { + 'storage_file': 'storageFile', + 'value': 'value' + } + + def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientAccount = None): + """ + Email client account save request + :param storage_file (StorageFileLocation) + :param value (EmailClientAccount) + """ + super(EmailClientAccountSaveRequest, self).__init__() + + if storage_file is not None: + self.storage_file = storage_file + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EmailClientAccountSaveRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py new file mode 100644 index 0000000..1947530 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py @@ -0,0 +1,113 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.email_client_multi_account import EmailClientMultiAccount +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_model_of_email_client_multi_account import StorageModelOfEmailClientMultiAccount + + +class EmailClientMultiAccountSaveRequest(StorageModelOfEmailClientMultiAccount): + """Email client multi account save request. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'storage_file': 'StorageFileLocation', + 'value': 'EmailClientMultiAccount' + } + + attribute_map = { + 'storage_file': 'storageFile', + 'value': 'value' + } + + def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientMultiAccount = None): + """ + Email client multi account save request. + :param storage_file (StorageFileLocation) + :param value (EmailClientMultiAccount) + """ + super(EmailClientMultiAccountSaveRequest, self).__init__() + + if storage_file is not None: + self.storage_file = storage_file + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EmailClientMultiAccountSaveRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py b/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py new file mode 100644 index 0000000..996de61 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py @@ -0,0 +1,51 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class EmailConfigDiscoverRequest(object): + """ + Request model for email_config_discover operation. + Initializes a new instance. + + :param address (str) Email address. + :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + """ + + def __init__(self, address: str, fast_processing: bool = None): + """ + Request model for email_config_discover operation. + Initializes a new instance. + + :param address (str) Email address. + :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + """ + + self.address = address + self.fast_processing = fast_processing + diff --git a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py new file mode 100644 index 0000000..dd12f9d --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class EmailConvertRequest(object): + """ + Request model for email_convert operation. + Initializes a new instance. + + :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file (str) File to convert + """ + + def __init__(self, format: str, file: str): + """ + Request model for email_convert operation. + Initializes a new instance. + + :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file (str) File to convert + """ + + self.format = format + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/email_document.py b/sdk/AsposeEmailCloudSdk/models/email_document.py deleted file mode 100644 index 7fdb5eb..0000000 --- a/sdk/AsposeEmailCloudSdk/models/email_document.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.email_properties import EmailProperties -from AsposeEmailCloudSdk.models.link import Link - - -class EmailDocument(object): - """Represents Email document DTO. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'links': 'list[Link]', - 'document_properties': 'EmailProperties' - } - - attribute_map = { - 'links': 'links', - 'document_properties': 'documentProperties' - } - - def __init__(self, links: List[Link] = None, document_properties: EmailProperties = None): - """ - Represents Email document DTO. - :param links (List[Link]) Links that originate from this document. - :param document_properties (EmailProperties) List of document properties. - """ - - self._links = None - self._document_properties = None - - if links is not None: - self.links = links - if document_properties is not None: - self.document_properties = document_properties - - @property - def links(self) -> List[Link]: - """Gets the links of this EmailDocument. - - Links that originate from this document. - - :return: The links of this EmailDocument. - :rtype: list[Link] - """ - return self._links - - @links.setter - def links(self, links: List[Link]): - """Sets the links of this EmailDocument. - - Links that originate from this document. - - :param links: The links of this EmailDocument. - :type: list[Link] - """ - self._links = links - - @property - def document_properties(self) -> EmailProperties: - """Gets the document_properties of this EmailDocument. - - List of document properties. - - :return: The document_properties of this EmailDocument. - :rtype: EmailProperties - """ - return self._document_properties - - @document_properties.setter - def document_properties(self, document_properties: EmailProperties): - """Sets the document_properties of this EmailDocument. - - List of document properties. - - :param document_properties: The document_properties of this EmailDocument. - :type: EmailProperties - """ - if document_properties is None: - raise ValueError("Invalid value for `document_properties`, must not be `None`") - self._document_properties = document_properties - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EmailDocument): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_document_response.py b/sdk/AsposeEmailCloudSdk/models/email_document_response.py deleted file mode 100644 index d74aad6..0000000 --- a/sdk/AsposeEmailCloudSdk/models/email_document_response.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.email_document import EmailDocument - - -class EmailDocumentResponse(object): - """An email document response - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'document': 'EmailDocument' - } - - attribute_map = { - 'document': 'document' - } - - def __init__(self, document: EmailDocument = None): - """ - An email document response - :param document (EmailDocument) An email document requested - """ - - self._document = None - - if document is not None: - self.document = document - - @property - def document(self) -> EmailDocument: - """Gets the document of this EmailDocumentResponse. - - An email document requested - - :return: The document of this EmailDocumentResponse. - :rtype: EmailDocument - """ - return self._document - - @document.setter - def document(self, document: EmailDocument): - """Sets the document of this EmailDocumentResponse. - - An email document requested - - :param document: The document of this EmailDocumentResponse. - :type: EmailDocument - """ - self._document = document - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EmailDocumentResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py new file mode 100644 index 0000000..3c02820 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class EmailFromFileRequest(object): + """ + Request model for email_from_file operation. + Initializes a new instance. + + :param format (str) Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file (str) File to convert + """ + + def __init__(self, format: str, file: str): + """ + Request model for email_from_file operation. + Initializes a new instance. + + :param format (str) Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file (str) File to convert + """ + + self.format = format + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py new file mode 100644 index 0000000..174ad51 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py @@ -0,0 +1,56 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class EmailGetAsFileRequest(object): + """ + Request model for email_get_as_file operation. + Initializes a new instance. + + :param file_name (str) Email document file name + :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param storage (str) Storage name + :param folder (str) Path to folder in storage + """ + + def __init__(self, file_name: str, format: str, storage: str = None, folder: str = None): + """ + Request model for email_get_as_file operation. + Initializes a new instance. + + :param file_name (str) Email document file name + :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param storage (str) Storage name + :param folder (str) Path to folder in storage + """ + + self.file_name = file_name + self.format = format + self.storage = storage + self.folder = folder diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py new file mode 100644 index 0000000..80f6105 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py @@ -0,0 +1,60 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class EmailGetListRequest(object): + """ + Request model for email_get_list operation. + Initializes a new instance. + + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + :param items_per_page (int) Count of items on page. + :param page_number (int) Page number. + """ + + def __init__(self, format: str, folder: str = None, storage: str = None, items_per_page: int = None, page_number: int = None): + """ + Request model for email_get_list operation. + Initializes a new instance. + + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + :param items_per_page (int) Count of items on page. + :param page_number (int) Page number. + """ + + self.format = format + self.folder = folder + self.storage = storage + self.items_per_page = items_per_page + self.page_number = page_number + diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_request.py new file mode 100644 index 0000000..a181ce4 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_get_request.py @@ -0,0 +1,56 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class EmailGetRequest(object): + """ + Request model for email_get operation. + Initializes a new instance. + + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file_name (str) Email document file name. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + def __init__(self, format: str, file_name: str, folder: str = None, storage: str = None): + """ + Request model for email_get operation. + Initializes a new instance. + + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file_name (str) Email document file name. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + self.format = format + self.file_name = file_name + self.folder = folder + self.storage = storage diff --git a/sdk/AsposeEmailCloudSdk/models/email_list.py b/sdk/AsposeEmailCloudSdk/models/email_list.py new file mode 100644 index 0000000..36bbcbc --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_list.py @@ -0,0 +1,107 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.email_dto import EmailDto +from AsposeEmailCloudSdk.models.list_response_of_email_dto import ListResponseOfEmailDto + + +class EmailList(ListResponseOfEmailDto): + """Email document list. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'list[EmailDto]' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value: List[EmailDto] = None): + """ + Email document list. + :param value (List[EmailDto]) + """ + super(EmailList, self).__init__() + + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EmailList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_properties.py b/sdk/AsposeEmailCloudSdk/models/email_properties.py deleted file mode 100644 index 885c66a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/email_properties.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.email_property import EmailProperty -from AsposeEmailCloudSdk.models.link import Link - - -class EmailProperties(object): - """Email list properties. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'link': 'Link', - 'list': 'list[EmailProperty]' - } - - attribute_map = { - 'link': 'link', - 'list': 'list' - } - - def __init__(self, link: Link = None, list: List[EmailProperty] = None): - """ - Email list properties. - :param link (Link) Gets or sets link that originate from this document. - :param list (List[EmailProperty]) List of properties - """ - - self._link = None - self._list = None - - if link is not None: - self.link = link - if list is not None: - self.list = list - - @property - def link(self) -> Link: - """Gets the link of this EmailProperties. - - Gets or sets link that originate from this document. - - :return: The link of this EmailProperties. - :rtype: Link - """ - return self._link - - @link.setter - def link(self, link: Link): - """Sets the link of this EmailProperties. - - Gets or sets link that originate from this document. - - :param link: The link of this EmailProperties. - :type: Link - """ - self._link = link - - @property - def list(self) -> List[EmailProperty]: - """Gets the list of this EmailProperties. - - List of properties - - :return: The list of this EmailProperties. - :rtype: list[EmailProperty] - """ - return self._list - - @list.setter - def list(self, list: List[EmailProperty]): - """Sets the list of this EmailProperties. - - List of properties - - :param list: The list of this EmailProperties. - :type: list[EmailProperty] - """ - if list is None: - raise ValueError("Invalid value for `list`, must not be `None`") - self._list = list - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EmailProperties): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_property_response.py b/sdk/AsposeEmailCloudSdk/models/email_property_response.py deleted file mode 100644 index 59e56d4..0000000 --- a/sdk/AsposeEmailCloudSdk/models/email_property_response.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.email_property import EmailProperty - - -class EmailPropertyResponse(object): - """Email property response. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email_property': 'EmailProperty' - } - - attribute_map = { - 'email_property': 'emailProperty' - } - - def __init__(self, email_property: EmailProperty = None): - """ - Email property response. - :param email_property (EmailProperty) Gets or sets email property. - """ - - self._email_property = None - - if email_property is not None: - self.email_property = email_property - - @property - def email_property(self) -> EmailProperty: - """Gets the email_property of this EmailPropertyResponse. - - Gets or sets email property. - - :return: The email_property of this EmailPropertyResponse. - :rtype: EmailProperty - """ - return self._email_property - - @email_property.setter - def email_property(self, email_property: EmailProperty): - """Sets the email_property of this EmailPropertyResponse. - - Gets or sets email property. - - :param email_property: The email_property of this EmailPropertyResponse. - :type: EmailProperty - """ - self._email_property = email_property - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EmailPropertyResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_save_request.py new file mode 100644 index 0000000..b3fb9ac --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/email_save_request.py @@ -0,0 +1,144 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.email_dto import EmailDto +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_model_of_email_dto import StorageModelOfEmailDto + + +class EmailSaveRequest(StorageModelOfEmailDto): + """Email save to storage request + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'storage_file': 'StorageFileLocation', + 'value': 'EmailDto', + 'format': 'str' + } + + attribute_map = { + 'storage_file': 'storageFile', + 'value': 'value', + 'format': 'format' + } + + def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = None, format: str = None): + """ + Email save to storage request + :param storage_file (StorageFileLocation) + :param value (EmailDto) + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + super(EmailSaveRequest, self).__init__() + + self._format = None + + if storage_file is not None: + self.storage_file = storage_file + if value is not None: + self.value = value + if format is not None: + self.format = format + + @property + def format(self) -> str: + """Gets the format of this EmailSaveRequest. + + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + + :return: The format of this EmailSaveRequest. + :rtype: str + """ + return self._format + + @format.setter + def format(self, format: str): + """Sets the format of this EmailSaveRequest. + + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + + :param format: The format of this EmailSaveRequest. + :type: str + """ + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EmailSaveRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/email_dto_list.py b/sdk/AsposeEmailCloudSdk/models/email_storage_list.py similarity index 90% rename from sdk/AsposeEmailCloudSdk/models/email_dto_list.py rename to sdk/AsposeEmailCloudSdk/models/email_storage_list.py index abc4d37..d0222c8 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_dto_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_storage_list.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -34,8 +34,8 @@ from AsposeEmailCloudSdk.models.storage_model_of_email_dto import StorageModelOfEmailDto -class EmailDtoList(ListResponseOfStorageModelOfEmailDto): - """List of email documents from storage +class EmailStorageList(ListResponseOfStorageModelOfEmailDto): + """Email models list with corresponding storage locations. """ """ @@ -55,10 +55,10 @@ class EmailDtoList(ListResponseOfStorageModelOfEmailDto): def __init__(self, value: List[StorageModelOfEmailDto] = None): """ - List of email documents from storage + Email models list with corresponding storage locations. :param value (List[StorageModelOfEmailDto]) """ - super(EmailDtoList, self).__init__() + super(EmailStorageList, self).__init__() if value is not None: self.value = value @@ -97,7 +97,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, EmailDtoList): + if not isinstance(other, EmailStorageList): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py index 694eb2b..3ffaff9 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py @@ -89,6 +89,8 @@ def value(self, value: str): """ if value is None: raise ValueError("Invalid value for `value`, must not be `None`") + if value is not None and len(value) < 1: + raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") self._value = value @property diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py index 95b4b24..5906413 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py @@ -89,6 +89,8 @@ def value(self, value: str): """ if value is None: raise ValueError("Invalid value for `value`, must not be `None`") + if value is not None and len(value) < 1: + raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") self._value = value @property diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py index f987f48..06eb047 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py @@ -89,6 +89,8 @@ def value(self, value: str): """ if value is None: raise ValueError("Invalid value for `value`, must not be `None`") + if value is not None and len(value) < 1: + raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") self._value = value @property diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py index 285050d..9b31b74 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py @@ -89,6 +89,8 @@ def value(self, value: str): """ if value is None: raise ValueError("Invalid value for `value`, must not be `None`") + if value is not None and len(value) < 1: + raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") self._value = value @property diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py index d5ebd85..a01af10 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py @@ -89,6 +89,8 @@ def value(self, value: str): """ if value is None: raise ValueError("Invalid value for `value`, must not be `None`") + if value is not None and len(value) < 1: + raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") self._value = value @property diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py index fd57b2a..94893c8 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py @@ -89,6 +89,8 @@ def value(self, value: str): """ if value is None: raise ValueError("Invalid value for `value`, must not be `None`") + if value is not None and len(value) < 1: + raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") self._value = value @property diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py index 862e639..9641d2a 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py @@ -89,6 +89,8 @@ def value(self, value: str): """ if value is None: raise ValueError("Invalid value for `value`, must not be `None`") + if value is not None and len(value) < 1: + raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") self._value = value @property diff --git a/sdk/AsposeEmailCloudSdk/models/error.py b/sdk/AsposeEmailCloudSdk/models/error.py index b08269b..191744b 100644 --- a/sdk/AsposeEmailCloudSdk/models/error.py +++ b/sdk/AsposeEmailCloudSdk/models/error.py @@ -34,7 +34,7 @@ class Error(object): - """ + """Error """ """ @@ -60,11 +60,11 @@ class Error(object): def __init__(self, code: str = None, message: str = None, description: str = None, inner_error: ErrorDetails = None): """ - - :param code (str) - :param message (str) - :param description (str) - :param inner_error (ErrorDetails) + Error + :param code (str) Code + :param message (str) Message + :param description (str) Description + :param inner_error (ErrorDetails) Inner Error """ self._code = None @@ -85,6 +85,7 @@ def __init__(self, code: str = None, message: str = None, description: str = Non def code(self) -> str: """Gets the code of this Error. + Code :return: The code of this Error. :rtype: str @@ -95,6 +96,7 @@ def code(self) -> str: def code(self, code: str): """Sets the code of this Error. + Code :param code: The code of this Error. :type: str @@ -105,6 +107,7 @@ def code(self, code: str): def message(self) -> str: """Gets the message of this Error. + Message :return: The message of this Error. :rtype: str @@ -115,6 +118,7 @@ def message(self) -> str: def message(self, message: str): """Sets the message of this Error. + Message :param message: The message of this Error. :type: str @@ -125,6 +129,7 @@ def message(self, message: str): def description(self) -> str: """Gets the description of this Error. + Description :return: The description of this Error. :rtype: str @@ -135,6 +140,7 @@ def description(self) -> str: def description(self, description: str): """Sets the description of this Error. + Description :param description: The description of this Error. :type: str @@ -145,6 +151,7 @@ def description(self, description: str): def inner_error(self) -> ErrorDetails: """Gets the inner_error of this Error. + Inner Error :return: The inner_error of this Error. :rtype: ErrorDetails @@ -155,6 +162,7 @@ def inner_error(self) -> ErrorDetails: def inner_error(self, inner_error: ErrorDetails): """Sets the inner_error of this Error. + Inner Error :param inner_error: The inner_error of this Error. :type: ErrorDetails diff --git a/sdk/AsposeEmailCloudSdk/models/error_details.py b/sdk/AsposeEmailCloudSdk/models/error_details.py index 7c92346..655ad7d 100644 --- a/sdk/AsposeEmailCloudSdk/models/error_details.py +++ b/sdk/AsposeEmailCloudSdk/models/error_details.py @@ -32,7 +32,7 @@ class ErrorDetails(object): - """ + """The error details """ """ @@ -54,9 +54,9 @@ class ErrorDetails(object): def __init__(self, request_id: str = None, _date: datetime = None): """ - - :param request_id (str) - :param _date (datetime) + The error details + :param request_id (str) The request id + :param _date (datetime) Date """ self._request_id = None @@ -71,6 +71,7 @@ def __init__(self, request_id: str = None, _date: datetime = None): def request_id(self) -> str: """Gets the request_id of this ErrorDetails. + The request id :return: The request_id of this ErrorDetails. :rtype: str @@ -81,6 +82,7 @@ def request_id(self) -> str: def request_id(self, request_id: str): """Sets the request_id of this ErrorDetails. + The request id :param request_id: The request_id of this ErrorDetails. :type: str @@ -91,6 +93,7 @@ def request_id(self, request_id: str): def _date(self) -> datetime: """Gets the _date of this ErrorDetails. + Date :return: The _date of this ErrorDetails. :rtype: datetime @@ -101,6 +104,7 @@ def _date(self) -> datetime: def _date(self, _date: datetime): """Sets the _date of this ErrorDetails. + Date :param _date: The _date of this ErrorDetails. :type: datetime diff --git a/sdk/AsposeEmailCloudSdk/models/file_version.py b/sdk/AsposeEmailCloudSdk/models/file_version.py index 62a41f7..6bc2fad 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_version.py +++ b/sdk/AsposeEmailCloudSdk/models/file_version.py @@ -34,7 +34,7 @@ class FileVersion(StorageFile): - """ + """File Version """ """ @@ -66,14 +66,14 @@ class FileVersion(StorageFile): def __init__(self, name: str = None, is_folder: bool = None, modified_date: datetime = None, size: int = None, path: str = None, version_id: str = None, is_latest: bool = None): """ - - :param name (str) - :param is_folder (bool) - :param modified_date (datetime) - :param size (int) - :param path (str) - :param version_id (str) - :param is_latest (bool) + File Version + :param name (str) File or folder name. + :param is_folder (bool) True if it is a folder. + :param modified_date (datetime) File or folder last modified DateTime. + :param size (int) File or folder size. + :param path (str) File or folder path. + :param version_id (str) File Version ID. + :param is_latest (bool) Specifies whether the file is (true) or is not (false) the latest version of an file. """ super(FileVersion, self).__init__() @@ -99,6 +99,7 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date def version_id(self) -> str: """Gets the version_id of this FileVersion. + File Version ID. :return: The version_id of this FileVersion. :rtype: str @@ -109,6 +110,7 @@ def version_id(self) -> str: def version_id(self, version_id: str): """Sets the version_id of this FileVersion. + File Version ID. :param version_id: The version_id of this FileVersion. :type: str @@ -119,6 +121,7 @@ def version_id(self, version_id: str): def is_latest(self) -> bool: """Gets the is_latest of this FileVersion. + Specifies whether the file is (true) or is not (false) the latest version of an file. :return: The is_latest of this FileVersion. :rtype: bool @@ -129,6 +132,7 @@ def is_latest(self) -> bool: def is_latest(self, is_latest: bool): """Sets the is_latest of this FileVersion. + Specifies whether the file is (true) or is not (false) the latest version of an file. :param is_latest: The is_latest of this FileVersion. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/file_versions.py b/sdk/AsposeEmailCloudSdk/models/file_versions.py index d171a07..bd952fe 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_versions.py +++ b/sdk/AsposeEmailCloudSdk/models/file_versions.py @@ -34,7 +34,7 @@ class FileVersions(object): - """ + """File versions FileVersion. """ """ @@ -54,8 +54,8 @@ class FileVersions(object): def __init__(self, value: List[FileVersion] = None): """ - - :param value (List[FileVersion]) + File versions FileVersion. + :param value (List[FileVersion]) File versions FileVersion. """ self._value = None @@ -67,6 +67,7 @@ def __init__(self, value: List[FileVersion] = None): def value(self) -> List[FileVersion]: """Gets the value of this FileVersions. + File versions FileVersion. :return: The value of this FileVersions. :rtype: list[FileVersion] @@ -77,6 +78,7 @@ def value(self) -> List[FileVersion]: def value(self, value: List[FileVersion]): """Sets the value of this FileVersions. + File versions FileVersion. :param value: The value of this FileVersions. :type: list[FileVersion] diff --git a/sdk/AsposeEmailCloudSdk/models/files_list.py b/sdk/AsposeEmailCloudSdk/models/files_list.py index d2adbe3..1ccee7a 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_list.py +++ b/sdk/AsposeEmailCloudSdk/models/files_list.py @@ -34,7 +34,7 @@ class FilesList(object): - """ + """Files list """ """ @@ -54,8 +54,8 @@ class FilesList(object): def __init__(self, value: List[StorageFile] = None): """ - - :param value (List[StorageFile]) + Files list + :param value (List[StorageFile]) Files and folders contained by folder StorageFile. """ self._value = None @@ -67,6 +67,7 @@ def __init__(self, value: List[StorageFile] = None): def value(self) -> List[StorageFile]: """Gets the value of this FilesList. + Files and folders contained by folder StorageFile. :return: The value of this FilesList. :rtype: list[StorageFile] @@ -77,6 +78,7 @@ def value(self) -> List[StorageFile]: def value(self, value: List[StorageFile]): """Sets the value of this FilesList. + Files and folders contained by folder StorageFile. :param value: The value of this FilesList. :type: list[StorageFile] diff --git a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py index cec1ce5..f12799d 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py +++ b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py @@ -34,7 +34,7 @@ class FilesUploadResult(object): - """ + """File upload result """ """ @@ -56,9 +56,9 @@ class FilesUploadResult(object): def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): """ - - :param uploaded (List[str]) - :param errors (List[Error]) + File upload result + :param uploaded (List[str]) List of uploaded file names + :param errors (List[Error]) List of errors. """ self._uploaded = None @@ -73,6 +73,7 @@ def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): def uploaded(self) -> List[str]: """Gets the uploaded of this FilesUploadResult. + List of uploaded file names :return: The uploaded of this FilesUploadResult. :rtype: list[str] @@ -83,6 +84,7 @@ def uploaded(self) -> List[str]: def uploaded(self, uploaded: List[str]): """Sets the uploaded of this FilesUploadResult. + List of uploaded file names :param uploaded: The uploaded of this FilesUploadResult. :type: list[str] @@ -93,6 +95,7 @@ def uploaded(self, uploaded: List[str]): def errors(self) -> List[Error]: """Gets the errors of this FilesUploadResult. + List of errors. :return: The errors of this FilesUploadResult. :rtype: list[Error] @@ -103,6 +106,7 @@ def errors(self) -> List[Error]: def errors(self, errors: List[Error]): """Sets the errors of this FilesUploadResult. + List of errors. :param errors: The errors of this FilesUploadResult. :type: list[Error] diff --git a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py new file mode 100644 index 0000000..dacc25c --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py @@ -0,0 +1,47 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class GetDiscUsageRequest(object): + """ + Request model for get_disc_usage operation. + Initializes a new instance. + + :param storage_name (str) Storage name + """ + + def __init__(self, storage_name: str = None): + """ + Request model for get_disc_usage operation. + Initializes a new instance. + + :param storage_name (str) Storage name + """ + + self.storage_name = storage_name diff --git a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py new file mode 100644 index 0000000..3cb537b --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class GetFileVersionsRequest(object): + """ + Request model for get_file_versions operation. + Initializes a new instance. + + :param path (str) File path e.g. '/file.ext' + :param storage_name (str) Storage name + """ + + def __init__(self, path: str, storage_name: str = None): + """ + Request model for get_file_versions operation. + Initializes a new instance. + + :param path (str) File path e.g. '/file.ext' + :param storage_name (str) Storage name + """ + + self.path = path + self.storage_name = storage_name diff --git a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py new file mode 100644 index 0000000..756b750 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class GetFilesListRequest(object): + """ + Request model for get_files_list operation. + Initializes a new instance. + + :param path (str) Folder path e.g. '/folder' + :param storage_name (str) Storage name + """ + + def __init__(self, path: str, storage_name: str = None): + """ + Request model for get_files_list operation. + Initializes a new instance. + + :param path (str) Folder path e.g. '/folder' + :param storage_name (str) Storage name + """ + + self.path = path + self.storage_name = storage_name diff --git a/sdk/AsposeEmailCloudSdk/models/hierarchical_object.py b/sdk/AsposeEmailCloudSdk/models/hierarchical_object.py deleted file mode 100644 index bbf26e7..0000000 --- a/sdk/AsposeEmailCloudSdk/models/hierarchical_object.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.base_object import BaseObject - - -class HierarchicalObject(BaseObject): - """Objects' properties hierarchical representation - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'type': 'str', - 'internal_properties': 'list[BaseObject]' - } - - attribute_map = { - 'name': 'name', - 'type': 'type', - 'internal_properties': 'internalProperties' - } - - def __init__(self, name: str = None, type: str = None, internal_properties: List[BaseObject] = None): - """ - Objects' properties hierarchical representation - :param name (str) Gets or sets the name of an object. - :param type (str) Property type. Used for deserialization purposes - :param internal_properties (List[BaseObject]) List of internal properties - """ - super(HierarchicalObject, self).__init__() - - self._internal_properties = None - - if name is not None: - self.name = name - if type is not None: - self.type = type - if internal_properties is not None: - self.internal_properties = internal_properties - - @property - def internal_properties(self) -> List[BaseObject]: - """Gets the internal_properties of this HierarchicalObject. - - List of internal properties - - :return: The internal_properties of this HierarchicalObject. - :rtype: list[BaseObject] - """ - return self._internal_properties - - @internal_properties.setter - def internal_properties(self, internal_properties: List[BaseObject]): - """Sets the internal_properties of this HierarchicalObject. - - List of internal properties - - :param internal_properties: The internal_properties of this HierarchicalObject. - :type: list[BaseObject] - """ - self._internal_properties = internal_properties - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, HierarchicalObject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/hierarchical_object_request.py b/sdk/AsposeEmailCloudSdk/models/hierarchical_object_request.py deleted file mode 100644 index 116f583..0000000 --- a/sdk/AsposeEmailCloudSdk/models/hierarchical_object_request.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.hierarchical_object import HierarchicalObject -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class HierarchicalObjectRequest(object): - """Object represented as hierarchical properties request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'hierarchical_object': 'HierarchicalObject', - 'storage_folder': 'StorageFolderLocation' - } - - attribute_map = { - 'hierarchical_object': 'hierarchicalObject', - 'storage_folder': 'storageFolder' - } - - def __init__(self, hierarchical_object: HierarchicalObject = None, storage_folder: StorageFolderLocation = None): - """ - Object represented as hierarchical properties request - :param hierarchical_object (HierarchicalObject) Hierarchical properties of document - :param storage_folder (StorageFolderLocation) Document location in storage - """ - - self._hierarchical_object = None - self._storage_folder = None - - if hierarchical_object is not None: - self.hierarchical_object = hierarchical_object - if storage_folder is not None: - self.storage_folder = storage_folder - - @property - def hierarchical_object(self) -> HierarchicalObject: - """Gets the hierarchical_object of this HierarchicalObjectRequest. - - Hierarchical properties of document - - :return: The hierarchical_object of this HierarchicalObjectRequest. - :rtype: HierarchicalObject - """ - return self._hierarchical_object - - @hierarchical_object.setter - def hierarchical_object(self, hierarchical_object: HierarchicalObject): - """Sets the hierarchical_object of this HierarchicalObjectRequest. - - Hierarchical properties of document - - :param hierarchical_object: The hierarchical_object of this HierarchicalObjectRequest. - :type: HierarchicalObject - """ - if hierarchical_object is None: - raise ValueError("Invalid value for `hierarchical_object`, must not be `None`") - self._hierarchical_object = hierarchical_object - - @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this HierarchicalObjectRequest. - - Document location in storage - - :return: The storage_folder of this HierarchicalObjectRequest. - :rtype: StorageFolderLocation - """ - return self._storage_folder - - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this HierarchicalObjectRequest. - - Document location in storage - - :param storage_folder: The storage_folder of this HierarchicalObjectRequest. - :type: StorageFolderLocation - """ - self._storage_folder = storage_folder - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, HierarchicalObjectRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/hierarchical_object_response.py b/sdk/AsposeEmailCloudSdk/models/hierarchical_object_response.py deleted file mode 100644 index 9cb31e7..0000000 --- a/sdk/AsposeEmailCloudSdk/models/hierarchical_object_response.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.hierarchical_object import HierarchicalObject -from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation - - -class HierarchicalObjectResponse(object): - """Document represented as hierarchical set of properties response - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'hierarchical_object': 'HierarchicalObject', - 'storage_file': 'StorageFileLocation' - } - - attribute_map = { - 'hierarchical_object': 'hierarchicalObject', - 'storage_file': 'storageFile' - } - - def __init__(self, hierarchical_object: HierarchicalObject = None, storage_file: StorageFileLocation = None): - """ - Document represented as hierarchical set of properties response - :param hierarchical_object (HierarchicalObject) Document properties - :param storage_file (StorageFileLocation) Document location in storage - """ - - self._hierarchical_object = None - self._storage_file = None - - if hierarchical_object is not None: - self.hierarchical_object = hierarchical_object - if storage_file is not None: - self.storage_file = storage_file - - @property - def hierarchical_object(self) -> HierarchicalObject: - """Gets the hierarchical_object of this HierarchicalObjectResponse. - - Document properties - - :return: The hierarchical_object of this HierarchicalObjectResponse. - :rtype: HierarchicalObject - """ - return self._hierarchical_object - - @hierarchical_object.setter - def hierarchical_object(self, hierarchical_object: HierarchicalObject): - """Sets the hierarchical_object of this HierarchicalObjectResponse. - - Document properties - - :param hierarchical_object: The hierarchical_object of this HierarchicalObjectResponse. - :type: HierarchicalObject - """ - self._hierarchical_object = hierarchical_object - - @property - def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this HierarchicalObjectResponse. - - Document location in storage - - :return: The storage_file of this HierarchicalObjectResponse. - :rtype: StorageFileLocation - """ - return self._storage_file - - @storage_file.setter - def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this HierarchicalObjectResponse. - - Document location in storage - - :param storage_file: The storage_file of this HierarchicalObjectResponse. - :type: StorageFileLocation - """ - self._storage_file = storage_file - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, HierarchicalObjectResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/requests/http_request.py b/sdk/AsposeEmailCloudSdk/models/http_request.py similarity index 99% rename from sdk/AsposeEmailCloudSdk/models/requests/http_request.py rename to sdk/AsposeEmailCloudSdk/models/http_request.py index a61f0f8..a1a03d3 100644 --- a/sdk/AsposeEmailCloudSdk/models/requests/http_request.py +++ b/sdk/AsposeEmailCloudSdk/models/http_request.py @@ -1,3 +1,4 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/indexed_hierarchical_object.py b/sdk/AsposeEmailCloudSdk/models/indexed_hierarchical_object.py deleted file mode 100644 index f893236..0000000 --- a/sdk/AsposeEmailCloudSdk/models/indexed_hierarchical_object.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.base_object import BaseObject - - -class IndexedHierarchicalObject(BaseObject): - """Indexed hierarchical property - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'type': 'str', - 'index': 'int', - 'internal_properties': 'list[BaseObject]' - } - - attribute_map = { - 'name': 'name', - 'type': 'type', - 'index': 'index', - 'internal_properties': 'internalProperties' - } - - def __init__(self, name: str = None, type: str = None, index: int = None, internal_properties: List[BaseObject] = None): - """ - Indexed hierarchical property - :param name (str) Gets or sets the name of an object. - :param type (str) Property type. Used for deserialization purposes - :param index (int) Index of property in list - :param internal_properties (List[BaseObject]) List of internal properties - """ - super(IndexedHierarchicalObject, self).__init__() - - self._index = None - self._internal_properties = None - - if name is not None: - self.name = name - if type is not None: - self.type = type - if index is not None: - self.index = index - if internal_properties is not None: - self.internal_properties = internal_properties - - @property - def index(self) -> int: - """Gets the index of this IndexedHierarchicalObject. - - Index of property in list - - :return: The index of this IndexedHierarchicalObject. - :rtype: int - """ - return self._index - - @index.setter - def index(self, index: int): - """Sets the index of this IndexedHierarchicalObject. - - Index of property in list - - :param index: The index of this IndexedHierarchicalObject. - :type: int - """ - if index is None: - raise ValueError("Invalid value for `index`, must not be `None`") - self._index = index - - @property - def internal_properties(self) -> List[BaseObject]: - """Gets the internal_properties of this IndexedHierarchicalObject. - - List of internal properties - - :return: The internal_properties of this IndexedHierarchicalObject. - :rtype: list[BaseObject] - """ - return self._internal_properties - - @internal_properties.setter - def internal_properties(self, internal_properties: List[BaseObject]): - """Sets the internal_properties of this IndexedHierarchicalObject. - - List of internal properties - - :param internal_properties: The internal_properties of this IndexedHierarchicalObject. - :type: list[BaseObject] - """ - self._internal_properties = internal_properties - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, IndexedHierarchicalObject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/link.py b/sdk/AsposeEmailCloudSdk/models/link.py deleted file mode 100644 index ef4cf03..0000000 --- a/sdk/AsposeEmailCloudSdk/models/link.py +++ /dev/null @@ -1,211 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - - -class Link(object): - """Provides information for the object link. This is supposed to be an atom:link, therefore it should have all attributes specified here http://tools.ietf.org/html/rfc4287#section-4.2.7 - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'href': 'str', - 'rel': 'str', - 'type': 'str', - 'title': 'str' - } - - attribute_map = { - 'href': 'href', - 'rel': 'rel', - 'type': 'type', - 'title': 'title' - } - - def __init__(self, href: str = None, rel: str = None, type: str = None, title: str = None): - """ - Provides information for the object link. This is supposed to be an atom:link, therefore it should have all attributes specified here http://tools.ietf.org/html/rfc4287#section-4.2.7 - :param href (str) The \"href\" attribute contains the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference - :param rel (str) atom:link elements MAY have a \"rel\" attribute that indicates the link relation type. If the \"rel\" attribute is not present, the link element MUST be interpreted as if the link relation type is \"alternate\". - :param type (str) On the link element, the \"type\" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation. - :param title (str) The \"title\" attribute conveys human-readable information about the link. The content of the \"title\" attribute is Language-Sensitive. - """ - - self._href = None - self._rel = None - self._type = None - self._title = None - - if href is not None: - self.href = href - if rel is not None: - self.rel = rel - if type is not None: - self.type = type - if title is not None: - self.title = title - - @property - def href(self) -> str: - """Gets the href of this Link. - - The \"href\" attribute contains the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference - - :return: The href of this Link. - :rtype: str - """ - return self._href - - @href.setter - def href(self, href: str): - """Sets the href of this Link. - - The \"href\" attribute contains the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference - - :param href: The href of this Link. - :type: str - """ - self._href = href - - @property - def rel(self) -> str: - """Gets the rel of this Link. - - atom:link elements MAY have a \"rel\" attribute that indicates the link relation type. If the \"rel\" attribute is not present, the link element MUST be interpreted as if the link relation type is \"alternate\". - - :return: The rel of this Link. - :rtype: str - """ - return self._rel - - @rel.setter - def rel(self, rel: str): - """Sets the rel of this Link. - - atom:link elements MAY have a \"rel\" attribute that indicates the link relation type. If the \"rel\" attribute is not present, the link element MUST be interpreted as if the link relation type is \"alternate\". - - :param rel: The rel of this Link. - :type: str - """ - self._rel = rel - - @property - def type(self) -> str: - """Gets the type of this Link. - - On the link element, the \"type\" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation. - - :return: The type of this Link. - :rtype: str - """ - return self._type - - @type.setter - def type(self, type: str): - """Sets the type of this Link. - - On the link element, the \"type\" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation. - - :param type: The type of this Link. - :type: str - """ - self._type = type - - @property - def title(self) -> str: - """Gets the title of this Link. - - The \"title\" attribute conveys human-readable information about the link. The content of the \"title\" attribute is Language-Sensitive. - - :return: The title of this Link. - :rtype: str - """ - return self._title - - @title.setter - def title(self, title: str): - """Sets the title of this Link. - - The \"title\" attribute conveys human-readable information about the link. The content of the \"title\" attribute is Language-Sensitive. - - :param title: The title of this Link. - :type: str - """ - self._title = title - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Link): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_bcr_ocr_data.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py similarity index 80% rename from sdk/AsposeEmailCloudSdk/models/list_response_of_ai_bcr_ocr_data.py rename to sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py index 28623c4..6d4db2f 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_bcr_ocr_data.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,10 +30,10 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.ai_bcr_ocr_data import AiBcrOcrData +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase -class ListResponseOfAiBcrOcrData(object): +class ListResponseOfMailMessageBase(object): """ """ @@ -45,17 +45,17 @@ class ListResponseOfAiBcrOcrData(object): and the value is json key in definition. """ swagger_types = { - 'value': 'list[AiBcrOcrData]' + 'value': 'list[MailMessageBase]' } attribute_map = { 'value': 'value' } - def __init__(self, value: List[AiBcrOcrData] = None): + def __init__(self, value: List[MailMessageBase] = None): """ - :param value (List[AiBcrOcrData]) + :param value (List[MailMessageBase]) """ self._value = None @@ -64,22 +64,22 @@ def __init__(self, value: List[AiBcrOcrData] = None): self.value = value @property - def value(self) -> List[AiBcrOcrData]: - """Gets the value of this ListResponseOfAiBcrOcrData. + def value(self) -> List[MailMessageBase]: + """Gets the value of this ListResponseOfMailMessageBase. - :return: The value of this ListResponseOfAiBcrOcrData. - :rtype: list[AiBcrOcrData] + :return: The value of this ListResponseOfMailMessageBase. + :rtype: list[MailMessageBase] """ return self._value @value.setter - def value(self, value: List[AiBcrOcrData]): - """Sets the value of this ListResponseOfAiBcrOcrData. + def value(self, value: List[MailMessageBase]): + """Sets the value of this ListResponseOfMailMessageBase. - :param value: The value of this ListResponseOfAiBcrOcrData. - :type: list[AiBcrOcrData] + :param value: The value of this ListResponseOfMailMessageBase. + :type: list[MailMessageBase] """ self._value = value @@ -117,7 +117,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListResponseOfAiBcrOcrData): + if not isinstance(other, ListResponseOfMailMessageBase): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/mime_response.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base.py similarity index 73% rename from sdk/AsposeEmailCloudSdk/models/mime_response.py rename to sdk/AsposeEmailCloudSdk/models/mail_message_base.py index 78f122b..a8702fc 100644 --- a/sdk/AsposeEmailCloudSdk/models/mime_response.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,8 +31,8 @@ from datetime import datetime -class MimeResponse(object): - """Email document property DTO. +class MailMessageBase(object): + """Universal object that stores email messages in different formats. """ """ @@ -43,45 +43,45 @@ class MimeResponse(object): and the value is json key in definition. """ swagger_types = { - 'mime': 'str' + 'discriminator': 'str' } attribute_map = { - 'mime': 'mime' + 'discriminator': 'discriminator' } - def __init__(self, mime: str = None): + def __init__(self, discriminator: str = None): """ - Email document property DTO. - :param mime (str) Gets or sets base64 encoded mime content. + Universal object that stores email messages in different formats. + :param discriminator (str) """ - self._mime = None + self._discriminator = self.__class__.__name__ - if mime is not None: - self.mime = mime + if discriminator is not None: + self.discriminator = discriminator @property - def mime(self) -> str: - """Gets the mime of this MimeResponse. + def discriminator(self) -> str: + """Gets the discriminator of this MailMessageBase. - Gets or sets base64 encoded mime content. - :return: The mime of this MimeResponse. + :return: The discriminator of this MailMessageBase. :rtype: str """ - return self._mime + return self.__class__.__name__ - @mime.setter - def mime(self, mime: str): - """Sets the mime of this MimeResponse. + @discriminator.setter + def discriminator(self, discriminator: str): + """Sets the discriminator of this MailMessageBase. - Gets or sets base64 encoded mime content. - :param mime: The mime of this MimeResponse. + :param discriminator: The discriminator of this MailMessageBase. :type: str """ - self._mime = mime + if discriminator is None: + raise ValueError("Invalid value for `discriminator`, must not be `None`") + self._discriminator = self.__class__.__name__ def to_dict(self): """Returns the model properties as a dict""" @@ -117,7 +117,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, MimeResponse): + if not isinstance(other, MailMessageBase): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/email_property.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py similarity index 53% rename from sdk/AsposeEmailCloudSdk/models/email_property.py rename to sdk/AsposeEmailCloudSdk/models/mail_message_base64.py index 2a886fc..64db053 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_property.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,11 +30,11 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.link import Link +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase -class EmailProperty(object): - """Email property. +class MailMessageBase64(MailMessageBase): + """Email message represented as file, encoded to Base64 format. """ """ @@ -45,107 +45,85 @@ class EmailProperty(object): and the value is json key in definition. """ swagger_types = { - 'link': 'Link', - 'name': 'str', - 'value': 'object' + 'discriminator': 'str', + 'value_base64': 'str', + 'format': 'str' } attribute_map = { - 'link': 'link', - 'name': 'name', - 'value': 'value' + 'discriminator': 'discriminator', + 'value_base64': 'valueBase64', + 'format': 'format' } - def __init__(self, link: Link = None, name: str = None, value: object = None): + def __init__(self, discriminator: str = None, value_base64: str = None, format: str = None): """ - Email property. - :param link (Link) Link to property - :param name (str) Property name - :param value (object) Property value + Email message represented as file, encoded to Base64 format. + :param discriminator (str) + :param value_base64 (str) Email message file data encoded to Base64 string. + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef """ + super(MailMessageBase64, self).__init__() - self._link = None - self._name = None - self._value = None + self._value_base64 = None + self._format = None - if link is not None: - self.link = link - if name is not None: - self.name = name - if value is not None: - self.value = value + if discriminator is not None: + self.discriminator = discriminator + if value_base64 is not None: + self.value_base64 = value_base64 + if format is not None: + self.format = format @property - def link(self) -> Link: - """Gets the link of this EmailProperty. + def value_base64(self) -> str: + """Gets the value_base64 of this MailMessageBase64. - Link to property + Email message file data encoded to Base64 string. - :return: The link of this EmailProperty. - :rtype: Link - """ - return self._link - - @link.setter - def link(self, link: Link): - """Sets the link of this EmailProperty. - - Link to property - - :param link: The link of this EmailProperty. - :type: Link - """ - self._link = link - - @property - def name(self) -> str: - """Gets the name of this EmailProperty. - - Property name - - :return: The name of this EmailProperty. + :return: The value_base64 of this MailMessageBase64. :rtype: str """ - return self._name + return self._value_base64 - @name.setter - def name(self, name: str): - """Sets the name of this EmailProperty. + @value_base64.setter + def value_base64(self, value_base64: str): + """Sets the value_base64 of this MailMessageBase64. - Property name + Email message file data encoded to Base64 string. - :param name: The name of this EmailProperty. + :param value_base64: The value_base64 of this MailMessageBase64. :type: str """ - if name is None: - raise ValueError("Invalid value for `name`, must not be `None`") - if name is not None and len(name) < 1: - raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") - self._name = name + if value_base64 is None: + raise ValueError("Invalid value for `value_base64`, must not be `None`") + if value_base64 is not None and len(value_base64) < 1: + raise ValueError("Invalid value for `value_base64`, length must be greater than or equal to `1`") + self._value_base64 = value_base64 @property - def value(self) -> object: - """Gets the value of this EmailProperty. + def format(self) -> str: + """Gets the format of this MailMessageBase64. - Property value + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :return: The value of this EmailProperty. - :rtype: object + :return: The format of this MailMessageBase64. + :rtype: str """ - return self._value + return self._format - @value.setter - def value(self, value: object): - """Sets the value of this EmailProperty. + @format.setter + def format(self, format: str): + """Sets the format of this MailMessageBase64. - Property value + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param value: The value of this EmailProperty. - :type: object + :param format: The format of this MailMessageBase64. + :type: str """ - if value is None: - raise ValueError("Invalid value for `value`, must not be `None`") - self._value = value + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format def to_dict(self): """Returns the model properties as a dict""" @@ -181,7 +159,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, EmailProperty): + if not isinstance(other, MailMessageBase64): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py new file mode 100644 index 0000000..6eddb1c --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py @@ -0,0 +1,107 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.list_response_of_mail_message_base import ListResponseOfMailMessageBase +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase + + +class MailMessageBaseList(ListResponseOfMailMessageBase): + """List of messages. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'list[MailMessageBase]' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value: List[MailMessageBase] = None): + """ + List of messages. + :param value (List[MailMessageBase]) + """ + super(MailMessageBaseList, self).__init__() + + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MailMessageBaseList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_hierarchical_object.py b/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py similarity index 71% rename from sdk/AsposeEmailCloudSdk/models/list_response_of_hierarchical_object.py rename to sdk/AsposeEmailCloudSdk/models/mail_message_dto.py index 7341c8d..2db9d8b 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_hierarchical_object.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,11 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.hierarchical_object import HierarchicalObject +from AsposeEmailCloudSdk.models.email_dto import EmailDto +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase -class ListResponseOfHierarchicalObject(object): - """ +class MailMessageDto(MailMessageBase): + """Represents email message, stored as an EmailDto object. """ """ @@ -45,42 +46,52 @@ class ListResponseOfHierarchicalObject(object): and the value is json key in definition. """ swagger_types = { - 'value': 'list[HierarchicalObject]' + 'discriminator': 'str', + 'value': 'EmailDto' } attribute_map = { + 'discriminator': 'discriminator', 'value': 'value' } - def __init__(self, value: List[HierarchicalObject] = None): + def __init__(self, discriminator: str = None, value: EmailDto = None): """ - - :param value (List[HierarchicalObject]) + Represents email message, stored as an EmailDto object. + :param discriminator (str) + :param value (EmailDto) Message document object. """ + super(MailMessageDto, self).__init__() self._value = None + if discriminator is not None: + self.discriminator = discriminator if value is not None: self.value = value @property - def value(self) -> List[HierarchicalObject]: - """Gets the value of this ListResponseOfHierarchicalObject. + def value(self) -> EmailDto: + """Gets the value of this MailMessageDto. + Message document object. - :return: The value of this ListResponseOfHierarchicalObject. - :rtype: list[HierarchicalObject] + :return: The value of this MailMessageDto. + :rtype: EmailDto """ return self._value @value.setter - def value(self, value: List[HierarchicalObject]): - """Sets the value of this ListResponseOfHierarchicalObject. + def value(self, value: EmailDto): + """Sets the value of this MailMessageDto. + Message document object. - :param value: The value of this ListResponseOfHierarchicalObject. - :type: list[HierarchicalObject] + :param value: The value of this MailMessageDto. + :type: EmailDto """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") self._value = value def to_dict(self): @@ -117,7 +128,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListResponseOfHierarchicalObject): + if not isinstance(other, MailMessageDto): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_hierarchical_object_response.py b/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py similarity index 71% rename from sdk/AsposeEmailCloudSdk/models/list_response_of_hierarchical_object_response.py rename to sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py index 04cf1de..3193a81 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_hierarchical_object_response.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,11 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.hierarchical_object_response import HierarchicalObjectResponse +from AsposeEmailCloudSdk.models.mail_message_base import MailMessageBase +from AsposeEmailCloudSdk.models.mapi_message_dto import MapiMessageDto -class ListResponseOfHierarchicalObjectResponse(object): - """ +class MailMessageMapi(MailMessageBase): + """Email message represented as MAPI object. """ """ @@ -45,42 +46,52 @@ class ListResponseOfHierarchicalObjectResponse(object): and the value is json key in definition. """ swagger_types = { - 'value': 'list[HierarchicalObjectResponse]' + 'discriminator': 'str', + 'value': 'MapiMessageDto' } attribute_map = { + 'discriminator': 'discriminator', 'value': 'value' } - def __init__(self, value: List[HierarchicalObjectResponse] = None): + def __init__(self, discriminator: str = None, value: MapiMessageDto = None): """ - - :param value (List[HierarchicalObjectResponse]) + Email message represented as MAPI object. + :param discriminator (str) + :param value (MapiMessageDto) Email message object. """ + super(MailMessageMapi, self).__init__() self._value = None + if discriminator is not None: + self.discriminator = discriminator if value is not None: self.value = value @property - def value(self) -> List[HierarchicalObjectResponse]: - """Gets the value of this ListResponseOfHierarchicalObjectResponse. + def value(self) -> MapiMessageDto: + """Gets the value of this MailMessageMapi. + Email message object. - :return: The value of this ListResponseOfHierarchicalObjectResponse. - :rtype: list[HierarchicalObjectResponse] + :return: The value of this MailMessageMapi. + :rtype: MapiMessageDto """ return self._value @value.setter - def value(self, value: List[HierarchicalObjectResponse]): - """Sets the value of this ListResponseOfHierarchicalObjectResponse. + def value(self, value: MapiMessageDto): + """Sets the value of this MailMessageMapi. + Email message object. - :param value: The value of this ListResponseOfHierarchicalObjectResponse. - :type: list[HierarchicalObjectResponse] + :param value: The value of this MailMessageMapi. + :type: MapiMessageDto """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") self._value = value def to_dict(self): @@ -117,7 +128,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListResponseOfHierarchicalObjectResponse): + if not isinstance(other, MailMessageMapi): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py b/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py new file mode 100644 index 0000000..b603f0d --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py @@ -0,0 +1,107 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.list_response_of_mail_server_folder import ListResponseOfMailServerFolder +from AsposeEmailCloudSdk.models.mail_server_folder import MailServerFolder + + +class MailServerFolderList(ListResponseOfMailServerFolder): + """List of email client folders. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value': 'list[MailServerFolder]' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value: List[MailServerFolder] = None): + """ + List of email client folders. + :param value (List[MailServerFolder]) + """ + super(MailServerFolderList, self).__init__() + + if value is not None: + self.value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MailServerFolderList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py new file mode 100644 index 0000000..f25ff41 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py @@ -0,0 +1,161 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.mapi_calendar_dto import MapiCalendarDto + + +class MapiCalendarAsFileRequest(object): + """Convert MapiCalendar to file request. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'format': 'str', + 'value': 'MapiCalendarDto' + } + + attribute_map = { + 'format': 'format', + 'value': 'value' + } + + def __init__(self, format: str = None, value: MapiCalendarDto = None): + """ + Convert MapiCalendar to file request. + :param format (str) Calendar file format Enum, available values: Ics, Msg + :param value (MapiCalendarDto) MAPI calendar model. + """ + + self._format = None + self._value = None + + if format is not None: + self.format = format + if value is not None: + self.value = value + + @property + def format(self) -> str: + """Gets the format of this MapiCalendarAsFileRequest. + + Calendar file format Enum, available values: Ics, Msg + + :return: The format of this MapiCalendarAsFileRequest. + :rtype: str + """ + return self._format + + @format.setter + def format(self, format: str): + """Sets the format of this MapiCalendarAsFileRequest. + + Calendar file format Enum, available values: Ics, Msg + + :param format: The format of this MapiCalendarAsFileRequest. + :type: str + """ + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format + + @property + def value(self) -> MapiCalendarDto: + """Gets the value of this MapiCalendarAsFileRequest. + + MAPI calendar model. + + :return: The value of this MapiCalendarAsFileRequest. + :rtype: MapiCalendarDto + """ + return self._value + + @value.setter + def value(self, value: MapiCalendarDto): + """Sets the value of this MapiCalendarAsFileRequest. + + MAPI calendar model. + + :param value: The value of this MapiCalendarAsFileRequest. + :type: MapiCalendarDto + """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MapiCalendarAsFileRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py new file mode 100644 index 0000000..3a7735e --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py @@ -0,0 +1,47 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class MapiCalendarFromFileRequest(object): + """ + Request model for mapi_calendar_from_file operation. + Initializes a new instance. + + :param file (str) File to convert + """ + + def __init__(self, file: str): + """ + Request model for mapi_calendar_from_file operation. + Initializes a new instance. + + :param file (str) File to convert + """ + + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py new file mode 100644 index 0000000..41d7767 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py @@ -0,0 +1,54 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class MapiCalendarGetRequest(object): + """ + Request model for mapi_calendar_get operation. + Initializes a new instance. + + :param file_name (str) Calendar file name in storage. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + def __init__(self, file_name: str, folder: str = None, storage: str = None): + """ + Request model for mapi_calendar_get operation. + Initializes a new instance. + + :param file_name (str) Calendar file name in storage. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + self.file_name = file_name + self.folder = folder + self.storage = storage + diff --git a/sdk/AsposeEmailCloudSdk/models/primitive_object.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py similarity index 63% rename from sdk/AsposeEmailCloudSdk/models/primitive_object.py rename to sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py index 7328b15..22485e8 100644 --- a/sdk/AsposeEmailCloudSdk/models/primitive_object.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,11 +30,13 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.base_object import BaseObject +from AsposeEmailCloudSdk.models.mapi_calendar_dto import MapiCalendarDto +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_model_of_mapi_calendar_dto import StorageModelOfMapiCalendarDto -class PrimitiveObject(BaseObject): - """Simple property object +class MapiCalendarSaveRequest(StorageModelOfMapiCalendarDto): + """Save MapiCalendar to storage request. """ """ @@ -45,56 +47,58 @@ class PrimitiveObject(BaseObject): and the value is json key in definition. """ swagger_types = { - 'name': 'str', - 'type': 'str', - 'value': 'str' + 'storage_file': 'StorageFileLocation', + 'value': 'MapiCalendarDto', + 'format': 'str' } attribute_map = { - 'name': 'name', - 'type': 'type', - 'value': 'value' + 'storage_file': 'storageFile', + 'value': 'value', + 'format': 'format' } - def __init__(self, name: str = None, type: str = None, value: str = None): + def __init__(self, storage_file: StorageFileLocation = None, value: MapiCalendarDto = None, format: str = None): """ - Simple property object - :param name (str) Gets or sets the name of an object. - :param type (str) Property type. Used for deserialization purposes - :param value (str) Property value + Save MapiCalendar to storage request. + :param storage_file (StorageFileLocation) + :param value (MapiCalendarDto) + :param format (str) Calendar file format Enum, available values: Ics, Msg """ - super(PrimitiveObject, self).__init__() + super(MapiCalendarSaveRequest, self).__init__() - self._value = None + self._format = None - if name is not None: - self.name = name - if type is not None: - self.type = type + if storage_file is not None: + self.storage_file = storage_file if value is not None: self.value = value + if format is not None: + self.format = format @property - def value(self) -> str: - """Gets the value of this PrimitiveObject. + def format(self) -> str: + """Gets the format of this MapiCalendarSaveRequest. - Property value + Calendar file format Enum, available values: Ics, Msg - :return: The value of this PrimitiveObject. + :return: The format of this MapiCalendarSaveRequest. :rtype: str """ - return self._value + return self._format - @value.setter - def value(self, value: str): - """Sets the value of this PrimitiveObject. + @format.setter + def format(self, format: str): + """Sets the format of this MapiCalendarSaveRequest. - Property value + Calendar file format Enum, available values: Ics, Msg - :param value: The value of this PrimitiveObject. + :param format: The format of this MapiCalendarSaveRequest. :type: str """ - self._value = value + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format def to_dict(self): """Returns the model properties as a dict""" @@ -130,7 +134,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, PrimitiveObject): + if not isinstance(other, MapiCalendarSaveRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py index 2ecfa4c..553d877 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py @@ -251,6 +251,10 @@ def month(self, month: int): """ if month is None: raise ValueError("Invalid value for `month`, must not be `None`") + if month is not None and month > 12: + raise ValueError("Invalid value for `month`, must be a value less than or equal to `12`") + if month is not None and month < 0: + raise ValueError("Invalid value for `month`, must be a value greater than or equal to `0`") self._month = month @property diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py new file mode 100644 index 0000000..1506e6e --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py @@ -0,0 +1,161 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.mapi_contact_dto import MapiContactDto + + +class MapiContactAsFileRequest(object): + """Convert MapiContact to file request. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'format': 'str', + 'value': 'MapiContactDto' + } + + attribute_map = { + 'format': 'format', + 'value': 'value' + } + + def __init__(self, format: str = None, value: MapiContactDto = None): + """ + Convert MapiContact to file request. + :param format (str) Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :param value (MapiContactDto) MAPI contact model. + """ + + self._format = None + self._value = None + + if format is not None: + self.format = format + if value is not None: + self.value = value + + @property + def format(self) -> str: + """Gets the format of this MapiContactAsFileRequest. + + Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + + :return: The format of this MapiContactAsFileRequest. + :rtype: str + """ + return self._format + + @format.setter + def format(self, format: str): + """Sets the format of this MapiContactAsFileRequest. + + Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + + :param format: The format of this MapiContactAsFileRequest. + :type: str + """ + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format + + @property + def value(self) -> MapiContactDto: + """Gets the value of this MapiContactAsFileRequest. + + MAPI contact model. + + :return: The value of this MapiContactAsFileRequest. + :rtype: MapiContactDto + """ + return self._value + + @value.setter + def value(self, value: MapiContactDto): + """Sets the value of this MapiContactAsFileRequest. + + MAPI contact model. + + :param value: The value of this MapiContactAsFileRequest. + :type: MapiContactDto + """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MapiContactAsFileRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py new file mode 100644 index 0000000..a28978e --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class MapiContactFromFileRequest(object): + """ + Request model for mapi_contact_from_file operation. + Initializes a new instance. + + :param format (str) File format Enum, available values: VCard, WebDav, Msg + :param file (str) File to convert + """ + + def __init__(self, format: str, file: str): + """ + Request model for mapi_contact_from_file operation. + Initializes a new instance. + + :param format (str) File format Enum, available values: VCard, WebDav, Msg + :param file (str) File to convert + """ + + self.format = format + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py new file mode 100644 index 0000000..8bde9fc --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py @@ -0,0 +1,57 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class MapiContactGetRequest(object): + """ + Request model for mapi_contact_get operation. + Initializes a new instance. + + :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg + :param file_name (str) Contact document file name. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + def __init__(self, format: str, file_name: str, folder: str = None, storage: str = None): + """ + Request model for mapi_contact_get operation. + Initializes a new instance. + + :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg + :param file_name (str) Contact document file name. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + self.format = format + self.file_name = file_name + self.folder = folder + self.storage = storage + diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py new file mode 100644 index 0000000..26edf84 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py @@ -0,0 +1,144 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.mapi_contact_dto import MapiContactDto +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_model_of_mapi_contact_dto import StorageModelOfMapiContactDto + + +class MapiContactSaveRequest(StorageModelOfMapiContactDto): + """MapiContact save to storage request. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'storage_file': 'StorageFileLocation', + 'value': 'MapiContactDto', + 'format': 'str' + } + + attribute_map = { + 'storage_file': 'storageFile', + 'value': 'value', + 'format': 'format' + } + + def __init__(self, storage_file: StorageFileLocation = None, value: MapiContactDto = None, format: str = None): + """ + MapiContact save to storage request. + :param storage_file (StorageFileLocation) + :param value (MapiContactDto) + :param format (str) Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + """ + super(MapiContactSaveRequest, self).__init__() + + self._format = None + + if storage_file is not None: + self.storage_file = storage_file + if value is not None: + self.value = value + if format is not None: + self.format = format + + @property + def format(self) -> str: + """Gets the format of this MapiContactSaveRequest. + + Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + + :return: The format of this MapiContactSaveRequest. + :rtype: str + """ + return self._format + + @format.setter + def format(self, format: str): + """Sets the format of this MapiContactSaveRequest. + + Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + + :param format: The format of this MapiContactSaveRequest. + :type: str + """ + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MapiContactSaveRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py index 0826486..1172244 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py @@ -89,6 +89,10 @@ def name(self, name: str): :param name: The name of this MapiKnownPropertyDescriptor. :type: str """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") + if name is not None and len(name) < 1: + raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") self._name = name def to_dict(self): diff --git a/sdk/AsposeEmailCloudSdk/models/indexed_primitive_object.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py similarity index 61% rename from sdk/AsposeEmailCloudSdk/models/indexed_primitive_object.py rename to sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py index a4fc8b5..68b3319 100644 --- a/sdk/AsposeEmailCloudSdk/models/indexed_primitive_object.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,11 +30,11 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime -from AsposeEmailCloudSdk.models.base_object import BaseObject +from AsposeEmailCloudSdk.models.mapi_message_dto import MapiMessageDto -class IndexedPrimitiveObject(BaseObject): - """Simple indexed property +class MapiMessageAsFileRequest(object): + """Convert MapiMessage to file request. """ """ @@ -45,85 +45,76 @@ class IndexedPrimitiveObject(BaseObject): and the value is json key in definition. """ swagger_types = { - 'name': 'str', - 'type': 'str', - 'index': 'int', - 'value': 'str' + 'format': 'str', + 'value': 'MapiMessageDto' } attribute_map = { - 'name': 'name', - 'type': 'type', - 'index': 'index', + 'format': 'format', 'value': 'value' } - def __init__(self, name: str = None, type: str = None, index: int = None, value: str = None): + def __init__(self, format: str = None, value: MapiMessageDto = None): """ - Simple indexed property - :param name (str) Gets or sets the name of an object. - :param type (str) Property type. Used for deserialization purposes - :param index (int) Index of property in list - :param value (str) Gets or sets the name of a property. + Convert MapiMessage to file request. + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param value (MapiMessageDto) MAPI message model. """ - super(IndexedPrimitiveObject, self).__init__() - self._index = None + self._format = None self._value = None - if name is not None: - self.name = name - if type is not None: - self.type = type - if index is not None: - self.index = index + if format is not None: + self.format = format if value is not None: self.value = value @property - def index(self) -> int: - """Gets the index of this IndexedPrimitiveObject. + def format(self) -> str: + """Gets the format of this MapiMessageAsFileRequest. - Index of property in list + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :return: The index of this IndexedPrimitiveObject. - :rtype: int + :return: The format of this MapiMessageAsFileRequest. + :rtype: str """ - return self._index + return self._format - @index.setter - def index(self, index: int): - """Sets the index of this IndexedPrimitiveObject. + @format.setter + def format(self, format: str): + """Sets the format of this MapiMessageAsFileRequest. - Index of property in list + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param index: The index of this IndexedPrimitiveObject. - :type: int + :param format: The format of this MapiMessageAsFileRequest. + :type: str """ - if index is None: - raise ValueError("Invalid value for `index`, must not be `None`") - self._index = index + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format @property - def value(self) -> str: - """Gets the value of this IndexedPrimitiveObject. + def value(self) -> MapiMessageDto: + """Gets the value of this MapiMessageAsFileRequest. - Gets or sets the name of a property. + MAPI message model. - :return: The value of this IndexedPrimitiveObject. - :rtype: str + :return: The value of this MapiMessageAsFileRequest. + :rtype: MapiMessageDto """ return self._value @value.setter - def value(self, value: str): - """Sets the value of this IndexedPrimitiveObject. + def value(self, value: MapiMessageDto): + """Sets the value of this MapiMessageAsFileRequest. - Gets or sets the name of a property. + MAPI message model. - :param value: The value of this IndexedPrimitiveObject. - :type: str + :param value: The value of this MapiMessageAsFileRequest. + :type: MapiMessageDto """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") self._value = value def to_dict(self): @@ -160,7 +151,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, IndexedPrimitiveObject): + if not isinstance(other, MapiMessageAsFileRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py new file mode 100644 index 0000000..5535ae0 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py @@ -0,0 +1,50 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class MapiMessageFromFileRequest(object): + """ + Request model for mapi_message_from_file operation. + Initializes a new instance. + + :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file (str) File to convert + """ + + def __init__(self, format: str, file: str): + """ + Request model for mapi_message_from_file operation. + Initializes a new instance. + + :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file (str) File to convert + """ + + self.format = format + self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py new file mode 100644 index 0000000..dd60576 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py @@ -0,0 +1,57 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class MapiMessageGetRequest(object): + """ + Request model for mapi_message_get operation. + Initializes a new instance. + + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file_name (str) Email document file name. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + def __init__(self, format: str, file_name: str, folder: str = None, storage: str = None): + """ + Request model for mapi_message_get operation. + Initializes a new instance. + + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param file_name (str) Email document file name. + :param folder (str) Path to folder in storage. + :param storage (str) Storage name. + """ + + self.format = format + self.file_name = file_name + self.folder = folder + self.storage = storage + diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py new file mode 100644 index 0000000..3ac8065 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py @@ -0,0 +1,144 @@ +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +import pprint +import re +import six +from typing import List, Set, Dict, Tuple, Optional +from datetime import datetime + +from AsposeEmailCloudSdk.models.mapi_message_dto import MapiMessageDto +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation +from AsposeEmailCloudSdk.models.storage_model_of_mapi_message_dto import StorageModelOfMapiMessageDto + + +class MapiMessageSaveRequest(StorageModelOfMapiMessageDto): + """MapiMessage save to storage request. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'storage_file': 'StorageFileLocation', + 'value': 'MapiMessageDto', + 'format': 'str' + } + + attribute_map = { + 'storage_file': 'storageFile', + 'value': 'value', + 'format': 'format' + } + + def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageDto = None, format: str = None): + """ + MapiMessage save to storage request. + :param storage_file (StorageFileLocation) + :param value (MapiMessageDto) + :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + """ + super(MapiMessageSaveRequest, self).__init__() + + self._format = None + + if storage_file is not None: + self.storage_file = storage_file + if value is not None: + self.value = value + if format is not None: + self.format = format + + @property + def format(self) -> str: + """Gets the format of this MapiMessageSaveRequest. + + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + + :return: The format of this MapiMessageSaveRequest. + :rtype: str + """ + return self._format + + @format.setter + def format(self, format: str): + """Sets the format of this MapiMessageSaveRequest. + + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + + :param format: The format of this MapiMessageSaveRequest. + :type: str + """ + if format is None: + raise ValueError("Invalid value for `format`, must not be `None`") + self._format = format + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MapiMessageSaveRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/move_file_request.py b/sdk/AsposeEmailCloudSdk/models/move_file_request.py new file mode 100644 index 0000000..dd43082 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/move_file_request.py @@ -0,0 +1,59 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class MoveFileRequest(object): + """ + Request model for move_file operation. + Initializes a new instance. + + :param src_path (str) Source file path e.g. '/src.ext' + :param dest_path (str) Destination file path e.g. '/dest.ext' + :param src_storage_name (str) Source storage name + :param dest_storage_name (str) Destination storage name + :param version_id (str) File version ID to move + """ + + def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None, version_id: str = None): + """ + Request model for move_file operation. + Initializes a new instance. + + :param src_path (str) Source file path e.g. '/src.ext' + :param dest_path (str) Destination file path e.g. '/dest.ext' + :param src_storage_name (str) Source storage name + :param dest_storage_name (str) Destination storage name + :param version_id (str) File version ID to move + """ + + self.src_path = src_path + self.dest_path = dest_path + self.src_storage_name = src_storage_name + self.dest_storage_name = dest_storage_name + self.version_id = version_id diff --git a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py new file mode 100644 index 0000000..1ff6eed --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py @@ -0,0 +1,57 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class MoveFolderRequest(object): + """ + Request model for move_folder operation. + Initializes a new instance. + + :param src_path (str) Folder path to move e.g. '/folder' + :param dest_path (str) Destination folder path to move to e.g '/dst' + :param src_storage_name (str) Source storage name + :param dest_storage_name (str) Destination storage name + """ + + def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None): + """ + Request model for move_folder operation. + Initializes a new instance. + + :param src_path (str) Folder path to move e.g. '/folder' + :param dest_path (str) Destination folder path to move to e.g '/dst' + :param src_storage_name (str) Source storage name + :param dest_storage_name (str) Destination storage name + """ + + self.src_path = src_path + self.dest_path = dest_path + self.src_storage_name = src_storage_name + self.dest_storage_name = dest_storage_name + diff --git a/sdk/AsposeEmailCloudSdk/models/object_exist.py b/sdk/AsposeEmailCloudSdk/models/object_exist.py index 722fcf3..719d0ff 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exist.py @@ -32,7 +32,7 @@ class ObjectExist(object): - """ + """Object exists """ """ @@ -54,9 +54,9 @@ class ObjectExist(object): def __init__(self, exists: bool = None, is_folder: bool = None): """ - - :param exists (bool) - :param is_folder (bool) + Object exists + :param exists (bool) Indicates that the file or folder exists. + :param is_folder (bool) True if it is a folder, false if it is a file. """ self._exists = None @@ -71,6 +71,7 @@ def __init__(self, exists: bool = None, is_folder: bool = None): def exists(self) -> bool: """Gets the exists of this ObjectExist. + Indicates that the file or folder exists. :return: The exists of this ObjectExist. :rtype: bool @@ -81,6 +82,7 @@ def exists(self) -> bool: def exists(self, exists: bool): """Sets the exists of this ObjectExist. + Indicates that the file or folder exists. :param exists: The exists of this ObjectExist. :type: bool @@ -93,6 +95,7 @@ def exists(self, exists: bool): def is_folder(self) -> bool: """Gets the is_folder of this ObjectExist. + True if it is a folder, false if it is a file. :return: The is_folder of this ObjectExist. :rtype: bool @@ -103,6 +106,7 @@ def is_folder(self) -> bool: def is_folder(self, is_folder: bool): """Sets the is_folder of this ObjectExist. + True if it is a folder, false if it is a file. :param is_folder: The is_folder of this ObjectExist. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py new file mode 100644 index 0000000..7e709b1 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py @@ -0,0 +1,53 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class ObjectExistsRequest(object): + """ + Request model for object_exists operation. + Initializes a new instance. + + :param path (str) File or folder path e.g. '/file.ext' or '/folder' + :param storage_name (str) Storage name + :param version_id (str) File version ID + """ + + def __init__(self, path: str, storage_name: str = None, version_id: str = None): + """ + Request model for object_exists operation. + Initializes a new instance. + + :param path (str) File or folder path e.g. '/file.ext' or '/folder' + :param storage_name (str) Storage name + :param version_id (str) File version ID + """ + + self.path = path + self.storage_name = storage_name + self.version_id = version_id diff --git a/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py b/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py index 0c55eda..7d85652 100644 --- a/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py +++ b/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py @@ -81,6 +81,10 @@ def address(self, address: str): :param address: The address of this ReminderAttendee. :type: str """ + if address is None: + raise ValueError("Invalid value for `address`, must not be `None`") + if address is not None and len(address) < 1: + raise ValueError("Invalid value for `address`, length must be greater than or equal to `1`") self._address = address def to_dict(self): diff --git a/sdk/AsposeEmailCloudSdk/models/requests/__init__.py b/sdk/AsposeEmailCloudSdk/models/requests/__init__.py deleted file mode 100644 index 77d298b..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/__init__.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -from __future__ import absolute_import - -from AsposeEmailCloudSdk.models.requests.add_calendar_attachment_request import AddCalendarAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_contact_attachment_request import AddContactAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_email_attachment_request import AddEmailAttachmentRequest -from AsposeEmailCloudSdk.models.requests.add_mapi_attachment_request import AddMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_ocr_request import AiBcrOcrRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_ocr_storage_request import AiBcrOcrStorageRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_model_request import AiBcrParseModelRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_ocr_data_model_request import AiBcrParseOcrDataModelRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_request import AiBcrParseRequest -from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_storage_request import AiBcrParseStorageRequest -from AsposeEmailCloudSdk.models.requests.ai_name_complete_request import AiNameCompleteRequest -from AsposeEmailCloudSdk.models.requests.ai_name_expand_parsed_request import AiNameExpandParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_expand_request import AiNameExpandRequest -from AsposeEmailCloudSdk.models.requests.ai_name_format_parsed_request import AiNameFormatParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_format_request import AiNameFormatRequest -from AsposeEmailCloudSdk.models.requests.ai_name_genderize_parsed_request import AiNameGenderizeParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_genderize_request import AiNameGenderizeRequest -from AsposeEmailCloudSdk.models.requests.ai_name_match_parsed_request import AiNameMatchParsedRequest -from AsposeEmailCloudSdk.models.requests.ai_name_match_request import AiNameMatchRequest -from AsposeEmailCloudSdk.models.requests.ai_name_parse_email_address_request import AiNameParseEmailAddressRequest -from AsposeEmailCloudSdk.models.requests.ai_name_parse_request import AiNameParseRequest -from AsposeEmailCloudSdk.models.requests.append_email_message_request import AppendEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.append_email_model_message_request import AppendEmailModelMessageRequest -from AsposeEmailCloudSdk.models.requests.append_mime_message_request import AppendMimeMessageRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_alternate_request import ConvertCalendarModelToAlternateRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_file_request import ConvertCalendarModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_mapi_model_request import ConvertCalendarModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_calendar_request import ConvertCalendarRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_model_to_file_request import ConvertContactModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_model_to_mapi_model_request import ConvertContactModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_contact_request import ConvertContactRequest -from AsposeEmailCloudSdk.models.requests.convert_email_model_to_file_request import ConvertEmailModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_email_model_to_mapi_model_request import ConvertEmailModelToMapiModelRequest -from AsposeEmailCloudSdk.models.requests.convert_email_request import ConvertEmailRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_calendar_model_to_calendar_model_request import ConvertMapiCalendarModelToCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_calendar_model_to_file_request import ConvertMapiCalendarModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_contact_model_to_contact_model_request import ConvertMapiContactModelToContactModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_contact_model_to_file_request import ConvertMapiContactModelToFileRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_message_model_to_email_model_request import ConvertMapiMessageModelToEmailModelRequest -from AsposeEmailCloudSdk.models.requests.convert_mapi_message_model_to_file_request import ConvertMapiMessageModelToFileRequest -from AsposeEmailCloudSdk.models.requests.copy_file_request import CopyFileRequest -from AsposeEmailCloudSdk.models.requests.copy_folder_request import CopyFolderRequest -from AsposeEmailCloudSdk.models.requests.create_calendar_request import CreateCalendarRequest -from AsposeEmailCloudSdk.models.requests.create_contact_request import CreateContactRequest -from AsposeEmailCloudSdk.models.requests.create_email_folder_request import CreateEmailFolderRequest -from AsposeEmailCloudSdk.models.requests.create_email_request import CreateEmailRequest -from AsposeEmailCloudSdk.models.requests.create_folder_request import CreateFolderRequest -from AsposeEmailCloudSdk.models.requests.create_mapi_request import CreateMapiRequest -from AsposeEmailCloudSdk.models.requests.delete_calendar_property_request import DeleteCalendarPropertyRequest -from AsposeEmailCloudSdk.models.requests.delete_contact_property_request import DeleteContactPropertyRequest -from AsposeEmailCloudSdk.models.requests.delete_email_folder_request import DeleteEmailFolderRequest -from AsposeEmailCloudSdk.models.requests.delete_email_message_request import DeleteEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.delete_email_thread_request import DeleteEmailThreadRequest -from AsposeEmailCloudSdk.models.requests.delete_file_request import DeleteFileRequest -from AsposeEmailCloudSdk.models.requests.delete_folder_request import DeleteFolderRequest -from AsposeEmailCloudSdk.models.requests.delete_mapi_attachment_request import DeleteMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.delete_mapi_properties_request import DeleteMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_oauth_request import DiscoverEmailConfigOauthRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_password_request import DiscoverEmailConfigPasswordRequest -from AsposeEmailCloudSdk.models.requests.discover_email_config_request import DiscoverEmailConfigRequest -from AsposeEmailCloudSdk.models.requests.download_file_request import DownloadFileRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_message_request import FetchEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_model_request import FetchEmailModelRequest -from AsposeEmailCloudSdk.models.requests.fetch_email_thread_messages_request import FetchEmailThreadMessagesRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_as_file_request import GetCalendarAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_attachment_request import GetCalendarAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_file_as_mapi_model_request import GetCalendarFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_file_as_model_request import GetCalendarFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_list_request import GetCalendarListRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_as_alternate_request import GetCalendarModelAsAlternateRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_list_request import GetCalendarModelListRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_model_request import GetCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.get_calendar_request import GetCalendarRequest -from AsposeEmailCloudSdk.models.requests.get_contact_as_file_request import GetContactAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_contact_attachment_request import GetContactAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_contact_file_as_mapi_model_request import GetContactFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_file_as_model_request import GetContactFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_list_request import GetContactListRequest -from AsposeEmailCloudSdk.models.requests.get_contact_model_list_request import GetContactModelListRequest -from AsposeEmailCloudSdk.models.requests.get_contact_model_request import GetContactModelRequest -from AsposeEmailCloudSdk.models.requests.get_contact_properties_request import GetContactPropertiesRequest -from AsposeEmailCloudSdk.models.requests.get_disc_usage_request import GetDiscUsageRequest -from AsposeEmailCloudSdk.models.requests.get_email_as_file_request import GetEmailAsFileRequest -from AsposeEmailCloudSdk.models.requests.get_email_attachment_request import GetEmailAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_email_client_account_request import GetEmailClientAccountRequest -from AsposeEmailCloudSdk.models.requests.get_email_client_multi_account_request import GetEmailClientMultiAccountRequest -from AsposeEmailCloudSdk.models.requests.get_email_file_as_mapi_model_request import GetEmailFileAsMapiModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_file_as_model_request import GetEmailFileAsModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_model_list_request import GetEmailModelListRequest -from AsposeEmailCloudSdk.models.requests.get_email_model_request import GetEmailModelRequest -from AsposeEmailCloudSdk.models.requests.get_email_property_request import GetEmailPropertyRequest -from AsposeEmailCloudSdk.models.requests.get_email_request import GetEmailRequest -from AsposeEmailCloudSdk.models.requests.get_files_list_request import GetFilesListRequest -from AsposeEmailCloudSdk.models.requests.get_file_versions_request import GetFileVersionsRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_attachments_request import GetMapiAttachmentsRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_attachment_request import GetMapiAttachmentRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_calendar_model_request import GetMapiCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_contact_model_request import GetMapiContactModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_list_request import GetMapiListRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_message_model_request import GetMapiMessageModelRequest -from AsposeEmailCloudSdk.models.requests.get_mapi_properties_request import GetMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.is_email_address_disposable_request import IsEmailAddressDisposableRequest -from AsposeEmailCloudSdk.models.requests.list_email_folders_request import ListEmailFoldersRequest -from AsposeEmailCloudSdk.models.requests.list_email_messages_request import ListEmailMessagesRequest -from AsposeEmailCloudSdk.models.requests.list_email_models_request import ListEmailModelsRequest -from AsposeEmailCloudSdk.models.requests.list_email_threads_request import ListEmailThreadsRequest -from AsposeEmailCloudSdk.models.requests.move_email_message_request import MoveEmailMessageRequest -from AsposeEmailCloudSdk.models.requests.move_email_thread_request import MoveEmailThreadRequest -from AsposeEmailCloudSdk.models.requests.move_file_request import MoveFileRequest -from AsposeEmailCloudSdk.models.requests.move_folder_request import MoveFolderRequest -from AsposeEmailCloudSdk.models.requests.object_exists_request import ObjectExistsRequest -from AsposeEmailCloudSdk.models.requests.save_calendar_model_request import SaveCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.save_contact_model_request import SaveContactModelRequest -from AsposeEmailCloudSdk.models.requests.save_email_client_account_request import SaveEmailClientAccountRequest -from AsposeEmailCloudSdk.models.requests.save_email_client_multi_account_request import SaveEmailClientMultiAccountRequest -from AsposeEmailCloudSdk.models.requests.save_email_model_request import SaveEmailModelRequest -from AsposeEmailCloudSdk.models.requests.save_mail_account_request import SaveMailAccountRequest -from AsposeEmailCloudSdk.models.requests.save_mail_o_auth_account_request import SaveMailOAuthAccountRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_calendar_model_request import SaveMapiCalendarModelRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_contact_model_request import SaveMapiContactModelRequest -from AsposeEmailCloudSdk.models.requests.save_mapi_message_model_request import SaveMapiMessageModelRequest -from AsposeEmailCloudSdk.models.requests.send_email_mime_request import SendEmailMimeRequest -from AsposeEmailCloudSdk.models.requests.send_email_model_request import SendEmailModelRequest -from AsposeEmailCloudSdk.models.requests.send_email_request import SendEmailRequest -from AsposeEmailCloudSdk.models.requests.set_email_property_request import SetEmailPropertyRequest -from AsposeEmailCloudSdk.models.requests.set_email_read_flag_request import SetEmailReadFlagRequest -from AsposeEmailCloudSdk.models.requests.set_email_thread_read_flag_request import SetEmailThreadReadFlagRequest -from AsposeEmailCloudSdk.models.requests.storage_exists_request import StorageExistsRequest -from AsposeEmailCloudSdk.models.requests.update_calendar_properties_request import UpdateCalendarPropertiesRequest -from AsposeEmailCloudSdk.models.requests.update_contact_properties_request import UpdateContactPropertiesRequest -from AsposeEmailCloudSdk.models.requests.update_mapi_properties_request import UpdateMapiPropertiesRequest -from AsposeEmailCloudSdk.models.requests.upload_file_request import UploadFileRequest diff --git a/sdk/AsposeEmailCloudSdk/models/requests/add_calendar_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/add_calendar_attachment_request.py deleted file mode 100644 index 1d022c1..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/add_calendar_attachment_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.add_calendar_attachment_request import AddCalendarAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AddCalendarAttachmentRequest(BaseRequest): - """ - Request model for add_calendar_attachment operation. - Initializes a new instance. - - :param name (str) Calendar file name in storage - :param attachment (str) Attachment file name in storage - :param request (AddAttachmentRequest) Storage name and folder path for calendar and attachment files - """ - - def __init__(self, name: str, attachment: str, request: AddAttachmentRequest): - """ - Request model for add_calendar_attachment operation. - Initializes a new instance. - - :param name (str) Calendar file name in storage - :param attachment (str) Attachment file name in storage - :param request (AddAttachmentRequest) Storage name and folder path for calendar and attachment files - """ - - BaseRequest.__init__(self) - self.name = name - self.attachment = attachment - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `add_calendar_attachment`") - # verify the required parameter 'attachment' is set - if self.attachment is None: - raise ValueError("Missing the required parameter `attachment` when calling `add_calendar_attachment`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `add_calendar_attachment`") - - collection_formats = {} - path = '/email/Calendar/{name}/attachments/{attachment}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.attachment is not None: - path_params[self._lowercase_first_letter('attachment')] = self.attachment - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/add_contact_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/add_contact_attachment_request.py deleted file mode 100644 index 1ccc61c..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/add_contact_attachment_request.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.add_contact_attachment_request import AddContactAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AddContactAttachmentRequest(BaseRequest): - """ - Request model for add_contact_attachment operation. - Initializes a new instance. - - :param format (str) Contact document format Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param attachment (str) Attachment name - :param request (AddAttachmentRequest) Add attachment request - """ - - def __init__(self, format: str, name: str, attachment: str, request: AddAttachmentRequest): - """ - Request model for add_contact_attachment operation. - Initializes a new instance. - - :param format (str) Contact document format Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param attachment (str) Attachment name - :param request (AddAttachmentRequest) Add attachment request - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.attachment = attachment - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `add_contact_attachment`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `add_contact_attachment`") - # verify the required parameter 'attachment' is set - if self.attachment is None: - raise ValueError("Missing the required parameter `attachment` when calling `add_contact_attachment`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `add_contact_attachment`") - - collection_formats = {} - path = '/email/Contact/{format}/{name}/attachments/{attachment}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.attachment is not None: - path_params[self._lowercase_first_letter('attachment')] = self.attachment - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/add_email_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/add_email_attachment_request.py deleted file mode 100644 index 9da43a9..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/add_email_attachment_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.add_email_attachment_request import AddEmailAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AddEmailAttachmentRequest(BaseRequest): - """ - Request model for add_email_attachment operation. - Initializes a new instance. - - :param attachment_name (str) Attachment file name - :param file_name (str) Email document file name - :param request (AddAttachmentRequest) Storage info to specify location of email document and attachment files - """ - - def __init__(self, attachment_name: str, file_name: str, request: AddAttachmentRequest): - """ - Request model for add_email_attachment operation. - Initializes a new instance. - - :param attachment_name (str) Attachment file name - :param file_name (str) Email document file name - :param request (AddAttachmentRequest) Storage info to specify location of email document and attachment files - """ - - BaseRequest.__init__(self) - self.attachment_name = attachment_name - self.file_name = file_name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'attachment_name' is set - if self.attachment_name is None: - raise ValueError("Missing the required parameter `attachment_name` when calling `add_email_attachment`") - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `add_email_attachment`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `add_email_attachment`") - - collection_formats = {} - path = '/email/{fileName}/attachments/{attachmentName}' - path_params = {} - if self.attachment_name is not None: - path_params[self._lowercase_first_letter('attachmentName')] = self.attachment_name - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/add_mapi_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/add_mapi_attachment_request.py deleted file mode 100644 index 6edc99c..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/add_mapi_attachment_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.add_mapi_attachment_request import AddMapiAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AddMapiAttachmentRequest(BaseRequest): - """ - Request model for add_mapi_attachment operation. - Initializes a new instance. - - :param name (str) Document file name - :param attachment (str) Attachment file name - :param request (AddAttachmentRequest) Add attachment request - """ - - def __init__(self, name: str, attachment: str, request: AddAttachmentRequest): - """ - Request model for add_mapi_attachment operation. - Initializes a new instance. - - :param name (str) Document file name - :param attachment (str) Attachment file name - :param request (AddAttachmentRequest) Add attachment request - """ - - BaseRequest.__init__(self) - self.name = name - self.attachment = attachment - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `add_mapi_attachment`") - # verify the required parameter 'attachment' is set - if self.attachment is None: - raise ValueError("Missing the required parameter `attachment` when calling `add_mapi_attachment`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `add_mapi_attachment`") - - collection_formats = {} - path = '/email/Mapi/{name}/attachments/{attachment}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.attachment is not None: - path_params[self._lowercase_first_letter('attachment')] = self.attachment - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_ocr_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_ocr_request.py deleted file mode 100644 index e6f8779..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_ocr_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_bcr_ocr_request import AiBcrOcrRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiBcrOcrRequest(BaseRequest): - """ - Request model for ai_bcr_ocr operation. - Initializes a new instance. - - :param rq (AiBcrBase64Rq) Request with base64 images data - """ - - def __init__(self, rq: AiBcrBase64Rq): - """ - Request model for ai_bcr_ocr operation. - Initializes a new instance. - - :param rq (AiBcrBase64Rq) Request with base64 images data - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_bcr_ocr`") - - collection_formats = {} - path = '/email/AiBcr/ocr' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_ocr_storage_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_ocr_storage_request.py deleted file mode 100644 index 4d2ccab..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_ocr_storage_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_bcr_ocr_storage_request import AiBcrOcrStorageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiBcrOcrStorageRequest(BaseRequest): - """ - Request model for ai_bcr_ocr_storage operation. - Initializes a new instance. - - :param rq (AiBcrStorageImageRq) Request with images located on storage - """ - - def __init__(self, rq: AiBcrStorageImageRq): - """ - Request model for ai_bcr_ocr_storage operation. - Initializes a new instance. - - :param rq (AiBcrStorageImageRq) Request with images located on storage - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_bcr_ocr_storage`") - - collection_formats = {} - path = '/email/AiBcr/ocr-storage' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_model_request.py deleted file mode 100644 index 6147430..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_model_request import AiBcrParseModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiBcrParseModelRequest(BaseRequest): - """ - Request model for ai_bcr_parse_model operation. - Initializes a new instance. - - :param rq (AiBcrBase64Rq) Request with base64 images data - """ - - def __init__(self, rq: AiBcrBase64Rq): - """ - Request model for ai_bcr_parse_model operation. - Initializes a new instance. - - :param rq (AiBcrBase64Rq) Request with base64 images data - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_bcr_parse_model`") - - collection_formats = {} - path = '/email/AiBcr/parse-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_ocr_data_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_ocr_data_model_request.py deleted file mode 100644 index 0662d3c..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_ocr_data_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_ocr_data_model_request import AiBcrParseOcrDataModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiBcrParseOcrDataModelRequest(BaseRequest): - """ - Request model for ai_bcr_parse_ocr_data_model operation. - Initializes a new instance. - - :param rq (AiBcrParseOcrDataRq) - """ - - def __init__(self, rq: AiBcrParseOcrDataRq): - """ - Request model for ai_bcr_parse_ocr_data_model operation. - Initializes a new instance. - - :param rq (AiBcrParseOcrDataRq) - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_bcr_parse_ocr_data_model`") - - collection_formats = {} - path = '/email/AiBcr/parse-ocr-data-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_request.py deleted file mode 100644 index 15f4212..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_request import AiBcrParseRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiBcrParseRequest(BaseRequest): - """ - Request model for ai_bcr_parse operation. - Initializes a new instance. - - :param rq (AiBcrBase64Rq) Request with base64 images data - """ - - def __init__(self, rq: AiBcrBase64Rq): - """ - Request model for ai_bcr_parse operation. - Initializes a new instance. - - :param rq (AiBcrBase64Rq) Request with base64 images data - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_bcr_parse`") - - collection_formats = {} - path = '/email/AiBcr/parse' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_storage_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_storage_request.py deleted file mode 100644 index 09df44b..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_bcr_parse_storage_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_bcr_parse_storage_request import AiBcrParseStorageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiBcrParseStorageRequest(BaseRequest): - """ - Request model for ai_bcr_parse_storage operation. - Initializes a new instance. - - :param rq (AiBcrParseStorageRq) Request with images located on storage - """ - - def __init__(self, rq: AiBcrParseStorageRq): - """ - Request model for ai_bcr_parse_storage operation. - Initializes a new instance. - - :param rq (AiBcrParseStorageRq) Request with images located on storage - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_bcr_parse_storage`") - - collection_formats = {} - path = '/email/AiBcr/parse-storage' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_complete_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_complete_request.py deleted file mode 100644 index 2ae9eab..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_complete_request.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_complete_request import AiNameCompleteRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameCompleteRequest(BaseRequest): - """ - Request model for ai_name_complete operation. - Initializes a new instance. - - :param name (str) A name to complete (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): - """ - Request model for ai_name_complete operation. - Initializes a new instance. - - :param name (str) A name to complete (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - BaseRequest.__init__(self) - self.name = name - self.language = language - self.location = location - self.encoding = encoding - self.script = script - self.style = style - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `ai_name_complete`") - - collection_formats = {} - path = '/email/AiName/complete' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('name') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.name if self.name is not None else '') - else: - if self.name is not None: - query_params.append((self._lowercase_first_letter('name'), self.name)) - path_parameter = '{' + self._lowercase_first_letter('language') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.language if self.language is not None else '') - else: - if self.language is not None: - query_params.append((self._lowercase_first_letter('language'), self.language)) - path_parameter = '{' + self._lowercase_first_letter('location') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.location if self.location is not None else '') - else: - if self.location is not None: - query_params.append((self._lowercase_first_letter('location'), self.location)) - path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.encoding if self.encoding is not None else '') - else: - if self.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), self.encoding)) - path_parameter = '{' + self._lowercase_first_letter('script') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.script if self.script is not None else '') - else: - if self.script is not None: - query_params.append((self._lowercase_first_letter('script'), self.script)) - path_parameter = '{' + self._lowercase_first_letter('style') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.style if self.style is not None else '') - else: - if self.style is not None: - query_params.append((self._lowercase_first_letter('style'), self.style)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_expand_parsed_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_expand_parsed_request.py deleted file mode 100644 index fca1846..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_expand_parsed_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_expand_parsed_request import AiNameExpandParsedRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameExpandParsedRequest(BaseRequest): - """ - Request model for ai_name_expand_parsed operation. - Initializes a new instance. - - :param rq (AiNameParsedRq) Parsed name with options - """ - - def __init__(self, rq: AiNameParsedRq): - """ - Request model for ai_name_expand_parsed operation. - Initializes a new instance. - - :param rq (AiNameParsedRq) Parsed name with options - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_name_expand_parsed`") - - collection_formats = {} - path = '/email/AiName/expand-parsed' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_expand_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_expand_request.py deleted file mode 100644 index 97ca3d0..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_expand_request.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_expand_request import AiNameExpandRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameExpandRequest(BaseRequest): - """ - Request model for ai_name_expand operation. - Initializes a new instance. - - :param name (str) A name to format (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): - """ - Request model for ai_name_expand operation. - Initializes a new instance. - - :param name (str) A name to format (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - BaseRequest.__init__(self) - self.name = name - self.language = language - self.location = location - self.encoding = encoding - self.script = script - self.style = style - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `ai_name_expand`") - - collection_formats = {} - path = '/email/AiName/expand' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('name') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.name if self.name is not None else '') - else: - if self.name is not None: - query_params.append((self._lowercase_first_letter('name'), self.name)) - path_parameter = '{' + self._lowercase_first_letter('language') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.language if self.language is not None else '') - else: - if self.language is not None: - query_params.append((self._lowercase_first_letter('language'), self.language)) - path_parameter = '{' + self._lowercase_first_letter('location') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.location if self.location is not None else '') - else: - if self.location is not None: - query_params.append((self._lowercase_first_letter('location'), self.location)) - path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.encoding if self.encoding is not None else '') - else: - if self.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), self.encoding)) - path_parameter = '{' + self._lowercase_first_letter('script') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.script if self.script is not None else '') - else: - if self.script is not None: - query_params.append((self._lowercase_first_letter('script'), self.script)) - path_parameter = '{' + self._lowercase_first_letter('style') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.style if self.style is not None else '') - else: - if self.style is not None: - query_params.append((self._lowercase_first_letter('style'), self.style)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_format_parsed_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_format_parsed_request.py deleted file mode 100644 index 1920555..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_format_parsed_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_format_parsed_request import AiNameFormatParsedRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameFormatParsedRequest(BaseRequest): - """ - Request model for ai_name_format_parsed operation. - Initializes a new instance. - - :param rq (AiNameParsedRq) Parsed name with options - """ - - def __init__(self, rq: AiNameParsedRq): - """ - Request model for ai_name_format_parsed operation. - Initializes a new instance. - - :param rq (AiNameParsedRq) Parsed name with options - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_name_format_parsed`") - - collection_formats = {} - path = '/email/AiName/format-parsed' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_genderize_parsed_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_genderize_parsed_request.py deleted file mode 100644 index f66a209..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_genderize_parsed_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_genderize_parsed_request import AiNameGenderizeParsedRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameGenderizeParsedRequest(BaseRequest): - """ - Request model for ai_name_genderize_parsed operation. - Initializes a new instance. - - :param rq (AiNameParsedRq) Gender detection request data - """ - - def __init__(self, rq: AiNameParsedRq): - """ - Request model for ai_name_genderize_parsed operation. - Initializes a new instance. - - :param rq (AiNameParsedRq) Gender detection request data - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_name_genderize_parsed`") - - collection_formats = {} - path = '/email/AiName/genderize-parsed' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_genderize_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_genderize_request.py deleted file mode 100644 index 047c124..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_genderize_request.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_genderize_request import AiNameGenderizeRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameGenderizeRequest(BaseRequest): - """ - Request model for ai_name_genderize operation. - Initializes a new instance. - - :param name (str) A name to parse (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): - """ - Request model for ai_name_genderize operation. - Initializes a new instance. - - :param name (str) A name to parse (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - BaseRequest.__init__(self) - self.name = name - self.language = language - self.location = location - self.encoding = encoding - self.script = script - self.style = style - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `ai_name_genderize`") - - collection_formats = {} - path = '/email/AiName/genderize' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('name') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.name if self.name is not None else '') - else: - if self.name is not None: - query_params.append((self._lowercase_first_letter('name'), self.name)) - path_parameter = '{' + self._lowercase_first_letter('language') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.language if self.language is not None else '') - else: - if self.language is not None: - query_params.append((self._lowercase_first_letter('language'), self.language)) - path_parameter = '{' + self._lowercase_first_letter('location') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.location if self.location is not None else '') - else: - if self.location is not None: - query_params.append((self._lowercase_first_letter('location'), self.location)) - path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.encoding if self.encoding is not None else '') - else: - if self.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), self.encoding)) - path_parameter = '{' + self._lowercase_first_letter('script') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.script if self.script is not None else '') - else: - if self.script is not None: - query_params.append((self._lowercase_first_letter('script'), self.script)) - path_parameter = '{' + self._lowercase_first_letter('style') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.style if self.style is not None else '') - else: - if self.style is not None: - query_params.append((self._lowercase_first_letter('style'), self.style)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_match_parsed_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_match_parsed_request.py deleted file mode 100644 index 01157fa..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_match_parsed_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_match_parsed_request import AiNameMatchParsedRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameMatchParsedRequest(BaseRequest): - """ - Request model for ai_name_match_parsed operation. - Initializes a new instance. - - :param rq (AiNameParsedMatchRq) Parsed names to match - """ - - def __init__(self, rq: AiNameParsedMatchRq): - """ - Request model for ai_name_match_parsed operation. - Initializes a new instance. - - :param rq (AiNameParsedMatchRq) Parsed names to match - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `ai_name_match_parsed`") - - collection_formats = {} - path = '/email/AiName/match-parsed' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_match_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_match_request.py deleted file mode 100644 index 18f533a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_match_request.py +++ /dev/null @@ -1,153 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_match_request import AiNameMatchRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameMatchRequest(BaseRequest): - """ - Request model for ai_name_match operation. - Initializes a new instance. - - :param name (str) A name to match (required) - :param other_name (str) Another name to match (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - def __init__(self, name: str, other_name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): - """ - Request model for ai_name_match operation. - Initializes a new instance. - - :param name (str) A name to match (required) - :param other_name (str) Another name to match (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - BaseRequest.__init__(self) - self.name = name - self.other_name = other_name - self.language = language - self.location = location - self.encoding = encoding - self.script = script - self.style = style - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `ai_name_match`") - # verify the required parameter 'other_name' is set - if self.other_name is None: - raise ValueError("Missing the required parameter `other_name` when calling `ai_name_match`") - - collection_formats = {} - path = '/email/AiName/match' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('name') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.name if self.name is not None else '') - else: - if self.name is not None: - query_params.append((self._lowercase_first_letter('name'), self.name)) - path_parameter = '{' + self._lowercase_first_letter('otherName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.other_name if self.other_name is not None else '') - else: - if self.other_name is not None: - query_params.append((self._lowercase_first_letter('otherName'), self.other_name)) - path_parameter = '{' + self._lowercase_first_letter('language') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.language if self.language is not None else '') - else: - if self.language is not None: - query_params.append((self._lowercase_first_letter('language'), self.language)) - path_parameter = '{' + self._lowercase_first_letter('location') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.location if self.location is not None else '') - else: - if self.location is not None: - query_params.append((self._lowercase_first_letter('location'), self.location)) - path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.encoding if self.encoding is not None else '') - else: - if self.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), self.encoding)) - path_parameter = '{' + self._lowercase_first_letter('script') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.script if self.script is not None else '') - else: - if self.script is not None: - query_params.append((self._lowercase_first_letter('script'), self.script)) - path_parameter = '{' + self._lowercase_first_letter('style') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.style if self.style is not None else '') - else: - if self.style is not None: - query_params.append((self._lowercase_first_letter('style'), self.style)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_parse_email_address_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_parse_email_address_request.py deleted file mode 100644 index 176a3c3..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_parse_email_address_request.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_parse_email_address_request import AiNameParseEmailAddressRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameParseEmailAddressRequest(BaseRequest): - """ - Request model for ai_name_parse_email_address operation. - Initializes a new instance. - - :param email_address (str) Email address to parse (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - def __init__(self, email_address: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): - """ - Request model for ai_name_parse_email_address operation. - Initializes a new instance. - - :param email_address (str) Email address to parse (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic - """ - - BaseRequest.__init__(self) - self.email_address = email_address - self.language = language - self.location = location - self.encoding = encoding - self.script = script - self.style = style - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'email_address' is set - if self.email_address is None: - raise ValueError("Missing the required parameter `email_address` when calling `ai_name_parse_email_address`") - - collection_formats = {} - path = '/email/AiName/parse-email-address' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('emailAddress') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.email_address if self.email_address is not None else '') - else: - if self.email_address is not None: - query_params.append((self._lowercase_first_letter('emailAddress'), self.email_address)) - path_parameter = '{' + self._lowercase_first_letter('language') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.language if self.language is not None else '') - else: - if self.language is not None: - query_params.append((self._lowercase_first_letter('language'), self.language)) - path_parameter = '{' + self._lowercase_first_letter('location') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.location if self.location is not None else '') - else: - if self.location is not None: - query_params.append((self._lowercase_first_letter('location'), self.location)) - path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.encoding if self.encoding is not None else '') - else: - if self.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), self.encoding)) - path_parameter = '{' + self._lowercase_first_letter('script') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.script if self.script is not None else '') - else: - if self.script is not None: - query_params.append((self._lowercase_first_letter('script'), self.script)) - path_parameter = '{' + self._lowercase_first_letter('style') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.style if self.style is not None else '') - else: - if self.style is not None: - query_params.append((self._lowercase_first_letter('style'), self.style)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_parse_request.py b/sdk/AsposeEmailCloudSdk/models/requests/ai_name_parse_request.py deleted file mode 100644 index 05a9999..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/ai_name_parse_request.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.ai_name_parse_request import AiNameParseRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AiNameParseRequest(BaseRequest): - """ - Request model for ai_name_parse operation. - Initializes a new instance. - - :param name (str) A name to parse (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style Enum, available values: Formal, Informal, Legal, Academic - """ - - def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): - """ - Request model for ai_name_parse operation. - Initializes a new instance. - - :param name (str) A name to parse (required) - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param encoding (str) A character encoding name - :param script (str) A writing system code; starts with the ISO-15924 script name - :param style (str) Name writing style Enum, available values: Formal, Informal, Legal, Academic - """ - - BaseRequest.__init__(self) - self.name = name - self.language = language - self.location = location - self.encoding = encoding - self.script = script - self.style = style - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `ai_name_parse`") - - collection_formats = {} - path = '/email/AiName/parse' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('name') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.name if self.name is not None else '') - else: - if self.name is not None: - query_params.append((self._lowercase_first_letter('name'), self.name)) - path_parameter = '{' + self._lowercase_first_letter('language') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.language if self.language is not None else '') - else: - if self.language is not None: - query_params.append((self._lowercase_first_letter('language'), self.language)) - path_parameter = '{' + self._lowercase_first_letter('location') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.location if self.location is not None else '') - else: - if self.location is not None: - query_params.append((self._lowercase_first_letter('location'), self.location)) - path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.encoding if self.encoding is not None else '') - else: - if self.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), self.encoding)) - path_parameter = '{' + self._lowercase_first_letter('script') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.script if self.script is not None else '') - else: - if self.script is not None: - query_params.append((self._lowercase_first_letter('script'), self.script)) - path_parameter = '{' + self._lowercase_first_letter('style') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.style if self.style is not None else '') - else: - if self.style is not None: - query_params.append((self._lowercase_first_letter('style'), self.style)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/append_email_message_request.py b/sdk/AsposeEmailCloudSdk/models/requests/append_email_message_request.py deleted file mode 100644 index b2a6bdf..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/append_email_message_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.append_email_message_request import AppendEmailMessageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AppendEmailMessageRequest(BaseRequest): - """ - Request model for append_email_message operation. - Initializes a new instance. - - :param request (AppendEmailBaseRequest) Append email request - """ - - def __init__(self, request: AppendEmailBaseRequest): - """ - Request model for append_email_message operation. - Initializes a new instance. - - :param request (AppendEmailBaseRequest) Append email request - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `append_email_message`") - - collection_formats = {} - path = '/email/client/Append' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/append_email_model_message_request.py b/sdk/AsposeEmailCloudSdk/models/requests/append_email_model_message_request.py deleted file mode 100644 index 8208d37..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/append_email_model_message_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.append_email_model_message_request import AppendEmailModelMessageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AppendEmailModelMessageRequest(BaseRequest): - """ - Request model for append_email_model_message operation. - Initializes a new instance. - - :param rq (AppendEmailModelRq) Append email request - """ - - def __init__(self, rq: AppendEmailModelRq): - """ - Request model for append_email_model_message operation. - Initializes a new instance. - - :param rq (AppendEmailModelRq) Append email request - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `append_email_model_message`") - - collection_formats = {} - path = '/email/client/AppendModel' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/append_mime_message_request.py b/sdk/AsposeEmailCloudSdk/models/requests/append_mime_message_request.py deleted file mode 100644 index 22abe85..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/append_mime_message_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.append_mime_message_request import AppendMimeMessageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class AppendMimeMessageRequest(BaseRequest): - """ - Request model for append_mime_message operation. - Initializes a new instance. - - :param request (AppendEmailMimeBaseRequest) Append email request - """ - - def __init__(self, request: AppendEmailMimeBaseRequest): - """ - Request model for append_mime_message operation. - Initializes a new instance. - - :param request (AppendEmailMimeBaseRequest) Append email request - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `append_mime_message`") - - collection_formats = {} - path = '/email/client/AppendMime' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/base_request.py b/sdk/AsposeEmailCloudSdk/models/requests/base_request.py deleted file mode 100644 index 79491f2..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/base_request.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -from abc import ABCMeta, abstractmethod - - -class BaseRequest(object): - __metaclass__ = ABCMeta - - @abstractmethod - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: API configuration. - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - pass - - @staticmethod - def _select_header_accept(accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return None - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - - return ', '.join(accepts) - - @staticmethod - def _select_header_content_type(content_types): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return 'application/json' - - content_types = [x.lower() for x in content_types] - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - - return content_types[0] - - @staticmethod - def _lowercase_first_letter(string): - """ - Converts first letter of the string to lowercase - - :param string: initial string - :return: initial string with first character in lowercase - """ - if not string: - return string - - return string[0].lower() + string[1:] diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_alternate_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_alternate_request.py deleted file mode 100644 index 3aefd25..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_alternate_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_alternate_request import ConvertCalendarModelToAlternateRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertCalendarModelToAlternateRequest(BaseRequest): - """ - Request model for convert_calendar_model_to_alternate operation. - Initializes a new instance. - - :param rq (CalendarDtoAlternateRq) iCalendar to AlternateView request - """ - - def __init__(self, rq: CalendarDtoAlternateRq): - """ - Request model for convert_calendar_model_to_alternate operation. - Initializes a new instance. - - :param rq (CalendarDtoAlternateRq) iCalendar to AlternateView request - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `convert_calendar_model_to_alternate`") - - collection_formats = {} - path = '/email/CalendarModel/as-alternate' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_file_request.py deleted file mode 100644 index c24a0ea..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_file_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_file_request import ConvertCalendarModelToFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertCalendarModelToFileRequest(BaseRequest): - """ - Request model for convert_calendar_model_to_file operation. - Initializes a new instance. - - :param format (str) File format Enum, available values: Ics, Msg - :param calendar_dto (CalendarDto) Calendar model to convert - """ - - def __init__(self, format: str, calendar_dto: CalendarDto): - """ - Request model for convert_calendar_model_to_file operation. - Initializes a new instance. - - :param format (str) File format Enum, available values: Ics, Msg - :param calendar_dto (CalendarDto) Calendar model to convert - """ - - BaseRequest.__init__(self) - self.format = format - self.calendar_dto = calendar_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `convert_calendar_model_to_file`") - # verify the required parameter 'calendar_dto' is set - if self.calendar_dto is None: - raise ValueError("Missing the required parameter `calendar_dto` when calling `convert_calendar_model_to_file`") - - collection_formats = {} - path = '/email/CalendarModel/model-as-file/{format}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.calendar_dto is not None: - body_params = self.calendar_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_mapi_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_mapi_model_request.py deleted file mode 100644 index 996ca84..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_model_to_mapi_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_calendar_model_to_mapi_model_request import ConvertCalendarModelToMapiModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertCalendarModelToMapiModelRequest(BaseRequest): - """ - Request model for convert_calendar_model_to_mapi_model operation. - Initializes a new instance. - - :param calendar_dto (CalendarDto) iCalendar model calendar representation - """ - - def __init__(self, calendar_dto: CalendarDto): - """ - Request model for convert_calendar_model_to_mapi_model operation. - Initializes a new instance. - - :param calendar_dto (CalendarDto) iCalendar model calendar representation - """ - - BaseRequest.__init__(self) - self.calendar_dto = calendar_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'calendar_dto' is set - if self.calendar_dto is None: - raise ValueError("Missing the required parameter `calendar_dto` when calling `convert_calendar_model_to_mapi_model`") - - collection_formats = {} - path = '/email/CalendarModel/model-as-mapi-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.calendar_dto is not None: - body_params = self.calendar_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_request.py deleted file mode 100644 index 693f171..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_calendar_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_calendar_request import ConvertCalendarRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertCalendarRequest(BaseRequest): - """ - Request model for convert_calendar operation. - Initializes a new instance. - - :param format (str) File format Enum, available values: Ics, Msg - :param file (str) File to convert - """ - - def __init__(self, format: str, file: str): - """ - Request model for convert_calendar operation. - Initializes a new instance. - - :param format (str) File format Enum, available values: Ics, Msg - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.format = format - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `convert_calendar`") - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `convert_calendar`") - - collection_formats = {} - path = '/email/CalendarModel/convert/{format}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_model_to_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_model_to_file_request.py deleted file mode 100644 index fc14c26..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_model_to_file_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_contact_model_to_file_request import ConvertContactModelToFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertContactModelToFileRequest(BaseRequest): - """ - Request model for convert_contact_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: VCard, WebDav, Msg - :param contact_dto (ContactDto) Contact model to convert - """ - - def __init__(self, destination_format: str, contact_dto: ContactDto): - """ - Request model for convert_contact_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: VCard, WebDav, Msg - :param contact_dto (ContactDto) Contact model to convert - """ - - BaseRequest.__init__(self) - self.destination_format = destination_format - self.contact_dto = contact_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'destination_format' is set - if self.destination_format is None: - raise ValueError("Missing the required parameter `destination_format` when calling `convert_contact_model_to_file`") - # verify the required parameter 'contact_dto' is set - if self.contact_dto is None: - raise ValueError("Missing the required parameter `contact_dto` when calling `convert_contact_model_to_file`") - - collection_formats = {} - path = '/email/ContactModel/model-as-file/{destinationFormat}' - path_params = {} - if self.destination_format is not None: - path_params[self._lowercase_first_letter('destinationFormat')] = self.destination_format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.contact_dto is not None: - body_params = self.contact_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_model_to_mapi_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_model_to_mapi_model_request.py deleted file mode 100644 index 82961fb..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_model_to_mapi_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_contact_model_to_mapi_model_request import ConvertContactModelToMapiModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertContactModelToMapiModelRequest(BaseRequest): - """ - Request model for convert_contact_model_to_mapi_model operation. - Initializes a new instance. - - :param contact_dto (ContactDto) Contact model to convert - """ - - def __init__(self, contact_dto: ContactDto): - """ - Request model for convert_contact_model_to_mapi_model operation. - Initializes a new instance. - - :param contact_dto (ContactDto) Contact model to convert - """ - - BaseRequest.__init__(self) - self.contact_dto = contact_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'contact_dto' is set - if self.contact_dto is None: - raise ValueError("Missing the required parameter `contact_dto` when calling `convert_contact_model_to_mapi_model`") - - collection_formats = {} - path = '/email/ContactModel/model-as-mapi-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.contact_dto is not None: - body_params = self.contact_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_request.py deleted file mode 100644 index a5a9d19..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_contact_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_contact_request import ConvertContactRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertContactRequest(BaseRequest): - """ - Request model for convert_contact operation. - Initializes a new instance. - - :param destination_format (str) File format to convert to Enum, available values: VCard, WebDav, Msg - :param format (str) File format to convert from Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert - """ - - def __init__(self, destination_format: str, format: str, file: str): - """ - Request model for convert_contact operation. - Initializes a new instance. - - :param destination_format (str) File format to convert to Enum, available values: VCard, WebDav, Msg - :param format (str) File format to convert from Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.destination_format = destination_format - self.format = format - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'destination_format' is set - if self.destination_format is None: - raise ValueError("Missing the required parameter `destination_format` when calling `convert_contact`") - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `convert_contact`") - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `convert_contact`") - - collection_formats = {} - path = '/email/ContactModel/{format}/convert/{destinationFormat}' - path_params = {} - if self.destination_format is not None: - path_params[self._lowercase_first_letter('destinationFormat')] = self.destination_format - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_email_model_to_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_email_model_to_file_request.py deleted file mode 100644 index 16ea062..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_email_model_to_file_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_email_model_to_file_request import ConvertEmailModelToFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertEmailModelToFileRequest(BaseRequest): - """ - Request model for convert_email_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param email_dto (EmailDto) Email model to convert - """ - - def __init__(self, destination_format: str, email_dto: EmailDto): - """ - Request model for convert_email_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param email_dto (EmailDto) Email model to convert - """ - - BaseRequest.__init__(self) - self.destination_format = destination_format - self.email_dto = email_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'destination_format' is set - if self.destination_format is None: - raise ValueError("Missing the required parameter `destination_format` when calling `convert_email_model_to_file`") - # verify the required parameter 'email_dto' is set - if self.email_dto is None: - raise ValueError("Missing the required parameter `email_dto` when calling `convert_email_model_to_file`") - - collection_formats = {} - path = '/email/model/model-as-file/{destinationFormat}' - path_params = {} - if self.destination_format is not None: - path_params[self._lowercase_first_letter('destinationFormat')] = self.destination_format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.email_dto is not None: - body_params = self.email_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_email_model_to_mapi_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_email_model_to_mapi_model_request.py deleted file mode 100644 index b84f9f0..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_email_model_to_mapi_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_email_model_to_mapi_model_request import ConvertEmailModelToMapiModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertEmailModelToMapiModelRequest(BaseRequest): - """ - Request model for convert_email_model_to_mapi_model operation. - Initializes a new instance. - - :param email_dto (EmailDto) Email model to convert - """ - - def __init__(self, email_dto: EmailDto): - """ - Request model for convert_email_model_to_mapi_model operation. - Initializes a new instance. - - :param email_dto (EmailDto) Email model to convert - """ - - BaseRequest.__init__(self) - self.email_dto = email_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'email_dto' is set - if self.email_dto is None: - raise ValueError("Missing the required parameter `email_dto` when calling `convert_email_model_to_mapi_model`") - - collection_formats = {} - path = '/email/model/model-as-mapi-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.email_dto is not None: - body_params = self.email_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_email_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_email_request.py deleted file mode 100644 index ece5edc..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_email_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_email_request import ConvertEmailRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertEmailRequest(BaseRequest): - """ - Request model for convert_email operation. - Initializes a new instance. - - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert - """ - - def __init__(self, format: str, file: str): - """ - Request model for convert_email operation. - Initializes a new instance. - - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.format = format - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `convert_email`") - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `convert_email`") - - collection_formats = {} - path = '/email/convert/{format}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_calendar_model_to_calendar_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_calendar_model_to_calendar_model_request.py deleted file mode 100644 index 2ff522f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_calendar_model_to_calendar_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_mapi_calendar_model_to_calendar_model_request import ConvertMapiCalendarModelToCalendarModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertMapiCalendarModelToCalendarModelRequest(BaseRequest): - """ - Request model for convert_mapi_calendar_model_to_calendar_model operation. - Initializes a new instance. - - :param mapi_calendar_dto (MapiCalendarDto) MAPI calendar model to convert - """ - - def __init__(self, mapi_calendar_dto: MapiCalendarDto): - """ - Request model for convert_mapi_calendar_model_to_calendar_model operation. - Initializes a new instance. - - :param mapi_calendar_dto (MapiCalendarDto) MAPI calendar model to convert - """ - - BaseRequest.__init__(self) - self.mapi_calendar_dto = mapi_calendar_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'mapi_calendar_dto' is set - if self.mapi_calendar_dto is None: - raise ValueError("Missing the required parameter `mapi_calendar_dto` when calling `convert_mapi_calendar_model_to_calendar_model`") - - collection_formats = {} - path = '/email/MapiCalendar/model-as-calendar-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.mapi_calendar_dto is not None: - body_params = self.mapi_calendar_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_calendar_model_to_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_calendar_model_to_file_request.py deleted file mode 100644 index e6ca3e8..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_calendar_model_to_file_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_mapi_calendar_model_to_file_request import ConvertMapiCalendarModelToFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertMapiCalendarModelToFileRequest(BaseRequest): - """ - Request model for convert_mapi_calendar_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: Ics, Msg - :param mapi_calendar_dto (MapiCalendarDto) MAPI calendar model to convert - """ - - def __init__(self, destination_format: str, mapi_calendar_dto: MapiCalendarDto): - """ - Request model for convert_mapi_calendar_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: Ics, Msg - :param mapi_calendar_dto (MapiCalendarDto) MAPI calendar model to convert - """ - - BaseRequest.__init__(self) - self.destination_format = destination_format - self.mapi_calendar_dto = mapi_calendar_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'destination_format' is set - if self.destination_format is None: - raise ValueError("Missing the required parameter `destination_format` when calling `convert_mapi_calendar_model_to_file`") - # verify the required parameter 'mapi_calendar_dto' is set - if self.mapi_calendar_dto is None: - raise ValueError("Missing the required parameter `mapi_calendar_dto` when calling `convert_mapi_calendar_model_to_file`") - - collection_formats = {} - path = '/email/MapiCalendar/model-as-file/{destinationFormat}' - path_params = {} - if self.destination_format is not None: - path_params[self._lowercase_first_letter('destinationFormat')] = self.destination_format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.mapi_calendar_dto is not None: - body_params = self.mapi_calendar_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_contact_model_to_contact_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_contact_model_to_contact_model_request.py deleted file mode 100644 index 145ea5d..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_contact_model_to_contact_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_mapi_contact_model_to_contact_model_request import ConvertMapiContactModelToContactModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertMapiContactModelToContactModelRequest(BaseRequest): - """ - Request model for convert_mapi_contact_model_to_contact_model operation. - Initializes a new instance. - - :param mapi_contact_dto (MapiContactDto) MAPI contact model to convert - """ - - def __init__(self, mapi_contact_dto: MapiContactDto): - """ - Request model for convert_mapi_contact_model_to_contact_model operation. - Initializes a new instance. - - :param mapi_contact_dto (MapiContactDto) MAPI contact model to convert - """ - - BaseRequest.__init__(self) - self.mapi_contact_dto = mapi_contact_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'mapi_contact_dto' is set - if self.mapi_contact_dto is None: - raise ValueError("Missing the required parameter `mapi_contact_dto` when calling `convert_mapi_contact_model_to_contact_model`") - - collection_formats = {} - path = '/email/MapiContact/model-as-contact-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.mapi_contact_dto is not None: - body_params = self.mapi_contact_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_contact_model_to_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_contact_model_to_file_request.py deleted file mode 100644 index ec9d601..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_contact_model_to_file_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_mapi_contact_model_to_file_request import ConvertMapiContactModelToFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertMapiContactModelToFileRequest(BaseRequest): - """ - Request model for convert_mapi_contact_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: VCard, WebDav, Msg - :param mapi_contact_dto (MapiContactDto) MAPI contact model to convert - """ - - def __init__(self, destination_format: str, mapi_contact_dto: MapiContactDto): - """ - Request model for convert_mapi_contact_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: VCard, WebDav, Msg - :param mapi_contact_dto (MapiContactDto) MAPI contact model to convert - """ - - BaseRequest.__init__(self) - self.destination_format = destination_format - self.mapi_contact_dto = mapi_contact_dto - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'destination_format' is set - if self.destination_format is None: - raise ValueError("Missing the required parameter `destination_format` when calling `convert_mapi_contact_model_to_file`") - # verify the required parameter 'mapi_contact_dto' is set - if self.mapi_contact_dto is None: - raise ValueError("Missing the required parameter `mapi_contact_dto` when calling `convert_mapi_contact_model_to_file`") - - collection_formats = {} - path = '/email/MapiContact/model-as-file/{destinationFormat}' - path_params = {} - if self.destination_format is not None: - path_params[self._lowercase_first_letter('destinationFormat')] = self.destination_format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.mapi_contact_dto is not None: - body_params = self.mapi_contact_dto - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_message_model_to_email_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_message_model_to_email_model_request.py deleted file mode 100644 index 10081c3..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_message_model_to_email_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_mapi_message_model_to_email_model_request import ConvertMapiMessageModelToEmailModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertMapiMessageModelToEmailModelRequest(BaseRequest): - """ - Request model for convert_mapi_message_model_to_email_model operation. - Initializes a new instance. - - :param mapi_message (MapiMessageDto) MAPI message model to convert - """ - - def __init__(self, mapi_message: MapiMessageDto): - """ - Request model for convert_mapi_message_model_to_email_model operation. - Initializes a new instance. - - :param mapi_message (MapiMessageDto) MAPI message model to convert - """ - - BaseRequest.__init__(self) - self.mapi_message = mapi_message - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'mapi_message' is set - if self.mapi_message is None: - raise ValueError("Missing the required parameter `mapi_message` when calling `convert_mapi_message_model_to_email_model`") - - collection_formats = {} - path = '/email/MapiMessage/model-as-email-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.mapi_message is not None: - body_params = self.mapi_message - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_message_model_to_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_message_model_to_file_request.py deleted file mode 100644 index cdd3a07..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/convert_mapi_message_model_to_file_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.convert_mapi_message_model_to_file_request import ConvertMapiMessageModelToFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ConvertMapiMessageModelToFileRequest(BaseRequest): - """ - Request model for convert_mapi_message_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param mapi_message (MapiMessageDto) MAPI message model to convert - """ - - def __init__(self, destination_format: str, mapi_message: MapiMessageDto): - """ - Request model for convert_mapi_message_model_to_file operation. - Initializes a new instance. - - :param destination_format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param mapi_message (MapiMessageDto) MAPI message model to convert - """ - - BaseRequest.__init__(self) - self.destination_format = destination_format - self.mapi_message = mapi_message - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'destination_format' is set - if self.destination_format is None: - raise ValueError("Missing the required parameter `destination_format` when calling `convert_mapi_message_model_to_file`") - # verify the required parameter 'mapi_message' is set - if self.mapi_message is None: - raise ValueError("Missing the required parameter `mapi_message` when calling `convert_mapi_message_model_to_file`") - - collection_formats = {} - path = '/email/MapiMessage/model-as-file/{destinationFormat}' - path_params = {} - if self.destination_format is not None: - path_params[self._lowercase_first_letter('destinationFormat')] = self.destination_format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.mapi_message is not None: - body_params = self.mapi_message - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/copy_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/copy_file_request.py deleted file mode 100644 index 78e381f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/copy_file_request.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.copy_file_request import CopyFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class CopyFileRequest(BaseRequest): - """ - Request model for copy_file operation. - Initializes a new instance. - - :param src_path (str) - :param dest_path (str) - :param src_storage_name (str) - :param dest_storage_name (str) - :param version_id (str) - """ - - def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None, version_id: str = None): - """ - Request model for copy_file operation. - Initializes a new instance. - - :param src_path (str) - :param dest_path (str) - :param src_storage_name (str) - :param dest_storage_name (str) - :param version_id (str) - """ - - BaseRequest.__init__(self) - self.src_path = src_path - self.dest_path = dest_path - self.src_storage_name = src_storage_name - self.dest_storage_name = dest_storage_name - self.version_id = version_id - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'src_path' is set - if self.src_path is None: - raise ValueError("Missing the required parameter `src_path` when calling `copy_file`") - # verify the required parameter 'dest_path' is set - if self.dest_path is None: - raise ValueError("Missing the required parameter `dest_path` when calling `copy_file`") - - collection_formats = {} - path = '/email/storage/file/copy/{srcPath}' - path_params = {} - if self.src_path is not None: - path_params[self._lowercase_first_letter('srcPath')] = self.src_path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('destPath') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.dest_path if self.dest_path is not None else '') - else: - if self.dest_path is not None: - query_params.append((self._lowercase_first_letter('destPath'), self.dest_path)) - path_parameter = '{' + self._lowercase_first_letter('srcStorageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.src_storage_name if self.src_storage_name is not None else '') - else: - if self.src_storage_name is not None: - query_params.append((self._lowercase_first_letter('srcStorageName'), self.src_storage_name)) - path_parameter = '{' + self._lowercase_first_letter('destStorageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.dest_storage_name if self.dest_storage_name is not None else '') - else: - if self.dest_storage_name is not None: - query_params.append((self._lowercase_first_letter('destStorageName'), self.dest_storage_name)) - path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.version_id if self.version_id is not None else '') - else: - if self.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), self.version_id)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/copy_folder_request.py b/sdk/AsposeEmailCloudSdk/models/requests/copy_folder_request.py deleted file mode 100644 index de1e166..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/copy_folder_request.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.copy_folder_request import CopyFolderRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class CopyFolderRequest(BaseRequest): - """ - Request model for copy_folder operation. - Initializes a new instance. - - :param src_path (str) - :param dest_path (str) - :param src_storage_name (str) - :param dest_storage_name (str) - """ - - def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None): - """ - Request model for copy_folder operation. - Initializes a new instance. - - :param src_path (str) - :param dest_path (str) - :param src_storage_name (str) - :param dest_storage_name (str) - """ - - BaseRequest.__init__(self) - self.src_path = src_path - self.dest_path = dest_path - self.src_storage_name = src_storage_name - self.dest_storage_name = dest_storage_name - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'src_path' is set - if self.src_path is None: - raise ValueError("Missing the required parameter `src_path` when calling `copy_folder`") - # verify the required parameter 'dest_path' is set - if self.dest_path is None: - raise ValueError("Missing the required parameter `dest_path` when calling `copy_folder`") - - collection_formats = {} - path = '/email/storage/folder/copy/{srcPath}' - path_params = {} - if self.src_path is not None: - path_params[self._lowercase_first_letter('srcPath')] = self.src_path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('destPath') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.dest_path if self.dest_path is not None else '') - else: - if self.dest_path is not None: - query_params.append((self._lowercase_first_letter('destPath'), self.dest_path)) - path_parameter = '{' + self._lowercase_first_letter('srcStorageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.src_storage_name if self.src_storage_name is not None else '') - else: - if self.src_storage_name is not None: - query_params.append((self._lowercase_first_letter('srcStorageName'), self.src_storage_name)) - path_parameter = '{' + self._lowercase_first_letter('destStorageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.dest_storage_name if self.dest_storage_name is not None else '') - else: - if self.dest_storage_name is not None: - query_params.append((self._lowercase_first_letter('destStorageName'), self.dest_storage_name)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/create_calendar_request.py b/sdk/AsposeEmailCloudSdk/models/requests/create_calendar_request.py deleted file mode 100644 index 8c9a5b7..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/create_calendar_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.create_calendar_request import CreateCalendarRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class CreateCalendarRequest(BaseRequest): - """ - Request model for create_calendar operation. - Initializes a new instance. - - :param name (str) Calendar file name in storage - :param request (HierarchicalObjectRequest) - """ - - def __init__(self, name: str, request: HierarchicalObjectRequest): - """ - Request model for create_calendar operation. - Initializes a new instance. - - :param name (str) Calendar file name in storage - :param request (HierarchicalObjectRequest) - """ - - BaseRequest.__init__(self) - self.name = name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `create_calendar`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `create_calendar`") - - collection_formats = {} - path = '/email/Calendar/{name}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/create_contact_request.py b/sdk/AsposeEmailCloudSdk/models/requests/create_contact_request.py deleted file mode 100644 index 95dbaf5..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/create_contact_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.create_contact_request import CreateContactRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class CreateContactRequest(BaseRequest): - """ - Request model for create_contact operation. - Initializes a new instance. - - :param format (str) Contact document format Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param request (HierarchicalObjectRequest) Create contact request - """ - - def __init__(self, format: str, name: str, request: HierarchicalObjectRequest): - """ - Request model for create_contact operation. - Initializes a new instance. - - :param format (str) Contact document format Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param request (HierarchicalObjectRequest) Create contact request - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `create_contact`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `create_contact`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `create_contact`") - - collection_formats = {} - path = '/email/Contact/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/create_email_folder_request.py b/sdk/AsposeEmailCloudSdk/models/requests/create_email_folder_request.py deleted file mode 100644 index f872f41..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/create_email_folder_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.create_email_folder_request import CreateEmailFolderRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class CreateEmailFolderRequest(BaseRequest): - """ - Request model for create_email_folder operation. - Initializes a new instance. - - :param request (CreateFolderBaseRequest) Create folder request - """ - - def __init__(self, request: CreateFolderBaseRequest): - """ - Request model for create_email_folder operation. - Initializes a new instance. - - :param request (CreateFolderBaseRequest) Create folder request - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `create_email_folder`") - - collection_formats = {} - path = '/email/client/CreateFolder' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/create_email_request.py b/sdk/AsposeEmailCloudSdk/models/requests/create_email_request.py deleted file mode 100644 index 4974ab8..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/create_email_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.create_email_request import CreateEmailRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class CreateEmailRequest(BaseRequest): - """ - Request model for create_email operation. - Initializes a new instance. - - :param file_name (str) Email document file name in storage - :param request (CreateEmailRequest) An email document and optional Storage info to specify where the file should be located - """ - - def __init__(self, file_name: str, request: CreateEmailRequest): - """ - Request model for create_email operation. - Initializes a new instance. - - :param file_name (str) Email document file name in storage - :param request (CreateEmailRequest) An email document and optional Storage info to specify where the file should be located - """ - - BaseRequest.__init__(self) - self.file_name = file_name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `create_email`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `create_email`") - - collection_formats = {} - path = '/email/{fileName}' - path_params = {} - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/create_folder_request.py b/sdk/AsposeEmailCloudSdk/models/requests/create_folder_request.py deleted file mode 100644 index dc3151f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/create_folder_request.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.create_folder_request import CreateFolderRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class CreateFolderRequest(BaseRequest): - """ - Request model for create_folder operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - """ - - def __init__(self, path: str, storage_name: str = None): - """ - Request model for create_folder operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - """ - - BaseRequest.__init__(self) - self.path = path - self.storage_name = storage_name - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'path' is set - if self.path is None: - raise ValueError("Missing the required parameter `path` when calling `create_folder`") - - collection_formats = {} - path = '/email/storage/folder/{path}' - path_params = {} - if self.path is not None: - path_params[self._lowercase_first_letter('path')] = self.path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/create_mapi_request.py b/sdk/AsposeEmailCloudSdk/models/requests/create_mapi_request.py deleted file mode 100644 index c652f65..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/create_mapi_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.create_mapi_request import CreateMapiRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class CreateMapiRequest(BaseRequest): - """ - Request model for create_mapi operation. - Initializes a new instance. - - :param name (str) Document file name - :param request (HierarchicalObjectRequest) Create document request - """ - - def __init__(self, name: str, request: HierarchicalObjectRequest): - """ - Request model for create_mapi operation. - Initializes a new instance. - - :param name (str) Document file name - :param request (HierarchicalObjectRequest) Create document request - """ - - BaseRequest.__init__(self) - self.name = name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `create_mapi`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `create_mapi`") - - collection_formats = {} - path = '/email/Mapi/{name}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_calendar_property_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_calendar_property_request.py deleted file mode 100644 index 50f4c53..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_calendar_property_request.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_calendar_property_request import DeleteCalendarPropertyRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteCalendarPropertyRequest(BaseRequest): - """ - Request model for delete_calendar_property operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param member_name (str) Indexed property name - :param index (str) Property index path - :param request (StorageFolderLocation) Storage detail to specify iCalendar file location - """ - - def __init__(self, name: str, member_name: str, index: str, request: StorageFolderLocation): - """ - Request model for delete_calendar_property operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param member_name (str) Indexed property name - :param index (str) Property index path - :param request (StorageFolderLocation) Storage detail to specify iCalendar file location - """ - - BaseRequest.__init__(self) - self.name = name - self.member_name = member_name - self.index = index - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `delete_calendar_property`") - # verify the required parameter 'member_name' is set - if self.member_name is None: - raise ValueError("Missing the required parameter `member_name` when calling `delete_calendar_property`") - # verify the required parameter 'index' is set - if self.index is None: - raise ValueError("Missing the required parameter `index` when calling `delete_calendar_property`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `delete_calendar_property`") - - collection_formats = {} - path = '/email/Calendar/{name}/properties/{memberName}/{index}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.member_name is not None: - path_params[self._lowercase_first_letter('memberName')] = self.member_name - if self.index is not None: - path_params[self._lowercase_first_letter('index')] = self.index - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_contact_property_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_contact_property_request.py deleted file mode 100644 index 1f06eb7..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_contact_property_request.py +++ /dev/null @@ -1,124 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_contact_property_request import DeleteContactPropertyRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteContactPropertyRequest(BaseRequest): - """ - Request model for delete_contact_property operation. - Initializes a new instance. - - :param format (str) Contact document format Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param member_name (str) Indexed property name - :param index (int) Property index - :param folder (StorageFolderLocation) Calendar document location in storage information - """ - - def __init__(self, format: str, name: str, member_name: str, index: int, folder: StorageFolderLocation): - """ - Request model for delete_contact_property operation. - Initializes a new instance. - - :param format (str) Contact document format Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param member_name (str) Indexed property name - :param index (int) Property index - :param folder (StorageFolderLocation) Calendar document location in storage information - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.member_name = member_name - self.index = index - self.folder = folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `delete_contact_property`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `delete_contact_property`") - # verify the required parameter 'member_name' is set - if self.member_name is None: - raise ValueError("Missing the required parameter `member_name` when calling `delete_contact_property`") - # verify the required parameter 'index' is set - if self.index is None: - raise ValueError("Missing the required parameter `index` when calling `delete_contact_property`") - # verify the required parameter 'folder' is set - if self.folder is None: - raise ValueError("Missing the required parameter `folder` when calling `delete_contact_property`") - - collection_formats = {} - path = '/email/Contact/{format}/{name}/properties/{memberName}/{index}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.member_name is not None: - path_params[self._lowercase_first_letter('memberName')] = self.member_name - if self.index is not None: - path_params[self._lowercase_first_letter('index')] = self.index - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.folder is not None: - body_params = self.folder - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_email_folder_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_email_folder_request.py deleted file mode 100644 index 76b9d94..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_email_folder_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_email_folder_request import DeleteEmailFolderRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteEmailFolderRequest(BaseRequest): - """ - Request model for delete_email_folder operation. - Initializes a new instance. - - :param request (DeleteFolderBaseRequest) Delete folder request - """ - - def __init__(self, request: DeleteFolderBaseRequest): - """ - Request model for delete_email_folder operation. - Initializes a new instance. - - :param request (DeleteFolderBaseRequest) Delete folder request - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `delete_email_folder`") - - collection_formats = {} - path = '/email/client/DeleteFolder' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_email_message_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_email_message_request.py deleted file mode 100644 index d3c5f59..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_email_message_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_email_message_request import DeleteEmailMessageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteEmailMessageRequest(BaseRequest): - """ - Request model for delete_email_message operation. - Initializes a new instance. - - :param request (DeleteMessageBaseRequest) Delete message request - """ - - def __init__(self, request: DeleteMessageBaseRequest): - """ - Request model for delete_email_message operation. - Initializes a new instance. - - :param request (DeleteMessageBaseRequest) Delete message request - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `delete_email_message`") - - collection_formats = {} - path = '/email/client/DeleteMessage' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_email_thread_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_email_thread_request.py deleted file mode 100644 index a75691f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_email_thread_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_email_thread_request import DeleteEmailThreadRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteEmailThreadRequest(BaseRequest): - """ - Request model for delete_email_thread operation. - Initializes a new instance. - - :param thread_id (str) Thread id - :param request (DeleteEmailThreadAccountRq) Email account specifier - """ - - def __init__(self, thread_id: str, request: DeleteEmailThreadAccountRq): - """ - Request model for delete_email_thread operation. - Initializes a new instance. - - :param thread_id (str) Thread id - :param request (DeleteEmailThreadAccountRq) Email account specifier - """ - - BaseRequest.__init__(self) - self.thread_id = thread_id - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'thread_id' is set - if self.thread_id is None: - raise ValueError("Missing the required parameter `thread_id` when calling `delete_email_thread`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `delete_email_thread`") - - collection_formats = {} - path = '/email/client/threads/{threadId}' - path_params = {} - if self.thread_id is not None: - path_params[self._lowercase_first_letter('threadId')] = self.thread_id - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_file_request.py deleted file mode 100644 index d772b92..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_file_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_file_request import DeleteFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteFileRequest(BaseRequest): - """ - Request model for delete_file operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - :param version_id (str) - """ - - def __init__(self, path: str, storage_name: str = None, version_id: str = None): - """ - Request model for delete_file operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - :param version_id (str) - """ - - BaseRequest.__init__(self) - self.path = path - self.storage_name = storage_name - self.version_id = version_id - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'path' is set - if self.path is None: - raise ValueError("Missing the required parameter `path` when calling `delete_file`") - - collection_formats = {} - path = '/email/storage/file/{path}' - path_params = {} - if self.path is not None: - path_params[self._lowercase_first_letter('path')] = self.path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.version_id if self.version_id is not None else '') - else: - if self.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), self.version_id)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_folder_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_folder_request.py deleted file mode 100644 index 644e5dc..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_folder_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_folder_request import DeleteFolderRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteFolderRequest(BaseRequest): - """ - Request model for delete_folder operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - :param recursive (bool) - """ - - def __init__(self, path: str, storage_name: str = None, recursive: bool = None): - """ - Request model for delete_folder operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - :param recursive (bool) - """ - - BaseRequest.__init__(self) - self.path = path - self.storage_name = storage_name - self.recursive = recursive - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'path' is set - if self.path is None: - raise ValueError("Missing the required parameter `path` when calling `delete_folder`") - - collection_formats = {} - path = '/email/storage/folder/{path}' - path_params = {} - if self.path is not None: - path_params[self._lowercase_first_letter('path')] = self.path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - path_parameter = '{' + self._lowercase_first_letter('recursive') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.recursive if self.recursive is not None else '') - else: - if self.recursive is not None: - query_params.append((self._lowercase_first_letter('recursive'), self.recursive)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_mapi_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_mapi_attachment_request.py deleted file mode 100644 index b3a9d4c..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_mapi_attachment_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_mapi_attachment_request import DeleteMapiAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteMapiAttachmentRequest(BaseRequest): - """ - Request model for delete_mapi_attachment operation. - Initializes a new instance. - - :param name (str) Document file name - :param attachment (str) Attachment name or index - :param storage (StorageFolderLocation) Document file storage location info - """ - - def __init__(self, name: str, attachment: str, storage: StorageFolderLocation): - """ - Request model for delete_mapi_attachment operation. - Initializes a new instance. - - :param name (str) Document file name - :param attachment (str) Attachment name or index - :param storage (StorageFolderLocation) Document file storage location info - """ - - BaseRequest.__init__(self) - self.name = name - self.attachment = attachment - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `delete_mapi_attachment`") - # verify the required parameter 'attachment' is set - if self.attachment is None: - raise ValueError("Missing the required parameter `attachment` when calling `delete_mapi_attachment`") - # verify the required parameter 'storage' is set - if self.storage is None: - raise ValueError("Missing the required parameter `storage` when calling `delete_mapi_attachment`") - - collection_formats = {} - path = '/email/Mapi/{name}/attachments/{attachment}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.attachment is not None: - path_params[self._lowercase_first_letter('attachment')] = self.attachment - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.storage is not None: - body_params = self.storage - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/delete_mapi_properties_request.py b/sdk/AsposeEmailCloudSdk/models/requests/delete_mapi_properties_request.py deleted file mode 100644 index 0666ba3..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/delete_mapi_properties_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.delete_mapi_properties_request import DeleteMapiPropertiesRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DeleteMapiPropertiesRequest(BaseRequest): - """ - Request model for delete_mapi_properties operation. - Initializes a new instance. - - :param name (str) Document file name - :param request (HierarchicalObjectRequest) Properties that should be deleted - """ - - def __init__(self, name: str, request: HierarchicalObjectRequest): - """ - Request model for delete_mapi_properties operation. - Initializes a new instance. - - :param name (str) Document file name - :param request (HierarchicalObjectRequest) Properties that should be deleted - """ - - BaseRequest.__init__(self) - self.name = name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `delete_mapi_properties`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `delete_mapi_properties`") - - collection_formats = {} - path = '/email/Mapi/{name}/properties' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_oauth_request.py b/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_oauth_request.py deleted file mode 100644 index 9d25517..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_oauth_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.discover_email_config_oauth_request import DiscoverEmailConfigOauthRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DiscoverEmailConfigOauthRequest(BaseRequest): - """ - Request model for discover_email_config_oauth operation. - Initializes a new instance. - - :param rq (DiscoverEmailConfigOauth) Discover email configuration request. - """ - - def __init__(self, rq: DiscoverEmailConfigOauth): - """ - Request model for discover_email_config_oauth operation. - Initializes a new instance. - - :param rq (DiscoverEmailConfigOauth) Discover email configuration request. - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `discover_email_config_oauth`") - - collection_formats = {} - path = '/email/config/discover/oauth' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_password_request.py b/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_password_request.py deleted file mode 100644 index 20fdf57..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_password_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.discover_email_config_password_request import DiscoverEmailConfigPasswordRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DiscoverEmailConfigPasswordRequest(BaseRequest): - """ - Request model for discover_email_config_password operation. - Initializes a new instance. - - :param rq (DiscoverEmailConfigPassword) Discover email configuration request. - """ - - def __init__(self, rq: DiscoverEmailConfigPassword): - """ - Request model for discover_email_config_password operation. - Initializes a new instance. - - :param rq (DiscoverEmailConfigPassword) Discover email configuration request. - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `discover_email_config_password`") - - collection_formats = {} - path = '/email/config/discover/password' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_request.py b/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_request.py deleted file mode 100644 index 6f16289..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/discover_email_config_request.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.discover_email_config_request import DiscoverEmailConfigRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DiscoverEmailConfigRequest(BaseRequest): - """ - Request model for discover_email_config operation. - Initializes a new instance. - - :param address (str) Email address - :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned - """ - - def __init__(self, address: str, fast_processing: bool = None): - """ - Request model for discover_email_config operation. - Initializes a new instance. - - :param address (str) Email address - :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned - """ - - BaseRequest.__init__(self) - self.address = address - self.fast_processing = fast_processing - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'address' is set - if self.address is None: - raise ValueError("Missing the required parameter `address` when calling `discover_email_config`") - - collection_formats = {} - path = '/email/config/discover' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('address') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.address if self.address is not None else '') - else: - if self.address is not None: - query_params.append((self._lowercase_first_letter('address'), self.address)) - path_parameter = '{' + self._lowercase_first_letter('fastProcessing') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.fast_processing if self.fast_processing is not None else '') - else: - if self.fast_processing is not None: - query_params.append((self._lowercase_first_letter('fastProcessing'), self.fast_processing)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/download_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/download_file_request.py deleted file mode 100644 index d3a9783..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/download_file_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.download_file_request import DownloadFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class DownloadFileRequest(BaseRequest): - """ - Request model for download_file operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - :param version_id (str) - """ - - def __init__(self, path: str, storage_name: str = None, version_id: str = None): - """ - Request model for download_file operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - :param version_id (str) - """ - - BaseRequest.__init__(self) - self.path = path - self.storage_name = storage_name - self.version_id = version_id - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'path' is set - if self.path is None: - raise ValueError("Missing the required parameter `path` when calling `download_file`") - - collection_formats = {} - path = '/email/storage/file/{path}' - path_params = {} - if self.path is not None: - path_params[self._lowercase_first_letter('path')] = self.path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.version_id if self.version_id is not None else '') - else: - if self.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), self.version_id)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_message_request.py b/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_message_request.py deleted file mode 100644 index 88d6804..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_message_request.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.fetch_email_message_request import FetchEmailMessageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class FetchEmailMessageRequest(BaseRequest): - """ - Request model for fetch_email_message operation. - Initializes a new instance. - - :param message_id (str) Message identifier - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - """ - - def __init__(self, message_id: str, first_account: str, second_account: str = None, folder: str = None, storage: str = None, storage_folder: str = None): - """ - Request model for fetch_email_message operation. - Initializes a new instance. - - :param message_id (str) Message identifier - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - """ - - BaseRequest.__init__(self) - self.message_id = message_id - self.first_account = first_account - self.second_account = second_account - self.folder = folder - self.storage = storage - self.storage_folder = storage_folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'message_id' is set - if self.message_id is None: - raise ValueError("Missing the required parameter `message_id` when calling `fetch_email_message`") - # verify the required parameter 'first_account' is set - if self.first_account is None: - raise ValueError("Missing the required parameter `first_account` when calling `fetch_email_message`") - - collection_formats = {} - path = '/email/client/Fetch' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('messageId') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.message_id if self.message_id is not None else '') - else: - if self.message_id is not None: - query_params.append((self._lowercase_first_letter('messageId'), self.message_id)) - path_parameter = '{' + self._lowercase_first_letter('firstAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.first_account if self.first_account is not None else '') - else: - if self.first_account is not None: - query_params.append((self._lowercase_first_letter('firstAccount'), self.first_account)) - path_parameter = '{' + self._lowercase_first_letter('secondAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.second_account if self.second_account is not None else '') - else: - if self.second_account is not None: - query_params.append((self._lowercase_first_letter('secondAccount'), self.second_account)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('storageFolder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_folder if self.storage_folder is not None else '') - else: - if self.storage_folder is not None: - query_params.append((self._lowercase_first_letter('storageFolder'), self.storage_folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_model_request.py deleted file mode 100644 index f42d422..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_model_request.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.fetch_email_model_request import FetchEmailModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class FetchEmailModelRequest(BaseRequest): - """ - Request model for fetch_email_model operation. - Initializes a new instance. - - :param message_id (str) Message identifier - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - """ - - def __init__(self, message_id: str, first_account: str, second_account: str = None, folder: str = None, storage: str = None, storage_folder: str = None): - """ - Request model for fetch_email_model operation. - Initializes a new instance. - - :param message_id (str) Message identifier - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - """ - - BaseRequest.__init__(self) - self.message_id = message_id - self.first_account = first_account - self.second_account = second_account - self.folder = folder - self.storage = storage - self.storage_folder = storage_folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'message_id' is set - if self.message_id is None: - raise ValueError("Missing the required parameter `message_id` when calling `fetch_email_model`") - # verify the required parameter 'first_account' is set - if self.first_account is None: - raise ValueError("Missing the required parameter `first_account` when calling `fetch_email_model`") - - collection_formats = {} - path = '/email/client/FetchModel' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('messageId') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.message_id if self.message_id is not None else '') - else: - if self.message_id is not None: - query_params.append((self._lowercase_first_letter('messageId'), self.message_id)) - path_parameter = '{' + self._lowercase_first_letter('firstAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.first_account if self.first_account is not None else '') - else: - if self.first_account is not None: - query_params.append((self._lowercase_first_letter('firstAccount'), self.first_account)) - path_parameter = '{' + self._lowercase_first_letter('secondAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.second_account if self.second_account is not None else '') - else: - if self.second_account is not None: - query_params.append((self._lowercase_first_letter('secondAccount'), self.second_account)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('storageFolder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_folder if self.storage_folder is not None else '') - else: - if self.storage_folder is not None: - query_params.append((self._lowercase_first_letter('storageFolder'), self.storage_folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_thread_messages_request.py b/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_thread_messages_request.py deleted file mode 100644 index 21c7a71..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/fetch_email_thread_messages_request.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.fetch_email_thread_messages_request import FetchEmailThreadMessagesRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class FetchEmailThreadMessagesRequest(BaseRequest): - """ - Request model for fetch_email_thread_messages operation. - Initializes a new instance. - - :param thread_id (str) Thread identifier - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param folder (str) Specifies account folder to get thread from - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - """ - - def __init__(self, thread_id: str, first_account: str, second_account: str = None, folder: str = None, storage: str = None, storage_folder: str = None): - """ - Request model for fetch_email_thread_messages operation. - Initializes a new instance. - - :param thread_id (str) Thread identifier - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param folder (str) Specifies account folder to get thread from - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - """ - - BaseRequest.__init__(self) - self.thread_id = thread_id - self.first_account = first_account - self.second_account = second_account - self.folder = folder - self.storage = storage - self.storage_folder = storage_folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'thread_id' is set - if self.thread_id is None: - raise ValueError("Missing the required parameter `thread_id` when calling `fetch_email_thread_messages`") - # verify the required parameter 'first_account' is set - if self.first_account is None: - raise ValueError("Missing the required parameter `first_account` when calling `fetch_email_thread_messages`") - - collection_formats = {} - path = '/email/client/threads/{threadId}/messages' - path_params = {} - if self.thread_id is not None: - path_params[self._lowercase_first_letter('threadId')] = self.thread_id - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('firstAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.first_account if self.first_account is not None else '') - else: - if self.first_account is not None: - query_params.append((self._lowercase_first_letter('firstAccount'), self.first_account)) - path_parameter = '{' + self._lowercase_first_letter('secondAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.second_account if self.second_account is not None else '') - else: - if self.second_account is not None: - query_params.append((self._lowercase_first_letter('secondAccount'), self.second_account)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('storageFolder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_folder if self.storage_folder is not None else '') - else: - if self.storage_folder is not None: - query_params.append((self._lowercase_first_letter('storageFolder'), self.storage_folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_as_file_request.py deleted file mode 100644 index 9e0ad4f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_as_file_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_as_file_request import GetCalendarAsFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarAsFileRequest(BaseRequest): - """ - Request model for get_calendar_as_file operation. - Initializes a new instance. - - :param file_name (str) Calendar document file name - :param format (str) File format Enum, available values: Ics, Msg - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - def __init__(self, file_name: str, format: str, storage: str = None, folder: str = None): - """ - Request model for get_calendar_as_file operation. - Initializes a new instance. - - :param file_name (str) Calendar document file name - :param format (str) File format Enum, available values: Ics, Msg - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - BaseRequest.__init__(self) - self.file_name = file_name - self.format = format - self.storage = storage - self.folder = folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `get_calendar_as_file`") - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_calendar_as_file`") - - collection_formats = {} - path = '/email/CalendarModel/{fileName}/as-file/{format}' - path_params = {} - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_attachment_request.py deleted file mode 100644 index d86a402..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_attachment_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_attachment_request import GetCalendarAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarAttachmentRequest(BaseRequest): - """ - Request model for get_calendar_attachment operation. - Initializes a new instance. - - :param name (str) iCalendar document file name - :param attachment (str) Attachment name or index - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, attachment: str, folder: str = None, storage: str = None): - """ - Request model for get_calendar_attachment operation. - Initializes a new instance. - - :param name (str) iCalendar document file name - :param attachment (str) Attachment name or index - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.attachment = attachment - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_calendar_attachment`") - # verify the required parameter 'attachment' is set - if self.attachment is None: - raise ValueError("Missing the required parameter `attachment` when calling `get_calendar_attachment`") - - collection_formats = {} - path = '/email/Calendar/{name}/attachments/{attachment}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.attachment is not None: - path_params[self._lowercase_first_letter('attachment')] = self.attachment - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_file_as_mapi_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_file_as_mapi_model_request.py deleted file mode 100644 index 94b25f5..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_file_as_mapi_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_file_as_mapi_model_request import GetCalendarFileAsMapiModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarFileAsMapiModelRequest(BaseRequest): - """ - Request model for get_calendar_file_as_mapi_model operation. - Initializes a new instance. - - :param file (str) File to convert - """ - - def __init__(self, file: str): - """ - Request model for get_calendar_file_as_mapi_model operation. - Initializes a new instance. - - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `get_calendar_file_as_mapi_model`") - - collection_formats = {} - path = '/email/MapiCalendar/file-as-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_file_as_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_file_as_model_request.py deleted file mode 100644 index 2451aa9..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_file_as_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_file_as_model_request import GetCalendarFileAsModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarFileAsModelRequest(BaseRequest): - """ - Request model for get_calendar_file_as_model operation. - Initializes a new instance. - - :param file (str) File to convert - """ - - def __init__(self, file: str): - """ - Request model for get_calendar_file_as_model operation. - Initializes a new instance. - - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `get_calendar_file_as_model`") - - collection_formats = {} - path = '/email/CalendarModel/file-as-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_list_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_list_request.py deleted file mode 100644 index 98babba..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_list_request.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_list_request import GetCalendarListRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarListRequest(BaseRequest): - """ - Request model for get_calendar_list operation. - Initializes a new instance. - - :param folder (str) Path to folder in storage - :param items_per_page (int) Count of items on page - :param page_number (int) Page number - :param storage (str) Storage name - """ - - def __init__(self, folder: str, items_per_page: int, page_number: int, storage: str = None): - """ - Request model for get_calendar_list operation. - Initializes a new instance. - - :param folder (str) Path to folder in storage - :param items_per_page (int) Count of items on page - :param page_number (int) Page number - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.folder = folder - self.items_per_page = items_per_page - self.page_number = page_number - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'folder' is set - if self.folder is None: - raise ValueError("Missing the required parameter `folder` when calling `get_calendar_list`") - # verify the required parameter 'items_per_page' is set - if self.items_per_page is None: - raise ValueError("Missing the required parameter `items_per_page` when calling `get_calendar_list`") - # verify the required parameter 'page_number' is set - if self.page_number is None: - raise ValueError("Missing the required parameter `page_number` when calling `get_calendar_list`") - - collection_formats = {} - path = '/email/Calendar' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.items_per_page if self.items_per_page is not None else '') - else: - if self.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), self.items_per_page)) - path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.page_number if self.page_number is not None else '') - else: - if self.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), self.page_number)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_as_alternate_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_as_alternate_request.py deleted file mode 100644 index 24f9c51..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_as_alternate_request.py +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_model_as_alternate_request import GetCalendarModelAsAlternateRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarModelAsAlternateRequest(BaseRequest): - """ - Request model for get_calendar_model_as_alternate operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param calendar_action (str) iCalendar method type Enum, available values: Create, Update, Cancel - :param sequence_id (str) The sequence id - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, calendar_action: str, sequence_id: str = None, folder: str = None, storage: str = None): - """ - Request model for get_calendar_model_as_alternate operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param calendar_action (str) iCalendar method type Enum, available values: Create, Update, Cancel - :param sequence_id (str) The sequence id - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.calendar_action = calendar_action - self.sequence_id = sequence_id - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_calendar_model_as_alternate`") - # verify the required parameter 'calendar_action' is set - if self.calendar_action is None: - raise ValueError("Missing the required parameter `calendar_action` when calling `get_calendar_model_as_alternate`") - - collection_formats = {} - path = '/email/CalendarModel/{name}/as-alternate/{calendarAction}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.calendar_action is not None: - path_params[self._lowercase_first_letter('calendarAction')] = self.calendar_action - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('sequenceId') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.sequence_id if self.sequence_id is not None else '') - else: - if self.sequence_id is not None: - query_params.append((self._lowercase_first_letter('sequenceId'), self.sequence_id)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_list_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_list_request.py deleted file mode 100644 index ef35adb..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_list_request.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_model_list_request import GetCalendarModelListRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarModelListRequest(BaseRequest): - """ - Request model for get_calendar_model_list operation. - Initializes a new instance. - - :param folder (str) Path to folder in storage - :param items_per_page (int) Count of items on page - :param page_number (int) Page number - :param storage (str) Storage name - """ - - def __init__(self, folder: str, items_per_page: int = None, page_number: int = None, storage: str = None): - """ - Request model for get_calendar_model_list operation. - Initializes a new instance. - - :param folder (str) Path to folder in storage - :param items_per_page (int) Count of items on page - :param page_number (int) Page number - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.folder = folder - self.items_per_page = items_per_page - self.page_number = page_number - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'folder' is set - if self.folder is None: - raise ValueError("Missing the required parameter `folder` when calling `get_calendar_model_list`") - - collection_formats = {} - path = '/email/CalendarModel' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.items_per_page if self.items_per_page is not None else '') - else: - if self.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), self.items_per_page)) - path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.page_number if self.page_number is not None else '') - else: - if self.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), self.page_number)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_request.py deleted file mode 100644 index ba85bd1..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_model_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_model_request import GetCalendarModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarModelRequest(BaseRequest): - """ - Request model for get_calendar_model operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, folder: str = None, storage: str = None): - """ - Request model for get_calendar_model operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_calendar_model`") - - collection_formats = {} - path = '/email/CalendarModel/{name}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_request.py deleted file mode 100644 index 51548da..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_calendar_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_calendar_request import GetCalendarRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetCalendarRequest(BaseRequest): - """ - Request model for get_calendar operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, folder: str = None, storage: str = None): - """ - Request model for get_calendar operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_calendar`") - - collection_formats = {} - path = '/email/Calendar/{name}/properties' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_contact_as_file_request.py deleted file mode 100644 index 12f6d67..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_as_file_request.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_contact_as_file_request import GetContactAsFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetContactAsFileRequest(BaseRequest): - """ - Request model for get_contact_as_file operation. - Initializes a new instance. - - :param file_name (str) Calendar document file name - :param destination_format (str) File format Enum, available values: VCard, WebDav, Msg - :param format (str) File format to convert from Enum, available values: VCard, WebDav, Msg - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - def __init__(self, file_name: str, destination_format: str, format: str, storage: str = None, folder: str = None): - """ - Request model for get_contact_as_file operation. - Initializes a new instance. - - :param file_name (str) Calendar document file name - :param destination_format (str) File format Enum, available values: VCard, WebDav, Msg - :param format (str) File format to convert from Enum, available values: VCard, WebDav, Msg - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - BaseRequest.__init__(self) - self.file_name = file_name - self.destination_format = destination_format - self.format = format - self.storage = storage - self.folder = folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `get_contact_as_file`") - # verify the required parameter 'destination_format' is set - if self.destination_format is None: - raise ValueError("Missing the required parameter `destination_format` when calling `get_contact_as_file`") - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_contact_as_file`") - - collection_formats = {} - path = '/email/ContactModel/{format}/{fileName}/as-file/{destinationFormat}' - path_params = {} - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - if self.destination_format is not None: - path_params[self._lowercase_first_letter('destinationFormat')] = self.destination_format - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_contact_attachment_request.py deleted file mode 100644 index 048969a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_attachment_request.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_contact_attachment_request import GetContactAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetContactAttachmentRequest(BaseRequest): - """ - Request model for get_contact_attachment operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param attachment (str) Attachment name or index - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, format: str, name: str, attachment: str, folder: str = None, storage: str = None): - """ - Request model for get_contact_attachment operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param attachment (str) Attachment name or index - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.attachment = attachment - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_contact_attachment`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_contact_attachment`") - # verify the required parameter 'attachment' is set - if self.attachment is None: - raise ValueError("Missing the required parameter `attachment` when calling `get_contact_attachment`") - - collection_formats = {} - path = '/email/Contact/{format}/{name}/attachments/{attachment}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.attachment is not None: - path_params[self._lowercase_first_letter('attachment')] = self.attachment - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_file_as_mapi_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_contact_file_as_mapi_model_request.py deleted file mode 100644 index 8d5de2f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_file_as_mapi_model_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_contact_file_as_mapi_model_request import GetContactFileAsMapiModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetContactFileAsMapiModelRequest(BaseRequest): - """ - Request model for get_contact_file_as_mapi_model operation. - Initializes a new instance. - - :param file_format (str) File format Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert - """ - - def __init__(self, file_format: str, file: str): - """ - Request model for get_contact_file_as_mapi_model operation. - Initializes a new instance. - - :param file_format (str) File format Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.file_format = file_format - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file_format' is set - if self.file_format is None: - raise ValueError("Missing the required parameter `file_format` when calling `get_contact_file_as_mapi_model`") - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `get_contact_file_as_mapi_model`") - - collection_formats = {} - path = '/email/MapiContact/{fileFormat}/file-as-model' - path_params = {} - if self.file_format is not None: - path_params[self._lowercase_first_letter('fileFormat')] = self.file_format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_file_as_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_contact_file_as_model_request.py deleted file mode 100644 index b4003ad..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_file_as_model_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_contact_file_as_model_request import GetContactFileAsModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetContactFileAsModelRequest(BaseRequest): - """ - Request model for get_contact_file_as_model operation. - Initializes a new instance. - - :param format (str) File format Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert - """ - - def __init__(self, format: str, file: str): - """ - Request model for get_contact_file_as_model operation. - Initializes a new instance. - - :param format (str) File format Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.format = format - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_contact_file_as_model`") - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `get_contact_file_as_model`") - - collection_formats = {} - path = '/email/ContactModel/{format}/file-as-model' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_list_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_contact_list_request.py deleted file mode 100644 index fcb466a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_list_request.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_contact_list_request import GetContactListRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetContactListRequest(BaseRequest): - """ - Request model for get_contact_list operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param folder (str) Path to folder in storage - :param storage (str) Storage name - :param items_per_page (int) Count of items on page - :param page_number (int) Page number - """ - - def __init__(self, format: str, folder: str = None, storage: str = None, items_per_page: int = None, page_number: int = None): - """ - Request model for get_contact_list operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param folder (str) Path to folder in storage - :param storage (str) Storage name - :param items_per_page (int) Count of items on page - :param page_number (int) Page number - """ - - BaseRequest.__init__(self) - self.format = format - self.folder = folder - self.storage = storage - self.items_per_page = items_per_page - self.page_number = page_number - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_contact_list`") - - collection_formats = {} - path = '/email/Contact/{format}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.items_per_page if self.items_per_page is not None else '') - else: - if self.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), self.items_per_page)) - path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.page_number if self.page_number is not None else '') - else: - if self.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), self.page_number)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_model_list_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_contact_model_list_request.py deleted file mode 100644 index fec1138..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_model_list_request.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_contact_model_list_request import GetContactModelListRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetContactModelListRequest(BaseRequest): - """ - Request model for get_contact_model_list operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. - """ - - def __init__(self, format: str, folder: str = None, storage: str = None, items_per_page: int = None, page_number: int = None): - """ - Request model for get_contact_model_list operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. - """ - - BaseRequest.__init__(self) - self.format = format - self.folder = folder - self.storage = storage - self.items_per_page = items_per_page - self.page_number = page_number - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_contact_model_list`") - - collection_formats = {} - path = '/email/ContactModel/{format}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.items_per_page if self.items_per_page is not None else '') - else: - if self.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), self.items_per_page)) - path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.page_number if self.page_number is not None else '') - else: - if self.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), self.page_number)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_contact_model_request.py deleted file mode 100644 index a5a07df..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_model_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_contact_model_request import GetContactModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetContactModelRequest(BaseRequest): - """ - Request model for get_contact_model operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - """ - - def __init__(self, format: str, name: str, folder: str = None, storage: str = None): - """ - Request model for get_contact_model operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_contact_model`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_contact_model`") - - collection_formats = {} - path = '/email/ContactModel/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_properties_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_contact_properties_request.py deleted file mode 100644 index b98c580..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_contact_properties_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_contact_properties_request import GetContactPropertiesRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetContactPropertiesRequest(BaseRequest): - """ - Request model for get_contact_properties operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, format: str, name: str, folder: str = None, storage: str = None): - """ - Request model for get_contact_properties operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_contact_properties`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_contact_properties`") - - collection_formats = {} - path = '/email/Contact/{format}/{name}/properties' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_disc_usage_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_disc_usage_request.py deleted file mode 100644 index 168ab74..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_disc_usage_request.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_disc_usage_request import GetDiscUsageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetDiscUsageRequest(BaseRequest): - """ - Request model for get_disc_usage operation. - Initializes a new instance. - - :param storage_name (str) - """ - - def __init__(self, storage_name: str = None): - """ - Request model for get_disc_usage operation. - Initializes a new instance. - - :param storage_name (str) - """ - - BaseRequest.__init__(self) - self.storage_name = storage_name - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - - collection_formats = {} - path = '/email/storage/disc' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_as_file_request.py deleted file mode 100644 index 86bfc5c..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_as_file_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_as_file_request import GetEmailAsFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailAsFileRequest(BaseRequest): - """ - Request model for get_email_as_file operation. - Initializes a new instance. - - :param file_name (str) Email document file name - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - def __init__(self, file_name: str, format: str, storage: str = None, folder: str = None): - """ - Request model for get_email_as_file operation. - Initializes a new instance. - - :param file_name (str) Email document file name - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - BaseRequest.__init__(self) - self.file_name = file_name - self.format = format - self.storage = storage - self.folder = folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `get_email_as_file`") - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_email_as_file`") - - collection_formats = {} - path = '/email/{fileName}/as-file/{format}' - path_params = {} - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_attachment_request.py deleted file mode 100644 index 699bb4a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_attachment_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_attachment_request import GetEmailAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailAttachmentRequest(BaseRequest): - """ - Request model for get_email_attachment operation. - Initializes a new instance. - - :param attachment (str) Attachment name - :param file_name (str) Email document file name - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - def __init__(self, attachment: str, file_name: str, storage: str = None, folder: str = None): - """ - Request model for get_email_attachment operation. - Initializes a new instance. - - :param attachment (str) Attachment name - :param file_name (str) Email document file name - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - BaseRequest.__init__(self) - self.attachment = attachment - self.file_name = file_name - self.storage = storage - self.folder = folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'attachment' is set - if self.attachment is None: - raise ValueError("Missing the required parameter `attachment` when calling `get_email_attachment`") - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `get_email_attachment`") - - collection_formats = {} - path = '/email/{fileName}/attachments/{attachment}' - path_params = {} - if self.attachment is not None: - path_params[self._lowercase_first_letter('attachment')] = self.attachment - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_client_account_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_client_account_request.py deleted file mode 100644 index a963921..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_client_account_request.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_client_account_request import GetEmailClientAccountRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailClientAccountRequest(BaseRequest): - """ - Request model for get_email_client_account operation. - Initializes a new instance. - - :param name (str) File name on storage - :param folder (str) Folder on storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, folder: str, storage: str): - """ - Request model for get_email_client_account operation. - Initializes a new instance. - - :param name (str) File name on storage - :param folder (str) Folder on storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_email_client_account`") - # verify the required parameter 'folder' is set - if self.folder is None: - raise ValueError("Missing the required parameter `folder` when calling `get_email_client_account`") - # verify the required parameter 'storage' is set - if self.storage is None: - raise ValueError("Missing the required parameter `storage` when calling `get_email_client_account`") - - collection_formats = {} - path = '/email/client/email-client-account' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('name') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.name if self.name is not None else '') - else: - if self.name is not None: - query_params.append((self._lowercase_first_letter('name'), self.name)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_client_multi_account_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_client_multi_account_request.py deleted file mode 100644 index 2f2255a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_client_multi_account_request.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_client_multi_account_request import GetEmailClientMultiAccountRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailClientMultiAccountRequest(BaseRequest): - """ - Request model for get_email_client_multi_account operation. - Initializes a new instance. - - :param name (str) File name on storage - :param folder (str) Folder on storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, folder: str, storage: str): - """ - Request model for get_email_client_multi_account operation. - Initializes a new instance. - - :param name (str) File name on storage - :param folder (str) Folder on storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_email_client_multi_account`") - # verify the required parameter 'folder' is set - if self.folder is None: - raise ValueError("Missing the required parameter `folder` when calling `get_email_client_multi_account`") - # verify the required parameter 'storage' is set - if self.storage is None: - raise ValueError("Missing the required parameter `storage` when calling `get_email_client_multi_account`") - - collection_formats = {} - path = '/email/client/multi-account' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('name') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.name if self.name is not None else '') - else: - if self.name is not None: - query_params.append((self._lowercase_first_letter('name'), self.name)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_file_as_mapi_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_file_as_mapi_model_request.py deleted file mode 100644 index ea1662a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_file_as_mapi_model_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_file_as_mapi_model_request import GetEmailFileAsMapiModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailFileAsMapiModelRequest(BaseRequest): - """ - Request model for get_email_file_as_mapi_model operation. - Initializes a new instance. - - :param file_format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert - """ - - def __init__(self, file_format: str, file: str): - """ - Request model for get_email_file_as_mapi_model operation. - Initializes a new instance. - - :param file_format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.file_format = file_format - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file_format' is set - if self.file_format is None: - raise ValueError("Missing the required parameter `file_format` when calling `get_email_file_as_mapi_model`") - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `get_email_file_as_mapi_model`") - - collection_formats = {} - path = '/email/MapiMessage/{fileFormat}/file-as-model' - path_params = {} - if self.file_format is not None: - path_params[self._lowercase_first_letter('fileFormat')] = self.file_format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_file_as_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_file_as_model_request.py deleted file mode 100644 index c0f993e..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_file_as_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_file_as_model_request import GetEmailFileAsModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailFileAsModelRequest(BaseRequest): - """ - Request model for get_email_file_as_model operation. - Initializes a new instance. - - :param file (str) File to convert - """ - - def __init__(self, file: str): - """ - Request model for get_email_file_as_model operation. - Initializes a new instance. - - :param file (str) File to convert - """ - - BaseRequest.__init__(self) - self.file = file - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `get_email_file_as_model`") - - collection_formats = {} - path = '/email/model/file-as-model' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_model_list_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_model_list_request.py deleted file mode 100644 index 2f7c964..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_model_list_request.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_model_list_request import GetEmailModelListRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailModelListRequest(BaseRequest): - """ - Request model for get_email_model_list operation. - Initializes a new instance. - - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. - """ - - def __init__(self, format: str, folder: str = None, storage: str = None, items_per_page: int = None, page_number: int = None): - """ - Request model for get_email_model_list operation. - Initializes a new instance. - - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. - """ - - BaseRequest.__init__(self) - self.format = format - self.folder = folder - self.storage = storage - self.items_per_page = items_per_page - self.page_number = page_number - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_email_model_list`") - - collection_formats = {} - path = '/email/model/{format}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.items_per_page if self.items_per_page is not None else '') - else: - if self.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), self.items_per_page)) - path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.page_number if self.page_number is not None else '') - else: - if self.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), self.page_number)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_model_request.py deleted file mode 100644 index 19c9148..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_model_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_model_request import GetEmailModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailModelRequest(BaseRequest): - """ - Request model for get_email_model operation. - Initializes a new instance. - - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param name (str) Email document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - """ - - def __init__(self, format: str, name: str, folder: str = None, storage: str = None): - """ - Request model for get_email_model operation. - Initializes a new instance. - - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param name (str) Email document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_email_model`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_email_model`") - - collection_formats = {} - path = '/email/model/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_property_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_property_request.py deleted file mode 100644 index 280cf6f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_property_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_property_request import GetEmailPropertyRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailPropertyRequest(BaseRequest): - """ - Request model for get_email_property operation. - Initializes a new instance. - - :param property_name (str) A property name - :param file_name (str) Email document file name - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - def __init__(self, property_name: str, file_name: str, storage: str = None, folder: str = None): - """ - Request model for get_email_property operation. - Initializes a new instance. - - :param property_name (str) A property name - :param file_name (str) Email document file name - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - BaseRequest.__init__(self) - self.property_name = property_name - self.file_name = file_name - self.storage = storage - self.folder = folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'property_name' is set - if self.property_name is None: - raise ValueError("Missing the required parameter `property_name` when calling `get_email_property`") - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `get_email_property`") - - collection_formats = {} - path = '/email/{fileName}/properties/{propertyName}' - path_params = {} - if self.property_name is not None: - path_params[self._lowercase_first_letter('propertyName')] = self.property_name - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_email_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_email_request.py deleted file mode 100644 index 0fb60b1..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_email_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_email_request import GetEmailRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetEmailRequest(BaseRequest): - """ - Request model for get_email operation. - Initializes a new instance. - - :param file_name (str) Email document file name in storage - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - def __init__(self, file_name: str, storage: str = None, folder: str = None): - """ - Request model for get_email operation. - Initializes a new instance. - - :param file_name (str) Email document file name in storage - :param storage (str) Storage name - :param folder (str) Path to folder in storage - """ - - BaseRequest.__init__(self) - self.file_name = file_name - self.storage = storage - self.folder = folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `get_email`") - - collection_formats = {} - path = '/email/{fileName}' - path_params = {} - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_file_versions_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_file_versions_request.py deleted file mode 100644 index 138c45a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_file_versions_request.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_file_versions_request import GetFileVersionsRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetFileVersionsRequest(BaseRequest): - """ - Request model for get_file_versions operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - """ - - def __init__(self, path: str, storage_name: str = None): - """ - Request model for get_file_versions operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - """ - - BaseRequest.__init__(self) - self.path = path - self.storage_name = storage_name - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'path' is set - if self.path is None: - raise ValueError("Missing the required parameter `path` when calling `get_file_versions`") - - collection_formats = {} - path = '/email/storage/version/{path}' - path_params = {} - if self.path is not None: - path_params[self._lowercase_first_letter('path')] = self.path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_files_list_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_files_list_request.py deleted file mode 100644 index d2eb5c6..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_files_list_request.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_files_list_request import GetFilesListRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetFilesListRequest(BaseRequest): - """ - Request model for get_files_list operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - """ - - def __init__(self, path: str, storage_name: str = None): - """ - Request model for get_files_list operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - """ - - BaseRequest.__init__(self) - self.path = path - self.storage_name = storage_name - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'path' is set - if self.path is None: - raise ValueError("Missing the required parameter `path` when calling `get_files_list`") - - collection_formats = {} - path = '/email/storage/folder/{path}' - path_params = {} - if self.path is not None: - path_params[self._lowercase_first_letter('path')] = self.path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_attachment_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_attachment_request.py deleted file mode 100644 index c343805..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_attachment_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_mapi_attachment_request import GetMapiAttachmentRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetMapiAttachmentRequest(BaseRequest): - """ - Request model for get_mapi_attachment operation. - Initializes a new instance. - - :param name (str) Document file name - :param attachment (str) Attachment name or index - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, attachment: str, folder: str = None, storage: str = None): - """ - Request model for get_mapi_attachment operation. - Initializes a new instance. - - :param name (str) Document file name - :param attachment (str) Attachment name or index - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.attachment = attachment - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_mapi_attachment`") - # verify the required parameter 'attachment' is set - if self.attachment is None: - raise ValueError("Missing the required parameter `attachment` when calling `get_mapi_attachment`") - - collection_formats = {} - path = '/email/Mapi/{name}/attachments/{attachment}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.attachment is not None: - path_params[self._lowercase_first_letter('attachment')] = self.attachment - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['multipart/form-data']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_attachments_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_attachments_request.py deleted file mode 100644 index 1d72861..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_attachments_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_mapi_attachments_request import GetMapiAttachmentsRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetMapiAttachmentsRequest(BaseRequest): - """ - Request model for get_mapi_attachments operation. - Initializes a new instance. - - :param name (str) Document file name - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, folder: str = None, storage: str = None): - """ - Request model for get_mapi_attachments operation. - Initializes a new instance. - - :param name (str) Document file name - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_mapi_attachments`") - - collection_formats = {} - path = '/email/Mapi/{name}/attachments' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_calendar_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_calendar_model_request.py deleted file mode 100644 index ce45afa..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_calendar_model_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_mapi_calendar_model_request import GetMapiCalendarModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetMapiCalendarModelRequest(BaseRequest): - """ - Request model for get_mapi_calendar_model operation. - Initializes a new instance. - - :param name (str) Calendar file name in storage - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, folder: str = None, storage: str = None): - """ - Request model for get_mapi_calendar_model operation. - Initializes a new instance. - - :param name (str) Calendar file name in storage - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_mapi_calendar_model`") - - collection_formats = {} - path = '/email/MapiCalendar/{name}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_contact_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_contact_model_request.py deleted file mode 100644 index 9cffd49..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_contact_model_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_mapi_contact_model_request import GetMapiContactModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetMapiContactModelRequest(BaseRequest): - """ - Request model for get_mapi_contact_model operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - """ - - def __init__(self, format: str, name: str, folder: str = None, storage: str = None): - """ - Request model for get_mapi_contact_model operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_mapi_contact_model`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_mapi_contact_model`") - - collection_formats = {} - path = '/email/MapiContact/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_list_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_list_request.py deleted file mode 100644 index 263c665..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_list_request.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_mapi_list_request import GetMapiListRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetMapiListRequest(BaseRequest): - """ - Request model for get_mapi_list operation. - Initializes a new instance. - - :param folder (str) Path to folder in storage - :param storage (str) Storage name - :param items_per_page (int) Count of items on page - :param page_number (int) Page number - """ - - def __init__(self, folder: str = None, storage: str = None, items_per_page: int = None, page_number: int = None): - """ - Request model for get_mapi_list operation. - Initializes a new instance. - - :param folder (str) Path to folder in storage - :param storage (str) Storage name - :param items_per_page (int) Count of items on page - :param page_number (int) Page number - """ - - BaseRequest.__init__(self) - self.folder = folder - self.storage = storage - self.items_per_page = items_per_page - self.page_number = page_number - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - - collection_formats = {} - path = '/email/Mapi' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.items_per_page if self.items_per_page is not None else '') - else: - if self.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), self.items_per_page)) - path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.page_number if self.page_number is not None else '') - else: - if self.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), self.page_number)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_message_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_message_model_request.py deleted file mode 100644 index 4e911c1..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_message_model_request.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_mapi_message_model_request import GetMapiMessageModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetMapiMessageModelRequest(BaseRequest): - """ - Request model for get_mapi_message_model operation. - Initializes a new instance. - - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param name (str) Email document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - """ - - def __init__(self, format: str, name: str, folder: str = None, storage: str = None): - """ - Request model for get_mapi_message_model operation. - Initializes a new instance. - - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param name (str) Email document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `get_mapi_message_model`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_mapi_message_model`") - - collection_formats = {} - path = '/email/MapiMessage/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_properties_request.py b/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_properties_request.py deleted file mode 100644 index 2469ada..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/get_mapi_properties_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.get_mapi_properties_request import GetMapiPropertiesRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class GetMapiPropertiesRequest(BaseRequest): - """ - Request model for get_mapi_properties operation. - Initializes a new instance. - - :param name (str) Document file name - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - def __init__(self, name: str, folder: str = None, storage: str = None): - """ - Request model for get_mapi_properties operation. - Initializes a new instance. - - :param name (str) Document file name - :param folder (str) Path to folder in storage - :param storage (str) Storage name - """ - - BaseRequest.__init__(self) - self.name = name - self.folder = folder - self.storage = storage - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `get_mapi_properties`") - - collection_formats = {} - path = '/email/Mapi/{name}/properties' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/list_email_folders_request.py b/sdk/AsposeEmailCloudSdk/models/requests/list_email_folders_request.py deleted file mode 100644 index 4e37474..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/list_email_folders_request.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.list_email_folders_request import ListEmailFoldersRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ListEmailFoldersRequest(BaseRequest): - """ - Request model for list_email_folders operation. - Initializes a new instance. - - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - :param parent_folder (str) Folder in which subfolders should be listed - """ - - def __init__(self, first_account: str, second_account: str = None, storage: str = None, storage_folder: str = None, parent_folder: str = None): - """ - Request model for list_email_folders operation. - Initializes a new instance. - - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - :param parent_folder (str) Folder in which subfolders should be listed - """ - - BaseRequest.__init__(self) - self.first_account = first_account - self.second_account = second_account - self.storage = storage - self.storage_folder = storage_folder - self.parent_folder = parent_folder - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'first_account' is set - if self.first_account is None: - raise ValueError("Missing the required parameter `first_account` when calling `list_email_folders`") - - collection_formats = {} - path = '/email/client/ListFolders' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('firstAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.first_account if self.first_account is not None else '') - else: - if self.first_account is not None: - query_params.append((self._lowercase_first_letter('firstAccount'), self.first_account)) - path_parameter = '{' + self._lowercase_first_letter('secondAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.second_account if self.second_account is not None else '') - else: - if self.second_account is not None: - query_params.append((self._lowercase_first_letter('secondAccount'), self.second_account)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('storageFolder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_folder if self.storage_folder is not None else '') - else: - if self.storage_folder is not None: - query_params.append((self._lowercase_first_letter('storageFolder'), self.storage_folder)) - path_parameter = '{' + self._lowercase_first_letter('parentFolder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.parent_folder if self.parent_folder is not None else '') - else: - if self.parent_folder is not None: - query_params.append((self._lowercase_first_letter('parentFolder'), self.parent_folder)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/list_email_messages_request.py b/sdk/AsposeEmailCloudSdk/models/requests/list_email_messages_request.py deleted file mode 100644 index 55c853f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/list_email_messages_request.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.list_email_messages_request import ListEmailMessagesRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ListEmailMessagesRequest(BaseRequest): - """ - Request model for list_email_messages operation. - Initializes a new instance. - - :param folder (str) A folder in email account - :param query_string (str) A MailQuery search string - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - :param recursive (bool) Specifies that should message be searched in subfolders recursively - """ - - def __init__(self, folder: str, query_string: str, first_account: str, second_account: str = None, storage: str = None, storage_folder: str = None, recursive: bool = None): - """ - Request model for list_email_messages operation. - Initializes a new instance. - - :param folder (str) A folder in email account - :param query_string (str) A MailQuery search string - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - :param recursive (bool) Specifies that should message be searched in subfolders recursively - """ - - BaseRequest.__init__(self) - self.folder = folder - self.query_string = query_string - self.first_account = first_account - self.second_account = second_account - self.storage = storage - self.storage_folder = storage_folder - self.recursive = recursive - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'folder' is set - if self.folder is None: - raise ValueError("Missing the required parameter `folder` when calling `list_email_messages`") - # verify the required parameter 'query_string' is set - if self.query_string is None: - raise ValueError("Missing the required parameter `query_string` when calling `list_email_messages`") - # verify the required parameter 'first_account' is set - if self.first_account is None: - raise ValueError("Missing the required parameter `first_account` when calling `list_email_messages`") - - collection_formats = {} - path = '/email/client/ListMessages' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('queryString') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.query_string if self.query_string is not None else '') - else: - if self.query_string is not None: - query_params.append((self._lowercase_first_letter('queryString'), self.query_string)) - path_parameter = '{' + self._lowercase_first_letter('firstAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.first_account if self.first_account is not None else '') - else: - if self.first_account is not None: - query_params.append((self._lowercase_first_letter('firstAccount'), self.first_account)) - path_parameter = '{' + self._lowercase_first_letter('secondAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.second_account if self.second_account is not None else '') - else: - if self.second_account is not None: - query_params.append((self._lowercase_first_letter('secondAccount'), self.second_account)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('storageFolder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_folder if self.storage_folder is not None else '') - else: - if self.storage_folder is not None: - query_params.append((self._lowercase_first_letter('storageFolder'), self.storage_folder)) - path_parameter = '{' + self._lowercase_first_letter('recursive') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.recursive if self.recursive is not None else '') - else: - if self.recursive is not None: - query_params.append((self._lowercase_first_letter('recursive'), self.recursive)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/list_email_models_request.py b/sdk/AsposeEmailCloudSdk/models/requests/list_email_models_request.py deleted file mode 100644 index c9a8dc5..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/list_email_models_request.py +++ /dev/null @@ -1,153 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.list_email_models_request import ListEmailModelsRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ListEmailModelsRequest(BaseRequest): - """ - Request model for list_email_models operation. - Initializes a new instance. - - :param folder (str) A folder in email account - :param first_account (str) Email account - :param query_string (str) A MailQuery search string - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - :param recursive (bool) Specifies that should message be searched in subfolders recursively - """ - - def __init__(self, folder: str, first_account: str, query_string: str = None, second_account: str = None, storage: str = None, storage_folder: str = None, recursive: bool = None): - """ - Request model for list_email_models operation. - Initializes a new instance. - - :param folder (str) A folder in email account - :param first_account (str) Email account - :param query_string (str) A MailQuery search string - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - :param recursive (bool) Specifies that should message be searched in subfolders recursively - """ - - BaseRequest.__init__(self) - self.folder = folder - self.first_account = first_account - self.query_string = query_string - self.second_account = second_account - self.storage = storage - self.storage_folder = storage_folder - self.recursive = recursive - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'folder' is set - if self.folder is None: - raise ValueError("Missing the required parameter `folder` when calling `list_email_models`") - # verify the required parameter 'first_account' is set - if self.first_account is None: - raise ValueError("Missing the required parameter `first_account` when calling `list_email_models`") - - collection_formats = {} - path = '/email/client/ListMessagesModel' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('firstAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.first_account if self.first_account is not None else '') - else: - if self.first_account is not None: - query_params.append((self._lowercase_first_letter('firstAccount'), self.first_account)) - path_parameter = '{' + self._lowercase_first_letter('queryString') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.query_string if self.query_string is not None else '') - else: - if self.query_string is not None: - query_params.append((self._lowercase_first_letter('queryString'), self.query_string)) - path_parameter = '{' + self._lowercase_first_letter('secondAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.second_account if self.second_account is not None else '') - else: - if self.second_account is not None: - query_params.append((self._lowercase_first_letter('secondAccount'), self.second_account)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('storageFolder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_folder if self.storage_folder is not None else '') - else: - if self.storage_folder is not None: - query_params.append((self._lowercase_first_letter('storageFolder'), self.storage_folder)) - path_parameter = '{' + self._lowercase_first_letter('recursive') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.recursive if self.recursive is not None else '') - else: - if self.recursive is not None: - query_params.append((self._lowercase_first_letter('recursive'), self.recursive)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/list_email_threads_request.py b/sdk/AsposeEmailCloudSdk/models/requests/list_email_threads_request.py deleted file mode 100644 index a244e4a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/list_email_threads_request.py +++ /dev/null @@ -1,153 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.list_email_threads_request import ListEmailThreadsRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ListEmailThreadsRequest(BaseRequest): - """ - Request model for list_email_threads operation. - Initializes a new instance. - - :param folder (str) A folder in email account. - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - :param update_folder_cache (bool) This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account - :param messages_cache_limit (int) Limit messages cache size if CacheFile is used. Ignored in accounts without limits support - """ - - def __init__(self, folder: str, first_account: str, second_account: str = None, storage: str = None, storage_folder: str = None, update_folder_cache: bool = None, messages_cache_limit: int = None): - """ - Request model for list_email_threads operation. - Initializes a new instance. - - :param folder (str) A folder in email account. - :param first_account (str) Email account - :param second_account (str) Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) - :param storage (str) Storage name where account file(s) located - :param storage_folder (str) Folder in storage where account file(s) located - :param update_folder_cache (bool) This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account - :param messages_cache_limit (int) Limit messages cache size if CacheFile is used. Ignored in accounts without limits support - """ - - BaseRequest.__init__(self) - self.folder = folder - self.first_account = first_account - self.second_account = second_account - self.storage = storage - self.storage_folder = storage_folder - self.update_folder_cache = update_folder_cache - self.messages_cache_limit = messages_cache_limit - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'folder' is set - if self.folder is None: - raise ValueError("Missing the required parameter `folder` when calling `list_email_threads`") - # verify the required parameter 'first_account' is set - if self.first_account is None: - raise ValueError("Missing the required parameter `first_account` when calling `list_email_threads`") - - collection_formats = {} - path = '/email/client/threads' - path_params = {} - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('folder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.folder if self.folder is not None else '') - else: - if self.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), self.folder)) - path_parameter = '{' + self._lowercase_first_letter('firstAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.first_account if self.first_account is not None else '') - else: - if self.first_account is not None: - query_params.append((self._lowercase_first_letter('firstAccount'), self.first_account)) - path_parameter = '{' + self._lowercase_first_letter('secondAccount') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.second_account if self.second_account is not None else '') - else: - if self.second_account is not None: - query_params.append((self._lowercase_first_letter('secondAccount'), self.second_account)) - path_parameter = '{' + self._lowercase_first_letter('storage') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage if self.storage is not None else '') - else: - if self.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), self.storage)) - path_parameter = '{' + self._lowercase_first_letter('storageFolder') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_folder if self.storage_folder is not None else '') - else: - if self.storage_folder is not None: - query_params.append((self._lowercase_first_letter('storageFolder'), self.storage_folder)) - path_parameter = '{' + self._lowercase_first_letter('updateFolderCache') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.update_folder_cache if self.update_folder_cache is not None else '') - else: - if self.update_folder_cache is not None: - query_params.append((self._lowercase_first_letter('updateFolderCache'), self.update_folder_cache)) - path_parameter = '{' + self._lowercase_first_letter('messagesCacheLimit') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.messages_cache_limit if self.messages_cache_limit is not None else '') - else: - if self.messages_cache_limit is not None: - query_params.append((self._lowercase_first_letter('messagesCacheLimit'), self.messages_cache_limit)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/move_email_message_request.py b/sdk/AsposeEmailCloudSdk/models/requests/move_email_message_request.py deleted file mode 100644 index 00d8be7..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/move_email_message_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.move_email_message_request import MoveEmailMessageRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class MoveEmailMessageRequest(BaseRequest): - """ - Request model for move_email_message operation. - Initializes a new instance. - - :param request (MoveEmailMessageRq) Email account, folder and message specifier - """ - - def __init__(self, request: MoveEmailMessageRq): - """ - Request model for move_email_message operation. - Initializes a new instance. - - :param request (MoveEmailMessageRq) Email account, folder and message specifier - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `move_email_message`") - - collection_formats = {} - path = '/email/client/move' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/move_email_thread_request.py b/sdk/AsposeEmailCloudSdk/models/requests/move_email_thread_request.py deleted file mode 100644 index 4f76075..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/move_email_thread_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.move_email_thread_request import MoveEmailThreadRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class MoveEmailThreadRequest(BaseRequest): - """ - Request model for move_email_thread operation. - Initializes a new instance. - - :param thread_id (str) Thread identifier - :param request (MoveEmailThreadRq) Move thread request - """ - - def __init__(self, thread_id: str, request: MoveEmailThreadRq): - """ - Request model for move_email_thread operation. - Initializes a new instance. - - :param thread_id (str) Thread identifier - :param request (MoveEmailThreadRq) Move thread request - """ - - BaseRequest.__init__(self) - self.thread_id = thread_id - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'thread_id' is set - if self.thread_id is None: - raise ValueError("Missing the required parameter `thread_id` when calling `move_email_thread`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `move_email_thread`") - - collection_formats = {} - path = '/email/client/threads/{threadId}/move' - path_params = {} - if self.thread_id is not None: - path_params[self._lowercase_first_letter('threadId')] = self.thread_id - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/move_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/move_file_request.py deleted file mode 100644 index f8fd627..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/move_file_request.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.move_file_request import MoveFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class MoveFileRequest(BaseRequest): - """ - Request model for move_file operation. - Initializes a new instance. - - :param src_path (str) - :param dest_path (str) - :param src_storage_name (str) - :param dest_storage_name (str) - :param version_id (str) - """ - - def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None, version_id: str = None): - """ - Request model for move_file operation. - Initializes a new instance. - - :param src_path (str) - :param dest_path (str) - :param src_storage_name (str) - :param dest_storage_name (str) - :param version_id (str) - """ - - BaseRequest.__init__(self) - self.src_path = src_path - self.dest_path = dest_path - self.src_storage_name = src_storage_name - self.dest_storage_name = dest_storage_name - self.version_id = version_id - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'src_path' is set - if self.src_path is None: - raise ValueError("Missing the required parameter `src_path` when calling `move_file`") - # verify the required parameter 'dest_path' is set - if self.dest_path is None: - raise ValueError("Missing the required parameter `dest_path` when calling `move_file`") - - collection_formats = {} - path = '/email/storage/file/move/{srcPath}' - path_params = {} - if self.src_path is not None: - path_params[self._lowercase_first_letter('srcPath')] = self.src_path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('destPath') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.dest_path if self.dest_path is not None else '') - else: - if self.dest_path is not None: - query_params.append((self._lowercase_first_letter('destPath'), self.dest_path)) - path_parameter = '{' + self._lowercase_first_letter('srcStorageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.src_storage_name if self.src_storage_name is not None else '') - else: - if self.src_storage_name is not None: - query_params.append((self._lowercase_first_letter('srcStorageName'), self.src_storage_name)) - path_parameter = '{' + self._lowercase_first_letter('destStorageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.dest_storage_name if self.dest_storage_name is not None else '') - else: - if self.dest_storage_name is not None: - query_params.append((self._lowercase_first_letter('destStorageName'), self.dest_storage_name)) - path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.version_id if self.version_id is not None else '') - else: - if self.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), self.version_id)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/move_folder_request.py b/sdk/AsposeEmailCloudSdk/models/requests/move_folder_request.py deleted file mode 100644 index 401fd9c..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/move_folder_request.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.move_folder_request import MoveFolderRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class MoveFolderRequest(BaseRequest): - """ - Request model for move_folder operation. - Initializes a new instance. - - :param src_path (str) - :param dest_path (str) - :param src_storage_name (str) - :param dest_storage_name (str) - """ - - def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None): - """ - Request model for move_folder operation. - Initializes a new instance. - - :param src_path (str) - :param dest_path (str) - :param src_storage_name (str) - :param dest_storage_name (str) - """ - - BaseRequest.__init__(self) - self.src_path = src_path - self.dest_path = dest_path - self.src_storage_name = src_storage_name - self.dest_storage_name = dest_storage_name - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'src_path' is set - if self.src_path is None: - raise ValueError("Missing the required parameter `src_path` when calling `move_folder`") - # verify the required parameter 'dest_path' is set - if self.dest_path is None: - raise ValueError("Missing the required parameter `dest_path` when calling `move_folder`") - - collection_formats = {} - path = '/email/storage/folder/move/{srcPath}' - path_params = {} - if self.src_path is not None: - path_params[self._lowercase_first_letter('srcPath')] = self.src_path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('destPath') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.dest_path if self.dest_path is not None else '') - else: - if self.dest_path is not None: - query_params.append((self._lowercase_first_letter('destPath'), self.dest_path)) - path_parameter = '{' + self._lowercase_first_letter('srcStorageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.src_storage_name if self.src_storage_name is not None else '') - else: - if self.src_storage_name is not None: - query_params.append((self._lowercase_first_letter('srcStorageName'), self.src_storage_name)) - path_parameter = '{' + self._lowercase_first_letter('destStorageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.dest_storage_name if self.dest_storage_name is not None else '') - else: - if self.dest_storage_name is not None: - query_params.append((self._lowercase_first_letter('destStorageName'), self.dest_storage_name)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/object_exists_request.py b/sdk/AsposeEmailCloudSdk/models/requests/object_exists_request.py deleted file mode 100644 index c0fa910..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/object_exists_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.object_exists_request import ObjectExistsRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class ObjectExistsRequest(BaseRequest): - """ - Request model for object_exists operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - :param version_id (str) - """ - - def __init__(self, path: str, storage_name: str = None, version_id: str = None): - """ - Request model for object_exists operation. - Initializes a new instance. - - :param path (str) - :param storage_name (str) - :param version_id (str) - """ - - BaseRequest.__init__(self) - self.path = path - self.storage_name = storage_name - self.version_id = version_id - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'path' is set - if self.path is None: - raise ValueError("Missing the required parameter `path` when calling `object_exists`") - - collection_formats = {} - path = '/email/storage/exist/{path}' - path_params = {} - if self.path is not None: - path_params[self._lowercase_first_letter('path')] = self.path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.version_id if self.version_id is not None else '') - else: - if self.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), self.version_id)) - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_calendar_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_calendar_model_request.py deleted file mode 100644 index 86ad636..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_calendar_model_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_calendar_model_request import SaveCalendarModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveCalendarModelRequest(BaseRequest): - """ - Request model for save_calendar_model operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param rq (StorageModelRqOfCalendarDto) Calendar update request - """ - - def __init__(self, name: str, rq: StorageModelRqOfCalendarDto): - """ - Request model for save_calendar_model operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param rq (StorageModelRqOfCalendarDto) Calendar update request - """ - - BaseRequest.__init__(self) - self.name = name - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `save_calendar_model`") - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `save_calendar_model`") - - collection_formats = {} - path = '/email/CalendarModel/{name}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_contact_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_contact_model_request.py deleted file mode 100644 index c016ca6..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_contact_model_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_contact_model_request import SaveContactModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveContactModelRequest(BaseRequest): - """ - Request model for save_contact_model operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name. - :param rq (StorageModelRqOfContactDto) Create/Update contact request. - """ - - def __init__(self, format: str, name: str, rq: StorageModelRqOfContactDto): - """ - Request model for save_contact_model operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name. - :param rq (StorageModelRqOfContactDto) Create/Update contact request. - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `save_contact_model`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `save_contact_model`") - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `save_contact_model`") - - collection_formats = {} - path = '/email/ContactModel/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_email_client_account_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_email_client_account_request.py deleted file mode 100644 index 2b878df..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_email_client_account_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_email_client_account_request import SaveEmailClientAccountRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveEmailClientAccountRequest(BaseRequest): - """ - Request model for save_email_client_account operation. - Initializes a new instance. - - :param request (StorageFileRqOfEmailClientAccount) Email account information - """ - - def __init__(self, request: StorageFileRqOfEmailClientAccount): - """ - Request model for save_email_client_account operation. - Initializes a new instance. - - :param request (StorageFileRqOfEmailClientAccount) Email account information - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `save_email_client_account`") - - collection_formats = {} - path = '/email/client/email-client-account' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_email_client_multi_account_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_email_client_multi_account_request.py deleted file mode 100644 index 2963675..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_email_client_multi_account_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_email_client_multi_account_request import SaveEmailClientMultiAccountRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveEmailClientMultiAccountRequest(BaseRequest): - """ - Request model for save_email_client_multi_account operation. - Initializes a new instance. - - :param request (StorageFileRqOfEmailClientMultiAccount) Email accounts information - """ - - def __init__(self, request: StorageFileRqOfEmailClientMultiAccount): - """ - Request model for save_email_client_multi_account operation. - Initializes a new instance. - - :param request (StorageFileRqOfEmailClientMultiAccount) Email accounts information - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `save_email_client_multi_account`") - - collection_formats = {} - path = '/email/client/multi-account' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_email_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_email_model_request.py deleted file mode 100644 index 5694f51..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_email_model_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_email_model_request import SaveEmailModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveEmailModelRequest(BaseRequest): - """ - Request model for save_email_model operation. - Initializes a new instance. - - :param format (str) File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param name (str) Email document file name in storage. - :param rq (StorageModelRqOfEmailDto) Email document create/update request. - """ - - def __init__(self, format: str, name: str, rq: StorageModelRqOfEmailDto): - """ - Request model for save_email_model operation. - Initializes a new instance. - - :param format (str) File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param name (str) Email document file name in storage. - :param rq (StorageModelRqOfEmailDto) Email document create/update request. - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `save_email_model`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `save_email_model`") - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `save_email_model`") - - collection_formats = {} - path = '/email/model/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_mail_account_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_mail_account_request.py deleted file mode 100644 index 93c5467..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_mail_account_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_mail_account_request import SaveMailAccountRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveMailAccountRequest(BaseRequest): - """ - Request model for save_mail_account operation. - Initializes a new instance. - - :param request (SaveEmailAccountRequest) Email account information - """ - - def __init__(self, request: SaveEmailAccountRequest): - """ - Request model for save_mail_account operation. - Initializes a new instance. - - :param request (SaveEmailAccountRequest) Email account information - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `save_mail_account`") - - collection_formats = {} - path = '/email/client/SaveMailAccount' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_mail_o_auth_account_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_mail_o_auth_account_request.py deleted file mode 100644 index c47b0f4..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_mail_o_auth_account_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_mail_o_auth_account_request import SaveMailOAuthAccountRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveMailOAuthAccountRequest(BaseRequest): - """ - Request model for save_mail_o_auth_account operation. - Initializes a new instance. - - :param request (SaveOAuthEmailAccountRequest) Email account information - """ - - def __init__(self, request: SaveOAuthEmailAccountRequest): - """ - Request model for save_mail_o_auth_account operation. - Initializes a new instance. - - :param request (SaveOAuthEmailAccountRequest) Email account information - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `save_mail_o_auth_account`") - - collection_formats = {} - path = '/email/client/SaveMailOAuthAccount' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_calendar_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_calendar_model_request.py deleted file mode 100644 index 9ab9ec2..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_calendar_model_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_mapi_calendar_model_request import SaveMapiCalendarModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveMapiCalendarModelRequest(BaseRequest): - """ - Request model for save_mapi_calendar_model operation. - Initializes a new instance. - - :param name (str) Calendar file name in storage - :param format (str) File format Enum, available values: Ics, Msg - :param rq (StorageModelRqOfMapiCalendarDto) Calendar update request - """ - - def __init__(self, name: str, format: str, rq: StorageModelRqOfMapiCalendarDto): - """ - Request model for save_mapi_calendar_model operation. - Initializes a new instance. - - :param name (str) Calendar file name in storage - :param format (str) File format Enum, available values: Ics, Msg - :param rq (StorageModelRqOfMapiCalendarDto) Calendar update request - """ - - BaseRequest.__init__(self) - self.name = name - self.format = format - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `save_mapi_calendar_model`") - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `save_mapi_calendar_model`") - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `save_mapi_calendar_model`") - - collection_formats = {} - path = '/email/MapiCalendar/{format}/{name}' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_contact_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_contact_model_request.py deleted file mode 100644 index c9099a8..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_contact_model_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_mapi_contact_model_request import SaveMapiContactModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveMapiContactModelRequest(BaseRequest): - """ - Request model for save_mapi_contact_model operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name. - :param rq (StorageModelRqOfMapiContactDto) Create/Update contact request. - """ - - def __init__(self, format: str, name: str, rq: StorageModelRqOfMapiContactDto): - """ - Request model for save_mapi_contact_model operation. - Initializes a new instance. - - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name. - :param rq (StorageModelRqOfMapiContactDto) Create/Update contact request. - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `save_mapi_contact_model`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `save_mapi_contact_model`") - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `save_mapi_contact_model`") - - collection_formats = {} - path = '/email/MapiContact/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_message_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_message_model_request.py deleted file mode 100644 index 6fd1334..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/save_mapi_message_model_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.save_mapi_message_model_request import SaveMapiMessageModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SaveMapiMessageModelRequest(BaseRequest): - """ - Request model for save_mapi_message_model operation. - Initializes a new instance. - - :param format (str) File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param name (str) Message file name in storage. - :param rq (StorageModelRqOfMapiMessageDto) Message create/update request. - """ - - def __init__(self, format: str, name: str, rq: StorageModelRqOfMapiMessageDto): - """ - Request model for save_mapi_message_model operation. - Initializes a new instance. - - :param format (str) File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param name (str) Message file name in storage. - :param rq (StorageModelRqOfMapiMessageDto) Message create/update request. - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `save_mapi_message_model`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `save_mapi_message_model`") - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `save_mapi_message_model`") - - collection_formats = {} - path = '/email/MapiMessage/{format}/{name}' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/send_email_mime_request.py b/sdk/AsposeEmailCloudSdk/models/requests/send_email_mime_request.py deleted file mode 100644 index 92e852e..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/send_email_mime_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.send_email_mime_request import SendEmailMimeRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SendEmailMimeRequest(BaseRequest): - """ - Request model for send_email_mime operation. - Initializes a new instance. - - :param request (SendEmailMimeBaseRequest) Send email request - """ - - def __init__(self, request: SendEmailMimeBaseRequest): - """ - Request model for send_email_mime operation. - Initializes a new instance. - - :param request (SendEmailMimeBaseRequest) Send email request - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `send_email_mime`") - - collection_formats = {} - path = '/email/client/SendMime' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/send_email_model_request.py b/sdk/AsposeEmailCloudSdk/models/requests/send_email_model_request.py deleted file mode 100644 index 612222f..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/send_email_model_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.send_email_model_request import SendEmailModelRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SendEmailModelRequest(BaseRequest): - """ - Request model for send_email_model operation. - Initializes a new instance. - - :param rq (SendEmailModelRq) Send email request - """ - - def __init__(self, rq: SendEmailModelRq): - """ - Request model for send_email_model operation. - Initializes a new instance. - - :param rq (SendEmailModelRq) Send email request - """ - - BaseRequest.__init__(self) - self.rq = rq - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'rq' is set - if self.rq is None: - raise ValueError("Missing the required parameter `rq` when calling `send_email_model`") - - collection_formats = {} - path = '/email/client/SendModel' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.rq is not None: - body_params = self.rq - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/send_email_request.py b/sdk/AsposeEmailCloudSdk/models/requests/send_email_request.py deleted file mode 100644 index c81d1b9..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/send_email_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.send_email_request import SendEmailRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SendEmailRequest(BaseRequest): - """ - Request model for send_email operation. - Initializes a new instance. - - :param request (SendEmailBaseRequest) Send email request - """ - - def __init__(self, request: SendEmailBaseRequest): - """ - Request model for send_email operation. - Initializes a new instance. - - :param request (SendEmailBaseRequest) Send email request - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `send_email`") - - collection_formats = {} - path = '/email/client/Send' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/set_email_property_request.py b/sdk/AsposeEmailCloudSdk/models/requests/set_email_property_request.py deleted file mode 100644 index 3976cbe..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/set_email_property_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.set_email_property_request import SetEmailPropertyRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SetEmailPropertyRequest(BaseRequest): - """ - Request model for set_email_property operation. - Initializes a new instance. - - :param property_name (str) A property name that should be changed - :param file_name (str) Email document file name - :param request (SetEmailPropertyRequest) A property that should be changed and optional Storage info to specify where the file located - """ - - def __init__(self, property_name: str, file_name: str, request: SetEmailPropertyRequest): - """ - Request model for set_email_property operation. - Initializes a new instance. - - :param property_name (str) A property name that should be changed - :param file_name (str) Email document file name - :param request (SetEmailPropertyRequest) A property that should be changed and optional Storage info to specify where the file located - """ - - BaseRequest.__init__(self) - self.property_name = property_name - self.file_name = file_name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'property_name' is set - if self.property_name is None: - raise ValueError("Missing the required parameter `property_name` when calling `set_email_property`") - # verify the required parameter 'file_name' is set - if self.file_name is None: - raise ValueError("Missing the required parameter `file_name` when calling `set_email_property`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `set_email_property`") - - collection_formats = {} - path = '/email/{fileName}/properties/{propertyName}' - path_params = {} - if self.property_name is not None: - path_params[self._lowercase_first_letter('propertyName')] = self.property_name - if self.file_name is not None: - path_params[self._lowercase_first_letter('fileName')] = self.file_name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/set_email_read_flag_request.py b/sdk/AsposeEmailCloudSdk/models/requests/set_email_read_flag_request.py deleted file mode 100644 index 5f6b2c9..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/set_email_read_flag_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.set_email_read_flag_request import SetEmailReadFlagRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SetEmailReadFlagRequest(BaseRequest): - """ - Request model for set_email_read_flag operation. - Initializes a new instance. - - :param request (SetMessageReadFlagAccountBaseRequest) Message is read request - """ - - def __init__(self, request: SetMessageReadFlagAccountBaseRequest): - """ - Request model for set_email_read_flag operation. - Initializes a new instance. - - :param request (SetMessageReadFlagAccountBaseRequest) Message is read request - """ - - BaseRequest.__init__(self) - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `set_email_read_flag`") - - collection_formats = {} - path = '/email/client/SetReadFlag' - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/set_email_thread_read_flag_request.py b/sdk/AsposeEmailCloudSdk/models/requests/set_email_thread_read_flag_request.py deleted file mode 100644 index 5369ea6..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/set_email_thread_read_flag_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.set_email_thread_read_flag_request import SetEmailThreadReadFlagRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class SetEmailThreadReadFlagRequest(BaseRequest): - """ - Request model for set_email_thread_read_flag operation. - Initializes a new instance. - - :param thread_id (str) Thread id - :param request (EmailThreadReadFlagRq) Email account specifier and IsRead flag - """ - - def __init__(self, thread_id: str, request: EmailThreadReadFlagRq): - """ - Request model for set_email_thread_read_flag operation. - Initializes a new instance. - - :param thread_id (str) Thread id - :param request (EmailThreadReadFlagRq) Email account specifier and IsRead flag - """ - - BaseRequest.__init__(self) - self.thread_id = thread_id - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'thread_id' is set - if self.thread_id is None: - raise ValueError("Missing the required parameter `thread_id` when calling `set_email_thread_read_flag`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `set_email_thread_read_flag`") - - collection_formats = {} - path = '/email/client/threads/{threadId}/read-flag' - path_params = {} - if self.thread_id is not None: - path_params[self._lowercase_first_letter('threadId')] = self.thread_id - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/storage_exists_request.py b/sdk/AsposeEmailCloudSdk/models/requests/storage_exists_request.py deleted file mode 100644 index 37ae6a8..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/storage_exists_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.storage_exists_request import StorageExistsRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class StorageExistsRequest(BaseRequest): - """ - Request model for storage_exists operation. - Initializes a new instance. - - :param storage_name (str) - """ - - def __init__(self, storage_name: str): - """ - Request model for storage_exists operation. - Initializes a new instance. - - :param storage_name (str) - """ - - BaseRequest.__init__(self) - self.storage_name = storage_name - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'storage_name' is set - if self.storage_name is None: - raise ValueError("Missing the required parameter `storage_name` when calling `storage_exists`") - - collection_formats = {} - path = '/email/storage/{storageName}/exist' - path_params = {} - if self.storage_name is not None: - path_params[self._lowercase_first_letter('storageName')] = self.storage_name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/update_calendar_properties_request.py b/sdk/AsposeEmailCloudSdk/models/requests/update_calendar_properties_request.py deleted file mode 100644 index a04e9c2..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/update_calendar_properties_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.update_calendar_properties_request import UpdateCalendarPropertiesRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class UpdateCalendarPropertiesRequest(BaseRequest): - """ - Request model for update_calendar_properties operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param request (HierarchicalObjectRequest) Calendar properties update request - """ - - def __init__(self, name: str, request: HierarchicalObjectRequest): - """ - Request model for update_calendar_properties operation. - Initializes a new instance. - - :param name (str) iCalendar file name in storage - :param request (HierarchicalObjectRequest) Calendar properties update request - """ - - BaseRequest.__init__(self) - self.name = name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `update_calendar_properties`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `update_calendar_properties`") - - collection_formats = {} - path = '/email/Calendar/{name}/properties' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/update_contact_properties_request.py b/sdk/AsposeEmailCloudSdk/models/requests/update_contact_properties_request.py deleted file mode 100644 index 4bab81c..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/update_contact_properties_request.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.update_contact_properties_request import UpdateContactPropertiesRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class UpdateContactPropertiesRequest(BaseRequest): - """ - Request model for update_contact_properties operation. - Initializes a new instance. - - :param format (str) Contact document format Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param request (HierarchicalObjectRequest) Properties that should be updated/added - """ - - def __init__(self, format: str, name: str, request: HierarchicalObjectRequest): - """ - Request model for update_contact_properties operation. - Initializes a new instance. - - :param format (str) Contact document format Enum, available values: VCard, WebDav, Msg - :param name (str) Contact document file name - :param request (HierarchicalObjectRequest) Properties that should be updated/added - """ - - BaseRequest.__init__(self) - self.format = format - self.name = name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'format' is set - if self.format is None: - raise ValueError("Missing the required parameter `format` when calling `update_contact_properties`") - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `update_contact_properties`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `update_contact_properties`") - - collection_formats = {} - path = '/email/Contact/{format}/{name}/properties' - path_params = {} - if self.format is not None: - path_params[self._lowercase_first_letter('format')] = self.format - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/update_mapi_properties_request.py b/sdk/AsposeEmailCloudSdk/models/requests/update_mapi_properties_request.py deleted file mode 100644 index 93ec9d1..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/update_mapi_properties_request.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.update_mapi_properties_request import UpdateMapiPropertiesRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class UpdateMapiPropertiesRequest(BaseRequest): - """ - Request model for update_mapi_properties operation. - Initializes a new instance. - - :param name (str) Document file name - :param request (HierarchicalObjectRequest) Properties that should be updated/added - """ - - def __init__(self, name: str, request: HierarchicalObjectRequest): - """ - Request model for update_mapi_properties operation. - Initializes a new instance. - - :param name (str) Document file name - :param request (HierarchicalObjectRequest) Properties that should be updated/added - """ - - BaseRequest.__init__(self) - self.name = name - self.request = request - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'name' is set - if self.name is None: - raise ValueError("Missing the required parameter `name` when calling `update_mapi_properties`") - # verify the required parameter 'request' is set - if self.request is None: - raise ValueError("Missing the required parameter `request` when calling `update_mapi_properties`") - - collection_formats = {} - path = '/email/Mapi/{name}/properties' - path_params = {} - if self.name is not None: - path_params[self._lowercase_first_letter('name')] = self.name - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = [] - - body_params = None - if self.request is not None: - body_params = self.request - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['application/json']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) diff --git a/sdk/AsposeEmailCloudSdk/models/requests/upload_file_request.py b/sdk/AsposeEmailCloudSdk/models/requests/upload_file_request.py deleted file mode 100644 index 141ed31..0000000 --- a/sdk/AsposeEmailCloudSdk/models/requests/upload_file_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- -##for __init__.py:from AsposeEmailCloudSdk.models.requests.upload_file_request import UploadFileRequest - -from AsposeEmailCloudSdk.models.requests.base_request import BaseRequest -from AsposeEmailCloudSdk.models.requests.http_request import HttpRequest -from AsposeEmailCloudSdk.models import * - - -class UploadFileRequest(BaseRequest): - """ - Request model for upload_file operation. - Initializes a new instance. - - :param path (str) - :param file (str) File to upload - :param storage_name (str) - """ - - def __init__(self, path: str, file: str, storage_name: str = None): - """ - Request model for upload_file operation. - Initializes a new instance. - - :param path (str) - :param file (str) File to upload - :param storage_name (str) - """ - - BaseRequest.__init__(self) - self.path = path - self.file = file - self.storage_name = storage_name - - def to_http_info(self, config): - """ - Prepares initial info for HTTP request - - :param config: Email API configuration - :type: AsposeEmailCloudSdk.Configuration - :return: http_request configured http request - :rtype: Configuration.models.requests.HttpRequest - """ - # verify the required parameter 'path' is set - if self.path is None: - raise ValueError("Missing the required parameter `path` when calling `upload_file`") - # verify the required parameter 'file' is set - if self.file is None: - raise ValueError("Missing the required parameter `file` when calling `upload_file`") - - collection_formats = {} - path = '/email/storage/file/{path}' - path_params = {} - if self.path is not None: - path_params[self._lowercase_first_letter('path')] = self.path - - query_params = [] - path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' - if path_parameter in path: - path = path.replace(path_parameter, self.storage_name if self.storage_name is not None else '') - else: - if self.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), self.storage_name)) - - header_params = {} - - form_params = [] - local_var_files = [] - if self.file is not None: - local_var_files.append((self._lowercase_first_letter('File'), self.file)) - - body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self._select_header_accept( - ['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self._select_header_content_type( - ['multipart/form-data']) - - # Authentication setting - auth_settings = ['JWT'] - - return HttpRequest(path, path_params, query_params, header_params, form_params, body_params, local_var_files, - collection_formats, auth_settings) - diff --git a/sdk/AsposeEmailCloudSdk/models/save_email_account_request.py b/sdk/AsposeEmailCloudSdk/models/save_email_account_request.py deleted file mode 100644 index bba9d8b..0000000 --- a/sdk/AsposeEmailCloudSdk/models/save_email_account_request.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.email_account_request import EmailAccountRequest -from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation - - -class SaveEmailAccountRequest(EmailAccountRequest): - """Save email account settings with login/password authentication request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'host': 'str', - 'port': 'int', - 'login': 'str', - 'security_options': 'str', - 'protocol_type': 'str', - 'description': 'str', - 'storage_file': 'StorageFileLocation', - 'password': 'str' - } - - attribute_map = { - 'host': 'host', - 'port': 'port', - 'login': 'login', - 'security_options': 'securityOptions', - 'protocol_type': 'protocolType', - 'description': 'description', - 'storage_file': 'storageFile', - 'password': 'password' - } - - def __init__(self, host: str = None, port: int = None, login: str = None, security_options: str = None, protocol_type: str = None, description: str = None, storage_file: StorageFileLocation = None, password: str = None): - """ - Save email account settings with login/password authentication request - :param host (str) Email account host - :param port (int) Email account port - :param login (str) Email account login - :param security_options (str) Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto - :param protocol_type (str) Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav - :param description (str) Email account description - :param storage_file (StorageFileLocation) A storage file location info to store email account - :param password (str) Email account password - """ - super(SaveEmailAccountRequest, self).__init__() - - self._password = None - - if host is not None: - self.host = host - if port is not None: - self.port = port - if login is not None: - self.login = login - if security_options is not None: - self.security_options = security_options - if protocol_type is not None: - self.protocol_type = protocol_type - if description is not None: - self.description = description - if storage_file is not None: - self.storage_file = storage_file - if password is not None: - self.password = password - - @property - def password(self) -> str: - """Gets the password of this SaveEmailAccountRequest. - - Email account password - - :return: The password of this SaveEmailAccountRequest. - :rtype: str - """ - return self._password - - @password.setter - def password(self, password: str): - """Sets the password of this SaveEmailAccountRequest. - - Email account password - - :param password: The password of this SaveEmailAccountRequest. - :type: str - """ - if password is None: - raise ValueError("Invalid value for `password`, must not be `None`") - if password is not None and len(password) < 1: - raise ValueError("Invalid value for `password`, length must be greater than or equal to `1`") - self._password = password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SaveEmailAccountRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/save_o_auth_email_account_request.py b/sdk/AsposeEmailCloudSdk/models/save_o_auth_email_account_request.py deleted file mode 100644 index 7744212..0000000 --- a/sdk/AsposeEmailCloudSdk/models/save_o_auth_email_account_request.py +++ /dev/null @@ -1,262 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.email_account_request import EmailAccountRequest -from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation - - -class SaveOAuthEmailAccountRequest(EmailAccountRequest): - """Save email account settings with OAuth request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'host': 'str', - 'port': 'int', - 'login': 'str', - 'security_options': 'str', - 'protocol_type': 'str', - 'description': 'str', - 'storage_file': 'StorageFileLocation', - 'client_id': 'str', - 'client_secret': 'str', - 'refresh_token': 'str', - 'request_url': 'str' - } - - attribute_map = { - 'host': 'host', - 'port': 'port', - 'login': 'login', - 'security_options': 'securityOptions', - 'protocol_type': 'protocolType', - 'description': 'description', - 'storage_file': 'storageFile', - 'client_id': 'clientId', - 'client_secret': 'clientSecret', - 'refresh_token': 'refreshToken', - 'request_url': 'requestUrl' - } - - def __init__(self, host: str = None, port: int = None, login: str = None, security_options: str = None, protocol_type: str = None, description: str = None, storage_file: StorageFileLocation = None, client_id: str = None, client_secret: str = None, refresh_token: str = None, request_url: str = None): - """ - Save email account settings with OAuth request - :param host (str) Email account host - :param port (int) Email account port - :param login (str) Email account login - :param security_options (str) Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto - :param protocol_type (str) Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav - :param description (str) Email account description - :param storage_file (StorageFileLocation) A storage file location info to store email account - :param client_id (str) OAuth client identifier - :param client_secret (str) OAuth client secret - :param refresh_token (str) OAuth refresh token - :param request_url (str) The url to obtain access token. If not specified, will try to discover from email account host. - """ - super(SaveOAuthEmailAccountRequest, self).__init__() - - self._client_id = None - self._client_secret = None - self._refresh_token = None - self._request_url = None - - if host is not None: - self.host = host - if port is not None: - self.port = port - if login is not None: - self.login = login - if security_options is not None: - self.security_options = security_options - if protocol_type is not None: - self.protocol_type = protocol_type - if description is not None: - self.description = description - if storage_file is not None: - self.storage_file = storage_file - if client_id is not None: - self.client_id = client_id - if client_secret is not None: - self.client_secret = client_secret - if refresh_token is not None: - self.refresh_token = refresh_token - if request_url is not None: - self.request_url = request_url - - @property - def client_id(self) -> str: - """Gets the client_id of this SaveOAuthEmailAccountRequest. - - OAuth client identifier - - :return: The client_id of this SaveOAuthEmailAccountRequest. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id: str): - """Sets the client_id of this SaveOAuthEmailAccountRequest. - - OAuth client identifier - - :param client_id: The client_id of this SaveOAuthEmailAccountRequest. - :type: str - """ - if client_id is None: - raise ValueError("Invalid value for `client_id`, must not be `None`") - if client_id is not None and len(client_id) < 1: - raise ValueError("Invalid value for `client_id`, length must be greater than or equal to `1`") - self._client_id = client_id - - @property - def client_secret(self) -> str: - """Gets the client_secret of this SaveOAuthEmailAccountRequest. - - OAuth client secret - - :return: The client_secret of this SaveOAuthEmailAccountRequest. - :rtype: str - """ - return self._client_secret - - @client_secret.setter - def client_secret(self, client_secret: str): - """Sets the client_secret of this SaveOAuthEmailAccountRequest. - - OAuth client secret - - :param client_secret: The client_secret of this SaveOAuthEmailAccountRequest. - :type: str - """ - if client_secret is None: - raise ValueError("Invalid value for `client_secret`, must not be `None`") - if client_secret is not None and len(client_secret) < 1: - raise ValueError("Invalid value for `client_secret`, length must be greater than or equal to `1`") - self._client_secret = client_secret - - @property - def refresh_token(self) -> str: - """Gets the refresh_token of this SaveOAuthEmailAccountRequest. - - OAuth refresh token - - :return: The refresh_token of this SaveOAuthEmailAccountRequest. - :rtype: str - """ - return self._refresh_token - - @refresh_token.setter - def refresh_token(self, refresh_token: str): - """Sets the refresh_token of this SaveOAuthEmailAccountRequest. - - OAuth refresh token - - :param refresh_token: The refresh_token of this SaveOAuthEmailAccountRequest. - :type: str - """ - if refresh_token is None: - raise ValueError("Invalid value for `refresh_token`, must not be `None`") - if refresh_token is not None and len(refresh_token) < 1: - raise ValueError("Invalid value for `refresh_token`, length must be greater than or equal to `1`") - self._refresh_token = refresh_token - - @property - def request_url(self) -> str: - """Gets the request_url of this SaveOAuthEmailAccountRequest. - - The url to obtain access token. If not specified, will try to discover from email account host. - - :return: The request_url of this SaveOAuthEmailAccountRequest. - :rtype: str - """ - return self._request_url - - @request_url.setter - def request_url(self, request_url: str): - """Sets the request_url of this SaveOAuthEmailAccountRequest. - - The url to obtain access token. If not specified, will try to discover from email account host. - - :param request_url: The request_url of this SaveOAuthEmailAccountRequest. - :type: str - """ - self._request_url = request_url - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SaveOAuthEmailAccountRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/send_email_base_request.py b/sdk/AsposeEmailCloudSdk/models/send_email_base_request.py deleted file mode 100644 index ff1d4a2..0000000 --- a/sdk/AsposeEmailCloudSdk/models/send_email_base_request.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class SendEmailBaseRequest(AccountBaseRequest): - """Send email file request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'email_file': 'StorageFileLocation' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'email_file': 'emailFile' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, email_file: StorageFileLocation = None): - """ - Send email file request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param email_file (StorageFileLocation) Email document (*.eml) file location in storage - """ - super(SendEmailBaseRequest, self).__init__() - - self._email_file = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if email_file is not None: - self.email_file = email_file - - @property - def email_file(self) -> StorageFileLocation: - """Gets the email_file of this SendEmailBaseRequest. - - Email document (*.eml) file location in storage - - :return: The email_file of this SendEmailBaseRequest. - :rtype: StorageFileLocation - """ - return self._email_file - - @email_file.setter - def email_file(self, email_file: StorageFileLocation): - """Sets the email_file of this SendEmailBaseRequest. - - Email document (*.eml) file location in storage - - :param email_file: The email_file of this SendEmailBaseRequest. - :type: StorageFileLocation - """ - if email_file is None: - raise ValueError("Invalid value for `email_file`, must not be `None`") - self._email_file = email_file - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SendEmailBaseRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/send_email_mime_base_request.py b/sdk/AsposeEmailCloudSdk/models/send_email_mime_base_request.py deleted file mode 100644 index 8eef46a..0000000 --- a/sdk/AsposeEmailCloudSdk/models/send_email_mime_base_request.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class SendEmailMimeBaseRequest(AccountBaseRequest): - """Send email MIME request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'base64_mime_message': 'str' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'base64_mime_message': 'base64MimeMessage' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, base64_mime_message: str = None): - """ - Send email MIME request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param base64_mime_message (str) Email document serialized as MIME - """ - super(SendEmailMimeBaseRequest, self).__init__() - - self._base64_mime_message = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if base64_mime_message is not None: - self.base64_mime_message = base64_mime_message - - @property - def base64_mime_message(self) -> str: - """Gets the base64_mime_message of this SendEmailMimeBaseRequest. - - Email document serialized as MIME - - :return: The base64_mime_message of this SendEmailMimeBaseRequest. - :rtype: str - """ - return self._base64_mime_message - - @base64_mime_message.setter - def base64_mime_message(self, base64_mime_message: str): - """Sets the base64_mime_message of this SendEmailMimeBaseRequest. - - Email document serialized as MIME - - :param base64_mime_message: The base64_mime_message of this SendEmailMimeBaseRequest. - :type: str - """ - if base64_mime_message is None: - raise ValueError("Invalid value for `base64_mime_message`, must not be `None`") - if base64_mime_message is not None and len(base64_mime_message) < 1: - raise ValueError("Invalid value for `base64_mime_message`, length must be greater than or equal to `1`") - self._base64_mime_message = base64_mime_message - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SendEmailMimeBaseRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/set_email_property_request.py b/sdk/AsposeEmailCloudSdk/models/set_email_property_request.py deleted file mode 100644 index 7bf6ed4..0000000 --- a/sdk/AsposeEmailCloudSdk/models/set_email_property_request.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.email_property import EmailProperty -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class SetEmailPropertyRequest(object): - """Update email document property request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email_property': 'EmailProperty', - 'storage_folder': 'StorageFolderLocation' - } - - attribute_map = { - 'email_property': 'emailProperty', - 'storage_folder': 'storageFolder' - } - - def __init__(self, email_property: EmailProperty = None, storage_folder: StorageFolderLocation = None): - """ - Update email document property request - :param email_property (EmailProperty) An email property that should be updated - :param storage_folder (StorageFolderLocation) An email document location in storage - """ - - self._email_property = None - self._storage_folder = None - - if email_property is not None: - self.email_property = email_property - if storage_folder is not None: - self.storage_folder = storage_folder - - @property - def email_property(self) -> EmailProperty: - """Gets the email_property of this SetEmailPropertyRequest. - - An email property that should be updated - - :return: The email_property of this SetEmailPropertyRequest. - :rtype: EmailProperty - """ - return self._email_property - - @email_property.setter - def email_property(self, email_property: EmailProperty): - """Sets the email_property of this SetEmailPropertyRequest. - - An email property that should be updated - - :param email_property: The email_property of this SetEmailPropertyRequest. - :type: EmailProperty - """ - if email_property is None: - raise ValueError("Invalid value for `email_property`, must not be `None`") - self._email_property = email_property - - @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this SetEmailPropertyRequest. - - An email document location in storage - - :return: The storage_folder of this SetEmailPropertyRequest. - :rtype: StorageFolderLocation - """ - return self._storage_folder - - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this SetEmailPropertyRequest. - - An email document location in storage - - :param storage_folder: The storage_folder of this SetEmailPropertyRequest. - :type: StorageFolderLocation - """ - self._storage_folder = storage_folder - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SetEmailPropertyRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/set_message_read_flag_account_base_request.py b/sdk/AsposeEmailCloudSdk/models/set_message_read_flag_account_base_request.py deleted file mode 100644 index ce503ea..0000000 --- a/sdk/AsposeEmailCloudSdk/models/set_message_read_flag_account_base_request.py +++ /dev/null @@ -1,180 +0,0 @@ -# coding: utf-8 -# ---------------------------------------------------------------------------- -# -# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. -# -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# -# ---------------------------------------------------------------------------- - -import pprint -import re -import six -from typing import List, Set, Dict, Tuple, Optional -from datetime import datetime - -from AsposeEmailCloudSdk.models.account_base_request import AccountBaseRequest -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation - - -class SetMessageReadFlagAccountBaseRequest(AccountBaseRequest): - """Set message is read request - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_account': 'str', - 'second_account': 'str', - 'storage_folder': 'StorageFolderLocation', - 'message_id': 'str', - 'is_read': 'bool' - } - - attribute_map = { - 'first_account': 'firstAccount', - 'second_account': 'secondAccount', - 'storage_folder': 'storageFolder', - 'message_id': 'messageId', - 'is_read': 'isRead' - } - - def __init__(self, first_account: str = None, second_account: str = None, storage_folder: StorageFolderLocation = None, message_id: str = None, is_read: bool = None): - """ - Set message is read request - :param first_account (str) First account storage file name - :param second_account (str) Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) - :param storage_folder (StorageFolderLocation) Storage folder location of account files - :param message_id (str) Message identifier - :param is_read (bool) Specifies that message should be marked read or unread - """ - super(SetMessageReadFlagAccountBaseRequest, self).__init__() - - self._message_id = None - self._is_read = None - - if first_account is not None: - self.first_account = first_account - if second_account is not None: - self.second_account = second_account - if storage_folder is not None: - self.storage_folder = storage_folder - if message_id is not None: - self.message_id = message_id - if is_read is not None: - self.is_read = is_read - - @property - def message_id(self) -> str: - """Gets the message_id of this SetMessageReadFlagAccountBaseRequest. - - Message identifier - - :return: The message_id of this SetMessageReadFlagAccountBaseRequest. - :rtype: str - """ - return self._message_id - - @message_id.setter - def message_id(self, message_id: str): - """Sets the message_id of this SetMessageReadFlagAccountBaseRequest. - - Message identifier - - :param message_id: The message_id of this SetMessageReadFlagAccountBaseRequest. - :type: str - """ - if message_id is None: - raise ValueError("Invalid value for `message_id`, must not be `None`") - if message_id is not None and len(message_id) < 1: - raise ValueError("Invalid value for `message_id`, length must be greater than or equal to `1`") - self._message_id = message_id - - @property - def is_read(self) -> bool: - """Gets the is_read of this SetMessageReadFlagAccountBaseRequest. - - Specifies that message should be marked read or unread - - :return: The is_read of this SetMessageReadFlagAccountBaseRequest. - :rtype: bool - """ - return self._is_read - - @is_read.setter - def is_read(self, is_read: bool): - """Sets the is_read of this SetMessageReadFlagAccountBaseRequest. - - Specifies that message should be marked read or unread - - :param is_read: The is_read of this SetMessageReadFlagAccountBaseRequest. - :type: bool - """ - if is_read is None: - raise ValueError("Invalid value for `is_read`, must not be `None`") - self._is_read = is_read - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SetMessageReadFlagAccountBaseRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exist.py b/sdk/AsposeEmailCloudSdk/models/storage_exist.py index 6c836d5..7dcb0a2 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exist.py @@ -32,7 +32,7 @@ class StorageExist(object): - """ + """Storage exists """ """ @@ -52,8 +52,8 @@ class StorageExist(object): def __init__(self, exists: bool = None): """ - - :param exists (bool) + Storage exists + :param exists (bool) Shows that the storage exists. """ self._exists = None @@ -65,6 +65,7 @@ def __init__(self, exists: bool = None): def exists(self) -> bool: """Gets the exists of this StorageExist. + Shows that the storage exists. :return: The exists of this StorageExist. :rtype: bool @@ -75,6 +76,7 @@ def exists(self) -> bool: def exists(self, exists: bool): """Sets the exists of this StorageExist. + Shows that the storage exists. :param exists: The exists of this StorageExist. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py new file mode 100644 index 0000000..4aee033 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py @@ -0,0 +1,48 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class StorageExistsRequest(object): + """ + Request model for storage_exists operation. + Initializes a new instance. + + :param storage_name (str) Storage name + """ + + def __init__(self, storage_name: str): + """ + Request model for storage_exists operation. + Initializes a new instance. + + :param storage_name (str) Storage name + """ + + self.storage_name = storage_name + diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file.py b/sdk/AsposeEmailCloudSdk/models/storage_file.py index 07a8b6b..39d8e45 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file.py @@ -32,7 +32,7 @@ class StorageFile(object): - """ + """File or folder information """ """ @@ -60,12 +60,12 @@ class StorageFile(object): def __init__(self, name: str = None, is_folder: bool = None, modified_date: datetime = None, size: int = None, path: str = None): """ - - :param name (str) - :param is_folder (bool) - :param modified_date (datetime) - :param size (int) - :param path (str) + File or folder information + :param name (str) File or folder name. + :param is_folder (bool) True if it is a folder. + :param modified_date (datetime) File or folder last modified DateTime. + :param size (int) File or folder size. + :param path (str) File or folder path. """ self._name = None @@ -89,6 +89,7 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date def name(self) -> str: """Gets the name of this StorageFile. + File or folder name. :return: The name of this StorageFile. :rtype: str @@ -99,6 +100,7 @@ def name(self) -> str: def name(self, name: str): """Sets the name of this StorageFile. + File or folder name. :param name: The name of this StorageFile. :type: str @@ -109,6 +111,7 @@ def name(self, name: str): def is_folder(self) -> bool: """Gets the is_folder of this StorageFile. + True if it is a folder. :return: The is_folder of this StorageFile. :rtype: bool @@ -119,6 +122,7 @@ def is_folder(self) -> bool: def is_folder(self, is_folder: bool): """Sets the is_folder of this StorageFile. + True if it is a folder. :param is_folder: The is_folder of this StorageFile. :type: bool @@ -131,6 +135,7 @@ def is_folder(self, is_folder: bool): def modified_date(self) -> datetime: """Gets the modified_date of this StorageFile. + File or folder last modified DateTime. :return: The modified_date of this StorageFile. :rtype: datetime @@ -141,6 +146,7 @@ def modified_date(self) -> datetime: def modified_date(self, modified_date: datetime): """Sets the modified_date of this StorageFile. + File or folder last modified DateTime. :param modified_date: The modified_date of this StorageFile. :type: datetime @@ -151,6 +157,7 @@ def modified_date(self, modified_date: datetime): def size(self) -> int: """Gets the size of this StorageFile. + File or folder size. :return: The size of this StorageFile. :rtype: int @@ -161,6 +168,7 @@ def size(self) -> int: def size(self, size: int): """Sets the size of this StorageFile. + File or folder size. :param size: The size of this StorageFile. :type: int @@ -173,6 +181,7 @@ def size(self, size: int): def path(self) -> str: """Gets the path of this StorageFile. + File or folder path. :return: The path of this StorageFile. :rtype: str @@ -183,6 +192,7 @@ def path(self) -> str: def path(self, path: str): """Sets the path of this StorageFile. + File or folder path. :param path: The path of this StorageFile. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_string.py b/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py similarity index 80% rename from sdk/AsposeEmailCloudSdk/models/list_response_of_string.py rename to sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py index 8d409e5..c74c96b 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_string.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -30,9 +30,12 @@ from typing import List, Set, Dict, Tuple, Optional from datetime import datetime +from AsposeEmailCloudSdk.models.list_response_of_storage_file_location import ListResponseOfStorageFileLocation +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class ListResponseOfString(object): - """ + +class StorageFileLocationList(ListResponseOfStorageFileLocation): + """List of files located on storage. """ """ @@ -43,44 +46,23 @@ class ListResponseOfString(object): and the value is json key in definition. """ swagger_types = { - 'value': 'list[str]' + 'value': 'list[StorageFileLocation]' } attribute_map = { 'value': 'value' } - def __init__(self, value: List[str] = None): + def __init__(self, value: List[StorageFileLocation] = None): """ - - :param value (List[str]) + List of files located on storage. + :param value (List[StorageFileLocation]) """ - - self._value = None + super(StorageFileLocationList, self).__init__() if value is not None: self.value = value - @property - def value(self) -> List[str]: - """Gets the value of this ListResponseOfString. - - - :return: The value of this ListResponseOfString. - :rtype: list[str] - """ - return self._value - - @value.setter - def value(self, value: List[str]): - """Sets the value of this ListResponseOfString. - - - :param value: The value of this ListResponseOfString. - :type: list[str] - """ - self._value = value - def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -115,7 +97,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListResponseOfString): + if not isinstance(other, StorageFileLocationList): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py index bbb8e5a..5951de7 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py @@ -88,6 +88,8 @@ def storage_file(self, storage_file: StorageFileLocation): :param storage_file: The storage_file of this StorageModelOfCalendarDto. :type: StorageFileLocation """ + if storage_file is None: + raise ValueError("Invalid value for `storage_file`, must not be `None`") self._storage_file = storage_file @property @@ -108,6 +110,8 @@ def value(self, value: CalendarDto): :param value: The value of this StorageModelOfCalendarDto. :type: CalendarDto """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") self._value = value def to_dict(self): diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py index f45b0c4..234e66b 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py @@ -88,6 +88,8 @@ def storage_file(self, storage_file: StorageFileLocation): :param storage_file: The storage_file of this StorageModelOfContactDto. :type: StorageFileLocation """ + if storage_file is None: + raise ValueError("Invalid value for `storage_file`, must not be `None`") self._storage_file = storage_file @property @@ -108,6 +110,8 @@ def value(self, value: ContactDto): :param value: The value of this StorageModelOfContactDto. :type: ContactDto """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") self._value = value def to_dict(self): diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file_rq_of_email_client_account.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py similarity index 77% rename from sdk/AsposeEmailCloudSdk/models/storage_file_rq_of_email_client_account.py rename to sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py index 924cb09..338ea41 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file_rq_of_email_client_account.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -34,7 +34,7 @@ from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class StorageFileRqOfEmailClientAccount(object): +class StorageModelOfEmailClientAccount(object): """ """ @@ -46,69 +46,73 @@ class StorageFileRqOfEmailClientAccount(object): and the value is json key in definition. """ swagger_types = { - 'value': 'EmailClientAccount', - 'storage_file': 'StorageFileLocation' + 'storage_file': 'StorageFileLocation', + 'value': 'EmailClientAccount' } attribute_map = { - 'value': 'value', - 'storage_file': 'storageFile' + 'storage_file': 'storageFile', + 'value': 'value' } - def __init__(self, value: EmailClientAccount = None, storage_file: StorageFileLocation = None): + def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientAccount = None): """ - :param value (EmailClientAccount) :param storage_file (StorageFileLocation) + :param value (EmailClientAccount) """ - self._value = None self._storage_file = None + self._value = None - if value is not None: - self.value = value if storage_file is not None: self.storage_file = storage_file + if value is not None: + self.value = value @property - def value(self) -> EmailClientAccount: - """Gets the value of this StorageFileRqOfEmailClientAccount. + def storage_file(self) -> StorageFileLocation: + """Gets the storage_file of this StorageModelOfEmailClientAccount. - :return: The value of this StorageFileRqOfEmailClientAccount. - :rtype: EmailClientAccount + :return: The storage_file of this StorageModelOfEmailClientAccount. + :rtype: StorageFileLocation """ - return self._value + return self._storage_file - @value.setter - def value(self, value: EmailClientAccount): - """Sets the value of this StorageFileRqOfEmailClientAccount. + @storage_file.setter + def storage_file(self, storage_file: StorageFileLocation): + """Sets the storage_file of this StorageModelOfEmailClientAccount. - :param value: The value of this StorageFileRqOfEmailClientAccount. - :type: EmailClientAccount + :param storage_file: The storage_file of this StorageModelOfEmailClientAccount. + :type: StorageFileLocation """ - self._value = value + if storage_file is None: + raise ValueError("Invalid value for `storage_file`, must not be `None`") + self._storage_file = storage_file @property - def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageFileRqOfEmailClientAccount. + def value(self) -> EmailClientAccount: + """Gets the value of this StorageModelOfEmailClientAccount. - :return: The storage_file of this StorageFileRqOfEmailClientAccount. - :rtype: StorageFileLocation + :return: The value of this StorageModelOfEmailClientAccount. + :rtype: EmailClientAccount """ - return self._storage_file + return self._value - @storage_file.setter - def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageFileRqOfEmailClientAccount. + @value.setter + def value(self, value: EmailClientAccount): + """Sets the value of this StorageModelOfEmailClientAccount. - :param storage_file: The storage_file of this StorageFileRqOfEmailClientAccount. - :type: StorageFileLocation + :param value: The value of this StorageModelOfEmailClientAccount. + :type: EmailClientAccount """ - self._storage_file = storage_file + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value def to_dict(self): """Returns the model properties as a dict""" @@ -144,7 +148,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, StorageFileRqOfEmailClientAccount): + if not isinstance(other, StorageModelOfEmailClientAccount): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file_rq_of_email_client_multi_account.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py similarity index 77% rename from sdk/AsposeEmailCloudSdk/models/storage_file_rq_of_email_client_multi_account.py rename to sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py index acac715..033f25c 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file_rq_of_email_client_multi_account.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -34,7 +34,7 @@ from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class StorageFileRqOfEmailClientMultiAccount(object): +class StorageModelOfEmailClientMultiAccount(object): """ """ @@ -46,69 +46,73 @@ class StorageFileRqOfEmailClientMultiAccount(object): and the value is json key in definition. """ swagger_types = { - 'value': 'EmailClientMultiAccount', - 'storage_file': 'StorageFileLocation' + 'storage_file': 'StorageFileLocation', + 'value': 'EmailClientMultiAccount' } attribute_map = { - 'value': 'value', - 'storage_file': 'storageFile' + 'storage_file': 'storageFile', + 'value': 'value' } - def __init__(self, value: EmailClientMultiAccount = None, storage_file: StorageFileLocation = None): + def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientMultiAccount = None): """ - :param value (EmailClientMultiAccount) :param storage_file (StorageFileLocation) + :param value (EmailClientMultiAccount) """ - self._value = None self._storage_file = None + self._value = None - if value is not None: - self.value = value if storage_file is not None: self.storage_file = storage_file + if value is not None: + self.value = value @property - def value(self) -> EmailClientMultiAccount: - """Gets the value of this StorageFileRqOfEmailClientMultiAccount. + def storage_file(self) -> StorageFileLocation: + """Gets the storage_file of this StorageModelOfEmailClientMultiAccount. - :return: The value of this StorageFileRqOfEmailClientMultiAccount. - :rtype: EmailClientMultiAccount + :return: The storage_file of this StorageModelOfEmailClientMultiAccount. + :rtype: StorageFileLocation """ - return self._value + return self._storage_file - @value.setter - def value(self, value: EmailClientMultiAccount): - """Sets the value of this StorageFileRqOfEmailClientMultiAccount. + @storage_file.setter + def storage_file(self, storage_file: StorageFileLocation): + """Sets the storage_file of this StorageModelOfEmailClientMultiAccount. - :param value: The value of this StorageFileRqOfEmailClientMultiAccount. - :type: EmailClientMultiAccount + :param storage_file: The storage_file of this StorageModelOfEmailClientMultiAccount. + :type: StorageFileLocation """ - self._value = value + if storage_file is None: + raise ValueError("Invalid value for `storage_file`, must not be `None`") + self._storage_file = storage_file @property - def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageFileRqOfEmailClientMultiAccount. + def value(self) -> EmailClientMultiAccount: + """Gets the value of this StorageModelOfEmailClientMultiAccount. - :return: The storage_file of this StorageFileRqOfEmailClientMultiAccount. - :rtype: StorageFileLocation + :return: The value of this StorageModelOfEmailClientMultiAccount. + :rtype: EmailClientMultiAccount """ - return self._storage_file + return self._value - @storage_file.setter - def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageFileRqOfEmailClientMultiAccount. + @value.setter + def value(self, value: EmailClientMultiAccount): + """Sets the value of this StorageModelOfEmailClientMultiAccount. - :param storage_file: The storage_file of this StorageFileRqOfEmailClientMultiAccount. - :type: StorageFileLocation + :param value: The value of this StorageModelOfEmailClientMultiAccount. + :type: EmailClientMultiAccount """ - self._storage_file = storage_file + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value def to_dict(self): """Returns the model properties as a dict""" @@ -144,7 +148,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, StorageFileRqOfEmailClientMultiAccount): + if not isinstance(other, StorageModelOfEmailClientMultiAccount): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py index 770fe77..20ad655 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py @@ -88,6 +88,8 @@ def storage_file(self, storage_file: StorageFileLocation): :param storage_file: The storage_file of this StorageModelOfEmailDto. :type: StorageFileLocation """ + if storage_file is None: + raise ValueError("Invalid value for `storage_file`, must not be `None`") self._storage_file = storage_file @property @@ -108,6 +110,8 @@ def value(self, value: EmailDto): :param value: The value of this StorageModelOfEmailDto. :type: EmailDto """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") self._value = value def to_dict(self): diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py similarity index 68% rename from sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_calendar_dto.py rename to sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py index e74b013..fed90e4 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,10 +31,10 @@ from datetime import datetime from AsposeEmailCloudSdk.models.mapi_calendar_dto import MapiCalendarDto -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class StorageModelRqOfMapiCalendarDto(object): +class StorageModelOfMapiCalendarDto(object): """ """ @@ -46,69 +46,73 @@ class StorageModelRqOfMapiCalendarDto(object): and the value is json key in definition. """ swagger_types = { - 'value': 'MapiCalendarDto', - 'storage_folder': 'StorageFolderLocation' + 'storage_file': 'StorageFileLocation', + 'value': 'MapiCalendarDto' } attribute_map = { - 'value': 'value', - 'storage_folder': 'storageFolder' + 'storage_file': 'storageFile', + 'value': 'value' } - def __init__(self, value: MapiCalendarDto = None, storage_folder: StorageFolderLocation = None): + def __init__(self, storage_file: StorageFileLocation = None, value: MapiCalendarDto = None): """ + :param storage_file (StorageFileLocation) :param value (MapiCalendarDto) - :param storage_folder (StorageFolderLocation) """ + self._storage_file = None self._value = None - self._storage_folder = None + if storage_file is not None: + self.storage_file = storage_file if value is not None: self.value = value - if storage_folder is not None: - self.storage_folder = storage_folder @property - def value(self) -> MapiCalendarDto: - """Gets the value of this StorageModelRqOfMapiCalendarDto. + def storage_file(self) -> StorageFileLocation: + """Gets the storage_file of this StorageModelOfMapiCalendarDto. - :return: The value of this StorageModelRqOfMapiCalendarDto. - :rtype: MapiCalendarDto + :return: The storage_file of this StorageModelOfMapiCalendarDto. + :rtype: StorageFileLocation """ - return self._value + return self._storage_file - @value.setter - def value(self, value: MapiCalendarDto): - """Sets the value of this StorageModelRqOfMapiCalendarDto. + @storage_file.setter + def storage_file(self, storage_file: StorageFileLocation): + """Sets the storage_file of this StorageModelOfMapiCalendarDto. - :param value: The value of this StorageModelRqOfMapiCalendarDto. - :type: MapiCalendarDto + :param storage_file: The storage_file of this StorageModelOfMapiCalendarDto. + :type: StorageFileLocation """ - self._value = value + if storage_file is None: + raise ValueError("Invalid value for `storage_file`, must not be `None`") + self._storage_file = storage_file @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this StorageModelRqOfMapiCalendarDto. + def value(self) -> MapiCalendarDto: + """Gets the value of this StorageModelOfMapiCalendarDto. - :return: The storage_folder of this StorageModelRqOfMapiCalendarDto. - :rtype: StorageFolderLocation + :return: The value of this StorageModelOfMapiCalendarDto. + :rtype: MapiCalendarDto """ - return self._storage_folder + return self._value - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this StorageModelRqOfMapiCalendarDto. + @value.setter + def value(self, value: MapiCalendarDto): + """Sets the value of this StorageModelOfMapiCalendarDto. - :param storage_folder: The storage_folder of this StorageModelRqOfMapiCalendarDto. - :type: StorageFolderLocation + :param value: The value of this StorageModelOfMapiCalendarDto. + :type: MapiCalendarDto """ - self._storage_folder = storage_folder + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value def to_dict(self): """Returns the model properties as a dict""" @@ -144,7 +148,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, StorageModelRqOfMapiCalendarDto): + if not isinstance(other, StorageModelOfMapiCalendarDto): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py similarity index 68% rename from sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_contact_dto.py rename to sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py index 7b7e05f..c1d26ed 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,10 +31,10 @@ from datetime import datetime from AsposeEmailCloudSdk.models.mapi_contact_dto import MapiContactDto -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class StorageModelRqOfMapiContactDto(object): +class StorageModelOfMapiContactDto(object): """ """ @@ -46,69 +46,73 @@ class StorageModelRqOfMapiContactDto(object): and the value is json key in definition. """ swagger_types = { - 'value': 'MapiContactDto', - 'storage_folder': 'StorageFolderLocation' + 'storage_file': 'StorageFileLocation', + 'value': 'MapiContactDto' } attribute_map = { - 'value': 'value', - 'storage_folder': 'storageFolder' + 'storage_file': 'storageFile', + 'value': 'value' } - def __init__(self, value: MapiContactDto = None, storage_folder: StorageFolderLocation = None): + def __init__(self, storage_file: StorageFileLocation = None, value: MapiContactDto = None): """ + :param storage_file (StorageFileLocation) :param value (MapiContactDto) - :param storage_folder (StorageFolderLocation) """ + self._storage_file = None self._value = None - self._storage_folder = None + if storage_file is not None: + self.storage_file = storage_file if value is not None: self.value = value - if storage_folder is not None: - self.storage_folder = storage_folder @property - def value(self) -> MapiContactDto: - """Gets the value of this StorageModelRqOfMapiContactDto. + def storage_file(self) -> StorageFileLocation: + """Gets the storage_file of this StorageModelOfMapiContactDto. - :return: The value of this StorageModelRqOfMapiContactDto. - :rtype: MapiContactDto + :return: The storage_file of this StorageModelOfMapiContactDto. + :rtype: StorageFileLocation """ - return self._value + return self._storage_file - @value.setter - def value(self, value: MapiContactDto): - """Sets the value of this StorageModelRqOfMapiContactDto. + @storage_file.setter + def storage_file(self, storage_file: StorageFileLocation): + """Sets the storage_file of this StorageModelOfMapiContactDto. - :param value: The value of this StorageModelRqOfMapiContactDto. - :type: MapiContactDto + :param storage_file: The storage_file of this StorageModelOfMapiContactDto. + :type: StorageFileLocation """ - self._value = value + if storage_file is None: + raise ValueError("Invalid value for `storage_file`, must not be `None`") + self._storage_file = storage_file @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this StorageModelRqOfMapiContactDto. + def value(self) -> MapiContactDto: + """Gets the value of this StorageModelOfMapiContactDto. - :return: The storage_folder of this StorageModelRqOfMapiContactDto. - :rtype: StorageFolderLocation + :return: The value of this StorageModelOfMapiContactDto. + :rtype: MapiContactDto """ - return self._storage_folder + return self._value - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this StorageModelRqOfMapiContactDto. + @value.setter + def value(self, value: MapiContactDto): + """Sets the value of this StorageModelOfMapiContactDto. - :param storage_folder: The storage_folder of this StorageModelRqOfMapiContactDto. - :type: StorageFolderLocation + :param value: The value of this StorageModelOfMapiContactDto. + :type: MapiContactDto """ - self._storage_folder = storage_folder + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value def to_dict(self): """Returns the model properties as a dict""" @@ -144,7 +148,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, StorageModelRqOfMapiContactDto): + if not isinstance(other, StorageModelOfMapiContactDto): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_message_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py similarity index 68% rename from sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_message_dto.py rename to sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py index 2d6a671..9ecf811 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_rq_of_mapi_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,10 +31,10 @@ from datetime import datetime from AsposeEmailCloudSdk.models.mapi_message_dto import MapiMessageDto -from AsposeEmailCloudSdk.models.storage_folder_location import StorageFolderLocation +from AsposeEmailCloudSdk.models.storage_file_location import StorageFileLocation -class StorageModelRqOfMapiMessageDto(object): +class StorageModelOfMapiMessageDto(object): """ """ @@ -46,69 +46,73 @@ class StorageModelRqOfMapiMessageDto(object): and the value is json key in definition. """ swagger_types = { - 'value': 'MapiMessageDto', - 'storage_folder': 'StorageFolderLocation' + 'storage_file': 'StorageFileLocation', + 'value': 'MapiMessageDto' } attribute_map = { - 'value': 'value', - 'storage_folder': 'storageFolder' + 'storage_file': 'storageFile', + 'value': 'value' } - def __init__(self, value: MapiMessageDto = None, storage_folder: StorageFolderLocation = None): + def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageDto = None): """ + :param storage_file (StorageFileLocation) :param value (MapiMessageDto) - :param storage_folder (StorageFolderLocation) """ + self._storage_file = None self._value = None - self._storage_folder = None + if storage_file is not None: + self.storage_file = storage_file if value is not None: self.value = value - if storage_folder is not None: - self.storage_folder = storage_folder @property - def value(self) -> MapiMessageDto: - """Gets the value of this StorageModelRqOfMapiMessageDto. + def storage_file(self) -> StorageFileLocation: + """Gets the storage_file of this StorageModelOfMapiMessageDto. - :return: The value of this StorageModelRqOfMapiMessageDto. - :rtype: MapiMessageDto + :return: The storage_file of this StorageModelOfMapiMessageDto. + :rtype: StorageFileLocation """ - return self._value + return self._storage_file - @value.setter - def value(self, value: MapiMessageDto): - """Sets the value of this StorageModelRqOfMapiMessageDto. + @storage_file.setter + def storage_file(self, storage_file: StorageFileLocation): + """Sets the storage_file of this StorageModelOfMapiMessageDto. - :param value: The value of this StorageModelRqOfMapiMessageDto. - :type: MapiMessageDto + :param storage_file: The storage_file of this StorageModelOfMapiMessageDto. + :type: StorageFileLocation """ - self._value = value + if storage_file is None: + raise ValueError("Invalid value for `storage_file`, must not be `None`") + self._storage_file = storage_file @property - def storage_folder(self) -> StorageFolderLocation: - """Gets the storage_folder of this StorageModelRqOfMapiMessageDto. + def value(self) -> MapiMessageDto: + """Gets the value of this StorageModelOfMapiMessageDto. - :return: The storage_folder of this StorageModelRqOfMapiMessageDto. - :rtype: StorageFolderLocation + :return: The value of this StorageModelOfMapiMessageDto. + :rtype: MapiMessageDto """ - return self._storage_folder + return self._value - @storage_folder.setter - def storage_folder(self, storage_folder: StorageFolderLocation): - """Sets the storage_folder of this StorageModelRqOfMapiMessageDto. + @value.setter + def value(self, value: MapiMessageDto): + """Sets the value of this StorageModelOfMapiMessageDto. - :param storage_folder: The storage_folder of this StorageModelRqOfMapiMessageDto. - :type: StorageFolderLocation + :param value: The value of this StorageModelOfMapiMessageDto. + :type: MapiMessageDto """ - self._storage_folder = storage_folder + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + self._value = value def to_dict(self): """Returns the model properties as a dict""" @@ -144,7 +148,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, StorageModelRqOfMapiMessageDto): + if not isinstance(other, StorageModelOfMapiMessageDto): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py new file mode 100644 index 0000000..fb70290 --- /dev/null +++ b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py @@ -0,0 +1,54 @@ + +# coding: utf-8 +# ---------------------------------------------------------------------------- +# +# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. +# +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# ---------------------------------------------------------------------------- + +from AsposeEmailCloudSdk.models import * + + +class UploadFileRequest(object): + """ + Request model for upload_file operation. + Initializes a new instance. + + :param path (str) Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. + :param file (str) File to upload + :param storage_name (str) Storage name + """ + + def __init__(self, path: str, file: str, storage_name: str = None): + """ + Request model for upload_file operation. + Initializes a new instance. + + :param path (str) Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. + :param file (str) File to upload + :param storage_name (str) Storage name + """ + + self.path = path + self.file = file + self.storage_name = storage_name + diff --git a/sdk/AsposeEmailCloudSdk/models/value_response.py b/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py similarity index 84% rename from sdk/AsposeEmailCloudSdk/models/value_response.py rename to sdk/AsposeEmailCloudSdk/models/value_t_of_string.py index d3717be..e572fd2 100644 --- a/sdk/AsposeEmailCloudSdk/models/value_response.py +++ b/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -31,8 +31,8 @@ from datetime import datetime -class ValueResponse(object): - """String value object +class ValueTOfString(object): + """ """ """ @@ -52,8 +52,8 @@ class ValueResponse(object): def __init__(self, value: str = None): """ - String value object - :param value (str) Gets or sets string content. + + :param value (str) """ self._value = None @@ -63,24 +63,26 @@ def __init__(self, value: str = None): @property def value(self) -> str: - """Gets the value of this ValueResponse. + """Gets the value of this ValueTOfString. - Gets or sets string content. - :return: The value of this ValueResponse. + :return: The value of this ValueTOfString. :rtype: str """ return self._value @value.setter def value(self, value: str): - """Sets the value of this ValueResponse. + """Sets the value of this ValueTOfString. - Gets or sets string content. - :param value: The value of this ValueResponse. + :param value: The value of this ValueTOfString. :type: str """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") + if value is not None and len(value) < 1: + raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") self._value = value def to_dict(self): @@ -117,7 +119,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ValueResponse): + if not isinstance(other, ValueTOfString): return False return self.__dict__ == other.__dict__ diff --git a/sdk/docs/AccountBaseRequest.md b/sdk/docs/AccountBaseRequest.md deleted file mode 100644 index 29007a7..0000000 --- a/sdk/docs/AccountBaseRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# AsposeEmailCloudSdk.models.AccountBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**first_account** | **str** | First account storage file name | -**second_account** | **str** | Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP) | [optional] -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | Storage folder location of account files | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AddAttachmentRequest.md b/sdk/docs/AddAttachmentRequest.md deleted file mode 100644 index 8b277df..0000000 --- a/sdk/docs/AddAttachmentRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.AddAttachmentRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**document_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | Storage folder location of document | [optional] -**attachment_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | Storage folder location of an attachment | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AiBcrApi.md b/sdk/docs/AiBcrApi.md new file mode 100644 index 0000000..21638d2 --- /dev/null +++ b/sdk/docs/AiBcrApi.md @@ -0,0 +1,146 @@ +# AsposeEmailCloudSdk.AiBcrApi + + +# **ai_bcr_parse** +> ai_bcr_parse(self, ai_bcr_parse_request) + +Parse images to vCard document models + +### Return type + +[**ContactList**](ContactList.md) + +### Request Parameters +```python +__init__(self, + file, + countries=countries, + languages=languages, + is_single=is_single) +``` + +### Usage +```python +AiBcrApi.ai_bcr_parse( + cakePrefix_ai_bcr_parse_request_cakeCodePostProcessor( + file, + countries=countries, + languages=languages, + is_single=is_single)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| File to parse | + **countries** | **str**| Comma-separated codes of countries. | [optional] [default to ] + **languages** | **str**| Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. | [optional] [default to ] + **is_single** | **bool**| Determines that image contains single VCard or more. | [optional] [default to true] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_bcr_parse_async** +> ai_bcr_parse_async(self, ai_bcr_parse_request) + +Parse images to vCard document models + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_bcr_parse_async(request).get() returns [**ContactList**](ContactList.md) + +### Request Parameters +```python +__init__(self, + file, + countries=countries, + languages=languages, + is_single=is_single) +``` + +### Usage +```python +AiBcrApi.ai_bcr_parse_async( + cakePrefix_ai_bcr_parse_request_cakeCodePostProcessor( + file, + countries=countries, + languages=languages, + is_single=is_single)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| File to parse | + **countries** | **str**| Comma-separated codes of countries. | [optional] [default to ] + **languages** | **str**| Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. | [optional] [default to ] + **is_single** | **bool**| Determines that image contains single VCard or more. | [optional] [default to true] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_bcr_parse_storage** +> ai_bcr_parse_storage(self, ai_bcr_parse_storage_request) + +Parse images from storage to vCard files + +### Return type + +[**StorageFileLocationList**](StorageFileLocationList.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiBcrApi.ai_bcr_parse_storage( + cakePrefix_ai_bcr_parse_storage_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiBcrParseStorageRequest**](AiBcrParseStorageRequest.md)| Request with images located on storage | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_bcr_parse_storage_async** +> ai_bcr_parse_storage_async(self, ai_bcr_parse_storage_request) + +Parse images from storage to vCard files + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_bcr_parse_storage_async(request).get() returns [**StorageFileLocationList**](StorageFileLocationList.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiBcrApi.ai_bcr_parse_storage_async( + cakePrefix_ai_bcr_parse_storage_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiBcrParseStorageRequest**](AiBcrParseStorageRequest.md)| Request with images located on storage | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/AiBcrImage.md b/sdk/docs/AiBcrImage.md index ae5e2bf..5bac392 100644 --- a/sdk/docs/AiBcrImage.md +++ b/sdk/docs/AiBcrImage.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**is_single** | **bool** | Determines that image contains single VCard or more. Ignored in current version. Multiple cards on image support will be added soon | +**is_single** | **bool** | Determines that image contains single VCard or more. | diff --git a/sdk/docs/AiBcrImageStorageFile.md b/sdk/docs/AiBcrImageStorageFile.md index da5df2f..b821630 100644 --- a/sdk/docs/AiBcrImageStorageFile.md +++ b/sdk/docs/AiBcrImageStorageFile.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**file** | [**StorageFileLocation**](StorageFileLocation.md) | Image location | [optional] +**file** | [**StorageFileLocation**](StorageFileLocation.md) | Image location | Parent class: [AiBcrImage](AiBcrImage.md) diff --git a/sdk/docs/AiBcrOcrData.md b/sdk/docs/AiBcrOcrData.md deleted file mode 100644 index 876c04c..0000000 --- a/sdk/docs/AiBcrOcrData.md +++ /dev/null @@ -1,14 +0,0 @@ -# AsposeEmailCloudSdk.models.AiBcrOcrData -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Image identifier | [optional] -**image** | **str** | Image with possible pre-processing in Base64 | [optional] -**details** | **dict(str, str)** | Additional details from OCR engine | [optional] -**data** | [**list[AiBcrOcrDataPart]**](AiBcrOcrDataPart.md) | OCR results | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AiBcrOcrDataPart.md b/sdk/docs/AiBcrOcrDataPart.md deleted file mode 100644 index a3287fe..0000000 --- a/sdk/docs/AiBcrOcrDataPart.md +++ /dev/null @@ -1,16 +0,0 @@ -# AsposeEmailCloudSdk.models.AiBcrOcrDataPart -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**x** | **float** | X position of text block | -**y** | **float** | Y position of text block | -**width** | **float** | Width of text block | -**height** | **float** | Height of text block | -**text** | **str** | Recognized text | [optional] -**details** | **dict(str, str)** | Additional recognition result details | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AiBcrOptions.md b/sdk/docs/AiBcrOptions.md index 1c1b71c..dae22d3 100644 --- a/sdk/docs/AiBcrOptions.md +++ b/sdk/docs/AiBcrOptions.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**languages** | **str** | Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default | [optional] -**countries** | **str** | Comma-separated codes of countries | [optional] +**languages** | **str** | Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. | [optional] +**countries** | **str** | Comma-separated codes of countries. | [optional] diff --git a/sdk/docs/AiBcrParseStorageRq.md b/sdk/docs/AiBcrParseStorageRequest.md similarity index 60% rename from sdk/docs/AiBcrParseStorageRq.md rename to sdk/docs/AiBcrParseStorageRequest.md index b8d7635..fc1ea2d 100644 --- a/sdk/docs/AiBcrParseStorageRq.md +++ b/sdk/docs/AiBcrParseStorageRequest.md @@ -1,10 +1,12 @@ -# AsposeEmailCloudSdk.models.AiBcrParseStorageRq +# AsposeEmailCloudSdk.models.AiBcrParseStorageRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **out_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | Parse output folder location on storage | +**images** | [**list[AiBcrImageStorageFile]**](AiBcrImageStorageFile.md) | Images to parse. | +**options** | [**AiBcrOptions**](AiBcrOptions.md) | Recognition options. | [optional] + - Parent class: [AiBcrStorageImageRq](AiBcrStorageImageRq.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/AiBcrStorageImageRq.md b/sdk/docs/AiBcrStorageImageRq.md deleted file mode 100644 index 4da8acf..0000000 --- a/sdk/docs/AiBcrStorageImageRq.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.AiBcrStorageImageRq -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**images** | [**list[AiBcrImageStorageFile]**](AiBcrImageStorageFile.md) | List of images with business cards | - - Parent class: [AiBcrRq](AiBcrRq.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AiGroup.md b/sdk/docs/AiGroup.md new file mode 100644 index 0000000..1b24f85 --- /dev/null +++ b/sdk/docs/AiGroup.md @@ -0,0 +1,7 @@ +# EmailCloud.Ai +AI powered operations. + +API | Description +--- | ----------- +[EmailCloud.ai().**bcr()**](AiBcrApi_list.md) | AI Business card recognition operations. +[EmailCloud.ai().**name()**](AiNameApi_list.md) | AI Name operations. diff --git a/sdk/docs/AiNameApi.md b/sdk/docs/AiNameApi.md new file mode 100644 index 0000000..66f9625 --- /dev/null +++ b/sdk/docs/AiNameApi.md @@ -0,0 +1,917 @@ +# AsposeEmailCloudSdk.AiNameApi + + +# **ai_name_complete** +> ai_name_complete(self, ai_name_complete_request) + +The call proposes k most probable names for given starting characters. + +### Return type + +[**AiNameWeightedVariants**](AiNameWeightedVariants.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_complete( + cakePrefix_ai_name_complete_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to complete. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_complete_async** +> ai_name_complete_async(self, ai_name_complete_request) + +The call proposes k most probable names for given starting characters. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_complete_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_complete_async( + cakePrefix_ai_name_complete_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to complete. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_expand** +> ai_name_expand(self, ai_name_expand_request) + +Expands a person's name into a list of possible alternatives using options for expanding instructions. + +### Return type + +[**AiNameWeightedVariants**](AiNameWeightedVariants.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_expand( + cakePrefix_ai_name_expand_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to expand. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_expand_async** +> ai_name_expand_async(self, ai_name_expand_request) + +Expands a person's name into a list of possible alternatives using options for expanding instructions. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_expand_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_expand_async( + cakePrefix_ai_name_expand_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to expand. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_expand_parsed** +> ai_name_expand_parsed(self, ai_name_expand_parsed_request) + +Expands a person's parsed name into a list of possible alternatives using options for expanding instructions. + +### Return type + +[**AiNameWeightedVariants**](AiNameWeightedVariants.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiNameApi.ai_name_expand_parsed( + cakePrefix_ai_name_expand_parsed_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Parsed name with options. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_expand_parsed_async** +> ai_name_expand_parsed_async(self, ai_name_expand_parsed_request) + +Expands a person's parsed name into a list of possible alternatives using options for expanding instructions. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_expand_parsed_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiNameApi.ai_name_expand_parsed_async( + cakePrefix_ai_name_expand_parsed_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Parsed name with options. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_format** +> ai_name_format(self, ai_name_format_request) + +Formats a person's name in correct case and name order using options for formatting instructions. + +### Return type + +[**AiNameFormatted**](AiNameFormatted.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + format=format, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_format( + cakePrefix_ai_name_format_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + format=format, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to format. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **format** | **str**| Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_format_async** +> ai_name_format_async(self, ai_name_format_request) + +Formats a person's name in correct case and name order using options for formatting instructions. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_format_async(request).get() returns [**AiNameFormatted**](AiNameFormatted.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + format=format, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_format_async( + cakePrefix_ai_name_format_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + format=format, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to format. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **format** | **str**| Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_format_parsed** +> ai_name_format_parsed(self, ai_name_format_parsed_request) + +Formats a person's parsed name in correct case and name order using options for formatting instructions. + +### Return type + +[**AiNameFormatted**](AiNameFormatted.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiNameApi.ai_name_format_parsed( + cakePrefix_ai_name_format_parsed_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Parsed name with options. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_format_parsed_async** +> ai_name_format_parsed_async(self, ai_name_format_parsed_request) + +Formats a person's parsed name in correct case and name order using options for formatting instructions. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_format_parsed_async(request).get() returns [**AiNameFormatted**](AiNameFormatted.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiNameApi.ai_name_format_parsed_async( + cakePrefix_ai_name_format_parsed_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Parsed name with options. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_genderize** +> ai_name_genderize(self, ai_name_genderize_request) + +Detect person's gender from name string. + +### Return type + +[**AiNameGenderHypothesisList**](AiNameGenderHypothesisList.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_genderize( + cakePrefix_ai_name_genderize_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to genderize. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_genderize_async** +> ai_name_genderize_async(self, ai_name_genderize_request) + +Detect person's gender from name string. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_genderize_async(request).get() returns [**AiNameGenderHypothesisList**](AiNameGenderHypothesisList.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_genderize_async( + cakePrefix_ai_name_genderize_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to genderize. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_genderize_parsed** +> ai_name_genderize_parsed(self, ai_name_genderize_parsed_request) + +Detect person's gender from parsed name. + +### Return type + +[**AiNameGenderHypothesisList**](AiNameGenderHypothesisList.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiNameApi.ai_name_genderize_parsed( + cakePrefix_ai_name_genderize_parsed_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Gender detection request data. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_genderize_parsed_async** +> ai_name_genderize_parsed_async(self, ai_name_genderize_parsed_request) + +Detect person's gender from parsed name. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_genderize_parsed_async(request).get() returns [**AiNameGenderHypothesisList**](AiNameGenderHypothesisList.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiNameApi.ai_name_genderize_parsed_async( + cakePrefix_ai_name_genderize_parsed_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Gender detection request data. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_match** +> ai_name_match(self, ai_name_match_request) + +Compare people's names. Uses options for comparing instructions. + +### Return type + +[**AiNameMatchResult**](AiNameMatchResult.md) + +### Request Parameters +```python +__init__(self, + name, + other_name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_match( + cakePrefix_ai_name_match_request_cakeCodePostProcessor( + name, + other_name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to match. | + **other_name** | **str**| Another name to match. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_match_async** +> ai_name_match_async(self, ai_name_match_request) + +Compare people's names. Uses options for comparing instructions. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_match_async(request).get() returns [**AiNameMatchResult**](AiNameMatchResult.md) + +### Request Parameters +```python +__init__(self, + name, + other_name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_match_async( + cakePrefix_ai_name_match_request_cakeCodePostProcessor( + name, + other_name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to match. | + **other_name** | **str**| Another name to match. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_match_parsed** +> ai_name_match_parsed(self, ai_name_match_parsed_request) + +Compare people's parsed names and attributes. Uses options for comparing instructions. + +### Return type + +[**AiNameMatchResult**](AiNameMatchResult.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiNameApi.ai_name_match_parsed( + cakePrefix_ai_name_match_parsed_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiNameParsedMatchRequest**](AiNameParsedMatchRequest.md)| Parsed names to match. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_match_parsed_async** +> ai_name_match_parsed_async(self, ai_name_match_parsed_request) + +Compare people's parsed names and attributes. Uses options for comparing instructions. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_match_parsed_async(request).get() returns [**AiNameMatchResult**](AiNameMatchResult.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +AiNameApi.ai_name_match_parsed_async( + cakePrefix_ai_name_match_parsed_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**AiNameParsedMatchRequest**](AiNameParsedMatchRequest.md)| Parsed names to match. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_parse** +> ai_name_parse(self, ai_name_parse_request) + +Parse name to components. + +### Return type + +[**AiNameComponentList**](AiNameComponentList.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_parse( + cakePrefix_ai_name_parse_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to parse. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_parse_async** +> ai_name_parse_async(self, ai_name_parse_request) + +Parse name to components. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_parse_async(request).get() returns [**AiNameComponentList**](AiNameComponentList.md) + +### Request Parameters +```python +__init__(self, + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_parse_async( + cakePrefix_ai_name_parse_request_cakeCodePostProcessor( + name, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| A name to parse. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_parse_email_address** +> ai_name_parse_email_address(self, ai_name_parse_email_address_request) + +Parse person's name out of an email address. + +### Return type + +[**AiNameExtractedList**](AiNameExtractedList.md) + +### Request Parameters +```python +__init__(self, + email_address, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_parse_email_address( + cakePrefix_ai_name_parse_email_address_request_cakeCodePostProcessor( + email_address, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **email_address** | **str**| Email address to parse. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **ai_name_parse_email_address_async** +> ai_name_parse_email_address_async(self, ai_name_parse_email_address_request) + +Parse person's name out of an email address. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +ai_name_parse_email_address_async(request).get() returns [**AiNameExtractedList**](AiNameExtractedList.md) + +### Request Parameters +```python +__init__(self, + email_address, + language=language, + location=location, + encoding=encoding, + script=script, + style=style) +``` + +### Usage +```python +AiNameApi.ai_name_parse_email_address_async( + cakePrefix_ai_name_parse_email_address_request_cakeCodePostProcessor( + email_address, + language=language, + location=location, + encoding=encoding, + script=script, + style=style)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **email_address** | **str**| Email address to parse. | + **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str**| A character encoding name. | [optional] [default to ] + **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/MimeResponse.md b/sdk/docs/AiNameComponentList.md similarity index 66% rename from sdk/docs/MimeResponse.md rename to sdk/docs/AiNameComponentList.md index a2e0f0c..0c4c5ba 100644 --- a/sdk/docs/MimeResponse.md +++ b/sdk/docs/AiNameComponentList.md @@ -1,10 +1,9 @@ -# AsposeEmailCloudSdk.models.MimeResponse +# AsposeEmailCloudSdk.models.AiNameComponentList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**mime** | **str** | Gets or sets base64 encoded mime content. | [optional] - + Parent class: [ListResponseOfAiNameComponent](ListResponseOfAiNameComponent.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameExtractedList.md b/sdk/docs/AiNameExtractedList.md new file mode 100644 index 0000000..8bbd8d2 --- /dev/null +++ b/sdk/docs/AiNameExtractedList.md @@ -0,0 +1,10 @@ +# AsposeEmailCloudSdk.models.AiNameExtractedList +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + Parent class: [ListResponseOfAiNameExtracted](ListResponseOfAiNameExtracted.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/AiNameGenderHypothesisList.md b/sdk/docs/AiNameGenderHypothesisList.md new file mode 100644 index 0000000..4341b0b --- /dev/null +++ b/sdk/docs/AiNameGenderHypothesisList.md @@ -0,0 +1,10 @@ +# AsposeEmailCloudSdk.models.AiNameGenderHypothesisList +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + Parent class: [ListResponseOfAiNameGenderHypothesis](ListResponseOfAiNameGenderHypothesis.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/AiNameParsedMatchRq.md b/sdk/docs/AiNameParsedMatchRequest.md similarity index 76% rename from sdk/docs/AiNameParsedMatchRq.md rename to sdk/docs/AiNameParsedMatchRequest.md index 4e2e7fa..268db08 100644 --- a/sdk/docs/AiNameParsedMatchRq.md +++ b/sdk/docs/AiNameParsedMatchRequest.md @@ -1,10 +1,10 @@ -# AsposeEmailCloudSdk.models.AiNameParsedMatchRq +# AsposeEmailCloudSdk.models.AiNameParsedMatchRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **other_parsed_name** | [**list[AiNameComponent]**](AiNameComponent.md) | Other parsed name to match | - Parent class: [AiNameParsedRq](AiNameParsedRq.md) + Parent class: [AiNameParsedRequest](AiNameParsedRequest.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameParsedRq.md b/sdk/docs/AiNameParsedRequest.md similarity index 97% rename from sdk/docs/AiNameParsedRq.md rename to sdk/docs/AiNameParsedRequest.md index 8f81768..5012e6b 100644 --- a/sdk/docs/AiNameParsedRq.md +++ b/sdk/docs/AiNameParsedRequest.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.AiNameParsedRq +# AsposeEmailCloudSdk.models.AiNameParsedRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/AppendEmailAccountBaseRequest.md b/sdk/docs/AppendEmailAccountBaseRequest.md deleted file mode 100644 index 4ec9fef..0000000 --- a/sdk/docs/AppendEmailAccountBaseRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.AppendEmailAccountBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**folder** | **str** | Email account folder to store a message | -**mark_as_sent** | **bool** | Mark message as sent | - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AppendEmailBaseRequest.md b/sdk/docs/AppendEmailBaseRequest.md deleted file mode 100644 index 6eca56a..0000000 --- a/sdk/docs/AppendEmailBaseRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.AppendEmailBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email_file** | [**StorageFileLocation**](StorageFileLocation.md) | Email document file location in storage | - - Parent class: [AppendEmailAccountBaseRequest](AppendEmailAccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AppendEmailMimeBaseRequest.md b/sdk/docs/AppendEmailMimeBaseRequest.md deleted file mode 100644 index fdf1b34..0000000 --- a/sdk/docs/AppendEmailMimeBaseRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.AppendEmailMimeBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**base64_mime_message** | **str** | Email document serialized as MIME string | - - Parent class: [AppendEmailAccountBaseRequest](AppendEmailAccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AppendEmailModelRq.md b/sdk/docs/AppendEmailModelRq.md deleted file mode 100644 index 51920ba..0000000 --- a/sdk/docs/AppendEmailModelRq.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.AppendEmailModelRq -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | [**EmailDto**](EmailDto.md) | Email document | - - Parent class: [AppendEmailAccountBaseRequest](AppendEmailAccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/CalendarApi.md b/sdk/docs/CalendarApi.md new file mode 100644 index 0000000..5ff8b50 --- /dev/null +++ b/sdk/docs/CalendarApi.md @@ -0,0 +1,710 @@ +# AsposeEmailCloudSdk.CalendarApi + + +# **calendar_as_alternate** +> calendar_as_alternate(self, calendar_as_alternate_request) + +Convert iCalendar to AlternateView + +### Return type + +[**AlternateView**](AlternateView.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +CalendarApi.calendar_as_alternate( + cakePrefix_calendar_as_alternate_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**CalendarAsAlternateRequest**](CalendarAsAlternateRequest.md)| iCalendar to AlternateView request | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_as_alternate_async** +> calendar_as_alternate_async(self, calendar_as_alternate_request) + +Convert iCalendar to AlternateView + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_as_alternate_async(request).get() returns [**AlternateView**](AlternateView.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +CalendarApi.calendar_as_alternate_async( + cakePrefix_calendar_as_alternate_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**CalendarAsAlternateRequest**](CalendarAsAlternateRequest.md)| iCalendar to AlternateView request | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_as_file** +> calendar_as_file(self, calendar_as_file_request) + +Converts calendar model to specified format and returns as file. + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +CalendarApi.calendar_as_file( + cakePrefix_calendar_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**CalendarAsFileRequest**](CalendarAsFileRequest.md)| Calendar model and format to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_as_file_async** +> calendar_as_file_async(self, calendar_as_file_request) + +Converts calendar model to specified format and returns as file. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_as_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +CalendarApi.calendar_as_file_async( + cakePrefix_calendar_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**CalendarAsFileRequest**](CalendarAsFileRequest.md)| Calendar model and format to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_as_mapi** +> calendar_as_mapi(self, calendar_as_mapi_request) + +Converts CalendarDto to MapiCalendarDto. + +### Return type + +[**MapiCalendarDto**](MapiCalendarDto.md) + +### Request Parameters +```python +__init__(self, + calendar_dto) +``` + +### Usage +```python +CalendarApi.calendar_as_mapi( + cakePrefix_calendar_as_mapi_request_cakeCodePostProcessor( + calendar_dto)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **calendar_dto** | [**CalendarDto**](CalendarDto.md)| iCalendar model calendar representation. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_as_mapi_async** +> calendar_as_mapi_async(self, calendar_as_mapi_request) + +Converts CalendarDto to MapiCalendarDto. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_as_mapi_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) + +### Request Parameters +```python +__init__(self, + calendar_dto) +``` + +### Usage +```python +CalendarApi.calendar_as_mapi_async( + cakePrefix_calendar_as_mapi_request_cakeCodePostProcessor( + calendar_dto)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **calendar_dto** | [**CalendarDto**](CalendarDto.md)| iCalendar model calendar representation. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_convert** +> calendar_convert(self, calendar_convert_request) + +Converts calendar document to specified format and returns as file. + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + format, + file) +``` + +### Usage +```python +CalendarApi.calendar_convert( + cakePrefix_calendar_convert_request_cakeCodePostProcessor( + format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| File format. Enum, available values: Ics, Msg | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_convert_async** +> calendar_convert_async(self, calendar_convert_request) + +Converts calendar document to specified format and returns as file. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_convert_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + format, + file) +``` + +### Usage +```python +CalendarApi.calendar_convert_async( + cakePrefix_calendar_convert_request_cakeCodePostProcessor( + format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| File format. Enum, available values: Ics, Msg | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_from_file** +> calendar_from_file(self, calendar_from_file_request) + +Converts calendar document to a model representation. + +### Return type + +[**CalendarDto**](CalendarDto.md) + +### Request Parameters +```python +__init__(self, + file) +``` + +### Usage +```python +CalendarApi.calendar_from_file( + cakePrefix_calendar_from_file_request_cakeCodePostProcessor( + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_from_file_async** +> calendar_from_file_async(self, calendar_from_file_request) + +Converts calendar document to a model representation. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_from_file_async(request).get() returns [**CalendarDto**](CalendarDto.md) + +### Request Parameters +```python +__init__(self, + file) +``` + +### Usage +```python +CalendarApi.calendar_from_file_async( + cakePrefix_calendar_from_file_request_cakeCodePostProcessor( + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_get** +> calendar_get(self, calendar_get_request) + +Get calendar file from storage. + +### Return type + +[**CalendarDto**](CalendarDto.md) + +### Request Parameters +```python +__init__(self, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +CalendarApi.calendar_get( + cakePrefix_calendar_get_request_cakeCodePostProcessor( + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| iCalendar file name in storage. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_get_async** +> calendar_get_async(self, calendar_get_request) + +Get calendar file from storage. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_get_async(request).get() returns [**CalendarDto**](CalendarDto.md) + +### Request Parameters +```python +__init__(self, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +CalendarApi.calendar_get_async( + cakePrefix_calendar_get_request_cakeCodePostProcessor( + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| iCalendar file name in storage. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_get_as_alternate** +> calendar_get_as_alternate(self, calendar_get_as_alternate_request) + +Get iCalendar from storage as AlternateView + +### Return type + +[**AlternateView**](AlternateView.md) + +### Request Parameters +```python +__init__(self, + file_name, + calendar_action, + sequence_id=sequence_id, + folder=folder, + storage=storage) +``` + +### Usage +```python +CalendarApi.calendar_get_as_alternate( + cakePrefix_calendar_get_as_alternate_request_cakeCodePostProcessor( + file_name, + calendar_action, + sequence_id=sequence_id, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| iCalendar file name in storage | + **calendar_action** | **str**| iCalendar method type Enum, available values: Create, Update, Cancel | + **sequence_id** | **str**| The sequence id | [optional] + **folder** | **str**| Path to folder in storage | [optional] + **storage** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_get_as_alternate_async** +> calendar_get_as_alternate_async(self, calendar_get_as_alternate_request) + +Get iCalendar from storage as AlternateView + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_get_as_alternate_async(request).get() returns [**AlternateView**](AlternateView.md) + +### Request Parameters +```python +__init__(self, + file_name, + calendar_action, + sequence_id=sequence_id, + folder=folder, + storage=storage) +``` + +### Usage +```python +CalendarApi.calendar_get_as_alternate_async( + cakePrefix_calendar_get_as_alternate_request_cakeCodePostProcessor( + file_name, + calendar_action, + sequence_id=sequence_id, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| iCalendar file name in storage | + **calendar_action** | **str**| iCalendar method type Enum, available values: Create, Update, Cancel | + **sequence_id** | **str**| The sequence id | [optional] + **folder** | **str**| Path to folder in storage | [optional] + **storage** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_get_as_file** +> calendar_get_as_file(self, calendar_get_as_file_request) + +Converts calendar document from storage to specified format and returns as file. + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + file_name, + format, + storage=storage, + folder=folder) +``` + +### Usage +```python +CalendarApi.calendar_get_as_file( + cakePrefix_calendar_get_as_file_request_cakeCodePostProcessor( + file_name, + format, + storage=storage, + folder=folder)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| Calendar document file name. | + **format** | **str**| File format. Enum, available values: Ics, Msg | + **storage** | **str**| Storage name. | [optional] + **folder** | **str**| Path to folder in storage. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_get_as_file_async** +> calendar_get_as_file_async(self, calendar_get_as_file_request) + +Converts calendar document from storage to specified format and returns as file. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_get_as_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + file_name, + format, + storage=storage, + folder=folder) +``` + +### Usage +```python +CalendarApi.calendar_get_as_file_async( + cakePrefix_calendar_get_as_file_request_cakeCodePostProcessor( + file_name, + format, + storage=storage, + folder=folder)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| Calendar document file name. | + **format** | **str**| File format. Enum, available values: Ics, Msg | + **storage** | **str**| Storage name. | [optional] + **folder** | **str**| Path to folder in storage. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_get_list** +> calendar_get_list(self, calendar_get_list_request) + +Get iCalendar list from storage folder. + +### Return type + +[**CalendarStorageList**](CalendarStorageList.md) + +### Request Parameters +```python +__init__(self, + folder, + items_per_page=items_per_page, + page_number=page_number, + storage=storage) +``` + +### Usage +```python +CalendarApi.calendar_get_list( + cakePrefix_calendar_get_list_request_cakeCodePostProcessor( + folder, + items_per_page=items_per_page, + page_number=page_number, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **folder** | **str**| Path to folder in storage. | + **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] + **page_number** | **int**| Page number. | [optional] [default to 0] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_get_list_async** +> calendar_get_list_async(self, calendar_get_list_request) + +Get iCalendar list from storage folder. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_get_list_async(request).get() returns [**CalendarStorageList**](CalendarStorageList.md) + +### Request Parameters +```python +__init__(self, + folder, + items_per_page=items_per_page, + page_number=page_number, + storage=storage) +``` + +### Usage +```python +CalendarApi.calendar_get_list_async( + cakePrefix_calendar_get_list_request_cakeCodePostProcessor( + folder, + items_per_page=items_per_page, + page_number=page_number, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **folder** | **str**| Path to folder in storage. | + **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] + **page_number** | **int**| Page number. | [optional] [default to 0] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_save** +> calendar_save(self, calendar_save_request) + +Save iCalendar + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +CalendarApi.calendar_save( + cakePrefix_calendar_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**CalendarSaveRequest**](CalendarSaveRequest.md)| iCalendar create/update request | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **calendar_save_async** +> calendar_save_async(self, calendar_save_request) + +Save iCalendar + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +calendar_save_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +CalendarApi.calendar_save_async( + cakePrefix_calendar_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**CalendarSaveRequest**](CalendarSaveRequest.md)| iCalendar create/update request | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/CalendarDtoAlternateRq.md b/sdk/docs/CalendarAsAlternateRequest.md similarity index 90% rename from sdk/docs/CalendarDtoAlternateRq.md rename to sdk/docs/CalendarAsAlternateRequest.md index c440607..ae618dd 100644 --- a/sdk/docs/CalendarDtoAlternateRq.md +++ b/sdk/docs/CalendarAsAlternateRequest.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.CalendarDtoAlternateRq +# AsposeEmailCloudSdk.models.CalendarAsAlternateRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/CalendarAsFileRequest.md b/sdk/docs/CalendarAsFileRequest.md new file mode 100644 index 0000000..eba3a7f --- /dev/null +++ b/sdk/docs/CalendarAsFileRequest.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.CalendarAsFileRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Calendar file format Enum, available values: Ics, Msg | +**value** | [**CalendarDto**](CalendarDto.md) | iCalendar model | + + + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/CalendarSaveRequest.md b/sdk/docs/CalendarSaveRequest.md new file mode 100644 index 0000000..819a4d0 --- /dev/null +++ b/sdk/docs/CalendarSaveRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.CalendarSaveRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Calendar file format Enum, available values: Ics, Msg | + + Parent class: [StorageModelOfCalendarDto](StorageModelOfCalendarDto.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/CalendarDtoList.md b/sdk/docs/CalendarStorageList.md similarity index 88% rename from sdk/docs/CalendarDtoList.md rename to sdk/docs/CalendarStorageList.md index 46d9684..8192269 100644 --- a/sdk/docs/CalendarDtoList.md +++ b/sdk/docs/CalendarStorageList.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.CalendarDtoList +# AsposeEmailCloudSdk.models.CalendarStorageList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/ClientAccountApi.md b/sdk/docs/ClientAccountApi.md new file mode 100644 index 0000000..2c5b4fc --- /dev/null +++ b/sdk/docs/ClientAccountApi.md @@ -0,0 +1,278 @@ +# AsposeEmailCloudSdk.ClientAccountApi + + +# **client_account_get** +> client_account_get(self, client_account_get_request) + +Get email client account from storage. + +### Return type + +[**EmailClientAccount**](EmailClientAccount.md) + +### Request Parameters +```python +__init__(self, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +ClientAccountApi.client_account_get( + cakePrefix_client_account_get_request_cakeCodePostProcessor( + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| File name on storage. | + **folder** | **str**| Folder on storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_account_get_async** +> client_account_get_async(self, client_account_get_request) + +Get email client account from storage. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_account_get_async(request).get() returns [**EmailClientAccount**](EmailClientAccount.md) + +### Request Parameters +```python +__init__(self, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +ClientAccountApi.client_account_get_async( + cakePrefix_client_account_get_request_cakeCodePostProcessor( + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| File name on storage. | + **folder** | **str**| Folder on storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_account_get_multi** +> client_account_get_multi(self, client_account_get_multi_request) + +Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". + +### Return type + +[**EmailClientMultiAccount**](EmailClientMultiAccount.md) + +### Request Parameters +```python +__init__(self, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +ClientAccountApi.client_account_get_multi( + cakePrefix_client_account_get_multi_request_cakeCodePostProcessor( + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| File name on storage | + **folder** | **str**| Folder on storage | [optional] + **storage** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_account_get_multi_async** +> client_account_get_multi_async(self, client_account_get_multi_request) + +Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_account_get_multi_async(request).get() returns [**EmailClientMultiAccount**](EmailClientMultiAccount.md) + +### Request Parameters +```python +__init__(self, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +ClientAccountApi.client_account_get_multi_async( + cakePrefix_client_account_get_multi_request_cakeCodePostProcessor( + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| File name on storage | + **folder** | **str**| Folder on storage | [optional] + **storage** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_account_save** +> client_account_save(self, client_account_save_request) + +Create/update email client account file (*.account) with credentials + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientAccountApi.client_account_save( + cakePrefix_client_account_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**EmailClientAccountSaveRequest**](EmailClientAccountSaveRequest.md)| Email account information | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_account_save_async** +> client_account_save_async(self, client_account_save_request) + +Create/update email client account file (*.account) with credentials + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_account_save_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientAccountApi.client_account_save_async( + cakePrefix_client_account_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**EmailClientAccountSaveRequest**](EmailClientAccountSaveRequest.md)| Email account information | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_account_save_multi** +> client_account_save_multi(self, client_account_save_multi_request) + +Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientAccountApi.client_account_save_multi( + cakePrefix_client_account_save_multi_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**EmailClientMultiAccountSaveRequest**](EmailClientMultiAccountSaveRequest.md)| Email accounts information. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_account_save_multi_async** +> client_account_save_multi_async(self, client_account_save_multi_request) + +Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_account_save_multi_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientAccountApi.client_account_save_multi_async( + cakePrefix_client_account_save_multi_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**EmailClientMultiAccountSaveRequest**](EmailClientMultiAccountSaveRequest.md)| Email accounts information. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/ClientAccountBaseRequest.md b/sdk/docs/ClientAccountBaseRequest.md new file mode 100644 index 0000000..7a638c6 --- /dev/null +++ b/sdk/docs/ClientAccountBaseRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.ClientAccountBaseRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_location** | [**StorageFileLocation**](StorageFileLocation.md) | Email client account configuration location on storage. | + + + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/ClientFolderApi.md b/sdk/docs/ClientFolderApi.md new file mode 100644 index 0000000..2e08ecd --- /dev/null +++ b/sdk/docs/ClientFolderApi.md @@ -0,0 +1,209 @@ +# AsposeEmailCloudSdk.ClientFolderApi + + +# **client_folder_create** +> client_folder_create(self, client_folder_create_request) + +Create new folder in email account + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientFolderApi.client_folder_create( + cakePrefix_client_folder_create_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientFolderCreateRequest**](ClientFolderCreateRequest.md)| Create folder request | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_folder_create_async** +> client_folder_create_async(self, client_folder_create_request) + +Create new folder in email account + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_folder_create_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientFolderApi.client_folder_create_async( + cakePrefix_client_folder_create_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientFolderCreateRequest**](ClientFolderCreateRequest.md)| Create folder request | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_folder_delete** +> client_folder_delete(self, client_folder_delete_request) + +Delete a folder in email account + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientFolderApi.client_folder_delete( + cakePrefix_client_folder_delete_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientFolderDeleteRequest**](ClientFolderDeleteRequest.md)| Delete folder request | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_folder_delete_async** +> client_folder_delete_async(self, client_folder_delete_request) + +Delete a folder in email account + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_folder_delete_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientFolderApi.client_folder_delete_async( + cakePrefix_client_folder_delete_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientFolderDeleteRequest**](ClientFolderDeleteRequest.md)| Delete folder request | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_folder_get_list** +> client_folder_get_list(self, client_folder_get_list_request) + +Get folders list in email account + +### Return type + +[**MailServerFolderList**](MailServerFolderList.md) + +### Request Parameters +```python +__init__(self, + account, + storage=storage, + account_storage_folder=account_storage_folder, + parent_folder=parent_folder) +``` + +### Usage +```python +ClientFolderApi.client_folder_get_list( + cakePrefix_client_folder_get_list_request_cakeCodePostProcessor( + account, + storage=storage, + account_storage_folder=account_storage_folder, + parent_folder=parent_folder)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account** | **str**| Email account | + **storage** | **str**| Storage name where account file located | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located | [optional] + **parent_folder** | **str**| Folder in which subfolders should be listed | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_folder_get_list_async** +> client_folder_get_list_async(self, client_folder_get_list_request) + +Get folders list in email account + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_folder_get_list_async(request).get() returns [**MailServerFolderList**](MailServerFolderList.md) + +### Request Parameters +```python +__init__(self, + account, + storage=storage, + account_storage_folder=account_storage_folder, + parent_folder=parent_folder) +``` + +### Usage +```python +ClientFolderApi.client_folder_get_list_async( + cakePrefix_client_folder_get_list_request_cakeCodePostProcessor( + account, + storage=storage, + account_storage_folder=account_storage_folder, + parent_folder=parent_folder)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account** | **str**| Email account | + **storage** | **str**| Storage name where account file located | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located | [optional] + **parent_folder** | **str**| Folder in which subfolders should be listed | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/ClientFolderCreateRequest.md b/sdk/docs/ClientFolderCreateRequest.md new file mode 100644 index 0000000..53cbf77 --- /dev/null +++ b/sdk/docs/ClientFolderCreateRequest.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.ClientFolderCreateRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**parent_folder** | **str** | Path to parent folder. | [optional] +**folder_name** | **str** | Folder name. | + + Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/EmailDocumentResponse.md b/sdk/docs/ClientFolderDeleteRequest.md similarity index 58% rename from sdk/docs/EmailDocumentResponse.md rename to sdk/docs/ClientFolderDeleteRequest.md index bc9d947..d79091e 100644 --- a/sdk/docs/EmailDocumentResponse.md +++ b/sdk/docs/ClientFolderDeleteRequest.md @@ -1,10 +1,10 @@ -# AsposeEmailCloudSdk.models.EmailDocumentResponse +# AsposeEmailCloudSdk.models.ClientFolderDeleteRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**document** | [**EmailDocument**](EmailDocument.md) | An email document requested | [optional] - +**folder** | **str** | Path to folder to delete. | + Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/ClientGroup.md b/sdk/docs/ClientGroup.md new file mode 100644 index 0000000..6518376 --- /dev/null +++ b/sdk/docs/ClientGroup.md @@ -0,0 +1,9 @@ +# EmailCloud.Client +Builtin Email client operations. + +API | Description +--- | ----------- +[EmailCloud.client().**account()**](ClientAccountApi_list.md) | Email server account for built-in client operations. +[EmailCloud.client().**folder()**](ClientFolderApi_list.md) | Email client folder operations. +[EmailCloud.client().**message()**](ClientMessageApi_list.md) | Email client message operations. +[EmailCloud.client().**thread()**](ClientThreadApi_list.md) | Email client thread operations. diff --git a/sdk/docs/ClientMessageApi.md b/sdk/docs/ClientMessageApi.md new file mode 100644 index 0000000..881a4c1 --- /dev/null +++ b/sdk/docs/ClientMessageApi.md @@ -0,0 +1,804 @@ +# AsposeEmailCloudSdk.ClientMessageApi + + +# **client_message_append** +> client_message_append(self, client_message_append_request) + +Add email message to specified folder in email account. + +### Return type + +[**ValueTOfString**](ValueTOfString.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_append( + cakePrefix_client_message_append_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageAppendRequest**](ClientMessageAppendRequest.md)| Append email request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_append_async** +> client_message_append_async(self, client_message_append_request) + +Add email message to specified folder in email account. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_append_async(request).get() returns [**ValueTOfString**](ValueTOfString.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_append_async( + cakePrefix_client_message_append_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageAppendRequest**](ClientMessageAppendRequest.md)| Append email request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_append_file** +> client_message_append_file(self, client_message_append_file_request) + +Add email message from file to specified folder in email account. + +### Return type + +[**ValueTOfString**](ValueTOfString.md) + +### Request Parameters +```python +__init__(self, + account, + file, + storage=storage, + account_storage_folder=account_storage_folder, + format=format, + folder=folder, + mark_as_sent=mark_as_sent) +``` + +### Usage +```python +ClientMessageApi.client_message_append_file( + cakePrefix_client_message_append_file_request_cakeCodePostProcessor( + account, + file, + storage=storage, + account_storage_folder=account_storage_folder, + format=format, + folder=folder, + mark_as_sent=mark_as_sent)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account** | **str**| Email account. | + **file** | **file**| Message file to append. | + **storage** | **str**| Storage name where account file located. | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] + **format** | **str**| Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **folder** | **str**| Path to folder on email server to append message to. | [optional] + **mark_as_sent** | **bool**| Determines that appended message should be market as sent or not. | [optional] [default to true] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_append_file_async** +> client_message_append_file_async(self, client_message_append_file_request) + +Add email message from file to specified folder in email account. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_append_file_async(request).get() returns [**ValueTOfString**](ValueTOfString.md) + +### Request Parameters +```python +__init__(self, + account, + file, + storage=storage, + account_storage_folder=account_storage_folder, + format=format, + folder=folder, + mark_as_sent=mark_as_sent) +``` + +### Usage +```python +ClientMessageApi.client_message_append_file_async( + cakePrefix_client_message_append_file_request_cakeCodePostProcessor( + account, + file, + storage=storage, + account_storage_folder=account_storage_folder, + format=format, + folder=folder, + mark_as_sent=mark_as_sent)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account** | **str**| Email account. | + **file** | **file**| Message file to append. | + **storage** | **str**| Storage name where account file located. | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] + **format** | **str**| Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **folder** | **str**| Path to folder on email server to append message to. | [optional] + **mark_as_sent** | **bool**| Determines that appended message should be market as sent or not. | [optional] [default to true] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_delete** +> client_message_delete(self, client_message_delete_request) + +Delete message. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_delete( + cakePrefix_client_message_delete_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageDeleteRequest**](ClientMessageDeleteRequest.md)| Delete message request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_delete_async** +> client_message_delete_async(self, client_message_delete_request) + +Delete message. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_delete_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_delete_async( + cakePrefix_client_message_delete_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageDeleteRequest**](ClientMessageDeleteRequest.md)| Delete message request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_fetch** +> client_message_fetch(self, client_message_fetch_request) + +Fetch message from email account + +### Return type + +[**MailMessageBase**](MailMessageBase.md) + +### Request Parameters +```python +__init__(self, + message_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder, + type=type, + format=format) +``` + +### Usage +```python +ClientMessageApi.client_message_fetch( + cakePrefix_client_message_fetch_request_cakeCodePostProcessor( + message_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder, + type=type, + format=format)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **message_id** | **str**| Message identifier | + **account** | **str**| Email account | + **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] + **storage** | **str**| Storage name where account file located. | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] + **type** | **str**| MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] + **format** | **str**| Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_fetch_async** +> client_message_fetch_async(self, client_message_fetch_request) + +Fetch message from email account + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_fetch_async(request).get() returns [**MailMessageBase**](MailMessageBase.md) + +### Request Parameters +```python +__init__(self, + message_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder, + type=type, + format=format) +``` + +### Usage +```python +ClientMessageApi.client_message_fetch_async( + cakePrefix_client_message_fetch_request_cakeCodePostProcessor( + message_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder, + type=type, + format=format)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **message_id** | **str**| Message identifier | + **account** | **str**| Email account | + **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] + **storage** | **str**| Storage name where account file located. | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] + **type** | **str**| MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] + **format** | **str**| Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_fetch_file** +> client_message_fetch_file(self, client_message_fetch_file_request) + +Fetch message as file from email account + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + message_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder, + format=format) +``` + +### Usage +```python +ClientMessageApi.client_message_fetch_file( + cakePrefix_client_message_fetch_file_request_cakeCodePostProcessor( + message_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder, + format=format)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **message_id** | **str**| Message identifier | + **account** | **str**| Email account | + **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] + **storage** | **str**| Storage name where account file located. | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] + **format** | **str**| Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_fetch_file_async** +> client_message_fetch_file_async(self, client_message_fetch_file_request) + +Fetch message as file from email account + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_fetch_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + message_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder, + format=format) +``` + +### Usage +```python +ClientMessageApi.client_message_fetch_file_async( + cakePrefix_client_message_fetch_file_request_cakeCodePostProcessor( + message_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder, + format=format)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **message_id** | **str**| Message identifier | + **account** | **str**| Email account | + **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] + **storage** | **str**| Storage name where account file located. | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] + **format** | **str**| Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_list** +> client_message_list(self, client_message_list_request) + +Get messages from folder, filtered by query + +The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" + +### Return type + +[**MailMessageBaseList**](MailMessageBaseList.md) + +### Request Parameters +```python +__init__(self, + folder, + account, + query_string=query_string, + storage=storage, + account_storage_folder=account_storage_folder, + recursive=recursive, + type=type, + format=format) +``` + +### Usage +```python +ClientMessageApi.client_message_list( + cakePrefix_client_message_list_request_cakeCodePostProcessor( + folder, + account, + query_string=query_string, + storage=storage, + account_storage_folder=account_storage_folder, + recursive=recursive, + type=type, + format=format)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **folder** | **str**| A folder in email account | + **account** | **str**| Email account | + **query_string** | **str**| A MailQuery search string | [optional] + **storage** | **str**| Storage name where account file located | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located | [optional] + **recursive** | **bool**| Specifies that should message be searched in subfolders recursively | [optional] [default to false] + **type** | **str**| MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] + **format** | **str**| Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_list_async** +> client_message_list_async(self, client_message_list_request) + +Get messages from folder, filtered by query + +Performs operation asynchronously. + +The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_list_async(request).get() returns [**MailMessageBaseList**](MailMessageBaseList.md) + +### Request Parameters +```python +__init__(self, + folder, + account, + query_string=query_string, + storage=storage, + account_storage_folder=account_storage_folder, + recursive=recursive, + type=type, + format=format) +``` + +### Usage +```python +ClientMessageApi.client_message_list_async( + cakePrefix_client_message_list_request_cakeCodePostProcessor( + folder, + account, + query_string=query_string, + storage=storage, + account_storage_folder=account_storage_folder, + recursive=recursive, + type=type, + format=format)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **folder** | **str**| A folder in email account | + **account** | **str**| Email account | + **query_string** | **str**| A MailQuery search string | [optional] + **storage** | **str**| Storage name where account file located | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located | [optional] + **recursive** | **bool**| Specifies that should message be searched in subfolders recursively | [optional] [default to false] + **type** | **str**| MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] + **format** | **str**| Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_move** +> client_message_move(self, client_message_move_request) + +Move message to another folder. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_move( + cakePrefix_client_message_move_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageMoveRequest**](ClientMessageMoveRequest.md)| Move message request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_move_async** +> client_message_move_async(self, client_message_move_request) + +Move message to another folder. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_move_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_move_async( + cakePrefix_client_message_move_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageMoveRequest**](ClientMessageMoveRequest.md)| Move message request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_send** +> client_message_send(self, client_message_send_request) + +Send an email specified by model in request. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_send( + cakePrefix_client_message_send_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageSendRequest**](ClientMessageSendRequest.md)| Send email request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_send_async** +> client_message_send_async(self, client_message_send_request) + +Send an email specified by model in request. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_send_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_send_async( + cakePrefix_client_message_send_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageSendRequest**](ClientMessageSendRequest.md)| Send email request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_send_file** +> client_message_send_file(self, client_message_send_file_request) + +Send an email file. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + account, + file, + storage=storage, + account_storage_folder=account_storage_folder, + format=format) +``` + +### Usage +```python +ClientMessageApi.client_message_send_file( + cakePrefix_client_message_send_file_request_cakeCodePostProcessor( + account, + file, + storage=storage, + account_storage_folder=account_storage_folder, + format=format)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account** | **str**| Email account | + **file** | **file**| File to send | + **storage** | **str**| Storage name where account file located. | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] + **format** | **str**| Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_send_file_async** +> client_message_send_file_async(self, client_message_send_file_request) + +Send an email file. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_send_file_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + account, + file, + storage=storage, + account_storage_folder=account_storage_folder, + format=format) +``` + +### Usage +```python +ClientMessageApi.client_message_send_file_async( + cakePrefix_client_message_send_file_request_cakeCodePostProcessor( + account, + file, + storage=storage, + account_storage_folder=account_storage_folder, + format=format)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account** | **str**| Email account | + **file** | **file**| File to send | + **storage** | **str**| Storage name where account file located. | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] + **format** | **str**| Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_set_is_read** +> client_message_set_is_read(self, client_message_set_is_read_request) + +Mark message as read or unread. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_set_is_read( + cakePrefix_client_message_set_is_read_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageSetIsReadRequest**](ClientMessageSetIsReadRequest.md)| Delete message request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_message_set_is_read_async** +> client_message_set_is_read_async(self, client_message_set_is_read_request) + +Mark message as read or unread. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_message_set_is_read_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientMessageApi.client_message_set_is_read_async( + cakePrefix_client_message_set_is_read_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientMessageSetIsReadRequest**](ClientMessageSetIsReadRequest.md)| Delete message request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/ClientMessageAppendRequest.md b/sdk/docs/ClientMessageAppendRequest.md new file mode 100644 index 0000000..06fffc7 --- /dev/null +++ b/sdk/docs/ClientMessageAppendRequest.md @@ -0,0 +1,13 @@ +# AsposeEmailCloudSdk.models.ClientMessageAppendRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**folder** | **str** | Path to folder on email server to append message to. | [optional] +**message** | [**MailMessageBase**](MailMessageBase.md) | Message to append. | +**mark_as_sent** | **bool** | Determines that appended message should be market as sent or not. | + + Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/ClientMessageBaseRequest.md b/sdk/docs/ClientMessageBaseRequest.md new file mode 100644 index 0000000..5e392da --- /dev/null +++ b/sdk/docs/ClientMessageBaseRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.ClientMessageBaseRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message_id** | **str** | Message identifier. | + + Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/ClientMessageDeleteRequest.md b/sdk/docs/ClientMessageDeleteRequest.md new file mode 100644 index 0000000..56b0a0c --- /dev/null +++ b/sdk/docs/ClientMessageDeleteRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.ClientMessageDeleteRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**folder** | **str** | Folder to delete message from. | [optional] + + Parent class: [ClientMessageBaseRequest](ClientMessageBaseRequest.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/IndexedPrimitiveObject.md b/sdk/docs/ClientMessageMoveRequest.md similarity index 51% rename from sdk/docs/IndexedPrimitiveObject.md rename to sdk/docs/ClientMessageMoveRequest.md index 93d67b5..3f60c12 100644 --- a/sdk/docs/IndexedPrimitiveObject.md +++ b/sdk/docs/ClientMessageMoveRequest.md @@ -1,11 +1,11 @@ -# AsposeEmailCloudSdk.models.IndexedPrimitiveObject +# AsposeEmailCloudSdk.models.ClientMessageMoveRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**index** | **int** | Index of property in list | -**value** | **str** | Gets or sets the name of a property. | [optional] +**source_folder** | **str** | Folder to move message from. | [optional] +**destination_folder** | **str** | Folder to move message to. | - Parent class: [BaseObject](BaseObject.md) + Parent class: [ClientMessageBaseRequest](ClientMessageBaseRequest.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/ClientMessageSendRequest.md b/sdk/docs/ClientMessageSendRequest.md new file mode 100644 index 0000000..de8b0bd --- /dev/null +++ b/sdk/docs/ClientMessageSendRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.ClientMessageSendRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | [**MailMessageBase**](MailMessageBase.md) | Message to send | + + Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/AiBcrBase64Rq.md b/sdk/docs/ClientMessageSetIsReadRequest.md similarity index 57% rename from sdk/docs/AiBcrBase64Rq.md rename to sdk/docs/ClientMessageSetIsReadRequest.md index c20628b..6d8ec45 100644 --- a/sdk/docs/AiBcrBase64Rq.md +++ b/sdk/docs/ClientMessageSetIsReadRequest.md @@ -1,10 +1,10 @@ -# AsposeEmailCloudSdk.models.AiBcrBase64Rq +# AsposeEmailCloudSdk.models.ClientMessageSetIsReadRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**images** | [**list[AiBcrBase64Image]**](AiBcrBase64Image.md) | Images to recognize | [optional] +**is_read** | **bool** | Message is read flag. | - Parent class: [AiBcrRq](AiBcrRq.md) + Parent class: [ClientMessageBaseRequest](ClientMessageBaseRequest.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/ClientThreadApi.md b/sdk/docs/ClientThreadApi.md new file mode 100644 index 0000000..c118786 --- /dev/null +++ b/sdk/docs/ClientThreadApi.md @@ -0,0 +1,371 @@ +# AsposeEmailCloudSdk.ClientThreadApi + + +# **client_thread_delete** +> client_thread_delete(self, client_thread_delete_request) + +Delete thread by id. All messages from thread will also be deleted. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientThreadApi.client_thread_delete( + cakePrefix_client_thread_delete_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientThreadDeleteRequest**](ClientThreadDeleteRequest.md)| Delete email thread request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_delete_async** +> client_thread_delete_async(self, client_thread_delete_request) + +Delete thread by id. All messages from thread will also be deleted. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_thread_delete_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientThreadApi.client_thread_delete_async( + cakePrefix_client_thread_delete_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientThreadDeleteRequest**](ClientThreadDeleteRequest.md)| Delete email thread request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_get_list** +> client_thread_get_list(self, client_thread_get_list_request) + +Get message threads from folder. All messages are partly fetched (without email body and some other fields). + +### Return type + +[**EmailThreadList**](EmailThreadList.md) + +### Request Parameters +```python +__init__(self, + folder, + account, + storage=storage, + account_storage_folder=account_storage_folder, + update_folder_cache=update_folder_cache, + messages_cache_limit=messages_cache_limit) +``` + +### Usage +```python +ClientThreadApi.client_thread_get_list( + cakePrefix_client_thread_get_list_request_cakeCodePostProcessor( + folder, + account, + storage=storage, + account_storage_folder=account_storage_folder, + update_folder_cache=update_folder_cache, + messages_cache_limit=messages_cache_limit)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **folder** | **str**| A folder in email account. | + **account** | **str**| Email account | + **storage** | **str**| Storage name where account file located | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located | [optional] + **update_folder_cache** | **bool**| This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account | [optional] [default to true] + **messages_cache_limit** | **int**| Limit messages cache size if CacheFile is used. Ignored in accounts without limits support | [optional] [default to 200] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_get_list_async** +> client_thread_get_list_async(self, client_thread_get_list_request) + +Get message threads from folder. All messages are partly fetched (without email body and some other fields). + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_thread_get_list_async(request).get() returns [**EmailThreadList**](EmailThreadList.md) + +### Request Parameters +```python +__init__(self, + folder, + account, + storage=storage, + account_storage_folder=account_storage_folder, + update_folder_cache=update_folder_cache, + messages_cache_limit=messages_cache_limit) +``` + +### Usage +```python +ClientThreadApi.client_thread_get_list_async( + cakePrefix_client_thread_get_list_request_cakeCodePostProcessor( + folder, + account, + storage=storage, + account_storage_folder=account_storage_folder, + update_folder_cache=update_folder_cache, + messages_cache_limit=messages_cache_limit)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **folder** | **str**| A folder in email account. | + **account** | **str**| Email account | + **storage** | **str**| Storage name where account file located | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located | [optional] + **update_folder_cache** | **bool**| This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account | [optional] [default to true] + **messages_cache_limit** | **int**| Limit messages cache size if CacheFile is used. Ignored in accounts without limits support | [optional] [default to 200] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_get_messages** +> client_thread_get_messages(self, client_thread_get_messages_request) + +Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. + +### Return type + +[**EmailList**](EmailList.md) + +### Request Parameters +```python +__init__(self, + thread_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder) +``` + +### Usage +```python +ClientThreadApi.client_thread_get_messages( + cakePrefix_client_thread_get_messages_request_cakeCodePostProcessor( + thread_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **thread_id** | **str**| Thread identifier | + **account** | **str**| Email account | + **folder** | **str**| Specifies account folder to get thread from | [optional] + **storage** | **str**| Storage name where account file located | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_get_messages_async** +> client_thread_get_messages_async(self, client_thread_get_messages_request) + +Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_thread_get_messages_async(request).get() returns [**EmailList**](EmailList.md) + +### Request Parameters +```python +__init__(self, + thread_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder) +``` + +### Usage +```python +ClientThreadApi.client_thread_get_messages_async( + cakePrefix_client_thread_get_messages_request_cakeCodePostProcessor( + thread_id, + account, + folder=folder, + storage=storage, + account_storage_folder=account_storage_folder)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **thread_id** | **str**| Thread identifier | + **account** | **str**| Email account | + **folder** | **str**| Specifies account folder to get thread from | [optional] + **storage** | **str**| Storage name where account file located | [optional] + **account_storage_folder** | **str**| Folder in storage where account file located | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_move** +> client_thread_move(self, client_thread_move_request) + +Move thread to another folder. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientThreadApi.client_thread_move( + cakePrefix_client_thread_move_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientThreadMoveRequest**](ClientThreadMoveRequest.md)| Move thread request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_move_async** +> client_thread_move_async(self, client_thread_move_request) + +Move thread to another folder. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_thread_move_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientThreadApi.client_thread_move_async( + cakePrefix_client_thread_move_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientThreadMoveRequest**](ClientThreadMoveRequest.md)| Move thread request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_set_is_read** +> client_thread_set_is_read(self, client_thread_set_is_read_request) + +Mark all messages in thread as read or unread. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientThreadApi.client_thread_set_is_read( + cakePrefix_client_thread_set_is_read_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientThreadSetIsReadRequest**](ClientThreadSetIsReadRequest.md)| Email account specifier and IsRead flag. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **client_thread_set_is_read_async** +> client_thread_set_is_read_async(self, client_thread_set_is_read_request) + +Mark all messages in thread as read or unread. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +client_thread_set_is_read_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ClientThreadApi.client_thread_set_is_read_async( + cakePrefix_client_thread_set_is_read_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ClientThreadSetIsReadRequest**](ClientThreadSetIsReadRequest.md)| Email account specifier and IsRead flag. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/AiBcrBase64Image.md b/sdk/docs/ClientThreadBaseRequest.md similarity index 58% rename from sdk/docs/AiBcrBase64Image.md rename to sdk/docs/ClientThreadBaseRequest.md index d8a3255..7ee5fb8 100644 --- a/sdk/docs/AiBcrBase64Image.md +++ b/sdk/docs/ClientThreadBaseRequest.md @@ -1,10 +1,10 @@ -# AsposeEmailCloudSdk.models.AiBcrBase64Image +# AsposeEmailCloudSdk.models.ClientThreadBaseRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**base64_data** | **str** | Image data in base64 | [optional] +**thread_id** | **str** | Thread identifier. | - Parent class: [AiBcrImage](AiBcrImage.md) + Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/ClientThreadDeleteRequest.md b/sdk/docs/ClientThreadDeleteRequest.md new file mode 100644 index 0000000..4c5f8ff --- /dev/null +++ b/sdk/docs/ClientThreadDeleteRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.ClientThreadDeleteRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**folder** | **str** | Folder on email server, where thread is stored. | [optional] + + Parent class: [ClientThreadBaseRequest](ClientThreadBaseRequest.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MoveEmailThreadRq.md b/sdk/docs/ClientThreadMoveRequest.md similarity index 68% rename from sdk/docs/MoveEmailThreadRq.md rename to sdk/docs/ClientThreadMoveRequest.md index 5e89e41..1c902a3 100644 --- a/sdk/docs/MoveEmailThreadRq.md +++ b/sdk/docs/ClientThreadMoveRequest.md @@ -1,10 +1,10 @@ -# AsposeEmailCloudSdk.models.MoveEmailThreadRq +# AsposeEmailCloudSdk.models.ClientThreadMoveRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**destination_folder** | **str** | Email account folder to move thread to | [optional] +**destination_folder** | **str** | Email account folder to move thread to. | - Parent class: [AccountBaseRequest](AccountBaseRequest.md) + Parent class: [ClientThreadBaseRequest](ClientThreadBaseRequest.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/ClientThreadSetIsReadRequest.md b/sdk/docs/ClientThreadSetIsReadRequest.md new file mode 100644 index 0000000..83c0277 --- /dev/null +++ b/sdk/docs/ClientThreadSetIsReadRequest.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.ClientThreadSetIsReadRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is_read** | **bool** | Message is read flag. | +**folder** | **str** | Folder on email server, where thread is stored. | [optional] + + Parent class: [ClientThreadBaseRequest](ClientThreadBaseRequest.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/CloudStorageGroup.md b/sdk/docs/CloudStorageGroup.md new file mode 100644 index 0000000..43e4947 --- /dev/null +++ b/sdk/docs/CloudStorageGroup.md @@ -0,0 +1,8 @@ +# EmailCloud.CloudStorage +Cloud file storage operations. + +API | Description +--- | ----------- +[EmailCloud.cloudStorage().**file()**](FileApi_list.md) | File operations controller +[EmailCloud.cloudStorage().**folder()**](FolderApi_list.md) | Folder operations controller +[EmailCloud.cloudStorage().**storage()**](StorageApi_list.md) | Storage operations controller diff --git a/sdk/docs/ContactApi.md b/sdk/docs/ContactApi.md new file mode 100644 index 0000000..31c2706 --- /dev/null +++ b/sdk/docs/ContactApi.md @@ -0,0 +1,590 @@ +# AsposeEmailCloudSdk.ContactApi + + +# **contact_as_file** +> contact_as_file(self, contact_as_file_request) + +Converts contact model to specified format and returns as file + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ContactApi.contact_as_file( + cakePrefix_contact_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ContactAsFileRequest**](ContactAsFileRequest.md)| Contact model and format to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_as_file_async** +> contact_as_file_async(self, contact_as_file_request) + +Converts contact model to specified format and returns as file + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +contact_as_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ContactApi.contact_as_file_async( + cakePrefix_contact_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ContactAsFileRequest**](ContactAsFileRequest.md)| Contact model and format to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_as_mapi** +> contact_as_mapi(self, contact_as_mapi_request) + +Converts ContactDto to MapiContactDto. + +### Return type + +[**MapiContactDto**](MapiContactDto.md) + +### Request Parameters +```python +__init__(self, + contact_dto) +``` + +### Usage +```python +ContactApi.contact_as_mapi( + cakePrefix_contact_as_mapi_request_cakeCodePostProcessor( + contact_dto)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **contact_dto** | [**ContactDto**](ContactDto.md)| Contact model to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_as_mapi_async** +> contact_as_mapi_async(self, contact_as_mapi_request) + +Converts ContactDto to MapiContactDto. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +contact_as_mapi_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) + +### Request Parameters +```python +__init__(self, + contact_dto) +``` + +### Usage +```python +ContactApi.contact_as_mapi_async( + cakePrefix_contact_as_mapi_request_cakeCodePostProcessor( + contact_dto)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **contact_dto** | [**ContactDto**](ContactDto.md)| Contact model to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_convert** +> contact_convert(self, contact_convert_request) + +Converts contact document to specified format and returns as file + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + to_format, + from_format, + file) +``` + +### Usage +```python +ContactApi.contact_convert( + cakePrefix_contact_convert_request_cakeCodePostProcessor( + to_format, + from_format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **to_format** | **str**| File format to convert to Enum, available values: VCard, WebDav, Msg | + **from_format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_convert_async** +> contact_convert_async(self, contact_convert_request) + +Converts contact document to specified format and returns as file + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +contact_convert_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + to_format, + from_format, + file) +``` + +### Usage +```python +ContactApi.contact_convert_async( + cakePrefix_contact_convert_request_cakeCodePostProcessor( + to_format, + from_format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **to_format** | **str**| File format to convert to Enum, available values: VCard, WebDav, Msg | + **from_format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_from_file** +> contact_from_file(self, contact_from_file_request) + +Converts contact document to a model representation + +### Return type + +[**ContactDto**](ContactDto.md) + +### Request Parameters +```python +__init__(self, + format, + file) +``` + +### Usage +```python +ContactApi.contact_from_file( + cakePrefix_contact_from_file_request_cakeCodePostProcessor( + format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_from_file_async** +> contact_from_file_async(self, contact_from_file_request) + +Converts contact document to a model representation + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +contact_from_file_async(request).get() returns [**ContactDto**](ContactDto.md) + +### Request Parameters +```python +__init__(self, + format, + file) +``` + +### Usage +```python +ContactApi.contact_from_file_async( + cakePrefix_contact_from_file_request_cakeCodePostProcessor( + format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_get** +> contact_get(self, contact_get_request) + +Get contact document from storage. + +### Return type + +[**ContactDto**](ContactDto.md) + +### Request Parameters +```python +__init__(self, + format, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +ContactApi.contact_get( + cakePrefix_contact_get_request_cakeCodePostProcessor( + format, + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | + **file_name** | **str**| Contact document file name. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_get_async** +> contact_get_async(self, contact_get_request) + +Get contact document from storage. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +contact_get_async(request).get() returns [**ContactDto**](ContactDto.md) + +### Request Parameters +```python +__init__(self, + format, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +ContactApi.contact_get_async( + cakePrefix_contact_get_request_cakeCodePostProcessor( + format, + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | + **file_name** | **str**| Contact document file name. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_get_as_file** +> contact_get_as_file(self, contact_get_as_file_request) + +Converts contact document from storage to specified format and returns as file + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + file_name, + to_format, + from_format, + storage=storage, + folder=folder) +``` + +### Usage +```python +ContactApi.contact_get_as_file( + cakePrefix_contact_get_as_file_request_cakeCodePostProcessor( + file_name, + to_format, + from_format, + storage=storage, + folder=folder)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| Calendar document file name | + **to_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | + **from_format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | + **storage** | **str**| Storage name | [optional] + **folder** | **str**| Path to folder in storage | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_get_as_file_async** +> contact_get_as_file_async(self, contact_get_as_file_request) + +Converts contact document from storage to specified format and returns as file + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +contact_get_as_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + file_name, + to_format, + from_format, + storage=storage, + folder=folder) +``` + +### Usage +```python +ContactApi.contact_get_as_file_async( + cakePrefix_contact_get_as_file_request_cakeCodePostProcessor( + file_name, + to_format, + from_format, + storage=storage, + folder=folder)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| Calendar document file name | + **to_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | + **from_format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | + **storage** | **str**| Storage name | [optional] + **folder** | **str**| Path to folder in storage | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_get_list** +> contact_get_list(self, contact_get_list_request) + +Get contact list from storage folder. + +### Return type + +[**ContactStorageList**](ContactStorageList.md) + +### Request Parameters +```python +__init__(self, + format, + folder=folder, + storage=storage, + items_per_page=items_per_page, + page_number=page_number) +``` + +### Usage +```python +ContactApi.contact_get_list( + cakePrefix_contact_get_list_request_cakeCodePostProcessor( + format, + folder=folder, + storage=storage, + items_per_page=items_per_page, + page_number=page_number)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] + **page_number** | **int**| Page number. | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_get_list_async** +> contact_get_list_async(self, contact_get_list_request) + +Get contact list from storage folder. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +contact_get_list_async(request).get() returns [**ContactStorageList**](ContactStorageList.md) + +### Request Parameters +```python +__init__(self, + format, + folder=folder, + storage=storage, + items_per_page=items_per_page, + page_number=page_number) +``` + +### Usage +```python +ContactApi.contact_get_list_async( + cakePrefix_contact_get_list_request_cakeCodePostProcessor( + format, + folder=folder, + storage=storage, + items_per_page=items_per_page, + page_number=page_number)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] + **page_number** | **int**| Page number. | [optional] [default to 0] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_save** +> contact_save(self, contact_save_request) + +Save contact to storage. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ContactApi.contact_save( + cakePrefix_contact_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ContactSaveRequest**](ContactSaveRequest.md)| Create/Update contact request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **contact_save_async** +> contact_save_async(self, contact_save_request) + +Save contact to storage. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +contact_save_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +ContactApi.contact_save_async( + cakePrefix_contact_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ContactSaveRequest**](ContactSaveRequest.md)| Create/Update contact request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/BaseObject.md b/sdk/docs/ContactAsFileRequest.md similarity index 54% rename from sdk/docs/BaseObject.md rename to sdk/docs/ContactAsFileRequest.md index ce59925..8aa13ef 100644 --- a/sdk/docs/BaseObject.md +++ b/sdk/docs/ContactAsFileRequest.md @@ -1,9 +1,9 @@ -# AsposeEmailCloudSdk.models.BaseObject +# AsposeEmailCloudSdk.models.ContactAsFileRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | Gets or sets the name of an object. | [optional] -**type** | **str** | Property type. Used for deserialization purposes | [optional] +**format** | **str** | Enumerates contact formats. Enum, available values: VCard, WebDav, Msg | +**value** | [**ContactDto**](ContactDto.md) | Contact model. | diff --git a/sdk/docs/ListResponseOfAiBcrOcrData.md b/sdk/docs/ContactList.md similarity index 67% rename from sdk/docs/ListResponseOfAiBcrOcrData.md rename to sdk/docs/ContactList.md index a80c052..ddea646 100644 --- a/sdk/docs/ListResponseOfAiBcrOcrData.md +++ b/sdk/docs/ContactList.md @@ -1,10 +1,9 @@ -# AsposeEmailCloudSdk.models.ListResponseOfAiBcrOcrData +# AsposeEmailCloudSdk.models.ContactList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**list[AiBcrOcrData]**](AiBcrOcrData.md) | | [optional] - + Parent class: [ListResponseOfContactDto](ListResponseOfContactDto.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/ContactPhoto.md b/sdk/docs/ContactPhoto.md index 80cb9ca..69c0617 100644 --- a/sdk/docs/ContactPhoto.md +++ b/sdk/docs/ContactPhoto.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **photo_image_format** | **str** | MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff | -**base64_data** | **str** | Photo serialized as base64 string. | [optional] +**base64_data** | **str** | Photo serialized as base64 string. | **discriminator** | **str** | | diff --git a/sdk/docs/ContactSaveRequest.md b/sdk/docs/ContactSaveRequest.md new file mode 100644 index 0000000..34fb93d --- /dev/null +++ b/sdk/docs/ContactSaveRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.ContactSaveRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Enumerates contact formats. Enum, available values: VCard, WebDav, Msg | + + Parent class: [StorageModelOfContactDto](StorageModelOfContactDto.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/ContactDtoList.md b/sdk/docs/ContactStorageList.md similarity index 88% rename from sdk/docs/ContactDtoList.md rename to sdk/docs/ContactStorageList.md index 0b1e7ee..ebe463a 100644 --- a/sdk/docs/ContactDtoList.md +++ b/sdk/docs/ContactStorageList.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.ContactDtoList +# AsposeEmailCloudSdk.models.ContactStorageList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/CreateEmailRequest.md b/sdk/docs/CreateEmailRequest.md deleted file mode 100644 index 5f3f524..0000000 --- a/sdk/docs/CreateEmailRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.CreateEmailRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email_document** | [**EmailDocument**](EmailDocument.md) | An email document that should be created | -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | Email document location in storage | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/CreateFolderBaseRequest.md b/sdk/docs/CreateFolderBaseRequest.md deleted file mode 100644 index 121951f..0000000 --- a/sdk/docs/CreateFolderBaseRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.CreateFolderBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**folder** | **str** | Folder name | -**parent_folder** | **str** | Parent folder path | [optional] - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/DeleteEmailThreadAccountRq.md b/sdk/docs/DeleteEmailThreadAccountRq.md deleted file mode 100644 index 8fef0c8..0000000 --- a/sdk/docs/DeleteEmailThreadAccountRq.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.DeleteEmailThreadAccountRq -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**folder** | **str** | Specifies account folder to get thread from | [optional] - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/DeleteFolderBaseRequest.md b/sdk/docs/DeleteFolderBaseRequest.md deleted file mode 100644 index e7f2b46..0000000 --- a/sdk/docs/DeleteFolderBaseRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.DeleteFolderBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**folder** | **str** | Folder name | -**delete_permanently** | **bool** | Specifies that folder should be deleted permanently | - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/DeleteMessageBaseRequest.md b/sdk/docs/DeleteMessageBaseRequest.md deleted file mode 100644 index 5aca86a..0000000 --- a/sdk/docs/DeleteMessageBaseRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# AsposeEmailCloudSdk.models.DeleteMessageBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message_id** | **str** | Message identifier | -**folder** | **str** | Account folder where message located. Should be specified for some accounts | [optional] -**delete_permanently** | **bool** | Specifies that message should be deleted permanently | - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/DiscUsage.md b/sdk/docs/DiscUsage.md index 3057ab3..1d5bc3d 100644 --- a/sdk/docs/DiscUsage.md +++ b/sdk/docs/DiscUsage.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**used_size** | **int** | | -**total_size** | **int** | | +**used_size** | **int** | Application used disc space. | +**total_size** | **int** | Total disc space. | diff --git a/sdk/docs/DiscoverEmailConfigOauth.md b/sdk/docs/DiscoverEmailConfigOauth.md index ededc00..89ccc2c 100644 --- a/sdk/docs/DiscoverEmailConfigOauth.md +++ b/sdk/docs/DiscoverEmailConfigOauth.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **refresh_token** | **str** | OAuth refresh token. | **request_url** | **str** | The url to obtain access token. If not specified, will be discovered from email configuration. | [optional] - Parent class: [DiscoverEmailConfigRq](DiscoverEmailConfigRq.md) + Parent class: [DiscoverEmailConfigRequest](DiscoverEmailConfigRequest.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/DiscoverEmailConfigPassword.md b/sdk/docs/DiscoverEmailConfigPassword.md index 107092e..edc0edf 100644 --- a/sdk/docs/DiscoverEmailConfigPassword.md +++ b/sdk/docs/DiscoverEmailConfigPassword.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **password** | **str** | Email account password. | - Parent class: [DiscoverEmailConfigRq](DiscoverEmailConfigRq.md) + Parent class: [DiscoverEmailConfigRequest](DiscoverEmailConfigRequest.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/DiscoverEmailConfigRq.md b/sdk/docs/DiscoverEmailConfigRequest.md similarity index 91% rename from sdk/docs/DiscoverEmailConfigRq.md rename to sdk/docs/DiscoverEmailConfigRequest.md index c0d3642..d37a6fa 100644 --- a/sdk/docs/DiscoverEmailConfigRq.md +++ b/sdk/docs/DiscoverEmailConfigRequest.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.DiscoverEmailConfigRq +# AsposeEmailCloudSdk.models.DiscoverEmailConfigRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/DisposableEmailApi.md b/sdk/docs/DisposableEmailApi.md new file mode 100644 index 0000000..94ed7d2 --- /dev/null +++ b/sdk/docs/DisposableEmailApi.md @@ -0,0 +1,65 @@ +# AsposeEmailCloudSdk.DisposableEmailApi + + +# **disposable_email_is_disposable** +> disposable_email_is_disposable(self, disposable_email_is_disposable_request) + +Check email address is disposable + +### Return type + +[**ValueTOfBoolean**](ValueTOfBoolean.md) + +### Request Parameters +```python +__init__(self, + address) +``` + +### Usage +```python +DisposableEmailApi.disposable_email_is_disposable( + cakePrefix_disposable_email_is_disposable_request_cakeCodePostProcessor( + address)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **address** | **str**| An email address to check | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **disposable_email_is_disposable_async** +> disposable_email_is_disposable_async(self, disposable_email_is_disposable_request) + +Check email address is disposable + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +disposable_email_is_disposable_async(request).get() returns [**ValueTOfBoolean**](ValueTOfBoolean.md) + +### Request Parameters +```python +__init__(self, + address) +``` + +### Usage +```python +DisposableEmailApi.disposable_email_is_disposable_async( + cakePrefix_disposable_email_is_disposable_request_cakeCodePostProcessor( + address)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **address** | **str**| An email address to check | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/EmailAccountRequest.md b/sdk/docs/EmailAccountRequest.md deleted file mode 100644 index 8baac2f..0000000 --- a/sdk/docs/EmailAccountRequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# AsposeEmailCloudSdk.models.EmailAccountRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**host** | **str** | Email account host | -**port** | **int** | Email account port | -**login** | **str** | Email account login | -**security_options** | **str** | Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto | -**protocol_type** | **str** | Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav | -**description** | **str** | Email account description | [optional] -**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | A storage file location info to store email account | - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/EmailAddress.md b/sdk/docs/EmailAddress.md index 7dc81bc..b570907 100644 --- a/sdk/docs/EmailAddress.md +++ b/sdk/docs/EmailAddress.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **display_name** | **str** | Display name. | [optional] **preferred** | **bool** | Defines whether email address is preferred. | **routing_type** | **str** | A routing type for an email. | [optional] -**address** | **str** | Email address. | [optional] +**address** | **str** | Email address. | **original_address_string** | **str** | The original e-mail address string | [optional] diff --git a/sdk/docs/EmailApi.md b/sdk/docs/EmailApi.md index 762bfdf..a601553 100644 --- a/sdk/docs/EmailApi.md +++ b/sdk/docs/EmailApi.md @@ -1,9100 +1,14 @@ # AsposeEmailCloudSdk.EmailApi - -# **add_calendar_attachment** -> add_calendar_attachment(self, add_calendar_attachment_request) + +# **email_as_file** +> email_as_file(self, email_as_file_request) -Adds an attachment to iCalendar file +Converts Email model to specified format and returns as file. ### Return type -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - attachment, - request) -``` - -### Usage -```python -EmailApi.add_calendar_attachment( - AddCalendarAttachmentRequest( - name, - attachment, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Calendar file name in storage | - **attachment** | **str**| Attachment file name in storage | - **request** | [**AddAttachmentRequest**](AddAttachmentRequest.md)| Storage name and folder path for calendar and attachment files | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **add_calendar_attachment_async** -> add_calendar_attachment_async(self, add_calendar_attachment_request) - -Adds an attachment to iCalendar file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -add_calendar_attachment_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - attachment, - request) -``` - -### Usage -```python -EmailApi.add_calendar_attachment_async( - AddCalendarAttachmentRequest( - name, - attachment, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Calendar file name in storage | - **attachment** | **str**| Attachment file name in storage | - **request** | [**AddAttachmentRequest**](AddAttachmentRequest.md)| Storage name and folder path for calendar and attachment files | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **add_contact_attachment** -> add_contact_attachment(self, add_contact_attachment_request) - -Add attachment to contact document - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - attachment, - request) -``` - -### Usage -```python -EmailApi.add_contact_attachment( - AddContactAttachmentRequest( - format, - name, - attachment, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **attachment** | **str**| Attachment name | - **request** | [**AddAttachmentRequest**](AddAttachmentRequest.md)| Add attachment request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **add_contact_attachment_async** -> add_contact_attachment_async(self, add_contact_attachment_request) - -Add attachment to contact document - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -add_contact_attachment_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - attachment, - request) -``` - -### Usage -```python -EmailApi.add_contact_attachment_async( - AddContactAttachmentRequest( - format, - name, - attachment, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **attachment** | **str**| Attachment name | - **request** | [**AddAttachmentRequest**](AddAttachmentRequest.md)| Add attachment request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **add_email_attachment** -> add_email_attachment(self, add_email_attachment_request) - -Adds an attachment to Email document - -### Return type - -[**EmailDocumentResponse**](EmailDocumentResponse.md) - -### Request Parameters -```python -__init__(self, - attachment_name, - file_name, - request) -``` - -### Usage -```python -EmailApi.add_email_attachment( - AddEmailAttachmentRequest( - attachment_name, - file_name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **attachment_name** | **str**| Attachment file name | - **file_name** | **str**| Email document file name | - **request** | [**AddAttachmentRequest**](AddAttachmentRequest.md)| Storage info to specify location of email document and attachment files | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **add_email_attachment_async** -> add_email_attachment_async(self, add_email_attachment_request) - -Adds an attachment to Email document - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -add_email_attachment_async(request).get() returns [**EmailDocumentResponse**](EmailDocumentResponse.md) - -### Request Parameters -```python -__init__(self, - attachment_name, - file_name, - request) -``` - -### Usage -```python -EmailApi.add_email_attachment_async( - AddEmailAttachmentRequest( - attachment_name, - file_name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **attachment_name** | **str**| Attachment file name | - **file_name** | **str**| Email document file name | - **request** | [**AddAttachmentRequest**](AddAttachmentRequest.md)| Storage info to specify location of email document and attachment files | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **add_mapi_attachment** -> add_mapi_attachment(self, add_mapi_attachment_request) - -Add attachment to document - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - attachment, - request) -``` - -### Usage -```python -EmailApi.add_mapi_attachment( - AddMapiAttachmentRequest( - name, - attachment, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **attachment** | **str**| Attachment file name | - **request** | [**AddAttachmentRequest**](AddAttachmentRequest.md)| Add attachment request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **add_mapi_attachment_async** -> add_mapi_attachment_async(self, add_mapi_attachment_request) - -Add attachment to document - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -add_mapi_attachment_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - attachment, - request) -``` - -### Usage -```python -EmailApi.add_mapi_attachment_async( - AddMapiAttachmentRequest( - name, - attachment, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **attachment** | **str**| Attachment file name | - **request** | [**AddAttachmentRequest**](AddAttachmentRequest.md)| Add attachment request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_ocr** -> ai_bcr_ocr(self, ai_bcr_ocr_request) - -Ocr images - -### Return type - -[**ListResponseOfAiBcrOcrData**](ListResponseOfAiBcrOcrData.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_ocr( - AiBcrOcrRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrBase64Rq**](AiBcrBase64Rq.md)| Request with base64 images data | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_ocr_async** -> ai_bcr_ocr_async(self, ai_bcr_ocr_request) - -Ocr images - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_bcr_ocr_async(request).get() returns [**ListResponseOfAiBcrOcrData**](ListResponseOfAiBcrOcrData.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_ocr_async( - AiBcrOcrRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrBase64Rq**](AiBcrBase64Rq.md)| Request with base64 images data | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_ocr_storage** -> ai_bcr_ocr_storage(self, ai_bcr_ocr_storage_request) - -Ocr images from storage - -### Return type - -[**ListResponseOfAiBcrOcrData**](ListResponseOfAiBcrOcrData.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_ocr_storage( - AiBcrOcrStorageRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrStorageImageRq**](AiBcrStorageImageRq.md)| Request with images located on storage | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_ocr_storage_async** -> ai_bcr_ocr_storage_async(self, ai_bcr_ocr_storage_request) - -Ocr images from storage - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_bcr_ocr_storage_async(request).get() returns [**ListResponseOfAiBcrOcrData**](ListResponseOfAiBcrOcrData.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_ocr_storage_async( - AiBcrOcrStorageRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrStorageImageRq**](AiBcrStorageImageRq.md)| Request with images located on storage | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse** -> ai_bcr_parse(self, ai_bcr_parse_request) - -Parse images to vCard properties - -### Return type - -[**ListResponseOfHierarchicalObject**](ListResponseOfHierarchicalObject.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_parse( - AiBcrParseRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrBase64Rq**](AiBcrBase64Rq.md)| Request with base64 images data | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_async** -> ai_bcr_parse_async(self, ai_bcr_parse_request) - -Parse images to vCard properties - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_bcr_parse_async(request).get() returns [**ListResponseOfHierarchicalObject**](ListResponseOfHierarchicalObject.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_parse_async( - AiBcrParseRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrBase64Rq**](AiBcrBase64Rq.md)| Request with base64 images data | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_model** -> ai_bcr_parse_model(self, ai_bcr_parse_model_request) - -Parse images to vCard document models - -### Return type - -[**ListResponseOfContactDto**](ListResponseOfContactDto.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_parse_model( - AiBcrParseModelRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrBase64Rq**](AiBcrBase64Rq.md)| Request with base64 images data | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_model_async** -> ai_bcr_parse_model_async(self, ai_bcr_parse_model_request) - -Parse images to vCard document models - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_bcr_parse_model_async(request).get() returns [**ListResponseOfContactDto**](ListResponseOfContactDto.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_parse_model_async( - AiBcrParseModelRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrBase64Rq**](AiBcrBase64Rq.md)| Request with base64 images data | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_ocr_data_model** -> ai_bcr_parse_ocr_data_model(self, ai_bcr_parse_ocr_data_model_request) - -Parse OCR data to vCard document models - -### Return type - -[**ListResponseOfContactDto**](ListResponseOfContactDto.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_parse_ocr_data_model( - AiBcrParseOcrDataModelRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrParseOcrDataRq**](AiBcrParseOcrDataRq.md)| | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_ocr_data_model_async** -> ai_bcr_parse_ocr_data_model_async(self, ai_bcr_parse_ocr_data_model_request) - -Parse OCR data to vCard document models - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_bcr_parse_ocr_data_model_async(request).get() returns [**ListResponseOfContactDto**](ListResponseOfContactDto.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_parse_ocr_data_model_async( - AiBcrParseOcrDataModelRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrParseOcrDataRq**](AiBcrParseOcrDataRq.md)| | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_storage** -> ai_bcr_parse_storage(self, ai_bcr_parse_storage_request) - -Parse images from storage to vCard files - -### Return type - -[**ListResponseOfStorageFileLocation**](ListResponseOfStorageFileLocation.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_parse_storage( - AiBcrParseStorageRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrParseStorageRq**](AiBcrParseStorageRq.md)| Request with images located on storage | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_storage_async** -> ai_bcr_parse_storage_async(self, ai_bcr_parse_storage_request) - -Parse images from storage to vCard files - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_bcr_parse_storage_async(request).get() returns [**ListResponseOfStorageFileLocation**](ListResponseOfStorageFileLocation.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_bcr_parse_storage_async( - AiBcrParseStorageRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiBcrParseStorageRq**](AiBcrParseStorageRq.md)| Request with images located on storage | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_complete** -> ai_name_complete(self, ai_name_complete_request) - -The call proposes k most probable names for given starting characters - -### Return type - -[**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_complete( - AiNameCompleteRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to complete (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_complete_async** -> ai_name_complete_async(self, ai_name_complete_request) - -The call proposes k most probable names for given starting characters - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_complete_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_complete_async( - AiNameCompleteRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to complete (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_expand** -> ai_name_expand(self, ai_name_expand_request) - -Expands a person's name into a list of possible alternatives using options for expanding instructions - -### Return type - -[**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_expand( - AiNameExpandRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to format (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_expand_async** -> ai_name_expand_async(self, ai_name_expand_request) - -Expands a person's name into a list of possible alternatives using options for expanding instructions - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_expand_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_expand_async( - AiNameExpandRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to format (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_expand_parsed** -> ai_name_expand_parsed(self, ai_name_expand_parsed_request) - -Expands a person's parsed name into a list of possible alternatives using options for expanding instructions - -### Return type - -[**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_name_expand_parsed( - AiNameExpandParsedRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiNameParsedRq**](AiNameParsedRq.md)| Parsed name with options | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_expand_parsed_async** -> ai_name_expand_parsed_async(self, ai_name_expand_parsed_request) - -Expands a person's parsed name into a list of possible alternatives using options for expanding instructions - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_expand_parsed_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_name_expand_parsed_async( - AiNameExpandParsedRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiNameParsedRq**](AiNameParsedRq.md)| Parsed name with options | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_format** -> ai_name_format(self, ai_name_format_request) - -Formats a person's name in correct case and name order using options for formatting instructions - -### Return type - -[**AiNameFormatted**](AiNameFormatted.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - format=format, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_format( - AiNameFormatRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - format=format, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to format (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **format** | **str**| Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_format_async** -> ai_name_format_async(self, ai_name_format_request) - -Formats a person's name in correct case and name order using options for formatting instructions - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_format_async(request).get() returns [**AiNameFormatted**](AiNameFormatted.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - format=format, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_format_async( - AiNameFormatRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - format=format, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to format (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **format** | **str**| Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_format_parsed** -> ai_name_format_parsed(self, ai_name_format_parsed_request) - -Formats a person's parsed name in correct case and name order using options for formatting instructions - -### Return type - -[**AiNameFormatted**](AiNameFormatted.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_name_format_parsed( - AiNameFormatParsedRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiNameParsedRq**](AiNameParsedRq.md)| Parsed name with options | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_format_parsed_async** -> ai_name_format_parsed_async(self, ai_name_format_parsed_request) - -Formats a person's parsed name in correct case and name order using options for formatting instructions - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_format_parsed_async(request).get() returns [**AiNameFormatted**](AiNameFormatted.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_name_format_parsed_async( - AiNameFormatParsedRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiNameParsedRq**](AiNameParsedRq.md)| Parsed name with options | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_genderize** -> ai_name_genderize(self, ai_name_genderize_request) - -Detect person's gender from name string - -### Return type - -[**ListResponseOfAiNameGenderHypothesis**](ListResponseOfAiNameGenderHypothesis.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_genderize( - AiNameGenderizeRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to parse (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_genderize_async** -> ai_name_genderize_async(self, ai_name_genderize_request) - -Detect person's gender from name string - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_genderize_async(request).get() returns [**ListResponseOfAiNameGenderHypothesis**](ListResponseOfAiNameGenderHypothesis.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_genderize_async( - AiNameGenderizeRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to parse (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_genderize_parsed** -> ai_name_genderize_parsed(self, ai_name_genderize_parsed_request) - -Detect person's gender from parsed name - -### Return type - -[**ListResponseOfAiNameGenderHypothesis**](ListResponseOfAiNameGenderHypothesis.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_name_genderize_parsed( - AiNameGenderizeParsedRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiNameParsedRq**](AiNameParsedRq.md)| Gender detection request data | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_genderize_parsed_async** -> ai_name_genderize_parsed_async(self, ai_name_genderize_parsed_request) - -Detect person's gender from parsed name - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_genderize_parsed_async(request).get() returns [**ListResponseOfAiNameGenderHypothesis**](ListResponseOfAiNameGenderHypothesis.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_name_genderize_parsed_async( - AiNameGenderizeParsedRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiNameParsedRq**](AiNameParsedRq.md)| Gender detection request data | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_match** -> ai_name_match(self, ai_name_match_request) - -Compare people's names. Uses options for comparing instructions - -### Return type - -[**AiNameMatchResult**](AiNameMatchResult.md) - -### Request Parameters -```python -__init__(self, - name, - other_name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_match( - AiNameMatchRequest( - name, - other_name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to match (required) | - **other_name** | **str**| Another name to match (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_match_async** -> ai_name_match_async(self, ai_name_match_request) - -Compare people's names. Uses options for comparing instructions - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_match_async(request).get() returns [**AiNameMatchResult**](AiNameMatchResult.md) - -### Request Parameters -```python -__init__(self, - name, - other_name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_match_async( - AiNameMatchRequest( - name, - other_name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to match (required) | - **other_name** | **str**| Another name to match (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_match_parsed** -> ai_name_match_parsed(self, ai_name_match_parsed_request) - -Compare people's parsed names and attributes. Uses options for comparing instructions - -### Return type - -[**AiNameMatchResult**](AiNameMatchResult.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_name_match_parsed( - AiNameMatchParsedRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiNameParsedMatchRq**](AiNameParsedMatchRq.md)| Parsed names to match | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_match_parsed_async** -> ai_name_match_parsed_async(self, ai_name_match_parsed_request) - -Compare people's parsed names and attributes. Uses options for comparing instructions - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_match_parsed_async(request).get() returns [**AiNameMatchResult**](AiNameMatchResult.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.ai_name_match_parsed_async( - AiNameMatchParsedRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AiNameParsedMatchRq**](AiNameParsedMatchRq.md)| Parsed names to match | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_parse** -> ai_name_parse(self, ai_name_parse_request) - -Parse name to components - -### Return type - -[**ListResponseOfAiNameComponent**](ListResponseOfAiNameComponent.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_parse( - AiNameParseRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to parse (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_parse_async** -> ai_name_parse_async(self, ai_name_parse_request) - -Parse name to components - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_parse_async(request).get() returns [**ListResponseOfAiNameComponent**](ListResponseOfAiNameComponent.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_parse_async( - AiNameParseRequest( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to parse (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_parse_email_address** -> ai_name_parse_email_address(self, ai_name_parse_email_address_request) - -Parse person's name out of an email address - -### Return type - -[**ListResponseOfAiNameExtracted**](ListResponseOfAiNameExtracted.md) - -### Request Parameters -```python -__init__(self, - email_address, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_parse_email_address( - AiNameParseEmailAddressRequest( - email_address, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email_address** | **str**| Email address to parse (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_parse_email_address_async** -> ai_name_parse_email_address_async(self, ai_name_parse_email_address_request) - -Parse person's name out of an email address - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_parse_email_address_async(request).get() returns [**ListResponseOfAiNameExtracted**](ListResponseOfAiNameExtracted.md) - -### Request Parameters -```python -__init__(self, - email_address, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -EmailApi.ai_name_parse_email_address_async( - AiNameParseEmailAddressRequest( - email_address, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email_address** | **str**| Email address to parse (required) | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France | [optional] [default to ] - **encoding** | **str**| A character encoding name | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **append_email_message** -> append_email_message(self, append_email_message_request) - -Adds an email from *.eml file to specified folder in email account - -### Return type - -[**EmailPropertyResponse**](EmailPropertyResponse.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.append_email_message( - AppendEmailMessageRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AppendEmailBaseRequest**](AppendEmailBaseRequest.md)| Append email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **append_email_message_async** -> append_email_message_async(self, append_email_message_request) - -Adds an email from *.eml file to specified folder in email account - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -append_email_message_async(request).get() returns [**EmailPropertyResponse**](EmailPropertyResponse.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.append_email_message_async( - AppendEmailMessageRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AppendEmailBaseRequest**](AppendEmailBaseRequest.md)| Append email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **append_email_model_message** -> append_email_model_message(self, append_email_model_message_request) - -Adds an email from model to specified folder in email account - -### Return type - -[**ValueResponse**](ValueResponse.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.append_email_model_message( - AppendEmailModelMessageRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AppendEmailModelRq**](AppendEmailModelRq.md)| Append email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **append_email_model_message_async** -> append_email_model_message_async(self, append_email_model_message_request) - -Adds an email from model to specified folder in email account - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -append_email_model_message_async(request).get() returns [**ValueResponse**](ValueResponse.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.append_email_model_message_async( - AppendEmailModelMessageRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**AppendEmailModelRq**](AppendEmailModelRq.md)| Append email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **append_mime_message** -> append_mime_message(self, append_mime_message_request) - -Adds an email from MIME to specified folder in email account - -### Return type - -[**ValueResponse**](ValueResponse.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.append_mime_message( - AppendMimeMessageRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AppendEmailMimeBaseRequest**](AppendEmailMimeBaseRequest.md)| Append email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **append_mime_message_async** -> append_mime_message_async(self, append_mime_message_request) - -Adds an email from MIME to specified folder in email account - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -append_mime_message_async(request).get() returns [**ValueResponse**](ValueResponse.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.append_mime_message_async( - AppendMimeMessageRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AppendEmailMimeBaseRequest**](AppendEmailMimeBaseRequest.md)| Append email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_calendar** -> convert_calendar(self, convert_calendar_request) - -Converts calendar document to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - format, - file) -``` - -### Usage -```python -EmailApi.convert_calendar( - ConvertCalendarRequest( - format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Ics, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_calendar_async** -> convert_calendar_async(self, convert_calendar_request) - -Converts calendar document to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_calendar_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - format, - file) -``` - -### Usage -```python -EmailApi.convert_calendar_async( - ConvertCalendarRequest( - format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Ics, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_calendar_model_to_alternate** -> convert_calendar_model_to_alternate(self, convert_calendar_model_to_alternate_request) - -Convert iCalendar to AlternateView - -### Return type - -[**AlternateView**](AlternateView.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.convert_calendar_model_to_alternate( - ConvertCalendarModelToAlternateRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**CalendarDtoAlternateRq**](CalendarDtoAlternateRq.md)| iCalendar to AlternateView request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_calendar_model_to_alternate_async** -> convert_calendar_model_to_alternate_async(self, convert_calendar_model_to_alternate_request) - -Convert iCalendar to AlternateView - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_calendar_model_to_alternate_async(request).get() returns [**AlternateView**](AlternateView.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.convert_calendar_model_to_alternate_async( - ConvertCalendarModelToAlternateRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**CalendarDtoAlternateRq**](CalendarDtoAlternateRq.md)| iCalendar to AlternateView request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_calendar_model_to_file** -> convert_calendar_model_to_file(self, convert_calendar_model_to_file_request) - -Converts calendar model to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - format, - calendar_dto) -``` - -### Usage -```python -EmailApi.convert_calendar_model_to_file( - ConvertCalendarModelToFileRequest( - format, - calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Ics, Msg | - **calendar_dto** | [**CalendarDto**](CalendarDto.md)| Calendar model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_calendar_model_to_file_async** -> convert_calendar_model_to_file_async(self, convert_calendar_model_to_file_request) - -Converts calendar model to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_calendar_model_to_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - format, - calendar_dto) -``` - -### Usage -```python -EmailApi.convert_calendar_model_to_file_async( - ConvertCalendarModelToFileRequest( - format, - calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Ics, Msg | - **calendar_dto** | [**CalendarDto**](CalendarDto.md)| Calendar model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_calendar_model_to_mapi_model** -> convert_calendar_model_to_mapi_model(self, convert_calendar_model_to_mapi_model_request) - -Converts CalendarDto to MapiCalendarDto. - -### Return type - -[**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - calendar_dto) -``` - -### Usage -```python -EmailApi.convert_calendar_model_to_mapi_model( - ConvertCalendarModelToMapiModelRequest( - calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **calendar_dto** | [**CalendarDto**](CalendarDto.md)| iCalendar model calendar representation | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_calendar_model_to_mapi_model_async** -> convert_calendar_model_to_mapi_model_async(self, convert_calendar_model_to_mapi_model_request) - -Converts CalendarDto to MapiCalendarDto. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_calendar_model_to_mapi_model_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - calendar_dto) -``` - -### Usage -```python -EmailApi.convert_calendar_model_to_mapi_model_async( - ConvertCalendarModelToMapiModelRequest( - calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **calendar_dto** | [**CalendarDto**](CalendarDto.md)| iCalendar model calendar representation | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_contact** -> convert_contact(self, convert_contact_request) - -Converts contact document to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - destination_format, - format, - file) -``` - -### Usage -```python -EmailApi.convert_contact( - ConvertContactRequest( - destination_format, - format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format to convert to Enum, available values: VCard, WebDav, Msg | - **format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_contact_async** -> convert_contact_async(self, convert_contact_request) - -Converts contact document to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_contact_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - destination_format, - format, - file) -``` - -### Usage -```python -EmailApi.convert_contact_async( - ConvertContactRequest( - destination_format, - format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format to convert to Enum, available values: VCard, WebDav, Msg | - **format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_contact_model_to_file** -> convert_contact_model_to_file(self, convert_contact_model_to_file_request) - -Converts contact model to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - destination_format, - contact_dto) -``` - -### Usage -```python -EmailApi.convert_contact_model_to_file( - ConvertContactModelToFileRequest( - destination_format, - contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **contact_dto** | [**ContactDto**](ContactDto.md)| Contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_contact_model_to_file_async** -> convert_contact_model_to_file_async(self, convert_contact_model_to_file_request) - -Converts contact model to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_contact_model_to_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - destination_format, - contact_dto) -``` - -### Usage -```python -EmailApi.convert_contact_model_to_file_async( - ConvertContactModelToFileRequest( - destination_format, - contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **contact_dto** | [**ContactDto**](ContactDto.md)| Contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_contact_model_to_mapi_model** -> convert_contact_model_to_mapi_model(self, convert_contact_model_to_mapi_model_request) - -Converts ContactDto to MapiContactDto. - -### Return type - -[**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - contact_dto) -``` - -### Usage -```python -EmailApi.convert_contact_model_to_mapi_model( - ConvertContactModelToMapiModelRequest( - contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contact_dto** | [**ContactDto**](ContactDto.md)| Contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_contact_model_to_mapi_model_async** -> convert_contact_model_to_mapi_model_async(self, convert_contact_model_to_mapi_model_request) - -Converts ContactDto to MapiContactDto. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_contact_model_to_mapi_model_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - contact_dto) -``` - -### Usage -```python -EmailApi.convert_contact_model_to_mapi_model_async( - ConvertContactModelToMapiModelRequest( - contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contact_dto** | [**ContactDto**](ContactDto.md)| Contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_email** -> convert_email(self, convert_email_request) - -Converts email document to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - format, - file) -``` - -### Usage -```python -EmailApi.convert_email( - ConvertEmailRequest( - format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_email_async** -> convert_email_async(self, convert_email_request) - -Converts email document to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_email_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - format, - file) -``` - -### Usage -```python -EmailApi.convert_email_async( - ConvertEmailRequest( - format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_email_model_to_file** -> convert_email_model_to_file(self, convert_email_model_to_file_request) - -Converts Email model to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - destination_format, - email_dto) -``` - -### Usage -```python -EmailApi.convert_email_model_to_file( - ConvertEmailModelToFileRequest( - destination_format, - email_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **email_dto** | [**EmailDto**](EmailDto.md)| Email model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_email_model_to_file_async** -> convert_email_model_to_file_async(self, convert_email_model_to_file_request) - -Converts Email model to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_email_model_to_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - destination_format, - email_dto) -``` - -### Usage -```python -EmailApi.convert_email_model_to_file_async( - ConvertEmailModelToFileRequest( - destination_format, - email_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **email_dto** | [**EmailDto**](EmailDto.md)| Email model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_email_model_to_mapi_model** -> convert_email_model_to_mapi_model(self, convert_email_model_to_mapi_model_request) - -Converts EmailDto to MapiMessageDto. - -### Return type - -[**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - email_dto) -``` - -### Usage -```python -EmailApi.convert_email_model_to_mapi_model( - ConvertEmailModelToMapiModelRequest( - email_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email_dto** | [**EmailDto**](EmailDto.md)| Email model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_email_model_to_mapi_model_async** -> convert_email_model_to_mapi_model_async(self, convert_email_model_to_mapi_model_request) - -Converts EmailDto to MapiMessageDto. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_email_model_to_mapi_model_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - email_dto) -``` - -### Usage -```python -EmailApi.convert_email_model_to_mapi_model_async( - ConvertEmailModelToMapiModelRequest( - email_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email_dto** | [**EmailDto**](EmailDto.md)| Email model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_calendar_model_to_calendar_model** -> convert_mapi_calendar_model_to_calendar_model(self, convert_mapi_calendar_model_to_calendar_model_request) - -Converts MAPI calendar model to CalendarDto model - -### Return type - -[**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - mapi_calendar_dto) -``` - -### Usage -```python -EmailApi.convert_mapi_calendar_model_to_calendar_model( - ConvertMapiCalendarModelToCalendarModelRequest( - mapi_calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_calendar_dto** | [**MapiCalendarDto**](MapiCalendarDto.md)| MAPI calendar model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_calendar_model_to_calendar_model_async** -> convert_mapi_calendar_model_to_calendar_model_async(self, convert_mapi_calendar_model_to_calendar_model_request) - -Converts MAPI calendar model to CalendarDto model - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_mapi_calendar_model_to_calendar_model_async(request).get() returns [**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - mapi_calendar_dto) -``` - -### Usage -```python -EmailApi.convert_mapi_calendar_model_to_calendar_model_async( - ConvertMapiCalendarModelToCalendarModelRequest( - mapi_calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_calendar_dto** | [**MapiCalendarDto**](MapiCalendarDto.md)| MAPI calendar model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_calendar_model_to_file** -> convert_mapi_calendar_model_to_file(self, convert_mapi_calendar_model_to_file_request) - -Converts MAPI calendar model to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - destination_format, - mapi_calendar_dto) -``` - -### Usage -```python -EmailApi.convert_mapi_calendar_model_to_file( - ConvertMapiCalendarModelToFileRequest( - destination_format, - mapi_calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: Ics, Msg | - **mapi_calendar_dto** | [**MapiCalendarDto**](MapiCalendarDto.md)| MAPI calendar model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_calendar_model_to_file_async** -> convert_mapi_calendar_model_to_file_async(self, convert_mapi_calendar_model_to_file_request) - -Converts MAPI calendar model to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_mapi_calendar_model_to_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - destination_format, - mapi_calendar_dto) -``` - -### Usage -```python -EmailApi.convert_mapi_calendar_model_to_file_async( - ConvertMapiCalendarModelToFileRequest( - destination_format, - mapi_calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: Ics, Msg | - **mapi_calendar_dto** | [**MapiCalendarDto**](MapiCalendarDto.md)| MAPI calendar model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_contact_model_to_contact_model** -> convert_mapi_contact_model_to_contact_model(self, convert_mapi_contact_model_to_contact_model_request) - -Converts MAPI contact model to ContactDto model - -### Return type - -[**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - mapi_contact_dto) -``` - -### Usage -```python -EmailApi.convert_mapi_contact_model_to_contact_model( - ConvertMapiContactModelToContactModelRequest( - mapi_contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_contact_dto** | [**MapiContactDto**](MapiContactDto.md)| MAPI contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_contact_model_to_contact_model_async** -> convert_mapi_contact_model_to_contact_model_async(self, convert_mapi_contact_model_to_contact_model_request) - -Converts MAPI contact model to ContactDto model - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_mapi_contact_model_to_contact_model_async(request).get() returns [**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - mapi_contact_dto) -``` - -### Usage -```python -EmailApi.convert_mapi_contact_model_to_contact_model_async( - ConvertMapiContactModelToContactModelRequest( - mapi_contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_contact_dto** | [**MapiContactDto**](MapiContactDto.md)| MAPI contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_contact_model_to_file** -> convert_mapi_contact_model_to_file(self, convert_mapi_contact_model_to_file_request) - -Converts MAPI contact model to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - destination_format, - mapi_contact_dto) -``` - -### Usage -```python -EmailApi.convert_mapi_contact_model_to_file( - ConvertMapiContactModelToFileRequest( - destination_format, - mapi_contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **mapi_contact_dto** | [**MapiContactDto**](MapiContactDto.md)| MAPI contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_contact_model_to_file_async** -> convert_mapi_contact_model_to_file_async(self, convert_mapi_contact_model_to_file_request) - -Converts MAPI contact model to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_mapi_contact_model_to_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - destination_format, - mapi_contact_dto) -``` - -### Usage -```python -EmailApi.convert_mapi_contact_model_to_file_async( - ConvertMapiContactModelToFileRequest( - destination_format, - mapi_contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **mapi_contact_dto** | [**MapiContactDto**](MapiContactDto.md)| MAPI contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_message_model_to_email_model** -> convert_mapi_message_model_to_email_model(self, convert_mapi_message_model_to_email_model_request) - -Converts MAPI message model to EmailDto model - -### Return type - -[**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - mapi_message) -``` - -### Usage -```python -EmailApi.convert_mapi_message_model_to_email_model( - ConvertMapiMessageModelToEmailModelRequest( - mapi_message)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_message** | [**MapiMessageDto**](MapiMessageDto.md)| MAPI message model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_message_model_to_email_model_async** -> convert_mapi_message_model_to_email_model_async(self, convert_mapi_message_model_to_email_model_request) - -Converts MAPI message model to EmailDto model - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_mapi_message_model_to_email_model_async(request).get() returns [**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - mapi_message) -``` - -### Usage -```python -EmailApi.convert_mapi_message_model_to_email_model_async( - ConvertMapiMessageModelToEmailModelRequest( - mapi_message)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_message** | [**MapiMessageDto**](MapiMessageDto.md)| MAPI message model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_message_model_to_file** -> convert_mapi_message_model_to_file(self, convert_mapi_message_model_to_file_request) - -Converts MAPI message model to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - destination_format, - mapi_message) -``` - -### Usage -```python -EmailApi.convert_mapi_message_model_to_file( - ConvertMapiMessageModelToFileRequest( - destination_format, - mapi_message)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **mapi_message** | [**MapiMessageDto**](MapiMessageDto.md)| MAPI message model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **convert_mapi_message_model_to_file_async** -> convert_mapi_message_model_to_file_async(self, convert_mapi_message_model_to_file_request) - -Converts MAPI message model to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -convert_mapi_message_model_to_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - destination_format, - mapi_message) -``` - -### Usage -```python -EmailApi.convert_mapi_message_model_to_file_async( - ConvertMapiMessageModelToFileRequest( - destination_format, - mapi_message)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **destination_format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **mapi_message** | [**MapiMessageDto**](MapiMessageDto.md)| MAPI message model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **copy_file** -> copy_file(self, copy_file_request) - - - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.copy_file( - CopyFileRequest( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| | - **dest_path** | **str**| | - **src_storage_name** | **str**| | [optional] - **dest_storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **copy_file_async** -> copy_file_async(self, copy_file_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -copy_file_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.copy_file_async( - CopyFileRequest( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| | - **dest_path** | **str**| | - **src_storage_name** | **str**| | [optional] - **dest_storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **copy_folder** -> copy_folder(self, copy_folder_request) - - - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name) -``` - -### Usage -```python -EmailApi.copy_folder( - CopyFolderRequest( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| | - **dest_path** | **str**| | - **src_storage_name** | **str**| | [optional] - **dest_storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **copy_folder_async** -> copy_folder_async(self, copy_folder_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -copy_folder_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name) -``` - -### Usage -```python -EmailApi.copy_folder_async( - CopyFolderRequest( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| | - **dest_path** | **str**| | - **src_storage_name** | **str**| | [optional] - **dest_storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_calendar** -> create_calendar(self, create_calendar_request) - -Create calendar file - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - request) -``` - -### Usage -```python -EmailApi.create_calendar( - CreateCalendarRequest( - name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Calendar file name in storage | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_calendar_async** -> create_calendar_async(self, create_calendar_request) - -Create calendar file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -create_calendar_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - request) -``` - -### Usage -```python -EmailApi.create_calendar_async( - CreateCalendarRequest( - name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Calendar file name in storage | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_contact** -> create_contact(self, create_contact_request) - -Create contact document - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - request) -``` - -### Usage -```python -EmailApi.create_contact( - CreateContactRequest( - format, - name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Create contact request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_contact_async** -> create_contact_async(self, create_contact_request) - -Create contact document - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -create_contact_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - request) -``` - -### Usage -```python -EmailApi.create_contact_async( - CreateContactRequest( - format, - name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Create contact request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_email** -> create_email(self, create_email_request) - -Create an email document - -### Return type - -[**EmailDocumentResponse**](EmailDocumentResponse.md) - -### Request Parameters -```python -__init__(self, - file_name, - request) -``` - -### Usage -```python -EmailApi.create_email( - CreateEmailRequest( - file_name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Email document file name in storage | - **request** | [**CreateEmailRequest**](CreateEmailRequest.md)| An email document and optional Storage info to specify where the file should be located | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_email_async** -> create_email_async(self, create_email_request) - -Create an email document - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -create_email_async(request).get() returns [**EmailDocumentResponse**](EmailDocumentResponse.md) - -### Request Parameters -```python -__init__(self, - file_name, - request) -``` - -### Usage -```python -EmailApi.create_email_async( - CreateEmailRequest( - file_name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Email document file name in storage | - **request** | [**CreateEmailRequest**](CreateEmailRequest.md)| An email document and optional Storage info to specify where the file should be located | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_email_folder** -> create_email_folder(self, create_email_folder_request) - -Create new folder in email account - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.create_email_folder( - CreateEmailFolderRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**CreateFolderBaseRequest**](CreateFolderBaseRequest.md)| Create folder request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_email_folder_async** -> create_email_folder_async(self, create_email_folder_request) - -Create new folder in email account - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -create_email_folder_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.create_email_folder_async( - CreateEmailFolderRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**CreateFolderBaseRequest**](CreateFolderBaseRequest.md)| Create folder request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_folder** -> create_folder(self, create_folder_request) - - - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.create_folder( - CreateFolderRequest( - path, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_folder_async** -> create_folder_async(self, create_folder_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -create_folder_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.create_folder_async( - CreateFolderRequest( - path, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_mapi** -> create_mapi(self, create_mapi_request) - -Create new document - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - request) -``` - -### Usage -```python -EmailApi.create_mapi( - CreateMapiRequest( - name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Create document request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_mapi_async** -> create_mapi_async(self, create_mapi_request) - -Create new document - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -create_mapi_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - request) -``` - -### Usage -```python -EmailApi.create_mapi_async( - CreateMapiRequest( - name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Create document request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_calendar_property** -> delete_calendar_property(self, delete_calendar_property_request) - -Deletes indexed property by index and name. To delete Reminder attachment, use path ReminderAttachment/{ReminderIndex}/{AttachmentIndex} - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - member_name, - index, - request) -``` - -### Usage -```python -EmailApi.delete_calendar_property( - DeleteCalendarPropertyRequest( - name, - member_name, - index, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **member_name** | **str**| Indexed property name | - **index** | **str**| Property index path | - **request** | [**StorageFolderLocation**](StorageFolderLocation.md)| Storage detail to specify iCalendar file location | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_calendar_property_async** -> delete_calendar_property_async(self, delete_calendar_property_request) - -Deletes indexed property by index and name. To delete Reminder attachment, use path ReminderAttachment/{ReminderIndex}/{AttachmentIndex} - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_calendar_property_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - member_name, - index, - request) -``` - -### Usage -```python -EmailApi.delete_calendar_property_async( - DeleteCalendarPropertyRequest( - name, - member_name, - index, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **member_name** | **str**| Indexed property name | - **index** | **str**| Property index path | - **request** | [**StorageFolderLocation**](StorageFolderLocation.md)| Storage detail to specify iCalendar file location | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_contact_property** -> delete_contact_property(self, delete_contact_property_request) - -Delete property from indexed property list - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - member_name, - index, - folder) -``` - -### Usage -```python -EmailApi.delete_contact_property( - DeleteContactPropertyRequest( - format, - name, - member_name, - index, - folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **member_name** | **str**| Indexed property name | - **index** | **int**| Property index | - **folder** | [**StorageFolderLocation**](StorageFolderLocation.md)| Calendar document location in storage information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_contact_property_async** -> delete_contact_property_async(self, delete_contact_property_request) - -Delete property from indexed property list - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_contact_property_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - member_name, - index, - folder) -``` - -### Usage -```python -EmailApi.delete_contact_property_async( - DeleteContactPropertyRequest( - format, - name, - member_name, - index, - folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **member_name** | **str**| Indexed property name | - **index** | **int**| Property index | - **folder** | [**StorageFolderLocation**](StorageFolderLocation.md)| Calendar document location in storage information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_email_folder** -> delete_email_folder(self, delete_email_folder_request) - -Delete a folder in email account - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.delete_email_folder( - DeleteEmailFolderRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**DeleteFolderBaseRequest**](DeleteFolderBaseRequest.md)| Delete folder request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_email_folder_async** -> delete_email_folder_async(self, delete_email_folder_request) - -Delete a folder in email account - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_email_folder_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.delete_email_folder_async( - DeleteEmailFolderRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**DeleteFolderBaseRequest**](DeleteFolderBaseRequest.md)| Delete folder request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_email_message** -> delete_email_message(self, delete_email_message_request) - -Delete message from email account by id - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.delete_email_message( - DeleteEmailMessageRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**DeleteMessageBaseRequest**](DeleteMessageBaseRequest.md)| Delete message request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_email_message_async** -> delete_email_message_async(self, delete_email_message_request) - -Delete message from email account by id - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_email_message_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.delete_email_message_async( - DeleteEmailMessageRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**DeleteMessageBaseRequest**](DeleteMessageBaseRequest.md)| Delete message request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_email_thread** -> delete_email_thread(self, delete_email_thread_request) - -Delete thread by id. All messages from thread will also be deleted - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - thread_id, - request) -``` - -### Usage -```python -EmailApi.delete_email_thread( - DeleteEmailThreadRequest( - thread_id, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread id | - **request** | [**DeleteEmailThreadAccountRq**](DeleteEmailThreadAccountRq.md)| Email account specifier | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_email_thread_async** -> delete_email_thread_async(self, delete_email_thread_request) - -Delete thread by id. All messages from thread will also be deleted - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_email_thread_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - thread_id, - request) -``` - -### Usage -```python -EmailApi.delete_email_thread_async( - DeleteEmailThreadRequest( - thread_id, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread id | - **request** | [**DeleteEmailThreadAccountRq**](DeleteEmailThreadAccountRq.md)| Email account specifier | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_file** -> delete_file(self, delete_file_request) - - - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.delete_file( - DeleteFileRequest( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_file_async** -> delete_file_async(self, delete_file_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_file_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.delete_file_async( - DeleteFileRequest( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_folder** -> delete_folder(self, delete_folder_request) - - - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - recursive=recursive) -``` - -### Usage -```python -EmailApi.delete_folder( - DeleteFolderRequest( - path, - storage_name=storage_name, - recursive=recursive)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - **recursive** | **bool**| | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_folder_async** -> delete_folder_async(self, delete_folder_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_folder_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - recursive=recursive) -``` - -### Usage -```python -EmailApi.delete_folder_async( - DeleteFolderRequest( - path, - storage_name=storage_name, - recursive=recursive)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - **recursive** | **bool**| | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_mapi_attachment** -> delete_mapi_attachment(self, delete_mapi_attachment_request) - -Remove attachment from document - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - attachment, - storage) -``` - -### Usage -```python -EmailApi.delete_mapi_attachment( - DeleteMapiAttachmentRequest( - name, - attachment, - storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **attachment** | **str**| Attachment name or index | - **storage** | [**StorageFolderLocation**](StorageFolderLocation.md)| Document file storage location info | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_mapi_attachment_async** -> delete_mapi_attachment_async(self, delete_mapi_attachment_request) - -Remove attachment from document - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_mapi_attachment_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - attachment, - storage) -``` - -### Usage -```python -EmailApi.delete_mapi_attachment_async( - DeleteMapiAttachmentRequest( - name, - attachment, - storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **attachment** | **str**| Attachment name or index | - **storage** | [**StorageFolderLocation**](StorageFolderLocation.md)| Document file storage location info | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_mapi_properties** -> delete_mapi_properties(self, delete_mapi_properties_request) - -Delete document properties - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - request) -``` - -### Usage -```python -EmailApi.delete_mapi_properties( - DeleteMapiPropertiesRequest( - name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Properties that should be deleted | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_mapi_properties_async** -> delete_mapi_properties_async(self, delete_mapi_properties_request) - -Delete document properties - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -delete_mapi_properties_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - request) -``` - -### Usage -```python -EmailApi.delete_mapi_properties_async( - DeleteMapiPropertiesRequest( - name, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Properties that should be deleted | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **discover_email_config** -> discover_email_config(self, discover_email_config_request) - -Discover email accounts by email address. Does not validate discovered accounts. - -### Return type - -[**EmailAccountConfigList**](EmailAccountConfigList.md) - -### Request Parameters -```python -__init__(self, - address, - fast_processing=fast_processing) -``` - -### Usage -```python -EmailApi.discover_email_config( - DiscoverEmailConfigRequest( - address, - fast_processing=fast_processing)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **address** | **str**| Email address | - **fast_processing** | **bool**| Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **discover_email_config_async** -> discover_email_config_async(self, discover_email_config_request) - -Discover email accounts by email address. Does not validate discovered accounts. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -discover_email_config_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) - -### Request Parameters -```python -__init__(self, - address, - fast_processing=fast_processing) -``` - -### Usage -```python -EmailApi.discover_email_config_async( - DiscoverEmailConfigRequest( - address, - fast_processing=fast_processing)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **address** | **str**| Email address | - **fast_processing** | **bool**| Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **discover_email_config_oauth** -> discover_email_config_oauth(self, discover_email_config_oauth_request) - -Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. - -### Return type - -[**EmailAccountConfigList**](EmailAccountConfigList.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.discover_email_config_oauth( - DiscoverEmailConfigOauthRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**DiscoverEmailConfigOauth**](DiscoverEmailConfigOauth.md)| Discover email configuration request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **discover_email_config_oauth_async** -> discover_email_config_oauth_async(self, discover_email_config_oauth_request) - -Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -discover_email_config_oauth_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.discover_email_config_oauth_async( - DiscoverEmailConfigOauthRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**DiscoverEmailConfigOauth**](DiscoverEmailConfigOauth.md)| Discover email configuration request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **discover_email_config_password** -> discover_email_config_password(self, discover_email_config_password_request) - -Discover email accounts by email address. Validates discovered accounts using login and password. - -### Return type - -[**EmailAccountConfigList**](EmailAccountConfigList.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.discover_email_config_password( - DiscoverEmailConfigPasswordRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**DiscoverEmailConfigPassword**](DiscoverEmailConfigPassword.md)| Discover email configuration request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **discover_email_config_password_async** -> discover_email_config_password_async(self, discover_email_config_password_request) - -Discover email accounts by email address. Validates discovered accounts using login and password. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -discover_email_config_password_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.discover_email_config_password_async( - DiscoverEmailConfigPasswordRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**DiscoverEmailConfigPassword**](DiscoverEmailConfigPassword.md)| Discover email configuration request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **download_file** -> download_file(self, download_file_request) - - - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.download_file( - DownloadFileRequest( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **download_file_async** -> download_file_async(self, download_file_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -download_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.download_file_async( - DownloadFileRequest( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **fetch_email_message** -> fetch_email_message(self, fetch_email_message_request) - -Fetch message mime from email account - -### Return type - -[**MimeResponse**](MimeResponse.md) - -### Request Parameters -```python -__init__(self, - message_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder) -``` - -### Usage -```python -EmailApi.fetch_email_message( - FetchEmailMessageRequest( - message_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **message_id** | **str**| Message identifier | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **fetch_email_message_async** -> fetch_email_message_async(self, fetch_email_message_request) - -Fetch message mime from email account - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -fetch_email_message_async(request).get() returns [**MimeResponse**](MimeResponse.md) - -### Request Parameters -```python -__init__(self, - message_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder) -``` - -### Usage -```python -EmailApi.fetch_email_message_async( - FetchEmailMessageRequest( - message_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **message_id** | **str**| Message identifier | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **fetch_email_model** -> fetch_email_model(self, fetch_email_model_request) - -Fetch message model from email account - -### Return type - -[**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - message_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder) -``` - -### Usage -```python -EmailApi.fetch_email_model( - FetchEmailModelRequest( - message_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **message_id** | **str**| Message identifier | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **fetch_email_model_async** -> fetch_email_model_async(self, fetch_email_model_request) - -Fetch message model from email account - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -fetch_email_model_async(request).get() returns [**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - message_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder) -``` - -### Usage -```python -EmailApi.fetch_email_model_async( - FetchEmailModelRequest( - message_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **message_id** | **str**| Message identifier | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **fetch_email_thread_messages** -> fetch_email_thread_messages(self, fetch_email_thread_messages_request) - -Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. - -### Return type - -[**ListResponseOfEmailDto**](ListResponseOfEmailDto.md) - -### Request Parameters -```python -__init__(self, - thread_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder) -``` - -### Usage -```python -EmailApi.fetch_email_thread_messages( - FetchEmailThreadMessagesRequest( - thread_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread identifier | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **folder** | **str**| Specifies account folder to get thread from | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **fetch_email_thread_messages_async** -> fetch_email_thread_messages_async(self, fetch_email_thread_messages_request) - -Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -fetch_email_thread_messages_async(request).get() returns [**ListResponseOfEmailDto**](ListResponseOfEmailDto.md) - -### Request Parameters -```python -__init__(self, - thread_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder) -``` - -### Usage -```python -EmailApi.fetch_email_thread_messages_async( - FetchEmailThreadMessagesRequest( - thread_id, - first_account, - second_account=second_account, - folder=folder, - storage=storage, - storage_folder=storage_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread identifier | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **folder** | **str**| Specifies account folder to get thread from | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar** -> get_calendar(self, get_calendar_request) - -Get calendar file properties - -### Return type - -[**HierarchicalObject**](HierarchicalObject.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar( - GetCalendarRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_async** -> get_calendar_async(self, get_calendar_request) - -Get calendar file properties - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_async(request).get() returns [**HierarchicalObject**](HierarchicalObject.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_async( - GetCalendarRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_as_file** -> get_calendar_as_file(self, get_calendar_as_file_request) - -Converts calendar document from storage to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - file_name, - format, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_calendar_as_file( - GetCalendarAsFileRequest( - file_name, - format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar document file name | - **format** | **str**| File format Enum, available values: Ics, Msg | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_as_file_async** -> get_calendar_as_file_async(self, get_calendar_as_file_request) - -Converts calendar document from storage to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_as_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - file_name, - format, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_calendar_as_file_async( - GetCalendarAsFileRequest( - file_name, - format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar document file name | - **format** | **str**| File format Enum, available values: Ics, Msg | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_attachment** -> get_calendar_attachment(self, get_calendar_attachment_request) - -Get iCalendar document attachment by name - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - name, - attachment, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_attachment( - GetCalendarAttachmentRequest( - name, - attachment, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar document file name | - **attachment** | **str**| Attachment name or index | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_attachment_async** -> get_calendar_attachment_async(self, get_calendar_attachment_request) - -Get iCalendar document attachment by name - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_attachment_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - name, - attachment, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_attachment_async( - GetCalendarAttachmentRequest( - name, - attachment, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar document file name | - **attachment** | **str**| Attachment name or index | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_file_as_mapi_model** -> get_calendar_file_as_mapi_model(self, get_calendar_file_as_mapi_model_request) - -Converts calendar file to a MAPI model representation - -### Return type - -[**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - file) -``` - -### Usage -```python -EmailApi.get_calendar_file_as_mapi_model( - GetCalendarFileAsMapiModelRequest( - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_file_as_mapi_model_async** -> get_calendar_file_as_mapi_model_async(self, get_calendar_file_as_mapi_model_request) - -Converts calendar file to a MAPI model representation - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_file_as_mapi_model_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - file) -``` - -### Usage -```python -EmailApi.get_calendar_file_as_mapi_model_async( - GetCalendarFileAsMapiModelRequest( - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_file_as_model** -> get_calendar_file_as_model(self, get_calendar_file_as_model_request) - -Converts calendar document to a model representation - -### Return type - -[**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - file) -``` - -### Usage -```python -EmailApi.get_calendar_file_as_model( - GetCalendarFileAsModelRequest( - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_file_as_model_async** -> get_calendar_file_as_model_async(self, get_calendar_file_as_model_request) - -Converts calendar document to a model representation - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_file_as_model_async(request).get() returns [**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - file) -``` - -### Usage -```python -EmailApi.get_calendar_file_as_model_async( - GetCalendarFileAsModelRequest( - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_list** -> get_calendar_list(self, get_calendar_list_request) - -Get iCalendar files list in folder on storage - -### Return type - -[**ListResponseOfHierarchicalObjectResponse**](ListResponseOfHierarchicalObjectResponse.md) - -### Request Parameters -```python -__init__(self, - folder, - items_per_page, - page_number, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_list( - GetCalendarListRequest( - folder, - items_per_page, - page_number, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| Path to folder in storage | - **items_per_page** | **int**| Count of items on page | - **page_number** | **int**| Page number | - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_list_async** -> get_calendar_list_async(self, get_calendar_list_request) - -Get iCalendar files list in folder on storage - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_list_async(request).get() returns [**ListResponseOfHierarchicalObjectResponse**](ListResponseOfHierarchicalObjectResponse.md) - -### Request Parameters -```python -__init__(self, - folder, - items_per_page, - page_number, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_list_async( - GetCalendarListRequest( - folder, - items_per_page, - page_number, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| Path to folder in storage | - **items_per_page** | **int**| Count of items on page | - **page_number** | **int**| Page number | - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_model** -> get_calendar_model(self, get_calendar_model_request) - -Get calendar file - -### Return type - -[**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_model( - GetCalendarModelRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_model_async** -> get_calendar_model_async(self, get_calendar_model_request) - -Get calendar file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_model_async(request).get() returns [**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_model_async( - GetCalendarModelRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_model_as_alternate** -> get_calendar_model_as_alternate(self, get_calendar_model_as_alternate_request) - -Get iCalendar from storage as AlternateView - -### Return type - -[**AlternateView**](AlternateView.md) - -### Request Parameters -```python -__init__(self, - name, - calendar_action, - sequence_id=sequence_id, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_model_as_alternate( - GetCalendarModelAsAlternateRequest( - name, - calendar_action, - sequence_id=sequence_id, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **calendar_action** | **str**| iCalendar method type Enum, available values: Create, Update, Cancel | - **sequence_id** | **str**| The sequence id | [optional] - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_model_as_alternate_async** -> get_calendar_model_as_alternate_async(self, get_calendar_model_as_alternate_request) - -Get iCalendar from storage as AlternateView - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_model_as_alternate_async(request).get() returns [**AlternateView**](AlternateView.md) - -### Request Parameters -```python -__init__(self, - name, - calendar_action, - sequence_id=sequence_id, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_model_as_alternate_async( - GetCalendarModelAsAlternateRequest( - name, - calendar_action, - sequence_id=sequence_id, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **calendar_action** | **str**| iCalendar method type Enum, available values: Create, Update, Cancel | - **sequence_id** | **str**| The sequence id | [optional] - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_model_list** -> get_calendar_model_list(self, get_calendar_model_list_request) - -Get iCalendar list from storage folder - -### Return type - -[**CalendarDtoList**](CalendarDtoList.md) - -### Request Parameters -```python -__init__(self, - folder, - items_per_page=items_per_page, - page_number=page_number, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_model_list( - GetCalendarModelListRequest( - folder, - items_per_page=items_per_page, - page_number=page_number, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| Path to folder in storage | - **items_per_page** | **int**| Count of items on page | [optional] [default to 10] - **page_number** | **int**| Page number | [optional] [default to 0] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_calendar_model_list_async** -> get_calendar_model_list_async(self, get_calendar_model_list_request) - -Get iCalendar list from storage folder - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_calendar_model_list_async(request).get() returns [**CalendarDtoList**](CalendarDtoList.md) - -### Request Parameters -```python -__init__(self, - folder, - items_per_page=items_per_page, - page_number=page_number, - storage=storage) -``` - -### Usage -```python -EmailApi.get_calendar_model_list_async( - GetCalendarModelListRequest( - folder, - items_per_page=items_per_page, - page_number=page_number, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| Path to folder in storage | - **items_per_page** | **int**| Count of items on page | [optional] [default to 10] - **page_number** | **int**| Page number | [optional] [default to 0] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_as_file** -> get_contact_as_file(self, get_contact_as_file_request) - -Converts calendar document from storage to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - file_name, - destination_format, - format, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_contact_as_file( - GetContactAsFileRequest( - file_name, - destination_format, - format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar document file name | - **destination_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_as_file_async** -> get_contact_as_file_async(self, get_contact_as_file_request) - -Converts calendar document from storage to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_contact_as_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - file_name, - destination_format, - format, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_contact_as_file_async( - GetContactAsFileRequest( - file_name, - destination_format, - format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar document file name | - **destination_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_attachment** -> get_contact_attachment(self, get_contact_attachment_request) - -Get attachment file by name - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - format, - name, - attachment, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_contact_attachment( - GetContactAttachmentRequest( - format, - name, - attachment, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **attachment** | **str**| Attachment name or index | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_attachment_async** -> get_contact_attachment_async(self, get_contact_attachment_request) - -Get attachment file by name - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_contact_attachment_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - format, - name, - attachment, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_contact_attachment_async( - GetContactAttachmentRequest( - format, - name, - attachment, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **attachment** | **str**| Attachment name or index | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_file_as_mapi_model** -> get_contact_file_as_mapi_model(self, get_contact_file_as_mapi_model_request) - -Converts contact file to a MAPI model representation - -### Return type - -[**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - file_format, - file) -``` - -### Usage -```python -EmailApi.get_contact_file_as_mapi_model( - GetContactFileAsMapiModelRequest( - file_format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_file_as_mapi_model_async** -> get_contact_file_as_mapi_model_async(self, get_contact_file_as_mapi_model_request) - -Converts contact file to a MAPI model representation - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_contact_file_as_mapi_model_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - file_format, - file) -``` - -### Usage -```python -EmailApi.get_contact_file_as_mapi_model_async( - GetContactFileAsMapiModelRequest( - file_format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_file_as_model** -> get_contact_file_as_model(self, get_contact_file_as_model_request) - -Converts contact document to a model representation - -### Return type - -[**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - file) -``` - -### Usage -```python -EmailApi.get_contact_file_as_model( - GetContactFileAsModelRequest( - format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_file_as_model_async** -> get_contact_file_as_model_async(self, get_contact_file_as_model_request) - -Converts contact document to a model representation - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_contact_file_as_model_async(request).get() returns [**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - file) -``` - -### Usage -```python -EmailApi.get_contact_file_as_model_async( - GetContactFileAsModelRequest( - format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_list** -> get_contact_list(self, get_contact_list_request) - -Get contact list from storage folder - -### Return type - -[**ListResponseOfHierarchicalObjectResponse**](ListResponseOfHierarchicalObjectResponse.md) - -### Request Parameters -```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` - -### Usage -```python -EmailApi.get_contact_list( - GetContactListRequest( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - **items_per_page** | **int**| Count of items on page | [optional] [default to 10] - **page_number** | **int**| Page number | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_list_async** -> get_contact_list_async(self, get_contact_list_request) - -Get contact list from storage folder - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_contact_list_async(request).get() returns [**ListResponseOfHierarchicalObjectResponse**](ListResponseOfHierarchicalObjectResponse.md) - -### Request Parameters -```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` - -### Usage -```python -EmailApi.get_contact_list_async( - GetContactListRequest( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - **items_per_page** | **int**| Count of items on page | [optional] [default to 10] - **page_number** | **int**| Page number | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_model** -> get_contact_model(self, get_contact_model_request) - -Get contact document. - -### Return type - -[**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_contact_model( - GetContactModelRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_model_async** -> get_contact_model_async(self, get_contact_model_request) - -Get contact document. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_contact_model_async(request).get() returns [**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_contact_model_async( - GetContactModelRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_model_list** -> get_contact_model_list(self, get_contact_model_list_request) - -Get contact list from storage folder. - -### Return type - -[**ContactDtoList**](ContactDtoList.md) - -### Request Parameters -```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` - -### Usage -```python -EmailApi.get_contact_model_list( - GetContactModelListRequest( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_model_list_async** -> get_contact_model_list_async(self, get_contact_model_list_request) - -Get contact list from storage folder. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_contact_model_list_async(request).get() returns [**ContactDtoList**](ContactDtoList.md) - -### Request Parameters -```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` - -### Usage -```python -EmailApi.get_contact_model_list_async( - GetContactModelListRequest( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_properties** -> get_contact_properties(self, get_contact_properties_request) - -Get contact document properties - -### Return type - -[**HierarchicalObject**](HierarchicalObject.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_contact_properties( - GetContactPropertiesRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_contact_properties_async** -> get_contact_properties_async(self, get_contact_properties_request) - -Get contact document properties - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_contact_properties_async(request).get() returns [**HierarchicalObject**](HierarchicalObject.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_contact_properties_async( - GetContactPropertiesRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_disc_usage** -> get_disc_usage(self, get_disc_usage_request) - - - -### Return type - -[**DiscUsage**](DiscUsage.md) - -### Request Parameters -```python -__init__(self, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.get_disc_usage( - GetDiscUsageRequest( - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_disc_usage_async** -> get_disc_usage_async(self, get_disc_usage_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_disc_usage_async(request).get() returns [**DiscUsage**](DiscUsage.md) - -### Request Parameters -```python -__init__(self, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.get_disc_usage_async( - GetDiscUsageRequest( - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email** -> get_email(self, get_email_request) - -Get email document - -### Return type - -[**EmailDocument**](EmailDocument.md) - -### Request Parameters -```python -__init__(self, - file_name, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_email( - GetEmailRequest( - file_name, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Email document file name in storage | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_async** -> get_email_async(self, get_email_request) - -Get email document - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_async(request).get() returns [**EmailDocument**](EmailDocument.md) - -### Request Parameters -```python -__init__(self, - file_name, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_email_async( - GetEmailRequest( - file_name, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Email document file name in storage | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_as_file** -> get_email_as_file(self, get_email_as_file_request) - -Converts email document from storage to specified format and returns as file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - file_name, - format, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_email_as_file( - GetEmailAsFileRequest( - file_name, - format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Email document file name | - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_as_file_async** -> get_email_as_file_async(self, get_email_as_file_request) - -Converts email document from storage to specified format and returns as file - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_as_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - file_name, - format, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_email_as_file_async( - GetEmailAsFileRequest( - file_name, - format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Email document file name | - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_attachment** -> get_email_attachment(self, get_email_attachment_request) - -Get email attachment by name - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - attachment, - file_name, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_email_attachment( - GetEmailAttachmentRequest( - attachment, - file_name, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **attachment** | **str**| Attachment name | - **file_name** | **str**| Email document file name | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_attachment_async** -> get_email_attachment_async(self, get_email_attachment_request) - -Get email attachment by name - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_attachment_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - attachment, - file_name, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_email_attachment_async( - GetEmailAttachmentRequest( - attachment, - file_name, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **attachment** | **str**| Attachment name | - **file_name** | **str**| Email document file name | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_client_account** -> get_email_client_account(self, get_email_client_account_request) - -Get email client account from storage - -### Return type - -[**EmailClientAccount**](EmailClientAccount.md) - -### Request Parameters -```python -__init__(self, - name, - folder, - storage) -``` - -### Usage -```python -EmailApi.get_email_client_account( - GetEmailClientAccountRequest( - name, - folder, - storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| File name on storage | - **folder** | **str**| Folder on storage | - **storage** | **str**| Storage name | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_client_account_async** -> get_email_client_account_async(self, get_email_client_account_request) - -Get email client account from storage - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_client_account_async(request).get() returns [**EmailClientAccount**](EmailClientAccount.md) - -### Request Parameters -```python -__init__(self, - name, - folder, - storage) -``` - -### Usage -```python -EmailApi.get_email_client_account_async( - GetEmailClientAccountRequest( - name, - folder, - storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| File name on storage | - **folder** | **str**| Folder on storage | - **storage** | **str**| Storage name | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_client_multi_account** -> get_email_client_multi_account(self, get_email_client_multi_account_request) - -Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - -### Return type - -[**EmailClientMultiAccount**](EmailClientMultiAccount.md) - -### Request Parameters -```python -__init__(self, - name, - folder, - storage) -``` - -### Usage -```python -EmailApi.get_email_client_multi_account( - GetEmailClientMultiAccountRequest( - name, - folder, - storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| File name on storage | - **folder** | **str**| Folder on storage | - **storage** | **str**| Storage name | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_client_multi_account_async** -> get_email_client_multi_account_async(self, get_email_client_multi_account_request) - -Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_client_multi_account_async(request).get() returns [**EmailClientMultiAccount**](EmailClientMultiAccount.md) - -### Request Parameters -```python -__init__(self, - name, - folder, - storage) -``` - -### Usage -```python -EmailApi.get_email_client_multi_account_async( - GetEmailClientMultiAccountRequest( - name, - folder, - storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| File name on storage | - **folder** | **str**| Folder on storage | - **storage** | **str**| Storage name | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_file_as_mapi_model** -> get_email_file_as_mapi_model(self, get_email_file_as_mapi_model_request) - -Converts email file to a MAPI model representation - -### Return type - -[**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - file_format, - file) -``` - -### Usage -```python -EmailApi.get_email_file_as_mapi_model( - GetEmailFileAsMapiModelRequest( - file_format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_file_as_mapi_model_async** -> get_email_file_as_mapi_model_async(self, get_email_file_as_mapi_model_request) - -Converts email file to a MAPI model representation - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_file_as_mapi_model_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - file_format, - file) -``` - -### Usage -```python -EmailApi.get_email_file_as_mapi_model_async( - GetEmailFileAsMapiModelRequest( - file_format, - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_file_as_model** -> get_email_file_as_model(self, get_email_file_as_model_request) - -Converts email document to a model representation - -### Return type - -[**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - file) -``` - -### Usage -```python -EmailApi.get_email_file_as_model( - GetEmailFileAsModelRequest( - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_file_as_model_async** -> get_email_file_as_model_async(self, get_email_file_as_model_request) - -Converts email document to a model representation - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_file_as_model_async(request).get() returns [**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - file) -``` - -### Usage -```python -EmailApi.get_email_file_as_model_async( - GetEmailFileAsModelRequest( - file)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_model** -> get_email_model(self, get_email_model_request) - -Get email document. - -### Return type - -[**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_email_model( - GetEmailModelRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **name** | **str**| Email document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_model_async** -> get_email_model_async(self, get_email_model_request) - -Get email document. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_model_async(request).get() returns [**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_email_model_async( - GetEmailModelRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **name** | **str**| Email document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_model_list** -> get_email_model_list(self, get_email_model_list_request) - -Get email list from storage folder. - -### Return type - -[**EmailDtoList**](EmailDtoList.md) - -### Request Parameters -```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` - -### Usage -```python -EmailApi.get_email_model_list( - GetEmailModelListRequest( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_model_list_async** -> get_email_model_list_async(self, get_email_model_list_request) - -Get email list from storage folder. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_model_list_async(request).get() returns [**EmailDtoList**](EmailDtoList.md) - -### Request Parameters -```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` - -### Usage -```python -EmailApi.get_email_model_list_async( - GetEmailModelListRequest( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_property** -> get_email_property(self, get_email_property_request) - -Get an email document property by its name - -### Return type - -[**EmailPropertyResponse**](EmailPropertyResponse.md) - -### Request Parameters -```python -__init__(self, - property_name, - file_name, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_email_property( - GetEmailPropertyRequest( - property_name, - file_name, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **property_name** | **str**| A property name | - **file_name** | **str**| Email document file name | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_email_property_async** -> get_email_property_async(self, get_email_property_request) - -Get an email document property by its name - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_email_property_async(request).get() returns [**EmailPropertyResponse**](EmailPropertyResponse.md) - -### Request Parameters -```python -__init__(self, - property_name, - file_name, - storage=storage, - folder=folder) -``` - -### Usage -```python -EmailApi.get_email_property_async( - GetEmailPropertyRequest( - property_name, - file_name, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **property_name** | **str**| A property name | - **file_name** | **str**| Email document file name | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_file_versions** -> get_file_versions(self, get_file_versions_request) - - - -### Return type - -[**FileVersions**](FileVersions.md) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.get_file_versions( - GetFileVersionsRequest( - path, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_file_versions_async** -> get_file_versions_async(self, get_file_versions_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_file_versions_async(request).get() returns [**FileVersions**](FileVersions.md) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.get_file_versions_async( - GetFileVersionsRequest( - path, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_files_list** -> get_files_list(self, get_files_list_request) - - - -### Return type - -[**FilesList**](FilesList.md) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.get_files_list( - GetFilesListRequest( - path, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_files_list_async** -> get_files_list_async(self, get_files_list_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_files_list_async(request).get() returns [**FilesList**](FilesList.md) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.get_files_list_async( - GetFilesListRequest( - path, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_attachment** -> get_mapi_attachment(self, get_mapi_attachment_request) - -Get document attachment as file stream - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - name, - attachment, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_attachment( - GetMapiAttachmentRequest( - name, - attachment, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **attachment** | **str**| Attachment name or index | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_attachment_async** -> get_mapi_attachment_async(self, get_mapi_attachment_request) - -Get document attachment as file stream - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_mapi_attachment_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - name, - attachment, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_attachment_async( - GetMapiAttachmentRequest( - name, - attachment, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **attachment** | **str**| Attachment name or index | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_attachments** -> get_mapi_attachments(self, get_mapi_attachments_request) - -Get document attachment list - -### Return type - -[**ListResponseOfString**](ListResponseOfString.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_attachments( - GetMapiAttachmentsRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_attachments_async** -> get_mapi_attachments_async(self, get_mapi_attachments_request) - -Get document attachment list - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_mapi_attachments_async(request).get() returns [**ListResponseOfString**](ListResponseOfString.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_attachments_async( - GetMapiAttachmentsRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_calendar_model** -> get_mapi_calendar_model(self, get_mapi_calendar_model_request) - -Get MAPI calendar document. - -### Return type - -[**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_calendar_model( - GetMapiCalendarModelRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Calendar file name in storage | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_calendar_model_async** -> get_mapi_calendar_model_async(self, get_mapi_calendar_model_request) - -Get MAPI calendar document. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_mapi_calendar_model_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_calendar_model_async( - GetMapiCalendarModelRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Calendar file name in storage | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_contact_model** -> get_mapi_contact_model(self, get_mapi_contact_model_request) - -Get MAPI contact document. - -### Return type - -[**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_contact_model( - GetMapiContactModelRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_contact_model_async** -> get_mapi_contact_model_async(self, get_mapi_contact_model_request) - -Get MAPI contact document. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_mapi_contact_model_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_contact_model_async( - GetMapiContactModelRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_list** -> get_mapi_list(self, get_mapi_list_request) - -Get document list from storage folder - -### Return type - -[**ListResponseOfHierarchicalObjectResponse**](ListResponseOfHierarchicalObjectResponse.md) - -### Request Parameters -```python -__init__(self, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` - -### Usage -```python -EmailApi.get_mapi_list( - GetMapiListRequest( - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - **items_per_page** | **int**| Count of items on page | [optional] [default to 10] - **page_number** | **int**| Page number | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_list_async** -> get_mapi_list_async(self, get_mapi_list_request) - -Get document list from storage folder - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_mapi_list_async(request).get() returns [**ListResponseOfHierarchicalObjectResponse**](ListResponseOfHierarchicalObjectResponse.md) - -### Request Parameters -```python -__init__(self, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` - -### Usage -```python -EmailApi.get_mapi_list_async( - GetMapiListRequest( - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - **items_per_page** | **int**| Count of items on page | [optional] [default to 10] - **page_number** | **int**| Page number | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_message_model** -> get_mapi_message_model(self, get_mapi_message_model_request) - -Get MAPI message document. - -### Return type - -[**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_message_model( - GetMapiMessageModelRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **name** | **str**| Email document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_message_model_async** -> get_mapi_message_model_async(self, get_mapi_message_model_request) - -Get MAPI message document. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_mapi_message_model_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - format, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_message_model_async( - GetMapiMessageModelRequest( - format, - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **name** | **str**| Email document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_properties** -> get_mapi_properties(self, get_mapi_properties_request) - -Get document properties - -### Return type - -[**HierarchicalObjectResponse**](HierarchicalObjectResponse.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_properties( - GetMapiPropertiesRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_mapi_properties_async** -> get_mapi_properties_async(self, get_mapi_properties_request) - -Get document properties - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -get_mapi_properties_async(request).get() returns [**HierarchicalObjectResponse**](HierarchicalObjectResponse.md) - -### Request Parameters -```python -__init__(self, - name, - folder=folder, - storage=storage) -``` - -### Usage -```python -EmailApi.get_mapi_properties_async( - GetMapiPropertiesRequest( - name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **is_email_address_disposable** -> is_email_address_disposable(self, is_email_address_disposable_request) - -Check email address is disposable - -### Return type - -[**ValueTOfBoolean**](ValueTOfBoolean.md) - -### Request Parameters -```python -__init__(self, - address) -``` - -### Usage -```python -EmailApi.is_email_address_disposable( - IsEmailAddressDisposableRequest( - address)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **address** | **str**| An email address to check | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **is_email_address_disposable_async** -> is_email_address_disposable_async(self, is_email_address_disposable_request) - -Check email address is disposable - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -is_email_address_disposable_async(request).get() returns [**ValueTOfBoolean**](ValueTOfBoolean.md) - -### Request Parameters -```python -__init__(self, - address) -``` - -### Usage -```python -EmailApi.is_email_address_disposable_async( - IsEmailAddressDisposableRequest( - address)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **address** | **str**| An email address to check | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **list_email_folders** -> list_email_folders(self, list_email_folders_request) - -Get folders list in email account - -### Return type - -[**ListResponseOfMailServerFolder**](ListResponseOfMailServerFolder.md) - -### Request Parameters -```python -__init__(self, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - parent_folder=parent_folder) -``` - -### Usage -```python -EmailApi.list_email_folders( - ListEmailFoldersRequest( - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - parent_folder=parent_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - **parent_folder** | **str**| Folder in which subfolders should be listed | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **list_email_folders_async** -> list_email_folders_async(self, list_email_folders_request) - -Get folders list in email account - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -list_email_folders_async(request).get() returns [**ListResponseOfMailServerFolder**](ListResponseOfMailServerFolder.md) - -### Request Parameters -```python -__init__(self, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - parent_folder=parent_folder) -``` - -### Usage -```python -EmailApi.list_email_folders_async( - ListEmailFoldersRequest( - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - parent_folder=parent_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - **parent_folder** | **str**| Folder in which subfolders should be listed | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **list_email_messages** -> list_email_messages(self, list_email_messages_request) - -Get messages from folder, filtered by query - -The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - -### Return type - -[**ListResponseOfString**](ListResponseOfString.md) - -### Request Parameters -```python -__init__(self, - folder, - query_string, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - recursive=recursive) -``` - -### Usage -```python -EmailApi.list_email_messages( - ListEmailMessagesRequest( - folder, - query_string, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - recursive=recursive)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account | - **query_string** | **str**| A MailQuery search string | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - **recursive** | **bool**| Specifies that should message be searched in subfolders recursively | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **list_email_messages_async** -> list_email_messages_async(self, list_email_messages_request) - -Get messages from folder, filtered by query - -Performs operation asynchronously. - -The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - -### Return type - -Returns multiprocessing.pool.AsyncResult. -list_email_messages_async(request).get() returns [**ListResponseOfString**](ListResponseOfString.md) - -### Request Parameters -```python -__init__(self, - folder, - query_string, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - recursive=recursive) -``` - -### Usage -```python -EmailApi.list_email_messages_async( - ListEmailMessagesRequest( - folder, - query_string, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - recursive=recursive)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account | - **query_string** | **str**| A MailQuery search string | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - **recursive** | **bool**| Specifies that should message be searched in subfolders recursively | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **list_email_models** -> list_email_models(self, list_email_models_request) - -Get messages from folder, filtered by query - -The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - -### Return type - -[**ListResponseOfEmailDto**](ListResponseOfEmailDto.md) - -### Request Parameters -```python -__init__(self, - folder, - first_account, - query_string=query_string, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - recursive=recursive) -``` - -### Usage -```python -EmailApi.list_email_models( - ListEmailModelsRequest( - folder, - first_account, - query_string=query_string, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - recursive=recursive)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account | - **first_account** | **str**| Email account | - **query_string** | **str**| A MailQuery search string | [optional] - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - **recursive** | **bool**| Specifies that should message be searched in subfolders recursively | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **list_email_models_async** -> list_email_models_async(self, list_email_models_request) - -Get messages from folder, filtered by query - -Performs operation asynchronously. - -The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - -### Return type - -Returns multiprocessing.pool.AsyncResult. -list_email_models_async(request).get() returns [**ListResponseOfEmailDto**](ListResponseOfEmailDto.md) - -### Request Parameters -```python -__init__(self, - folder, - first_account, - query_string=query_string, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - recursive=recursive) -``` - -### Usage -```python -EmailApi.list_email_models_async( - ListEmailModelsRequest( - folder, - first_account, - query_string=query_string, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - recursive=recursive)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account | - **first_account** | **str**| Email account | - **query_string** | **str**| A MailQuery search string | [optional] - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - **recursive** | **bool**| Specifies that should message be searched in subfolders recursively | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **list_email_threads** -> list_email_threads(self, list_email_threads_request) - -Get message threads from folder. All messages are partly fetched (without email body and other fields) - -### Return type - -[**EmailThreadList**](EmailThreadList.md) - -### Request Parameters -```python -__init__(self, - folder, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - update_folder_cache=update_folder_cache, - messages_cache_limit=messages_cache_limit) -``` - -### Usage -```python -EmailApi.list_email_threads( - ListEmailThreadsRequest( - folder, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - update_folder_cache=update_folder_cache, - messages_cache_limit=messages_cache_limit)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account. | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - **update_folder_cache** | **bool**| This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account | [optional] [default to true] - **messages_cache_limit** | **int**| Limit messages cache size if CacheFile is used. Ignored in accounts without limits support | [optional] [default to 200] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **list_email_threads_async** -> list_email_threads_async(self, list_email_threads_request) - -Get message threads from folder. All messages are partly fetched (without email body and other fields) - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -list_email_threads_async(request).get() returns [**EmailThreadList**](EmailThreadList.md) - -### Request Parameters -```python -__init__(self, - folder, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - update_folder_cache=update_folder_cache, - messages_cache_limit=messages_cache_limit) -``` - -### Usage -```python -EmailApi.list_email_threads_async( - ListEmailThreadsRequest( - folder, - first_account, - second_account=second_account, - storage=storage, - storage_folder=storage_folder, - update_folder_cache=update_folder_cache, - messages_cache_limit=messages_cache_limit)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account. | - **first_account** | **str**| Email account | - **second_account** | **str**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional] - **storage** | **str**| Storage name where account file(s) located | [optional] - **storage_folder** | **str**| Folder in storage where account file(s) located | [optional] - **update_folder_cache** | **bool**| This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account | [optional] [default to true] - **messages_cache_limit** | **int**| Limit messages cache size if CacheFile is used. Ignored in accounts without limits support | [optional] [default to 200] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_email_message** -> move_email_message(self, move_email_message_request) - -Move message to another folder - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.move_email_message( - MoveEmailMessageRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MoveEmailMessageRq**](MoveEmailMessageRq.md)| Email account, folder and message specifier | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_email_message_async** -> move_email_message_async(self, move_email_message_request) - -Move message to another folder - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -move_email_message_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.move_email_message_async( - MoveEmailMessageRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MoveEmailMessageRq**](MoveEmailMessageRq.md)| Email account, folder and message specifier | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_email_thread** -> move_email_thread(self, move_email_thread_request) - -Move thread to another folder - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - thread_id, - request) -``` - -### Usage -```python -EmailApi.move_email_thread( - MoveEmailThreadRequest( - thread_id, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread identifier | - **request** | [**MoveEmailThreadRq**](MoveEmailThreadRq.md)| Move thread request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_email_thread_async** -> move_email_thread_async(self, move_email_thread_request) - -Move thread to another folder - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -move_email_thread_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - thread_id, - request) -``` - -### Usage -```python -EmailApi.move_email_thread_async( - MoveEmailThreadRequest( - thread_id, - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread identifier | - **request** | [**MoveEmailThreadRq**](MoveEmailThreadRq.md)| Move thread request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_file** -> move_file(self, move_file_request) - - - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.move_file( - MoveFileRequest( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| | - **dest_path** | **str**| | - **src_storage_name** | **str**| | [optional] - **dest_storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_file_async** -> move_file_async(self, move_file_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -move_file_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.move_file_async( - MoveFileRequest( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| | - **dest_path** | **str**| | - **src_storage_name** | **str**| | [optional] - **dest_storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_folder** -> move_folder(self, move_folder_request) - - - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name) -``` - -### Usage -```python -EmailApi.move_folder( - MoveFolderRequest( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| | - **dest_path** | **str**| | - **src_storage_name** | **str**| | [optional] - **dest_storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_folder_async** -> move_folder_async(self, move_folder_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -move_folder_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name) -``` - -### Usage -```python -EmailApi.move_folder_async( - MoveFolderRequest( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| | - **dest_path** | **str**| | - **src_storage_name** | **str**| | [optional] - **dest_storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **object_exists** -> object_exists(self, object_exists_request) - - - -### Return type - -[**ObjectExist**](ObjectExist.md) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.object_exists( - ObjectExistsRequest( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **object_exists_async** -> object_exists_async(self, object_exists_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -object_exists_async(request).get() returns [**ObjectExist**](ObjectExist.md) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) -``` - -### Usage -```python -EmailApi.object_exists_async( - ObjectExistsRequest( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **storage_name** | **str**| | [optional] - **version_id** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_calendar_model** -> save_calendar_model(self, save_calendar_model_request) - -Save iCalendar - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - rq) -``` - -### Usage -```python -EmailApi.save_calendar_model( - SaveCalendarModelRequest( - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **rq** | [**StorageModelRqOfCalendarDto**](StorageModelRqOfCalendarDto.md)| Calendar update request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_calendar_model_async** -> save_calendar_model_async(self, save_calendar_model_request) - -Save iCalendar - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_calendar_model_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - rq) -``` - -### Usage -```python -EmailApi.save_calendar_model_async( - SaveCalendarModelRequest( - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **rq** | [**StorageModelRqOfCalendarDto**](StorageModelRqOfCalendarDto.md)| Calendar update request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_contact_model** -> save_contact_model(self, save_contact_model_request) - -Save contact. - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - rq) -``` - -### Usage -```python -EmailApi.save_contact_model( - SaveContactModelRequest( - format, - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name. | - **rq** | [**StorageModelRqOfContactDto**](StorageModelRqOfContactDto.md)| Create/Update contact request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_contact_model_async** -> save_contact_model_async(self, save_contact_model_request) - -Save contact. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_contact_model_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - rq) -``` - -### Usage -```python -EmailApi.save_contact_model_async( - SaveContactModelRequest( - format, - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name. | - **rq** | [**StorageModelRqOfContactDto**](StorageModelRqOfContactDto.md)| Create/Update contact request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_email_client_account** -> save_email_client_account(self, save_email_client_account_request) - -Create email client account file (*.account) with any of supported credentials - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.save_email_client_account( - SaveEmailClientAccountRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**StorageFileRqOfEmailClientAccount**](StorageFileRqOfEmailClientAccount.md)| Email account information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_email_client_account_async** -> save_email_client_account_async(self, save_email_client_account_request) - -Create email client account file (*.account) with any of supported credentials - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_email_client_account_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.save_email_client_account_async( - SaveEmailClientAccountRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**StorageFileRqOfEmailClientAccount**](StorageFileRqOfEmailClientAccount.md)| Email account information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_email_client_multi_account** -> save_email_client_multi_account(self, save_email_client_multi_account_request) - -Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.save_email_client_multi_account( - SaveEmailClientMultiAccountRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**StorageFileRqOfEmailClientMultiAccount**](StorageFileRqOfEmailClientMultiAccount.md)| Email accounts information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_email_client_multi_account_async** -> save_email_client_multi_account_async(self, save_email_client_multi_account_request) - -Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_email_client_multi_account_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.save_email_client_multi_account_async( - SaveEmailClientMultiAccountRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**StorageFileRqOfEmailClientMultiAccount**](StorageFileRqOfEmailClientMultiAccount.md)| Email accounts information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_email_model** -> save_email_model(self, save_email_model_request) - -Save email document. - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - rq) -``` - -### Usage -```python -EmailApi.save_email_model( - SaveEmailModelRequest( - format, - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **name** | **str**| Email document file name in storage. | - **rq** | [**StorageModelRqOfEmailDto**](StorageModelRqOfEmailDto.md)| Email document create/update request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_email_model_async** -> save_email_model_async(self, save_email_model_request) - -Save email document. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_email_model_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - rq) -``` - -### Usage -```python -EmailApi.save_email_model_async( - SaveEmailModelRequest( - format, - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **name** | **str**| Email document file name in storage. | - **rq** | [**StorageModelRqOfEmailDto**](StorageModelRqOfEmailDto.md)| Email document create/update request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mail_account** -> save_mail_account(self, save_mail_account_request) - -Create email account file (*.account) with login/password authentication - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.save_mail_account( - SaveMailAccountRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**SaveEmailAccountRequest**](SaveEmailAccountRequest.md)| Email account information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mail_account_async** -> save_mail_account_async(self, save_mail_account_request) - -Create email account file (*.account) with login/password authentication - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_mail_account_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.save_mail_account_async( - SaveMailAccountRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**SaveEmailAccountRequest**](SaveEmailAccountRequest.md)| Email account information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mail_o_auth_account** -> save_mail_o_auth_account(self, save_mail_o_auth_account_request) - -Create email account file (*.account) with OAuth - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.save_mail_o_auth_account( - SaveMailOAuthAccountRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**SaveOAuthEmailAccountRequest**](SaveOAuthEmailAccountRequest.md)| Email account information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mail_o_auth_account_async** -> save_mail_o_auth_account_async(self, save_mail_o_auth_account_request) - -Create email account file (*.account) with OAuth - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_mail_o_auth_account_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.save_mail_o_auth_account_async( - SaveMailOAuthAccountRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**SaveOAuthEmailAccountRequest**](SaveOAuthEmailAccountRequest.md)| Email account information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mapi_calendar_model** -> save_mapi_calendar_model(self, save_mapi_calendar_model_request) - -Save MAPI Calendar to storage. - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - format, - rq) -``` - -### Usage -```python -EmailApi.save_mapi_calendar_model( - SaveMapiCalendarModelRequest( - name, - format, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Calendar file name in storage | - **format** | **str**| File format Enum, available values: Ics, Msg | - **rq** | [**StorageModelRqOfMapiCalendarDto**](StorageModelRqOfMapiCalendarDto.md)| Calendar update request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mapi_calendar_model_async** -> save_mapi_calendar_model_async(self, save_mapi_calendar_model_request) - -Save MAPI Calendar to storage. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_mapi_calendar_model_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - name, - format, - rq) -``` - -### Usage -```python -EmailApi.save_mapi_calendar_model_async( - SaveMapiCalendarModelRequest( - name, - format, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| Calendar file name in storage | - **format** | **str**| File format Enum, available values: Ics, Msg | - **rq** | [**StorageModelRqOfMapiCalendarDto**](StorageModelRqOfMapiCalendarDto.md)| Calendar update request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mapi_contact_model** -> save_mapi_contact_model(self, save_mapi_contact_model_request) - -Save MAPI Contact to storage. - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - rq) -``` - -### Usage -```python -EmailApi.save_mapi_contact_model( - SaveMapiContactModelRequest( - format, - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name. | - **rq** | [**StorageModelRqOfMapiContactDto**](StorageModelRqOfMapiContactDto.md)| Create/Update contact request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mapi_contact_model_async** -> save_mapi_contact_model_async(self, save_mapi_contact_model_request) - -Save MAPI Contact to storage. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_mapi_contact_model_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - rq) -``` - -### Usage -```python -EmailApi.save_mapi_contact_model_async( - SaveMapiContactModelRequest( - format, - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name. | - **rq** | [**StorageModelRqOfMapiContactDto**](StorageModelRqOfMapiContactDto.md)| Create/Update contact request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mapi_message_model** -> save_mapi_message_model(self, save_mapi_message_model_request) - -Save MAPI message to storage. - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - rq) -``` - -### Usage -```python -EmailApi.save_mapi_message_model( - SaveMapiMessageModelRequest( - format, - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **name** | **str**| Message file name in storage. | - **rq** | [**StorageModelRqOfMapiMessageDto**](StorageModelRqOfMapiMessageDto.md)| Message create/update request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **save_mapi_message_model_async** -> save_mapi_message_model_async(self, save_mapi_message_model_request) - -Save MAPI message to storage. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -save_mapi_message_model_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - format, - name, - rq) -``` - -### Usage -```python -EmailApi.save_mapi_message_model_async( - SaveMapiMessageModelRequest( - format, - name, - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **name** | **str**| Message file name in storage. | - **rq** | [**StorageModelRqOfMapiMessageDto**](StorageModelRqOfMapiMessageDto.md)| Message create/update request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **send_email** -> send_email(self, send_email_request) - -Send an email from *.eml file located on storage - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.send_email( - SendEmailRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**SendEmailBaseRequest**](SendEmailBaseRequest.md)| Send email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **send_email_async** -> send_email_async(self, send_email_request) - -Send an email from *.eml file located on storage - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -send_email_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.send_email_async( - SendEmailRequest( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**SendEmailBaseRequest**](SendEmailBaseRequest.md)| Send email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **send_email_mime** -> send_email_mime(self, send_email_mime_request) - -Send an email specified by MIME in request - -### Return type - -void (empty response body) +**file** ### Request Parameters ```python @@ -9104,30 +18,30 @@ __init__(self, ### Usage ```python -EmailApi.send_email_mime( - SendEmailMimeRequest( +EmailApi.email_as_file( + cakePrefix_email_as_file_request_cakeCodePostProcessor( request)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request** | [**SendEmailMimeBaseRequest**](SendEmailMimeBaseRequest.md)| Send email request | + **request** | [**EmailAsFileRequest**](EmailAsFileRequest.md)| Email model and format to convert. | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **send_email_mime_async** -> send_email_mime_async(self, send_email_mime_request) + +# **email_as_file_async** +> email_as_file_async(self, email_as_file_request) -Send an email specified by MIME in request +Converts Email model to specified format and returns as file. Performs operation asynchronously. ### Return type Returns multiprocessing.pool.AsyncResult. -send_email_mime_async(request).get() returns void (empty response body) +email_as_file_async(request).get() returns **file** ### Request Parameters ```python @@ -9137,500 +51,473 @@ __init__(self, ### Usage ```python -EmailApi.send_email_mime_async( - SendEmailMimeRequest( +EmailApi.email_as_file_async( + cakePrefix_email_as_file_request_cakeCodePostProcessor( request)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request** | [**SendEmailMimeBaseRequest**](SendEmailMimeBaseRequest.md)| Send email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **send_email_model** -> send_email_model(self, send_email_model_request) - -Send an email specified by model in request - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.send_email_model( - SendEmailModelRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**SendEmailModelRq**](SendEmailModelRq.md)| Send email request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **send_email_model_async** -> send_email_model_async(self, send_email_model_request) - -Send an email specified by model in request - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -send_email_model_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - rq) -``` - -### Usage -```python -EmailApi.send_email_model_async( - SendEmailModelRequest( - rq)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rq** | [**SendEmailModelRq**](SendEmailModelRq.md)| Send email request | + **request** | [**EmailAsFileRequest**](EmailAsFileRequest.md)| Email model and format to convert. | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **set_email_property** -> set_email_property(self, set_email_property_request) + +# **email_as_mapi** +> email_as_mapi(self, email_as_mapi_request) -Set email document property value +Converts EmailDto to MapiMessageDto. ### Return type -[**EmailPropertyResponse**](EmailPropertyResponse.md) +[**MapiMessageDto**](MapiMessageDto.md) ### Request Parameters ```python __init__(self, - property_name, - file_name, - request) + email_dto) ``` ### Usage ```python -EmailApi.set_email_property( - SetEmailPropertyRequest( - property_name, - file_name, - request)) +EmailApi.email_as_mapi( + cakePrefix_email_as_mapi_request_cakeCodePostProcessor( + email_dto)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **property_name** | **str**| A property name that should be changed | - **file_name** | **str**| Email document file name | - **request** | [**SetEmailPropertyRequest**](SetEmailPropertyRequest.md)| A property that should be changed and optional Storage info to specify where the file located | + **email_dto** | [**EmailDto**](EmailDto.md)| Email model to convert | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **set_email_property_async** -> set_email_property_async(self, set_email_property_request) + +# **email_as_mapi_async** +> email_as_mapi_async(self, email_as_mapi_request) -Set email document property value +Converts EmailDto to MapiMessageDto. Performs operation asynchronously. ### Return type Returns multiprocessing.pool.AsyncResult. -set_email_property_async(request).get() returns [**EmailPropertyResponse**](EmailPropertyResponse.md) +email_as_mapi_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) ### Request Parameters ```python __init__(self, - property_name, - file_name, - request) + email_dto) ``` ### Usage ```python -EmailApi.set_email_property_async( - SetEmailPropertyRequest( - property_name, - file_name, - request)) +EmailApi.email_as_mapi_async( + cakePrefix_email_as_mapi_request_cakeCodePostProcessor( + email_dto)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **property_name** | **str**| A property name that should be changed | - **file_name** | **str**| Email document file name | - **request** | [**SetEmailPropertyRequest**](SetEmailPropertyRequest.md)| A property that should be changed and optional Storage info to specify where the file located | + **email_dto** | [**EmailDto**](EmailDto.md)| Email model to convert | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **set_email_read_flag** -> set_email_read_flag(self, set_email_read_flag_request) + +# **email_convert** +> email_convert(self, email_convert_request) -Sets \"Message is read\" flag +Converts email document to specified format and returns as file ### Return type -void (empty response body) +**file** ### Request Parameters ```python __init__(self, - request) + format, + file) ``` ### Usage ```python -EmailApi.set_email_read_flag( - SetEmailReadFlagRequest( - request)) +EmailApi.email_convert( + cakePrefix_email_convert_request_cakeCodePostProcessor( + format, + file)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request** | [**SetMessageReadFlagAccountBaseRequest**](SetMessageReadFlagAccountBaseRequest.md)| Message is read request | + **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **file**| File to convert | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **set_email_read_flag_async** -> set_email_read_flag_async(self, set_email_read_flag_request) + +# **email_convert_async** +> email_convert_async(self, email_convert_request) -Sets \"Message is read\" flag +Converts email document to specified format and returns as file Performs operation asynchronously. ### Return type Returns multiprocessing.pool.AsyncResult. -set_email_read_flag_async(request).get() returns void (empty response body) +email_convert_async(request).get() returns **file** ### Request Parameters ```python __init__(self, - request) + format, + file) ``` ### Usage ```python -EmailApi.set_email_read_flag_async( - SetEmailReadFlagRequest( - request)) +EmailApi.email_convert_async( + cakePrefix_email_convert_request_cakeCodePostProcessor( + format, + file)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request** | [**SetMessageReadFlagAccountBaseRequest**](SetMessageReadFlagAccountBaseRequest.md)| Message is read request | + **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **file**| File to convert | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **set_email_thread_read_flag** -> set_email_thread_read_flag(self, set_email_thread_read_flag_request) + +# **email_from_file** +> email_from_file(self, email_from_file_request) -Mark all messages in thread as read or unread +Converts email document to a model representation ### Return type -void (empty response body) +[**EmailDto**](EmailDto.md) ### Request Parameters ```python __init__(self, - thread_id, - request) + format, + file) ``` ### Usage ```python -EmailApi.set_email_thread_read_flag( - SetEmailThreadReadFlagRequest( - thread_id, - request)) +EmailApi.email_from_file( + cakePrefix_email_from_file_request_cakeCodePostProcessor( + format, + file)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread id | - **request** | [**EmailThreadReadFlagRq**](EmailThreadReadFlagRq.md)| Email account specifier and IsRead flag | + **format** | **str**| Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **file**| File to convert | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **set_email_thread_read_flag_async** -> set_email_thread_read_flag_async(self, set_email_thread_read_flag_request) + +# **email_from_file_async** +> email_from_file_async(self, email_from_file_request) -Mark all messages in thread as read or unread +Converts email document to a model representation Performs operation asynchronously. ### Return type Returns multiprocessing.pool.AsyncResult. -set_email_thread_read_flag_async(request).get() returns void (empty response body) +email_from_file_async(request).get() returns [**EmailDto**](EmailDto.md) ### Request Parameters ```python __init__(self, - thread_id, - request) + format, + file) ``` ### Usage ```python -EmailApi.set_email_thread_read_flag_async( - SetEmailThreadReadFlagRequest( - thread_id, - request)) +EmailApi.email_from_file_async( + cakePrefix_email_from_file_request_cakeCodePostProcessor( + format, + file)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread id | - **request** | [**EmailThreadReadFlagRq**](EmailThreadReadFlagRq.md)| Email account specifier and IsRead flag | + **format** | **str**| Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **file**| File to convert | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **storage_exists** -> storage_exists(self, storage_exists_request) - + +# **email_get** +> email_get(self, email_get_request) +Get email document from storage. ### Return type -[**StorageExist**](StorageExist.md) +[**EmailDto**](EmailDto.md) ### Request Parameters ```python __init__(self, - storage_name) + format, + file_name, + folder=folder, + storage=storage) ``` ### Usage ```python -EmailApi.storage_exists( - StorageExistsRequest( - storage_name)) +EmailApi.email_get( + cakePrefix_email_get_request_cakeCodePostProcessor( + format, + file_name, + folder=folder, + storage=storage)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage_name** | **str**| | + **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file_name** | **str**| Email document file name. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **storage_exists_async** -> storage_exists_async(self, storage_exists_request) - + +# **email_get_async** +> email_get_async(self, email_get_request) +Get email document from storage. Performs operation asynchronously. ### Return type Returns multiprocessing.pool.AsyncResult. -storage_exists_async(request).get() returns [**StorageExist**](StorageExist.md) +email_get_async(request).get() returns [**EmailDto**](EmailDto.md) ### Request Parameters ```python __init__(self, - storage_name) + format, + file_name, + folder=folder, + storage=storage) ``` ### Usage ```python -EmailApi.storage_exists_async( - StorageExistsRequest( - storage_name)) +EmailApi.email_get_async( + cakePrefix_email_get_request_cakeCodePostProcessor( + format, + file_name, + folder=folder, + storage=storage)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage_name** | **str**| | + **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file_name** | **str**| Email document file name. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **update_calendar_properties** -> update_calendar_properties(self, update_calendar_properties_request) + +# **email_get_as_file** +> email_get_as_file(self, email_get_as_file_request) -Update calendar file properties +Converts email document from storage to specified format and returns as file ### Return type -void (empty response body) +**file** ### Request Parameters ```python __init__(self, - name, - request) + file_name, + format, + storage=storage, + folder=folder) ``` ### Usage ```python -EmailApi.update_calendar_properties( - UpdateCalendarPropertiesRequest( - name, - request)) +EmailApi.email_get_as_file( + cakePrefix_email_get_as_file_request_cakeCodePostProcessor( + file_name, + format, + storage=storage, + folder=folder)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Calendar properties update request | + **file_name** | **str**| Email document file name | + **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **storage** | **str**| Storage name | [optional] + **folder** | **str**| Path to folder in storage | [optional] [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **update_calendar_properties_async** -> update_calendar_properties_async(self, update_calendar_properties_request) + +# **email_get_as_file_async** +> email_get_as_file_async(self, email_get_as_file_request) -Update calendar file properties +Converts email document from storage to specified format and returns as file Performs operation asynchronously. ### Return type Returns multiprocessing.pool.AsyncResult. -update_calendar_properties_async(request).get() returns void (empty response body) +email_get_as_file_async(request).get() returns **file** ### Request Parameters ```python __init__(self, - name, - request) + file_name, + format, + storage=storage, + folder=folder) ``` ### Usage ```python -EmailApi.update_calendar_properties_async( - UpdateCalendarPropertiesRequest( - name, - request)) +EmailApi.email_get_as_file_async( + cakePrefix_email_get_as_file_request_cakeCodePostProcessor( + file_name, + format, + storage=storage, + folder=folder)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| iCalendar file name in storage | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Calendar properties update request | + **file_name** | **str**| Email document file name | + **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **storage** | **str**| Storage name | [optional] + **folder** | **str**| Path to folder in storage | [optional] [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **update_contact_properties** -> update_contact_properties(self, update_contact_properties_request) + +# **email_get_list** +> email_get_list(self, email_get_list_request) -Update contact document properties +Get email list from storage folder. ### Return type -void (empty response body) +[**EmailStorageList**](EmailStorageList.md) ### Request Parameters ```python __init__(self, format, - name, - request) + folder=folder, + storage=storage, + items_per_page=items_per_page, + page_number=page_number) ``` ### Usage ```python -EmailApi.update_contact_properties( - UpdateContactPropertiesRequest( +EmailApi.email_get_list( + cakePrefix_email_get_list_request_cakeCodePostProcessor( format, - name, - request)) + folder=folder, + storage=storage, + items_per_page=items_per_page, + page_number=page_number)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Properties that should be updated/added | + **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] + **page_number** | **int**| Page number. | [optional] [default to 0] [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **update_contact_properties_async** -> update_contact_properties_async(self, update_contact_properties_request) + +# **email_get_list_async** +> email_get_list_async(self, email_get_list_request) -Update contact document properties +Get email list from storage folder. Performs operation asynchronously. ### Return type Returns multiprocessing.pool.AsyncResult. -update_contact_properties_async(request).get() returns void (empty response body) +email_get_list_async(request).get() returns [**EmailStorageList**](EmailStorageList.md) ### Request Parameters ```python __init__(self, format, - name, - request) + folder=folder, + storage=storage, + items_per_page=items_per_page, + page_number=page_number) ``` ### Usage ```python -EmailApi.update_contact_properties_async( - UpdateContactPropertiesRequest( +EmailApi.email_get_list_async( + cakePrefix_email_get_list_request_cakeCodePostProcessor( format, - name, - request)) + folder=folder, + storage=storage, + items_per_page=items_per_page, + page_number=page_number)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format Enum, available values: VCard, WebDav, Msg | - **name** | **str**| Contact document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Properties that should be updated/added | + **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] + **page_number** | **int**| Page number. | [optional] [default to 0] [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **update_mapi_properties** -> update_mapi_properties(self, update_mapi_properties_request) + +# **email_save** +> email_save(self, email_save_request) -Update document properties +Save email document to storage. ### Return type @@ -9639,134 +526,53 @@ void (empty response body) ### Request Parameters ```python __init__(self, - name, request) ``` ### Usage ```python -EmailApi.update_mapi_properties( - UpdateMapiPropertiesRequest( - name, +EmailApi.email_save( + cakePrefix_email_save_request_cakeCodePostProcessor( request)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Properties that should be updated/added | + **request** | [**EmailSaveRequest**](EmailSaveRequest.md)| Email document create/update request. | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **update_mapi_properties_async** -> update_mapi_properties_async(self, update_mapi_properties_request) + +# **email_save_async** +> email_save_async(self, email_save_request) -Update document properties +Save email document to storage. Performs operation asynchronously. ### Return type Returns multiprocessing.pool.AsyncResult. -update_mapi_properties_async(request).get() returns void (empty response body) +email_save_async(request).get() returns void (empty response body) ### Request Parameters ```python __init__(self, - name, request) ``` ### Usage ```python -EmailApi.update_mapi_properties_async( - UpdateMapiPropertiesRequest( - name, +EmailApi.email_save_async( + cakePrefix_email_save_request_cakeCodePostProcessor( request)) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| Document file name | - **request** | [**HierarchicalObjectRequest**](HierarchicalObjectRequest.md)| Properties that should be updated/added | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **upload_file** -> upload_file(self, upload_file_request) - - - -### Return type - -[**FilesUploadResult**](FilesUploadResult.md) - -### Request Parameters -```python -__init__(self, - path, - file, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.upload_file( - UploadFileRequest( - path, - file, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **file** | **file**| File to upload | - **storage_name** | **str**| | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **upload_file_async** -> upload_file_async(self, upload_file_request) - - - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -upload_file_async(request).get() returns [**FilesUploadResult**](FilesUploadResult.md) - -### Request Parameters -```python -__init__(self, - path, - file, - storage_name=storage_name) -``` - -### Usage -```python -EmailApi.upload_file_async( - UploadFileRequest( - path, - file, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| | - **file** | **file**| File to upload | - **storage_name** | **str**| | [optional] + **request** | [**EmailSaveRequest**](EmailSaveRequest.md)| Email document create/update request. | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) diff --git a/sdk/docs/EmailAsFileRequest.md b/sdk/docs/EmailAsFileRequest.md new file mode 100644 index 0000000..e3b0232 --- /dev/null +++ b/sdk/docs/EmailAsFileRequest.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.EmailAsFileRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | +**value** | [**EmailDto**](EmailDto.md) | Email model. | + + + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/EmailClientAccountSaveRequest.md b/sdk/docs/EmailClientAccountSaveRequest.md new file mode 100644 index 0000000..cb1b5d8 --- /dev/null +++ b/sdk/docs/EmailClientAccountSaveRequest.md @@ -0,0 +1,10 @@ +# AsposeEmailCloudSdk.models.EmailClientAccountSaveRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + Parent class: [StorageModelOfEmailClientAccount](StorageModelOfEmailClientAccount.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/EmailClientMultiAccountSaveRequest.md b/sdk/docs/EmailClientMultiAccountSaveRequest.md new file mode 100644 index 0000000..8997ad3 --- /dev/null +++ b/sdk/docs/EmailClientMultiAccountSaveRequest.md @@ -0,0 +1,10 @@ +# AsposeEmailCloudSdk.models.EmailClientMultiAccountSaveRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + Parent class: [StorageModelOfEmailClientMultiAccount](StorageModelOfEmailClientMultiAccount.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/EmailConfigApi.md b/sdk/docs/EmailConfigApi.md new file mode 100644 index 0000000..c93f216 --- /dev/null +++ b/sdk/docs/EmailConfigApi.md @@ -0,0 +1,197 @@ +# AsposeEmailCloudSdk.EmailConfigApi + + +# **email_config_discover** +> email_config_discover(self, email_config_discover_request) + +Discover email accounts by email address. Does not validate discovered accounts. + +### Return type + +[**EmailAccountConfigList**](EmailAccountConfigList.md) + +### Request Parameters +```python +__init__(self, + address, + fast_processing=fast_processing) +``` + +### Usage +```python +EmailConfigApi.email_config_discover( + cakePrefix_email_config_discover_request_cakeCodePostProcessor( + address, + fast_processing=fast_processing)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **address** | **str**| Email address. | + **fast_processing** | **bool**| Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. | [optional] [default to false] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **email_config_discover_async** +> email_config_discover_async(self, email_config_discover_request) + +Discover email accounts by email address. Does not validate discovered accounts. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +email_config_discover_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) + +### Request Parameters +```python +__init__(self, + address, + fast_processing=fast_processing) +``` + +### Usage +```python +EmailConfigApi.email_config_discover_async( + cakePrefix_email_config_discover_request_cakeCodePostProcessor( + address, + fast_processing=fast_processing)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **address** | **str**| Email address. | + **fast_processing** | **bool**| Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. | [optional] [default to false] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **email_config_discover_oauth** +> email_config_discover_oauth(self, email_config_discover_oauth_request) + +Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. + +### Return type + +[**EmailAccountConfigList**](EmailAccountConfigList.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +EmailConfigApi.email_config_discover_oauth( + cakePrefix_email_config_discover_oauth_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**DiscoverEmailConfigOauth**](DiscoverEmailConfigOauth.md)| Discover email configuration request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **email_config_discover_oauth_async** +> email_config_discover_oauth_async(self, email_config_discover_oauth_request) + +Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +email_config_discover_oauth_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +EmailConfigApi.email_config_discover_oauth_async( + cakePrefix_email_config_discover_oauth_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**DiscoverEmailConfigOauth**](DiscoverEmailConfigOauth.md)| Discover email configuration request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **email_config_discover_password** +> email_config_discover_password(self, email_config_discover_password_request) + +Discover email accounts by email address. Validates discovered accounts using login and password. + +### Return type + +[**EmailAccountConfigList**](EmailAccountConfigList.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +EmailConfigApi.email_config_discover_password( + cakePrefix_email_config_discover_password_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**DiscoverEmailConfigPassword**](DiscoverEmailConfigPassword.md)| Discover email configuration request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **email_config_discover_password_async** +> email_config_discover_password_async(self, email_config_discover_password_request) + +Discover email accounts by email address. Validates discovered accounts using login and password. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +email_config_discover_password_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +EmailConfigApi.email_config_discover_password_async( + cakePrefix_email_config_discover_password_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**DiscoverEmailConfigPassword**](DiscoverEmailConfigPassword.md)| Discover email configuration request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/EmailDocument.md b/sdk/docs/EmailDocument.md deleted file mode 100644 index a65bfda..0000000 --- a/sdk/docs/EmailDocument.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.EmailDocument -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**links** | [**list[Link]**](Link.md) | Links that originate from this document. | [optional] -**document_properties** | [**EmailProperties**](EmailProperties.md) | List of document properties. | - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/EmailList.md b/sdk/docs/EmailList.md new file mode 100644 index 0000000..220d83d --- /dev/null +++ b/sdk/docs/EmailList.md @@ -0,0 +1,10 @@ +# AsposeEmailCloudSdk.models.EmailList +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + Parent class: [ListResponseOfEmailDto](ListResponseOfEmailDto.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/EmailProperties.md b/sdk/docs/EmailProperties.md deleted file mode 100644 index cd89009..0000000 --- a/sdk/docs/EmailProperties.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.EmailProperties -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**link** | [**Link**](Link.md) | Gets or sets link that originate from this document. | [optional] -**list** | [**list[EmailProperty]**](EmailProperty.md) | List of properties | - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/EmailSaveRequest.md b/sdk/docs/EmailSaveRequest.md new file mode 100644 index 0000000..eb1e0a7 --- /dev/null +++ b/sdk/docs/EmailSaveRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.EmailSaveRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + + Parent class: [StorageModelOfEmailDto](StorageModelOfEmailDto.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/EmailDtoList.md b/sdk/docs/EmailStorageList.md similarity index 88% rename from sdk/docs/EmailDtoList.md rename to sdk/docs/EmailStorageList.md index 55f19e9..f7374ef 100644 --- a/sdk/docs/EmailDtoList.md +++ b/sdk/docs/EmailStorageList.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.EmailDtoList +# AsposeEmailCloudSdk.models.EmailStorageList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/EmailThreadReadFlagRq.md b/sdk/docs/EmailThreadReadFlagRq.md deleted file mode 100644 index 67030a8..0000000 --- a/sdk/docs/EmailThreadReadFlagRq.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.EmailThreadReadFlagRq -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is_read** | **bool** | Read flag to set. \"true\" by default | -**folder** | **str** | Specifies account folder to get thread from | [optional] - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/Error.md b/sdk/docs/Error.md index ca4fb41..e1576b1 100644 --- a/sdk/docs/Error.md +++ b/sdk/docs/Error.md @@ -2,10 +2,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**code** | **str** | | [optional] -**message** | **str** | | [optional] -**description** | **str** | | [optional] -**inner_error** | [**ErrorDetails**](ErrorDetails.md) | | [optional] +**code** | **str** | Code | [optional] +**message** | **str** | Message | [optional] +**description** | **str** | Description | [optional] +**inner_error** | [**ErrorDetails**](ErrorDetails.md) | Inner Error | [optional] diff --git a/sdk/docs/ErrorDetails.md b/sdk/docs/ErrorDetails.md index 556d419..7372c87 100644 --- a/sdk/docs/ErrorDetails.md +++ b/sdk/docs/ErrorDetails.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**request_id** | **str** | | [optional] -**_date** | **datetime** | | +**request_id** | **str** | The request id | [optional] +**_date** | **datetime** | Date | diff --git a/sdk/docs/FileApi.md b/sdk/docs/FileApi.md new file mode 100644 index 0000000..452fbdd --- /dev/null +++ b/sdk/docs/FileApi.md @@ -0,0 +1,401 @@ +# AsposeEmailCloudSdk.FileApi + + +# **copy_file** +> copy_file(self, copy_file_request) + +Copy file + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name, + version_id=version_id) +``` + +### Usage +```python +FileApi.copy_file( + cakePrefix_copy_file_request_cakeCodePostProcessor( + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **src_path** | **str**| Source file path e.g. '/folder/file.ext' | + **dest_path** | **str**| Destination file path | + **src_storage_name** | **str**| Source storage name | [optional] + **dest_storage_name** | **str**| Destination storage name | [optional] + **version_id** | **str**| File version ID to copy | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **copy_file_async** +> copy_file_async(self, copy_file_request) + +Copy file + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +copy_file_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name, + version_id=version_id) +``` + +### Usage +```python +FileApi.copy_file_async( + cakePrefix_copy_file_request_cakeCodePostProcessor( + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **src_path** | **str**| Source file path e.g. '/folder/file.ext' | + **dest_path** | **str**| Destination file path | + **src_storage_name** | **str**| Source storage name | [optional] + **dest_storage_name** | **str**| Destination storage name | [optional] + **version_id** | **str**| File version ID to copy | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **delete_file** +> delete_file(self, delete_file_request) + +Delete file + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name, + version_id=version_id) +``` + +### Usage +```python +FileApi.delete_file( + cakePrefix_delete_file_request_cakeCodePostProcessor( + path, + storage_name=storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| File path e.g. '/folder/file.ext' | + **storage_name** | **str**| Storage name | [optional] + **version_id** | **str**| File version ID to delete | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **delete_file_async** +> delete_file_async(self, delete_file_request) + +Delete file + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +delete_file_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name, + version_id=version_id) +``` + +### Usage +```python +FileApi.delete_file_async( + cakePrefix_delete_file_request_cakeCodePostProcessor( + path, + storage_name=storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| File path e.g. '/folder/file.ext' | + **storage_name** | **str**| Storage name | [optional] + **version_id** | **str**| File version ID to delete | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **download_file** +> download_file(self, download_file_request) + +Download file + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name, + version_id=version_id) +``` + +### Usage +```python +FileApi.download_file( + cakePrefix_download_file_request_cakeCodePostProcessor( + path, + storage_name=storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| File path e.g. '/folder/file.ext' | + **storage_name** | **str**| Storage name | [optional] + **version_id** | **str**| File version ID to download | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **download_file_async** +> download_file_async(self, download_file_request) + +Download file + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +download_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name, + version_id=version_id) +``` + +### Usage +```python +FileApi.download_file_async( + cakePrefix_download_file_request_cakeCodePostProcessor( + path, + storage_name=storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| File path e.g. '/folder/file.ext' | + **storage_name** | **str**| Storage name | [optional] + **version_id** | **str**| File version ID to download | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **move_file** +> move_file(self, move_file_request) + +Move file + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name, + version_id=version_id) +``` + +### Usage +```python +FileApi.move_file( + cakePrefix_move_file_request_cakeCodePostProcessor( + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **src_path** | **str**| Source file path e.g. '/src.ext' | + **dest_path** | **str**| Destination file path e.g. '/dest.ext' | + **src_storage_name** | **str**| Source storage name | [optional] + **dest_storage_name** | **str**| Destination storage name | [optional] + **version_id** | **str**| File version ID to move | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **move_file_async** +> move_file_async(self, move_file_request) + +Move file + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +move_file_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name, + version_id=version_id) +``` + +### Usage +```python +FileApi.move_file_async( + cakePrefix_move_file_request_cakeCodePostProcessor( + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **src_path** | **str**| Source file path e.g. '/src.ext' | + **dest_path** | **str**| Destination file path e.g. '/dest.ext' | + **src_storage_name** | **str**| Source storage name | [optional] + **dest_storage_name** | **str**| Destination storage name | [optional] + **version_id** | **str**| File version ID to move | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **upload_file** +> upload_file(self, upload_file_request) + +Upload file + +### Return type + +[**FilesUploadResult**](FilesUploadResult.md) + +### Request Parameters +```python +__init__(self, + path, + file, + storage_name=storage_name) +``` + +### Usage +```python +FileApi.upload_file( + cakePrefix_upload_file_request_cakeCodePostProcessor( + path, + file, + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. | + **file** | **file**| File to upload | + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **upload_file_async** +> upload_file_async(self, upload_file_request) + +Upload file + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +upload_file_async(request).get() returns [**FilesUploadResult**](FilesUploadResult.md) + +### Request Parameters +```python +__init__(self, + path, + file, + storage_name=storage_name) +``` + +### Usage +```python +FileApi.upload_file_async( + cakePrefix_upload_file_request_cakeCodePostProcessor( + path, + file, + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. | + **file** | **file**| File to upload | + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/FileVersion.md b/sdk/docs/FileVersion.md index 8899fd0..aacacd8 100644 --- a/sdk/docs/FileVersion.md +++ b/sdk/docs/FileVersion.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version_id** | **str** | | [optional] -**is_latest** | **bool** | | +**version_id** | **str** | File Version ID. | [optional] +**is_latest** | **bool** | Specifies whether the file is (true) or is not (false) the latest version of an file. | Parent class: [StorageFile](StorageFile.md) diff --git a/sdk/docs/FileVersions.md b/sdk/docs/FileVersions.md index 6adc935..46d9c23 100644 --- a/sdk/docs/FileVersions.md +++ b/sdk/docs/FileVersions.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**list[FileVersion]**](FileVersion.md) | | [optional] +**value** | [**list[FileVersion]**](FileVersion.md) | File versions FileVersion. | [optional] diff --git a/sdk/docs/FilesList.md b/sdk/docs/FilesList.md index f95846b..e25bd40 100644 --- a/sdk/docs/FilesList.md +++ b/sdk/docs/FilesList.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**list[StorageFile]**](StorageFile.md) | | [optional] +**value** | [**list[StorageFile]**](StorageFile.md) | Files and folders contained by folder StorageFile. | [optional] diff --git a/sdk/docs/FilesUploadResult.md b/sdk/docs/FilesUploadResult.md index 907ead2..9a075d3 100644 --- a/sdk/docs/FilesUploadResult.md +++ b/sdk/docs/FilesUploadResult.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**uploaded** | **list[str]** | | [optional] -**errors** | [**list[Error]**](Error.md) | | [optional] +**uploaded** | **list[str]** | List of uploaded file names | [optional] +**errors** | [**list[Error]**](Error.md) | List of errors. | [optional] diff --git a/sdk/docs/FolderApi.md b/sdk/docs/FolderApi.md new file mode 100644 index 0000000..22147a4 --- /dev/null +++ b/sdk/docs/FolderApi.md @@ -0,0 +1,377 @@ +# AsposeEmailCloudSdk.FolderApi + + +# **copy_folder** +> copy_folder(self, copy_folder_request) + +Copy folder + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name) +``` + +### Usage +```python +FolderApi.copy_folder( + cakePrefix_copy_folder_request_cakeCodePostProcessor( + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **src_path** | **str**| Source folder path e.g. '/src' | + **dest_path** | **str**| Destination folder path e.g. '/dst' | + **src_storage_name** | **str**| Source storage name | [optional] + **dest_storage_name** | **str**| Destination storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **copy_folder_async** +> copy_folder_async(self, copy_folder_request) + +Copy folder + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +copy_folder_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name) +``` + +### Usage +```python +FolderApi.copy_folder_async( + cakePrefix_copy_folder_request_cakeCodePostProcessor( + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **src_path** | **str**| Source folder path e.g. '/src' | + **dest_path** | **str**| Destination folder path e.g. '/dst' | + **src_storage_name** | **str**| Source storage name | [optional] + **dest_storage_name** | **str**| Destination storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **create_folder** +> create_folder(self, create_folder_request) + +Create the folder + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name) +``` + +### Usage +```python +FolderApi.create_folder( + cakePrefix_create_folder_request_cakeCodePostProcessor( + path, + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| Folder path to create e.g. 'folder_1/folder_2/' | + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **create_folder_async** +> create_folder_async(self, create_folder_request) + +Create the folder + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +create_folder_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name) +``` + +### Usage +```python +FolderApi.create_folder_async( + cakePrefix_create_folder_request_cakeCodePostProcessor( + path, + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| Folder path to create e.g. 'folder_1/folder_2/' | + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **delete_folder** +> delete_folder(self, delete_folder_request) + +Delete folder + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name, + recursive=recursive) +``` + +### Usage +```python +FolderApi.delete_folder( + cakePrefix_delete_folder_request_cakeCodePostProcessor( + path, + storage_name=storage_name, + recursive=recursive)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| Folder path e.g. '/folder' | + **storage_name** | **str**| Storage name | [optional] + **recursive** | **bool**| Enable to delete folders, subfolders and files | [optional] [default to false] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **delete_folder_async** +> delete_folder_async(self, delete_folder_request) + +Delete folder + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +delete_folder_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name, + recursive=recursive) +``` + +### Usage +```python +FolderApi.delete_folder_async( + cakePrefix_delete_folder_request_cakeCodePostProcessor( + path, + storage_name=storage_name, + recursive=recursive)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| Folder path e.g. '/folder' | + **storage_name** | **str**| Storage name | [optional] + **recursive** | **bool**| Enable to delete folders, subfolders and files | [optional] [default to false] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **get_files_list** +> get_files_list(self, get_files_list_request) + +Get all files and folders within a folder + +### Return type + +[**FilesList**](FilesList.md) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name) +``` + +### Usage +```python +FolderApi.get_files_list( + cakePrefix_get_files_list_request_cakeCodePostProcessor( + path, + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| Folder path e.g. '/folder' | + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **get_files_list_async** +> get_files_list_async(self, get_files_list_request) + +Get all files and folders within a folder + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +get_files_list_async(request).get() returns [**FilesList**](FilesList.md) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name) +``` + +### Usage +```python +FolderApi.get_files_list_async( + cakePrefix_get_files_list_request_cakeCodePostProcessor( + path, + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| Folder path e.g. '/folder' | + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **move_folder** +> move_folder(self, move_folder_request) + +Move folder + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name) +``` + +### Usage +```python +FolderApi.move_folder( + cakePrefix_move_folder_request_cakeCodePostProcessor( + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **src_path** | **str**| Folder path to move e.g. '/folder' | + **dest_path** | **str**| Destination folder path to move to e.g '/dst' | + **src_storage_name** | **str**| Source storage name | [optional] + **dest_storage_name** | **str**| Destination storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **move_folder_async** +> move_folder_async(self, move_folder_request) + +Move folder + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +move_folder_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name) +``` + +### Usage +```python +FolderApi.move_folder_async( + cakePrefix_move_folder_request_cakeCodePostProcessor( + src_path, + dest_path, + src_storage_name=src_storage_name, + dest_storage_name=dest_storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **src_path** | **str**| Folder path to move e.g. '/folder' | + **dest_path** | **str**| Destination folder path to move to e.g '/dst' | + **src_storage_name** | **str**| Source storage name | [optional] + **dest_storage_name** | **str**| Destination storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/HierarchicalObject.md b/sdk/docs/HierarchicalObject.md deleted file mode 100644 index 462c561..0000000 --- a/sdk/docs/HierarchicalObject.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.HierarchicalObject -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**internal_properties** | [**list[BaseObject]**](BaseObject.md) | List of internal properties | [optional] - - Parent class: [BaseObject](BaseObject.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/HierarchicalObjectRequest.md b/sdk/docs/HierarchicalObjectRequest.md deleted file mode 100644 index cfa9588..0000000 --- a/sdk/docs/HierarchicalObjectRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.HierarchicalObjectRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hierarchical_object** | [**HierarchicalObject**](HierarchicalObject.md) | Hierarchical properties of document | -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | Document location in storage | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/HierarchicalObjectResponse.md b/sdk/docs/HierarchicalObjectResponse.md deleted file mode 100644 index 103a5ee..0000000 --- a/sdk/docs/HierarchicalObjectResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.HierarchicalObjectResponse -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hierarchical_object** | [**HierarchicalObject**](HierarchicalObject.md) | Document properties | [optional] -**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | Document location in storage | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/IndexedHierarchicalObject.md b/sdk/docs/IndexedHierarchicalObject.md deleted file mode 100644 index 6400eb5..0000000 --- a/sdk/docs/IndexedHierarchicalObject.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.IndexedHierarchicalObject -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**index** | **int** | Index of property in list | -**internal_properties** | [**list[BaseObject]**](BaseObject.md) | List of internal properties | [optional] - - Parent class: [BaseObject](BaseObject.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/Link.md b/sdk/docs/Link.md deleted file mode 100644 index 11e0e84..0000000 --- a/sdk/docs/Link.md +++ /dev/null @@ -1,14 +0,0 @@ -# AsposeEmailCloudSdk.models.Link -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **str** | The \"href\" attribute contains the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference | [optional] -**rel** | **str** | atom:link elements MAY have a \"rel\" attribute that indicates the link relation type. If the \"rel\" attribute is not present, the link element MUST be interpreted as if the link relation type is \"alternate\". | [optional] -**type** | **str** | On the link element, the \"type\" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation. | [optional] -**title** | **str** | The \"title\" attribute conveys human-readable information about the link. The content of the \"title\" attribute is Language-Sensitive. | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/ListResponseOfHierarchicalObject.md b/sdk/docs/ListResponseOfHierarchicalObject.md deleted file mode 100644 index fac9b47..0000000 --- a/sdk/docs/ListResponseOfHierarchicalObject.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.ListResponseOfHierarchicalObject -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**list[HierarchicalObject]**](HierarchicalObject.md) | | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/ListResponseOfHierarchicalObjectResponse.md b/sdk/docs/ListResponseOfHierarchicalObjectResponse.md deleted file mode 100644 index 9ea6977..0000000 --- a/sdk/docs/ListResponseOfHierarchicalObjectResponse.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.ListResponseOfHierarchicalObjectResponse -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**list[HierarchicalObjectResponse]**](HierarchicalObjectResponse.md) | | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/AiBcrRq.md b/sdk/docs/ListResponseOfMailMessageBase.md similarity index 66% rename from sdk/docs/AiBcrRq.md rename to sdk/docs/ListResponseOfMailMessageBase.md index 8cc71ef..9e9d127 100644 --- a/sdk/docs/AiBcrRq.md +++ b/sdk/docs/ListResponseOfMailMessageBase.md @@ -1,8 +1,8 @@ -# AsposeEmailCloudSdk.models.AiBcrRq +# AsposeEmailCloudSdk.models.ListResponseOfMailMessageBase ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**options** | [**AiBcrOptions**](AiBcrOptions.md) | Recognition options | [optional] +**value** | [**list[MailMessageBase]**](MailMessageBase.md) | | [optional] diff --git a/sdk/docs/ListResponseOfString.md b/sdk/docs/MailMessageBase.md similarity index 74% rename from sdk/docs/ListResponseOfString.md rename to sdk/docs/MailMessageBase.md index 8ea0710..109c873 100644 --- a/sdk/docs/ListResponseOfString.md +++ b/sdk/docs/MailMessageBase.md @@ -1,8 +1,8 @@ -# AsposeEmailCloudSdk.models.ListResponseOfString +# AsposeEmailCloudSdk.models.MailMessageBase ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **list[str]** | | [optional] +**discriminator** | **str** | | diff --git a/sdk/docs/MailMessageBase64.md b/sdk/docs/MailMessageBase64.md new file mode 100644 index 0000000..5f04bee --- /dev/null +++ b/sdk/docs/MailMessageBase64.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.MailMessageBase64 +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value_base64** | **str** | Email message file data encoded to Base64 string. | +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + + Parent class: [MailMessageBase](MailMessageBase.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MailMessageBaseList.md b/sdk/docs/MailMessageBaseList.md new file mode 100644 index 0000000..9f93449 --- /dev/null +++ b/sdk/docs/MailMessageBaseList.md @@ -0,0 +1,10 @@ +# AsposeEmailCloudSdk.models.MailMessageBaseList +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + Parent class: [ListResponseOfMailMessageBase](ListResponseOfMailMessageBase.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/AiBcrParseOcrDataRq.md b/sdk/docs/MailMessageDto.md similarity index 59% rename from sdk/docs/AiBcrParseOcrDataRq.md rename to sdk/docs/MailMessageDto.md index 809be11..f46f22e 100644 --- a/sdk/docs/AiBcrParseOcrDataRq.md +++ b/sdk/docs/MailMessageDto.md @@ -1,10 +1,10 @@ -# AsposeEmailCloudSdk.models.AiBcrParseOcrDataRq +# AsposeEmailCloudSdk.models.MailMessageDto ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**list[AiBcrOcrData]**](AiBcrOcrData.md) | OCR data | +**value** | [**EmailDto**](EmailDto.md) | Message document object. | - Parent class: [AiBcrRq](AiBcrRq.md) + Parent class: [MailMessageBase](MailMessageBase.md) [[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) diff --git a/sdk/docs/MailMessageMapi.md b/sdk/docs/MailMessageMapi.md new file mode 100644 index 0000000..0cae5e8 --- /dev/null +++ b/sdk/docs/MailMessageMapi.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.MailMessageMapi +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**MapiMessageDto**](MapiMessageDto.md) | Email message object. | + + Parent class: [MailMessageBase](MailMessageBase.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MailServerFolderList.md b/sdk/docs/MailServerFolderList.md new file mode 100644 index 0000000..8efee56 --- /dev/null +++ b/sdk/docs/MailServerFolderList.md @@ -0,0 +1,10 @@ +# AsposeEmailCloudSdk.models.MailServerFolderList +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + Parent class: [ListResponseOfMailServerFolder](ListResponseOfMailServerFolder.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MapiCalendarApi.md b/sdk/docs/MapiCalendarApi.md new file mode 100644 index 0000000..56ecc64 --- /dev/null +++ b/sdk/docs/MapiCalendarApi.md @@ -0,0 +1,329 @@ +# AsposeEmailCloudSdk.MapiCalendarApi + + +# **mapi_calendar_as_calendar_dto** +> mapi_calendar_as_calendar_dto(self, mapi_calendar_as_calendar_dto_request) + +Converts MAPI calendar model to CalendarDto model. + +### Return type + +[**CalendarDto**](CalendarDto.md) + +### Request Parameters +```python +__init__(self, + mapi_calendar_dto) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_as_calendar_dto( + cakePrefix_mapi_calendar_as_calendar_dto_request_cakeCodePostProcessor( + mapi_calendar_dto)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapi_calendar_dto** | [**MapiCalendarDto**](MapiCalendarDto.md)| MAPI calendar model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_as_calendar_dto_async** +> mapi_calendar_as_calendar_dto_async(self, mapi_calendar_as_calendar_dto_request) + +Converts MAPI calendar model to CalendarDto model. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_calendar_as_calendar_dto_async(request).get() returns [**CalendarDto**](CalendarDto.md) + +### Request Parameters +```python +__init__(self, + mapi_calendar_dto) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_as_calendar_dto_async( + cakePrefix_mapi_calendar_as_calendar_dto_request_cakeCodePostProcessor( + mapi_calendar_dto)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapi_calendar_dto** | [**MapiCalendarDto**](MapiCalendarDto.md)| MAPI calendar model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_as_file** +> mapi_calendar_as_file(self, mapi_calendar_as_file_request) + +Converts MAPI calendar model to specified format and returns as file. + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_as_file( + cakePrefix_mapi_calendar_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiCalendarAsFileRequest**](MapiCalendarAsFileRequest.md)| MAPI calendar model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_as_file_async** +> mapi_calendar_as_file_async(self, mapi_calendar_as_file_request) + +Converts MAPI calendar model to specified format and returns as file. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_calendar_as_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_as_file_async( + cakePrefix_mapi_calendar_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiCalendarAsFileRequest**](MapiCalendarAsFileRequest.md)| MAPI calendar model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_from_file** +> mapi_calendar_from_file(self, mapi_calendar_from_file_request) + +Converts calendar file to a MAPI model representation. + +### Return type + +[**MapiCalendarDto**](MapiCalendarDto.md) + +### Request Parameters +```python +__init__(self, + file) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_from_file( + cakePrefix_mapi_calendar_from_file_request_cakeCodePostProcessor( + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_from_file_async** +> mapi_calendar_from_file_async(self, mapi_calendar_from_file_request) + +Converts calendar file to a MAPI model representation. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_calendar_from_file_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) + +### Request Parameters +```python +__init__(self, + file) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_from_file_async( + cakePrefix_mapi_calendar_from_file_request_cakeCodePostProcessor( + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_get** +> mapi_calendar_get(self, mapi_calendar_get_request) + +Get MAPI calendar document. + +### Return type + +[**MapiCalendarDto**](MapiCalendarDto.md) + +### Request Parameters +```python +__init__(self, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_get( + cakePrefix_mapi_calendar_get_request_cakeCodePostProcessor( + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| Calendar file name in storage. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_get_async** +> mapi_calendar_get_async(self, mapi_calendar_get_request) + +Get MAPI calendar document. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_calendar_get_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) + +### Request Parameters +```python +__init__(self, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_get_async( + cakePrefix_mapi_calendar_get_request_cakeCodePostProcessor( + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| Calendar file name in storage. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_save** +> mapi_calendar_save(self, mapi_calendar_save_request) + +Save MAPI Calendar to storage. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_save( + cakePrefix_mapi_calendar_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiCalendarSaveRequest**](MapiCalendarSaveRequest.md)| Calendar create/update request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_calendar_save_async** +> mapi_calendar_save_async(self, mapi_calendar_save_request) + +Save MAPI Calendar to storage. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_calendar_save_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiCalendarApi.mapi_calendar_save_async( + cakePrefix_mapi_calendar_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiCalendarSaveRequest**](MapiCalendarSaveRequest.md)| Calendar create/update request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/EmailProperty.md b/sdk/docs/MapiCalendarAsFileRequest.md similarity index 53% rename from sdk/docs/EmailProperty.md rename to sdk/docs/MapiCalendarAsFileRequest.md index 1b23c15..432e90c 100644 --- a/sdk/docs/EmailProperty.md +++ b/sdk/docs/MapiCalendarAsFileRequest.md @@ -1,10 +1,9 @@ -# AsposeEmailCloudSdk.models.EmailProperty +# AsposeEmailCloudSdk.models.MapiCalendarAsFileRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**link** | [**Link**](Link.md) | Link to property | [optional] -**name** | **str** | Property name | -**value** | **object** | Property value | +**format** | **str** | Calendar file format Enum, available values: Ics, Msg | +**value** | [**MapiCalendarDto**](MapiCalendarDto.md) | MAPI calendar model. | diff --git a/sdk/docs/MapiCalendarSaveRequest.md b/sdk/docs/MapiCalendarSaveRequest.md new file mode 100644 index 0000000..ee4fd52 --- /dev/null +++ b/sdk/docs/MapiCalendarSaveRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.MapiCalendarSaveRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Calendar file format Enum, available values: Ics, Msg | + + Parent class: [StorageModelOfMapiCalendarDto](StorageModelOfMapiCalendarDto.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MapiContactApi.md b/sdk/docs/MapiContactApi.md new file mode 100644 index 0000000..7899d95 --- /dev/null +++ b/sdk/docs/MapiContactApi.md @@ -0,0 +1,341 @@ +# AsposeEmailCloudSdk.MapiContactApi + + +# **mapi_contact_as_contact_dto** +> mapi_contact_as_contact_dto(self, mapi_contact_as_contact_dto_request) + +Converts MAPI contact model to ContactDto model. + +### Return type + +[**ContactDto**](ContactDto.md) + +### Request Parameters +```python +__init__(self, + mapi_contact_dto) +``` + +### Usage +```python +MapiContactApi.mapi_contact_as_contact_dto( + cakePrefix_mapi_contact_as_contact_dto_request_cakeCodePostProcessor( + mapi_contact_dto)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapi_contact_dto** | [**MapiContactDto**](MapiContactDto.md)| MAPI contact model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_as_contact_dto_async** +> mapi_contact_as_contact_dto_async(self, mapi_contact_as_contact_dto_request) + +Converts MAPI contact model to ContactDto model. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_contact_as_contact_dto_async(request).get() returns [**ContactDto**](ContactDto.md) + +### Request Parameters +```python +__init__(self, + mapi_contact_dto) +``` + +### Usage +```python +MapiContactApi.mapi_contact_as_contact_dto_async( + cakePrefix_mapi_contact_as_contact_dto_request_cakeCodePostProcessor( + mapi_contact_dto)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapi_contact_dto** | [**MapiContactDto**](MapiContactDto.md)| MAPI contact model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_as_file** +> mapi_contact_as_file(self, mapi_contact_as_file_request) + +Converts MAPI contact model to specified format and returns as file. + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiContactApi.mapi_contact_as_file( + cakePrefix_mapi_contact_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiContactAsFileRequest**](MapiContactAsFileRequest.md)| MAPI contact model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_as_file_async** +> mapi_contact_as_file_async(self, mapi_contact_as_file_request) + +Converts MAPI contact model to specified format and returns as file. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_contact_as_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiContactApi.mapi_contact_as_file_async( + cakePrefix_mapi_contact_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiContactAsFileRequest**](MapiContactAsFileRequest.md)| MAPI contact model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_from_file** +> mapi_contact_from_file(self, mapi_contact_from_file_request) + +Converts contact file to a MAPI model representation. + +### Return type + +[**MapiContactDto**](MapiContactDto.md) + +### Request Parameters +```python +__init__(self, + format, + file) +``` + +### Usage +```python +MapiContactApi.mapi_contact_from_file( + cakePrefix_mapi_contact_from_file_request_cakeCodePostProcessor( + format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_from_file_async** +> mapi_contact_from_file_async(self, mapi_contact_from_file_request) + +Converts contact file to a MAPI model representation. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_contact_from_file_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) + +### Request Parameters +```python +__init__(self, + format, + file) +``` + +### Usage +```python +MapiContactApi.mapi_contact_from_file_async( + cakePrefix_mapi_contact_from_file_request_cakeCodePostProcessor( + format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_get** +> mapi_contact_get(self, mapi_contact_get_request) + +Get MAPI contact document. + +### Return type + +[**MapiContactDto**](MapiContactDto.md) + +### Request Parameters +```python +__init__(self, + format, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +MapiContactApi.mapi_contact_get( + cakePrefix_mapi_contact_get_request_cakeCodePostProcessor( + format, + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | + **file_name** | **str**| Contact document file name. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_get_async** +> mapi_contact_get_async(self, mapi_contact_get_request) + +Get MAPI contact document. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_contact_get_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) + +### Request Parameters +```python +__init__(self, + format, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +MapiContactApi.mapi_contact_get_async( + cakePrefix_mapi_contact_get_request_cakeCodePostProcessor( + format, + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | + **file_name** | **str**| Contact document file name. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_save** +> mapi_contact_save(self, mapi_contact_save_request) + +Save MAPI Contact to storage. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiContactApi.mapi_contact_save( + cakePrefix_mapi_contact_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiContactSaveRequest**](MapiContactSaveRequest.md)| Create/Update contact request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_contact_save_async** +> mapi_contact_save_async(self, mapi_contact_save_request) + +Save MAPI Contact to storage. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_contact_save_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiContactApi.mapi_contact_save_async( + cakePrefix_mapi_contact_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiContactSaveRequest**](MapiContactSaveRequest.md)| Create/Update contact request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/MapiContactAsFileRequest.md b/sdk/docs/MapiContactAsFileRequest.md new file mode 100644 index 0000000..b35cbfc --- /dev/null +++ b/sdk/docs/MapiContactAsFileRequest.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.MapiContactAsFileRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Enumerates contact formats. Enum, available values: VCard, WebDav, Msg | +**value** | [**MapiContactDto**](MapiContactDto.md) | MAPI contact model. | + + + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MapiContactSaveRequest.md b/sdk/docs/MapiContactSaveRequest.md new file mode 100644 index 0000000..4e8ce76 --- /dev/null +++ b/sdk/docs/MapiContactSaveRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.MapiContactSaveRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Enumerates contact formats. Enum, available values: VCard, WebDav, Msg | + + Parent class: [StorageModelOfMapiContactDto](StorageModelOfMapiContactDto.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MapiGroup.md b/sdk/docs/MapiGroup.md new file mode 100644 index 0000000..8b16d1b --- /dev/null +++ b/sdk/docs/MapiGroup.md @@ -0,0 +1,8 @@ +# EmailCloud.Mapi +MAPI operations. + +API | Description +--- | ----------- +[EmailCloud.mapi().**calendar()**](MapiCalendarApi_list.md) | MAPI calendar operations. +[EmailCloud.mapi().**contact()**](MapiContactApi_list.md) | MAPI contact operations +[EmailCloud.mapi().**message()**](MapiMessageApi_list.md) | MAPI message operations diff --git a/sdk/docs/MapiKnownPropertyDescriptor.md b/sdk/docs/MapiKnownPropertyDescriptor.md index cce3ffc..9b26e61 100644 --- a/sdk/docs/MapiKnownPropertyDescriptor.md +++ b/sdk/docs/MapiKnownPropertyDescriptor.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | Known property name. See all known properties here: https://apireference.aspose.com/email/net/aspose.email.mapi/knownpropertylist/fields/index Possible values: Mileage, ObjectUri, GDataContactVersion, GDataPhotoVersion, AddressBookProviderArrayType, AddressBookProviderEmailList, AddressCountryCode, AgingDontAgeMe, AllAttendeesString, AllowExternalCheck, AnniversaryEventEntryId, AppointmentAuxiliaryFlags, AppointmentColor, AppointmentCounterProposal, AppointmentDuration, AppointmentEndDate, AppointmentEndTime, AppointmentEndWhole, AppointmentLastSequence, AppointmentMessageClass, AppointmentNotAllowPropose, AppointmentProposalNumber, AppointmentProposedDuration, AppointmentProposedEndWhole, AppointmentProposedStartWhole, AppointmentRecur, AppointmentReplyName, AppointmentReplyTime, AppointmentSequence, AppointmentSequenceTime, AppointmentStartDate, AppointmentStartTime, AppointmentStartWhole, AppointmentStateFlags, AppointmentSubType, AppointmentTimeZoneDefinitionEndDisplay, AppointmentTimeZoneDefinitionRecur, AppointmentTimeZoneDefinitionStartDisplay, AppointmentUnsendableRecipients, AppointmentUpdateTime, AttendeeCriticalChange, AutoFillLocation, AutoLog, AutoProcessState, AutoStartCheck, Billing, BirthdayEventEntryId, BirthdayLocal, BusinessCardCardPicture, BusinessCardDisplayDefinition, BusyStatus, CalendarType, Categories, CcAttendeesString, ChangeHighlight, Classification, ClassificationDescription, ClassificationGuid, ClassificationKeep, Classified, CleanGlobalObjectId, ClientIntent, ClipEnd, ClipStart, CollaborateDoc, CommonEnd, CommonStart, Companies, ConferencingCheck, ConferencingType, ContactCharacterSet, ContactItemData, ContactLinkedGlobalAddressListEntryId, ContactLinkEntry, ContactLinkGlobalAddressListLinkId, ContactLinkGlobalAddressListLinkState, ContactLinkLinkRejectHistory, ContactLinkName, ContactLinkSearchKey, ContactLinkSMTPAddressCache, Contacts, ContactUserField1, ContactUserField2, ContactUserField3, ContactUserField4, ConversationActionLastAppliedTime, ConversationActionMaxDeliveryTime, ConversationActionMoveFolderEid, ConversationActionMoveStoreEid, ConversationActionVersion, ConversationProcessed, CurrentVersion, CurrentVersionName, DayInterval, DayOfMonth, DelegateMail, Department, Directory, DistributionListChecksum, DistributionListMembers, DistributionListName, DistributionListOneOffMembers, DistributionListStream, Email1AddressType, Email1DisplayName, Email1EmailAddress, Email1OriginalDisplayName, Email1OriginalEntryId, Email2AddressType, Email2DisplayName, Email2EmailAddress, Email2OriginalDisplayName, Email2OriginalEntryId, Email3AddressType, Email3DisplayName, Email3EmailAddress, Email3OriginalDisplayName, Email3OriginalEntryId, EndRecurrenceDate, EndRecurrenceTime, ExceptionReplaceTime, Fax1AddressType, Fax1EmailAddress, Fax1OriginalDisplayName, Fax1OriginalEntryId, Fax2AddressType, Fax2EmailAddress, Fax2OriginalDisplayName, Fax2OriginalEntryId, Fax3AddressType, Fax3EmailAddress, Fax3OriginalDisplayName, Fax3OriginalEntryId, FExceptionalAttendees, FExceptionalBody, FileUnder, FileUnderId, FileUnderList, FInvited, FlagRequest, FlagString, ForwardInstance, ForwardNotificationRecipients, FOthersAppointment, FreeBusyLocation, GlobalObjectId, HasPicture, HomeAddress, HomeAddressCountryCode, Html, ICalendarDayOfWeekMask, InboundICalStream, InfoPathFormName, InstantMessagingAddress, IntendedBusyStatus, InternetAccountName, InternetAccountStamp, IsContactLinked, IsException, IsRecurring, IsSilent, LinkedTaskItems, Location, LogDocumentPosted, LogDocumentPrinted, LogDocumentRouted, LogDocumentSaved, LogDuration, LogEnd, LogFlags, LogStart, LogType, LogTypeDesc, MeetingType, MeetingWorkspaceUrl, MonthInterval, MonthOfYear, MonthOfYearMask, NetShowUrl, NoEndDateFlag, NonSendableBcc, NonSendableCc, NonSendableTo, NonSendBccTrackStatus, NonSendCcTrackStatus, NonSendToTrackStatus, NoteColor, NoteHeight, NoteWidth, NoteX, NoteY, Occurrences, OldLocation, OldRecurrenceType, OldWhenEndWhole, OldWhenStartWhole, OnlinePassword, OptionalAttendees, OrganizerAlias, OriginalStoreEntryId, OtherAddress, OtherAddressCountryCode, OwnerCriticalChange, OwnerName, PendingStateForSiteMailboxDocument, PercentComplete, PostalAddressId, PostRssChannel, PostRssChannelLink, PostRssItemGuid, PostRssItemHash, PostRssItemLink, PostRssItemXml, PostRssSubscription, Private, PromptSendUpdate, RecurrenceDuration, RecurrencePattern, RecurrenceType, Recurring, ReferenceEntryId, ReminderDelta, ReminderFileParameter, ReminderOverride, ReminderPlaySound, ReminderSet, ReminderSignalTime, ReminderTime, ReminderTimeDate, ReminderTimeTime, ReminderType, RemoteStatus, RequiredAttendees, ResourceAttendees, ResponseStatus, ServerProcessed, ServerProcessingActions, SharingAnonymity, SharingBindingEntryId, SharingBrowseUrl, SharingCapabilities, SharingConfigurationUrl, SharingDataRangeEnd, SharingDataRangeStart, SharingDetail, SharingExtensionXml, SharingFilter, SharingFlags, SharingFlavor, SharingFolderEntryId, SharingIndexEntryId, SharingInitiatorEntryId, SharingInitiatorName, SharingInitiatorSmtp, SharingInstanceGuid, SharingLastAutoSyncTime, SharingLastSyncTime, SharingLocalComment, SharingLocalLastModificationTime, SharingLocalName, SharingLocalPath, SharingLocalStoreUid, SharingLocalType, SharingLocalUid, SharingOriginalMessageEntryId, SharingParentBindingEntryId, SharingParticipants, SharingPermissions, SharingProviderExtension, SharingProviderGuid, SharingProviderName, SharingProviderUrl, SharingRangeEnd, SharingRangeStart, SharingReciprocation, SharingRemoteByteSize, SharingRemoteComment, SharingRemoteCrc, SharingRemoteLastModificationTime, SharingRemoteMessageCount, SharingRemoteName, SharingRemotePass, SharingRemotePath, SharingRemoteStoreUid, SharingRemoteType, SharingRemoteUid, SharingRemoteUser, SharingRemoteVersion, SharingResponseTime, SharingResponseType, SharingRoamLog, SharingStart, SharingStatus, SharingStop, SharingSyncFlags, SharingSyncInterval, SharingTimeToLive, SharingTimeToLiveAuto, SharingWorkingHoursDays, SharingWorkingHoursEnd, SharingWorkingHoursStart, SharingWorkingHoursTimeZone, SideEffects, SingleBodyICal, SmartNoAttach, SpamOriginalFolder, StartRecurrenceDate, StartRecurrenceTime, TaskAcceptanceState, TaskAccepted, TaskActualEffort, TaskAssigner, TaskAssigners, TaskComplete, TaskCustomFlags, TaskDateCompleted, TaskDeadOccurrence, TaskDueDate, TaskEstimatedEffort, TaskFCreator, TaskFFixOffline, TaskFRecurring, TaskGlobalId, TaskHistory, TaskLastDelegate, TaskLastUpdate, TaskLastUser, TaskMode, TaskMultipleRecipients, TaskNoCompute, TaskOrdinal, TaskOwner, TaskOwnership, TaskRecurrence, TaskResetReminder, TaskRole, TaskStartDate, TaskState, TaskStatus, TaskStatusOnComplete, TaskUpdates, TaskVersion, TeamTask, TimeZone, TimeZoneDescription, TimeZoneStruct, ToAttendeesString, ToDoOrdinalDate, ToDoSubOrdinal, ToDoTitle, UseTnef, ValidFlagStringProof, VerbResponse, VerbStream, WeddingAnniversaryLocal, WeekInterval, Where, WorkAddress, WorkAddressCity, WorkAddressCountry, WorkAddressCountryCode, WorkAddressPostalCode, WorkAddressPostOfficeBox, WorkAddressState, WorkAddressStreet, YearInterval, YomiCompanyName, YomiFirstName, YomiLastName, AcceptLanguage, ApplicationName, AttachmentMacContentType, AttachmentMacInfo, AudioNotes, Author, AutomaticSpeechRecognitionData, ByteCount, CalendarAttendeeRole, CalendarBusystatus, CalendarContact, CalendarContactUrl, CalendarCreated, CalendarDescriptionUrl, CalendarDuration, CalendarExceptionDate, CalendarExceptionRule, CalendarGeoLatitude, CalendarGeoLongitude, CalendarInstanceType, CalendarIsOrganizer, CalendarLastModified, CalendarLocationUrl, CalendarMeetingStatus, CalendarMethod, CalendarProductId, CalendarRecurrenceIdRange, CalendarReminderOffset, CalendarResources, CalendarRsvp, CalendarSequence, CalendarTimeZone, CalendarTimeZoneId, CalendarTransparent, CalendarUid, CalendarVersion, Category, CharacterCount, Comments, Company, ContentBase, ContentClass, ContentType, CreateDateTimeReadOnly, CrossReference, DavId, DavIsCollection, DavIsStructuredDocument, DavParentName, DavUid, DocumentParts, EditTime, ExchangeIntendedBusyStatus, ExchangeJunkEmailMoveStamp, ExchangeModifyExceptionStructure, ExchangeNoModifyExceptions, ExchangePatternEnd, ExchangePatternStart, ExchangeReminderInterval, ExchDatabaseSchema, ExchDataExpectedContentClass, ExchDataSchemaCollectionReference, ExtractedAddresses, ExtractedContacts, ExtractedEmails, ExtractedMeetings, ExtractedPhones, ExtractedTasks, ExtractedUrls, From, HeadingPairs, HiddenCount, HttpmailCalendar, HttpmailHtmlDescription, HttpmailSendMessage, ICalendarRecurrenceDate, ICalendarRecurrenceRule, InternetSubject, Keywords, LastAuthor, LastPrinted, LastSaveDateTime, LineCount, LinksDirty, LocationUrl, Manager, MultimediaClipCount, NoteCount, OMSAccountGuid, OMSMobileModel, OMSScheduleTime, OMSServiceType, OMSSourceType, PageCount, ParagraphCount, PhishingStamp, PresentationFormat, QuarantineOriginalSender, RevisionNumber, RightsManagementLicense, Scale, Security, SlideCount, Subject, Template, Thumbnail, Title, WordCount, XCallId, XFaxNumberOfPages, XRequireProtectedPlayOnPhone, XSenderTelephoneNumber, XSharingBrowseUrl, XSharingCapabilities, XSharingConfigUrl, XSharingExendedCaps, XSharingFlavor, XSharingInstanceGuid, XSharingLocalType, XSharingProviderGuid, XSharingProviderName, XSharingProviderUrl, XSharingRemoteName, XSharingRemotePath, XSharingRemoteStoreUid, XSharingRemoteType, XSharingRemoteUid, XVoiceMessageAttachmentOrder, XVoiceMessageDuration, XVoiceMessageSenderName, Access, AccessControlListData, AccessLevel, Account, AdditionalRenEntryIds, AdditionalRenEntryIdsEx, AddressBookAuthorizedSenders, AddressBookContainerId, AddressBookDeliveryContentLength, AddressBookDisplayNamePrintable, AddressBookDisplayTypeExtended, AddressBookDistributionListExternalMemberCount, AddressBookDistributionListMemberCount, AddressBookDistributionListMemberSubmitAccepted, AddressBookDistributionListMemberSubmitRejected, AddressBookDistributionListRejectMessagesFromDLMembers, AddressBookEntryId, AddressBookExtensionAttribute1, AddressBookExtensionAttribute10, AddressBookExtensionAttribute11, AddressBookExtensionAttribute12, AddressBookExtensionAttribute13, AddressBookExtensionAttribute14, AddressBookExtensionAttribute15, AddressBookExtensionAttribute2, AddressBookExtensionAttribute3, AddressBookExtensionAttribute4, AddressBookExtensionAttribute5, AddressBookExtensionAttribute6, AddressBookExtensionAttribute7, AddressBookExtensionAttribute8, AddressBookExtensionAttribute9, AddressBookFolderPathname, AddressBookHierarchicalChildDepartments, AddressBookHierarchicalDepartmentMembers, AddressBookHierarchicalIsHierarchicalGroup, AddressBookHierarchicalParentDepartment, AddressBookHierarchicalRootDepartment, AddressBookHierarchicalShowInDepartments, AddressBookHomeMessageDatabase, AddressBookIsMaster, AddressBookIsMemberOfDistributionList, AddressBookManageDistributionList, AddressBookManager, AddressBookManagerDistinguishedName, AddressBookMember, AddressBookMessageId, AddressBookModerationEnabled, AddressBookNetworkAddress, AddressBookObjectDistinguishedName, AddressBookObjectGuid, AddressBookOrganizationalUnitRootDistinguishedName, AddressBookOwner, AddressBookOwnerBackLink, AddressBookParentEntryId, AddressBookPhoneticCompanyName, AddressBookPhoneticDepartmentName, AddressBookPhoneticDisplayName, AddressBookPhoneticGivenName, AddressBookPhoneticSurname, AddressBookProxyAddresses, AddressBookPublicDelegates, AddressBookReports, AddressBookRoomCapacity, AddressBookRoomContainers, AddressBookRoomDescription, AddressBookSenderHintTranslations, AddressBookSeniorityIndex, AddressBookTargetAddress, AddressBookUnauthorizedSenders, AddressBookX509Certificate, AddressType, AlternateRecipientAllowed, Anr, ArchiveDate, ArchivePeriod, ArchiveTag, Assistant, AssistantTelephoneNumber, Associated, AttachAdditionalInformation, AttachContentBase, AttachContentId, AttachContentLocation, AttachDataBinary, AttachDataObject, AttachEncoding, AttachExtension, AttachFilename, AttachFlags, AttachLongFilename, AttachLongPathname, AttachmentContactPhoto, AttachmentFlags, AttachmentHidden, AttachmentLinkId, AttachMethod, AttachMimeTag, AttachNumber, AttachPathname, AttachPayloadClass, AttachPayloadProviderGuidString, AttachRendering, AttachSize, AttachTag, AttachTransportName, AttributeHidden, AttributeReadOnly, AutoForwardComment, AutoForwarded, AutoResponseSuppress, Birthday, BlockStatus, Body, BodyContentId, BodyContentLocation, BodyHtml, Business2TelephoneNumber, Business2TelephoneNumbers, BusinessFaxNumber, BusinessHomePage, BusinessTelephoneNumber, CallbackTelephoneNumber, CallId, CarTelephoneNumber, CdoRecurrenceid, ChangeKey, ChangeNumber, ChildrensNames, ClientActions, ClientSubmitTime, CodePageId, Comment, CompanyMainTelephoneNumber, CompanyName, ComputerNetworkName, ConflictEntryId, ContainerClass, ContainerContents, ContainerFlags, ContainerHierarchy, ContentCount, ContentFilterSpamConfidenceLevel, ContentUnreadCount, ConversationId, ConversationIndex, ConversationIndexTracking, ConversationTopic, Country, CreationTime, CreatorEntryId, CreatorName, CustomerId, DamBackPatched, DamOriginalEntryId, DefaultPostMessageClass, DeferredActionMessageOriginalEntryId, DeferredDeliveryTime, DeferredSendNumber, DeferredSendTime, DeferredSendUnits, DelegatedByRule, DelegateFlags, DeleteAfterSubmit, DeletedCountTotal, DeletedOn, DeliverTime, DepartmentName, Depth, DisplayBcc, DisplayCc, DisplayName, DisplayNamePrefix, DisplayTo, DisplayType, DisplayTypeEx, EmailAddress, EndDate, EntryId, ExceptionEndTime, TagExceptionReplaceTime, ExceptionStartTime, ExchangeNTSecurityDescriptor, ExpiryNumber, ExpiryTime, ExpiryUnits, ExtendedFolderFlags, ExtendedRuleMessageActions, ExtendedRuleMessageCondition, ExtendedRuleSizeLimit, FaxNumberOfPages, FlagCompleteTime, FlagStatus, FlatUrlName, FolderAssociatedContents, FolderId, FolderFlags, FolderType, FollowupIcon, FreeBusyCountMonths, FreeBusyEntryIds, FreeBusyMessageEmailAddress, FreeBusyPublishEnd, FreeBusyPublishStart, FreeBusyRangeTimestamp, FtpSite, GatewayNeedsToRefresh, Gender, Generation, GivenName, GovernmentIdNumber, HasAttachments, HasDeferredActionMessages, HasNamedProperties, HasRules, HierarchyChangeNumber, HierRev, Hobbies, Home2TelephoneNumber, Home2TelephoneNumbers, HomeAddressCity, HomeAddressCountry, HomeAddressPostalCode, HomeAddressPostOfficeBox, HomeAddressStateOrProvince, HomeAddressStreet, HomeFaxNumber, HomeTelephoneNumber, TagHtml, ICalendarEndTime, ICalendarReminderNextTime, ICalendarStartTime, IconIndex, Importance, InConflict, InitialDetailsPane, Initials, InReplyToId, InstanceKey, InstanceNum, InstID, InternetCodepage, InternetMailOverrideFormat, InternetMessageId, InternetReferences, IpmAppointmentEntryId, IpmContactEntryId, IpmDraftsEntryId, IpmJournalEntryId, IpmNoteEntryId, IpmTaskEntryId, IsdnNumber, JunkAddRecipientsToSafeSendersList, JunkIncludeContacts, JunkPermanentlyDelete, JunkPhishingEnableLinks, JunkThreshold, Keyword, Language, LastModificationTime, LastModifierEntryId, LastModifierName, LastVerbExecuted, LastVerbExecutionTime, ListHelp, ListSubscribe, ListUnsubscribe, LocalCommitTime, LocalCommitTimeMax, LocaleId, Locality, TagLocation, MailboxOwnerEntryId, MailboxOwnerName, ManagerName, MappingSignature, MaximumSubmitMessageSize, MemberId, MemberName, MemberRights, MessageAttachments, MessageCcMe, MessageClass, MessageCodepage, MessageDeliveryTime, MessageEditorFormat, MessageFlags, MessageHandlingSystemCommonName, MessageLocaleId, MessageRecipientMe, MessageRecipients, MessageSize, MessageSizeExtended, MessageStatus, MessageSubmissionId, MessageToMe, Mid, MiddleName, MimeSkeleton, MobileTelephoneNumber, NativeBody, NextSendAcct, Nickname, NonDeliveryReportDiagCode, NonDeliveryReportReasonCode, NonDeliveryReportStatusCode, NonReceiptNotificationRequested, NormalizedSubject, ObjectType, OfficeLocation, OfflineAddressBookContainerGuid, OfflineAddressBookDistinguishedName, OfflineAddressBookMessageClass, OfflineAddressBookName, OfflineAddressBookSequence, OfflineAddressBookTruncatedProperties, OrdinalMost, OrganizationalIdNumber, OriginalAuthorEntryId, OriginalAuthorName, OriginalDeliveryTime, OriginalDisplayBcc, OriginalDisplayCc, OriginalDisplayTo, OriginalEntryId, OriginalMessageClass, OriginalMessageId, OriginalSenderAddressType, OriginalSenderEmailAddress, OriginalSenderEntryId, OriginalSenderName, OriginalSenderSearchKey, OriginalSensitivity, OriginalSentRepresentingAddressType, OriginalSentRepresentingEmailAddress, OriginalSentRepresentingEntryId, OriginalSentRepresentingName, OriginalSentRepresentingSearchKey, OriginalSubject, OriginalSubmitTime, OriginatorDeliveryReportRequested, OriginatorNonDeliveryReportRequested, OscSyncEnabled, OtherAddressCity, OtherAddressCountry, OtherAddressPostalCode, OtherAddressPostOfficeBox, OtherAddressStateOrProvince, OtherAddressStreet, OtherTelephoneNumber, OutOfOfficeState, OwnerAppointmentId, PagerTelephoneNumber, ParentEntryId, ParentFolderId, ParentKey, ParentSourceKey, PersonalHomePage, PolicyTag, PostalAddress, PostalCode, PostOfficeBox, PredecessorChangeList, PrimaryFaxNumber, PrimarySendAccount, PrimaryTelephoneNumber, Priority, Processed, Profession, ProhibitReceiveQuota, ProhibitSendQuota, PurportedSenderDomain, RadioTelephoneNumber, Read, ReadReceiptAddressType, ReadReceiptEmailAddress, ReadReceiptEntryId, ReadReceiptName, ReadReceiptRequested, ReadReceiptSearchKey, ReadReceiptSmtpAddress, ReceiptTime, ReceivedByAddressType, ReceivedByEmailAddress, ReceivedByEntryId, ReceivedByName, ReceivedBySearchKey, ReceivedBySmtpAddress, ReceivedRepresentingAddressType, ReceivedRepresentingEmailAddress, ReceivedRepresentingEntryId, ReceivedRepresentingName, ReceivedRepresentingSearchKey, ReceivedRepresentingSmtpAddress, RecipientDisplayName, RecipientEntryId, RecipientFlags, RecipientOrder, RecipientProposed, RecipientProposedEndTime, RecipientProposedStartTime, RecipientReassignmentProhibited, RecipientTrackStatus, RecipientTrackStatusTime, RecipientType, RecordKey, ReferredByName, RemindersOnlineEntryId, RemoteMessageTransferAgent, RenderingPosition, ReplyRecipientEntries, ReplyRecipientNames, ReplyRequested, ReplyTemplateId, ReplyTime, ReportDisposition, ReportDispositionMode, ReportEntryId, ReportingMessageTransferAgent, ReportName, ReportSearchKey, ReportTag, ReportText, ReportTime, ResolveMethod, ResponseRequested, Responsibility, RetentionDate, RetentionFlags, RetentionPeriod, Rights, RoamingDatatypes, RoamingDictionary, RoamingXmlStream, Rowid, RowType, RtfCompressed, RtfInSync, RuleActionNumber, RuleActions, RuleActionType, RuleCondition, RuleError, RuleFolderEntryId, RuleId, RuleIds, RuleLevel, RuleMessageLevel, RuleMessageName, RuleMessageProvider, RuleMessageProviderData, RuleMessageSequence, RuleMessageState, RuleMessageUserFlags, RuleName, RuleProvider, RuleProviderData, RuleSequence, RuleState, RuleUserFlags, RwRulesStream, ScheduleInfoAppointmentTombstone, ScheduleInfoAutoAcceptAppointments, ScheduleInfoDelegateEntryIds, ScheduleInfoDelegateNames, ScheduleInfoDelegateNamesW, ScheduleInfoDelegatorWantsCopy, ScheduleInfoDelegatorWantsInfo, ScheduleInfoDisallowOverlappingAppts, ScheduleInfoDisallowRecurringAppts, ScheduleInfoDontMailDelegates, ScheduleInfoFreeBusy, ScheduleInfoFreeBusyAway, ScheduleInfoFreeBusyBusy, ScheduleInfoFreeBusyMerged, ScheduleInfoFreeBusyTentative, ScheduleInfoMonthsAway, ScheduleInfoMonthsBusy, ScheduleInfoMonthsMerged, ScheduleInfoMonthsTentative, ScheduleInfoResourceType, SchedulePlusFreeBusyEntryId, ScriptData, SearchFolderDefinition, SearchFolderEfpFlags, SearchFolderExpiration, SearchFolderId, SearchFolderLastUsed, SearchFolderRecreateInfo, SearchFolderStorageType, SearchFolderTag, SearchFolderTemplateId, SearchKey, SecurityDescriptorAsXml, Selectable, SenderAddressType, SenderEmailAddress, SenderEntryId, SenderIdStatus, SenderName, SenderSearchKey, SenderSmtpAddress, SenderTelephoneNumber, SendInternetEncoding, SendRichInfo, Sensitivity, SentMailSvrEID, SentRepresentingAddressType, SentRepresentingEmailAddress, SentRepresentingEntryId, SentRepresentingFlags, SentRepresentingName, SentRepresentingSearchKey, SentRepresentingSmtpAddress, SmtpAddress, SortLocaleId, SourceKey, SpokenName, SpouseName, StartDate, StartDateEtc, StateOrProvince, StoreEntryId, StoreState, StoreSupportMask, StreetAddress, Subfolders, TagSubject, SubjectPrefix, SupplementaryInfo, Surname, SwappedToDoData, SwappedToDoStore, TargetEntryId, TelecommunicationsDeviceForDeafTelephoneNumber, TelexNumber, TemplateData, Templateid, TextAttachmentCharset, ThumbnailPhoto, TagTitle, TnefCorrelationKey, ToDoItemFlags, TransmittableDisplayName, TransportMessageHeaders, TrustSender, UserCertificate, UserEntryId, UserX509Certificate, ViewDescriptorBinary, ViewDescriptorName, ViewDescriptorStrings, ViewDescriptorVersion, VoiceMessageAttachmentOrder, VoiceMessageDuration, VoiceMessageSenderName, WeddingAnniversary, WlinkAddressBookEID, WlinkAddressBookStoreEID, WlinkCalendarColor, WlinkClientID, WlinkEntryId, WlinkFlags, WlinkFolderType, WlinkGroupClsid, WlinkGroupHeaderID, WlinkGroupName, WlinkOrdinal, WlinkRecordKey, WlinkROGroupType, WlinkSaveStamp, WlinkSection, WlinkStoreEntryId, WlinkType, Abstract, ActiveUserEntryid, AddrbookForLocalSiteEntryid, AddressBookDisplayName, ArrivalTime, AssocMessageSize, AssocMessageSizeExtended, AssocMsgWAttachCount, AttachOnAssocMsgCount, AttachOnNormalMsgCount, AutoAddNewSubs, BilateralInfo, CachedColumnCount, CategCount, ChangeAdvisor, ChangeNotificationGuid, Collector, ContactCount, ContentSearchKey, ContentsSynchronizer, DeletedAssocMessageSizeExtended, DeletedAssocMsgCount, DeletedFolderCount, DeletedMessageSizeExtended, DeletedMsgCount, DeletedNormalMessageSizeExtended, DesignInProgress, DisableFullFidelity, DisableWinsock, DlReportFlags, EformsForLocaleEntryid, EformsLocaleId, EformsRegistryEntryid, EmsAbAccessCategory, EmsAbActivationSchedule, EmsAbActivationStyle, EmsAbAddressEntryDisplayTable, EmsAbAddressEntryDisplayTableMsdos, EmsAbAddressSyntax, EmsAbAddressType, EmsAbAdmd, EmsAbAdminDescription, EmsAbAdminDisplayName, EmsAbAdminExtensionDll, EmsAbAliasedObjectName, EmsAbAliasedObjectNameO, EmsAbAltRecipient, EmsAbAltRecipientBl, EmsAbAltRecipientBlO, EmsAbAltRecipientO, EmsAbAncestorId, EmsAbAnonymousAccess, EmsAbAnonymousAccount, EmsAbAssocNtAccount, EmsAbAssocProtocolCfgNntp, EmsAbAssocProtocolCfgNntpO, EmsAbAssocRemoteDxa, EmsAbAssocRemoteDxaO, EmsAbAssociationLifetime, EmsAbAttributeCertificate, EmsAbAuthOrigBl, EmsAbAuthOrigBlO, EmsAbAuthenticationToUse, EmsAbAuthorityRevocationList, EmsAbAuthorizedDomain, EmsAbAuthorizedPassword, EmsAbAuthorizedPasswordConfirm, EmsAbAuthorizedUser, EmsAbAutoreply, EmsAbAutoreplyMessage, EmsAbAutoreplySubject, EmsAbAvailableAuthorizationPackages, EmsAbAvailableDistributions, EmsAbBridgeheadServers, EmsAbBridgeheadServersO, EmsAbBusinessCategory, EmsAbBusinessRoles, EmsAbCaCertificate, EmsAbCanCreatePf, EmsAbCanCreatePfBl, EmsAbCanCreatePfBlO, EmsAbCanCreatePfDl, EmsAbCanCreatePfDlBl, EmsAbCanCreatePfDlBlO, EmsAbCanCreatePfDlO, EmsAbCanCreatePfO, EmsAbCanNotCreatePf, EmsAbCanNotCreatePfBl, EmsAbCanNotCreatePfBlO, EmsAbCanNotCreatePfDl, EmsAbCanNotCreatePfDlBl, EmsAbCanNotCreatePfDlBlO, EmsAbCanNotCreatePfDlO, EmsAbCanNotCreatePfO, EmsAbCanPreserveDns, EmsAbCertificateChainV3, EmsAbCertificateRevocationList, EmsAbCertificateRevocationListV1, EmsAbCertificateRevocationListV3, EmsAbCharacterSet, EmsAbCharacterSetList, EmsAbChildRdns, EmsAbClientAccessEnabled, EmsAbClockAlertOffset, EmsAbClockAlertRepair, EmsAbClockWarningOffset, EmsAbClockWarningRepair, EmsAbCompromisedKeyList, EmsAbComputerName, EmsAbConnectedDomains, EmsAbConnectionListFilter, EmsAbConnectionListFilterType, EmsAbConnectionType, EmsAbContainerInfo, EmsAbContentType, EmsAbControlMsgFolderId, EmsAbControlMsgRules, EmsAbCost, EmsAbCountryName, EmsAbCrossCertificateCrl, EmsAbCrossCertificatePair, EmsAbDefaultMessageFormat, EmsAbDelegateUser, EmsAbDelivEits, EmsAbDelivExtContTypes, EmsAbDeliverAndRedirect, EmsAbDeliveryMechanism, EmsAbDeltaRevocationList, EmsAbDescription, EmsAbDestinationIndicator, EmsAbDiagnosticRegKey, EmsAbDisableDeferredCommit, EmsAbDisabledGatewayProxy, EmsAbDisplayNameOverride, EmsAbDisplayNameSuffix, EmsAbDlMemRejectPermsBl, EmsAbDlMemRejectPermsBlO, EmsAbDlMemberRule, EmsAbDmdName, EmsAbDoOabVersion, EmsAbDomainDefAltRecip, EmsAbDomainDefAltRecipO, EmsAbDomainName, EmsAbDsaSignature, EmsAbDxaAdminCopy, EmsAbDxaAdminForward, EmsAbDxaAdminUpdate, EmsAbDxaAppendReqcn, EmsAbDxaConfContainerList, EmsAbDxaConfContainerListO, EmsAbDxaConfReqTime, EmsAbDxaConfSeq, EmsAbDxaConfSeqUsn, EmsAbDxaExchangeOptions, EmsAbDxaExportNow, EmsAbDxaFlags, EmsAbDxaImpSeq, EmsAbDxaImpSeqTime, EmsAbDxaImpSeqUsn, EmsAbDxaImportNow, EmsAbDxaInTemplateMap, EmsAbDxaLocalAdmin, EmsAbDxaLocalAdminO, EmsAbDxaLoggingLevel, EmsAbDxaNativeAddressType, EmsAbDxaOutTemplateMap, EmsAbDxaPassword, EmsAbDxaPrevExchangeOptions, EmsAbDxaPrevExportNativeOnly, EmsAbDxaPrevInExchangeSensitivity, EmsAbDxaPrevRemoteEntries, EmsAbDxaPrevRemoteEntriesO, EmsAbDxaPrevReplicationSensitivity, EmsAbDxaPrevTemplateOptions, EmsAbDxaPrevTypes, EmsAbDxaRecipientCp, EmsAbDxaRemoteClient, EmsAbDxaRemoteClientO, EmsAbDxaReqSeq, EmsAbDxaReqSeqTime, EmsAbDxaReqSeqUsn, EmsAbDxaReqname, EmsAbDxaSvrSeq, EmsAbDxaSvrSeqTime, EmsAbDxaSvrSeqUsn, EmsAbDxaTask, EmsAbDxaTemplateOptions, EmsAbDxaTemplateTimestamp, EmsAbDxaTypes, EmsAbDxaUnconfContainerList, EmsAbDxaUnconfContainerListO, EmsAbEmployeeNumber, EmsAbEmployeeType, EmsAbEnableCompatibility, EmsAbEnabled, EmsAbEnabledAuthorizationPackages, EmsAbEnabledProtocolCfg, EmsAbEnabledProtocols, EmsAbEncapsulationMethod, EmsAbEncrypt, EmsAbEncryptAlgListNa, EmsAbEncryptAlgListOther, EmsAbEncryptAlgSelectedNa, EmsAbEncryptAlgSelectedOther, EmsAbExpandDlsLocally, EmsAbExpirationTime, EmsAbExportContainers, EmsAbExportContainersO, EmsAbExportCustomRecipients, EmsAbExtendedCharsAllowed, EmsAbExtensionData, EmsAbExtensionName, EmsAbExtensionNameInherited, EmsAbFacsimileTelephoneNumber, EmsAbFileVersion, EmsAbFilterLocalAddresses, EmsAbFoldersContainer, EmsAbFoldersContainerO, EmsAbFormData, EmsAbForwardingAddress, EmsAbGarbageCollPeriod, EmsAbGatewayLocalCred, EmsAbGatewayLocalDesig, EmsAbGatewayProxy, EmsAbGatewayRoutingTree, EmsAbGenerationQualifier, EmsAbGroupByAttr1, EmsAbGroupByAttr2, EmsAbGroupByAttr3, EmsAbGroupByAttr4, EmsAbGroupByAttrValueDn, EmsAbGroupByAttrValueDnO, EmsAbGroupByAttrValueStr, EmsAbGwartLastModified, EmsAbHasFullReplicaNcs, EmsAbHasFullReplicaNcsO, EmsAbHasMasterNcs, EmsAbHasMasterNcsO, EmsAbHelpData16, EmsAbHelpData32, EmsAbHelpFileName, EmsAbHeuristics, EmsAbHideDlMembership, EmsAbHideFromAddressBook, EmsAbHierarchyPath, EmsAbHomeMdbBl, EmsAbHomeMdbBlO, EmsAbHomeMta, EmsAbHomeMtaO, EmsAbHomePublicServer, EmsAbHomePublicServerO, EmsAbHouseIdentifier, EmsAbHttpPubAbAttributes, EmsAbHttpPubGal, EmsAbHttpPubGalLimit, EmsAbHttpPubPf, EmsAbHttpServers, EmsAbImportContainer, EmsAbImportContainerO, EmsAbImportSensitivity, EmsAbImportedFrom, EmsAbInboundAcceptAll, EmsAbInboundDn, EmsAbInboundDnO, EmsAbInboundHost, EmsAbInboundNewsfeed, EmsAbInboundNewsfeedType, EmsAbInboundSites, EmsAbInboundSitesO, EmsAbIncomingMsgSizeLimit, EmsAbIncomingPassword, EmsAbInsadmin, EmsAbInsadminO, EmsAbInstanceType, EmsAbInternationalIsdnNumber, EmsAbInvocationId, EmsAbIsDeleted, EmsAbIsSingleValued, EmsAbKccStatus, EmsAbKmServer, EmsAbKmServerO, EmsAbKnowledgeInformation, EmsAbLabeleduri, EmsAbLanguage, EmsAbLanguageIso639, EmsAbLdapDisplayName, EmsAbLdapSearchCfg, EmsAbLineWrap, EmsAbLinkId, EmsAbListPublicFolders, EmsAbLocalBridgeHead, EmsAbLocalBridgeHeadAddress, EmsAbLocalInitialTurn, EmsAbLocalScope, EmsAbLocalScopeO, EmsAbLogFilename, EmsAbLogRolloverInterval, EmsAbMailDrop, EmsAbMaintainAutoreplyHistory, EmsAbMapiDisplayType, EmsAbMapiId, EmsAbMaximumObjectId, EmsAbMdbBackoffInterval, EmsAbMdbMsgTimeOutPeriod, EmsAbMdbOverQuotaLimit, EmsAbMdbStorageQuota, EmsAbMdbUnreadLimit, EmsAbMdbUseDefaults, EmsAbMessageTrackingEnabled, EmsAbMimeTypes, EmsAbModerated, EmsAbModerator, EmsAbMonitorClock, EmsAbMonitorServers, EmsAbMonitorServices, EmsAbMonitoredConfigurations, EmsAbMonitoredConfigurationsO, EmsAbMonitoredServers, EmsAbMonitoredServersO, EmsAbMonitoredServices, EmsAbMonitoringAlertDelay, EmsAbMonitoringAlertUnits, EmsAbMonitoringAvailabilityStyle, EmsAbMonitoringAvailabilityWindow, EmsAbMonitoringCachedViaMail, EmsAbMonitoringCachedViaMailO, EmsAbMonitoringCachedViaRpc, EmsAbMonitoringCachedViaRpcO, EmsAbMonitoringEscalationProcedure, EmsAbMonitoringHotsitePollInterval, EmsAbMonitoringHotsitePollUnits, EmsAbMonitoringMailUpdateInterval, EmsAbMonitoringMailUpdateUnits, EmsAbMonitoringNormalPollInterval, EmsAbMonitoringNormalPollUnits, EmsAbMonitoringRecipients, EmsAbMonitoringRecipientsNdr, EmsAbMonitoringRecipientsNdrO, EmsAbMonitoringRecipientsO, EmsAbMonitoringRpcUpdateInterval, EmsAbMonitoringRpcUpdateUnits, EmsAbMonitoringWarningDelay, EmsAbMonitoringWarningUnits, EmsAbMtaLocalCred, EmsAbMtaLocalDesig, EmsAbNAddress, EmsAbNAddressType, EmsAbNewsfeedType, EmsAbNewsgroup, EmsAbNewsgroupList, EmsAbNntpCharacterSet, EmsAbNntpContentFormat, EmsAbNntpDistributions, EmsAbNntpDistributionsFlag, EmsAbNntpNewsfeeds, EmsAbNntpNewsfeedsO, EmsAbNtMachineName, EmsAbNtSecurityDescriptor, EmsAbNumOfOpenRetries, EmsAbNumOfTransferRetries, EmsAbObjViewContainers, EmsAbObjViewContainersO, EmsAbObjectClassCategory, EmsAbObjectOid, EmsAbObjectVersion, EmsAbOffLineAbContainers, EmsAbOffLineAbContainersO, EmsAbOffLineAbSchedule, EmsAbOffLineAbServer, EmsAbOffLineAbServerO, EmsAbOffLineAbStyle, EmsAbOidType, EmsAbOmObjectClass, EmsAbOmSyntax, EmsAbOofReplyToOriginator, EmsAbOpenRetryInterval, EmsAbOrganizationName, EmsAbOrganizationalUnitName, EmsAbOriginalDisplayTable, EmsAbOriginalDisplayTableMsdos, EmsAbOtherRecips, EmsAbOutboundHost, EmsAbOutboundHostType, EmsAbOutboundNewsfeed, EmsAbOutboundSites, EmsAbOutboundSitesO, EmsAbOutgoingMsgSizeLimit, EmsAbOverrideNntpContentFormat, EmsAbOwaServer, EmsAbPSelector, EmsAbPSelectorInbound, EmsAbPerMsgDialogDisplayTable, EmsAbPerRecipDialogDisplayTable, EmsAbPeriodRepSyncTimes, EmsAbPeriodReplStagger, EmsAbPersonalTitle, EmsAbPfContacts, EmsAbPfContactsO, EmsAbPopCharacterSet, EmsAbPopContentFormat, EmsAbPortNumber, EmsAbPostalAddress, EmsAbPreferredDeliveryMethod, EmsAbPreserveInternetContent, EmsAbPrmd, EmsAbPromoExpiration, EmsAbProtocolSettings, EmsAbProxyGenerationEnabled, EmsAbProxyGeneratorDll, EmsAbPublicDelegatesBl, EmsAbPublicDelegatesBlO, EmsAbQuotaNotificationSchedule, EmsAbQuotaNotificationStyle, EmsAbRangeLower, EmsAbRangeUpper, EmsAbRasAccount, EmsAbRasCallbackNumber, EmsAbRasPassword, EmsAbRasPhoneNumber, EmsAbRasPhonebookEntryName, EmsAbRasRemoteSrvrName, EmsAbReferralList, EmsAbRegisteredAddress, EmsAbRemoteBridgeHead, EmsAbRemoteBridgeHeadAddress, EmsAbRemoteOutBhServer, EmsAbRemoteOutBhServerO, EmsAbRemoteSite, EmsAbRemoteSiteO, EmsAbReplicatedObjectVersion, EmsAbReplicationMailMsgSize, EmsAbReplicationSensitivity, EmsAbReplicationStagger, EmsAbReportToOriginator, EmsAbReportToOwner, EmsAbReqSeq, EmsAbRequireSsl, EmsAbResponsibleLocalDxa, EmsAbResponsibleLocalDxaO, EmsAbReturnExactMsgSize, EmsAbRidServer, EmsAbRidServerO, EmsAbRoleOccupant, EmsAbRoleOccupantO, EmsAbRootNewsgroupsFolderId, EmsAbRoutingList, EmsAbRtsCheckpointSize, EmsAbRtsRecoveryTimeout, EmsAbRtsWindowSize, EmsAbRunsOn, EmsAbRunsOnO, EmsAbSSelector, EmsAbSSelectorInbound, EmsAbSchemaFlags, EmsAbSchemaVersion, EmsAbSearchFlags, EmsAbSearchGuide, EmsAbSecurityPolicy, EmsAbSecurityProtocol, EmsAbSeeAlso, EmsAbSeeAlsoO, EmsAbSendEmailMessage, EmsAbSendTnef, EmsAbSerialNumber, EmsAbServer, EmsAbServiceActionFirst, EmsAbServiceActionOther, EmsAbServiceActionSecond, EmsAbServiceRestartDelay, EmsAbServiceRestartMessage, EmsAbSessionDisconnectTimer, EmsAbSiteAffinity, EmsAbSiteFolderGuid, EmsAbSiteFolderServer, EmsAbSiteFolderServerO, EmsAbSiteProxySpace, EmsAbSmimeAlgListNa, EmsAbSmimeAlgListOther, EmsAbSmimeAlgSelectedNa, EmsAbSmimeAlgSelectedOther, EmsAbSpaceLastComputed, EmsAbStreetAddress, EmsAbSubRefs, EmsAbSubRefsO, EmsAbSubSite, EmsAbSubmissionContLength, EmsAbSupportSmimeSignatures, EmsAbSupportedAlgorithms, EmsAbSupportedApplicationContext, EmsAbSupportingStack, EmsAbSupportingStackBl, EmsAbSupportingStackBlO, EmsAbSupportingStackO, EmsAbTSelector, EmsAbTSelectorInbound, EmsAbTargetMtas, EmsAbTelephoneNumber, EmsAbTelephonePersonalPager, EmsAbTeletexTerminalIdentifier, EmsAbTempAssocThreshold, EmsAbTombstoneLifetime, EmsAbTrackingLogPathName, EmsAbTransRetryMins, EmsAbTransTimeoutMins, EmsAbTransferRetryInterval, EmsAbTransferTimeoutNonUrgent, EmsAbTransferTimeoutNormal, EmsAbTransferTimeoutUrgent, EmsAbTranslationTableUsed, EmsAbTransportExpeditedData, EmsAbTrustLevel, EmsAbTurnRequestThreshold, EmsAbTwoWayAlternateFacility, EmsAbType, EmsAbUnauthOrigBl, EmsAbUnauthOrigBlO, EmsAbUseServerValues, EmsAbUseSiteValues, EmsAbUsenetSiteName, EmsAbUserPassword, EmsAbUsnChanged, EmsAbUsnCreated, EmsAbUsnDsaLastObjRemoved, EmsAbUsnIntersite, EmsAbUsnLastObjRem, EmsAbUsnSource, EmsAbViewContainer1, EmsAbViewContainer2, EmsAbViewContainer3, EmsAbViewDefinition, EmsAbViewFlags, EmsAbViewSite, EmsAbVoiceMailFlags, EmsAbVoiceMailGreetings, EmsAbVoiceMailPassword, EmsAbVoiceMailRecordedName, EmsAbVoiceMailRecordingLength, EmsAbVoiceMailSpeed, EmsAbVoiceMailSystemGuid, EmsAbVoiceMailUserId, EmsAbVoiceMailVolume, EmsAbWwwHomePage, EmsAbX121Address, EmsAbX25CallUserDataIncoming, EmsAbX25CallUserDataOutgoing, EmsAbX25FacilitiesDataIncoming, EmsAbX25FacilitiesDataOutgoing, EmsAbX25LeasedLinePort, EmsAbX25LeasedOrSwitched, EmsAbX25RemoteMtaPhone, EmsAbX400AttachmentType, EmsAbX400SelectorSyntax, EmsAbX500AccessControlList, EmsAbX500Nc, EmsAbX500Rdn, EmsAbXmitTimeoutNonUrgent, EmsAbXmitTimeoutNormal, EmsAbXmitTimeoutUrgent, EventsRootFolderEntryid, ExcessStorageUsed, ExtendedAclData, FastTransfer, FavoritesDefaultName, FolderChildCount, FolderDesignFlags, FolderPathname, ForeignId, ForeignReportId, ForeignSubjectId, FreeBusyForLocalSiteEntryid, GwAdminOperations, GwMtsinEntryid, GwMtsoutEntryid, HasModeratorRules, HierarchyServer, HierarchySynchronizer, ImapInternalDate, InTransit, InboundNewsfeedDn, InternetCharset, InternetNewsgroupName, IpmDafEntryid, IpmFavoritesEntryid, IpmPublicFoldersEntryid, IsNewsgroup, IsNewsgroupAnchor, LastAccessTime, LastFullBackup, LastLogoffTime, LastLogonTime, LongtermEntryidFromTable, MessageProcessed, MessageSiteName, MoveToFolderEntryid, MoveToStoreEntryid, MsgBodyId, MtsSubjectId, NewSubsGetAutoAdd, NewsfeedInfo, NewsgroupComponent, NewsgroupRootFolderEntryid, NntpArticleFolderEntryid, NntpControlFolderEntryid, NonIpmSubtreeEntryid, NormalMessageSize, NormalMessageSizeExtended, NormalMsgWAttachCount, NtUserName, OfflineAddrbookEntryid, OfflineFlags, OfflineMessageEntryid, OldestDeletedOn, OriginatorAddr, OriginatorAddrtype, OriginatorEntryid, OriginatorName, OstEncryption, OutboundNewsfeedDn, OverallAgeLimit, OverallMsgAgeLimit, OwaUrl, OwnerCount, P1Content, P1ContentType, PreventMsgCreate, Preview, PreviewUnread, ProfileAbFilesPath, ProfileAddrInfo, ProfileAllpubComment, ProfileAllpubDisplayName, ProfileBindingOrder, ProfileConfigFlags, ProfileConnectFlags, ProfileFavfldComment, ProfileFavfldDisplayName, ProfileHomeServer, ProfileHomeServerAddrs, ProfileHomeServerDn, ProfileMailbox, ProfileMaxRestrict, ProfileMoab, ProfileMoabGuid, ProfileMoabSeq, ProfileOfflineInfo, ProfileOfflineStorePath, ProfileOpenFlags, ProfileOptionsData, ProfileSecureMailbox, ProfileServer, ProfileServerDn, ProfileTransportFlags, ProfileType, ProfileUiState, ProfileUnresolvedName, ProfileUnresolvedServer, ProfileUser, ProfileVersion, PstEncryption, PstPath, PstPwSzOld, PstRememberPw, PublicFolderEntryid, PublishInAddressBook, RecipientNumber, RecipientOnAssocMsgCount, RecipientOnNormalMsgCount, ReplicaList, ReplicaServer, ReplicaVersion, ReplicationAlwaysInterval, ReplicationMessagePriority, ReplicationMsgSize, ReplicationSchedule, ReplicationStyle, ReplyRecipientSmtpProxies, ReportDestinationEntryid, ReportDestinationName, RestrictionCount, RetentionAgeLimit, RuleTriggerHistory, RulesData, RulesTable, ScheduleFolderEntryid, SecureInSite, SecureOrigination, StorageLimitInformation, StorageQuotaLimit, StoreOffline, StoreSlowlink, SubjectTraceInfo, SvrGeneratingQuotaMsg, SynchronizeFlags, SysConfigFolderEntryid, TestLineSpeed, TraceInfo, TransferEnabled, UserName, X400EnvelopeType, AbDefaultDir, AbDefaultPab, AbProviderId, AbProviders, AbSearchPath, AbSearchPathUpdate, AlternateRecipient, AssocContentCount, AttachmentX400Parameters, AuthorizingUsers, BodyCrc, CommonViewsEntryid, ContactAddrtypes, ContactDefaultAddressIndex, ContactEmailAddresses, ContactEntryids, ContactVersion, ContainerModifyVersion, ContentConfidentialityAlgorithmId, ContentCorrelator, ContentIdentifier, ContentIntegrityCheck, ContentLength, ContentReturnRequested, ContentsSortOrder, ControlFlags, ControlId, ControlStructure, ControlType, ConversationKey, ConversionEits, ConversionProhibited, ConversionWithLossProhibited, ConvertedEits, Correlate, CorrelateMtsid, CreateTemplates, CreationVersion, ExCurrentVersion, DefCreateDl, DefCreateMailuser, DefaultProfile, DefaultStore, DefaultViewEntryid, Delegation, DeliveryPoint, Deltax, Deltay, DetailsTable, DiscVal, DiscardReason, DiscloseRecipients, DisclosureOfRecipients, DiscreteValues, DlExpansionHistory, DlExpansionProhibited, ExplicitConversion, FilteringHooks, FinderEntryid, FormCategory, FormCategorySub, FormClsid, FormContactName, FormDesignerGuid, FormDesignerName, FormHidden, FormHostMap, FormMessageBehavior, FormVersion, HeaderFolderEntryid, Icon, IdentityDisplay, IdentityEntryid, IdentitySearchKey, ImplicitConversionProhibited, IncompleteCopy, InternetApproved, InternetArticleNumber, InternetControl, InternetDistribution, InternetFollowupTo, InternetLines, InternetNewsgroups, InternetNntpPath, InternetOrganization, InternetPrecedence, IpmId, IpmOutboxEntryid, IpmOutboxSearchKey, IpmReturnRequested, IpmSentmailEntryid, IpmSentmailSearchKey, IpmSubtreeEntryid, IpmSubtreeSearchKey, IpmWastebasketEntryid, IpmWastebasketSearchKey, Languages, LatestDeliveryTime, MailPermission, MdbProvider, MessageDeliveryId, MessageDownloadTime, MessageSecurityLabel, MessageToken, MiniIcon, ModifyVersion, NewsgroupName, NntpXref, NonReceiptReason, ObsoletedIpms, OriginCheck, OriginalAuthorAddrtype, OriginalAuthorEmailAddress, OriginalAuthorSearchKey, OriginalDisplayName, OriginalEits, OriginalSearchKey, OriginallyIntendedRecipAddrtype, OriginallyIntendedRecipEmailAddress, OriginallyIntendedRecipEntryid, OriginallyIntendedRecipientName, OriginatingMtaCertificate, OriginatorAndDlExpansionHistory, OriginatorCertificate, OriginatorRequestedAlternateRecipient, OriginatorReturnAddress, OwnStoreEntryid, ParentDisplay, PhysicalDeliveryBureauFaxDelivery, PhysicalDeliveryMode, PhysicalDeliveryReportRequest, PhysicalForwardingAddress, PhysicalForwardingAddressRequested, PhysicalForwardingProhibited, PhysicalRenditionAttributes, PostFolderEntries, PostFolderNames, PostReplyDenied, PostReplyFolderEntries, PostReplyFolderNames, Preprocess, PrimaryCapability, ProfileName, ProofOfDelivery, ProofOfDeliveryRequested, ProofOfSubmission, ProofOfSubmissionRequested, ProviderDisplay, ProviderDllName, ProviderOrdinal, ProviderSubmitTime, ProviderUid, ReceiveFolderSettings, RecipientCertificate, RecipientNumberForAdvice, RecipientStatus, RedirectionHistory, RegisteredMailType, RelatedIpms, RemoteProgress, RemoteProgressText, RemoteValidateOk, ReportingDlName, ReportingMtaCertificate, RequestedDeliveryMethod, ResourceFlags, ResourceMethods, ResourcePath, ResourceType, ReturnedIpm, RtfSyncBodyCount, RtfSyncBodyCrc, RtfSyncBodyTag, RtfSyncPrefixCount, RtfSyncTrailingCount, Search, ExSecurity, SentmailEntryid, ServiceDeleteFiles, ServiceDllName, ServiceEntryName, ServiceExtraUids, ServiceName, ServiceSupportFiles, ServiceUid, Services, SpoolerStatus, Status, StatusCode, StatusString, StoreProviders, StoreRecordKey, SubjectIpm, SubmitFlags, Supersedes, TransportKey, TransportProviders, TransportStatus, TypeOfMtsUser, ValidFolderMask, ViewsEntryid, X400ContentType, X400DeferredDeliveryCancel, Xpos, Ypos | [optional] +**name** | **str** | Known property name. See all known properties here: https://apireference.aspose.com/email/net/aspose.email.mapi/knownpropertylist/fields/index Possible values: Mileage, ObjectUri, GDataContactVersion, GDataPhotoVersion, AddressBookProviderArrayType, AddressBookProviderEmailList, AddressCountryCode, AgingDontAgeMe, AllAttendeesString, AllowExternalCheck, AnniversaryEventEntryId, AppointmentAuxiliaryFlags, AppointmentColor, AppointmentCounterProposal, AppointmentDuration, AppointmentEndDate, AppointmentEndTime, AppointmentEndWhole, AppointmentLastSequence, AppointmentMessageClass, AppointmentNotAllowPropose, AppointmentProposalNumber, AppointmentProposedDuration, AppointmentProposedEndWhole, AppointmentProposedStartWhole, AppointmentRecur, AppointmentReplyName, AppointmentReplyTime, AppointmentSequence, AppointmentSequenceTime, AppointmentStartDate, AppointmentStartTime, AppointmentStartWhole, AppointmentStateFlags, AppointmentSubType, AppointmentTimeZoneDefinitionEndDisplay, AppointmentTimeZoneDefinitionRecur, AppointmentTimeZoneDefinitionStartDisplay, AppointmentUnsendableRecipients, AppointmentUpdateTime, AttendeeCriticalChange, AutoFillLocation, AutoLog, AutoProcessState, AutoStartCheck, Billing, BirthdayEventEntryId, BirthdayLocal, BusinessCardCardPicture, BusinessCardDisplayDefinition, BusyStatus, CalendarType, Categories, CcAttendeesString, ChangeHighlight, Classification, ClassificationDescription, ClassificationGuid, ClassificationKeep, Classified, CleanGlobalObjectId, ClientIntent, ClipEnd, ClipStart, CollaborateDoc, CommonEnd, CommonStart, Companies, ConferencingCheck, ConferencingType, ContactCharacterSet, ContactItemData, ContactLinkedGlobalAddressListEntryId, ContactLinkEntry, ContactLinkGlobalAddressListLinkId, ContactLinkGlobalAddressListLinkState, ContactLinkLinkRejectHistory, ContactLinkName, ContactLinkSearchKey, ContactLinkSMTPAddressCache, Contacts, ContactUserField1, ContactUserField2, ContactUserField3, ContactUserField4, ConversationActionLastAppliedTime, ConversationActionMaxDeliveryTime, ConversationActionMoveFolderEid, ConversationActionMoveStoreEid, ConversationActionVersion, ConversationProcessed, CurrentVersion, CurrentVersionName, DayInterval, DayOfMonth, DelegateMail, Department, Directory, DistributionListChecksum, DistributionListMembers, DistributionListName, DistributionListOneOffMembers, DistributionListStream, Email1AddressType, Email1DisplayName, Email1EmailAddress, Email1OriginalDisplayName, Email1OriginalEntryId, Email2AddressType, Email2DisplayName, Email2EmailAddress, Email2OriginalDisplayName, Email2OriginalEntryId, Email3AddressType, Email3DisplayName, Email3EmailAddress, Email3OriginalDisplayName, Email3OriginalEntryId, EndRecurrenceDate, EndRecurrenceTime, ExceptionReplaceTime, Fax1AddressType, Fax1EmailAddress, Fax1OriginalDisplayName, Fax1OriginalEntryId, Fax2AddressType, Fax2EmailAddress, Fax2OriginalDisplayName, Fax2OriginalEntryId, Fax3AddressType, Fax3EmailAddress, Fax3OriginalDisplayName, Fax3OriginalEntryId, FExceptionalAttendees, FExceptionalBody, FileUnder, FileUnderId, FileUnderList, FInvited, FlagRequest, FlagString, ForwardInstance, ForwardNotificationRecipients, FOthersAppointment, FreeBusyLocation, GlobalObjectId, HasPicture, HomeAddress, HomeAddressCountryCode, Html, ICalendarDayOfWeekMask, InboundICalStream, InfoPathFormName, InstantMessagingAddress, IntendedBusyStatus, InternetAccountName, InternetAccountStamp, IsContactLinked, IsException, IsRecurring, IsSilent, LinkedTaskItems, Location, LogDocumentPosted, LogDocumentPrinted, LogDocumentRouted, LogDocumentSaved, LogDuration, LogEnd, LogFlags, LogStart, LogType, LogTypeDesc, MeetingType, MeetingWorkspaceUrl, MonthInterval, MonthOfYear, MonthOfYearMask, NetShowUrl, NoEndDateFlag, NonSendableBcc, NonSendableCc, NonSendableTo, NonSendBccTrackStatus, NonSendCcTrackStatus, NonSendToTrackStatus, NoteColor, NoteHeight, NoteWidth, NoteX, NoteY, Occurrences, OldLocation, OldRecurrenceType, OldWhenEndWhole, OldWhenStartWhole, OnlinePassword, OptionalAttendees, OrganizerAlias, OriginalStoreEntryId, OtherAddress, OtherAddressCountryCode, OwnerCriticalChange, OwnerName, PendingStateForSiteMailboxDocument, PercentComplete, PostalAddressId, PostRssChannel, PostRssChannelLink, PostRssItemGuid, PostRssItemHash, PostRssItemLink, PostRssItemXml, PostRssSubscription, Private, PromptSendUpdate, RecurrenceDuration, RecurrencePattern, RecurrenceType, Recurring, ReferenceEntryId, ReminderDelta, ReminderFileParameter, ReminderOverride, ReminderPlaySound, ReminderSet, ReminderSignalTime, ReminderTime, ReminderTimeDate, ReminderTimeTime, ReminderType, RemoteStatus, RequiredAttendees, ResourceAttendees, ResponseStatus, ServerProcessed, ServerProcessingActions, SharingAnonymity, SharingBindingEntryId, SharingBrowseUrl, SharingCapabilities, SharingConfigurationUrl, SharingDataRangeEnd, SharingDataRangeStart, SharingDetail, SharingExtensionXml, SharingFilter, SharingFlags, SharingFlavor, SharingFolderEntryId, SharingIndexEntryId, SharingInitiatorEntryId, SharingInitiatorName, SharingInitiatorSmtp, SharingInstanceGuid, SharingLastAutoSyncTime, SharingLastSyncTime, SharingLocalComment, SharingLocalLastModificationTime, SharingLocalName, SharingLocalPath, SharingLocalStoreUid, SharingLocalType, SharingLocalUid, SharingOriginalMessageEntryId, SharingParentBindingEntryId, SharingParticipants, SharingPermissions, SharingProviderExtension, SharingProviderGuid, SharingProviderName, SharingProviderUrl, SharingRangeEnd, SharingRangeStart, SharingReciprocation, SharingRemoteByteSize, SharingRemoteComment, SharingRemoteCrc, SharingRemoteLastModificationTime, SharingRemoteMessageCount, SharingRemoteName, SharingRemotePass, SharingRemotePath, SharingRemoteStoreUid, SharingRemoteType, SharingRemoteUid, SharingRemoteUser, SharingRemoteVersion, SharingResponseTime, SharingResponseType, SharingRoamLog, SharingStart, SharingStatus, SharingStop, SharingSyncFlags, SharingSyncInterval, SharingTimeToLive, SharingTimeToLiveAuto, SharingWorkingHoursDays, SharingWorkingHoursEnd, SharingWorkingHoursStart, SharingWorkingHoursTimeZone, SideEffects, SingleBodyICal, SmartNoAttach, SpamOriginalFolder, StartRecurrenceDate, StartRecurrenceTime, TaskAcceptanceState, TaskAccepted, TaskActualEffort, TaskAssigner, TaskAssigners, TaskComplete, TaskCustomFlags, TaskDateCompleted, TaskDeadOccurrence, TaskDueDate, TaskEstimatedEffort, TaskFCreator, TaskFFixOffline, TaskFRecurring, TaskGlobalId, TaskHistory, TaskLastDelegate, TaskLastUpdate, TaskLastUser, TaskMode, TaskMultipleRecipients, TaskNoCompute, TaskOrdinal, TaskOwner, TaskOwnership, TaskRecurrence, TaskResetReminder, TaskRole, TaskStartDate, TaskState, TaskStatus, TaskStatusOnComplete, TaskUpdates, TaskVersion, TeamTask, TimeZone, TimeZoneDescription, TimeZoneStruct, ToAttendeesString, ToDoOrdinalDate, ToDoSubOrdinal, ToDoTitle, UseTnef, ValidFlagStringProof, VerbResponse, VerbStream, WeddingAnniversaryLocal, WeekInterval, Where, WorkAddress, WorkAddressCity, WorkAddressCountry, WorkAddressCountryCode, WorkAddressPostalCode, WorkAddressPostOfficeBox, WorkAddressState, WorkAddressStreet, YearInterval, YomiCompanyName, YomiFirstName, YomiLastName, AcceptLanguage, ApplicationName, AttachmentMacContentType, AttachmentMacInfo, AudioNotes, Author, AutomaticSpeechRecognitionData, ByteCount, CalendarAttendeeRole, CalendarBusystatus, CalendarContact, CalendarContactUrl, CalendarCreated, CalendarDescriptionUrl, CalendarDuration, CalendarExceptionDate, CalendarExceptionRule, CalendarGeoLatitude, CalendarGeoLongitude, CalendarInstanceType, CalendarIsOrganizer, CalendarLastModified, CalendarLocationUrl, CalendarMeetingStatus, CalendarMethod, CalendarProductId, CalendarRecurrenceIdRange, CalendarReminderOffset, CalendarResources, CalendarRsvp, CalendarSequence, CalendarTimeZone, CalendarTimeZoneId, CalendarTransparent, CalendarUid, CalendarVersion, Category, CharacterCount, Comments, Company, ContentBase, ContentClass, ContentType, CreateDateTimeReadOnly, CrossReference, DavId, DavIsCollection, DavIsStructuredDocument, DavParentName, DavUid, DocumentParts, EditTime, ExchangeIntendedBusyStatus, ExchangeJunkEmailMoveStamp, ExchangeModifyExceptionStructure, ExchangeNoModifyExceptions, ExchangePatternEnd, ExchangePatternStart, ExchangeReminderInterval, ExchDatabaseSchema, ExchDataExpectedContentClass, ExchDataSchemaCollectionReference, ExtractedAddresses, ExtractedContacts, ExtractedEmails, ExtractedMeetings, ExtractedPhones, ExtractedTasks, ExtractedUrls, From, HeadingPairs, HiddenCount, HttpmailCalendar, HttpmailHtmlDescription, HttpmailSendMessage, ICalendarRecurrenceDate, ICalendarRecurrenceRule, InternetSubject, Keywords, LastAuthor, LastPrinted, LastSaveDateTime, LineCount, LinksDirty, LocationUrl, Manager, MultimediaClipCount, NoteCount, OMSAccountGuid, OMSMobileModel, OMSScheduleTime, OMSServiceType, OMSSourceType, PageCount, ParagraphCount, PhishingStamp, PresentationFormat, QuarantineOriginalSender, RevisionNumber, RightsManagementLicense, Scale, Security, SlideCount, Subject, Template, Thumbnail, Title, WordCount, XCallId, XFaxNumberOfPages, XRequireProtectedPlayOnPhone, XSenderTelephoneNumber, XSharingBrowseUrl, XSharingCapabilities, XSharingConfigUrl, XSharingExendedCaps, XSharingFlavor, XSharingInstanceGuid, XSharingLocalType, XSharingProviderGuid, XSharingProviderName, XSharingProviderUrl, XSharingRemoteName, XSharingRemotePath, XSharingRemoteStoreUid, XSharingRemoteType, XSharingRemoteUid, XVoiceMessageAttachmentOrder, XVoiceMessageDuration, XVoiceMessageSenderName, Access, AccessControlListData, AccessLevel, Account, AdditionalRenEntryIds, AdditionalRenEntryIdsEx, AddressBookAuthorizedSenders, AddressBookContainerId, AddressBookDeliveryContentLength, AddressBookDisplayNamePrintable, AddressBookDisplayTypeExtended, AddressBookDistributionListExternalMemberCount, AddressBookDistributionListMemberCount, AddressBookDistributionListMemberSubmitAccepted, AddressBookDistributionListMemberSubmitRejected, AddressBookDistributionListRejectMessagesFromDLMembers, AddressBookEntryId, AddressBookExtensionAttribute1, AddressBookExtensionAttribute10, AddressBookExtensionAttribute11, AddressBookExtensionAttribute12, AddressBookExtensionAttribute13, AddressBookExtensionAttribute14, AddressBookExtensionAttribute15, AddressBookExtensionAttribute2, AddressBookExtensionAttribute3, AddressBookExtensionAttribute4, AddressBookExtensionAttribute5, AddressBookExtensionAttribute6, AddressBookExtensionAttribute7, AddressBookExtensionAttribute8, AddressBookExtensionAttribute9, AddressBookFolderPathname, AddressBookHierarchicalChildDepartments, AddressBookHierarchicalDepartmentMembers, AddressBookHierarchicalIsHierarchicalGroup, AddressBookHierarchicalParentDepartment, AddressBookHierarchicalRootDepartment, AddressBookHierarchicalShowInDepartments, AddressBookHomeMessageDatabase, AddressBookIsMaster, AddressBookIsMemberOfDistributionList, AddressBookManageDistributionList, AddressBookManager, AddressBookManagerDistinguishedName, AddressBookMember, AddressBookMessageId, AddressBookModerationEnabled, AddressBookNetworkAddress, AddressBookObjectDistinguishedName, AddressBookObjectGuid, AddressBookOrganizationalUnitRootDistinguishedName, AddressBookOwner, AddressBookOwnerBackLink, AddressBookParentEntryId, AddressBookPhoneticCompanyName, AddressBookPhoneticDepartmentName, AddressBookPhoneticDisplayName, AddressBookPhoneticGivenName, AddressBookPhoneticSurname, AddressBookProxyAddresses, AddressBookPublicDelegates, AddressBookReports, AddressBookRoomCapacity, AddressBookRoomContainers, AddressBookRoomDescription, AddressBookSenderHintTranslations, AddressBookSeniorityIndex, AddressBookTargetAddress, AddressBookUnauthorizedSenders, AddressBookX509Certificate, AddressType, AlternateRecipientAllowed, Anr, ArchiveDate, ArchivePeriod, ArchiveTag, Assistant, AssistantTelephoneNumber, Associated, AttachAdditionalInformation, AttachContentBase, AttachContentId, AttachContentLocation, AttachDataBinary, AttachDataObject, AttachEncoding, AttachExtension, AttachFilename, AttachFlags, AttachLongFilename, AttachLongPathname, AttachmentContactPhoto, AttachmentFlags, AttachmentHidden, AttachmentLinkId, AttachMethod, AttachMimeTag, AttachNumber, AttachPathname, AttachPayloadClass, AttachPayloadProviderGuidString, AttachRendering, AttachSize, AttachTag, AttachTransportName, AttributeHidden, AttributeReadOnly, AutoForwardComment, AutoForwarded, AutoResponseSuppress, Birthday, BlockStatus, Body, BodyContentId, BodyContentLocation, BodyHtml, Business2TelephoneNumber, Business2TelephoneNumbers, BusinessFaxNumber, BusinessHomePage, BusinessTelephoneNumber, CallbackTelephoneNumber, CallId, CarTelephoneNumber, CdoRecurrenceid, ChangeKey, ChangeNumber, ChildrensNames, ClientActions, ClientSubmitTime, CodePageId, Comment, CompanyMainTelephoneNumber, CompanyName, ComputerNetworkName, ConflictEntryId, ContainerClass, ContainerContents, ContainerFlags, ContainerHierarchy, ContentCount, ContentFilterSpamConfidenceLevel, ContentUnreadCount, ConversationId, ConversationIndex, ConversationIndexTracking, ConversationTopic, Country, CreationTime, CreatorEntryId, CreatorName, CustomerId, DamBackPatched, DamOriginalEntryId, DefaultPostMessageClass, DeferredActionMessageOriginalEntryId, DeferredDeliveryTime, DeferredSendNumber, DeferredSendTime, DeferredSendUnits, DelegatedByRule, DelegateFlags, DeleteAfterSubmit, DeletedCountTotal, DeletedOn, DeliverTime, DepartmentName, Depth, DisplayBcc, DisplayCc, DisplayName, DisplayNamePrefix, DisplayTo, DisplayType, DisplayTypeEx, EmailAddress, EndDate, EntryId, ExceptionEndTime, TagExceptionReplaceTime, ExceptionStartTime, ExchangeNTSecurityDescriptor, ExpiryNumber, ExpiryTime, ExpiryUnits, ExtendedFolderFlags, ExtendedRuleMessageActions, ExtendedRuleMessageCondition, ExtendedRuleSizeLimit, FaxNumberOfPages, FlagCompleteTime, FlagStatus, FlatUrlName, FolderAssociatedContents, FolderId, FolderFlags, FolderType, FollowupIcon, FreeBusyCountMonths, FreeBusyEntryIds, FreeBusyMessageEmailAddress, FreeBusyPublishEnd, FreeBusyPublishStart, FreeBusyRangeTimestamp, FtpSite, GatewayNeedsToRefresh, Gender, Generation, GivenName, GovernmentIdNumber, HasAttachments, HasDeferredActionMessages, HasNamedProperties, HasRules, HierarchyChangeNumber, HierRev, Hobbies, Home2TelephoneNumber, Home2TelephoneNumbers, HomeAddressCity, HomeAddressCountry, HomeAddressPostalCode, HomeAddressPostOfficeBox, HomeAddressStateOrProvince, HomeAddressStreet, HomeFaxNumber, HomeTelephoneNumber, TagHtml, ICalendarEndTime, ICalendarReminderNextTime, ICalendarStartTime, IconIndex, Importance, InConflict, InitialDetailsPane, Initials, InReplyToId, InstanceKey, InstanceNum, InstID, InternetCodepage, InternetMailOverrideFormat, InternetMessageId, InternetReferences, IpmAppointmentEntryId, IpmContactEntryId, IpmDraftsEntryId, IpmJournalEntryId, IpmNoteEntryId, IpmTaskEntryId, IsdnNumber, JunkAddRecipientsToSafeSendersList, JunkIncludeContacts, JunkPermanentlyDelete, JunkPhishingEnableLinks, JunkThreshold, Keyword, Language, LastModificationTime, LastModifierEntryId, LastModifierName, LastVerbExecuted, LastVerbExecutionTime, ListHelp, ListSubscribe, ListUnsubscribe, LocalCommitTime, LocalCommitTimeMax, LocaleId, Locality, TagLocation, MailboxOwnerEntryId, MailboxOwnerName, ManagerName, MappingSignature, MaximumSubmitMessageSize, MemberId, MemberName, MemberRights, MessageAttachments, MessageCcMe, MessageClass, MessageCodepage, MessageDeliveryTime, MessageEditorFormat, MessageFlags, MessageHandlingSystemCommonName, MessageLocaleId, MessageRecipientMe, MessageRecipients, MessageSize, MessageSizeExtended, MessageStatus, MessageSubmissionId, MessageToMe, Mid, MiddleName, MimeSkeleton, MobileTelephoneNumber, NativeBody, NextSendAcct, Nickname, NonDeliveryReportDiagCode, NonDeliveryReportReasonCode, NonDeliveryReportStatusCode, NonReceiptNotificationRequested, NormalizedSubject, ObjectType, OfficeLocation, OfflineAddressBookContainerGuid, OfflineAddressBookDistinguishedName, OfflineAddressBookMessageClass, OfflineAddressBookName, OfflineAddressBookSequence, OfflineAddressBookTruncatedProperties, OrdinalMost, OrganizationalIdNumber, OriginalAuthorEntryId, OriginalAuthorName, OriginalDeliveryTime, OriginalDisplayBcc, OriginalDisplayCc, OriginalDisplayTo, OriginalEntryId, OriginalMessageClass, OriginalMessageId, OriginalSenderAddressType, OriginalSenderEmailAddress, OriginalSenderEntryId, OriginalSenderName, OriginalSenderSearchKey, OriginalSensitivity, OriginalSentRepresentingAddressType, OriginalSentRepresentingEmailAddress, OriginalSentRepresentingEntryId, OriginalSentRepresentingName, OriginalSentRepresentingSearchKey, OriginalSubject, OriginalSubmitTime, OriginatorDeliveryReportRequested, OriginatorNonDeliveryReportRequested, OscSyncEnabled, OtherAddressCity, OtherAddressCountry, OtherAddressPostalCode, OtherAddressPostOfficeBox, OtherAddressStateOrProvince, OtherAddressStreet, OtherTelephoneNumber, OutOfOfficeState, OwnerAppointmentId, PagerTelephoneNumber, ParentEntryId, ParentFolderId, ParentKey, ParentSourceKey, PersonalHomePage, PolicyTag, PostalAddress, PostalCode, PostOfficeBox, PredecessorChangeList, PrimaryFaxNumber, PrimarySendAccount, PrimaryTelephoneNumber, Priority, Processed, Profession, ProhibitReceiveQuota, ProhibitSendQuota, PurportedSenderDomain, RadioTelephoneNumber, Read, ReadReceiptAddressType, ReadReceiptEmailAddress, ReadReceiptEntryId, ReadReceiptName, ReadReceiptRequested, ReadReceiptSearchKey, ReadReceiptSmtpAddress, ReceiptTime, ReceivedByAddressType, ReceivedByEmailAddress, ReceivedByEntryId, ReceivedByName, ReceivedBySearchKey, ReceivedBySmtpAddress, ReceivedRepresentingAddressType, ReceivedRepresentingEmailAddress, ReceivedRepresentingEntryId, ReceivedRepresentingName, ReceivedRepresentingSearchKey, ReceivedRepresentingSmtpAddress, RecipientDisplayName, RecipientEntryId, RecipientFlags, RecipientOrder, RecipientProposed, RecipientProposedEndTime, RecipientProposedStartTime, RecipientReassignmentProhibited, RecipientTrackStatus, RecipientTrackStatusTime, RecipientType, RecordKey, ReferredByName, RemindersOnlineEntryId, RemoteMessageTransferAgent, RenderingPosition, ReplyRecipientEntries, ReplyRecipientNames, ReplyRequested, ReplyTemplateId, ReplyTime, ReportDisposition, ReportDispositionMode, ReportEntryId, ReportingMessageTransferAgent, ReportName, ReportSearchKey, ReportTag, ReportText, ReportTime, ResolveMethod, ResponseRequested, Responsibility, RetentionDate, RetentionFlags, RetentionPeriod, Rights, RoamingDatatypes, RoamingDictionary, RoamingXmlStream, Rowid, RowType, RtfCompressed, RtfInSync, RuleActionNumber, RuleActions, RuleActionType, RuleCondition, RuleError, RuleFolderEntryId, RuleId, RuleIds, RuleLevel, RuleMessageLevel, RuleMessageName, RuleMessageProvider, RuleMessageProviderData, RuleMessageSequence, RuleMessageState, RuleMessageUserFlags, RuleName, RuleProvider, RuleProviderData, RuleSequence, RuleState, RuleUserFlags, RwRulesStream, ScheduleInfoAppointmentTombstone, ScheduleInfoAutoAcceptAppointments, ScheduleInfoDelegateEntryIds, ScheduleInfoDelegateNames, ScheduleInfoDelegateNamesW, ScheduleInfoDelegatorWantsCopy, ScheduleInfoDelegatorWantsInfo, ScheduleInfoDisallowOverlappingAppts, ScheduleInfoDisallowRecurringAppts, ScheduleInfoDontMailDelegates, ScheduleInfoFreeBusy, ScheduleInfoFreeBusyAway, ScheduleInfoFreeBusyBusy, ScheduleInfoFreeBusyMerged, ScheduleInfoFreeBusyTentative, ScheduleInfoMonthsAway, ScheduleInfoMonthsBusy, ScheduleInfoMonthsMerged, ScheduleInfoMonthsTentative, ScheduleInfoResourceType, SchedulePlusFreeBusyEntryId, ScriptData, SearchFolderDefinition, SearchFolderEfpFlags, SearchFolderExpiration, SearchFolderId, SearchFolderLastUsed, SearchFolderRecreateInfo, SearchFolderStorageType, SearchFolderTag, SearchFolderTemplateId, SearchKey, SecurityDescriptorAsXml, Selectable, SenderAddressType, SenderEmailAddress, SenderEntryId, SenderIdStatus, SenderName, SenderSearchKey, SenderSmtpAddress, SenderTelephoneNumber, SendInternetEncoding, SendRichInfo, Sensitivity, SentMailSvrEID, SentRepresentingAddressType, SentRepresentingEmailAddress, SentRepresentingEntryId, SentRepresentingFlags, SentRepresentingName, SentRepresentingSearchKey, SentRepresentingSmtpAddress, SmtpAddress, SortLocaleId, SourceKey, SpokenName, SpouseName, StartDate, StartDateEtc, StateOrProvince, StoreEntryId, StoreState, StoreSupportMask, StreetAddress, Subfolders, TagSubject, SubjectPrefix, SupplementaryInfo, Surname, SwappedToDoData, SwappedToDoStore, TargetEntryId, TelecommunicationsDeviceForDeafTelephoneNumber, TelexNumber, TemplateData, Templateid, TextAttachmentCharset, ThumbnailPhoto, TagTitle, TnefCorrelationKey, ToDoItemFlags, TransmittableDisplayName, TransportMessageHeaders, TrustSender, UserCertificate, UserEntryId, UserX509Certificate, ViewDescriptorBinary, ViewDescriptorName, ViewDescriptorStrings, ViewDescriptorVersion, VoiceMessageAttachmentOrder, VoiceMessageDuration, VoiceMessageSenderName, WeddingAnniversary, WlinkAddressBookEID, WlinkAddressBookStoreEID, WlinkCalendarColor, WlinkClientID, WlinkEntryId, WlinkFlags, WlinkFolderType, WlinkGroupClsid, WlinkGroupHeaderID, WlinkGroupName, WlinkOrdinal, WlinkRecordKey, WlinkROGroupType, WlinkSaveStamp, WlinkSection, WlinkStoreEntryId, WlinkType, Abstract, ActiveUserEntryid, AddrbookForLocalSiteEntryid, AddressBookDisplayName, ArrivalTime, AssocMessageSize, AssocMessageSizeExtended, AssocMsgWAttachCount, AttachOnAssocMsgCount, AttachOnNormalMsgCount, AutoAddNewSubs, BilateralInfo, CachedColumnCount, CategCount, ChangeAdvisor, ChangeNotificationGuid, Collector, ContactCount, ContentSearchKey, ContentsSynchronizer, DeletedAssocMessageSizeExtended, DeletedAssocMsgCount, DeletedFolderCount, DeletedMessageSizeExtended, DeletedMsgCount, DeletedNormalMessageSizeExtended, DesignInProgress, DisableFullFidelity, DisableWinsock, DlReportFlags, EformsForLocaleEntryid, EformsLocaleId, EformsRegistryEntryid, EmsAbAccessCategory, EmsAbActivationSchedule, EmsAbActivationStyle, EmsAbAddressEntryDisplayTable, EmsAbAddressEntryDisplayTableMsdos, EmsAbAddressSyntax, EmsAbAddressType, EmsAbAdmd, EmsAbAdminDescription, EmsAbAdminDisplayName, EmsAbAdminExtensionDll, EmsAbAliasedObjectName, EmsAbAliasedObjectNameO, EmsAbAltRecipient, EmsAbAltRecipientBl, EmsAbAltRecipientBlO, EmsAbAltRecipientO, EmsAbAncestorId, EmsAbAnonymousAccess, EmsAbAnonymousAccount, EmsAbAssocNtAccount, EmsAbAssocProtocolCfgNntp, EmsAbAssocProtocolCfgNntpO, EmsAbAssocRemoteDxa, EmsAbAssocRemoteDxaO, EmsAbAssociationLifetime, EmsAbAttributeCertificate, EmsAbAuthOrigBl, EmsAbAuthOrigBlO, EmsAbAuthenticationToUse, EmsAbAuthorityRevocationList, EmsAbAuthorizedDomain, EmsAbAuthorizedPassword, EmsAbAuthorizedPasswordConfirm, EmsAbAuthorizedUser, EmsAbAutoreply, EmsAbAutoreplyMessage, EmsAbAutoreplySubject, EmsAbAvailableAuthorizationPackages, EmsAbAvailableDistributions, EmsAbBridgeheadServers, EmsAbBridgeheadServersO, EmsAbBusinessCategory, EmsAbBusinessRoles, EmsAbCaCertificate, EmsAbCanCreatePf, EmsAbCanCreatePfBl, EmsAbCanCreatePfBlO, EmsAbCanCreatePfDl, EmsAbCanCreatePfDlBl, EmsAbCanCreatePfDlBlO, EmsAbCanCreatePfDlO, EmsAbCanCreatePfO, EmsAbCanNotCreatePf, EmsAbCanNotCreatePfBl, EmsAbCanNotCreatePfBlO, EmsAbCanNotCreatePfDl, EmsAbCanNotCreatePfDlBl, EmsAbCanNotCreatePfDlBlO, EmsAbCanNotCreatePfDlO, EmsAbCanNotCreatePfO, EmsAbCanPreserveDns, EmsAbCertificateChainV3, EmsAbCertificateRevocationList, EmsAbCertificateRevocationListV1, EmsAbCertificateRevocationListV3, EmsAbCharacterSet, EmsAbCharacterSetList, EmsAbChildRdns, EmsAbClientAccessEnabled, EmsAbClockAlertOffset, EmsAbClockAlertRepair, EmsAbClockWarningOffset, EmsAbClockWarningRepair, EmsAbCompromisedKeyList, EmsAbComputerName, EmsAbConnectedDomains, EmsAbConnectionListFilter, EmsAbConnectionListFilterType, EmsAbConnectionType, EmsAbContainerInfo, EmsAbContentType, EmsAbControlMsgFolderId, EmsAbControlMsgRules, EmsAbCost, EmsAbCountryName, EmsAbCrossCertificateCrl, EmsAbCrossCertificatePair, EmsAbDefaultMessageFormat, EmsAbDelegateUser, EmsAbDelivEits, EmsAbDelivExtContTypes, EmsAbDeliverAndRedirect, EmsAbDeliveryMechanism, EmsAbDeltaRevocationList, EmsAbDescription, EmsAbDestinationIndicator, EmsAbDiagnosticRegKey, EmsAbDisableDeferredCommit, EmsAbDisabledGatewayProxy, EmsAbDisplayNameOverride, EmsAbDisplayNameSuffix, EmsAbDlMemRejectPermsBl, EmsAbDlMemRejectPermsBlO, EmsAbDlMemberRule, EmsAbDmdName, EmsAbDoOabVersion, EmsAbDomainDefAltRecip, EmsAbDomainDefAltRecipO, EmsAbDomainName, EmsAbDsaSignature, EmsAbDxaAdminCopy, EmsAbDxaAdminForward, EmsAbDxaAdminUpdate, EmsAbDxaAppendReqcn, EmsAbDxaConfContainerList, EmsAbDxaConfContainerListO, EmsAbDxaConfReqTime, EmsAbDxaConfSeq, EmsAbDxaConfSeqUsn, EmsAbDxaExchangeOptions, EmsAbDxaExportNow, EmsAbDxaFlags, EmsAbDxaImpSeq, EmsAbDxaImpSeqTime, EmsAbDxaImpSeqUsn, EmsAbDxaImportNow, EmsAbDxaInTemplateMap, EmsAbDxaLocalAdmin, EmsAbDxaLocalAdminO, EmsAbDxaLoggingLevel, EmsAbDxaNativeAddressType, EmsAbDxaOutTemplateMap, EmsAbDxaPassword, EmsAbDxaPrevExchangeOptions, EmsAbDxaPrevExportNativeOnly, EmsAbDxaPrevInExchangeSensitivity, EmsAbDxaPrevRemoteEntries, EmsAbDxaPrevRemoteEntriesO, EmsAbDxaPrevReplicationSensitivity, EmsAbDxaPrevTemplateOptions, EmsAbDxaPrevTypes, EmsAbDxaRecipientCp, EmsAbDxaRemoteClient, EmsAbDxaRemoteClientO, EmsAbDxaReqSeq, EmsAbDxaReqSeqTime, EmsAbDxaReqSeqUsn, EmsAbDxaReqname, EmsAbDxaSvrSeq, EmsAbDxaSvrSeqTime, EmsAbDxaSvrSeqUsn, EmsAbDxaTask, EmsAbDxaTemplateOptions, EmsAbDxaTemplateTimestamp, EmsAbDxaTypes, EmsAbDxaUnconfContainerList, EmsAbDxaUnconfContainerListO, EmsAbEmployeeNumber, EmsAbEmployeeType, EmsAbEnableCompatibility, EmsAbEnabled, EmsAbEnabledAuthorizationPackages, EmsAbEnabledProtocolCfg, EmsAbEnabledProtocols, EmsAbEncapsulationMethod, EmsAbEncrypt, EmsAbEncryptAlgListNa, EmsAbEncryptAlgListOther, EmsAbEncryptAlgSelectedNa, EmsAbEncryptAlgSelectedOther, EmsAbExpandDlsLocally, EmsAbExpirationTime, EmsAbExportContainers, EmsAbExportContainersO, EmsAbExportCustomRecipients, EmsAbExtendedCharsAllowed, EmsAbExtensionData, EmsAbExtensionName, EmsAbExtensionNameInherited, EmsAbFacsimileTelephoneNumber, EmsAbFileVersion, EmsAbFilterLocalAddresses, EmsAbFoldersContainer, EmsAbFoldersContainerO, EmsAbFormData, EmsAbForwardingAddress, EmsAbGarbageCollPeriod, EmsAbGatewayLocalCred, EmsAbGatewayLocalDesig, EmsAbGatewayProxy, EmsAbGatewayRoutingTree, EmsAbGenerationQualifier, EmsAbGroupByAttr1, EmsAbGroupByAttr2, EmsAbGroupByAttr3, EmsAbGroupByAttr4, EmsAbGroupByAttrValueDn, EmsAbGroupByAttrValueDnO, EmsAbGroupByAttrValueStr, EmsAbGwartLastModified, EmsAbHasFullReplicaNcs, EmsAbHasFullReplicaNcsO, EmsAbHasMasterNcs, EmsAbHasMasterNcsO, EmsAbHelpData16, EmsAbHelpData32, EmsAbHelpFileName, EmsAbHeuristics, EmsAbHideDlMembership, EmsAbHideFromAddressBook, EmsAbHierarchyPath, EmsAbHomeMdbBl, EmsAbHomeMdbBlO, EmsAbHomeMta, EmsAbHomeMtaO, EmsAbHomePublicServer, EmsAbHomePublicServerO, EmsAbHouseIdentifier, EmsAbHttpPubAbAttributes, EmsAbHttpPubGal, EmsAbHttpPubGalLimit, EmsAbHttpPubPf, EmsAbHttpServers, EmsAbImportContainer, EmsAbImportContainerO, EmsAbImportSensitivity, EmsAbImportedFrom, EmsAbInboundAcceptAll, EmsAbInboundDn, EmsAbInboundDnO, EmsAbInboundHost, EmsAbInboundNewsfeed, EmsAbInboundNewsfeedType, EmsAbInboundSites, EmsAbInboundSitesO, EmsAbIncomingMsgSizeLimit, EmsAbIncomingPassword, EmsAbInsadmin, EmsAbInsadminO, EmsAbInstanceType, EmsAbInternationalIsdnNumber, EmsAbInvocationId, EmsAbIsDeleted, EmsAbIsSingleValued, EmsAbKccStatus, EmsAbKmServer, EmsAbKmServerO, EmsAbKnowledgeInformation, EmsAbLabeleduri, EmsAbLanguage, EmsAbLanguageIso639, EmsAbLdapDisplayName, EmsAbLdapSearchCfg, EmsAbLineWrap, EmsAbLinkId, EmsAbListPublicFolders, EmsAbLocalBridgeHead, EmsAbLocalBridgeHeadAddress, EmsAbLocalInitialTurn, EmsAbLocalScope, EmsAbLocalScopeO, EmsAbLogFilename, EmsAbLogRolloverInterval, EmsAbMailDrop, EmsAbMaintainAutoreplyHistory, EmsAbMapiDisplayType, EmsAbMapiId, EmsAbMaximumObjectId, EmsAbMdbBackoffInterval, EmsAbMdbMsgTimeOutPeriod, EmsAbMdbOverQuotaLimit, EmsAbMdbStorageQuota, EmsAbMdbUnreadLimit, EmsAbMdbUseDefaults, EmsAbMessageTrackingEnabled, EmsAbMimeTypes, EmsAbModerated, EmsAbModerator, EmsAbMonitorClock, EmsAbMonitorServers, EmsAbMonitorServices, EmsAbMonitoredConfigurations, EmsAbMonitoredConfigurationsO, EmsAbMonitoredServers, EmsAbMonitoredServersO, EmsAbMonitoredServices, EmsAbMonitoringAlertDelay, EmsAbMonitoringAlertUnits, EmsAbMonitoringAvailabilityStyle, EmsAbMonitoringAvailabilityWindow, EmsAbMonitoringCachedViaMail, EmsAbMonitoringCachedViaMailO, EmsAbMonitoringCachedViaRpc, EmsAbMonitoringCachedViaRpcO, EmsAbMonitoringEscalationProcedure, EmsAbMonitoringHotsitePollInterval, EmsAbMonitoringHotsitePollUnits, EmsAbMonitoringMailUpdateInterval, EmsAbMonitoringMailUpdateUnits, EmsAbMonitoringNormalPollInterval, EmsAbMonitoringNormalPollUnits, EmsAbMonitoringRecipients, EmsAbMonitoringRecipientsNdr, EmsAbMonitoringRecipientsNdrO, EmsAbMonitoringRecipientsO, EmsAbMonitoringRpcUpdateInterval, EmsAbMonitoringRpcUpdateUnits, EmsAbMonitoringWarningDelay, EmsAbMonitoringWarningUnits, EmsAbMtaLocalCred, EmsAbMtaLocalDesig, EmsAbNAddress, EmsAbNAddressType, EmsAbNewsfeedType, EmsAbNewsgroup, EmsAbNewsgroupList, EmsAbNntpCharacterSet, EmsAbNntpContentFormat, EmsAbNntpDistributions, EmsAbNntpDistributionsFlag, EmsAbNntpNewsfeeds, EmsAbNntpNewsfeedsO, EmsAbNtMachineName, EmsAbNtSecurityDescriptor, EmsAbNumOfOpenRetries, EmsAbNumOfTransferRetries, EmsAbObjViewContainers, EmsAbObjViewContainersO, EmsAbObjectClassCategory, EmsAbObjectOid, EmsAbObjectVersion, EmsAbOffLineAbContainers, EmsAbOffLineAbContainersO, EmsAbOffLineAbSchedule, EmsAbOffLineAbServer, EmsAbOffLineAbServerO, EmsAbOffLineAbStyle, EmsAbOidType, EmsAbOmObjectClass, EmsAbOmSyntax, EmsAbOofReplyToOriginator, EmsAbOpenRetryInterval, EmsAbOrganizationName, EmsAbOrganizationalUnitName, EmsAbOriginalDisplayTable, EmsAbOriginalDisplayTableMsdos, EmsAbOtherRecips, EmsAbOutboundHost, EmsAbOutboundHostType, EmsAbOutboundNewsfeed, EmsAbOutboundSites, EmsAbOutboundSitesO, EmsAbOutgoingMsgSizeLimit, EmsAbOverrideNntpContentFormat, EmsAbOwaServer, EmsAbPSelector, EmsAbPSelectorInbound, EmsAbPerMsgDialogDisplayTable, EmsAbPerRecipDialogDisplayTable, EmsAbPeriodRepSyncTimes, EmsAbPeriodReplStagger, EmsAbPersonalTitle, EmsAbPfContacts, EmsAbPfContactsO, EmsAbPopCharacterSet, EmsAbPopContentFormat, EmsAbPortNumber, EmsAbPostalAddress, EmsAbPreferredDeliveryMethod, EmsAbPreserveInternetContent, EmsAbPrmd, EmsAbPromoExpiration, EmsAbProtocolSettings, EmsAbProxyGenerationEnabled, EmsAbProxyGeneratorDll, EmsAbPublicDelegatesBl, EmsAbPublicDelegatesBlO, EmsAbQuotaNotificationSchedule, EmsAbQuotaNotificationStyle, EmsAbRangeLower, EmsAbRangeUpper, EmsAbRasAccount, EmsAbRasCallbackNumber, EmsAbRasPassword, EmsAbRasPhoneNumber, EmsAbRasPhonebookEntryName, EmsAbRasRemoteSrvrName, EmsAbReferralList, EmsAbRegisteredAddress, EmsAbRemoteBridgeHead, EmsAbRemoteBridgeHeadAddress, EmsAbRemoteOutBhServer, EmsAbRemoteOutBhServerO, EmsAbRemoteSite, EmsAbRemoteSiteO, EmsAbReplicatedObjectVersion, EmsAbReplicationMailMsgSize, EmsAbReplicationSensitivity, EmsAbReplicationStagger, EmsAbReportToOriginator, EmsAbReportToOwner, EmsAbReqSeq, EmsAbRequireSsl, EmsAbResponsibleLocalDxa, EmsAbResponsibleLocalDxaO, EmsAbReturnExactMsgSize, EmsAbRidServer, EmsAbRidServerO, EmsAbRoleOccupant, EmsAbRoleOccupantO, EmsAbRootNewsgroupsFolderId, EmsAbRoutingList, EmsAbRtsCheckpointSize, EmsAbRtsRecoveryTimeout, EmsAbRtsWindowSize, EmsAbRunsOn, EmsAbRunsOnO, EmsAbSSelector, EmsAbSSelectorInbound, EmsAbSchemaFlags, EmsAbSchemaVersion, EmsAbSearchFlags, EmsAbSearchGuide, EmsAbSecurityPolicy, EmsAbSecurityProtocol, EmsAbSeeAlso, EmsAbSeeAlsoO, EmsAbSendEmailMessage, EmsAbSendTnef, EmsAbSerialNumber, EmsAbServer, EmsAbServiceActionFirst, EmsAbServiceActionOther, EmsAbServiceActionSecond, EmsAbServiceRestartDelay, EmsAbServiceRestartMessage, EmsAbSessionDisconnectTimer, EmsAbSiteAffinity, EmsAbSiteFolderGuid, EmsAbSiteFolderServer, EmsAbSiteFolderServerO, EmsAbSiteProxySpace, EmsAbSmimeAlgListNa, EmsAbSmimeAlgListOther, EmsAbSmimeAlgSelectedNa, EmsAbSmimeAlgSelectedOther, EmsAbSpaceLastComputed, EmsAbStreetAddress, EmsAbSubRefs, EmsAbSubRefsO, EmsAbSubSite, EmsAbSubmissionContLength, EmsAbSupportSmimeSignatures, EmsAbSupportedAlgorithms, EmsAbSupportedApplicationContext, EmsAbSupportingStack, EmsAbSupportingStackBl, EmsAbSupportingStackBlO, EmsAbSupportingStackO, EmsAbTSelector, EmsAbTSelectorInbound, EmsAbTargetMtas, EmsAbTelephoneNumber, EmsAbTelephonePersonalPager, EmsAbTeletexTerminalIdentifier, EmsAbTempAssocThreshold, EmsAbTombstoneLifetime, EmsAbTrackingLogPathName, EmsAbTransRetryMins, EmsAbTransTimeoutMins, EmsAbTransferRetryInterval, EmsAbTransferTimeoutNonUrgent, EmsAbTransferTimeoutNormal, EmsAbTransferTimeoutUrgent, EmsAbTranslationTableUsed, EmsAbTransportExpeditedData, EmsAbTrustLevel, EmsAbTurnRequestThreshold, EmsAbTwoWayAlternateFacility, EmsAbType, EmsAbUnauthOrigBl, EmsAbUnauthOrigBlO, EmsAbUseServerValues, EmsAbUseSiteValues, EmsAbUsenetSiteName, EmsAbUserPassword, EmsAbUsnChanged, EmsAbUsnCreated, EmsAbUsnDsaLastObjRemoved, EmsAbUsnIntersite, EmsAbUsnLastObjRem, EmsAbUsnSource, EmsAbViewContainer1, EmsAbViewContainer2, EmsAbViewContainer3, EmsAbViewDefinition, EmsAbViewFlags, EmsAbViewSite, EmsAbVoiceMailFlags, EmsAbVoiceMailGreetings, EmsAbVoiceMailPassword, EmsAbVoiceMailRecordedName, EmsAbVoiceMailRecordingLength, EmsAbVoiceMailSpeed, EmsAbVoiceMailSystemGuid, EmsAbVoiceMailUserId, EmsAbVoiceMailVolume, EmsAbWwwHomePage, EmsAbX121Address, EmsAbX25CallUserDataIncoming, EmsAbX25CallUserDataOutgoing, EmsAbX25FacilitiesDataIncoming, EmsAbX25FacilitiesDataOutgoing, EmsAbX25LeasedLinePort, EmsAbX25LeasedOrSwitched, EmsAbX25RemoteMtaPhone, EmsAbX400AttachmentType, EmsAbX400SelectorSyntax, EmsAbX500AccessControlList, EmsAbX500Nc, EmsAbX500Rdn, EmsAbXmitTimeoutNonUrgent, EmsAbXmitTimeoutNormal, EmsAbXmitTimeoutUrgent, EventsRootFolderEntryid, ExcessStorageUsed, ExtendedAclData, FastTransfer, FavoritesDefaultName, FolderChildCount, FolderDesignFlags, FolderPathname, ForeignId, ForeignReportId, ForeignSubjectId, FreeBusyForLocalSiteEntryid, GwAdminOperations, GwMtsinEntryid, GwMtsoutEntryid, HasModeratorRules, HierarchyServer, HierarchySynchronizer, ImapInternalDate, InTransit, InboundNewsfeedDn, InternetCharset, InternetNewsgroupName, IpmDafEntryid, IpmFavoritesEntryid, IpmPublicFoldersEntryid, IsNewsgroup, IsNewsgroupAnchor, LastAccessTime, LastFullBackup, LastLogoffTime, LastLogonTime, LongtermEntryidFromTable, MessageProcessed, MessageSiteName, MoveToFolderEntryid, MoveToStoreEntryid, MsgBodyId, MtsSubjectId, NewSubsGetAutoAdd, NewsfeedInfo, NewsgroupComponent, NewsgroupRootFolderEntryid, NntpArticleFolderEntryid, NntpControlFolderEntryid, NonIpmSubtreeEntryid, NormalMessageSize, NormalMessageSizeExtended, NormalMsgWAttachCount, NtUserName, OfflineAddrbookEntryid, OfflineFlags, OfflineMessageEntryid, OldestDeletedOn, OriginatorAddr, OriginatorAddrtype, OriginatorEntryid, OriginatorName, OstEncryption, OutboundNewsfeedDn, OverallAgeLimit, OverallMsgAgeLimit, OwaUrl, OwnerCount, P1Content, P1ContentType, PreventMsgCreate, Preview, PreviewUnread, ProfileAbFilesPath, ProfileAddrInfo, ProfileAllpubComment, ProfileAllpubDisplayName, ProfileBindingOrder, ProfileConfigFlags, ProfileConnectFlags, ProfileFavfldComment, ProfileFavfldDisplayName, ProfileHomeServer, ProfileHomeServerAddrs, ProfileHomeServerDn, ProfileMailbox, ProfileMaxRestrict, ProfileMoab, ProfileMoabGuid, ProfileMoabSeq, ProfileOfflineInfo, ProfileOfflineStorePath, ProfileOpenFlags, ProfileOptionsData, ProfileSecureMailbox, ProfileServer, ProfileServerDn, ProfileTransportFlags, ProfileType, ProfileUiState, ProfileUnresolvedName, ProfileUnresolvedServer, ProfileUser, ProfileVersion, PstEncryption, PstPath, PstPwSzOld, PstRememberPw, PublicFolderEntryid, PublishInAddressBook, RecipientNumber, RecipientOnAssocMsgCount, RecipientOnNormalMsgCount, ReplicaList, ReplicaServer, ReplicaVersion, ReplicationAlwaysInterval, ReplicationMessagePriority, ReplicationMsgSize, ReplicationSchedule, ReplicationStyle, ReplyRecipientSmtpProxies, ReportDestinationEntryid, ReportDestinationName, RestrictionCount, RetentionAgeLimit, RuleTriggerHistory, RulesData, RulesTable, ScheduleFolderEntryid, SecureInSite, SecureOrigination, StorageLimitInformation, StorageQuotaLimit, StoreOffline, StoreSlowlink, SubjectTraceInfo, SvrGeneratingQuotaMsg, SynchronizeFlags, SysConfigFolderEntryid, TestLineSpeed, TraceInfo, TransferEnabled, UserName, X400EnvelopeType, AbDefaultDir, AbDefaultPab, AbProviderId, AbProviders, AbSearchPath, AbSearchPathUpdate, AlternateRecipient, AssocContentCount, AttachmentX400Parameters, AuthorizingUsers, BodyCrc, CommonViewsEntryid, ContactAddrtypes, ContactDefaultAddressIndex, ContactEmailAddresses, ContactEntryids, ContactVersion, ContainerModifyVersion, ContentConfidentialityAlgorithmId, ContentCorrelator, ContentIdentifier, ContentIntegrityCheck, ContentLength, ContentReturnRequested, ContentsSortOrder, ControlFlags, ControlId, ControlStructure, ControlType, ConversationKey, ConversionEits, ConversionProhibited, ConversionWithLossProhibited, ConvertedEits, Correlate, CorrelateMtsid, CreateTemplates, CreationVersion, ExCurrentVersion, DefCreateDl, DefCreateMailuser, DefaultProfile, DefaultStore, DefaultViewEntryid, Delegation, DeliveryPoint, Deltax, Deltay, DetailsTable, DiscVal, DiscardReason, DiscloseRecipients, DisclosureOfRecipients, DiscreteValues, DlExpansionHistory, DlExpansionProhibited, ExplicitConversion, FilteringHooks, FinderEntryid, FormCategory, FormCategorySub, FormClsid, FormContactName, FormDesignerGuid, FormDesignerName, FormHidden, FormHostMap, FormMessageBehavior, FormVersion, HeaderFolderEntryid, Icon, IdentityDisplay, IdentityEntryid, IdentitySearchKey, ImplicitConversionProhibited, IncompleteCopy, InternetApproved, InternetArticleNumber, InternetControl, InternetDistribution, InternetFollowupTo, InternetLines, InternetNewsgroups, InternetNntpPath, InternetOrganization, InternetPrecedence, IpmId, IpmOutboxEntryid, IpmOutboxSearchKey, IpmReturnRequested, IpmSentmailEntryid, IpmSentmailSearchKey, IpmSubtreeEntryid, IpmSubtreeSearchKey, IpmWastebasketEntryid, IpmWastebasketSearchKey, Languages, LatestDeliveryTime, MailPermission, MdbProvider, MessageDeliveryId, MessageDownloadTime, MessageSecurityLabel, MessageToken, MiniIcon, ModifyVersion, NewsgroupName, NntpXref, NonReceiptReason, ObsoletedIpms, OriginCheck, OriginalAuthorAddrtype, OriginalAuthorEmailAddress, OriginalAuthorSearchKey, OriginalDisplayName, OriginalEits, OriginalSearchKey, OriginallyIntendedRecipAddrtype, OriginallyIntendedRecipEmailAddress, OriginallyIntendedRecipEntryid, OriginallyIntendedRecipientName, OriginatingMtaCertificate, OriginatorAndDlExpansionHistory, OriginatorCertificate, OriginatorRequestedAlternateRecipient, OriginatorReturnAddress, OwnStoreEntryid, ParentDisplay, PhysicalDeliveryBureauFaxDelivery, PhysicalDeliveryMode, PhysicalDeliveryReportRequest, PhysicalForwardingAddress, PhysicalForwardingAddressRequested, PhysicalForwardingProhibited, PhysicalRenditionAttributes, PostFolderEntries, PostFolderNames, PostReplyDenied, PostReplyFolderEntries, PostReplyFolderNames, Preprocess, PrimaryCapability, ProfileName, ProofOfDelivery, ProofOfDeliveryRequested, ProofOfSubmission, ProofOfSubmissionRequested, ProviderDisplay, ProviderDllName, ProviderOrdinal, ProviderSubmitTime, ProviderUid, ReceiveFolderSettings, RecipientCertificate, RecipientNumberForAdvice, RecipientStatus, RedirectionHistory, RegisteredMailType, RelatedIpms, RemoteProgress, RemoteProgressText, RemoteValidateOk, ReportingDlName, ReportingMtaCertificate, RequestedDeliveryMethod, ResourceFlags, ResourceMethods, ResourcePath, ResourceType, ReturnedIpm, RtfSyncBodyCount, RtfSyncBodyCrc, RtfSyncBodyTag, RtfSyncPrefixCount, RtfSyncTrailingCount, Search, ExSecurity, SentmailEntryid, ServiceDeleteFiles, ServiceDllName, ServiceEntryName, ServiceExtraUids, ServiceName, ServiceSupportFiles, ServiceUid, Services, SpoolerStatus, Status, StatusCode, StatusString, StoreProviders, StoreRecordKey, SubjectIpm, SubmitFlags, Supersedes, TransportKey, TransportProviders, TransportStatus, TypeOfMtsUser, ValidFolderMask, ViewsEntryid, X400ContentType, X400DeferredDeliveryCancel, Xpos, Ypos | Parent class: [MapiPropertyDescriptor](MapiPropertyDescriptor.md) diff --git a/sdk/docs/MapiMessageApi.md b/sdk/docs/MapiMessageApi.md new file mode 100644 index 0000000..daa3eb5 --- /dev/null +++ b/sdk/docs/MapiMessageApi.md @@ -0,0 +1,341 @@ +# AsposeEmailCloudSdk.MapiMessageApi + + +# **mapi_message_as_email_dto** +> mapi_message_as_email_dto(self, mapi_message_as_email_dto_request) + +Converts MAPI message model to EmailDto model + +### Return type + +[**EmailDto**](EmailDto.md) + +### Request Parameters +```python +__init__(self, + mapi_message) +``` + +### Usage +```python +MapiMessageApi.mapi_message_as_email_dto( + cakePrefix_mapi_message_as_email_dto_request_cakeCodePostProcessor( + mapi_message)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapi_message** | [**MapiMessageDto**](MapiMessageDto.md)| MAPI message model to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_as_email_dto_async** +> mapi_message_as_email_dto_async(self, mapi_message_as_email_dto_request) + +Converts MAPI message model to EmailDto model + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_message_as_email_dto_async(request).get() returns [**EmailDto**](EmailDto.md) + +### Request Parameters +```python +__init__(self, + mapi_message) +``` + +### Usage +```python +MapiMessageApi.mapi_message_as_email_dto_async( + cakePrefix_mapi_message_as_email_dto_request_cakeCodePostProcessor( + mapi_message)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mapi_message** | [**MapiMessageDto**](MapiMessageDto.md)| MAPI message model to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_as_file** +> mapi_message_as_file(self, mapi_message_as_file_request) + +Converts MAPI message model to specified format and returns as file. + +### Return type + +**file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiMessageApi.mapi_message_as_file( + cakePrefix_mapi_message_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiMessageAsFileRequest**](MapiMessageAsFileRequest.md)| MAPI message model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_as_file_async** +> mapi_message_as_file_async(self, mapi_message_as_file_request) + +Converts MAPI message model to specified format and returns as file. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_message_as_file_async(request).get() returns **file** + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiMessageApi.mapi_message_as_file_async( + cakePrefix_mapi_message_as_file_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiMessageAsFileRequest**](MapiMessageAsFileRequest.md)| MAPI message model to convert. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_from_file** +> mapi_message_from_file(self, mapi_message_from_file_request) + +Converts email file to a MAPI model representation + +### Return type + +[**MapiMessageDto**](MapiMessageDto.md) + +### Request Parameters +```python +__init__(self, + format, + file) +``` + +### Usage +```python +MapiMessageApi.mapi_message_from_file( + cakePrefix_mapi_message_from_file_request_cakeCodePostProcessor( + format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_from_file_async** +> mapi_message_from_file_async(self, mapi_message_from_file_request) + +Converts email file to a MAPI model representation + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_message_from_file_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) + +### Request Parameters +```python +__init__(self, + format, + file) +``` + +### Usage +```python +MapiMessageApi.mapi_message_from_file_async( + cakePrefix_mapi_message_from_file_request_cakeCodePostProcessor( + format, + file)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **file**| File to convert | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_get** +> mapi_message_get(self, mapi_message_get_request) + +Get MAPI message document. + +### Return type + +[**MapiMessageDto**](MapiMessageDto.md) + +### Request Parameters +```python +__init__(self, + format, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +MapiMessageApi.mapi_message_get( + cakePrefix_mapi_message_get_request_cakeCodePostProcessor( + format, + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file_name** | **str**| Email document file name. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_get_async** +> mapi_message_get_async(self, mapi_message_get_request) + +Get MAPI message document. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_message_get_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) + +### Request Parameters +```python +__init__(self, + format, + file_name, + folder=folder, + storage=storage) +``` + +### Usage +```python +MapiMessageApi.mapi_message_get_async( + cakePrefix_mapi_message_get_request_cakeCodePostProcessor( + format, + file_name, + folder=folder, + storage=storage)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file_name** | **str**| Email document file name. | + **folder** | **str**| Path to folder in storage. | [optional] + **storage** | **str**| Storage name. | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_save** +> mapi_message_save(self, mapi_message_save_request) + +Save MAPI message to storage. + +### Return type + +void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiMessageApi.mapi_message_save( + cakePrefix_mapi_message_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiMessageSaveRequest**](MapiMessageSaveRequest.md)| Message create/update request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **mapi_message_save_async** +> mapi_message_save_async(self, mapi_message_save_request) + +Save MAPI message to storage. + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +mapi_message_save_async(request).get() returns void (empty response body) + +### Request Parameters +```python +__init__(self, + request) +``` + +### Usage +```python +MapiMessageApi.mapi_message_save_async( + cakePrefix_mapi_message_save_request_cakeCodePostProcessor( + request)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**MapiMessageSaveRequest**](MapiMessageSaveRequest.md)| Message create/update request. | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/MapiMessageAsFileRequest.md b/sdk/docs/MapiMessageAsFileRequest.md new file mode 100644 index 0000000..5ed94b0 --- /dev/null +++ b/sdk/docs/MapiMessageAsFileRequest.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.MapiMessageAsFileRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | +**value** | [**MapiMessageDto**](MapiMessageDto.md) | MAPI message model. | + + + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MapiMessageSaveRequest.md b/sdk/docs/MapiMessageSaveRequest.md new file mode 100644 index 0000000..50f60f0 --- /dev/null +++ b/sdk/docs/MapiMessageSaveRequest.md @@ -0,0 +1,11 @@ +# AsposeEmailCloudSdk.models.MapiMessageSaveRequest +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + + Parent class: [StorageModelOfMapiMessageDto](StorageModelOfMapiMessageDto.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/MoveEmailMessageRq.md b/sdk/docs/MoveEmailMessageRq.md deleted file mode 100644 index 314917e..0000000 --- a/sdk/docs/MoveEmailMessageRq.md +++ /dev/null @@ -1,13 +0,0 @@ -# AsposeEmailCloudSdk.models.MoveEmailMessageRq -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message_id** | **str** | Message identifier | [optional] -**source_folder** | **str** | Message source folder. Account root folder by default | [optional] -**destination_folder** | **str** | Folder in email account to move message to | [optional] - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/ObjectExist.md b/sdk/docs/ObjectExist.md index 191ae3a..ffab9cc 100644 --- a/sdk/docs/ObjectExist.md +++ b/sdk/docs/ObjectExist.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**exists** | **bool** | | -**is_folder** | **bool** | | +**exists** | **bool** | Indicates that the file or folder exists. | +**is_folder** | **bool** | True if it is a folder, false if it is a file. | diff --git a/sdk/docs/PrimitiveObject.md b/sdk/docs/PrimitiveObject.md deleted file mode 100644 index 8781be7..0000000 --- a/sdk/docs/PrimitiveObject.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.PrimitiveObject -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | Property value | [optional] - - Parent class: [BaseObject](BaseObject.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/README.md b/sdk/docs/README.md index 8b6fac9..f6a332d 100644 --- a/sdk/docs/README.md +++ b/sdk/docs/README.md @@ -1,474 +1,28 @@ -## Documentation for API endpoints +# Reference documentation for Aspose.Email Cloud API -All URIs are relative to *https://api.aspose.cloud/v3.0* +`EmailCloud` is the main API class. It provides an access to all of Aspose.Email Cloud functions. +`AppKey` and `AppSid` credentials should be obtained from [dashboard](https://dashboard.aspose.cloud/#/) to use `EmailCloud`: -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*EmailApi* | [**add_calendar_attachment**](EmailApi.md#add_calendar_attachment) | **PUT** /email/Calendar/{name}/attachments/{attachment} | Adds an attachment to iCalendar file -*EmailApi* | [**add_calendar_attachment_async**](EmailApi.md#add_calendar_attachment_async) | **PUT** /email/Calendar/{name}/attachments/{attachment} | Adds an attachment to iCalendar file -*EmailApi* | [**add_contact_attachment**](EmailApi.md#add_contact_attachment) | **PUT** /email/Contact/{format}/{name}/attachments/{attachment} | Add attachment to contact document -*EmailApi* | [**add_contact_attachment_async**](EmailApi.md#add_contact_attachment_async) | **PUT** /email/Contact/{format}/{name}/attachments/{attachment} | Add attachment to contact document -*EmailApi* | [**add_email_attachment**](EmailApi.md#add_email_attachment) | **POST** /email/{fileName}/attachments/{attachmentName} | Adds an attachment to Email document -*EmailApi* | [**add_email_attachment_async**](EmailApi.md#add_email_attachment_async) | **POST** /email/{fileName}/attachments/{attachmentName} | Adds an attachment to Email document -*EmailApi* | [**add_mapi_attachment**](EmailApi.md#add_mapi_attachment) | **PUT** /email/Mapi/{name}/attachments/{attachment} | Add attachment to document -*EmailApi* | [**add_mapi_attachment_async**](EmailApi.md#add_mapi_attachment_async) | **PUT** /email/Mapi/{name}/attachments/{attachment} | Add attachment to document -*EmailApi* | [**ai_bcr_ocr**](EmailApi.md#ai_bcr_ocr) | **POST** /email/AiBcr/ocr | Ocr images -*EmailApi* | [**ai_bcr_ocr_async**](EmailApi.md#ai_bcr_ocr_async) | **POST** /email/AiBcr/ocr | Ocr images -*EmailApi* | [**ai_bcr_ocr_storage**](EmailApi.md#ai_bcr_ocr_storage) | **POST** /email/AiBcr/ocr-storage | Ocr images from storage -*EmailApi* | [**ai_bcr_ocr_storage_async**](EmailApi.md#ai_bcr_ocr_storage_async) | **POST** /email/AiBcr/ocr-storage | Ocr images from storage -*EmailApi* | [**ai_bcr_parse**](EmailApi.md#ai_bcr_parse) | **POST** /email/AiBcr/parse | Parse images to vCard properties -*EmailApi* | [**ai_bcr_parse_async**](EmailApi.md#ai_bcr_parse_async) | **POST** /email/AiBcr/parse | Parse images to vCard properties -*EmailApi* | [**ai_bcr_parse_model**](EmailApi.md#ai_bcr_parse_model) | **POST** /email/AiBcr/parse-model | Parse images to vCard document models -*EmailApi* | [**ai_bcr_parse_model_async**](EmailApi.md#ai_bcr_parse_model_async) | **POST** /email/AiBcr/parse-model | Parse images to vCard document models -*EmailApi* | [**ai_bcr_parse_ocr_data_model**](EmailApi.md#ai_bcr_parse_ocr_data_model) | **POST** /email/AiBcr/parse-ocr-data-model | Parse OCR data to vCard document models -*EmailApi* | [**ai_bcr_parse_ocr_data_model_async**](EmailApi.md#ai_bcr_parse_ocr_data_model_async) | **POST** /email/AiBcr/parse-ocr-data-model | Parse OCR data to vCard document models -*EmailApi* | [**ai_bcr_parse_storage**](EmailApi.md#ai_bcr_parse_storage) | **POST** /email/AiBcr/parse-storage | Parse images from storage to vCard files -*EmailApi* | [**ai_bcr_parse_storage_async**](EmailApi.md#ai_bcr_parse_storage_async) | **POST** /email/AiBcr/parse-storage | Parse images from storage to vCard files -*EmailApi* | [**ai_name_complete**](EmailApi.md#ai_name_complete) | **GET** /email/AiName/complete | The call proposes k most probable names for given starting characters -*EmailApi* | [**ai_name_complete_async**](EmailApi.md#ai_name_complete_async) | **GET** /email/AiName/complete | The call proposes k most probable names for given starting characters -*EmailApi* | [**ai_name_expand**](EmailApi.md#ai_name_expand) | **GET** /email/AiName/expand | Expands a person's name into a list of possible alternatives using options for expanding instructions -*EmailApi* | [**ai_name_expand_async**](EmailApi.md#ai_name_expand_async) | **GET** /email/AiName/expand | Expands a person's name into a list of possible alternatives using options for expanding instructions -*EmailApi* | [**ai_name_expand_parsed**](EmailApi.md#ai_name_expand_parsed) | **POST** /email/AiName/expand-parsed | Expands a person's parsed name into a list of possible alternatives using options for expanding instructions -*EmailApi* | [**ai_name_expand_parsed_async**](EmailApi.md#ai_name_expand_parsed_async) | **POST** /email/AiName/expand-parsed | Expands a person's parsed name into a list of possible alternatives using options for expanding instructions -*EmailApi* | [**ai_name_format**](EmailApi.md#ai_name_format) | **GET** /email/AiName/format | Formats a person's name in correct case and name order using options for formatting instructions -*EmailApi* | [**ai_name_format_async**](EmailApi.md#ai_name_format_async) | **GET** /email/AiName/format | Formats a person's name in correct case and name order using options for formatting instructions -*EmailApi* | [**ai_name_format_parsed**](EmailApi.md#ai_name_format_parsed) | **POST** /email/AiName/format-parsed | Formats a person's parsed name in correct case and name order using options for formatting instructions -*EmailApi* | [**ai_name_format_parsed_async**](EmailApi.md#ai_name_format_parsed_async) | **POST** /email/AiName/format-parsed | Formats a person's parsed name in correct case and name order using options for formatting instructions -*EmailApi* | [**ai_name_genderize**](EmailApi.md#ai_name_genderize) | **GET** /email/AiName/genderize | Detect person's gender from name string -*EmailApi* | [**ai_name_genderize_async**](EmailApi.md#ai_name_genderize_async) | **GET** /email/AiName/genderize | Detect person's gender from name string -*EmailApi* | [**ai_name_genderize_parsed**](EmailApi.md#ai_name_genderize_parsed) | **POST** /email/AiName/genderize-parsed | Detect person's gender from parsed name -*EmailApi* | [**ai_name_genderize_parsed_async**](EmailApi.md#ai_name_genderize_parsed_async) | **POST** /email/AiName/genderize-parsed | Detect person's gender from parsed name -*EmailApi* | [**ai_name_match**](EmailApi.md#ai_name_match) | **GET** /email/AiName/match | Compare people's names. Uses options for comparing instructions -*EmailApi* | [**ai_name_match_async**](EmailApi.md#ai_name_match_async) | **GET** /email/AiName/match | Compare people's names. Uses options for comparing instructions -*EmailApi* | [**ai_name_match_parsed**](EmailApi.md#ai_name_match_parsed) | **POST** /email/AiName/match-parsed | Compare people's parsed names and attributes. Uses options for comparing instructions -*EmailApi* | [**ai_name_match_parsed_async**](EmailApi.md#ai_name_match_parsed_async) | **POST** /email/AiName/match-parsed | Compare people's parsed names and attributes. Uses options for comparing instructions -*EmailApi* | [**ai_name_parse**](EmailApi.md#ai_name_parse) | **GET** /email/AiName/parse | Parse name to components -*EmailApi* | [**ai_name_parse_async**](EmailApi.md#ai_name_parse_async) | **GET** /email/AiName/parse | Parse name to components -*EmailApi* | [**ai_name_parse_email_address**](EmailApi.md#ai_name_parse_email_address) | **GET** /email/AiName/parse-email-address | Parse person's name out of an email address -*EmailApi* | [**ai_name_parse_email_address_async**](EmailApi.md#ai_name_parse_email_address_async) | **GET** /email/AiName/parse-email-address | Parse person's name out of an email address -*EmailApi* | [**append_email_message**](EmailApi.md#append_email_message) | **PUT** /email/client/Append | Adds an email from *.eml file to specified folder in email account -*EmailApi* | [**append_email_message_async**](EmailApi.md#append_email_message_async) | **PUT** /email/client/Append | Adds an email from *.eml file to specified folder in email account -*EmailApi* | [**append_email_model_message**](EmailApi.md#append_email_model_message) | **PUT** /email/client/AppendModel | Adds an email from model to specified folder in email account -*EmailApi* | [**append_email_model_message_async**](EmailApi.md#append_email_model_message_async) | **PUT** /email/client/AppendModel | Adds an email from model to specified folder in email account -*EmailApi* | [**append_mime_message**](EmailApi.md#append_mime_message) | **PUT** /email/client/AppendMime | Adds an email from MIME to specified folder in email account -*EmailApi* | [**append_mime_message_async**](EmailApi.md#append_mime_message_async) | **PUT** /email/client/AppendMime | Adds an email from MIME to specified folder in email account -*EmailApi* | [**convert_calendar**](EmailApi.md#convert_calendar) | **PUT** /email/CalendarModel/convert/{format} | Converts calendar document to specified format and returns as file -*EmailApi* | [**convert_calendar_async**](EmailApi.md#convert_calendar_async) | **PUT** /email/CalendarModel/convert/{format} | Converts calendar document to specified format and returns as file -*EmailApi* | [**convert_calendar_model_to_alternate**](EmailApi.md#convert_calendar_model_to_alternate) | **PUT** /email/CalendarModel/as-alternate | Convert iCalendar to AlternateView -*EmailApi* | [**convert_calendar_model_to_alternate_async**](EmailApi.md#convert_calendar_model_to_alternate_async) | **PUT** /email/CalendarModel/as-alternate | Convert iCalendar to AlternateView -*EmailApi* | [**convert_calendar_model_to_file**](EmailApi.md#convert_calendar_model_to_file) | **PUT** /email/CalendarModel/model-as-file/{format} | Converts calendar model to specified format and returns as file -*EmailApi* | [**convert_calendar_model_to_file_async**](EmailApi.md#convert_calendar_model_to_file_async) | **PUT** /email/CalendarModel/model-as-file/{format} | Converts calendar model to specified format and returns as file -*EmailApi* | [**convert_calendar_model_to_mapi_model**](EmailApi.md#convert_calendar_model_to_mapi_model) | **PUT** /email/CalendarModel/model-as-mapi-model | Converts CalendarDto to MapiCalendarDto. -*EmailApi* | [**convert_calendar_model_to_mapi_model_async**](EmailApi.md#convert_calendar_model_to_mapi_model_async) | **PUT** /email/CalendarModel/model-as-mapi-model | Converts CalendarDto to MapiCalendarDto. -*EmailApi* | [**convert_contact**](EmailApi.md#convert_contact) | **PUT** /email/ContactModel/{format}/convert/{destinationFormat} | Converts contact document to specified format and returns as file -*EmailApi* | [**convert_contact_async**](EmailApi.md#convert_contact_async) | **PUT** /email/ContactModel/{format}/convert/{destinationFormat} | Converts contact document to specified format and returns as file -*EmailApi* | [**convert_contact_model_to_file**](EmailApi.md#convert_contact_model_to_file) | **PUT** /email/ContactModel/model-as-file/{destinationFormat} | Converts contact model to specified format and returns as file -*EmailApi* | [**convert_contact_model_to_file_async**](EmailApi.md#convert_contact_model_to_file_async) | **PUT** /email/ContactModel/model-as-file/{destinationFormat} | Converts contact model to specified format and returns as file -*EmailApi* | [**convert_contact_model_to_mapi_model**](EmailApi.md#convert_contact_model_to_mapi_model) | **PUT** /email/ContactModel/model-as-mapi-model | Converts ContactDto to MapiContactDto. -*EmailApi* | [**convert_contact_model_to_mapi_model_async**](EmailApi.md#convert_contact_model_to_mapi_model_async) | **PUT** /email/ContactModel/model-as-mapi-model | Converts ContactDto to MapiContactDto. -*EmailApi* | [**convert_email**](EmailApi.md#convert_email) | **PUT** /email/convert/{format} | Converts email document to specified format and returns as file -*EmailApi* | [**convert_email_async**](EmailApi.md#convert_email_async) | **PUT** /email/convert/{format} | Converts email document to specified format and returns as file -*EmailApi* | [**convert_email_model_to_file**](EmailApi.md#convert_email_model_to_file) | **PUT** /email/model/model-as-file/{destinationFormat} | Converts Email model to specified format and returns as file -*EmailApi* | [**convert_email_model_to_file_async**](EmailApi.md#convert_email_model_to_file_async) | **PUT** /email/model/model-as-file/{destinationFormat} | Converts Email model to specified format and returns as file -*EmailApi* | [**convert_email_model_to_mapi_model**](EmailApi.md#convert_email_model_to_mapi_model) | **PUT** /email/model/model-as-mapi-model | Converts EmailDto to MapiMessageDto. -*EmailApi* | [**convert_email_model_to_mapi_model_async**](EmailApi.md#convert_email_model_to_mapi_model_async) | **PUT** /email/model/model-as-mapi-model | Converts EmailDto to MapiMessageDto. -*EmailApi* | [**convert_mapi_calendar_model_to_calendar_model**](EmailApi.md#convert_mapi_calendar_model_to_calendar_model) | **PUT** /email/MapiCalendar/model-as-calendar-model | Converts MAPI calendar model to CalendarDto model -*EmailApi* | [**convert_mapi_calendar_model_to_calendar_model_async**](EmailApi.md#convert_mapi_calendar_model_to_calendar_model_async) | **PUT** /email/MapiCalendar/model-as-calendar-model | Converts MAPI calendar model to CalendarDto model -*EmailApi* | [**convert_mapi_calendar_model_to_file**](EmailApi.md#convert_mapi_calendar_model_to_file) | **PUT** /email/MapiCalendar/model-as-file/{destinationFormat} | Converts MAPI calendar model to specified format and returns as file -*EmailApi* | [**convert_mapi_calendar_model_to_file_async**](EmailApi.md#convert_mapi_calendar_model_to_file_async) | **PUT** /email/MapiCalendar/model-as-file/{destinationFormat} | Converts MAPI calendar model to specified format and returns as file -*EmailApi* | [**convert_mapi_contact_model_to_contact_model**](EmailApi.md#convert_mapi_contact_model_to_contact_model) | **PUT** /email/MapiContact/model-as-contact-model | Converts MAPI contact model to ContactDto model -*EmailApi* | [**convert_mapi_contact_model_to_contact_model_async**](EmailApi.md#convert_mapi_contact_model_to_contact_model_async) | **PUT** /email/MapiContact/model-as-contact-model | Converts MAPI contact model to ContactDto model -*EmailApi* | [**convert_mapi_contact_model_to_file**](EmailApi.md#convert_mapi_contact_model_to_file) | **PUT** /email/MapiContact/model-as-file/{destinationFormat} | Converts MAPI contact model to specified format and returns as file -*EmailApi* | [**convert_mapi_contact_model_to_file_async**](EmailApi.md#convert_mapi_contact_model_to_file_async) | **PUT** /email/MapiContact/model-as-file/{destinationFormat} | Converts MAPI contact model to specified format and returns as file -*EmailApi* | [**convert_mapi_message_model_to_email_model**](EmailApi.md#convert_mapi_message_model_to_email_model) | **PUT** /email/MapiMessage/model-as-email-model | Converts MAPI message model to EmailDto model -*EmailApi* | [**convert_mapi_message_model_to_email_model_async**](EmailApi.md#convert_mapi_message_model_to_email_model_async) | **PUT** /email/MapiMessage/model-as-email-model | Converts MAPI message model to EmailDto model -*EmailApi* | [**convert_mapi_message_model_to_file**](EmailApi.md#convert_mapi_message_model_to_file) | **PUT** /email/MapiMessage/model-as-file/{destinationFormat} | Converts MAPI message model to specified format and returns as file -*EmailApi* | [**convert_mapi_message_model_to_file_async**](EmailApi.md#convert_mapi_message_model_to_file_async) | **PUT** /email/MapiMessage/model-as-file/{destinationFormat} | Converts MAPI message model to specified format and returns as file -*EmailApi* | [**copy_file**](EmailApi.md#copy_file) | **PUT** /email/storage/file/copy/{srcPath} | -*EmailApi* | [**copy_file_async**](EmailApi.md#copy_file_async) | **PUT** /email/storage/file/copy/{srcPath} | -*EmailApi* | [**copy_folder**](EmailApi.md#copy_folder) | **PUT** /email/storage/folder/copy/{srcPath} | -*EmailApi* | [**copy_folder_async**](EmailApi.md#copy_folder_async) | **PUT** /email/storage/folder/copy/{srcPath} | -*EmailApi* | [**create_calendar**](EmailApi.md#create_calendar) | **PUT** /email/Calendar/{name} | Create calendar file -*EmailApi* | [**create_calendar_async**](EmailApi.md#create_calendar_async) | **PUT** /email/Calendar/{name} | Create calendar file -*EmailApi* | [**create_contact**](EmailApi.md#create_contact) | **PUT** /email/Contact/{format}/{name} | Create contact document -*EmailApi* | [**create_contact_async**](EmailApi.md#create_contact_async) | **PUT** /email/Contact/{format}/{name} | Create contact document -*EmailApi* | [**create_email**](EmailApi.md#create_email) | **PUT** /email/{fileName} | Create an email document -*EmailApi* | [**create_email_async**](EmailApi.md#create_email_async) | **PUT** /email/{fileName} | Create an email document -*EmailApi* | [**create_email_folder**](EmailApi.md#create_email_folder) | **PUT** /email/client/CreateFolder | Create new folder in email account -*EmailApi* | [**create_email_folder_async**](EmailApi.md#create_email_folder_async) | **PUT** /email/client/CreateFolder | Create new folder in email account -*EmailApi* | [**create_folder**](EmailApi.md#create_folder) | **PUT** /email/storage/folder/{path} | -*EmailApi* | [**create_folder_async**](EmailApi.md#create_folder_async) | **PUT** /email/storage/folder/{path} | -*EmailApi* | [**create_mapi**](EmailApi.md#create_mapi) | **PUT** /email/Mapi/{name} | Create new document -*EmailApi* | [**create_mapi_async**](EmailApi.md#create_mapi_async) | **PUT** /email/Mapi/{name} | Create new document -*EmailApi* | [**delete_calendar_property**](EmailApi.md#delete_calendar_property) | **DELETE** /email/Calendar/{name}/properties/{memberName}/{index} | Deletes indexed property by index and name. To delete Reminder attachment, use path ReminderAttachment/{ReminderIndex}/{AttachmentIndex} -*EmailApi* | [**delete_calendar_property_async**](EmailApi.md#delete_calendar_property_async) | **DELETE** /email/Calendar/{name}/properties/{memberName}/{index} | Deletes indexed property by index and name. To delete Reminder attachment, use path ReminderAttachment/{ReminderIndex}/{AttachmentIndex} -*EmailApi* | [**delete_contact_property**](EmailApi.md#delete_contact_property) | **DELETE** /email/Contact/{format}/{name}/properties/{memberName}/{index} | Delete property from indexed property list -*EmailApi* | [**delete_contact_property_async**](EmailApi.md#delete_contact_property_async) | **DELETE** /email/Contact/{format}/{name}/properties/{memberName}/{index} | Delete property from indexed property list -*EmailApi* | [**delete_email_folder**](EmailApi.md#delete_email_folder) | **DELETE** /email/client/DeleteFolder | Delete a folder in email account -*EmailApi* | [**delete_email_folder_async**](EmailApi.md#delete_email_folder_async) | **DELETE** /email/client/DeleteFolder | Delete a folder in email account -*EmailApi* | [**delete_email_message**](EmailApi.md#delete_email_message) | **DELETE** /email/client/DeleteMessage | Delete message from email account by id -*EmailApi* | [**delete_email_message_async**](EmailApi.md#delete_email_message_async) | **DELETE** /email/client/DeleteMessage | Delete message from email account by id -*EmailApi* | [**delete_email_thread**](EmailApi.md#delete_email_thread) | **DELETE** /email/client/threads/{threadId} | Delete thread by id. All messages from thread will also be deleted -*EmailApi* | [**delete_email_thread_async**](EmailApi.md#delete_email_thread_async) | **DELETE** /email/client/threads/{threadId} | Delete thread by id. All messages from thread will also be deleted -*EmailApi* | [**delete_file**](EmailApi.md#delete_file) | **DELETE** /email/storage/file/{path} | -*EmailApi* | [**delete_file_async**](EmailApi.md#delete_file_async) | **DELETE** /email/storage/file/{path} | -*EmailApi* | [**delete_folder**](EmailApi.md#delete_folder) | **DELETE** /email/storage/folder/{path} | -*EmailApi* | [**delete_folder_async**](EmailApi.md#delete_folder_async) | **DELETE** /email/storage/folder/{path} | -*EmailApi* | [**delete_mapi_attachment**](EmailApi.md#delete_mapi_attachment) | **DELETE** /email/Mapi/{name}/attachments/{attachment} | Remove attachment from document -*EmailApi* | [**delete_mapi_attachment_async**](EmailApi.md#delete_mapi_attachment_async) | **DELETE** /email/Mapi/{name}/attachments/{attachment} | Remove attachment from document -*EmailApi* | [**delete_mapi_properties**](EmailApi.md#delete_mapi_properties) | **DELETE** /email/Mapi/{name}/properties | Delete document properties -*EmailApi* | [**delete_mapi_properties_async**](EmailApi.md#delete_mapi_properties_async) | **DELETE** /email/Mapi/{name}/properties | Delete document properties -*EmailApi* | [**discover_email_config**](EmailApi.md#discover_email_config) | **GET** /email/config/discover | Discover email accounts by email address. Does not validate discovered accounts. -*EmailApi* | [**discover_email_config_async**](EmailApi.md#discover_email_config_async) | **GET** /email/config/discover | Discover email accounts by email address. Does not validate discovered accounts. -*EmailApi* | [**discover_email_config_oauth**](EmailApi.md#discover_email_config_oauth) | **POST** /email/config/discover/oauth | Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. -*EmailApi* | [**discover_email_config_oauth_async**](EmailApi.md#discover_email_config_oauth_async) | **POST** /email/config/discover/oauth | Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. -*EmailApi* | [**discover_email_config_password**](EmailApi.md#discover_email_config_password) | **POST** /email/config/discover/password | Discover email accounts by email address. Validates discovered accounts using login and password. -*EmailApi* | [**discover_email_config_password_async**](EmailApi.md#discover_email_config_password_async) | **POST** /email/config/discover/password | Discover email accounts by email address. Validates discovered accounts using login and password. -*EmailApi* | [**download_file**](EmailApi.md#download_file) | **GET** /email/storage/file/{path} | -*EmailApi* | [**download_file_async**](EmailApi.md#download_file_async) | **GET** /email/storage/file/{path} | -*EmailApi* | [**fetch_email_message**](EmailApi.md#fetch_email_message) | **GET** /email/client/Fetch | Fetch message mime from email account -*EmailApi* | [**fetch_email_message_async**](EmailApi.md#fetch_email_message_async) | **GET** /email/client/Fetch | Fetch message mime from email account -*EmailApi* | [**fetch_email_model**](EmailApi.md#fetch_email_model) | **GET** /email/client/FetchModel | Fetch message model from email account -*EmailApi* | [**fetch_email_model_async**](EmailApi.md#fetch_email_model_async) | **GET** /email/client/FetchModel | Fetch message model from email account -*EmailApi* | [**fetch_email_thread_messages**](EmailApi.md#fetch_email_thread_messages) | **GET** /email/client/threads/{threadId}/messages | Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. -*EmailApi* | [**fetch_email_thread_messages_async**](EmailApi.md#fetch_email_thread_messages_async) | **GET** /email/client/threads/{threadId}/messages | Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. -*EmailApi* | [**get_calendar**](EmailApi.md#get_calendar) | **GET** /email/Calendar/{name}/properties | Get calendar file properties -*EmailApi* | [**get_calendar_async**](EmailApi.md#get_calendar_async) | **GET** /email/Calendar/{name}/properties | Get calendar file properties -*EmailApi* | [**get_calendar_as_file**](EmailApi.md#get_calendar_as_file) | **GET** /email/CalendarModel/{fileName}/as-file/{format} | Converts calendar document from storage to specified format and returns as file -*EmailApi* | [**get_calendar_as_file_async**](EmailApi.md#get_calendar_as_file_async) | **GET** /email/CalendarModel/{fileName}/as-file/{format} | Converts calendar document from storage to specified format and returns as file -*EmailApi* | [**get_calendar_attachment**](EmailApi.md#get_calendar_attachment) | **GET** /email/Calendar/{name}/attachments/{attachment} | Get iCalendar document attachment by name -*EmailApi* | [**get_calendar_attachment_async**](EmailApi.md#get_calendar_attachment_async) | **GET** /email/Calendar/{name}/attachments/{attachment} | Get iCalendar document attachment by name -*EmailApi* | [**get_calendar_file_as_mapi_model**](EmailApi.md#get_calendar_file_as_mapi_model) | **PUT** /email/MapiCalendar/file-as-model | Converts calendar file to a MAPI model representation -*EmailApi* | [**get_calendar_file_as_mapi_model_async**](EmailApi.md#get_calendar_file_as_mapi_model_async) | **PUT** /email/MapiCalendar/file-as-model | Converts calendar file to a MAPI model representation -*EmailApi* | [**get_calendar_file_as_model**](EmailApi.md#get_calendar_file_as_model) | **PUT** /email/CalendarModel/file-as-model | Converts calendar document to a model representation -*EmailApi* | [**get_calendar_file_as_model_async**](EmailApi.md#get_calendar_file_as_model_async) | **PUT** /email/CalendarModel/file-as-model | Converts calendar document to a model representation -*EmailApi* | [**get_calendar_list**](EmailApi.md#get_calendar_list) | **GET** /email/Calendar | Get iCalendar files list in folder on storage -*EmailApi* | [**get_calendar_list_async**](EmailApi.md#get_calendar_list_async) | **GET** /email/Calendar | Get iCalendar files list in folder on storage -*EmailApi* | [**get_calendar_model**](EmailApi.md#get_calendar_model) | **GET** /email/CalendarModel/{name} | Get calendar file -*EmailApi* | [**get_calendar_model_async**](EmailApi.md#get_calendar_model_async) | **GET** /email/CalendarModel/{name} | Get calendar file -*EmailApi* | [**get_calendar_model_as_alternate**](EmailApi.md#get_calendar_model_as_alternate) | **GET** /email/CalendarModel/{name}/as-alternate/{calendarAction} | Get iCalendar from storage as AlternateView -*EmailApi* | [**get_calendar_model_as_alternate_async**](EmailApi.md#get_calendar_model_as_alternate_async) | **GET** /email/CalendarModel/{name}/as-alternate/{calendarAction} | Get iCalendar from storage as AlternateView -*EmailApi* | [**get_calendar_model_list**](EmailApi.md#get_calendar_model_list) | **GET** /email/CalendarModel | Get iCalendar list from storage folder -*EmailApi* | [**get_calendar_model_list_async**](EmailApi.md#get_calendar_model_list_async) | **GET** /email/CalendarModel | Get iCalendar list from storage folder -*EmailApi* | [**get_contact_as_file**](EmailApi.md#get_contact_as_file) | **GET** /email/ContactModel/{format}/{fileName}/as-file/{destinationFormat} | Converts calendar document from storage to specified format and returns as file -*EmailApi* | [**get_contact_as_file_async**](EmailApi.md#get_contact_as_file_async) | **GET** /email/ContactModel/{format}/{fileName}/as-file/{destinationFormat} | Converts calendar document from storage to specified format and returns as file -*EmailApi* | [**get_contact_attachment**](EmailApi.md#get_contact_attachment) | **GET** /email/Contact/{format}/{name}/attachments/{attachment} | Get attachment file by name -*EmailApi* | [**get_contact_attachment_async**](EmailApi.md#get_contact_attachment_async) | **GET** /email/Contact/{format}/{name}/attachments/{attachment} | Get attachment file by name -*EmailApi* | [**get_contact_file_as_mapi_model**](EmailApi.md#get_contact_file_as_mapi_model) | **PUT** /email/MapiContact/{fileFormat}/file-as-model | Converts contact file to a MAPI model representation -*EmailApi* | [**get_contact_file_as_mapi_model_async**](EmailApi.md#get_contact_file_as_mapi_model_async) | **PUT** /email/MapiContact/{fileFormat}/file-as-model | Converts contact file to a MAPI model representation -*EmailApi* | [**get_contact_file_as_model**](EmailApi.md#get_contact_file_as_model) | **PUT** /email/ContactModel/{format}/file-as-model | Converts contact document to a model representation -*EmailApi* | [**get_contact_file_as_model_async**](EmailApi.md#get_contact_file_as_model_async) | **PUT** /email/ContactModel/{format}/file-as-model | Converts contact document to a model representation -*EmailApi* | [**get_contact_list**](EmailApi.md#get_contact_list) | **GET** /email/Contact/{format} | Get contact list from storage folder -*EmailApi* | [**get_contact_list_async**](EmailApi.md#get_contact_list_async) | **GET** /email/Contact/{format} | Get contact list from storage folder -*EmailApi* | [**get_contact_model**](EmailApi.md#get_contact_model) | **GET** /email/ContactModel/{format}/{name} | Get contact document. -*EmailApi* | [**get_contact_model_async**](EmailApi.md#get_contact_model_async) | **GET** /email/ContactModel/{format}/{name} | Get contact document. -*EmailApi* | [**get_contact_model_list**](EmailApi.md#get_contact_model_list) | **GET** /email/ContactModel/{format} | Get contact list from storage folder. -*EmailApi* | [**get_contact_model_list_async**](EmailApi.md#get_contact_model_list_async) | **GET** /email/ContactModel/{format} | Get contact list from storage folder. -*EmailApi* | [**get_contact_properties**](EmailApi.md#get_contact_properties) | **GET** /email/Contact/{format}/{name}/properties | Get contact document properties -*EmailApi* | [**get_contact_properties_async**](EmailApi.md#get_contact_properties_async) | **GET** /email/Contact/{format}/{name}/properties | Get contact document properties -*EmailApi* | [**get_disc_usage**](EmailApi.md#get_disc_usage) | **GET** /email/storage/disc | -*EmailApi* | [**get_disc_usage_async**](EmailApi.md#get_disc_usage_async) | **GET** /email/storage/disc | -*EmailApi* | [**get_email**](EmailApi.md#get_email) | **GET** /email/{fileName} | Get email document -*EmailApi* | [**get_email_async**](EmailApi.md#get_email_async) | **GET** /email/{fileName} | Get email document -*EmailApi* | [**get_email_as_file**](EmailApi.md#get_email_as_file) | **GET** /email/{fileName}/as-file/{format} | Converts email document from storage to specified format and returns as file -*EmailApi* | [**get_email_as_file_async**](EmailApi.md#get_email_as_file_async) | **GET** /email/{fileName}/as-file/{format} | Converts email document from storage to specified format and returns as file -*EmailApi* | [**get_email_attachment**](EmailApi.md#get_email_attachment) | **GET** /email/{fileName}/attachments/{attachment} | Get email attachment by name -*EmailApi* | [**get_email_attachment_async**](EmailApi.md#get_email_attachment_async) | **GET** /email/{fileName}/attachments/{attachment} | Get email attachment by name -*EmailApi* | [**get_email_client_account**](EmailApi.md#get_email_client_account) | **GET** /email/client/email-client-account | Get email client account from storage -*EmailApi* | [**get_email_client_account_async**](EmailApi.md#get_email_client_account_async) | **GET** /email/client/email-client-account | Get email client account from storage -*EmailApi* | [**get_email_client_multi_account**](EmailApi.md#get_email_client_multi_account) | **GET** /email/client/multi-account | Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". -*EmailApi* | [**get_email_client_multi_account_async**](EmailApi.md#get_email_client_multi_account_async) | **GET** /email/client/multi-account | Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". -*EmailApi* | [**get_email_file_as_mapi_model**](EmailApi.md#get_email_file_as_mapi_model) | **PUT** /email/MapiMessage/{fileFormat}/file-as-model | Converts email file to a MAPI model representation -*EmailApi* | [**get_email_file_as_mapi_model_async**](EmailApi.md#get_email_file_as_mapi_model_async) | **PUT** /email/MapiMessage/{fileFormat}/file-as-model | Converts email file to a MAPI model representation -*EmailApi* | [**get_email_file_as_model**](EmailApi.md#get_email_file_as_model) | **PUT** /email/model/file-as-model | Converts email document to a model representation -*EmailApi* | [**get_email_file_as_model_async**](EmailApi.md#get_email_file_as_model_async) | **PUT** /email/model/file-as-model | Converts email document to a model representation -*EmailApi* | [**get_email_model**](EmailApi.md#get_email_model) | **GET** /email/model/{format}/{name} | Get email document. -*EmailApi* | [**get_email_model_async**](EmailApi.md#get_email_model_async) | **GET** /email/model/{format}/{name} | Get email document. -*EmailApi* | [**get_email_model_list**](EmailApi.md#get_email_model_list) | **GET** /email/model/{format} | Get email list from storage folder. -*EmailApi* | [**get_email_model_list_async**](EmailApi.md#get_email_model_list_async) | **GET** /email/model/{format} | Get email list from storage folder. -*EmailApi* | [**get_email_property**](EmailApi.md#get_email_property) | **GET** /email/{fileName}/properties/{propertyName} | Get an email document property by its name -*EmailApi* | [**get_email_property_async**](EmailApi.md#get_email_property_async) | **GET** /email/{fileName}/properties/{propertyName} | Get an email document property by its name -*EmailApi* | [**get_file_versions**](EmailApi.md#get_file_versions) | **GET** /email/storage/version/{path} | -*EmailApi* | [**get_file_versions_async**](EmailApi.md#get_file_versions_async) | **GET** /email/storage/version/{path} | -*EmailApi* | [**get_files_list**](EmailApi.md#get_files_list) | **GET** /email/storage/folder/{path} | -*EmailApi* | [**get_files_list_async**](EmailApi.md#get_files_list_async) | **GET** /email/storage/folder/{path} | -*EmailApi* | [**get_mapi_attachment**](EmailApi.md#get_mapi_attachment) | **GET** /email/Mapi/{name}/attachments/{attachment} | Get document attachment as file stream -*EmailApi* | [**get_mapi_attachment_async**](EmailApi.md#get_mapi_attachment_async) | **GET** /email/Mapi/{name}/attachments/{attachment} | Get document attachment as file stream -*EmailApi* | [**get_mapi_attachments**](EmailApi.md#get_mapi_attachments) | **GET** /email/Mapi/{name}/attachments | Get document attachment list -*EmailApi* | [**get_mapi_attachments_async**](EmailApi.md#get_mapi_attachments_async) | **GET** /email/Mapi/{name}/attachments | Get document attachment list -*EmailApi* | [**get_mapi_calendar_model**](EmailApi.md#get_mapi_calendar_model) | **GET** /email/MapiCalendar/{name} | Get MAPI calendar document. -*EmailApi* | [**get_mapi_calendar_model_async**](EmailApi.md#get_mapi_calendar_model_async) | **GET** /email/MapiCalendar/{name} | Get MAPI calendar document. -*EmailApi* | [**get_mapi_contact_model**](EmailApi.md#get_mapi_contact_model) | **GET** /email/MapiContact/{format}/{name} | Get MAPI contact document. -*EmailApi* | [**get_mapi_contact_model_async**](EmailApi.md#get_mapi_contact_model_async) | **GET** /email/MapiContact/{format}/{name} | Get MAPI contact document. -*EmailApi* | [**get_mapi_list**](EmailApi.md#get_mapi_list) | **GET** /email/Mapi | Get document list from storage folder -*EmailApi* | [**get_mapi_list_async**](EmailApi.md#get_mapi_list_async) | **GET** /email/Mapi | Get document list from storage folder -*EmailApi* | [**get_mapi_message_model**](EmailApi.md#get_mapi_message_model) | **GET** /email/MapiMessage/{format}/{name} | Get MAPI message document. -*EmailApi* | [**get_mapi_message_model_async**](EmailApi.md#get_mapi_message_model_async) | **GET** /email/MapiMessage/{format}/{name} | Get MAPI message document. -*EmailApi* | [**get_mapi_properties**](EmailApi.md#get_mapi_properties) | **GET** /email/Mapi/{name}/properties | Get document properties -*EmailApi* | [**get_mapi_properties_async**](EmailApi.md#get_mapi_properties_async) | **GET** /email/Mapi/{name}/properties | Get document properties -*EmailApi* | [**is_email_address_disposable**](EmailApi.md#is_email_address_disposable) | **GET** /email/disposable/isDisposable/{address} | Check email address is disposable -*EmailApi* | [**is_email_address_disposable_async**](EmailApi.md#is_email_address_disposable_async) | **GET** /email/disposable/isDisposable/{address} | Check email address is disposable -*EmailApi* | [**list_email_folders**](EmailApi.md#list_email_folders) | **GET** /email/client/ListFolders | Get folders list in email account -*EmailApi* | [**list_email_folders_async**](EmailApi.md#list_email_folders_async) | **GET** /email/client/ListFolders | Get folders list in email account -*EmailApi* | [**list_email_messages**](EmailApi.md#list_email_messages) | **GET** /email/client/ListMessages | Get messages from folder, filtered by query -*EmailApi* | [**list_email_messages_async**](EmailApi.md#list_email_messages_async) | **GET** /email/client/ListMessages | Get messages from folder, filtered by query -*EmailApi* | [**list_email_models**](EmailApi.md#list_email_models) | **GET** /email/client/ListMessagesModel | Get messages from folder, filtered by query -*EmailApi* | [**list_email_models_async**](EmailApi.md#list_email_models_async) | **GET** /email/client/ListMessagesModel | Get messages from folder, filtered by query -*EmailApi* | [**list_email_threads**](EmailApi.md#list_email_threads) | **GET** /email/client/threads | Get message threads from folder. All messages are partly fetched (without email body and other fields) -*EmailApi* | [**list_email_threads_async**](EmailApi.md#list_email_threads_async) | **GET** /email/client/threads | Get message threads from folder. All messages are partly fetched (without email body and other fields) -*EmailApi* | [**move_email_message**](EmailApi.md#move_email_message) | **PUT** /email/client/move | Move message to another folder -*EmailApi* | [**move_email_message_async**](EmailApi.md#move_email_message_async) | **PUT** /email/client/move | Move message to another folder -*EmailApi* | [**move_email_thread**](EmailApi.md#move_email_thread) | **PUT** /email/client/threads/{threadId}/move | Move thread to another folder -*EmailApi* | [**move_email_thread_async**](EmailApi.md#move_email_thread_async) | **PUT** /email/client/threads/{threadId}/move | Move thread to another folder -*EmailApi* | [**move_file**](EmailApi.md#move_file) | **PUT** /email/storage/file/move/{srcPath} | -*EmailApi* | [**move_file_async**](EmailApi.md#move_file_async) | **PUT** /email/storage/file/move/{srcPath} | -*EmailApi* | [**move_folder**](EmailApi.md#move_folder) | **PUT** /email/storage/folder/move/{srcPath} | -*EmailApi* | [**move_folder_async**](EmailApi.md#move_folder_async) | **PUT** /email/storage/folder/move/{srcPath} | -*EmailApi* | [**object_exists**](EmailApi.md#object_exists) | **GET** /email/storage/exist/{path} | -*EmailApi* | [**object_exists_async**](EmailApi.md#object_exists_async) | **GET** /email/storage/exist/{path} | -*EmailApi* | [**save_calendar_model**](EmailApi.md#save_calendar_model) | **PUT** /email/CalendarModel/{name} | Save iCalendar -*EmailApi* | [**save_calendar_model_async**](EmailApi.md#save_calendar_model_async) | **PUT** /email/CalendarModel/{name} | Save iCalendar -*EmailApi* | [**save_contact_model**](EmailApi.md#save_contact_model) | **PUT** /email/ContactModel/{format}/{name} | Save contact. -*EmailApi* | [**save_contact_model_async**](EmailApi.md#save_contact_model_async) | **PUT** /email/ContactModel/{format}/{name} | Save contact. -*EmailApi* | [**save_email_client_account**](EmailApi.md#save_email_client_account) | **PUT** /email/client/email-client-account | Create email client account file (*.account) with any of supported credentials -*EmailApi* | [**save_email_client_account_async**](EmailApi.md#save_email_client_account_async) | **PUT** /email/client/email-client-account | Create email client account file (*.account) with any of supported credentials -*EmailApi* | [**save_email_client_multi_account**](EmailApi.md#save_email_client_multi_account) | **PUT** /email/client/multi-account | Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". -*EmailApi* | [**save_email_client_multi_account_async**](EmailApi.md#save_email_client_multi_account_async) | **PUT** /email/client/multi-account | Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". -*EmailApi* | [**save_email_model**](EmailApi.md#save_email_model) | **PUT** /email/model/{format}/{name} | Save email document. -*EmailApi* | [**save_email_model_async**](EmailApi.md#save_email_model_async) | **PUT** /email/model/{format}/{name} | Save email document. -*EmailApi* | [**save_mail_account**](EmailApi.md#save_mail_account) | **POST** /email/client/SaveMailAccount | Create email account file (*.account) with login/password authentication -*EmailApi* | [**save_mail_account_async**](EmailApi.md#save_mail_account_async) | **POST** /email/client/SaveMailAccount | Create email account file (*.account) with login/password authentication -*EmailApi* | [**save_mail_o_auth_account**](EmailApi.md#save_mail_o_auth_account) | **POST** /email/client/SaveMailOAuthAccount | Create email account file (*.account) with OAuth -*EmailApi* | [**save_mail_o_auth_account_async**](EmailApi.md#save_mail_o_auth_account_async) | **POST** /email/client/SaveMailOAuthAccount | Create email account file (*.account) with OAuth -*EmailApi* | [**save_mapi_calendar_model**](EmailApi.md#save_mapi_calendar_model) | **PUT** /email/MapiCalendar/{format}/{name} | Save MAPI Calendar to storage. -*EmailApi* | [**save_mapi_calendar_model_async**](EmailApi.md#save_mapi_calendar_model_async) | **PUT** /email/MapiCalendar/{format}/{name} | Save MAPI Calendar to storage. -*EmailApi* | [**save_mapi_contact_model**](EmailApi.md#save_mapi_contact_model) | **PUT** /email/MapiContact/{format}/{name} | Save MAPI Contact to storage. -*EmailApi* | [**save_mapi_contact_model_async**](EmailApi.md#save_mapi_contact_model_async) | **PUT** /email/MapiContact/{format}/{name} | Save MAPI Contact to storage. -*EmailApi* | [**save_mapi_message_model**](EmailApi.md#save_mapi_message_model) | **PUT** /email/MapiMessage/{format}/{name} | Save MAPI message to storage. -*EmailApi* | [**save_mapi_message_model_async**](EmailApi.md#save_mapi_message_model_async) | **PUT** /email/MapiMessage/{format}/{name} | Save MAPI message to storage. -*EmailApi* | [**send_email**](EmailApi.md#send_email) | **POST** /email/client/Send | Send an email from *.eml file located on storage -*EmailApi* | [**send_email_async**](EmailApi.md#send_email_async) | **POST** /email/client/Send | Send an email from *.eml file located on storage -*EmailApi* | [**send_email_mime**](EmailApi.md#send_email_mime) | **POST** /email/client/SendMime | Send an email specified by MIME in request -*EmailApi* | [**send_email_mime_async**](EmailApi.md#send_email_mime_async) | **POST** /email/client/SendMime | Send an email specified by MIME in request -*EmailApi* | [**send_email_model**](EmailApi.md#send_email_model) | **POST** /email/client/SendModel | Send an email specified by model in request -*EmailApi* | [**send_email_model_async**](EmailApi.md#send_email_model_async) | **POST** /email/client/SendModel | Send an email specified by model in request -*EmailApi* | [**set_email_property**](EmailApi.md#set_email_property) | **PUT** /email/{fileName}/properties/{propertyName} | Set email document property value -*EmailApi* | [**set_email_property_async**](EmailApi.md#set_email_property_async) | **PUT** /email/{fileName}/properties/{propertyName} | Set email document property value -*EmailApi* | [**set_email_read_flag**](EmailApi.md#set_email_read_flag) | **POST** /email/client/SetReadFlag | Sets \"Message is read\" flag -*EmailApi* | [**set_email_read_flag_async**](EmailApi.md#set_email_read_flag_async) | **POST** /email/client/SetReadFlag | Sets \"Message is read\" flag -*EmailApi* | [**set_email_thread_read_flag**](EmailApi.md#set_email_thread_read_flag) | **PUT** /email/client/threads/{threadId}/read-flag | Mark all messages in thread as read or unread -*EmailApi* | [**set_email_thread_read_flag_async**](EmailApi.md#set_email_thread_read_flag_async) | **PUT** /email/client/threads/{threadId}/read-flag | Mark all messages in thread as read or unread -*EmailApi* | [**storage_exists**](EmailApi.md#storage_exists) | **GET** /email/storage/{storageName}/exist | -*EmailApi* | [**storage_exists_async**](EmailApi.md#storage_exists_async) | **GET** /email/storage/{storageName}/exist | -*EmailApi* | [**update_calendar_properties**](EmailApi.md#update_calendar_properties) | **PUT** /email/Calendar/{name}/properties | Update calendar file properties -*EmailApi* | [**update_calendar_properties_async**](EmailApi.md#update_calendar_properties_async) | **PUT** /email/Calendar/{name}/properties | Update calendar file properties -*EmailApi* | [**update_contact_properties**](EmailApi.md#update_contact_properties) | **PUT** /email/Contact/{format}/{name}/properties | Update contact document properties -*EmailApi* | [**update_contact_properties_async**](EmailApi.md#update_contact_properties_async) | **PUT** /email/Contact/{format}/{name}/properties | Update contact document properties -*EmailApi* | [**update_mapi_properties**](EmailApi.md#update_mapi_properties) | **PUT** /email/Mapi/{name}/properties | Update document properties -*EmailApi* | [**update_mapi_properties_async**](EmailApi.md#update_mapi_properties_async) | **PUT** /email/Mapi/{name}/properties | Update document properties -*EmailApi* | [**upload_file**](EmailApi.md#upload_file) | **PUT** /email/storage/file/{path} | -*EmailApi* | [**upload_file_async**](EmailApi.md#upload_file_async) | **PUT** /email/storage/file/{path} | +```java +String appKey = "Your App Key"; +String appSid = "Your App SID"; +EmailCloud api = new EmailCloud(appKey, appSid); +``` -## Documentation for Models +All Aspose.Email Cloud functions are divided into groups and represented as `EmailCloud` fields: - - [AsposeEmailCloudSdk.models.AccountBaseRequest](AccountBaseRequest.md) - - [AsposeEmailCloudSdk.models.AddAttachmentRequest](AddAttachmentRequest.md) - - [AsposeEmailCloudSdk.models.AiBcrImage](AiBcrImage.md) - - [AsposeEmailCloudSdk.models.AiBcrOcrData](AiBcrOcrData.md) - - [AsposeEmailCloudSdk.models.AiBcrOcrDataPart](AiBcrOcrDataPart.md) - - [AsposeEmailCloudSdk.models.AiBcrOptions](AiBcrOptions.md) - - [AsposeEmailCloudSdk.models.AiBcrRq](AiBcrRq.md) - - [AsposeEmailCloudSdk.models.AiNameComponent](AiNameComponent.md) - - [AsposeEmailCloudSdk.models.AiNameCulturalContext](AiNameCulturalContext.md) - - [AsposeEmailCloudSdk.models.AiNameExtracted](AiNameExtracted.md) - - [AsposeEmailCloudSdk.models.AiNameExtractedComponent](AiNameExtractedComponent.md) - - [AsposeEmailCloudSdk.models.AiNameFormatted](AiNameFormatted.md) - - [AsposeEmailCloudSdk.models.AiNameGenderHypothesis](AiNameGenderHypothesis.md) - - [AsposeEmailCloudSdk.models.AiNameMatchResult](AiNameMatchResult.md) - - [AsposeEmailCloudSdk.models.AiNameMismatch](AiNameMismatch.md) - - [AsposeEmailCloudSdk.models.AiNameParsedRq](AiNameParsedRq.md) - - [AsposeEmailCloudSdk.models.AiNameWeighted](AiNameWeighted.md) - - [AsposeEmailCloudSdk.models.AiNameWeightedVariants](AiNameWeightedVariants.md) - - [AsposeEmailCloudSdk.models.AssociatedPerson](AssociatedPerson.md) - - [AsposeEmailCloudSdk.models.AttachmentBase](AttachmentBase.md) - - [AsposeEmailCloudSdk.models.BaseObject](BaseObject.md) - - [AsposeEmailCloudSdk.models.CalendarDto](CalendarDto.md) - - [AsposeEmailCloudSdk.models.CalendarDtoAlternateRq](CalendarDtoAlternateRq.md) - - [AsposeEmailCloudSdk.models.CalendarReminder](CalendarReminder.md) - - [AsposeEmailCloudSdk.models.ContactDto](ContactDto.md) - - [AsposeEmailCloudSdk.models.ContactPhoto](ContactPhoto.md) - - [AsposeEmailCloudSdk.models.ContentType](ContentType.md) - - [AsposeEmailCloudSdk.models.ContentTypeParameter](ContentTypeParameter.md) - - [AsposeEmailCloudSdk.models.CreateEmailRequest](CreateEmailRequest.md) - - [AsposeEmailCloudSdk.models.CustomerEvent](CustomerEvent.md) - - [AsposeEmailCloudSdk.models.DiscUsage](DiscUsage.md) - - [AsposeEmailCloudSdk.models.DiscoverEmailConfigRq](DiscoverEmailConfigRq.md) - - [AsposeEmailCloudSdk.models.EmailAccountConfig](EmailAccountConfig.md) - - [AsposeEmailCloudSdk.models.EmailAccountRequest](EmailAccountRequest.md) - - [AsposeEmailCloudSdk.models.EmailAddress](EmailAddress.md) - - [AsposeEmailCloudSdk.models.EmailClientAccount](EmailClientAccount.md) - - [AsposeEmailCloudSdk.models.EmailClientAccountCredentials](EmailClientAccountCredentials.md) - - [AsposeEmailCloudSdk.models.EmailClientMultiAccount](EmailClientMultiAccount.md) - - [AsposeEmailCloudSdk.models.EmailDocument](EmailDocument.md) - - [AsposeEmailCloudSdk.models.EmailDocumentResponse](EmailDocumentResponse.md) - - [AsposeEmailCloudSdk.models.EmailDto](EmailDto.md) - - [AsposeEmailCloudSdk.models.EmailProperties](EmailProperties.md) - - [AsposeEmailCloudSdk.models.EmailProperty](EmailProperty.md) - - [AsposeEmailCloudSdk.models.EmailPropertyResponse](EmailPropertyResponse.md) - - [AsposeEmailCloudSdk.models.EmailThread](EmailThread.md) - - [AsposeEmailCloudSdk.models.EnumWithCustomOfAssociatedPersonCategory](EnumWithCustomOfAssociatedPersonCategory.md) - - [AsposeEmailCloudSdk.models.EnumWithCustomOfEmailAddressCategory](EnumWithCustomOfEmailAddressCategory.md) - - [AsposeEmailCloudSdk.models.EnumWithCustomOfEventCategory](EnumWithCustomOfEventCategory.md) - - [AsposeEmailCloudSdk.models.EnumWithCustomOfInstantMessengerCategory](EnumWithCustomOfInstantMessengerCategory.md) - - [AsposeEmailCloudSdk.models.EnumWithCustomOfPhoneNumberCategory](EnumWithCustomOfPhoneNumberCategory.md) - - [AsposeEmailCloudSdk.models.EnumWithCustomOfPostalAddressCategory](EnumWithCustomOfPostalAddressCategory.md) - - [AsposeEmailCloudSdk.models.EnumWithCustomOfUrlCategory](EnumWithCustomOfUrlCategory.md) - - [AsposeEmailCloudSdk.models.Error](Error.md) - - [AsposeEmailCloudSdk.models.ErrorDetails](ErrorDetails.md) - - [AsposeEmailCloudSdk.models.FileVersions](FileVersions.md) - - [AsposeEmailCloudSdk.models.FilesList](FilesList.md) - - [AsposeEmailCloudSdk.models.FilesUploadResult](FilesUploadResult.md) - - [AsposeEmailCloudSdk.models.HierarchicalObjectRequest](HierarchicalObjectRequest.md) - - [AsposeEmailCloudSdk.models.HierarchicalObjectResponse](HierarchicalObjectResponse.md) - - [AsposeEmailCloudSdk.models.InstantMessengerAddress](InstantMessengerAddress.md) - - [AsposeEmailCloudSdk.models.Link](Link.md) - - [AsposeEmailCloudSdk.models.ListResponseOfAiBcrOcrData](ListResponseOfAiBcrOcrData.md) - - [AsposeEmailCloudSdk.models.ListResponseOfAiNameComponent](ListResponseOfAiNameComponent.md) - - [AsposeEmailCloudSdk.models.ListResponseOfAiNameExtracted](ListResponseOfAiNameExtracted.md) - - [AsposeEmailCloudSdk.models.ListResponseOfAiNameGenderHypothesis](ListResponseOfAiNameGenderHypothesis.md) - - [AsposeEmailCloudSdk.models.ListResponseOfContactDto](ListResponseOfContactDto.md) - - [AsposeEmailCloudSdk.models.ListResponseOfEmailAccountConfig](ListResponseOfEmailAccountConfig.md) - - [AsposeEmailCloudSdk.models.ListResponseOfEmailDto](ListResponseOfEmailDto.md) - - [AsposeEmailCloudSdk.models.ListResponseOfEmailThread](ListResponseOfEmailThread.md) - - [AsposeEmailCloudSdk.models.ListResponseOfHierarchicalObject](ListResponseOfHierarchicalObject.md) - - [AsposeEmailCloudSdk.models.ListResponseOfHierarchicalObjectResponse](ListResponseOfHierarchicalObjectResponse.md) - - [AsposeEmailCloudSdk.models.ListResponseOfMailServerFolder](ListResponseOfMailServerFolder.md) - - [AsposeEmailCloudSdk.models.ListResponseOfStorageFileLocation](ListResponseOfStorageFileLocation.md) - - [AsposeEmailCloudSdk.models.ListResponseOfStorageModelOfCalendarDto](ListResponseOfStorageModelOfCalendarDto.md) - - [AsposeEmailCloudSdk.models.ListResponseOfStorageModelOfContactDto](ListResponseOfStorageModelOfContactDto.md) - - [AsposeEmailCloudSdk.models.ListResponseOfStorageModelOfEmailDto](ListResponseOfStorageModelOfEmailDto.md) - - [AsposeEmailCloudSdk.models.ListResponseOfString](ListResponseOfString.md) - - [AsposeEmailCloudSdk.models.MailAddress](MailAddress.md) - - [AsposeEmailCloudSdk.models.MailServerFolder](MailServerFolder.md) - - [AsposeEmailCloudSdk.models.MapiAttachmentDto](MapiAttachmentDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarAttendeesDto](MapiCalendarAttendeesDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarEventRecurrenceDto](MapiCalendarEventRecurrenceDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarExceptionInfoDto](MapiCalendarExceptionInfoDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarRecurrencePatternDto](MapiCalendarRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarTimeZoneDto](MapiCalendarTimeZoneDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarTimeZoneInfoDto](MapiCalendarTimeZoneInfoDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarTimeZoneRuleDto](MapiCalendarTimeZoneRuleDto.md) - - [AsposeEmailCloudSdk.models.MapiContactElectronicAddressDto](MapiContactElectronicAddressDto.md) - - [AsposeEmailCloudSdk.models.MapiContactElectronicAddressPropertySetDto](MapiContactElectronicAddressPropertySetDto.md) - - [AsposeEmailCloudSdk.models.MapiContactEventPropertySetDto](MapiContactEventPropertySetDto.md) - - [AsposeEmailCloudSdk.models.MapiContactNamePropertySetDto](MapiContactNamePropertySetDto.md) - - [AsposeEmailCloudSdk.models.MapiContactOtherPropertySetDto](MapiContactOtherPropertySetDto.md) - - [AsposeEmailCloudSdk.models.MapiContactPersonalInfoPropertySetDto](MapiContactPersonalInfoPropertySetDto.md) - - [AsposeEmailCloudSdk.models.MapiContactPhysicalAddressDto](MapiContactPhysicalAddressDto.md) - - [AsposeEmailCloudSdk.models.MapiContactPhysicalAddressPropertySetDto](MapiContactPhysicalAddressPropertySetDto.md) - - [AsposeEmailCloudSdk.models.MapiContactProfessionalPropertySetDto](MapiContactProfessionalPropertySetDto.md) - - [AsposeEmailCloudSdk.models.MapiContactTelephonePropertySetDto](MapiContactTelephonePropertySetDto.md) - - [AsposeEmailCloudSdk.models.MapiElectronicAddressDto](MapiElectronicAddressDto.md) - - [AsposeEmailCloudSdk.models.MapiMessageItemBaseDto](MapiMessageItemBaseDto.md) - - [AsposeEmailCloudSdk.models.MapiPropertyDescriptor](MapiPropertyDescriptor.md) - - [AsposeEmailCloudSdk.models.MapiPropertyDto](MapiPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiRecipientDto](MapiRecipientDto.md) - - [AsposeEmailCloudSdk.models.MimeResponse](MimeResponse.md) - - [AsposeEmailCloudSdk.models.NameValuePair](NameValuePair.md) - - [AsposeEmailCloudSdk.models.ObjectExist](ObjectExist.md) - - [AsposeEmailCloudSdk.models.PhoneNumber](PhoneNumber.md) - - [AsposeEmailCloudSdk.models.PostalAddress](PostalAddress.md) - - [AsposeEmailCloudSdk.models.RecurrencePatternDto](RecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.ReminderAttendee](ReminderAttendee.md) - - [AsposeEmailCloudSdk.models.ReminderTrigger](ReminderTrigger.md) - - [AsposeEmailCloudSdk.models.SetEmailPropertyRequest](SetEmailPropertyRequest.md) - - [AsposeEmailCloudSdk.models.StorageExist](StorageExist.md) - - [AsposeEmailCloudSdk.models.StorageFile](StorageFile.md) - - [AsposeEmailCloudSdk.models.StorageFileRqOfEmailClientAccount](StorageFileRqOfEmailClientAccount.md) - - [AsposeEmailCloudSdk.models.StorageFileRqOfEmailClientMultiAccount](StorageFileRqOfEmailClientMultiAccount.md) - - [AsposeEmailCloudSdk.models.StorageFolderLocation](StorageFolderLocation.md) - - [AsposeEmailCloudSdk.models.StorageModelOfCalendarDto](StorageModelOfCalendarDto.md) - - [AsposeEmailCloudSdk.models.StorageModelOfContactDto](StorageModelOfContactDto.md) - - [AsposeEmailCloudSdk.models.StorageModelOfEmailDto](StorageModelOfEmailDto.md) - - [AsposeEmailCloudSdk.models.StorageModelRqOfCalendarDto](StorageModelRqOfCalendarDto.md) - - [AsposeEmailCloudSdk.models.StorageModelRqOfContactDto](StorageModelRqOfContactDto.md) - - [AsposeEmailCloudSdk.models.StorageModelRqOfEmailDto](StorageModelRqOfEmailDto.md) - - [AsposeEmailCloudSdk.models.StorageModelRqOfMapiCalendarDto](StorageModelRqOfMapiCalendarDto.md) - - [AsposeEmailCloudSdk.models.StorageModelRqOfMapiContactDto](StorageModelRqOfMapiContactDto.md) - - [AsposeEmailCloudSdk.models.StorageModelRqOfMapiMessageDto](StorageModelRqOfMapiMessageDto.md) - - [AsposeEmailCloudSdk.models.Url](Url.md) - - [AsposeEmailCloudSdk.models.ValueResponse](ValueResponse.md) - - [AsposeEmailCloudSdk.models.ValueTOfBoolean](ValueTOfBoolean.md) - - [AsposeEmailCloudSdk.models.AiBcrBase64Image](AiBcrBase64Image.md) - - [AsposeEmailCloudSdk.models.AiBcrBase64Rq](AiBcrBase64Rq.md) - - [AsposeEmailCloudSdk.models.AiBcrImageStorageFile](AiBcrImageStorageFile.md) - - [AsposeEmailCloudSdk.models.AiBcrParseOcrDataRq](AiBcrParseOcrDataRq.md) - - [AsposeEmailCloudSdk.models.AiBcrStorageImageRq](AiBcrStorageImageRq.md) - - [AsposeEmailCloudSdk.models.AiNameParsedMatchRq](AiNameParsedMatchRq.md) - - [AsposeEmailCloudSdk.models.AlternateView](AlternateView.md) - - [AsposeEmailCloudSdk.models.AppendEmailAccountBaseRequest](AppendEmailAccountBaseRequest.md) - - [AsposeEmailCloudSdk.models.Attachment](Attachment.md) - - [AsposeEmailCloudSdk.models.CalendarDtoList](CalendarDtoList.md) - - [AsposeEmailCloudSdk.models.ContactDtoList](ContactDtoList.md) - - [AsposeEmailCloudSdk.models.CreateFolderBaseRequest](CreateFolderBaseRequest.md) - - [AsposeEmailCloudSdk.models.DailyRecurrencePatternDto](DailyRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.DeleteEmailThreadAccountRq](DeleteEmailThreadAccountRq.md) - - [AsposeEmailCloudSdk.models.DeleteFolderBaseRequest](DeleteFolderBaseRequest.md) - - [AsposeEmailCloudSdk.models.DeleteMessageBaseRequest](DeleteMessageBaseRequest.md) - - [AsposeEmailCloudSdk.models.DiscoverEmailConfigOauth](DiscoverEmailConfigOauth.md) - - [AsposeEmailCloudSdk.models.DiscoverEmailConfigPassword](DiscoverEmailConfigPassword.md) - - [AsposeEmailCloudSdk.models.EmailAccountConfigList](EmailAccountConfigList.md) - - [AsposeEmailCloudSdk.models.EmailClientAccountOauthCredentials](EmailClientAccountOauthCredentials.md) - - [AsposeEmailCloudSdk.models.EmailClientAccountPasswordCredentials](EmailClientAccountPasswordCredentials.md) - - [AsposeEmailCloudSdk.models.EmailDtoList](EmailDtoList.md) - - [AsposeEmailCloudSdk.models.EmailThreadList](EmailThreadList.md) - - [AsposeEmailCloudSdk.models.EmailThreadReadFlagRq](EmailThreadReadFlagRq.md) - - [AsposeEmailCloudSdk.models.FileVersion](FileVersion.md) - - [AsposeEmailCloudSdk.models.HierarchicalObject](HierarchicalObject.md) - - [AsposeEmailCloudSdk.models.IndexedHierarchicalObject](IndexedHierarchicalObject.md) - - [AsposeEmailCloudSdk.models.IndexedPrimitiveObject](IndexedPrimitiveObject.md) - - [AsposeEmailCloudSdk.models.LinkedResource](LinkedResource.md) - - [AsposeEmailCloudSdk.models.MapiBinaryPropertyDto](MapiBinaryPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiBooleanPropertyDto](MapiBooleanPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarDailyRecurrencePatternDto](MapiCalendarDailyRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarDto](MapiCalendarDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarWeeklyRecurrencePatternDto](MapiCalendarWeeklyRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.MapiCalendarYearlyAndMonthlyRecurrencePatternDto](MapiCalendarYearlyAndMonthlyRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.MapiContactDto](MapiContactDto.md) - - [AsposeEmailCloudSdk.models.MapiContactPhotoDto](MapiContactPhotoDto.md) - - [AsposeEmailCloudSdk.models.MapiDateTimePropertyDto](MapiDateTimePropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiFileAsPropertyDto](MapiFileAsPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiImportancePropertyDto](MapiImportancePropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiIntPropertyDto](MapiIntPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiKnownPropertyDescriptor](MapiKnownPropertyDescriptor.md) - - [AsposeEmailCloudSdk.models.MapiLegacyFreeBusyPropertyDto](MapiLegacyFreeBusyPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiMessageDto](MapiMessageDto.md) - - [AsposeEmailCloudSdk.models.MapiMultiIntPropertyDto](MapiMultiIntPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiMultiStringPropertyDto](MapiMultiStringPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiPhysicalAddressIndexPropertyDto](MapiPhysicalAddressIndexPropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiPidPropertyDescriptor](MapiPidPropertyDescriptor.md) - - [AsposeEmailCloudSdk.models.MapiResponseTypePropertyDto](MapiResponseTypePropertyDto.md) - - [AsposeEmailCloudSdk.models.MapiStringPropertyDto](MapiStringPropertyDto.md) - - [AsposeEmailCloudSdk.models.MonthlyRecurrencePatternDto](MonthlyRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.MoveEmailMessageRq](MoveEmailMessageRq.md) - - [AsposeEmailCloudSdk.models.MoveEmailThreadRq](MoveEmailThreadRq.md) - - [AsposeEmailCloudSdk.models.PrimitiveObject](PrimitiveObject.md) - - [AsposeEmailCloudSdk.models.SaveEmailAccountRequest](SaveEmailAccountRequest.md) - - [AsposeEmailCloudSdk.models.SaveOAuthEmailAccountRequest](SaveOAuthEmailAccountRequest.md) - - [AsposeEmailCloudSdk.models.SendEmailBaseRequest](SendEmailBaseRequest.md) - - [AsposeEmailCloudSdk.models.SendEmailMimeBaseRequest](SendEmailMimeBaseRequest.md) - - [AsposeEmailCloudSdk.models.SendEmailModelRq](SendEmailModelRq.md) - - [AsposeEmailCloudSdk.models.SetMessageReadFlagAccountBaseRequest](SetMessageReadFlagAccountBaseRequest.md) - - [AsposeEmailCloudSdk.models.StorageFileLocation](StorageFileLocation.md) - - [AsposeEmailCloudSdk.models.TaskRegeneratingPatternDto](TaskRegeneratingPatternDto.md) - - [AsposeEmailCloudSdk.models.WeeklyRecurrencePatternDto](WeeklyRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.YearlyRecurrencePatternDto](YearlyRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.AiBcrParseStorageRq](AiBcrParseStorageRq.md) - - [AsposeEmailCloudSdk.models.AppendEmailBaseRequest](AppendEmailBaseRequest.md) - - [AsposeEmailCloudSdk.models.AppendEmailMimeBaseRequest](AppendEmailMimeBaseRequest.md) - - [AsposeEmailCloudSdk.models.AppendEmailModelRq](AppendEmailModelRq.md) - - [AsposeEmailCloudSdk.models.MapiPidLidPropertyDescriptor](MapiPidLidPropertyDescriptor.md) - - [AsposeEmailCloudSdk.models.MapiPidNamePropertyDescriptor](MapiPidNamePropertyDescriptor.md) - - [AsposeEmailCloudSdk.models.MapiPidTagPropertyDescriptor](MapiPidTagPropertyDescriptor.md) +API | Description +--- | ----------- +[EmailCloud.**mapi()**](MapiGroup.md) | MAPI operations. +[EmailCloud.**client()**](ClientGroup.md) | Builtin Email client operations. +[EmailCloud.**ai()**](AiGroup.md) | AI powered operations. +[EmailCloud.**cloudStorage()**](CloudStorageGroup.md) | Cloud file storage operations. +[EmailCloud.**calendar()**](CalendarApi_list.md) | iCalendar document operations. +[EmailCloud.**contact()**](ContactApi_list.md) | Contact document operations. Supported formats: VCard, MSG, WebDav +[EmailCloud.**email()**](EmailApi_list.md) | Email document (*.eml) operations. +[EmailCloud.**disposableEmail()**](DisposableEmailApi_list.md) | Check email address is disposable operations +[EmailCloud.**emailConfig()**](EmailConfigApi_list.md) | Email server configuration discovery. + +List of all available models is available in [Models.md](Models.md) file. \ No newline at end of file diff --git a/sdk/docs/ReminderAttendee.md b/sdk/docs/ReminderAttendee.md index 7c5f0f2..bb72424 100644 --- a/sdk/docs/ReminderAttendee.md +++ b/sdk/docs/ReminderAttendee.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**address** | **str** | Contains the email address. | [optional] +**address** | **str** | Contains the email address. | diff --git a/sdk/docs/SaveEmailAccountRequest.md b/sdk/docs/SaveEmailAccountRequest.md deleted file mode 100644 index cf41aad..0000000 --- a/sdk/docs/SaveEmailAccountRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.SaveEmailAccountRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**password** | **str** | Email account password | - - Parent class: [EmailAccountRequest](EmailAccountRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/SaveOAuthEmailAccountRequest.md b/sdk/docs/SaveOAuthEmailAccountRequest.md deleted file mode 100644 index 0f26972..0000000 --- a/sdk/docs/SaveOAuthEmailAccountRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# AsposeEmailCloudSdk.models.SaveOAuthEmailAccountRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_id** | **str** | OAuth client identifier | -**client_secret** | **str** | OAuth client secret | -**refresh_token** | **str** | OAuth refresh token | -**request_url** | **str** | The url to obtain access token. If not specified, will try to discover from email account host. | [optional] - - Parent class: [EmailAccountRequest](EmailAccountRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/SendEmailBaseRequest.md b/sdk/docs/SendEmailBaseRequest.md deleted file mode 100644 index 97e1670..0000000 --- a/sdk/docs/SendEmailBaseRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.SendEmailBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email_file** | [**StorageFileLocation**](StorageFileLocation.md) | Email document (*.eml) file location in storage | - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/SendEmailMimeBaseRequest.md b/sdk/docs/SendEmailMimeBaseRequest.md deleted file mode 100644 index 78f787b..0000000 --- a/sdk/docs/SendEmailMimeBaseRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.SendEmailMimeBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**base64_mime_message** | **str** | Email document serialized as MIME | - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/SendEmailModelRq.md b/sdk/docs/SendEmailModelRq.md deleted file mode 100644 index d15b248..0000000 --- a/sdk/docs/SendEmailModelRq.md +++ /dev/null @@ -1,11 +0,0 @@ -# AsposeEmailCloudSdk.models.SendEmailModelRq -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | [**EmailDto**](EmailDto.md) | Message to send | [optional] - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/SetEmailPropertyRequest.md b/sdk/docs/SetEmailPropertyRequest.md deleted file mode 100644 index 4e355c1..0000000 --- a/sdk/docs/SetEmailPropertyRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.SetEmailPropertyRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email_property** | [**EmailProperty**](EmailProperty.md) | An email property that should be updated | -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | An email document location in storage | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/SetMessageReadFlagAccountBaseRequest.md b/sdk/docs/SetMessageReadFlagAccountBaseRequest.md deleted file mode 100644 index 4463032..0000000 --- a/sdk/docs/SetMessageReadFlagAccountBaseRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.SetMessageReadFlagAccountBaseRequest -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message_id** | **str** | Message identifier | -**is_read** | **bool** | Specifies that message should be marked read or unread | - - Parent class: [AccountBaseRequest](AccountBaseRequest.md) - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/StorageApi.md b/sdk/docs/StorageApi.md new file mode 100644 index 0000000..94e7ca7 --- /dev/null +++ b/sdk/docs/StorageApi.md @@ -0,0 +1,272 @@ +# AsposeEmailCloudSdk.StorageApi + + +# **get_disc_usage** +> get_disc_usage(self, get_disc_usage_request) + +Get disc usage + +### Return type + +[**DiscUsage**](DiscUsage.md) + +### Request Parameters +```python +__init__(self, + storage_name=storage_name) +``` + +### Usage +```python +StorageApi.get_disc_usage( + cakePrefix_get_disc_usage_request_cakeCodePostProcessor( + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **get_disc_usage_async** +> get_disc_usage_async(self, get_disc_usage_request) + +Get disc usage + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +get_disc_usage_async(request).get() returns [**DiscUsage**](DiscUsage.md) + +### Request Parameters +```python +__init__(self, + storage_name=storage_name) +``` + +### Usage +```python +StorageApi.get_disc_usage_async( + cakePrefix_get_disc_usage_request_cakeCodePostProcessor( + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **get_file_versions** +> get_file_versions(self, get_file_versions_request) + +Get file versions + +### Return type + +[**FileVersions**](FileVersions.md) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name) +``` + +### Usage +```python +StorageApi.get_file_versions( + cakePrefix_get_file_versions_request_cakeCodePostProcessor( + path, + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| File path e.g. '/file.ext' | + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **get_file_versions_async** +> get_file_versions_async(self, get_file_versions_request) + +Get file versions + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +get_file_versions_async(request).get() returns [**FileVersions**](FileVersions.md) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name) +``` + +### Usage +```python +StorageApi.get_file_versions_async( + cakePrefix_get_file_versions_request_cakeCodePostProcessor( + path, + storage_name=storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| File path e.g. '/file.ext' | + **storage_name** | **str**| Storage name | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **object_exists** +> object_exists(self, object_exists_request) + +Check if file or folder exists + +### Return type + +[**ObjectExist**](ObjectExist.md) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name, + version_id=version_id) +``` + +### Usage +```python +StorageApi.object_exists( + cakePrefix_object_exists_request_cakeCodePostProcessor( + path, + storage_name=storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| File or folder path e.g. '/file.ext' or '/folder' | + **storage_name** | **str**| Storage name | [optional] + **version_id** | **str**| File version ID | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **object_exists_async** +> object_exists_async(self, object_exists_request) + +Check if file or folder exists + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +object_exists_async(request).get() returns [**ObjectExist**](ObjectExist.md) + +### Request Parameters +```python +__init__(self, + path, + storage_name=storage_name, + version_id=version_id) +``` + +### Usage +```python +StorageApi.object_exists_async( + cakePrefix_object_exists_request_cakeCodePostProcessor( + path, + storage_name=storage_name, + version_id=version_id)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **str**| File or folder path e.g. '/file.ext' or '/folder' | + **storage_name** | **str**| Storage name | [optional] + **version_id** | **str**| File version ID | [optional] + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **storage_exists** +> storage_exists(self, storage_exists_request) + +Check if storage exists + +### Return type + +[**StorageExist**](StorageExist.md) + +### Request Parameters +```python +__init__(self, + storage_name) +``` + +### Usage +```python +StorageApi.storage_exists( + cakePrefix_storage_exists_request_cakeCodePostProcessor( + storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **storage_name** | **str**| Storage name | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + +# **storage_exists_async** +> storage_exists_async(self, storage_exists_request) + +Check if storage exists + +Performs operation asynchronously. + +### Return type + +Returns multiprocessing.pool.AsyncResult. +storage_exists_async(request).get() returns [**StorageExist**](StorageExist.md) + +### Request Parameters +```python +__init__(self, + storage_name) +``` + +### Usage +```python +StorageApi.storage_exists_async( + cakePrefix_storage_exists_request_cakeCodePostProcessor( + storage_name)) +``` + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **storage_name** | **str**| Storage name | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + diff --git a/sdk/docs/StorageExist.md b/sdk/docs/StorageExist.md index 5d58c63..f3ca6a0 100644 --- a/sdk/docs/StorageExist.md +++ b/sdk/docs/StorageExist.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**exists** | **bool** | | +**exists** | **bool** | Shows that the storage exists. | diff --git a/sdk/docs/StorageFile.md b/sdk/docs/StorageFile.md index e69d4d1..eeccddc 100644 --- a/sdk/docs/StorageFile.md +++ b/sdk/docs/StorageFile.md @@ -2,11 +2,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**is_folder** | **bool** | | -**modified_date** | **datetime** | | [optional] -**size** | **int** | | -**path** | **str** | | [optional] +**name** | **str** | File or folder name. | [optional] +**is_folder** | **bool** | True if it is a folder. | +**modified_date** | **datetime** | File or folder last modified DateTime. | [optional] +**size** | **int** | File or folder size. | +**path** | **str** | File or folder path. | [optional] diff --git a/sdk/docs/StorageFileLocationList.md b/sdk/docs/StorageFileLocationList.md new file mode 100644 index 0000000..40f82fb --- /dev/null +++ b/sdk/docs/StorageFileLocationList.md @@ -0,0 +1,10 @@ +# AsposeEmailCloudSdk.models.StorageFileLocationList +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + Parent class: [ListResponseOfStorageFileLocation](ListResponseOfStorageFileLocation.md) + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/StorageModelOfCalendarDto.md b/sdk/docs/StorageModelOfCalendarDto.md index 94a379a..65fb1df 100644 --- a/sdk/docs/StorageModelOfCalendarDto.md +++ b/sdk/docs/StorageModelOfCalendarDto.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | [optional] -**value** | [**CalendarDto**](CalendarDto.md) | | [optional] +**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | +**value** | [**CalendarDto**](CalendarDto.md) | | diff --git a/sdk/docs/StorageModelOfContactDto.md b/sdk/docs/StorageModelOfContactDto.md index ab6b592..c5418cd 100644 --- a/sdk/docs/StorageModelOfContactDto.md +++ b/sdk/docs/StorageModelOfContactDto.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | [optional] -**value** | [**ContactDto**](ContactDto.md) | | [optional] +**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | +**value** | [**ContactDto**](ContactDto.md) | | diff --git a/sdk/docs/StorageFileRqOfEmailClientAccount.md b/sdk/docs/StorageModelOfEmailClientAccount.md similarity index 80% rename from sdk/docs/StorageFileRqOfEmailClientAccount.md rename to sdk/docs/StorageModelOfEmailClientAccount.md index 9de1aee..46eeffd 100644 --- a/sdk/docs/StorageFileRqOfEmailClientAccount.md +++ b/sdk/docs/StorageModelOfEmailClientAccount.md @@ -1,9 +1,9 @@ -# AsposeEmailCloudSdk.models.StorageFileRqOfEmailClientAccount +# AsposeEmailCloudSdk.models.StorageModelOfEmailClientAccount ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**EmailClientAccount**](EmailClientAccount.md) | | [optional] -**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | [optional] +**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | +**value** | [**EmailClientAccount**](EmailClientAccount.md) | | diff --git a/sdk/docs/StorageFileRqOfEmailClientMultiAccount.md b/sdk/docs/StorageModelOfEmailClientMultiAccount.md similarity index 77% rename from sdk/docs/StorageFileRqOfEmailClientMultiAccount.md rename to sdk/docs/StorageModelOfEmailClientMultiAccount.md index c2b5c1a..1393c1f 100644 --- a/sdk/docs/StorageFileRqOfEmailClientMultiAccount.md +++ b/sdk/docs/StorageModelOfEmailClientMultiAccount.md @@ -1,9 +1,9 @@ -# AsposeEmailCloudSdk.models.StorageFileRqOfEmailClientMultiAccount +# AsposeEmailCloudSdk.models.StorageModelOfEmailClientMultiAccount ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**EmailClientMultiAccount**](EmailClientMultiAccount.md) | | [optional] -**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | [optional] +**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | +**value** | [**EmailClientMultiAccount**](EmailClientMultiAccount.md) | | diff --git a/sdk/docs/StorageModelOfEmailDto.md b/sdk/docs/StorageModelOfEmailDto.md index 5f23610..b74e325 100644 --- a/sdk/docs/StorageModelOfEmailDto.md +++ b/sdk/docs/StorageModelOfEmailDto.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | [optional] -**value** | [**EmailDto**](EmailDto.md) | | [optional] +**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | +**value** | [**EmailDto**](EmailDto.md) | | diff --git a/sdk/docs/StorageModelOfMapiCalendarDto.md b/sdk/docs/StorageModelOfMapiCalendarDto.md new file mode 100644 index 0000000..dfdc3d9 --- /dev/null +++ b/sdk/docs/StorageModelOfMapiCalendarDto.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.StorageModelOfMapiCalendarDto +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | +**value** | [**MapiCalendarDto**](MapiCalendarDto.md) | | + + + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/EmailPropertyResponse.md b/sdk/docs/StorageModelOfMapiContactDto.md similarity index 58% rename from sdk/docs/EmailPropertyResponse.md rename to sdk/docs/StorageModelOfMapiContactDto.md index 396c2b1..8db4375 100644 --- a/sdk/docs/EmailPropertyResponse.md +++ b/sdk/docs/StorageModelOfMapiContactDto.md @@ -1,8 +1,9 @@ -# AsposeEmailCloudSdk.models.EmailPropertyResponse +# AsposeEmailCloudSdk.models.StorageModelOfMapiContactDto ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**email_property** | [**EmailProperty**](EmailProperty.md) | Gets or sets email property. | [optional] +**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | +**value** | [**MapiContactDto**](MapiContactDto.md) | | diff --git a/sdk/docs/StorageModelOfMapiMessageDto.md b/sdk/docs/StorageModelOfMapiMessageDto.md new file mode 100644 index 0000000..8f1adc7 --- /dev/null +++ b/sdk/docs/StorageModelOfMapiMessageDto.md @@ -0,0 +1,12 @@ +# AsposeEmailCloudSdk.models.StorageModelOfMapiMessageDto +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**storage_file** | [**StorageFileLocation**](StorageFileLocation.md) | | +**value** | [**MapiMessageDto**](MapiMessageDto.md) | | + + + +[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) + + diff --git a/sdk/docs/StorageModelRqOfCalendarDto.md b/sdk/docs/StorageModelRqOfCalendarDto.md deleted file mode 100644 index 95332df..0000000 --- a/sdk/docs/StorageModelRqOfCalendarDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.StorageModelRqOfCalendarDto -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**CalendarDto**](CalendarDto.md) | | [optional] -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/StorageModelRqOfContactDto.md b/sdk/docs/StorageModelRqOfContactDto.md deleted file mode 100644 index f7a7350..0000000 --- a/sdk/docs/StorageModelRqOfContactDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.StorageModelRqOfContactDto -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**ContactDto**](ContactDto.md) | | [optional] -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/StorageModelRqOfEmailDto.md b/sdk/docs/StorageModelRqOfEmailDto.md deleted file mode 100644 index 687e5bc..0000000 --- a/sdk/docs/StorageModelRqOfEmailDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.StorageModelRqOfEmailDto -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**EmailDto**](EmailDto.md) | | [optional] -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/StorageModelRqOfMapiCalendarDto.md b/sdk/docs/StorageModelRqOfMapiCalendarDto.md deleted file mode 100644 index 36d459e..0000000 --- a/sdk/docs/StorageModelRqOfMapiCalendarDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.StorageModelRqOfMapiCalendarDto -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**MapiCalendarDto**](MapiCalendarDto.md) | | [optional] -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/StorageModelRqOfMapiContactDto.md b/sdk/docs/StorageModelRqOfMapiContactDto.md deleted file mode 100644 index 8954d90..0000000 --- a/sdk/docs/StorageModelRqOfMapiContactDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.StorageModelRqOfMapiContactDto -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**MapiContactDto**](MapiContactDto.md) | | [optional] -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/StorageModelRqOfMapiMessageDto.md b/sdk/docs/StorageModelRqOfMapiMessageDto.md deleted file mode 100644 index b2e801d..0000000 --- a/sdk/docs/StorageModelRqOfMapiMessageDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# AsposeEmailCloudSdk.models.StorageModelRqOfMapiMessageDto -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**MapiMessageDto**](MapiMessageDto.md) | | [optional] -**storage_folder** | [**StorageFolderLocation**](StorageFolderLocation.md) | | [optional] - - - -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) - - diff --git a/sdk/docs/ValueResponse.md b/sdk/docs/ValueTOfString.md similarity index 68% rename from sdk/docs/ValueResponse.md rename to sdk/docs/ValueTOfString.md index 84f5166..ce71683 100644 --- a/sdk/docs/ValueResponse.md +++ b/sdk/docs/ValueTOfString.md @@ -1,8 +1,8 @@ -# AsposeEmailCloudSdk.models.ValueResponse +# AsposeEmailCloudSdk.models.ValueTOfString ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | Gets or sets string content. | [optional] +**value** | **str** | | diff --git a/sdk/setup.py b/sdk/setup.py index cfa8e91..a7c216e 100644 --- a/sdk/setup.py +++ b/sdk/setup.py @@ -8,7 +8,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "aspose-email-cloud" -VERSION = "20.7.0" +VERSION = "20.7.0.0" # To install the library, run the following # # python setup.py install diff --git a/tests/conftest.py b/tests/conftest.py index 2089e6f..eb9471d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -5,49 +5,15 @@ sys.path.append(os.path.join(os.path.dirname(__file__), "../sdk")) from AsposeEmailCloudSdk import api, models -from AsposeEmailCloudSdk.models import requests import pytest -from datetime import timedelta, datetime class EmailApiData: - def __init__(self, email_api: api.EmailApi, folder, storage): - self.email = email_api # type: api.EmailApi + def __init__(self, email_cloud: api.EmailCloud, folder, storage): + self.email = email_cloud # type: api.EmailCloud self.folder = folder self.storage = storage - def create_calendar(self, start_date_param=None): - """ - :return: string - """ - name = str(uuid.uuid4()) + '.ics' - start_date = ( - start_date_param if start_date_param is not None - else datetime.today() + timedelta(days=1)) - end_date = start_date + timedelta(hours=1) - request = requests.CreateCalendarRequest( - name, - models.HierarchicalObjectRequest( - models.HierarchicalObject('CALENDAR', internal_properties=[ - models.PrimitiveObject(name="LOCATION", value="location"), - models.PrimitiveObject("STARTDATE", None, start_date.isoformat()), - models.PrimitiveObject("ENDDATE", None, end_date.isoformat()), - models.HierarchicalObject("ORGANIZER", None, internal_properties=[ - models.PrimitiveObject("ADDRESS", value="organizer@am.ru"), - models.PrimitiveObject("DISPLAYNAME", value="Piu Man") - ]), - models.HierarchicalObject("ATTENDEES", internal_properties=[ - models.IndexedHierarchicalObject("ATTENDEE", index=0, internal_properties=[ - models.PrimitiveObject("ADDRESS", value="attendee@am.ru"), - models.PrimitiveObject("DISPLAYNAME", value="Attendee Name") - ]) - ]) - ]), - self.storage_folder() - )) - self.email.create_calendar(request) - return name - def storage_folder(self): return models.StorageFolderLocation(self.storage, self.folder) @@ -68,15 +34,15 @@ def td(request): app_sid = config["appsid"] app_key = config["appkey"] api_base_url = config.get("apibaseurl", "https://api-qa.aspose.cloud") - email_api = api.EmailApi(app_key, app_sid, api_base_url, 'v3.0') + email_cloud = api.EmailCloud(app_key, app_sid, api_base_url, 'v4.0') auth_url = config.get("authurl") if auth_url: - email_api.api_client.configuration.auth_url = auth_url + email_cloud.email.api_client.configuration.auth_url = auth_url folder = str(uuid.uuid4()) storage = 'First Storage' - email_api.create_folder(requests.CreateFolderRequest(folder, storage)) - yield EmailApiData(email_api, folder, storage) - email_api.delete_folder(requests.DeleteFolderRequest(folder, storage, True)) + email_cloud.cloud_storage.folder.create_folder(models.CreateFolderRequest(folder, storage)) + yield EmailApiData(email_cloud, folder, storage) + email_cloud.cloud_storage.folder.delete_folder(models.DeleteFolderRequest(folder, storage, True)) def _get_config(request): diff --git a/tests/tests/ai_test.py b/tests/tests/ai_test.py index 20b18cf..e6becec 100644 --- a/tests/tests/ai_test.py +++ b/tests/tests/ai_test.py @@ -8,7 +8,6 @@ sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests from conftest import EmailApiData From 1715524fa435e424b1a8128d724b75c8d1287276 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Fri, 31 Jul 2020 22:40:08 +0400 Subject: [PATCH 02/20] Tests refactoring in progress --- tests/conftest.py | 4 ++-- tests/tests/ai_test.py | 34 +++++++++++---------------- tests/tests/calendar_test.py | 20 ++++++++-------- tests/tests/contact_test.py | 12 +++++----- tests/tests/email_model_test.py | 4 ++-- tests/tests/hierarchical_mapi_test.py | 10 ++++---- tests/tests/mapi_calendar_test.py | 10 ++++---- tests/tests/mapi_contact_test.py | 10 ++++---- tests/tests/mapi_message_test.py | 10 ++++---- tests/tests/other_test.py | 16 ++++++------- 10 files changed, 62 insertions(+), 68 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index eb9471d..9ebc546 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,7 +10,7 @@ class EmailApiData: def __init__(self, email_cloud: api.EmailCloud, folder, storage): - self.email = email_cloud # type: api.EmailCloud + self.api = email_cloud self.folder = folder self.storage = storage @@ -34,7 +34,7 @@ def td(request): app_sid = config["appsid"] app_key = config["appkey"] api_base_url = config.get("apibaseurl", "https://api-qa.aspose.cloud") - email_cloud = api.EmailCloud(app_key, app_sid, api_base_url, 'v4.0') + email_cloud = api.EmailCloud(app_key, app_sid, api_base_url) auth_url = config.get("authurl") if auth_url: email_cloud.email.api_client.configuration.auth_url = auth_url diff --git a/tests/tests/ai_test.py b/tests/tests/ai_test.py index e6becec..f96898d 100644 --- a/tests/tests/ai_test.py +++ b/tests/tests/ai_test.py @@ -17,33 +17,27 @@ def test_ai_bcr_parse_storage(td: EmailApiData): image_file = os.path.join(os.path.dirname(__file__), '..', 'data', 'test_single_0001.png') # 1) Upload business card image to storage storage_location = td.folder + "/" + file_name - td.email.upload_file(requests.UploadFileRequest(storage_location, image_file, td.storage)) + td.api.cloud_storage.file.upload_file(models.UploadFileRequest(storage_location, image_file, td.storage)) out_folder = str(uuid.uuid4()) out_folder_path = td.folder + "/" + out_folder - td.email.create_folder(requests.CreateFolderRequest(out_folder_path, td.storage)) + td.api.cloud_storage.folder.create_folder(models.CreateFolderRequest(out_folder_path, td.storage)) # 2) Call business card recognition action - result = td.email.ai_bcr_parse_storage(requests.AiBcrParseStorageRequest( - models.AiBcrParseStorageRq( + result = td.api.ai.bcr.parse_storage(models.AiBcrParseStorageRequest( images=[models.AiBcrImageStorageFile(True, models.StorageFileLocation(td.storage, td.folder, file_name))], out_folder=models.StorageFolderLocation( - td.storage, out_folder_path)))) # type: models.ListResponseOfStorageFileLocation + td.storage, out_folder_path))) # Check that only one file produced assert len(result.value) == 1 # 3) Get file name from recognition result - contact_file = result.value[0] # type: models.StorageFileLocation + contact_file = result.value[0] # 4) Download VCard file, produced by recognition method, check it contains text "Thomas" - downloaded = td.email.download_file(requests.DownloadFileRequest( + downloaded = td.api.cloud_storage.file.download_file(models.DownloadFileRequest( contact_file.folder_path + "/" + contact_file.file_name, td.storage)) with open(downloaded, 'r') as f: file_data = f.read() assert 'Thomas' in file_data - # 5) Get VCard object properties list, check that there are 3 properties or more - contact_properties = td.email.get_contact_properties(requests.GetContactPropertiesRequest( - 'VCard', contact_file.file_name, contact_file.folder_path, - contact_file.storage)) # type: models.HierarchicalObject - assert len(contact_properties.internal_properties) >= 3 @pytest.mark.ai @@ -52,7 +46,7 @@ def test_ai_bcr_parse(td: EmailApiData): with open(image_file, 'rb') as f: file_data = f.read() image_data = str(base64.b64encode(file_data), 'utf-8') - result = td.email.ai_bcr_parse(requests.AiBcrParseRequest( + result = td.api.ai_bcr_parse(requests.AiBcrParseRequest( models.AiBcrBase64Rq( images=[models.AiBcrBase64Image(True, image_data)]))) # type: models.ListResponseOfHierarchicalObject assert len(result.value) == 1 @@ -67,7 +61,7 @@ def test_ai_bcr_parse(td: EmailApiData): @pytest.mark.pipeline def test_ai_name_genderize(td: EmailApiData): """ Test name gender detection """ - result = td.email.ai_name_genderize( + result = td.api.ai_name_genderize( requests.AiNameGenderizeRequest('John Cane')) # type: models.ListResponseOfAiNameGenderHypothesis assert len(result.value) >= 1 assert result.value[0].gender == 'Male' @@ -76,7 +70,7 @@ def test_ai_name_genderize(td: EmailApiData): @pytest.mark.ai @pytest.mark.pipeline def test_ai_name_format(td: EmailApiData): - result = td.email.ai_name_format( + result = td.api.ai_name_format( requests.AiNameFormatRequest( 'Mr. John Michael Cane', format='%t%L%f%m')) # type: models.AiNameFormatted @@ -88,7 +82,7 @@ def test_ai_name_format(td: EmailApiData): def test_ai_name_match(td: EmailApiData): first = 'John Michael Cane' second = 'Cane J.' - result = td.email.ai_name_match( + result = td.api.ai_name_match( requests.AiNameMatchRequest(first, second)) # type: models.AiNameMatchResult assert result.similarity >= 0.5 @@ -97,7 +91,7 @@ def test_ai_name_match(td: EmailApiData): @pytest.mark.pipeline def test_ai_name_expand(td: EmailApiData): name = 'Smith Bobby' - result = td.email.ai_name_expand( + result = td.api.ai_name_expand( requests.AiNameExpandRequest(name)) # type: models.AiNameWeightedVariants expanded_names = list(weighted.name for weighted in result.names) assert 'Mr. Smith' in expanded_names @@ -108,7 +102,7 @@ def test_ai_name_expand(td: EmailApiData): @pytest.mark.pipeline def test_ai_name_complete(td: EmailApiData): prefix = 'Dav' - result = td.email.ai_name_complete( + result = td.api.ai_name_complete( requests.AiNameCompleteRequest(prefix)) # type: models.AiNameWeightedVariants names = list(prefix + weighted.name for weighted in result.names) assert 'David' in names @@ -120,7 +114,7 @@ def test_ai_name_complete(td: EmailApiData): @pytest.mark.pipeline def test_ai_name_parse_email_address(td: EmailApiData): address = 'john-cane@gmail.com' - result = td.email.ai_name_parse_email_address( + result = td.api.ai_name_parse_email_address( requests.AiNameParseEmailAddressRequest(address)) names = (extracted.name for extracted in result.value) extracted_values = list(functools.reduce(lambda a, b: a + b, names)) @@ -136,7 +130,7 @@ def test_ai_bcr_parse_model(td: EmailApiData): with open(image_file, 'rb') as f: file_data = f.read() image_data = str(base64.b64encode(file_data), 'utf-8') - result = td.email.ai_bcr_parse_model(requests.AiBcrParseModelRequest( + result = td.api.ai_bcr_parse_model(requests.AiBcrParseModelRequest( models.AiBcrBase64Rq(images=[models.AiBcrBase64Image(True, image_data)]))) assert len(result.value) == 1 first_vcard = result.value[0] diff --git a/tests/tests/calendar_test.py b/tests/tests/calendar_test.py index 951903e..c749310 100644 --- a/tests/tests/calendar_test.py +++ b/tests/tests/calendar_test.py @@ -21,7 +21,7 @@ def test_hierarchical(td: EmailApiData): and properly used in serialization and deserialization """ calendar_file = td.create_calendar() - calendar = td.email.get_calendar(requests.GetCalendarRequest(calendar_file, td.folder, td.storage)) + calendar = td.api.get_calendar(requests.GetCalendarRequest(calendar_file, td.folder, td.storage)) assert calendar.name == 'CALENDAR' assert calendar.type == 'HierarchicalObject' primitive_properties = list(filter(lambda x: x.type == 'PrimitiveObject', calendar.internal_properties)) @@ -37,7 +37,7 @@ def test_async(td: EmailApiData): Asynchronous API call test """ calendar_file = td.create_calendar() - calendar = td.email.get_calendar_async(requests.GetCalendarRequest(calendar_file, td.folder, td.storage)).get() + calendar = td.api.get_calendar_async(requests.GetCalendarRequest(calendar_file, td.folder, td.storage)).get() assert calendar.name == 'CALENDAR' @@ -51,7 +51,7 @@ def test_date_time(td: EmailApiData): start_date = datetime.today() + timedelta(days=1) start_date = start_date.replace(microsecond=0, tzinfo=tz.tzutc()) calendar_storage = td.create_calendar(start_date) - calendar = td.email.get_calendar(requests.GetCalendarRequest( + calendar = td.api.get_calendar(requests.GetCalendarRequest( calendar_storage, td.folder, td.storage)) # type: models.HierarchicalObject @@ -68,15 +68,15 @@ def test_create_calendar_email(td: EmailApiData): folder_location = models.StorageFolderLocation(td.storage, td.folder) calendar_file = str(uuid.uuid4()) + '.ics' - td.email.save_calendar_model( + td.api.save_calendar_model( requests.SaveCalendarModelRequest( calendar_file, models.StorageModelRqOfCalendarDto(calendar, folder_location))) - exist_result = td.email.object_exists( + exist_result = td.api.object_exists( requests.ObjectExistsRequest(td.folder + '/' + calendar_file, td.storage)) assert exist_result.exists - alternate = td.email.convert_calendar_model_to_alternate( + alternate = td.api.convert_calendar_model_to_alternate( requests.ConvertCalendarModelToAlternateRequest( models.CalendarDtoAlternateRq(calendar, 'Create'))) @@ -89,12 +89,12 @@ def test_create_calendar_email(td: EmailApiData): body='Some body') email_file = str(uuid.uuid4()) + '.eml' - td.email.save_email_model( + td.api.save_email_model( requests.SaveEmailModelRequest( 'Eml', email_file, models.StorageModelRqOfEmailDto(email, folder_location))) - downloaded = td.email.download_file( + downloaded = td.api.download_file( requests.DownloadFileRequest( td.folder + '/' + email_file, td.storage)) @@ -105,7 +105,7 @@ def test_create_calendar_email(td: EmailApiData): @pytest.mark.pipeline def test_calendar_converter(td: EmailApiData): - email = td.email + email = td.api # Create DTO with specified location: calendar = calendar_dto() # We can convert this DTO to a MAPI or ICS file @@ -125,7 +125,7 @@ def test_calendar_converter(td: EmailApiData): @pytest.mark.pipeline def test_convert_model_to_mapi_model(td: EmailApiData): calendar = calendar_dto() - mapi_calendar = td.email.convert_calendar_model_to_mapi_model( + mapi_calendar = td.api.convert_calendar_model_to_mapi_model( requests.ConvertCalendarModelToMapiModelRequest(calendar)) assert calendar.location == mapi_calendar.location assert 'MapiCalendarDailyRecurrencePatternDto' == mapi_calendar.recurrence.recurrence_pattern.discriminator diff --git a/tests/tests/contact_test.py b/tests/tests/contact_test.py index 3a0cad8..b2b7abc 100644 --- a/tests/tests/contact_test.py +++ b/tests/tests/contact_test.py @@ -19,14 +19,14 @@ def test_contact_format(td: EmailApiData): for contact_format in ['vcard', 'msg']: extension = '.vcf' if contact_format == 'vcard' else '.msg' name = str(uuid.uuid4()) + extension - td.email.create_contact( + td.api.create_contact( requests.CreateContactRequest( contact_format, name, models.HierarchicalObjectRequest( models.HierarchicalObject('CONTACT', internal_properties=[]), models.StorageFolderLocation(td.storage, td.folder)))) - object_exist = td.email.object_exists(requests.ObjectExistsRequest( + object_exist = td.api.object_exists(requests.ObjectExistsRequest( td.folder + "/" + name, td.storage)) assert object_exist.exists @@ -36,20 +36,20 @@ def test_contact_format(td: EmailApiData): def test_contact_model(td: EmailApiData): contact = contact_dto() contact_file = str(uuid.uuid4()) + '.vcf' - td.email.save_contact_model( + td.api.save_contact_model( requests.SaveContactModelRequest( 'VCard', contact_file, models.StorageModelRqOfContactDto( contact, models.StorageFolderLocation(td.storage, td.folder)))) - exist_result = td.email.object_exists( + exist_result = td.api.object_exists( requests.ObjectExistsRequest(td.folder + '/' + contact_file, td.storage)) assert exist_result.exists @pytest.mark.pipeline def test_contact_converter(td: EmailApiData): - email = td.email + email = td.api contact = contact_dto() mapi = email.convert_contact_model_to_file(requests.ConvertContactModelToFileRequest('Msg', contact)) vcard = email.convert_contact(requests.ConvertContactRequest('VCard', 'Msg', mapi)) @@ -63,7 +63,7 @@ def test_contact_converter(td: EmailApiData): @pytest.mark.pipeline def test_convert_model_to_mapi_model(td: EmailApiData): contact = contact_dto() - mapi_contact = td.email.convert_contact_model_to_mapi_model( + mapi_contact = td.api.convert_contact_model_to_mapi_model( requests.ConvertContactModelToMapiModelRequest(contact)) assert contact.surname == mapi_contact.name_info.surname diff --git a/tests/tests/email_model_test.py b/tests/tests/email_model_test.py index 90e11be..636d32d 100644 --- a/tests/tests/email_model_test.py +++ b/tests/tests/email_model_test.py @@ -12,7 +12,7 @@ @pytest.mark.pipeline def test_email_converter(td: EmailApiData): - email = td.email + email = td.api email_document = email_dto() mapi = email.convert_email_model_to_file(requests.ConvertEmailModelToFileRequest('Msg', email_document)) eml = email.convert_email(requests.ConvertEmailRequest('Eml', mapi)) @@ -26,7 +26,7 @@ def test_email_converter(td: EmailApiData): @pytest.mark.pipeline def test_convert_model_to_mapi_model(td: EmailApiData): email_document = email_dto() - mapi_message = td.email.convert_email_model_to_mapi_model( + mapi_message = td.api.convert_email_model_to_mapi_model( requests.ConvertEmailModelToMapiModelRequest(email_document)) assert email_document.subject == mapi_message.subject diff --git a/tests/tests/hierarchical_mapi_test.py b/tests/tests/hierarchical_mapi_test.py index 892f99f..50f97f2 100644 --- a/tests/tests/hierarchical_mapi_test.py +++ b/tests/tests/hierarchical_mapi_test.py @@ -13,7 +13,7 @@ @pytest.mark.pipeline def test_create_mapi(td: EmailApiData): name = str(uuid.uuid4()) + '.msg' - td.email.create_mapi(requests.CreateMapiRequest( + td.api.create_mapi(requests.CreateMapiRequest( name, models.HierarchicalObjectRequest( models.HierarchicalObject('IPM.Contact', internal_properties=[ @@ -31,18 +31,18 @@ def test_create_mapi(td: EmailApiData): "Lid:'PidLidAddressBookProviderArrayType':0x8029:Integer32:00062004-0000-0000-c000-000000000046", value="1")]), models.StorageFolderLocation(td.storage, td.folder)))) - assert td.email.object_exists(requests.ObjectExistsRequest(td.folder + '/' + name, td.storage)).exists + assert td.api.object_exists(requests.ObjectExistsRequest(td.folder + '/' + name, td.storage)).exists @pytest.mark.pipeline def test_mapi_add_attachment(td: EmailApiData): name = td.create_calendar() attachment = td.create_calendar() - td.email.add_mapi_attachment(requests.AddMapiAttachmentRequest( + td.api.add_mapi_attachment(requests.AddMapiAttachmentRequest( name, attachment, models.AddAttachmentRequest( models.StorageFolderLocation(td.storage, td.folder), models.StorageFolderLocation(td.storage, td.folder)))) - attachment_downloaded = td.email.get_calendar_attachment(requests.GetCalendarAttachmentRequest( + attachment_downloaded = td.api.get_calendar_attachment(requests.GetCalendarAttachmentRequest( name, attachment, td.folder, td.storage)) with open(attachment_downloaded, 'r') as f: file_data = f.read() @@ -52,6 +52,6 @@ def test_mapi_add_attachment(td: EmailApiData): @pytest.mark.pipeline def test_mapi_get_properties(td: EmailApiData): name = td.create_calendar() - properties = td.email.get_mapi_properties(requests.GetMapiPropertiesRequest( + properties = td.api.get_mapi_properties(requests.GetMapiPropertiesRequest( name, td.folder, td.storage)) assert 'IPM.Schedule' in properties.hierarchical_object.name diff --git a/tests/tests/mapi_calendar_test.py b/tests/tests/mapi_calendar_test.py index c3e9051..3ea0a72 100644 --- a/tests/tests/mapi_calendar_test.py +++ b/tests/tests/mapi_calendar_test.py @@ -14,7 +14,7 @@ @pytest.mark.pipeline def test_mapi_model_to_general_model(td: EmailApiData): mapi_calendar = mapi_calendar_dto() - calendar = td.email.convert_mapi_calendar_model_to_calendar_model( + calendar = td.api.convert_mapi_calendar_model_to_calendar_model( requests.ConvertMapiCalendarModelToCalendarModelRequest(mapi_calendar)) assert mapi_calendar.subject == calendar.summary assert mapi_calendar.location == calendar.location @@ -23,12 +23,12 @@ def test_mapi_model_to_general_model(td: EmailApiData): @pytest.mark.pipeline def test_mapi_model_to_file(td: EmailApiData): mapi_calendar = mapi_calendar_dto() - ics_file = td.email.convert_mapi_calendar_model_to_file( + ics_file = td.api.convert_mapi_calendar_model_to_file( requests.ConvertMapiCalendarModelToFileRequest('Ics', mapi_calendar)) with open(ics_file, 'r') as f: file_data = f.read() assert mapi_calendar.location in file_data - mapi_calendar_converted = td.email.get_calendar_file_as_mapi_model( + mapi_calendar_converted = td.api.get_calendar_file_as_mapi_model( requests.GetCalendarFileAsMapiModelRequest(ics_file)) assert mapi_calendar.location == mapi_calendar_converted.location @@ -37,11 +37,11 @@ def test_mapi_model_to_file(td: EmailApiData): def test_storage_support(td: EmailApiData): file_name = str(uuid.uuid4()) + '.msg' mapi_calendar = mapi_calendar_dto() - td.email.save_mapi_calendar_model( + td.api.save_mapi_calendar_model( requests.SaveMapiCalendarModelRequest( file_name, 'Msg', models.StorageModelRqOfMapiCalendarDto(mapi_calendar, td.storage_folder()))) - mapi_calendar_from_storage = td.email.get_mapi_calendar_model( + mapi_calendar_from_storage = td.api.get_mapi_calendar_model( requests.GetMapiCalendarModelRequest(file_name, td.folder, td.storage)) assert mapi_calendar.location == mapi_calendar_from_storage.location diff --git a/tests/tests/mapi_contact_test.py b/tests/tests/mapi_contact_test.py index e24ee46..4030574 100644 --- a/tests/tests/mapi_contact_test.py +++ b/tests/tests/mapi_contact_test.py @@ -13,7 +13,7 @@ @pytest.mark.pipeline def test_mapi_model_to_general_model(td: EmailApiData): mapi_contact = mapi_contact_dto() - contact = td.email.convert_mapi_contact_model_to_contact_model( + contact = td.api.convert_mapi_contact_model_to_contact_model( requests.ConvertMapiContactModelToContactModelRequest(mapi_contact)) assert mapi_contact.name_info.given_name == contact.given_name @@ -23,12 +23,12 @@ def test_mapi_model_to_general_model(td: EmailApiData): @pytest.mark.pipeline def test_mapi_model_to_file(td: EmailApiData): mapi_contact = mapi_contact_dto() - vcard_file = td.email.convert_mapi_contact_model_to_file( + vcard_file = td.api.convert_mapi_contact_model_to_file( requests.ConvertMapiContactModelToFileRequest('VCard', mapi_contact)) with open(vcard_file, 'r') as f: file_data = f.read() assert mapi_contact.name_info.given_name in file_data - mapi_contact_converted = td.email.get_contact_file_as_mapi_model( + mapi_contact_converted = td.api.get_contact_file_as_mapi_model( requests.GetContactFileAsMapiModelRequest('VCard', vcard_file)) assert mapi_contact.name_info.surname == mapi_contact_converted.name_info.surname @@ -38,12 +38,12 @@ def test_storage_support(td: EmailApiData): file_name = str(uuid.uuid4()) + '.msg' mapi_contact = mapi_contact_dto() - td.email.save_mapi_contact_model( + td.api.save_mapi_contact_model( requests.SaveMapiContactModelRequest( 'Msg', file_name, models.StorageModelRqOfMapiContactDto(mapi_contact, td.storage_folder()))) - mapi_contact_from_storage = td.email.get_mapi_contact_model( + mapi_contact_from_storage = td.api.get_mapi_contact_model( requests.GetMapiContactModelRequest('Msg', file_name, td.folder, td.storage)) assert mapi_contact.name_info.surname == mapi_contact_from_storage.name_info.surname diff --git a/tests/tests/mapi_message_test.py b/tests/tests/mapi_message_test.py index 37722c4..a6d80b1 100644 --- a/tests/tests/mapi_message_test.py +++ b/tests/tests/mapi_message_test.py @@ -15,7 +15,7 @@ @pytest.mark.pipeline def test_mapi_model_to_general_model(td: EmailApiData): mapi_message = mapi_message_dto() - email = td.email.convert_mapi_message_model_to_email_model( + email = td.api.convert_mapi_message_model_to_email_model( requests.ConvertMapiMessageModelToEmailModelRequest(mapi_message)) assert mapi_message.subject == email.subject @@ -25,13 +25,13 @@ def test_mapi_model_to_general_model(td: EmailApiData): @pytest.mark.pipeline def test_mapi_model_to_file(td: EmailApiData): mapi_message = mapi_message_dto() - eml_file = td.email.convert_mapi_message_model_to_file( + eml_file = td.api.convert_mapi_message_model_to_file( requests.ConvertMapiMessageModelToFileRequest('Eml', mapi_message)) with open(eml_file, 'r') as f: file_data = f.read() assert mapi_message.subject in file_data - mapi_message_converted = td.email.get_email_file_as_mapi_model( + mapi_message_converted = td.api.get_email_file_as_mapi_model( requests.GetEmailFileAsMapiModelRequest('Eml', eml_file)) assert mapi_message.subject == mapi_message_converted.subject @@ -49,11 +49,11 @@ def test_mapi_model_to_file(td: EmailApiData): def test_storage_support(td: EmailApiData): file_name = str(uuid.uuid4()) + '.msg' mapi_message = mapi_message_dto() - td.email.save_mapi_message_model( + td.api.save_mapi_message_model( requests.SaveMapiMessageModelRequest( 'Msg', file_name, models.StorageModelRqOfMapiMessageDto(mapi_message, td.storage_folder()))) - mapi_message_from_storage = td.email.get_mapi_message_model( + mapi_message_from_storage = td.api.get_mapi_message_model( requests.GetMapiMessageModelRequest('Msg', file_name, td.folder, td.storage)) assert mapi_message.subject == mapi_message_from_storage.subject diff --git a/tests/tests/other_test.py b/tests/tests/other_test.py index c08bb78..00e8927 100644 --- a/tests/tests/other_test.py +++ b/tests/tests/other_test.py @@ -18,8 +18,8 @@ def test_file(td: EmailApiData): sample = os.path.join(os.path.dirname(__file__), '..', 'data', 'sample.ics') file_name = str(uuid.uuid4()) + ".ics" storage_location = td.folder + "/" + file_name - td.email.upload_file(requests.UploadFileRequest(storage_location, sample, td.storage)) - downloaded = td.email.download_file(requests.DownloadFileRequest(storage_location, td.storage)) + td.api.upload_file(requests.UploadFileRequest(storage_location, sample, td.storage)) + downloaded = td.api.download_file(requests.DownloadFileRequest(storage_location, td.storage)) with open(downloaded, 'r') as f: file_data = f.read() assert 'Broadway' in file_data @@ -27,7 +27,7 @@ def test_file(td: EmailApiData): @pytest.mark.pipeline def test_discover_email_config(td: EmailApiData): - configs = td.email.discover_email_config(requests.DiscoverEmailConfigRequest('example@gmail.com', True)) + configs = td.api.discover_email_config(requests.DiscoverEmailConfigRequest('example@gmail.com', True)) assert len(configs.value) >= 2 smtp = list(filter(lambda x: x.protocol_type == 'SMTP', configs.value))[0] # type: models.EmailAccountConfig assert smtp.host == 'smtp.gmail.com' @@ -35,10 +35,10 @@ def test_discover_email_config(td: EmailApiData): @pytest.mark.pipeline def test_is_disposable_email(td: EmailApiData): - disposable = td.email.is_email_address_disposable( + disposable = td.api.is_email_address_disposable( requests.IsEmailAddressDisposableRequest('example@mailcatch.com')) assert disposable.value - regular = td.email.is_email_address_disposable( + regular = td.api.is_email_address_disposable( requests.IsEmailAddressDisposableRequest('example@gmail.com')) assert not regular.value @@ -53,12 +53,12 @@ def test_email_client_account(td: EmailApiData): models.EmailClientAccountPasswordCredentials( 'login', None, 'password')) name = str(uuid.uuid4()) + '.account' - td.email.save_email_client_account( + td.api.save_email_client_account( requests.SaveEmailClientAccountRequest( models.StorageFileRqOfEmailClientAccount( account, models.StorageFileLocation( td.storage, td.folder, name)))) - result = td.email.get_email_client_account( + result = td.api.get_email_client_account( requests.GetEmailClientAccountRequest( name, td.folder, td.storage)) assert account.host == result.host @@ -86,7 +86,7 @@ def test_email_client_multi_account(td: EmailApiData): file_name = str(uuid.uuid4()) + '.multi.account' folder = td.folder storage = td.storage - email = td.email + email = td.api # Save multi account email.save_email_client_multi_account(requests.SaveEmailClientMultiAccountRequest( models.StorageFileRqOfEmailClientMultiAccount( From f2d304d489f47fb38931c18f01b0ccfc51278a20 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Fri, 31 Jul 2020 23:18:56 +0400 Subject: [PATCH 03/20] First test works --- sdk/AsposeEmailCloudSdk/__init__.py | 10 +- sdk/AsposeEmailCloudSdk/api/__init__.py | 3 +- sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py | 29 +- sdk/AsposeEmailCloudSdk/api/ai_name_api.py | 375 +++++++++++++----- sdk/AsposeEmailCloudSdk/api/calendar_api.py | 156 ++++++-- .../api/client_account_api.py | 56 ++- .../api/client_folder_api.py | 37 +- .../api/client_message_api.py | 265 +++++++++---- .../api/client_thread_api.py | 96 +++-- sdk/AsposeEmailCloudSdk/api/contact_api.py | 153 +++++-- .../api/disposable_email_api.py | 13 +- sdk/AsposeEmailCloudSdk/api/email_api.py | 137 +++++-- .../api/email_config_api.py | 21 +- sdk/AsposeEmailCloudSdk/api/file_api.py | 131 ++++-- sdk/AsposeEmailCloudSdk/api/folder_api.py | 107 +++-- .../api/mapi_calendar_api.py | 32 +- .../api/mapi_contact_api.py | 48 ++- .../api/mapi_message_api.py | 48 ++- sdk/AsposeEmailCloudSdk/api/storage_api.py | 52 ++- sdk/AsposeEmailCloudSdk/configuration.py | 2 +- 20 files changed, 1310 insertions(+), 461 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/__init__.py b/sdk/AsposeEmailCloudSdk/__init__.py index 0c07a25..321ab53 100644 --- a/sdk/AsposeEmailCloudSdk/__init__.py +++ b/sdk/AsposeEmailCloudSdk/__init__.py @@ -26,6 +26,10 @@ from __future__ import absolute_import +# import ApiClient +from AsposeEmailCloudSdk.api_client import ApiClient +from AsposeEmailCloudSdk.configuration import Configuration + # import apis into sdk package from AsposeEmailCloudSdk.api.ai_bcr_api import AiBcrApi from AsposeEmailCloudSdk.api.ai_name_api import AiNameApi @@ -44,9 +48,6 @@ from AsposeEmailCloudSdk.api.mapi_contact_api import MapiContactApi from AsposeEmailCloudSdk.api.mapi_message_api import MapiMessageApi from AsposeEmailCloudSdk.api.storage_api import StorageApi -# import ApiClient -from AsposeEmailCloudSdk.api_client import ApiClient -from AsposeEmailCloudSdk.configuration import Configuration # import models into sdk package from AsposeEmailCloudSdk.models.ai_bcr_image import AiBcrImage from AsposeEmailCloudSdk.models.ai_bcr_options import AiBcrOptions @@ -295,7 +296,6 @@ from AsposeEmailCloudSdk.models.storage_exists_request import StorageExistsRequest # EmailCloud imports -from AsposeEmailCloudSdk.api.email_cloud import EmailCloud from AsposeEmailCloudSdk.api.mapi_group import MapiGroup @@ -304,3 +304,5 @@ from AsposeEmailCloudSdk.api.ai_group import AiGroup from AsposeEmailCloudSdk.api.cloud_storage_group import CloudStorageGroup + +from AsposeEmailCloudSdk.api.email_cloud import EmailCloud \ No newline at end of file diff --git a/sdk/AsposeEmailCloudSdk/api/__init__.py b/sdk/AsposeEmailCloudSdk/api/__init__.py index a4f8941..0225d2c 100644 --- a/sdk/AsposeEmailCloudSdk/api/__init__.py +++ b/sdk/AsposeEmailCloudSdk/api/__init__.py @@ -49,7 +49,6 @@ # EmailCloud imports -from AsposeEmailCloudSdk.api.email_cloud import EmailCloud from AsposeEmailCloudSdk.api.mapi_group import MapiGroup @@ -58,3 +57,5 @@ from AsposeEmailCloudSdk.api.ai_group import AiGroup from AsposeEmailCloudSdk.api.cloud_storage_group import CloudStorageGroup + +from AsposeEmailCloudSdk.api.email_cloud import EmailCloud \ No newline at end of file diff --git a/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py b/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py index d86f3e3..d89be25 100644 --- a/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py +++ b/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py @@ -38,7 +38,7 @@ class AiBcrApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(AiBcrApi, self).__init__(api_client) def parse(self, request: AiBcrParseRequest) -> ContactList: """Parse images to vCard document models @@ -53,14 +53,27 @@ def parse(self, request: AiBcrParseRequest) -> ContactList: collection_formats = {} path = '/email/AiBcr/parse' + path_params = {} query_params = [] - if request.countries is not None: - query_params.append((self._lowercase_first_letter('countries'), request.countries)) - if request.languages is not None: - query_params.append((self._lowercase_first_letter('languages'), request.languages)) - if request.is_single is not None: - query_params.append((self._lowercase_first_letter('isSingle'), request.is_single)) + path_parameter = '{' + self._lowercase_first_letter('countries') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.countries if request.countries is not None else '') + else: + if request.countries is not None: + query_params.append((self._lowercase_first_letter('countries'), request.countries)) + path_parameter = '{' + self._lowercase_first_letter('languages') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.languages if request.languages is not None else '') + else: + if request.languages is not None: + query_params.append((self._lowercase_first_letter('languages'), request.languages)) + path_parameter = '{' + self._lowercase_first_letter('isSingle') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.is_single if request.is_single is not None else '') + else: + if request.is_single is not None: + query_params.append((self._lowercase_first_letter('isSingle'), request.is_single)) form_params = [] local_var_files = [] @@ -79,7 +92,7 @@ def parse(self, request: AiBcrParseRequest) -> ContactList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'ContactList') diff --git a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py index 3a2220b..77be1a8 100644 --- a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py +++ b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py @@ -38,7 +38,7 @@ class AiNameApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(AiNameApi, self).__init__(api_client) def complete(self, request: AiNameCompleteRequest) -> AiNameWeightedVariants: """The call proposes k most probable names for given starting characters. @@ -53,20 +53,45 @@ def complete(self, request: AiNameCompleteRequest) -> AiNameWeightedVariants: collection_formats = {} path = '/email/AiName/complete' + path_params = {} query_params = [] - if request.name is not None: - query_params.append((self._lowercase_first_letter('name'), request.name)) - if request.language is not None: - query_params.append((self._lowercase_first_letter('language'), request.language)) - if request.location is not None: - query_params.append((self._lowercase_first_letter('location'), request.location)) - if request.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) - if request.script is not None: - query_params.append((self._lowercase_first_letter('script'), request.script)) - if request.style is not None: - query_params.append((self._lowercase_first_letter('style'), request.style)) + path_parameter = '{' + self._lowercase_first_letter('name') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.name if request.name is not None else '') + else: + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + path_parameter = '{' + self._lowercase_first_letter('language') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.language if request.language is not None else '') + else: + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + path_parameter = '{' + self._lowercase_first_letter('location') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.location if request.location is not None else '') + else: + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.encoding if request.encoding is not None else '') + else: + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + path_parameter = '{' + self._lowercase_first_letter('script') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.script if request.script is not None else '') + else: + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + path_parameter = '{' + self._lowercase_first_letter('style') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.style if request.style is not None else '') + else: + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) form_params = [] local_var_files = [] @@ -83,7 +108,7 @@ def complete(self, request: AiNameCompleteRequest) -> AiNameWeightedVariants: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'AiNameWeightedVariants') @@ -101,20 +126,45 @@ def expand(self, request: AiNameExpandRequest) -> AiNameWeightedVariants: collection_formats = {} path = '/email/AiName/expand' + path_params = {} query_params = [] - if request.name is not None: - query_params.append((self._lowercase_first_letter('name'), request.name)) - if request.language is not None: - query_params.append((self._lowercase_first_letter('language'), request.language)) - if request.location is not None: - query_params.append((self._lowercase_first_letter('location'), request.location)) - if request.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) - if request.script is not None: - query_params.append((self._lowercase_first_letter('script'), request.script)) - if request.style is not None: - query_params.append((self._lowercase_first_letter('style'), request.style)) + path_parameter = '{' + self._lowercase_first_letter('name') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.name if request.name is not None else '') + else: + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + path_parameter = '{' + self._lowercase_first_letter('language') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.language if request.language is not None else '') + else: + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + path_parameter = '{' + self._lowercase_first_letter('location') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.location if request.location is not None else '') + else: + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.encoding if request.encoding is not None else '') + else: + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + path_parameter = '{' + self._lowercase_first_letter('script') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.script if request.script is not None else '') + else: + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + path_parameter = '{' + self._lowercase_first_letter('style') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.style if request.style is not None else '') + else: + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) form_params = [] local_var_files = [] @@ -131,7 +181,7 @@ def expand(self, request: AiNameExpandRequest) -> AiNameWeightedVariants: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'AiNameWeightedVariants') @@ -177,22 +227,51 @@ def format(self, request: AiNameFormatRequest) -> AiNameFormatted: collection_formats = {} path = '/email/AiName/format' + path_params = {} query_params = [] - if request.name is not None: - query_params.append((self._lowercase_first_letter('name'), request.name)) - if request.language is not None: - query_params.append((self._lowercase_first_letter('language'), request.language)) - if request.location is not None: - query_params.append((self._lowercase_first_letter('location'), request.location)) - if request.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) - if request.script is not None: - query_params.append((self._lowercase_first_letter('script'), request.script)) - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.style is not None: - query_params.append((self._lowercase_first_letter('style'), request.style)) + path_parameter = '{' + self._lowercase_first_letter('name') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.name if request.name is not None else '') + else: + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + path_parameter = '{' + self._lowercase_first_letter('language') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.language if request.language is not None else '') + else: + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + path_parameter = '{' + self._lowercase_first_letter('location') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.location if request.location is not None else '') + else: + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.encoding if request.encoding is not None else '') + else: + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + path_parameter = '{' + self._lowercase_first_letter('script') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.script if request.script is not None else '') + else: + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('style') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.style if request.style is not None else '') + else: + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) form_params = [] local_var_files = [] @@ -209,7 +288,7 @@ def format(self, request: AiNameFormatRequest) -> AiNameFormatted: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'AiNameFormatted') @@ -255,20 +334,45 @@ def genderize(self, request: AiNameGenderizeRequest) -> AiNameGenderHypothesisLi collection_formats = {} path = '/email/AiName/genderize' + path_params = {} query_params = [] - if request.name is not None: - query_params.append((self._lowercase_first_letter('name'), request.name)) - if request.language is not None: - query_params.append((self._lowercase_first_letter('language'), request.language)) - if request.location is not None: - query_params.append((self._lowercase_first_letter('location'), request.location)) - if request.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) - if request.script is not None: - query_params.append((self._lowercase_first_letter('script'), request.script)) - if request.style is not None: - query_params.append((self._lowercase_first_letter('style'), request.style)) + path_parameter = '{' + self._lowercase_first_letter('name') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.name if request.name is not None else '') + else: + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + path_parameter = '{' + self._lowercase_first_letter('language') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.language if request.language is not None else '') + else: + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + path_parameter = '{' + self._lowercase_first_letter('location') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.location if request.location is not None else '') + else: + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.encoding if request.encoding is not None else '') + else: + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + path_parameter = '{' + self._lowercase_first_letter('script') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.script if request.script is not None else '') + else: + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + path_parameter = '{' + self._lowercase_first_letter('style') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.style if request.style is not None else '') + else: + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) form_params = [] local_var_files = [] @@ -285,7 +389,7 @@ def genderize(self, request: AiNameGenderizeRequest) -> AiNameGenderHypothesisLi # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'AiNameGenderHypothesisList') @@ -334,22 +438,51 @@ def match(self, request: AiNameMatchRequest) -> AiNameMatchResult: collection_formats = {} path = '/email/AiName/match' + path_params = {} query_params = [] - if request.name is not None: - query_params.append((self._lowercase_first_letter('name'), request.name)) - if request.other_name is not None: - query_params.append((self._lowercase_first_letter('otherName'), request.other_name)) - if request.language is not None: - query_params.append((self._lowercase_first_letter('language'), request.language)) - if request.location is not None: - query_params.append((self._lowercase_first_letter('location'), request.location)) - if request.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) - if request.script is not None: - query_params.append((self._lowercase_first_letter('script'), request.script)) - if request.style is not None: - query_params.append((self._lowercase_first_letter('style'), request.style)) + path_parameter = '{' + self._lowercase_first_letter('name') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.name if request.name is not None else '') + else: + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + path_parameter = '{' + self._lowercase_first_letter('otherName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.other_name if request.other_name is not None else '') + else: + if request.other_name is not None: + query_params.append((self._lowercase_first_letter('otherName'), request.other_name)) + path_parameter = '{' + self._lowercase_first_letter('language') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.language if request.language is not None else '') + else: + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + path_parameter = '{' + self._lowercase_first_letter('location') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.location if request.location is not None else '') + else: + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.encoding if request.encoding is not None else '') + else: + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + path_parameter = '{' + self._lowercase_first_letter('script') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.script if request.script is not None else '') + else: + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + path_parameter = '{' + self._lowercase_first_letter('style') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.style if request.style is not None else '') + else: + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) form_params = [] local_var_files = [] @@ -366,7 +499,7 @@ def match(self, request: AiNameMatchRequest) -> AiNameMatchResult: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'AiNameMatchResult') @@ -412,20 +545,45 @@ def parse(self, request: AiNameParseRequest) -> AiNameComponentList: collection_formats = {} path = '/email/AiName/parse' + path_params = {} query_params = [] - if request.name is not None: - query_params.append((self._lowercase_first_letter('name'), request.name)) - if request.language is not None: - query_params.append((self._lowercase_first_letter('language'), request.language)) - if request.location is not None: - query_params.append((self._lowercase_first_letter('location'), request.location)) - if request.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) - if request.script is not None: - query_params.append((self._lowercase_first_letter('script'), request.script)) - if request.style is not None: - query_params.append((self._lowercase_first_letter('style'), request.style)) + path_parameter = '{' + self._lowercase_first_letter('name') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.name if request.name is not None else '') + else: + if request.name is not None: + query_params.append((self._lowercase_first_letter('name'), request.name)) + path_parameter = '{' + self._lowercase_first_letter('language') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.language if request.language is not None else '') + else: + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + path_parameter = '{' + self._lowercase_first_letter('location') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.location if request.location is not None else '') + else: + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.encoding if request.encoding is not None else '') + else: + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + path_parameter = '{' + self._lowercase_first_letter('script') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.script if request.script is not None else '') + else: + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + path_parameter = '{' + self._lowercase_first_letter('style') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.style if request.style is not None else '') + else: + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) form_params = [] local_var_files = [] @@ -442,7 +600,7 @@ def parse(self, request: AiNameParseRequest) -> AiNameComponentList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'AiNameComponentList') @@ -460,20 +618,45 @@ def parse_email_address(self, request: AiNameParseEmailAddressRequest) -> AiName collection_formats = {} path = '/email/AiName/parse-email-address' + path_params = {} query_params = [] - if request.email_address is not None: - query_params.append((self._lowercase_first_letter('emailAddress'), request.email_address)) - if request.language is not None: - query_params.append((self._lowercase_first_letter('language'), request.language)) - if request.location is not None: - query_params.append((self._lowercase_first_letter('location'), request.location)) - if request.encoding is not None: - query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) - if request.script is not None: - query_params.append((self._lowercase_first_letter('script'), request.script)) - if request.style is not None: - query_params.append((self._lowercase_first_letter('style'), request.style)) + path_parameter = '{' + self._lowercase_first_letter('emailAddress') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.email_address if request.email_address is not None else '') + else: + if request.email_address is not None: + query_params.append((self._lowercase_first_letter('emailAddress'), request.email_address)) + path_parameter = '{' + self._lowercase_first_letter('language') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.language if request.language is not None else '') + else: + if request.language is not None: + query_params.append((self._lowercase_first_letter('language'), request.language)) + path_parameter = '{' + self._lowercase_first_letter('location') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.location if request.location is not None else '') + else: + if request.location is not None: + query_params.append((self._lowercase_first_letter('location'), request.location)) + path_parameter = '{' + self._lowercase_first_letter('encoding') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.encoding if request.encoding is not None else '') + else: + if request.encoding is not None: + query_params.append((self._lowercase_first_letter('encoding'), request.encoding)) + path_parameter = '{' + self._lowercase_first_letter('script') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.script if request.script is not None else '') + else: + if request.script is not None: + query_params.append((self._lowercase_first_letter('script'), request.script)) + path_parameter = '{' + self._lowercase_first_letter('style') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.style if request.style is not None else '') + else: + if request.style is not None: + query_params.append((self._lowercase_first_letter('style'), request.style)) form_params = [] local_var_files = [] @@ -490,7 +673,7 @@ def parse_email_address(self, request: AiNameParseEmailAddressRequest) -> AiName # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'AiNameExtractedList') diff --git a/sdk/AsposeEmailCloudSdk/api/calendar_api.py b/sdk/AsposeEmailCloudSdk/api/calendar_api.py index 8ccb4bb..b3879e0 100644 --- a/sdk/AsposeEmailCloudSdk/api/calendar_api.py +++ b/sdk/AsposeEmailCloudSdk/api/calendar_api.py @@ -38,7 +38,7 @@ class CalendarApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(CalendarApi, self).__init__(api_client) def as_alternate(self, request: CalendarAsAlternateRequest) -> AlternateView: """Convert iCalendar to AlternateView @@ -140,10 +140,15 @@ def convert(self, request: CalendarConvertRequest) -> str: collection_formats = {} path = '/email/Calendar/convert' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -162,7 +167,7 @@ def convert(self, request: CalendarConvertRequest) -> str: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'file') @@ -180,6 +185,7 @@ def from_file(self, request: CalendarFromFileRequest) -> CalendarDto: collection_formats = {} path = '/email/Calendar/from-file' + path_params = {} query_params = [] @@ -200,7 +206,7 @@ def from_file(self, request: CalendarFromFileRequest) -> CalendarDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'CalendarDto') @@ -218,14 +224,27 @@ def get(self, request: CalendarGetRequest) -> CalendarDto: collection_formats = {} path = '/email/Calendar' + path_params = {} query_params = [] - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -242,7 +261,7 @@ def get(self, request: CalendarGetRequest) -> CalendarDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'CalendarDto') @@ -263,18 +282,39 @@ def get_as_alternate(self, request: CalendarGetAsAlternateRequest) -> AlternateV collection_formats = {} path = '/email/Calendar/as-alternate' + path_params = {} query_params = [] - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.calendar_action is not None: - query_params.append((self._lowercase_first_letter('calendarAction'), request.calendar_action)) - if request.sequence_id is not None: - query_params.append((self._lowercase_first_letter('sequenceId'), request.sequence_id)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('calendarAction') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.calendar_action if request.calendar_action is not None else '') + else: + if request.calendar_action is not None: + query_params.append((self._lowercase_first_letter('calendarAction'), request.calendar_action)) + path_parameter = '{' + self._lowercase_first_letter('sequenceId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.sequence_id if request.sequence_id is not None else '') + else: + if request.sequence_id is not None: + query_params.append((self._lowercase_first_letter('sequenceId'), request.sequence_id)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -291,7 +331,7 @@ def get_as_alternate(self, request: CalendarGetAsAlternateRequest) -> AlternateV # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'AlternateView') @@ -312,16 +352,33 @@ def get_as_file(self, request: CalendarGetAsFileRequest) -> str: collection_formats = {} path = '/email/Calendar/as-file' + path_params = {} query_params = [] - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) form_params = [] local_var_files = [] @@ -338,7 +395,7 @@ def get_as_file(self, request: CalendarGetAsFileRequest) -> str: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'file') @@ -356,16 +413,33 @@ def get_list(self, request: CalendarGetListRequest) -> CalendarStorageList: collection_formats = {} path = '/email/Calendar/list' + path_params = {} query_params = [] - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) - if request.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.items_per_page if request.items_per_page is not None else '') + else: + if request.items_per_page is not None: + query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) + path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.page_number if request.page_number is not None else '') + else: + if request.page_number is not None: + query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -382,7 +456,7 @@ def get_list(self, request: CalendarGetListRequest) -> CalendarStorageList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'CalendarStorageList') diff --git a/sdk/AsposeEmailCloudSdk/api/client_account_api.py b/sdk/AsposeEmailCloudSdk/api/client_account_api.py index be5e5fc..99270d7 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_account_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_account_api.py @@ -38,7 +38,7 @@ class ClientAccountApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(ClientAccountApi, self).__init__(api_client) def get(self, request: ClientAccountGetRequest) -> EmailClientAccount: """Get email client account from storage. @@ -53,14 +53,27 @@ def get(self, request: ClientAccountGetRequest) -> EmailClientAccount: collection_formats = {} path = '/email/client/account' + path_params = {} query_params = [] - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -77,7 +90,7 @@ def get(self, request: ClientAccountGetRequest) -> EmailClientAccount: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'EmailClientAccount') @@ -95,14 +108,27 @@ def get_multi(self, request: ClientAccountGetMultiRequest) -> EmailClientMultiAc collection_formats = {} path = '/email/client/account/multi' + path_params = {} query_params = [] - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -119,7 +145,7 @@ def get_multi(self, request: ClientAccountGetMultiRequest) -> EmailClientMultiAc # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'EmailClientMultiAccount') diff --git a/sdk/AsposeEmailCloudSdk/api/client_folder_api.py b/sdk/AsposeEmailCloudSdk/api/client_folder_api.py index 1a4b85a..4c2b147 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_folder_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_folder_api.py @@ -38,7 +38,7 @@ class ClientFolderApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(ClientFolderApi, self).__init__(api_client) def create(self, request: ClientFolderCreateRequest): """Create new folder in email account @@ -109,16 +109,33 @@ def get_list(self, request: ClientFolderGetListRequest) -> MailServerFolderList: collection_formats = {} path = '/email/client/folder/list' + path_params = {} query_params = [] - if request.account is not None: - query_params.append((self._lowercase_first_letter('account'), request.account)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.account_storage_folder is not None: - query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) - if request.parent_folder is not None: - query_params.append((self._lowercase_first_letter('parentFolder'), request.parent_folder)) + path_parameter = '{' + self._lowercase_first_letter('account') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account if request.account is not None else '') + else: + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('accountStorageFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account_storage_folder if request.account_storage_folder is not None else '') + else: + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + path_parameter = '{' + self._lowercase_first_letter('parentFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.parent_folder if request.parent_folder is not None else '') + else: + if request.parent_folder is not None: + query_params.append((self._lowercase_first_letter('parentFolder'), request.parent_folder)) form_params = [] local_var_files = [] @@ -135,7 +152,7 @@ def get_list(self, request: ClientFolderGetListRequest) -> MailServerFolderList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'MailServerFolderList') diff --git a/sdk/AsposeEmailCloudSdk/api/client_message_api.py b/sdk/AsposeEmailCloudSdk/api/client_message_api.py index 64f273d..6d81f04 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_message_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_message_api.py @@ -38,7 +38,7 @@ class ClientMessageApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(ClientMessageApi, self).__init__(api_client) def append(self, request: ClientMessageAppendRequest) -> ValueTOfString: """Add email message to specified folder in email account. @@ -84,20 +84,45 @@ def append_file(self, request: ClientMessageAppendFileRequest) -> ValueTOfString collection_formats = {} path = '/email/client/message/file/append' + path_params = {} query_params = [] - if request.account is not None: - query_params.append((self._lowercase_first_letter('account'), request.account)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.account_storage_folder is not None: - query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.mark_as_sent is not None: - query_params.append((self._lowercase_first_letter('markAsSent'), request.mark_as_sent)) + path_parameter = '{' + self._lowercase_first_letter('account') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account if request.account is not None else '') + else: + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('accountStorageFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account_storage_folder if request.account_storage_folder is not None else '') + else: + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('markAsSent') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.mark_as_sent if request.mark_as_sent is not None else '') + else: + if request.mark_as_sent is not None: + query_params.append((self._lowercase_first_letter('markAsSent'), request.mark_as_sent)) form_params = [] local_var_files = [] @@ -116,7 +141,7 @@ def append_file(self, request: ClientMessageAppendFileRequest) -> ValueTOfString # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'POST', 'ValueTOfString') @@ -165,22 +190,51 @@ def fetch(self, request: ClientMessageFetchRequest) -> MailMessageBase: collection_formats = {} path = '/email/client/message' + path_params = {} query_params = [] - if request.message_id is not None: - query_params.append((self._lowercase_first_letter('messageId'), request.message_id)) - if request.account is not None: - query_params.append((self._lowercase_first_letter('account'), request.account)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.account_storage_folder is not None: - query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) - if request.type is not None: - query_params.append((self._lowercase_first_letter('type'), request.type)) - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('messageId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.message_id if request.message_id is not None else '') + else: + if request.message_id is not None: + query_params.append((self._lowercase_first_letter('messageId'), request.message_id)) + path_parameter = '{' + self._lowercase_first_letter('account') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account if request.account is not None else '') + else: + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('accountStorageFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account_storage_folder if request.account_storage_folder is not None else '') + else: + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + path_parameter = '{' + self._lowercase_first_letter('type') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.type if request.type is not None else '') + else: + if request.type is not None: + query_params.append((self._lowercase_first_letter('type'), request.type)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -197,7 +251,7 @@ def fetch(self, request: ClientMessageFetchRequest) -> MailMessageBase: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'MailMessageBase') @@ -218,20 +272,45 @@ def fetch_file(self, request: ClientMessageFetchFileRequest) -> str: collection_formats = {} path = '/email/client/message/file' + path_params = {} query_params = [] - if request.message_id is not None: - query_params.append((self._lowercase_first_letter('messageId'), request.message_id)) - if request.account is not None: - query_params.append((self._lowercase_first_letter('account'), request.account)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.account_storage_folder is not None: - query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('messageId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.message_id if request.message_id is not None else '') + else: + if request.message_id is not None: + query_params.append((self._lowercase_first_letter('messageId'), request.message_id)) + path_parameter = '{' + self._lowercase_first_letter('account') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account if request.account is not None else '') + else: + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('accountStorageFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account_storage_folder if request.account_storage_folder is not None else '') + else: + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -248,7 +327,7 @@ def fetch_file(self, request: ClientMessageFetchFileRequest) -> str: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'file') @@ -270,24 +349,57 @@ def list(self, request: ClientMessageListRequest) -> MailMessageBaseList: collection_formats = {} path = '/email/client/message/list' + path_params = {} query_params = [] - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.account is not None: - query_params.append((self._lowercase_first_letter('account'), request.account)) - if request.query_string is not None: - query_params.append((self._lowercase_first_letter('queryString'), request.query_string)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.account_storage_folder is not None: - query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) - if request.recursive is not None: - query_params.append((self._lowercase_first_letter('recursive'), request.recursive)) - if request.type is not None: - query_params.append((self._lowercase_first_letter('type'), request.type)) - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('account') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account if request.account is not None else '') + else: + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + path_parameter = '{' + self._lowercase_first_letter('queryString') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.query_string if request.query_string is not None else '') + else: + if request.query_string is not None: + query_params.append((self._lowercase_first_letter('queryString'), request.query_string)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('accountStorageFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account_storage_folder if request.account_storage_folder is not None else '') + else: + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + path_parameter = '{' + self._lowercase_first_letter('recursive') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.recursive if request.recursive is not None else '') + else: + if request.recursive is not None: + query_params.append((self._lowercase_first_letter('recursive'), request.recursive)) + path_parameter = '{' + self._lowercase_first_letter('type') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.type if request.type is not None else '') + else: + if request.type is not None: + query_params.append((self._lowercase_first_letter('type'), request.type)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -304,7 +416,7 @@ def list(self, request: ClientMessageListRequest) -> MailMessageBaseList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'MailMessageBaseList') @@ -381,16 +493,33 @@ def send_file(self, request: ClientMessageSendFileRequest): collection_formats = {} path = '/email/client/message/file' + path_params = {} query_params = [] - if request.account is not None: - query_params.append((self._lowercase_first_letter('account'), request.account)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.account_storage_folder is not None: - query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('account') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account if request.account is not None else '') + else: + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('accountStorageFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account_storage_folder if request.account_storage_folder is not None else '') + else: + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -409,7 +538,7 @@ def send_file(self, request: ClientMessageSendFileRequest): # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'POST', None) diff --git a/sdk/AsposeEmailCloudSdk/api/client_thread_api.py b/sdk/AsposeEmailCloudSdk/api/client_thread_api.py index 904418b..0db9704 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_thread_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_thread_api.py @@ -38,7 +38,7 @@ class ClientThreadApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(ClientThreadApi, self).__init__(api_client) def delete(self, request: ClientThreadDeleteRequest): """Delete thread by id. All messages from thread will also be deleted. @@ -84,20 +84,45 @@ def get_list(self, request: ClientThreadGetListRequest) -> EmailThreadList: collection_formats = {} path = '/email/client/thread/list' + path_params = {} query_params = [] - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.account is not None: - query_params.append((self._lowercase_first_letter('account'), request.account)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.account_storage_folder is not None: - query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) - if request.update_folder_cache is not None: - query_params.append((self._lowercase_first_letter('updateFolderCache'), request.update_folder_cache)) - if request.messages_cache_limit is not None: - query_params.append((self._lowercase_first_letter('messagesCacheLimit'), request.messages_cache_limit)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('account') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account if request.account is not None else '') + else: + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('accountStorageFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account_storage_folder if request.account_storage_folder is not None else '') + else: + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + path_parameter = '{' + self._lowercase_first_letter('updateFolderCache') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.update_folder_cache if request.update_folder_cache is not None else '') + else: + if request.update_folder_cache is not None: + query_params.append((self._lowercase_first_letter('updateFolderCache'), request.update_folder_cache)) + path_parameter = '{' + self._lowercase_first_letter('messagesCacheLimit') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.messages_cache_limit if request.messages_cache_limit is not None else '') + else: + if request.messages_cache_limit is not None: + query_params.append((self._lowercase_first_letter('messagesCacheLimit'), request.messages_cache_limit)) form_params = [] local_var_files = [] @@ -114,7 +139,7 @@ def get_list(self, request: ClientThreadGetListRequest) -> EmailThreadList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'EmailThreadList') @@ -135,18 +160,39 @@ def get_messages(self, request: ClientThreadGetMessagesRequest) -> EmailList: collection_formats = {} path = '/email/client/thread/messages' + path_params = {} query_params = [] - if request.thread_id is not None: - query_params.append((self._lowercase_first_letter('threadId'), request.thread_id)) - if request.account is not None: - query_params.append((self._lowercase_first_letter('account'), request.account)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.account_storage_folder is not None: - query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) + path_parameter = '{' + self._lowercase_first_letter('threadId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.thread_id if request.thread_id is not None else '') + else: + if request.thread_id is not None: + query_params.append((self._lowercase_first_letter('threadId'), request.thread_id)) + path_parameter = '{' + self._lowercase_first_letter('account') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account if request.account is not None else '') + else: + if request.account is not None: + query_params.append((self._lowercase_first_letter('account'), request.account)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('accountStorageFolder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.account_storage_folder if request.account_storage_folder is not None else '') + else: + if request.account_storage_folder is not None: + query_params.append((self._lowercase_first_letter('accountStorageFolder'), request.account_storage_folder)) form_params = [] local_var_files = [] @@ -163,7 +209,7 @@ def get_messages(self, request: ClientThreadGetMessagesRequest) -> EmailList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'EmailList') diff --git a/sdk/AsposeEmailCloudSdk/api/contact_api.py b/sdk/AsposeEmailCloudSdk/api/contact_api.py index 8f238a6..f4bdaa0 100644 --- a/sdk/AsposeEmailCloudSdk/api/contact_api.py +++ b/sdk/AsposeEmailCloudSdk/api/contact_api.py @@ -38,7 +38,7 @@ class ContactApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(ContactApi, self).__init__(api_client) def as_file(self, request: ContactAsFileRequest) -> str: """Converts contact model to specified format and returns as file @@ -115,12 +115,21 @@ def convert(self, request: ContactConvertRequest) -> str: collection_formats = {} path = '/email/Contact/convert' + path_params = {} query_params = [] - if request.to_format is not None: - query_params.append((self._lowercase_first_letter('toFormat'), request.to_format)) - if request.from_format is not None: - query_params.append((self._lowercase_first_letter('fromFormat'), request.from_format)) + path_parameter = '{' + self._lowercase_first_letter('toFormat') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.to_format if request.to_format is not None else '') + else: + if request.to_format is not None: + query_params.append((self._lowercase_first_letter('toFormat'), request.to_format)) + path_parameter = '{' + self._lowercase_first_letter('fromFormat') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.from_format if request.from_format is not None else '') + else: + if request.from_format is not None: + query_params.append((self._lowercase_first_letter('fromFormat'), request.from_format)) form_params = [] local_var_files = [] @@ -139,7 +148,7 @@ def convert(self, request: ContactConvertRequest) -> str: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'file') @@ -160,10 +169,15 @@ def from_file(self, request: ContactFromFileRequest) -> ContactDto: collection_formats = {} path = '/email/Contact/from-file' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -182,7 +196,7 @@ def from_file(self, request: ContactFromFileRequest) -> ContactDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'ContactDto') @@ -203,16 +217,33 @@ def get(self, request: ContactGetRequest) -> ContactDto: collection_formats = {} path = '/email/Contact' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -229,7 +260,7 @@ def get(self, request: ContactGetRequest) -> ContactDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'ContactDto') @@ -253,18 +284,39 @@ def get_as_file(self, request: ContactGetAsFileRequest) -> str: collection_formats = {} path = '/email/Contact/as-file' + path_params = {} query_params = [] - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.to_format is not None: - query_params.append((self._lowercase_first_letter('toFormat'), request.to_format)) - if request.from_format is not None: - query_params.append((self._lowercase_first_letter('fromFormat'), request.from_format)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('toFormat') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.to_format if request.to_format is not None else '') + else: + if request.to_format is not None: + query_params.append((self._lowercase_first_letter('toFormat'), request.to_format)) + path_parameter = '{' + self._lowercase_first_letter('fromFormat') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.from_format if request.from_format is not None else '') + else: + if request.from_format is not None: + query_params.append((self._lowercase_first_letter('fromFormat'), request.from_format)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) form_params = [] local_var_files = [] @@ -281,7 +333,7 @@ def get_as_file(self, request: ContactGetAsFileRequest) -> str: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'file') @@ -299,18 +351,39 @@ def get_list(self, request: ContactGetListRequest) -> ContactStorageList: collection_formats = {} path = '/email/Contact/list' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) - if request.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.items_per_page if request.items_per_page is not None else '') + else: + if request.items_per_page is not None: + query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) + path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.page_number if request.page_number is not None else '') + else: + if request.page_number is not None: + query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) form_params = [] local_var_files = [] @@ -327,7 +400,7 @@ def get_list(self, request: ContactGetListRequest) -> ContactStorageList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'ContactStorageList') diff --git a/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py b/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py index e44d559..fb9752a 100644 --- a/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py +++ b/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py @@ -38,7 +38,7 @@ class DisposableEmailApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(DisposableEmailApi, self).__init__(api_client) def is_disposable(self, request: DisposableEmailIsDisposableRequest) -> ValueTOfBoolean: """Check email address is disposable @@ -53,10 +53,15 @@ def is_disposable(self, request: DisposableEmailIsDisposableRequest) -> ValueTOf collection_formats = {} path = '/email/disposable/is-disposable' + path_params = {} query_params = [] - if request.address is not None: - query_params.append((self._lowercase_first_letter('address'), request.address)) + path_parameter = '{' + self._lowercase_first_letter('address') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.address if request.address is not None else '') + else: + if request.address is not None: + query_params.append((self._lowercase_first_letter('address'), request.address)) form_params = [] local_var_files = [] @@ -73,7 +78,7 @@ def is_disposable(self, request: DisposableEmailIsDisposableRequest) -> ValueTOf # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'ValueTOfBoolean') diff --git a/sdk/AsposeEmailCloudSdk/api/email_api.py b/sdk/AsposeEmailCloudSdk/api/email_api.py index 1e91973..15d2bd1 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_api.py @@ -38,7 +38,7 @@ class EmailApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(EmailApi, self).__init__(api_client) def as_file(self, request: EmailAsFileRequest) -> str: """Converts Email model to specified format and returns as file. @@ -112,10 +112,15 @@ def convert(self, request: EmailConvertRequest) -> str: collection_formats = {} path = '/email/convert' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -134,7 +139,7 @@ def convert(self, request: EmailConvertRequest) -> str: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'file') @@ -155,10 +160,15 @@ def from_file(self, request: EmailFromFileRequest) -> EmailDto: collection_formats = {} path = '/email/from-file' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -177,7 +187,7 @@ def from_file(self, request: EmailFromFileRequest) -> EmailDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'EmailDto') @@ -198,16 +208,33 @@ def get(self, request: EmailGetRequest) -> EmailDto: collection_formats = {} path = '/email' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -224,7 +251,7 @@ def get(self, request: EmailGetRequest) -> EmailDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'EmailDto') @@ -245,16 +272,33 @@ def get_as_file(self, request: EmailGetAsFileRequest) -> str: collection_formats = {} path = '/email/as-file' + path_params = {} query_params = [] - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) form_params = [] local_var_files = [] @@ -271,7 +315,7 @@ def get_as_file(self, request: EmailGetAsFileRequest) -> str: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'file') @@ -289,18 +333,39 @@ def get_list(self, request: EmailGetListRequest) -> EmailStorageList: collection_formats = {} path = '/email/list' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) - if request.items_per_page is not None: - query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) - if request.page_number is not None: - query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('itemsPerPage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.items_per_page if request.items_per_page is not None else '') + else: + if request.items_per_page is not None: + query_params.append((self._lowercase_first_letter('itemsPerPage'), request.items_per_page)) + path_parameter = '{' + self._lowercase_first_letter('pageNumber') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.page_number if request.page_number is not None else '') + else: + if request.page_number is not None: + query_params.append((self._lowercase_first_letter('pageNumber'), request.page_number)) form_params = [] local_var_files = [] @@ -317,7 +382,7 @@ def get_list(self, request: EmailGetListRequest) -> EmailStorageList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'EmailStorageList') diff --git a/sdk/AsposeEmailCloudSdk/api/email_config_api.py b/sdk/AsposeEmailCloudSdk/api/email_config_api.py index dd6a511..3339def 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_config_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_config_api.py @@ -38,7 +38,7 @@ class EmailConfigApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(EmailConfigApi, self).__init__(api_client) def discover(self, request: EmailConfigDiscoverRequest) -> EmailAccountConfigList: """Discover email accounts by email address. Does not validate discovered accounts. @@ -53,12 +53,21 @@ def discover(self, request: EmailConfigDiscoverRequest) -> EmailAccountConfigLis collection_formats = {} path = '/email/config/discover' + path_params = {} query_params = [] - if request.address is not None: - query_params.append((self._lowercase_first_letter('address'), request.address)) - if request.fast_processing is not None: - query_params.append((self._lowercase_first_letter('fastProcessing'), request.fast_processing)) + path_parameter = '{' + self._lowercase_first_letter('address') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.address if request.address is not None else '') + else: + if request.address is not None: + query_params.append((self._lowercase_first_letter('address'), request.address)) + path_parameter = '{' + self._lowercase_first_letter('fastProcessing') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.fast_processing if request.fast_processing is not None else '') + else: + if request.fast_processing is not None: + query_params.append((self._lowercase_first_letter('fastProcessing'), request.fast_processing)) form_params = [] local_var_files = [] @@ -75,7 +84,7 @@ def discover(self, request: EmailConfigDiscoverRequest) -> EmailAccountConfigLis # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'EmailAccountConfigList') diff --git a/sdk/AsposeEmailCloudSdk/api/file_api.py b/sdk/AsposeEmailCloudSdk/api/file_api.py index bba9f09..19cd684 100644 --- a/sdk/AsposeEmailCloudSdk/api/file_api.py +++ b/sdk/AsposeEmailCloudSdk/api/file_api.py @@ -38,7 +38,7 @@ class FileApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(FileApi, self).__init__(api_client) def copy_file(self, request: CopyFileRequest): """Copy file @@ -56,16 +56,35 @@ def copy_file(self, request: CopyFileRequest): collection_formats = {} path = '/email/storage/file/copy/{srcPath}' + path_params = {} + if request.src_path is not None: + path_params[self._lowercase_first_letter('srcPath')] = request.src_path query_params = [] - if request.dest_path is not None: - query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) - if request.src_storage_name is not None: - query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) - if request.dest_storage_name is not None: - query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) - if request.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + path_parameter = '{' + self._lowercase_first_letter('destPath') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.dest_path if request.dest_path is not None else '') + else: + if request.dest_path is not None: + query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) + path_parameter = '{' + self._lowercase_first_letter('srcStorageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.src_storage_name if request.src_storage_name is not None else '') + else: + if request.src_storage_name is not None: + query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) + path_parameter = '{' + self._lowercase_first_letter('destStorageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.dest_storage_name if request.dest_storage_name is not None else '') + else: + if request.dest_storage_name is not None: + query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) + path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.version_id if request.version_id is not None else '') + else: + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) form_params = [] local_var_files = [] @@ -82,7 +101,7 @@ def copy_file(self, request: CopyFileRequest): # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', None) @@ -100,12 +119,23 @@ def delete_file(self, request: DeleteFileRequest): collection_formats = {} path = '/email/storage/file/{path}' + path_params = {} + if request.path is not None: + path_params[self._lowercase_first_letter('path')] = request.path query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) - if request.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.version_id if request.version_id is not None else '') + else: + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) form_params = [] local_var_files = [] @@ -122,7 +152,7 @@ def delete_file(self, request: DeleteFileRequest): # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'DELETE', None) @@ -140,12 +170,23 @@ def download_file(self, request: DownloadFileRequest) -> str: collection_formats = {} path = '/email/storage/file/{path}' + path_params = {} + if request.path is not None: + path_params[self._lowercase_first_letter('path')] = request.path query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) - if request.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.version_id if request.version_id is not None else '') + else: + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) form_params = [] local_var_files = [] @@ -162,7 +203,7 @@ def download_file(self, request: DownloadFileRequest) -> str: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'file') @@ -183,16 +224,35 @@ def move_file(self, request: MoveFileRequest): collection_formats = {} path = '/email/storage/file/move/{srcPath}' + path_params = {} + if request.src_path is not None: + path_params[self._lowercase_first_letter('srcPath')] = request.src_path query_params = [] - if request.dest_path is not None: - query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) - if request.src_storage_name is not None: - query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) - if request.dest_storage_name is not None: - query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) - if request.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + path_parameter = '{' + self._lowercase_first_letter('destPath') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.dest_path if request.dest_path is not None else '') + else: + if request.dest_path is not None: + query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) + path_parameter = '{' + self._lowercase_first_letter('srcStorageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.src_storage_name if request.src_storage_name is not None else '') + else: + if request.src_storage_name is not None: + query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) + path_parameter = '{' + self._lowercase_first_letter('destStorageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.dest_storage_name if request.dest_storage_name is not None else '') + else: + if request.dest_storage_name is not None: + query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) + path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.version_id if request.version_id is not None else '') + else: + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) form_params = [] local_var_files = [] @@ -209,7 +269,7 @@ def move_file(self, request: MoveFileRequest): # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', None) @@ -230,10 +290,17 @@ def upload_file(self, request: UploadFileRequest) -> FilesUploadResult: collection_formats = {} path = '/email/storage/file/{path}' + path_params = {} + if request.path is not None: + path_params[self._lowercase_first_letter('path')] = request.path query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) form_params = [] local_var_files = [] @@ -252,7 +319,7 @@ def upload_file(self, request: UploadFileRequest) -> FilesUploadResult: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'FilesUploadResult') diff --git a/sdk/AsposeEmailCloudSdk/api/folder_api.py b/sdk/AsposeEmailCloudSdk/api/folder_api.py index 8021ab5..c11f904 100644 --- a/sdk/AsposeEmailCloudSdk/api/folder_api.py +++ b/sdk/AsposeEmailCloudSdk/api/folder_api.py @@ -38,7 +38,7 @@ class FolderApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(FolderApi, self).__init__(api_client) def copy_folder(self, request: CopyFolderRequest): """Copy folder @@ -56,14 +56,29 @@ def copy_folder(self, request: CopyFolderRequest): collection_formats = {} path = '/email/storage/folder/copy/{srcPath}' + path_params = {} + if request.src_path is not None: + path_params[self._lowercase_first_letter('srcPath')] = request.src_path query_params = [] - if request.dest_path is not None: - query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) - if request.src_storage_name is not None: - query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) - if request.dest_storage_name is not None: - query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) + path_parameter = '{' + self._lowercase_first_letter('destPath') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.dest_path if request.dest_path is not None else '') + else: + if request.dest_path is not None: + query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) + path_parameter = '{' + self._lowercase_first_letter('srcStorageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.src_storage_name if request.src_storage_name is not None else '') + else: + if request.src_storage_name is not None: + query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) + path_parameter = '{' + self._lowercase_first_letter('destStorageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.dest_storage_name if request.dest_storage_name is not None else '') + else: + if request.dest_storage_name is not None: + query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) form_params = [] local_var_files = [] @@ -80,7 +95,7 @@ def copy_folder(self, request: CopyFolderRequest): # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', None) @@ -98,10 +113,17 @@ def create_folder(self, request: CreateFolderRequest): collection_formats = {} path = '/email/storage/folder/{path}' + path_params = {} + if request.path is not None: + path_params[self._lowercase_first_letter('path')] = request.path query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) form_params = [] local_var_files = [] @@ -118,7 +140,7 @@ def create_folder(self, request: CreateFolderRequest): # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', None) @@ -136,12 +158,23 @@ def delete_folder(self, request: DeleteFolderRequest): collection_formats = {} path = '/email/storage/folder/{path}' + path_params = {} + if request.path is not None: + path_params[self._lowercase_first_letter('path')] = request.path query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) - if request.recursive is not None: - query_params.append((self._lowercase_first_letter('recursive'), request.recursive)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('recursive') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.recursive if request.recursive is not None else '') + else: + if request.recursive is not None: + query_params.append((self._lowercase_first_letter('recursive'), request.recursive)) form_params = [] local_var_files = [] @@ -158,7 +191,7 @@ def delete_folder(self, request: DeleteFolderRequest): # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'DELETE', None) @@ -176,10 +209,17 @@ def get_files_list(self, request: GetFilesListRequest) -> FilesList: collection_formats = {} path = '/email/storage/folder/{path}' + path_params = {} + if request.path is not None: + path_params[self._lowercase_first_letter('path')] = request.path query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) form_params = [] local_var_files = [] @@ -196,7 +236,7 @@ def get_files_list(self, request: GetFilesListRequest) -> FilesList: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'FilesList') @@ -217,14 +257,29 @@ def move_folder(self, request: MoveFolderRequest): collection_formats = {} path = '/email/storage/folder/move/{srcPath}' + path_params = {} + if request.src_path is not None: + path_params[self._lowercase_first_letter('srcPath')] = request.src_path query_params = [] - if request.dest_path is not None: - query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) - if request.src_storage_name is not None: - query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) - if request.dest_storage_name is not None: - query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) + path_parameter = '{' + self._lowercase_first_letter('destPath') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.dest_path if request.dest_path is not None else '') + else: + if request.dest_path is not None: + query_params.append((self._lowercase_first_letter('destPath'), request.dest_path)) + path_parameter = '{' + self._lowercase_first_letter('srcStorageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.src_storage_name if request.src_storage_name is not None else '') + else: + if request.src_storage_name is not None: + query_params.append((self._lowercase_first_letter('srcStorageName'), request.src_storage_name)) + path_parameter = '{' + self._lowercase_first_letter('destStorageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.dest_storage_name if request.dest_storage_name is not None else '') + else: + if request.dest_storage_name is not None: + query_params.append((self._lowercase_first_letter('destStorageName'), request.dest_storage_name)) form_params = [] local_var_files = [] @@ -241,7 +296,7 @@ def move_folder(self, request: MoveFolderRequest): # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', None) diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py index 63070bc..277fb8c 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py @@ -38,7 +38,7 @@ class MapiCalendarApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(MapiCalendarApi, self).__init__(api_client) def as_calendar_dto(self, mapi_calendar_dto: MapiCalendarDto) -> CalendarDto: """Converts MAPI calendar model to CalendarDto model. @@ -109,6 +109,7 @@ def from_file(self, request: MapiCalendarFromFileRequest) -> MapiCalendarDto: collection_formats = {} path = '/email/MapiCalendar/from-file' + path_params = {} query_params = [] @@ -129,7 +130,7 @@ def from_file(self, request: MapiCalendarFromFileRequest) -> MapiCalendarDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'MapiCalendarDto') @@ -147,14 +148,27 @@ def get(self, request: MapiCalendarGetRequest) -> MapiCalendarDto: collection_formats = {} path = '/email/MapiCalendar' + path_params = {} query_params = [] - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -171,7 +185,7 @@ def get(self, request: MapiCalendarGetRequest) -> MapiCalendarDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'MapiCalendarDto') diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py index a89bb5a..a3d9ff9 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py @@ -38,7 +38,7 @@ class MapiContactApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(MapiContactApi, self).__init__(api_client) def as_contact_dto(self, mapi_contact_dto: MapiContactDto) -> ContactDto: """Converts MAPI contact model to ContactDto model. @@ -112,10 +112,15 @@ def from_file(self, request: MapiContactFromFileRequest) -> MapiContactDto: collection_formats = {} path = '/email/MapiContact/from-file' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -134,7 +139,7 @@ def from_file(self, request: MapiContactFromFileRequest) -> MapiContactDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'MapiContactDto') @@ -155,16 +160,33 @@ def get(self, request: MapiContactGetRequest) -> MapiContactDto: collection_formats = {} path = '/email/MapiContact' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -181,7 +203,7 @@ def get(self, request: MapiContactGetRequest) -> MapiContactDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'MapiContactDto') diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py index c4d3670..bfb40d4 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py @@ -38,7 +38,7 @@ class MapiMessageApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(MapiMessageApi, self).__init__(api_client) def as_email_dto(self, mapi_message: MapiMessageDto) -> EmailDto: """Converts MAPI message model to EmailDto model @@ -112,10 +112,15 @@ def from_file(self, request: MapiMessageFromFileRequest) -> MapiMessageDto: collection_formats = {} path = '/email/MapiMessage/from-file' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) form_params = [] local_var_files = [] @@ -134,7 +139,7 @@ def from_file(self, request: MapiMessageFromFileRequest) -> MapiMessageDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'PUT', 'MapiMessageDto') @@ -155,16 +160,33 @@ def get(self, request: MapiMessageGetRequest) -> MapiMessageDto: collection_formats = {} path = '/email/MapiMessage' + path_params = {} query_params = [] - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) - if request.file_name is not None: - query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) - if request.folder is not None: - query_params.append((self._lowercase_first_letter('folder'), request.folder)) - if request.storage is not None: - query_params.append((self._lowercase_first_letter('storage'), request.storage)) + path_parameter = '{' + self._lowercase_first_letter('format') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.format if request.format is not None else '') + else: + if request.format is not None: + query_params.append((self._lowercase_first_letter('format'), request.format)) + path_parameter = '{' + self._lowercase_first_letter('fileName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.file_name if request.file_name is not None else '') + else: + if request.file_name is not None: + query_params.append((self._lowercase_first_letter('fileName'), request.file_name)) + path_parameter = '{' + self._lowercase_first_letter('folder') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.folder if request.folder is not None else '') + else: + if request.folder is not None: + query_params.append((self._lowercase_first_letter('folder'), request.folder)) + path_parameter = '{' + self._lowercase_first_letter('storage') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage if request.storage is not None else '') + else: + if request.storage is not None: + query_params.append((self._lowercase_first_letter('storage'), request.storage)) form_params = [] local_var_files = [] @@ -181,7 +203,7 @@ def get(self, request: MapiMessageGetRequest) -> MapiMessageDto: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'MapiMessageDto') diff --git a/sdk/AsposeEmailCloudSdk/api/storage_api.py b/sdk/AsposeEmailCloudSdk/api/storage_api.py index dac730b..fa6b5c4 100644 --- a/sdk/AsposeEmailCloudSdk/api/storage_api.py +++ b/sdk/AsposeEmailCloudSdk/api/storage_api.py @@ -38,7 +38,7 @@ class StorageApi(ApiBase): """ def __init__(self, api_client): - super(ApiBase, self).__init__(api_client) + super(StorageApi, self).__init__(api_client) def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: """Get disc usage @@ -50,10 +50,15 @@ def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: collection_formats = {} path = '/email/storage/disc' + path_params = {} query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) form_params = [] local_var_files = [] @@ -70,7 +75,7 @@ def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'DiscUsage') @@ -88,10 +93,17 @@ def get_file_versions(self, request: GetFileVersionsRequest) -> FileVersions: collection_formats = {} path = '/email/storage/version/{path}' + path_params = {} + if request.path is not None: + path_params[self._lowercase_first_letter('path')] = request.path query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) form_params = [] local_var_files = [] @@ -108,7 +120,7 @@ def get_file_versions(self, request: GetFileVersionsRequest) -> FileVersions: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'FileVersions') @@ -126,12 +138,23 @@ def object_exists(self, request: ObjectExistsRequest) -> ObjectExist: collection_formats = {} path = '/email/storage/exist/{path}' + path_params = {} + if request.path is not None: + path_params[self._lowercase_first_letter('path')] = request.path query_params = [] - if request.storage_name is not None: - query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) - if request.version_id is not None: - query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) + path_parameter = '{' + self._lowercase_first_letter('storageName') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.storage_name if request.storage_name is not None else '') + else: + if request.storage_name is not None: + query_params.append((self._lowercase_first_letter('storageName'), request.storage_name)) + path_parameter = '{' + self._lowercase_first_letter('versionId') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.version_id if request.version_id is not None else '') + else: + if request.version_id is not None: + query_params.append((self._lowercase_first_letter('versionId'), request.version_id)) form_params = [] local_var_files = [] @@ -148,7 +171,7 @@ def object_exists(self, request: ObjectExistsRequest) -> ObjectExist: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'ObjectExist') @@ -166,6 +189,9 @@ def exists(self, request: StorageExistsRequest) -> StorageExist: collection_formats = {} path = '/email/storage/{storageName}/exist' + path_params = {} + if request.storage_name is not None: + path_params[self._lowercase_first_letter('storageName')] = request.storage_name query_params = [] @@ -184,7 +210,7 @@ def exists(self, request: StorageExistsRequest) -> StorageExist: # Authentication setting auth_settings = ['JWT'] - http_request_object = HttpRequest(path, None, query_params, header_params, form_params, None, local_var_files, + http_request_object = HttpRequest(path, path_params, query_params, header_params, form_params, None, local_var_files, collection_formats, auth_settings) return self._make_request(http_request_object, 'GET', 'StorageExist') diff --git a/sdk/AsposeEmailCloudSdk/configuration.py b/sdk/AsposeEmailCloudSdk/configuration.py index d853080..94e2d5d 100644 --- a/sdk/AsposeEmailCloudSdk/configuration.py +++ b/sdk/AsposeEmailCloudSdk/configuration.py @@ -41,7 +41,7 @@ class Configuration(object): default_base_url = 'https://api.aspose.cloud' - default_api_version = 'v3.0' + default_api_version = 'v4.0' def __init__(self, app_key=None, app_sid=None, base_url=None, api_version=None, debug=False): From 6ad4ea56a1f6ff021296f40813e39272e77905e7 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Mon, 3 Aug 2020 21:58:08 +0400 Subject: [PATCH 04/20] Tests for contact, calendar and AI functions actualized. Type hints correction in progress --- sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py | 6 +- sdk/AsposeEmailCloudSdk/api/ai_name_api.py | 33 ++++--- sdk/AsposeEmailCloudSdk/api/calendar_api.py | 30 ++++--- .../api/client_account_api.py | 12 ++- .../api/client_folder_api.py | 9 +- .../api/client_message_api.py | 30 ++++--- .../api/client_thread_api.py | 15 ++-- sdk/AsposeEmailCloudSdk/api/contact_api.py | 24 +++-- .../api/disposable_email_api.py | 3 +- sdk/AsposeEmailCloudSdk/api/email_api.py | 24 +++-- sdk/AsposeEmailCloudSdk/api/email_cloud.py | 5 ++ .../api/email_config_api.py | 9 +- sdk/AsposeEmailCloudSdk/api/file_api.py | 15 ++-- sdk/AsposeEmailCloudSdk/api/folder_api.py | 15 ++-- .../api/mapi_calendar_api.py | 15 ++-- .../api/mapi_contact_api.py | 15 ++-- .../api/mapi_message_api.py | 15 ++-- sdk/AsposeEmailCloudSdk/api/storage_api.py | 12 ++- .../models/ai_bcr_image.py | 3 +- .../models/ai_bcr_image_storage_file.py | 5 +- .../models/ai_bcr_options.py | 5 +- .../models/ai_bcr_parse_request.py | 24 +++-- .../models/ai_bcr_parse_storage_request.py | 7 +- .../models/ai_name_complete_request.py | 36 +++++--- .../models/ai_name_component.py | 9 +- .../models/ai_name_component_list.py | 3 +- .../models/ai_name_cultural_context.py | 11 +-- .../models/ai_name_expand_request.py | 36 +++++--- .../models/ai_name_extracted.py | 5 +- .../models/ai_name_extracted_component.py | 5 +- .../models/ai_name_extracted_list.py | 3 +- .../models/ai_name_format_request.py | 42 ++++++--- .../models/ai_name_formatted.py | 5 +- .../models/ai_name_gender_hypothesis.py | 5 +- .../models/ai_name_gender_hypothesis_list.py | 3 +- .../models/ai_name_genderize_request.py | 36 +++++--- .../models/ai_name_match_request.py | 42 ++++++--- .../models/ai_name_match_result.py | 5 +- .../models/ai_name_mismatch.py | 7 +- .../ai_name_parse_email_address_request.py | 36 +++++--- .../models/ai_name_parse_request.py | 36 +++++--- .../models/ai_name_parsed_match_request.py | 9 +- .../models/ai_name_parsed_request.py | 7 +- .../models/ai_name_weighted.py | 5 +- .../models/ai_name_weighted_variants.py | 5 +- .../models/alternate_view.py | 13 +-- .../models/associated_person.py | 7 +- sdk/AsposeEmailCloudSdk/models/attachment.py | 19 ++-- .../models/attachment_base.py | 9 +- .../models/calendar_as_alternate_request.py | 7 +- .../models/calendar_as_file_request.py | 5 +- .../models/calendar_convert_request.py | 12 ++- .../models/calendar_dto.py | 45 +++++----- .../models/calendar_from_file_request.py | 6 +- .../calendar_get_as_alternate_request.py | 30 ++++--- .../models/calendar_get_as_file_request.py | 24 +++-- .../models/calendar_get_list_request.py | 24 +++-- .../models/calendar_get_request.py | 18 ++-- .../models/calendar_reminder.py | 17 ++-- .../models/calendar_save_request.py | 7 +- .../models/calendar_storage_list.py | 3 +- .../models/client_account_base_request.py | 3 +- .../client_account_get_multi_request.py | 18 ++-- .../models/client_account_get_request.py | 18 ++-- .../models/client_folder_create_request.py | 7 +- .../models/client_folder_delete_request.py | 5 +- .../models/client_folder_get_list_request.py | 24 +++-- .../client_message_append_file_request.py | 42 ++++++--- .../models/client_message_append_request.py | 9 +- .../models/client_message_base_request.py | 5 +- .../models/client_message_delete_request.py | 7 +- .../client_message_fetch_file_request.py | 36 +++++--- .../models/client_message_fetch_request.py | 42 ++++++--- .../models/client_message_list_request.py | 48 ++++++---- .../models/client_message_move_request.py | 9 +- .../client_message_send_file_request.py | 30 ++++--- .../models/client_message_send_request.py | 5 +- .../client_message_set_is_read_request.py | 7 +- .../models/client_thread_base_request.py | 5 +- .../models/client_thread_delete_request.py | 7 +- .../models/client_thread_get_list_request.py | 36 +++++--- .../client_thread_get_messages_request.py | 30 ++++--- .../models/client_thread_move_request.py | 7 +- .../client_thread_set_is_read_request.py | 9 +- .../models/contact_as_file_request.py | 5 +- .../models/contact_convert_request.py | 18 ++-- sdk/AsposeEmailCloudSdk/models/contact_dto.py | 73 +++++++-------- .../models/contact_from_file_request.py | 12 ++- .../models/contact_get_as_file_request.py | 30 ++++--- .../models/contact_get_list_request.py | 30 ++++--- .../models/contact_get_request.py | 24 +++-- .../models/contact_list.py | 3 +- .../models/contact_photo.py | 7 +- .../models/contact_save_request.py | 7 +- .../models/contact_storage_list.py | 3 +- .../models/content_type.py | 11 +-- .../models/content_type_parameter.py | 5 +- .../models/copy_file_request.py | 30 ++++--- .../models/copy_folder_request.py | 24 +++-- .../models/create_folder_request.py | 12 ++- .../models/customer_event.py | 5 +- .../models/daily_recurrence_pattern_dto.py | 11 +-- .../models/delete_file_request.py | 18 ++-- .../models/delete_folder_request.py | 18 ++-- sdk/AsposeEmailCloudSdk/models/disc_usage.py | 5 +- .../models/discover_email_config_oauth.py | 15 ++-- .../models/discover_email_config_password.py | 9 +- .../models/discover_email_config_request.py | 7 +- .../disposable_email_is_disposable_request.py | 6 +- .../models/download_file_request.py | 18 ++-- .../models/email_account_config.py | 17 ++-- .../models/email_account_config_list.py | 3 +- .../models/email_address.py | 13 +-- .../models/email_as_file_request.py | 5 +- .../models/email_client_account.py | 13 +-- .../email_client_account_credentials.py | 5 +- .../email_client_account_oauth_credentials.py | 13 +-- ...ail_client_account_password_credentials.py | 7 +- .../email_client_account_save_request.py | 5 +- .../models/email_client_multi_account.py | 5 +- ...email_client_multi_account_save_request.py | 5 +- .../models/email_config_discover_request.py | 12 ++- .../models/email_convert_request.py | 12 ++- sdk/AsposeEmailCloudSdk/models/email_dto.py | 65 +++++++------- .../models/email_from_file_request.py | 12 ++- .../models/email_get_as_file_request.py | 24 +++-- .../models/email_get_list_request.py | 30 ++++--- .../models/email_get_request.py | 24 +++-- sdk/AsposeEmailCloudSdk/models/email_list.py | 3 +- .../models/email_save_request.py | 7 +- .../models/email_storage_list.py | 3 +- .../models/email_thread.py | 9 +- .../models/email_thread_list.py | 3 +- ...th_custom_of_associated_person_category.py | 5 +- ...m_with_custom_of_email_address_category.py | 5 +- .../enum_with_custom_of_event_category.py | 5 +- ...th_custom_of_instant_messenger_category.py | 5 +- ...um_with_custom_of_phone_number_category.py | 5 +- ..._with_custom_of_postal_address_category.py | 5 +- .../enum_with_custom_of_url_category.py | 5 +- sdk/AsposeEmailCloudSdk/models/error.py | 9 +- .../models/error_details.py | 5 +- .../models/file_version.py | 15 ++-- .../models/file_versions.py | 3 +- sdk/AsposeEmailCloudSdk/models/files_list.py | 3 +- .../models/files_upload_result.py | 5 +- .../models/get_disc_usage_request.py | 6 +- .../models/get_file_versions_request.py | 12 ++- .../models/get_files_list_request.py | 12 ++- .../models/instant_messenger_address.py | 7 +- .../models/linked_resource.py | 11 +-- .../list_response_of_ai_name_component.py | 3 +- .../list_response_of_ai_name_extracted.py | 3 +- ...t_response_of_ai_name_gender_hypothesis.py | 3 +- .../models/list_response_of_contact_dto.py | 3 +- .../list_response_of_email_account_config.py | 3 +- .../models/list_response_of_email_dto.py | 3 +- .../models/list_response_of_email_thread.py | 3 +- .../list_response_of_mail_message_base.py | 3 +- .../list_response_of_mail_server_folder.py | 3 +- .../list_response_of_storage_file_location.py | 3 +- ...sponse_of_storage_model_of_calendar_dto.py | 3 +- ...esponse_of_storage_model_of_contact_dto.py | 3 +- ..._response_of_storage_model_of_email_dto.py | 3 +- .../models/mail_address.py | 9 +- .../models/mail_message_base.py | 3 +- .../models/mail_message_base64.py | 7 +- .../models/mail_message_base_list.py | 3 +- .../models/mail_message_dto.py | 5 +- .../models/mail_message_mapi.py | 5 +- .../models/mail_server_folder.py | 5 +- .../models/mail_server_folder_list.py | 3 +- .../models/mapi_attachment_dto.py | 5 +- .../models/mapi_binary_property_dto.py | 7 +- .../models/mapi_boolean_property_dto.py | 7 +- .../models/mapi_calendar_as_file_request.py | 5 +- .../models/mapi_calendar_attendees_dto.py | 9 +- ...i_calendar_daily_recurrence_pattern_dto.py | 31 +++---- .../models/mapi_calendar_dto.py | 71 +++++++-------- .../mapi_calendar_event_recurrence_dto.py | 13 +-- .../mapi_calendar_exception_info_dto.py | 29 +++--- .../models/mapi_calendar_from_file_request.py | 6 +- .../models/mapi_calendar_get_request.py | 18 ++-- .../mapi_calendar_recurrence_pattern_dto.py | 29 +++--- .../models/mapi_calendar_save_request.py | 7 +- .../models/mapi_calendar_time_zone_dto.py | 5 +- .../mapi_calendar_time_zone_info_dto.py | 15 ++-- .../mapi_calendar_time_zone_rule_dto.py | 19 ++-- ..._calendar_weekly_recurrence_pattern_dto.py | 31 +++---- ...arly_and_monthly_recurrence_pattern_dto.py | 35 ++++---- .../models/mapi_contact_as_file_request.py | 5 +- .../models/mapi_contact_dto.py | 53 +++++------ .../mapi_contact_electronic_address_dto.py | 13 +-- ...act_electronic_address_property_set_dto.py | 19 ++-- .../mapi_contact_event_property_set_dto.py | 5 +- .../models/mapi_contact_from_file_request.py | 12 ++- .../models/mapi_contact_get_request.py | 24 +++-- .../mapi_contact_name_property_set_dto.py | 21 ++--- .../mapi_contact_other_property_set_dto.py | 17 ++-- ..._contact_personal_info_property_set_dto.py | 39 ++++---- .../models/mapi_contact_photo_dto.py | 7 +- .../mapi_contact_physical_address_dto.py | 19 ++-- ...ntact_physical_address_property_set_dto.py | 7 +- ...i_contact_professional_property_set_dto.py | 15 ++-- .../models/mapi_contact_save_request.py | 7 +- ...mapi_contact_telephone_property_set_dto.py | 39 ++++---- .../models/mapi_date_time_property_dto.py | 7 +- .../models/mapi_electronic_address_dto.py | 11 +-- .../models/mapi_file_as_property_dto.py | 7 +- .../models/mapi_importance_property_dto.py | 7 +- .../models/mapi_int_property_dto.py | 7 +- .../models/mapi_known_property_descriptor.py | 5 +- .../mapi_legacy_free_busy_property_dto.py | 7 +- .../models/mapi_message_as_file_request.py | 5 +- .../models/mapi_message_dto.py | 85 +++++++++--------- .../models/mapi_message_from_file_request.py | 12 ++- .../models/mapi_message_get_request.py | 24 +++-- .../models/mapi_message_item_base_dto.py | 35 ++++---- .../models/mapi_message_save_request.py | 7 +- .../models/mapi_multi_int_property_dto.py | 7 +- .../models/mapi_multi_string_property_dto.py | 7 +- ...api_physical_address_index_property_dto.py | 7 +- .../mapi_pid_lid_property_descriptor.py | 15 ++-- .../mapi_pid_name_property_descriptor.py | 13 +-- .../models/mapi_pid_property_descriptor.py | 11 +-- .../mapi_pid_tag_property_descriptor.py | 15 ++-- .../models/mapi_property_descriptor.py | 3 +- .../models/mapi_property_dto.py | 5 +- .../models/mapi_recipient_dto.py | 9 +- .../models/mapi_response_type_property_dto.py | 7 +- .../models/mapi_string_property_dto.py | 7 +- .../models/monthly_recurrence_pattern_dto.py | 17 ++-- .../models/move_file_request.py | 30 ++++--- .../models/move_folder_request.py | 24 +++-- .../models/name_value_pair.py | 5 +- .../models/object_exist.py | 5 +- .../models/object_exists_request.py | 18 ++-- .../models/phone_number.py | 7 +- .../models/postal_address.py | 23 ++--- .../models/recurrence_pattern_dto.py | 11 +-- .../models/reminder_attendee.py | 3 +- .../models/reminder_trigger.py | 7 +- .../models/storage_exist.py | 3 +- .../models/storage_exists_request.py | 6 +- .../models/storage_file.py | 11 +-- .../models/storage_file_location.py | 7 +- .../models/storage_file_location_list.py | 3 +- .../models/storage_folder_location.py | 5 +- .../models/storage_model_of_calendar_dto.py | 5 +- .../models/storage_model_of_contact_dto.py | 5 +- .../storage_model_of_email_client_account.py | 5 +- ...age_model_of_email_client_multi_account.py | 5 +- .../models/storage_model_of_email_dto.py | 5 +- .../storage_model_of_mapi_calendar_dto.py | 5 +- .../storage_model_of_mapi_contact_dto.py | 5 +- .../storage_model_of_mapi_message_dto.py | 5 +- .../models/task_regenerating_pattern_dto.py | 13 +-- .../models/upload_file_request.py | 18 ++-- sdk/AsposeEmailCloudSdk/models/url.py | 7 +- .../models/value_t_of_boolean.py | 3 +- .../models/value_t_of_string.py | 3 +- .../models/weekly_recurrence_pattern_dto.py | 13 +-- .../models/yearly_recurrence_pattern_dto.py | 19 ++-- tests/tests/ai_test.py | 47 ++-------- tests/tests/calendar_test.py | 90 ++++--------------- tests/tests/contact_test.py | 49 +++------- 266 files changed, 2151 insertions(+), 1545 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py b/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py index d89be25..e93dd1f 100644 --- a/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py +++ b/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py @@ -44,7 +44,8 @@ def parse(self, request: AiBcrParseRequest) -> ContactList: """Parse images to vCard document models - :param request AiBcrParseRequest object with parameters + :param request: AiBcrParseRequest object with parameters + :type request: AiBcrParseRequest :return: ContactList """ # verify the required parameter 'file' is set @@ -100,7 +101,8 @@ def parse(self, request: AiBcrParseRequest) -> ContactList: def parse_storage(self, request: AiBcrParseStorageRequest) -> StorageFileLocationList: """Parse images from storage to vCard files - :param request AiBcrParseStorageRequest Request with images located on storage + :param request: Request with images located on storage + :type request: AiBcrParseStorageRequest :return: StorageFileLocationList """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py index 77be1a8..420cad9 100644 --- a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py +++ b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py @@ -44,7 +44,8 @@ def complete(self, request: AiNameCompleteRequest) -> AiNameWeightedVariants: """The call proposes k most probable names for given starting characters. - :param request AiNameCompleteRequest object with parameters + :param request: AiNameCompleteRequest object with parameters + :type request: AiNameCompleteRequest :return: AiNameWeightedVariants """ # verify the required parameter 'name' is set @@ -117,7 +118,8 @@ def expand(self, request: AiNameExpandRequest) -> AiNameWeightedVariants: """Expands a person's name into a list of possible alternatives using options for expanding instructions. - :param request AiNameExpandRequest object with parameters + :param request: AiNameExpandRequest object with parameters + :type request: AiNameExpandRequest :return: AiNameWeightedVariants """ # verify the required parameter 'name' is set @@ -189,7 +191,8 @@ def expand(self, request: AiNameExpandRequest) -> AiNameWeightedVariants: def expand_parsed(self, request: AiNameParsedRequest) -> AiNameWeightedVariants: """Expands a person's parsed name into a list of possible alternatives using options for expanding instructions. - :param request AiNameParsedRequest Parsed name with options. + :param request: Parsed name with options. + :type request: AiNameParsedRequest :return: AiNameWeightedVariants """ # verify the required parameter 'request' is set @@ -218,7 +221,8 @@ def format(self, request: AiNameFormatRequest) -> AiNameFormatted: """Formats a person's name in correct case and name order using options for formatting instructions. - :param request AiNameFormatRequest object with parameters + :param request: AiNameFormatRequest object with parameters + :type request: AiNameFormatRequest :return: AiNameFormatted """ # verify the required parameter 'name' is set @@ -296,7 +300,8 @@ def format(self, request: AiNameFormatRequest) -> AiNameFormatted: def format_parsed(self, request: AiNameParsedRequest) -> AiNameFormatted: """Formats a person's parsed name in correct case and name order using options for formatting instructions. - :param request AiNameParsedRequest Parsed name with options. + :param request: Parsed name with options. + :type request: AiNameParsedRequest :return: AiNameFormatted """ # verify the required parameter 'request' is set @@ -325,7 +330,8 @@ def genderize(self, request: AiNameGenderizeRequest) -> AiNameGenderHypothesisLi """Detect person's gender from name string. - :param request AiNameGenderizeRequest object with parameters + :param request: AiNameGenderizeRequest object with parameters + :type request: AiNameGenderizeRequest :return: AiNameGenderHypothesisList """ # verify the required parameter 'name' is set @@ -397,7 +403,8 @@ def genderize(self, request: AiNameGenderizeRequest) -> AiNameGenderHypothesisLi def genderize_parsed(self, request: AiNameParsedRequest) -> AiNameGenderHypothesisList: """Detect person's gender from parsed name. - :param request AiNameParsedRequest Gender detection request data. + :param request: Gender detection request data. + :type request: AiNameParsedRequest :return: AiNameGenderHypothesisList """ # verify the required parameter 'request' is set @@ -426,7 +433,8 @@ def match(self, request: AiNameMatchRequest) -> AiNameMatchResult: """Compare people's names. Uses options for comparing instructions. - :param request AiNameMatchRequest object with parameters + :param request: AiNameMatchRequest object with parameters + :type request: AiNameMatchRequest :return: AiNameMatchResult """ # verify the required parameter 'name' is set @@ -507,7 +515,8 @@ def match(self, request: AiNameMatchRequest) -> AiNameMatchResult: def match_parsed(self, request: AiNameParsedMatchRequest) -> AiNameMatchResult: """Compare people's parsed names and attributes. Uses options for comparing instructions. - :param request AiNameParsedMatchRequest Parsed names to match. + :param request: Parsed names to match. + :type request: AiNameParsedMatchRequest :return: AiNameMatchResult """ # verify the required parameter 'request' is set @@ -536,7 +545,8 @@ def parse(self, request: AiNameParseRequest) -> AiNameComponentList: """Parse name to components. - :param request AiNameParseRequest object with parameters + :param request: AiNameParseRequest object with parameters + :type request: AiNameParseRequest :return: AiNameComponentList """ # verify the required parameter 'name' is set @@ -609,7 +619,8 @@ def parse_email_address(self, request: AiNameParseEmailAddressRequest) -> AiName """Parse person's name out of an email address. - :param request AiNameParseEmailAddressRequest object with parameters + :param request: AiNameParseEmailAddressRequest object with parameters + :type request: AiNameParseEmailAddressRequest :return: AiNameExtractedList """ # verify the required parameter 'email_address' is set diff --git a/sdk/AsposeEmailCloudSdk/api/calendar_api.py b/sdk/AsposeEmailCloudSdk/api/calendar_api.py index b3879e0..f3c6f12 100644 --- a/sdk/AsposeEmailCloudSdk/api/calendar_api.py +++ b/sdk/AsposeEmailCloudSdk/api/calendar_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def as_alternate(self, request: CalendarAsAlternateRequest) -> AlternateView: """Convert iCalendar to AlternateView - :param request CalendarAsAlternateRequest iCalendar to AlternateView request + :param request: iCalendar to AlternateView request + :type request: CalendarAsAlternateRequest :return: AlternateView """ # verify the required parameter 'request' is set @@ -71,7 +72,8 @@ def as_alternate(self, request: CalendarAsAlternateRequest) -> AlternateView: def as_file(self, request: CalendarAsFileRequest) -> str: """Converts calendar model to specified format and returns as file. - :param request CalendarAsFileRequest Calendar model and format to convert. + :param request: Calendar model and format to convert. + :type request: CalendarAsFileRequest :return: str """ # verify the required parameter 'request' is set @@ -99,7 +101,8 @@ def as_file(self, request: CalendarAsFileRequest) -> str: def as_mapi(self, calendar_dto: CalendarDto) -> MapiCalendarDto: """Converts CalendarDto to MapiCalendarDto. - :param calendar_dto CalendarDto iCalendar model calendar representation. + :param calendar_dto: iCalendar model calendar representation. + :type calendar_dto: CalendarDto :return: MapiCalendarDto """ # verify the required parameter 'calendar_dto' is set @@ -128,7 +131,8 @@ def convert(self, request: CalendarConvertRequest) -> str: """Converts calendar document to specified format and returns as file. - :param request CalendarConvertRequest object with parameters + :param request: CalendarConvertRequest object with parameters + :type request: CalendarConvertRequest :return: str """ # verify the required parameter 'format' is set @@ -176,7 +180,8 @@ def from_file(self, request: CalendarFromFileRequest) -> CalendarDto: """Converts calendar document to a model representation. - :param request CalendarFromFileRequest object with parameters + :param request: CalendarFromFileRequest object with parameters + :type request: CalendarFromFileRequest :return: CalendarDto """ # verify the required parameter 'file' is set @@ -215,7 +220,8 @@ def get(self, request: CalendarGetRequest) -> CalendarDto: """Get calendar file from storage. - :param request CalendarGetRequest object with parameters + :param request: CalendarGetRequest object with parameters + :type request: CalendarGetRequest :return: CalendarDto """ # verify the required parameter 'file_name' is set @@ -270,7 +276,8 @@ def get_as_alternate(self, request: CalendarGetAsAlternateRequest) -> AlternateV """Get iCalendar from storage as AlternateView - :param request CalendarGetAsAlternateRequest object with parameters + :param request: CalendarGetAsAlternateRequest object with parameters + :type request: CalendarGetAsAlternateRequest :return: AlternateView """ # verify the required parameter 'file_name' is set @@ -340,7 +347,8 @@ def get_as_file(self, request: CalendarGetAsFileRequest) -> str: """Converts calendar document from storage to specified format and returns as file. - :param request CalendarGetAsFileRequest object with parameters + :param request: CalendarGetAsFileRequest object with parameters + :type request: CalendarGetAsFileRequest :return: str """ # verify the required parameter 'file_name' is set @@ -404,7 +412,8 @@ def get_list(self, request: CalendarGetListRequest) -> CalendarStorageList: """Get iCalendar list from storage folder. - :param request CalendarGetListRequest object with parameters + :param request: CalendarGetListRequest object with parameters + :type request: CalendarGetListRequest :return: CalendarStorageList """ # verify the required parameter 'folder' is set @@ -464,7 +473,8 @@ def get_list(self, request: CalendarGetListRequest) -> CalendarStorageList: def save(self, request: CalendarSaveRequest): """Save iCalendar - :param request CalendarSaveRequest iCalendar create/update request + :param request: iCalendar create/update request + :type request: CalendarSaveRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/client_account_api.py b/sdk/AsposeEmailCloudSdk/api/client_account_api.py index 99270d7..7cc3174 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_account_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_account_api.py @@ -44,7 +44,8 @@ def get(self, request: ClientAccountGetRequest) -> EmailClientAccount: """Get email client account from storage. - :param request ClientAccountGetRequest object with parameters + :param request: ClientAccountGetRequest object with parameters + :type request: ClientAccountGetRequest :return: EmailClientAccount """ # verify the required parameter 'file_name' is set @@ -99,7 +100,8 @@ def get_multi(self, request: ClientAccountGetMultiRequest) -> EmailClientMultiAc """Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - :param request ClientAccountGetMultiRequest object with parameters + :param request: ClientAccountGetMultiRequest object with parameters + :type request: ClientAccountGetMultiRequest :return: EmailClientMultiAccount """ # verify the required parameter 'file_name' is set @@ -153,7 +155,8 @@ def get_multi(self, request: ClientAccountGetMultiRequest) -> EmailClientMultiAc def save(self, request: EmailClientAccountSaveRequest): """Create/update email client account file (*.account) with credentials - :param request EmailClientAccountSaveRequest Email account information + :param request: Email account information + :type request: EmailClientAccountSaveRequest :return: None """ # verify the required parameter 'request' is set @@ -181,7 +184,8 @@ def save(self, request: EmailClientAccountSaveRequest): def save_multi(self, request: EmailClientMultiAccountSaveRequest): """Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - :param request EmailClientMultiAccountSaveRequest Email accounts information. + :param request: Email accounts information. + :type request: EmailClientMultiAccountSaveRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/client_folder_api.py b/sdk/AsposeEmailCloudSdk/api/client_folder_api.py index 4c2b147..cb3d0c5 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_folder_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_folder_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def create(self, request: ClientFolderCreateRequest): """Create new folder in email account - :param request ClientFolderCreateRequest Create folder request + :param request: Create folder request + :type request: ClientFolderCreateRequest :return: None """ # verify the required parameter 'request' is set @@ -71,7 +72,8 @@ def create(self, request: ClientFolderCreateRequest): def delete(self, request: ClientFolderDeleteRequest): """Delete a folder in email account - :param request ClientFolderDeleteRequest Delete folder request + :param request: Delete folder request + :type request: ClientFolderDeleteRequest :return: None """ # verify the required parameter 'request' is set @@ -100,7 +102,8 @@ def get_list(self, request: ClientFolderGetListRequest) -> MailServerFolderList: """Get folders list in email account - :param request ClientFolderGetListRequest object with parameters + :param request: ClientFolderGetListRequest object with parameters + :type request: ClientFolderGetListRequest :return: MailServerFolderList """ # verify the required parameter 'account' is set diff --git a/sdk/AsposeEmailCloudSdk/api/client_message_api.py b/sdk/AsposeEmailCloudSdk/api/client_message_api.py index 6d81f04..8351d0c 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_message_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_message_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def append(self, request: ClientMessageAppendRequest) -> ValueTOfString: """Add email message to specified folder in email account. - :param request ClientMessageAppendRequest Append email request. + :param request: Append email request. + :type request: ClientMessageAppendRequest :return: ValueTOfString """ # verify the required parameter 'request' is set @@ -72,7 +73,8 @@ def append_file(self, request: ClientMessageAppendFileRequest) -> ValueTOfString """Add email message from file to specified folder in email account. - :param request ClientMessageAppendFileRequest object with parameters + :param request: ClientMessageAppendFileRequest object with parameters + :type request: ClientMessageAppendFileRequest :return: ValueTOfString """ # verify the required parameter 'account' is set @@ -149,7 +151,8 @@ def append_file(self, request: ClientMessageAppendFileRequest) -> ValueTOfString def delete(self, request: ClientMessageDeleteRequest): """Delete message. - :param request ClientMessageDeleteRequest Delete message request. + :param request: Delete message request. + :type request: ClientMessageDeleteRequest :return: None """ # verify the required parameter 'request' is set @@ -178,7 +181,8 @@ def fetch(self, request: ClientMessageFetchRequest) -> MailMessageBase: """Fetch message from email account - :param request ClientMessageFetchRequest object with parameters + :param request: ClientMessageFetchRequest object with parameters + :type request: ClientMessageFetchRequest :return: MailMessageBase """ # verify the required parameter 'message_id' is set @@ -260,7 +264,8 @@ def fetch_file(self, request: ClientMessageFetchFileRequest) -> str: """Fetch message as file from email account - :param request ClientMessageFetchFileRequest object with parameters + :param request: ClientMessageFetchFileRequest object with parameters + :type request: ClientMessageFetchFileRequest :return: str """ # verify the required parameter 'message_id' is set @@ -337,7 +342,8 @@ def list(self, request: ClientMessageListRequest) -> MailMessageBaseList: The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" - :param request ClientMessageListRequest object with parameters + :param request: ClientMessageListRequest object with parameters + :type request: ClientMessageListRequest :return: MailMessageBaseList """ # verify the required parameter 'folder' is set @@ -424,7 +430,8 @@ def list(self, request: ClientMessageListRequest) -> MailMessageBaseList: def move(self, request: ClientMessageMoveRequest): """Move message to another folder. - :param request ClientMessageMoveRequest Move message request. + :param request: Move message request. + :type request: ClientMessageMoveRequest :return: None """ # verify the required parameter 'request' is set @@ -452,7 +459,8 @@ def move(self, request: ClientMessageMoveRequest): def send(self, request: ClientMessageSendRequest): """Send an email specified by model in request. - :param request ClientMessageSendRequest Send email request. + :param request: Send email request. + :type request: ClientMessageSendRequest :return: None """ # verify the required parameter 'request' is set @@ -481,7 +489,8 @@ def send_file(self, request: ClientMessageSendFileRequest): """Send an email file. - :param request ClientMessageSendFileRequest object with parameters + :param request: ClientMessageSendFileRequest object with parameters + :type request: ClientMessageSendFileRequest :return: None """ # verify the required parameter 'account' is set @@ -546,7 +555,8 @@ def send_file(self, request: ClientMessageSendFileRequest): def set_is_read(self, request: ClientMessageSetIsReadRequest): """Mark message as read or unread. - :param request ClientMessageSetIsReadRequest Delete message request. + :param request: Delete message request. + :type request: ClientMessageSetIsReadRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/client_thread_api.py b/sdk/AsposeEmailCloudSdk/api/client_thread_api.py index 0db9704..493bb53 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_thread_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_thread_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def delete(self, request: ClientThreadDeleteRequest): """Delete thread by id. All messages from thread will also be deleted. - :param request ClientThreadDeleteRequest Delete email thread request. + :param request: Delete email thread request. + :type request: ClientThreadDeleteRequest :return: None """ # verify the required parameter 'request' is set @@ -72,7 +73,8 @@ def get_list(self, request: ClientThreadGetListRequest) -> EmailThreadList: """Get message threads from folder. All messages are partly fetched (without email body and some other fields). - :param request ClientThreadGetListRequest object with parameters + :param request: ClientThreadGetListRequest object with parameters + :type request: ClientThreadGetListRequest :return: EmailThreadList """ # verify the required parameter 'folder' is set @@ -148,7 +150,8 @@ def get_messages(self, request: ClientThreadGetMessagesRequest) -> EmailList: """Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. - :param request ClientThreadGetMessagesRequest object with parameters + :param request: ClientThreadGetMessagesRequest object with parameters + :type request: ClientThreadGetMessagesRequest :return: EmailList """ # verify the required parameter 'thread_id' is set @@ -217,7 +220,8 @@ def get_messages(self, request: ClientThreadGetMessagesRequest) -> EmailList: def move(self, request: ClientThreadMoveRequest): """Move thread to another folder. - :param request ClientThreadMoveRequest Move thread request. + :param request: Move thread request. + :type request: ClientThreadMoveRequest :return: None """ # verify the required parameter 'request' is set @@ -245,7 +249,8 @@ def move(self, request: ClientThreadMoveRequest): def set_is_read(self, request: ClientThreadSetIsReadRequest): """Mark all messages in thread as read or unread. - :param request ClientThreadSetIsReadRequest Email account specifier and IsRead flag. + :param request: Email account specifier and IsRead flag. + :type request: ClientThreadSetIsReadRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/contact_api.py b/sdk/AsposeEmailCloudSdk/api/contact_api.py index f4bdaa0..4ccbbe2 100644 --- a/sdk/AsposeEmailCloudSdk/api/contact_api.py +++ b/sdk/AsposeEmailCloudSdk/api/contact_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def as_file(self, request: ContactAsFileRequest) -> str: """Converts contact model to specified format and returns as file - :param request ContactAsFileRequest Contact model and format to convert + :param request: Contact model and format to convert + :type request: ContactAsFileRequest :return: str """ # verify the required parameter 'request' is set @@ -71,7 +72,8 @@ def as_file(self, request: ContactAsFileRequest) -> str: def as_mapi(self, contact_dto: ContactDto) -> MapiContactDto: """Converts ContactDto to MapiContactDto. - :param contact_dto ContactDto Contact model to convert + :param contact_dto: Contact model to convert + :type contact_dto: ContactDto :return: MapiContactDto """ # verify the required parameter 'contact_dto' is set @@ -100,7 +102,8 @@ def convert(self, request: ContactConvertRequest) -> str: """Converts contact document to specified format and returns as file - :param request ContactConvertRequest object with parameters + :param request: ContactConvertRequest object with parameters + :type request: ContactConvertRequest :return: str """ # verify the required parameter 'to_format' is set @@ -157,7 +160,8 @@ def from_file(self, request: ContactFromFileRequest) -> ContactDto: """Converts contact document to a model representation - :param request ContactFromFileRequest object with parameters + :param request: ContactFromFileRequest object with parameters + :type request: ContactFromFileRequest :return: ContactDto """ # verify the required parameter 'format' is set @@ -205,7 +209,8 @@ def get(self, request: ContactGetRequest) -> ContactDto: """Get contact document from storage. - :param request ContactGetRequest object with parameters + :param request: ContactGetRequest object with parameters + :type request: ContactGetRequest :return: ContactDto """ # verify the required parameter 'format' is set @@ -269,7 +274,8 @@ def get_as_file(self, request: ContactGetAsFileRequest) -> str: """Converts contact document from storage to specified format and returns as file - :param request ContactGetAsFileRequest object with parameters + :param request: ContactGetAsFileRequest object with parameters + :type request: ContactGetAsFileRequest :return: str """ # verify the required parameter 'file_name' is set @@ -342,7 +348,8 @@ def get_list(self, request: ContactGetListRequest) -> ContactStorageList: """Get contact list from storage folder. - :param request ContactGetListRequest object with parameters + :param request: ContactGetListRequest object with parameters + :type request: ContactGetListRequest :return: ContactStorageList """ # verify the required parameter 'format' is set @@ -408,7 +415,8 @@ def get_list(self, request: ContactGetListRequest) -> ContactStorageList: def save(self, request: ContactSaveRequest): """Save contact to storage. - :param request ContactSaveRequest Create/Update contact request. + :param request: Create/Update contact request. + :type request: ContactSaveRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py b/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py index fb9752a..21f36fd 100644 --- a/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py +++ b/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py @@ -44,7 +44,8 @@ def is_disposable(self, request: DisposableEmailIsDisposableRequest) -> ValueTOf """Check email address is disposable - :param request DisposableEmailIsDisposableRequest object with parameters + :param request: DisposableEmailIsDisposableRequest object with parameters + :type request: DisposableEmailIsDisposableRequest :return: ValueTOfBoolean """ # verify the required parameter 'address' is set diff --git a/sdk/AsposeEmailCloudSdk/api/email_api.py b/sdk/AsposeEmailCloudSdk/api/email_api.py index 15d2bd1..cf40e40 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def as_file(self, request: EmailAsFileRequest) -> str: """Converts Email model to specified format and returns as file. - :param request EmailAsFileRequest Email model and format to convert. + :param request: Email model and format to convert. + :type request: EmailAsFileRequest :return: str """ # verify the required parameter 'request' is set @@ -71,7 +72,8 @@ def as_file(self, request: EmailAsFileRequest) -> str: def as_mapi(self, email_dto: EmailDto) -> MapiMessageDto: """Converts EmailDto to MapiMessageDto. - :param email_dto EmailDto Email model to convert + :param email_dto: Email model to convert + :type email_dto: EmailDto :return: MapiMessageDto """ # verify the required parameter 'email_dto' is set @@ -100,7 +102,8 @@ def convert(self, request: EmailConvertRequest) -> str: """Converts email document to specified format and returns as file - :param request EmailConvertRequest object with parameters + :param request: EmailConvertRequest object with parameters + :type request: EmailConvertRequest :return: str """ # verify the required parameter 'format' is set @@ -148,7 +151,8 @@ def from_file(self, request: EmailFromFileRequest) -> EmailDto: """Converts email document to a model representation - :param request EmailFromFileRequest object with parameters + :param request: EmailFromFileRequest object with parameters + :type request: EmailFromFileRequest :return: EmailDto """ # verify the required parameter 'format' is set @@ -196,7 +200,8 @@ def get(self, request: EmailGetRequest) -> EmailDto: """Get email document from storage. - :param request EmailGetRequest object with parameters + :param request: EmailGetRequest object with parameters + :type request: EmailGetRequest :return: EmailDto """ # verify the required parameter 'format' is set @@ -260,7 +265,8 @@ def get_as_file(self, request: EmailGetAsFileRequest) -> str: """Converts email document from storage to specified format and returns as file - :param request EmailGetAsFileRequest object with parameters + :param request: EmailGetAsFileRequest object with parameters + :type request: EmailGetAsFileRequest :return: str """ # verify the required parameter 'file_name' is set @@ -324,7 +330,8 @@ def get_list(self, request: EmailGetListRequest) -> EmailStorageList: """Get email list from storage folder. - :param request EmailGetListRequest object with parameters + :param request: EmailGetListRequest object with parameters + :type request: EmailGetListRequest :return: EmailStorageList """ # verify the required parameter 'format' is set @@ -390,7 +397,8 @@ def get_list(self, request: EmailGetListRequest) -> EmailStorageList: def save(self, request: EmailSaveRequest): """Save email document to storage. - :param request EmailSaveRequest Email document create/update request. + :param request: Email document create/update request. + :type request: EmailSaveRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/email_cloud.py b/sdk/AsposeEmailCloudSdk/api/email_cloud.py index cabfd9a..fe9d97d 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_cloud.py +++ b/sdk/AsposeEmailCloudSdk/api/email_cloud.py @@ -40,10 +40,15 @@ def __init__(self, app_key=None, app_sid=None, base_url=None, Initializes a new instance of the EmailCloud class. :param app_key: The app key. + :type app_key: str :param app_sid: The app sid. + :type app_sid: str :param base_url: The base URL. + :type base_url: str :param api_version: API version. + :type api_version: str :param debug: If debug mode is enabled. False by default. + :type debug: bool """ configuration = Configuration(app_key=app_key, app_sid=app_sid, diff --git a/sdk/AsposeEmailCloudSdk/api/email_config_api.py b/sdk/AsposeEmailCloudSdk/api/email_config_api.py index 3339def..9e80380 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_config_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_config_api.py @@ -44,7 +44,8 @@ def discover(self, request: EmailConfigDiscoverRequest) -> EmailAccountConfigLis """Discover email accounts by email address. Does not validate discovered accounts. - :param request EmailConfigDiscoverRequest object with parameters + :param request: EmailConfigDiscoverRequest object with parameters + :type request: EmailConfigDiscoverRequest :return: EmailAccountConfigList """ # verify the required parameter 'address' is set @@ -92,7 +93,8 @@ def discover(self, request: EmailConfigDiscoverRequest) -> EmailAccountConfigLis def discover_oauth(self, request: DiscoverEmailConfigOauth) -> EmailAccountConfigList: """Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. - :param request DiscoverEmailConfigOauth Discover email configuration request. + :param request: Discover email configuration request. + :type request: DiscoverEmailConfigOauth :return: EmailAccountConfigList """ # verify the required parameter 'request' is set @@ -120,7 +122,8 @@ def discover_oauth(self, request: DiscoverEmailConfigOauth) -> EmailAccountConfi def discover_password(self, request: DiscoverEmailConfigPassword) -> EmailAccountConfigList: """Discover email accounts by email address. Validates discovered accounts using login and password. - :param request DiscoverEmailConfigPassword Discover email configuration request. + :param request: Discover email configuration request. + :type request: DiscoverEmailConfigPassword :return: EmailAccountConfigList """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/file_api.py b/sdk/AsposeEmailCloudSdk/api/file_api.py index 19cd684..62ff217 100644 --- a/sdk/AsposeEmailCloudSdk/api/file_api.py +++ b/sdk/AsposeEmailCloudSdk/api/file_api.py @@ -44,7 +44,8 @@ def copy_file(self, request: CopyFileRequest): """Copy file - :param request CopyFileRequest object with parameters + :param request: CopyFileRequest object with parameters + :type request: CopyFileRequest :return: None """ # verify the required parameter 'src_path' is set @@ -110,7 +111,8 @@ def delete_file(self, request: DeleteFileRequest): """Delete file - :param request DeleteFileRequest object with parameters + :param request: DeleteFileRequest object with parameters + :type request: DeleteFileRequest :return: None """ # verify the required parameter 'path' is set @@ -161,7 +163,8 @@ def download_file(self, request: DownloadFileRequest) -> str: """Download file - :param request DownloadFileRequest object with parameters + :param request: DownloadFileRequest object with parameters + :type request: DownloadFileRequest :return: str """ # verify the required parameter 'path' is set @@ -212,7 +215,8 @@ def move_file(self, request: MoveFileRequest): """Move file - :param request MoveFileRequest object with parameters + :param request: MoveFileRequest object with parameters + :type request: MoveFileRequest :return: None """ # verify the required parameter 'src_path' is set @@ -278,7 +282,8 @@ def upload_file(self, request: UploadFileRequest) -> FilesUploadResult: """Upload file - :param request UploadFileRequest object with parameters + :param request: UploadFileRequest object with parameters + :type request: UploadFileRequest :return: FilesUploadResult """ # verify the required parameter 'path' is set diff --git a/sdk/AsposeEmailCloudSdk/api/folder_api.py b/sdk/AsposeEmailCloudSdk/api/folder_api.py index c11f904..e4df896 100644 --- a/sdk/AsposeEmailCloudSdk/api/folder_api.py +++ b/sdk/AsposeEmailCloudSdk/api/folder_api.py @@ -44,7 +44,8 @@ def copy_folder(self, request: CopyFolderRequest): """Copy folder - :param request CopyFolderRequest object with parameters + :param request: CopyFolderRequest object with parameters + :type request: CopyFolderRequest :return: None """ # verify the required parameter 'src_path' is set @@ -104,7 +105,8 @@ def create_folder(self, request: CreateFolderRequest): """Create the folder - :param request CreateFolderRequest object with parameters + :param request: CreateFolderRequest object with parameters + :type request: CreateFolderRequest :return: None """ # verify the required parameter 'path' is set @@ -149,7 +151,8 @@ def delete_folder(self, request: DeleteFolderRequest): """Delete folder - :param request DeleteFolderRequest object with parameters + :param request: DeleteFolderRequest object with parameters + :type request: DeleteFolderRequest :return: None """ # verify the required parameter 'path' is set @@ -200,7 +203,8 @@ def get_files_list(self, request: GetFilesListRequest) -> FilesList: """Get all files and folders within a folder - :param request GetFilesListRequest object with parameters + :param request: GetFilesListRequest object with parameters + :type request: GetFilesListRequest :return: FilesList """ # verify the required parameter 'path' is set @@ -245,7 +249,8 @@ def move_folder(self, request: MoveFolderRequest): """Move folder - :param request MoveFolderRequest object with parameters + :param request: MoveFolderRequest object with parameters + :type request: MoveFolderRequest :return: None """ # verify the required parameter 'src_path' is set diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py index 277fb8c..8ca383b 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def as_calendar_dto(self, mapi_calendar_dto: MapiCalendarDto) -> CalendarDto: """Converts MAPI calendar model to CalendarDto model. - :param mapi_calendar_dto MapiCalendarDto MAPI calendar model to convert. + :param mapi_calendar_dto: MAPI calendar model to convert. + :type mapi_calendar_dto: MapiCalendarDto :return: CalendarDto """ # verify the required parameter 'mapi_calendar_dto' is set @@ -71,7 +72,8 @@ def as_calendar_dto(self, mapi_calendar_dto: MapiCalendarDto) -> CalendarDto: def as_file(self, request: MapiCalendarAsFileRequest) -> str: """Converts MAPI calendar model to specified format and returns as file. - :param request MapiCalendarAsFileRequest MAPI calendar model to convert. + :param request: MAPI calendar model to convert. + :type request: MapiCalendarAsFileRequest :return: str """ # verify the required parameter 'request' is set @@ -100,7 +102,8 @@ def from_file(self, request: MapiCalendarFromFileRequest) -> MapiCalendarDto: """Converts calendar file to a MAPI model representation. - :param request MapiCalendarFromFileRequest object with parameters + :param request: MapiCalendarFromFileRequest object with parameters + :type request: MapiCalendarFromFileRequest :return: MapiCalendarDto """ # verify the required parameter 'file' is set @@ -139,7 +142,8 @@ def get(self, request: MapiCalendarGetRequest) -> MapiCalendarDto: """Get MAPI calendar document. - :param request MapiCalendarGetRequest object with parameters + :param request: MapiCalendarGetRequest object with parameters + :type request: MapiCalendarGetRequest :return: MapiCalendarDto """ # verify the required parameter 'file_name' is set @@ -193,7 +197,8 @@ def get(self, request: MapiCalendarGetRequest) -> MapiCalendarDto: def save(self, request: MapiCalendarSaveRequest): """Save MAPI Calendar to storage. - :param request MapiCalendarSaveRequest Calendar create/update request. + :param request: Calendar create/update request. + :type request: MapiCalendarSaveRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py index a3d9ff9..1750a42 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def as_contact_dto(self, mapi_contact_dto: MapiContactDto) -> ContactDto: """Converts MAPI contact model to ContactDto model. - :param mapi_contact_dto MapiContactDto MAPI contact model to convert. + :param mapi_contact_dto: MAPI contact model to convert. + :type mapi_contact_dto: MapiContactDto :return: ContactDto """ # verify the required parameter 'mapi_contact_dto' is set @@ -71,7 +72,8 @@ def as_contact_dto(self, mapi_contact_dto: MapiContactDto) -> ContactDto: def as_file(self, request: MapiContactAsFileRequest) -> str: """Converts MAPI contact model to specified format and returns as file. - :param request MapiContactAsFileRequest MAPI contact model to convert. + :param request: MAPI contact model to convert. + :type request: MapiContactAsFileRequest :return: str """ # verify the required parameter 'request' is set @@ -100,7 +102,8 @@ def from_file(self, request: MapiContactFromFileRequest) -> MapiContactDto: """Converts contact file to a MAPI model representation. - :param request MapiContactFromFileRequest object with parameters + :param request: MapiContactFromFileRequest object with parameters + :type request: MapiContactFromFileRequest :return: MapiContactDto """ # verify the required parameter 'format' is set @@ -148,7 +151,8 @@ def get(self, request: MapiContactGetRequest) -> MapiContactDto: """Get MAPI contact document. - :param request MapiContactGetRequest object with parameters + :param request: MapiContactGetRequest object with parameters + :type request: MapiContactGetRequest :return: MapiContactDto """ # verify the required parameter 'format' is set @@ -211,7 +215,8 @@ def get(self, request: MapiContactGetRequest) -> MapiContactDto: def save(self, request: MapiContactSaveRequest): """Save MAPI Contact to storage. - :param request MapiContactSaveRequest Create/Update contact request. + :param request: Create/Update contact request. + :type request: MapiContactSaveRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py index bfb40d4..4a99899 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py @@ -43,7 +43,8 @@ def __init__(self, api_client): def as_email_dto(self, mapi_message: MapiMessageDto) -> EmailDto: """Converts MAPI message model to EmailDto model - :param mapi_message MapiMessageDto MAPI message model to convert + :param mapi_message: MAPI message model to convert + :type mapi_message: MapiMessageDto :return: EmailDto """ # verify the required parameter 'mapi_message' is set @@ -71,7 +72,8 @@ def as_email_dto(self, mapi_message: MapiMessageDto) -> EmailDto: def as_file(self, request: MapiMessageAsFileRequest) -> str: """Converts MAPI message model to specified format and returns as file. - :param request MapiMessageAsFileRequest MAPI message model to convert. + :param request: MAPI message model to convert. + :type request: MapiMessageAsFileRequest :return: str """ # verify the required parameter 'request' is set @@ -100,7 +102,8 @@ def from_file(self, request: MapiMessageFromFileRequest) -> MapiMessageDto: """Converts email file to a MAPI model representation - :param request MapiMessageFromFileRequest object with parameters + :param request: MapiMessageFromFileRequest object with parameters + :type request: MapiMessageFromFileRequest :return: MapiMessageDto """ # verify the required parameter 'format' is set @@ -148,7 +151,8 @@ def get(self, request: MapiMessageGetRequest) -> MapiMessageDto: """Get MAPI message document. - :param request MapiMessageGetRequest object with parameters + :param request: MapiMessageGetRequest object with parameters + :type request: MapiMessageGetRequest :return: MapiMessageDto """ # verify the required parameter 'format' is set @@ -211,7 +215,8 @@ def get(self, request: MapiMessageGetRequest) -> MapiMessageDto: def save(self, request: MapiMessageSaveRequest): """Save MAPI message to storage. - :param request MapiMessageSaveRequest Message create/update request. + :param request: Message create/update request. + :type request: MapiMessageSaveRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/storage_api.py b/sdk/AsposeEmailCloudSdk/api/storage_api.py index fa6b5c4..3795ba8 100644 --- a/sdk/AsposeEmailCloudSdk/api/storage_api.py +++ b/sdk/AsposeEmailCloudSdk/api/storage_api.py @@ -44,7 +44,8 @@ def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: """Get disc usage - :param request GetDiscUsageRequest object with parameters + :param request: GetDiscUsageRequest object with parameters + :type request: GetDiscUsageRequest :return: DiscUsage """ @@ -84,7 +85,8 @@ def get_file_versions(self, request: GetFileVersionsRequest) -> FileVersions: """Get file versions - :param request GetFileVersionsRequest object with parameters + :param request: GetFileVersionsRequest object with parameters + :type request: GetFileVersionsRequest :return: FileVersions """ # verify the required parameter 'path' is set @@ -129,7 +131,8 @@ def object_exists(self, request: ObjectExistsRequest) -> ObjectExist: """Check if file or folder exists - :param request ObjectExistsRequest object with parameters + :param request: ObjectExistsRequest object with parameters + :type request: ObjectExistsRequest :return: ObjectExist """ # verify the required parameter 'path' is set @@ -180,7 +183,8 @@ def exists(self, request: StorageExistsRequest) -> StorageExist: """Check if storage exists - :param request StorageExistsRequest object with parameters + :param request: StorageExistsRequest object with parameters + :type request: StorageExistsRequest :return: StorageExist """ # verify the required parameter 'storage_name' is set diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py index 3647650..312332d 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py @@ -53,7 +53,8 @@ class AiBcrImage(object): def __init__(self, is_single: bool = None): """ Image for recognition - :param is_single (bool) Determines that image contains single VCard or more. + :param is_single: Determines that image contains single VCard or more. + :type AiBcrImage: """ self._is_single = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py index 44ccd8f..df70c2f 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py @@ -58,8 +58,9 @@ class AiBcrImageStorageFile(AiBcrImage): def __init__(self, is_single: bool = None, file: StorageFileLocation = None): """ Image from storage for recognition - :param is_single (bool) Determines that image contains single VCard or more. - :param file (StorageFileLocation) Image location + :param is_single: Determines that image contains single VCard or more. + :param file: Image location + :type AiBcrImageStorageFile: """ super(AiBcrImageStorageFile, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py index 0a5ff80..e97e8f6 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py @@ -55,8 +55,9 @@ class AiBcrOptions(object): def __init__(self, languages: str = None, countries: str = None): """ Recognition options. - :param languages (str) Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. - :param countries (str) Comma-separated codes of countries. + :param languages: Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. + :param countries: Comma-separated codes of countries. + :type AiBcrOptions: """ self._languages = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py index 7c53a87..e446008 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py @@ -33,10 +33,14 @@ class AiBcrParseRequest(object): Request model for ai_bcr_parse operation. Initializes a new instance. - :param file (str) File to parse - :param countries (str) Comma-separated codes of countries. - :param languages (str) Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. - :param is_single (bool) Determines that image contains single VCard or more. + :param file: File to parse + :type file: str + :param countries: Comma-separated codes of countries. + :type countries: str + :param languages: Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. + :type languages: str + :param is_single: Determines that image contains single VCard or more. + :type is_single: bool """ def __init__(self, file: str, countries: str = None, languages: str = None, is_single: bool = None): @@ -44,10 +48,14 @@ def __init__(self, file: str, countries: str = None, languages: str = None, is_s Request model for ai_bcr_parse operation. Initializes a new instance. - :param file (str) File to parse - :param countries (str) Comma-separated codes of countries. - :param languages (str) Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. - :param is_single (bool) Determines that image contains single VCard or more. + :param file: File to parse + :type file: str + :param countries: Comma-separated codes of countries. + :type countries: str + :param languages: Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. + :type languages: str + :param is_single: Determines that image contains single VCard or more. + :type is_single: bool """ self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py index 3f449bf..e120306 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py @@ -61,9 +61,10 @@ class AiBcrParseStorageRequest(object): def __init__(self, out_folder: StorageFolderLocation = None, images: List[AiBcrImageStorageFile] = None, options: AiBcrOptions = None): """ Parse business card images from Storage request - :param out_folder (StorageFolderLocation) Parse output folder location on storage - :param images (List[AiBcrImageStorageFile]) Images to parse. - :param options (AiBcrOptions) Recognition options. + :param out_folder: Parse output folder location on storage + :param images: Images to parse. + :param options: Recognition options. + :type AiBcrParseStorageRequest: """ self._out_folder = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py index 244536e..162195c 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py @@ -33,12 +33,18 @@ class AiNameCompleteRequest(object): Request model for ai_name_complete operation. Initializes a new instance. - :param name (str) A name to complete. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to complete. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): @@ -46,12 +52,18 @@ def __init__(self, name: str, language: str = None, location: str = None, encodi Request model for ai_name_complete operation. Initializes a new instance. - :param name (str) A name to complete. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to complete. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ self.name = name diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_component.py b/sdk/AsposeEmailCloudSdk/models/ai_name_component.py index b7c91d0..955b89f 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_component.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_component.py @@ -59,10 +59,11 @@ class AiNameComponent(object): def __init__(self, value: str = None, category: str = None, score: float = None, position: int = None): """ Parsed name component - :param value (str) Component value - :param category (str) Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah - :param score (float) Score from 0.0 to 1.0 - :param position (int) Component position from 0 + :param value: Component value + :param category: Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah + :param score: Score from 0.0 to 1.0 + :param position: Component position from 0 + :type AiNameComponent: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py index decf934..4d6e50b 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py @@ -56,7 +56,8 @@ class AiNameComponentList(ListResponseOfAiNameComponent): def __init__(self, value: List[AiNameComponent] = None): """ List of name components - :param value (List[AiNameComponent]) + :param value: + :type AiNameComponentList: """ super(AiNameComponentList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py b/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py index 37e0e64..6f64f6e 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py @@ -61,11 +61,12 @@ class AiNameCulturalContext(object): def __init__(self, language: str = None, location: str = None, script: str = None, encoding: str = None, style: str = None): """ AiName cultural context - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France - :param script (str) A writing system code; starts with the ISO-15924 script name - :param encoding (str) A character encoding name - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France + :param script: A writing system code; starts with the ISO-15924 script name + :param encoding: A character encoding name + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type AiNameCulturalContext: """ self._language = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py index 4b83cab..0f3a5bf 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py @@ -33,12 +33,18 @@ class AiNameExpandRequest(object): Request model for ai_name_expand operation. Initializes a new instance. - :param name (str) A name to expand. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to expand. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): @@ -46,12 +52,18 @@ def __init__(self, name: str, language: str = None, location: str = None, encodi Request model for ai_name_expand operation. Initializes a new instance. - :param name (str) A name to expand. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to expand. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ self.name = name diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py index dcc2a73..fabb3f1 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py @@ -57,8 +57,9 @@ class AiNameExtracted(object): def __init__(self, name: List[AiNameExtractedComponent] = None, score: float = None): """ Extracted name - :param name (List[AiNameExtractedComponent]) Extracted name components - :param score (float) Extracted name score + :param name: Extracted name components + :param score: Extracted name score + :type AiNameExtracted: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py index ddd8071..bbbc701 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py @@ -55,8 +55,9 @@ class AiNameExtractedComponent(object): def __init__(self, category: str = None, value: str = None): """ Extracted name component - :param category (str) Extracted from email address name component category. Enum, available values: Unknown, GivenName, Surname, SomeName, NoName, Initial - :param value (str) Extracted value + :param category: Extracted from email address name component category. Enum, available values: Unknown, GivenName, Surname, SomeName, NoName, Initial + :param value: Extracted value + :type AiNameExtractedComponent: """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py index 7812fce..78ec303 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py @@ -56,7 +56,8 @@ class AiNameExtractedList(ListResponseOfAiNameExtracted): def __init__(self, value: List[AiNameExtracted] = None): """ Extracted name list. - :param value (List[AiNameExtracted]) + :param value: + :type AiNameExtractedList: """ super(AiNameExtractedList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py index 1bdfbd1..a03102d 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py @@ -33,13 +33,20 @@ class AiNameFormatRequest(object): Request model for ai_name_format operation. Initializes a new instance. - :param name (str) A name to format. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param format (str) Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to format. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param format: Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' + :type format: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, format: str = None, style: str = None): @@ -47,13 +54,20 @@ def __init__(self, name: str, language: str = None, location: str = None, encodi Request model for ai_name_format operation. Initializes a new instance. - :param name (str) A name to format. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param format (str) Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to format. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param format: Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' + :type format: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ self.name = name diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py index 7e9498e..993e7f7 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py @@ -55,8 +55,9 @@ class AiNameFormatted(object): def __init__(self, name: str = None, comments: str = None): """ Formatted name - :param name (str) Formatted name value - :param comments (str) Usually empty; can contain extra message describing some issue occurred during the formatting + :param name: Formatted name value + :param comments: Usually empty; can contain extra message describing some issue occurred during the formatting + :type AiNameFormatted: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py index 2ab245e..5c424a5 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py @@ -55,8 +55,9 @@ class AiNameGenderHypothesis(object): def __init__(self, gender: str = None, score: float = None): """ Name gender hypothesis - :param gender (str) Recognized name gender. Enum, available values: Male, Female, Unknown - :param score (float) Hypothesis score + :param gender: Recognized name gender. Enum, available values: Male, Female, Unknown + :param score: Hypothesis score + :type AiNameGenderHypothesis: """ self._gender = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py index 976ee90..3c8ec27 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py @@ -56,7 +56,8 @@ class AiNameGenderHypothesisList(ListResponseOfAiNameGenderHypothesis): def __init__(self, value: List[AiNameGenderHypothesis] = None): """ Hypotheses about person's gender - :param value (List[AiNameGenderHypothesis]) + :param value: + :type AiNameGenderHypothesisList: """ super(AiNameGenderHypothesisList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py index d462565..4dfffdc 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py @@ -33,12 +33,18 @@ class AiNameGenderizeRequest(object): Request model for ai_name_genderize operation. Initializes a new instance. - :param name (str) A name to genderize. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to genderize. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): @@ -46,12 +52,18 @@ def __init__(self, name: str, language: str = None, location: str = None, encodi Request model for ai_name_genderize operation. Initializes a new instance. - :param name (str) A name to genderize. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to genderize. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ self.name = name diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py index 026cce1..b102624 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py @@ -33,13 +33,20 @@ class AiNameMatchRequest(object): Request model for ai_name_match operation. Initializes a new instance. - :param name (str) A name to match. - :param other_name (str) Another name to match. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to match. + :type name: str + :param other_name: Another name to match. + :type other_name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ def __init__(self, name: str, other_name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): @@ -47,13 +54,20 @@ def __init__(self, name: str, other_name: str, language: str = None, location: s Request model for ai_name_match operation. Initializes a new instance. - :param name (str) A name to match. - :param other_name (str) Another name to match. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to match. + :type name: str + :param other_name: Another name to match. + :type other_name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ self.name = name diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py b/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py index 0409c72..b40628d 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py @@ -57,8 +57,9 @@ class AiNameMatchResult(object): def __init__(self, similarity: float = None, mismatches: List[AiNameMismatch] = None): """ Two names match result - :param similarity (float) Similarity score - :param mismatches (List[AiNameMismatch]) Detailed description of mismatches + :param similarity: Similarity score + :param mismatches: Detailed description of mismatches + :type AiNameMatchResult: """ self._similarity = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py b/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py index 0bc0922..ad9d6d5 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py @@ -57,9 +57,10 @@ class AiNameMismatch(object): def __init__(self, category: str = None, similarity: float = None, explanation: str = None): """ Names mismatch detailed description - :param category (str) Mismatch type. Enum, available values: Unknown, FirstName, MiddleName, MiddleLastName, MiddleNickname, Gender, Context - :param similarity (float) Similarity score - :param explanation (str) Explanation or mismatch subtype + :param category: Mismatch type. Enum, available values: Unknown, FirstName, MiddleName, MiddleLastName, MiddleNickname, Gender, Context + :param similarity: Similarity score + :param explanation: Explanation or mismatch subtype + :type AiNameMismatch: """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py index b92b103..d0d02c8 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py @@ -33,12 +33,18 @@ class AiNameParseEmailAddressRequest(object): Request model for ai_name_parse_email_address operation. Initializes a new instance. - :param email_address (str) Email address to parse. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param email_address: Email address to parse. + :type email_address: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ def __init__(self, email_address: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): @@ -46,12 +52,18 @@ def __init__(self, email_address: str, language: str = None, location: str = Non Request model for ai_name_parse_email_address operation. Initializes a new instance. - :param email_address (str) Email address to parse. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param email_address: Email address to parse. + :type email_address: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ self.email_address = email_address diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py index 932cd12..9f4a5fd 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py @@ -33,12 +33,18 @@ class AiNameParseRequest(object): Request model for ai_name_parse operation. Initializes a new instance. - :param name (str) A name to parse. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to parse. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ def __init__(self, name: str, language: str = None, location: str = None, encoding: str = None, script: str = None, style: str = None): @@ -46,12 +52,18 @@ def __init__(self, name: str, language: str = None, location: str = None, encodi Request model for ai_name_parse operation. Initializes a new instance. - :param name (str) A name to parse. - :param language (str) An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). - :param location (str) A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. - :param encoding (str) A character encoding name. - :param script (str) A writing system code; starts with the ISO-15924 script name. - :param style (str) Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :param name: A name to parse. + :type name: str + :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). + :type language: str + :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. + :type location: str + :param encoding: A character encoding name. + :type encoding: str + :param script: A writing system code; starts with the ISO-15924 script name. + :type script: str + :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic + :type style: str """ self.name = name diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py index b8d903d..4858817 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py @@ -63,10 +63,11 @@ class AiNameParsedMatchRequest(AiNameParsedRequest): def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = None, parsed_name: List[AiNameComponent] = None, other_parsed_name: List[AiNameComponent] = None): """ Two parsed names to match request - :param cultural_context (AiNameCulturalContext) AiName parser cultural context - :param format (str) Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' - :param parsed_name (List[AiNameComponent]) Parsed name - :param other_parsed_name (List[AiNameComponent]) Other parsed name to match + :param cultural_context: AiName parser cultural context + :param format: Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' + :param parsed_name: Parsed name + :param other_parsed_name: Other parsed name to match + :type AiNameParsedMatchRequest: """ super(AiNameParsedMatchRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py index 5e002af..4ac8b55 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py @@ -60,9 +60,10 @@ class AiNameParsedRequest(object): def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = None, parsed_name: List[AiNameComponent] = None): """ Parsed name request model - :param cultural_context (AiNameCulturalContext) AiName parser cultural context - :param format (str) Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' - :param parsed_name (List[AiNameComponent]) Parsed name + :param cultural_context: AiName parser cultural context + :param format: Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' + :param parsed_name: Parsed name + :type AiNameParsedRequest: """ self._cultural_context = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py index bca8bb1..7aa9500 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py @@ -55,8 +55,9 @@ class AiNameWeighted(object): def __init__(self, name: str = None, score: float = None): """ Name with score - :param name (str) Name - :param score (float) Score of name + :param name: Name + :param score: Score of name + :type AiNameWeighted: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py index 1f53364..7b9faeb 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py @@ -57,8 +57,9 @@ class AiNameWeightedVariants(object): def __init__(self, names: List[AiNameWeighted] = None, comments: str = None): """ Name variants - :param names (List[AiNameWeighted]) List of name variations - :param comments (str) Usually empty; can contain extra message describing some issue occurred during processing + :param names: List of name variations + :param comments: Usually empty; can contain extra message describing some issue occurred during processing + :type AiNameWeightedVariants: """ self._names = None diff --git a/sdk/AsposeEmailCloudSdk/models/alternate_view.py b/sdk/AsposeEmailCloudSdk/models/alternate_view.py index bb593fa..841790f 100644 --- a/sdk/AsposeEmailCloudSdk/models/alternate_view.py +++ b/sdk/AsposeEmailCloudSdk/models/alternate_view.py @@ -67,12 +67,13 @@ class AlternateView(AttachmentBase): def __init__(self, base64_data: str = None, content_id: str = None, content_type: ContentType = None, headers: Dict[str, str] = None, base_uri: str = None, linked_resources: List[LinkedResource] = None): """ Represents the format to view a message. - :param base64_data (str) Attachment file content as Base64 string. - :param content_id (str) Attachment content id - :param content_type (ContentType) Content type - :param headers (Dict[str, str]) Attachment headers. - :param base_uri (str) Base URI. - :param linked_resources (List[LinkedResource]) Embedded resources referred to by this alternate view. + :param base64_data: Attachment file content as Base64 string. + :param content_id: Attachment content id + :param content_type: Content type + :param headers: Attachment headers. + :param base_uri: Base URI. + :param linked_resources: Embedded resources referred to by this alternate view. + :type AlternateView: """ super(AlternateView, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/associated_person.py b/sdk/AsposeEmailCloudSdk/models/associated_person.py index 062d364..358e10c 100644 --- a/sdk/AsposeEmailCloudSdk/models/associated_person.py +++ b/sdk/AsposeEmailCloudSdk/models/associated_person.py @@ -59,9 +59,10 @@ class AssociatedPerson(object): def __init__(self, name: str = None, category: EnumWithCustomOfAssociatedPersonCategory = None, preferred: bool = None): """ Describes associated person. - :param name (str) Associated person's name. - :param category (EnumWithCustomOfAssociatedPersonCategory) Associated person's category. - :param preferred (bool) Defines whether associated person is preferred. + :param name: Associated person's name. + :param category: Associated person's category. + :param preferred: Defines whether associated person is preferred. + :type AssociatedPerson: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/attachment.py b/sdk/AsposeEmailCloudSdk/models/attachment.py index 0cec7e9..23ef19e 100644 --- a/sdk/AsposeEmailCloudSdk/models/attachment.py +++ b/sdk/AsposeEmailCloudSdk/models/attachment.py @@ -72,15 +72,16 @@ class Attachment(AttachmentBase): def __init__(self, base64_data: str = None, content_id: str = None, content_type: ContentType = None, headers: Dict[str, str] = None, content_disposition: str = None, is_embedded_message: bool = None, name: str = None, name_encoding: str = None, preferred_text_encoding: str = None): """ Document attachment. - :param base64_data (str) Attachment file content as Base64 string. - :param content_id (str) Attachment content id - :param content_type (ContentType) Content type - :param headers (Dict[str, str]) Attachment headers. - :param content_disposition (str) Content-Disposition header. Read only. - :param is_embedded_message (bool) Determines if attachment is an embedded message. Read only. - :param name (str) Attachment name. - :param name_encoding (str) Encoding of attachment name. - :param preferred_text_encoding (str) Preferred text encoding. + :param base64_data: Attachment file content as Base64 string. + :param content_id: Attachment content id + :param content_type: Content type + :param headers: Attachment headers. + :param content_disposition: Content-Disposition header. Read only. + :param is_embedded_message: Determines if attachment is an embedded message. Read only. + :param name: Attachment name. + :param name_encoding: Encoding of attachment name. + :param preferred_text_encoding: Preferred text encoding. + :type Attachment: """ super(Attachment, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/attachment_base.py b/sdk/AsposeEmailCloudSdk/models/attachment_base.py index bcdd4b0..e874a48 100644 --- a/sdk/AsposeEmailCloudSdk/models/attachment_base.py +++ b/sdk/AsposeEmailCloudSdk/models/attachment_base.py @@ -61,10 +61,11 @@ class AttachmentBase(object): def __init__(self, base64_data: str = None, content_id: str = None, content_type: ContentType = None, headers: Dict[str, str] = None): """ AttachmentBase class - :param base64_data (str) Attachment file content as Base64 string. - :param content_id (str) Attachment content id - :param content_type (ContentType) Content type - :param headers (Dict[str, str]) Attachment headers. + :param base64_data: Attachment file content as Base64 string. + :param content_id: Attachment content id + :param content_type: Content type + :param headers: Attachment headers. + :type AttachmentBase: """ self._base64_data = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py index 995bf6e..5436163 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py @@ -59,9 +59,10 @@ class CalendarAsAlternateRequest(object): def __init__(self, value: CalendarDto = None, action: str = None, sequence_id: str = None): """ Convert iCalendar to AlternateView request - :param value (CalendarDto) iCalendar document model - :param action (str) iCalendar actions. Enum, available values: Create, Update, Cancel - :param sequence_id (str) iCalendar sequence id + :param value: iCalendar document model + :param action: iCalendar actions. Enum, available values: Create, Update, Cancel + :param sequence_id: iCalendar sequence id + :type CalendarAsAlternateRequest: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py index b4dfe20..d86e723 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py @@ -57,8 +57,9 @@ class CalendarAsFileRequest(object): def __init__(self, format: str = None, value: CalendarDto = None): """ iCalendar model to file request. - :param format (str) Calendar file format Enum, available values: Ics, Msg - :param value (CalendarDto) iCalendar model + :param format: Calendar file format Enum, available values: Ics, Msg + :param value: iCalendar model + :type CalendarAsFileRequest: """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py index a0d6d94..1fc575e 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py @@ -33,8 +33,10 @@ class CalendarConvertRequest(object): Request model for calendar_convert operation. Initializes a new instance. - :param format (str) File format. Enum, available values: Ics, Msg - :param file (str) File to convert + :param format: File format. Enum, available values: Ics, Msg + :type format: str + :param file: File to convert + :type file: str """ def __init__(self, format: str, file: str): @@ -42,8 +44,10 @@ def __init__(self, format: str, file: str): Request model for calendar_convert operation. Initializes a new instance. - :param format (str) File format. Enum, available values: Ics, Msg - :param file (str) File to convert + :param format: File format. Enum, available values: Ics, Msg + :type format: str + :param file: File to convert + :type file: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/calendar_dto.py index abc10bf..b299381 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_dto.py @@ -100,28 +100,29 @@ class CalendarDto(object): def __init__(self, attachments: List[Attachment] = None, attendees: List[MailAddress] = None, description: str = None, end_date: datetime = None, end_time_zone: str = None, flags: List[str] = None, is_description_html: bool = None, location: str = None, method: str = None, microsoft_busy_status: str = None, microsoft_intended_status: str = None, optional_attendees: List[MailAddress] = None, organizer: MailAddress = None, recurrence_string: str = None, recurrence: RecurrencePatternDto = None, reminders: List[CalendarReminder] = None, sequence_id: str = None, start_date: datetime = None, start_time_zone: str = None, status: str = None, summary: str = None, transparency: str = None): """ iCalendar document representation. - :param attachments (List[Attachment]) Document attachments. - :param attendees (List[MailAddress]) Event attendees. - :param description (str) Description. - :param end_date (datetime) End date. - :param end_time_zone (str) End time zone. - :param flags (List[str]) Appointment flags. - :param is_description_html (bool) Indicates if description is in HTML format. - :param location (str) Location. - :param method (str) Defines the iCalendar object method type associated with the calendar document. Enum, available values: None, Publish, Request, Reply, Add, Cancel, Refresh, Counter, DeclineCounter - :param microsoft_busy_status (str) Specifies the BUSY status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof - :param microsoft_intended_status (str) Specifies the INTENDED status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof - :param optional_attendees (List[MailAddress]) Optional attendees. - :param organizer (MailAddress) Event organizer. - :param recurrence_string (str) Deprecated, use 'Recurrence' property. String representation of recurrence pattern (See iCalendar RFC, \"Recurrence rule\" section). For example: For daily recurrence: \"FREQ=DAILY;COUNT=10;WKST=MO\" For monthly recurrence: \"BYSETPOS=1;BYDAY=MO,TU,WE,TH,FR;FREQ=MONTHLY;INTERVAL=10;WKST=MO\" For yearly recurrence: \"BYMONTHDAY=30;BYMONTH=1;FREQ=YEARLY;WKST=MO\" - :param recurrence (RecurrencePatternDto) Recurrence pattern - :param reminders (List[CalendarReminder]) Reminders. - :param sequence_id (str) The sequence id. Read only. - :param start_date (datetime) Start date. - :param start_time_zone (str) Start time zone. - :param status (str) Defines the overall status or confirmation for the calendar document. Enum, available values: NotDefined, Cancelled, Tentative, Confirmed - :param summary (str) Summary. - :param transparency (str) Specifies whether or not this appointment is intended to be visible in availability searches. Enum, available values: NotDefined, Transparent, Opaque + :param attachments: Document attachments. + :param attendees: Event attendees. + :param description: Description. + :param end_date: End date. + :param end_time_zone: End time zone. + :param flags: Appointment flags. + :param is_description_html: Indicates if description is in HTML format. + :param location: Location. + :param method: Defines the iCalendar object method type associated with the calendar document. Enum, available values: None, Publish, Request, Reply, Add, Cancel, Refresh, Counter, DeclineCounter + :param microsoft_busy_status: Specifies the BUSY status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof + :param microsoft_intended_status: Specifies the INTENDED status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof + :param optional_attendees: Optional attendees. + :param organizer: Event organizer. + :param recurrence_string: Deprecated, use 'Recurrence' property. String representation of recurrence pattern (See iCalendar RFC, \"Recurrence rule\" section). For example: For daily recurrence: \"FREQ=DAILY;COUNT=10;WKST=MO\" For monthly recurrence: \"BYSETPOS=1;BYDAY=MO,TU,WE,TH,FR;FREQ=MONTHLY;INTERVAL=10;WKST=MO\" For yearly recurrence: \"BYMONTHDAY=30;BYMONTH=1;FREQ=YEARLY;WKST=MO\" + :param recurrence: Recurrence pattern + :param reminders: Reminders. + :param sequence_id: The sequence id. Read only. + :param start_date: Start date. + :param start_time_zone: Start time zone. + :param status: Defines the overall status or confirmation for the calendar document. Enum, available values: NotDefined, Cancelled, Tentative, Confirmed + :param summary: Summary. + :param transparency: Specifies whether or not this appointment is intended to be visible in availability searches. Enum, available values: NotDefined, Transparent, Opaque + :type CalendarDto: """ self._attachments = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py index 54880a8..a253892 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py @@ -33,7 +33,8 @@ class CalendarFromFileRequest(object): Request model for calendar_from_file operation. Initializes a new instance. - :param file (str) File to convert + :param file: File to convert + :type file: str """ def __init__(self, file: str): @@ -41,7 +42,8 @@ def __init__(self, file: str): Request model for calendar_from_file operation. Initializes a new instance. - :param file (str) File to convert + :param file: File to convert + :type file: str """ self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py index f153fae..bbfc8cf 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py @@ -33,11 +33,16 @@ class CalendarGetAsAlternateRequest(object): Request model for calendar_get_as_alternate operation. Initializes a new instance. - :param file_name (str) iCalendar file name in storage - :param calendar_action (str) iCalendar method type Enum, available values: Create, Update, Cancel - :param sequence_id (str) The sequence id - :param folder (str) Path to folder in storage - :param storage (str) Storage name + :param file_name: iCalendar file name in storage + :type file_name: str + :param calendar_action: iCalendar method type Enum, available values: Create, Update, Cancel + :type calendar_action: str + :param sequence_id: The sequence id + :type sequence_id: str + :param folder: Path to folder in storage + :type folder: str + :param storage: Storage name + :type storage: str """ def __init__(self, file_name: str, calendar_action: str, sequence_id: str = None, folder: str = None, storage: str = None): @@ -45,11 +50,16 @@ def __init__(self, file_name: str, calendar_action: str, sequence_id: str = None Request model for calendar_get_as_alternate operation. Initializes a new instance. - :param file_name (str) iCalendar file name in storage - :param calendar_action (str) iCalendar method type Enum, available values: Create, Update, Cancel - :param sequence_id (str) The sequence id - :param folder (str) Path to folder in storage - :param storage (str) Storage name + :param file_name: iCalendar file name in storage + :type file_name: str + :param calendar_action: iCalendar method type Enum, available values: Create, Update, Cancel + :type calendar_action: str + :param sequence_id: The sequence id + :type sequence_id: str + :param folder: Path to folder in storage + :type folder: str + :param storage: Storage name + :type storage: str """ self.file_name = file_name diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py index ae48bc3..7c02b94 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py @@ -33,10 +33,14 @@ class CalendarGetAsFileRequest(object): Request model for calendar_get_as_file operation. Initializes a new instance. - :param file_name (str) Calendar document file name. - :param format (str) File format. Enum, available values: Ics, Msg - :param storage (str) Storage name. - :param folder (str) Path to folder in storage. + :param file_name: Calendar document file name. + :type file_name: str + :param format: File format. Enum, available values: Ics, Msg + :type format: str + :param storage: Storage name. + :type storage: str + :param folder: Path to folder in storage. + :type folder: str """ def __init__(self, file_name: str, format: str, storage: str = None, folder: str = None): @@ -44,10 +48,14 @@ def __init__(self, file_name: str, format: str, storage: str = None, folder: str Request model for calendar_get_as_file operation. Initializes a new instance. - :param file_name (str) Calendar document file name. - :param format (str) File format. Enum, available values: Ics, Msg - :param storage (str) Storage name. - :param folder (str) Path to folder in storage. + :param file_name: Calendar document file name. + :type file_name: str + :param format: File format. Enum, available values: Ics, Msg + :type format: str + :param storage: Storage name. + :type storage: str + :param folder: Path to folder in storage. + :type folder: str """ self.file_name = file_name diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py index 5cf9abd..20751aa 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py @@ -33,10 +33,14 @@ class CalendarGetListRequest(object): Request model for calendar_get_list operation. Initializes a new instance. - :param folder (str) Path to folder in storage. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. - :param storage (str) Storage name. + :param folder: Path to folder in storage. + :type folder: str + :param items_per_page: Count of items on page. + :type items_per_page: int + :param page_number: Page number. + :type page_number: int + :param storage: Storage name. + :type storage: str """ def __init__(self, folder: str, items_per_page: int = None, page_number: int = None, storage: str = None): @@ -44,10 +48,14 @@ def __init__(self, folder: str, items_per_page: int = None, page_number: int = N Request model for calendar_get_list operation. Initializes a new instance. - :param folder (str) Path to folder in storage. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. - :param storage (str) Storage name. + :param folder: Path to folder in storage. + :type folder: str + :param items_per_page: Count of items on page. + :type items_per_page: int + :param page_number: Page number. + :type page_number: int + :param storage: Storage name. + :type storage: str """ self.folder = folder diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py index 59df7bb..200a4a6 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py @@ -33,9 +33,12 @@ class CalendarGetRequest(object): Request model for calendar_get operation. Initializes a new instance. - :param file_name (str) iCalendar file name in storage. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param file_name: iCalendar file name in storage. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ def __init__(self, file_name: str, folder: str = None, storage: str = None): @@ -43,9 +46,12 @@ def __init__(self, file_name: str, folder: str = None, storage: str = None): Request model for calendar_get operation. Initializes a new instance. - :param file_name (str) iCalendar file name in storage. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param file_name: iCalendar file name in storage. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ self.file_name = file_name diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py b/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py index 777c170..0adc6dc 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py @@ -70,14 +70,15 @@ class CalendarReminder(object): def __init__(self, action: str = None, attachments: List[str] = None, attendees: List[ReminderAttendee] = None, description: str = None, duration: int = None, repeat: int = None, summary: str = None, trigger: ReminderTrigger = None): """ Provides a grouping of component properties that define an alarm. - :param action (str) Defines the action to be invoked when an alarm is triggered. Enum, available values: Audio, Display, Email, Procedure, None - :param attachments (List[str]) Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment content - :param attendees (List[ReminderAttendee]) Contains collection of ReminderAttendee objects. - :param description (str) Provides a more complete description of the alarm. - :param duration (int) Specifies the delay period in ticks, after which the alarm will repeat. - :param repeat (int) Defines the number of time the alarm should be repeated, after the initial trigger. - :param summary (str) Defines a short summary or subject for the alarm. - :param trigger (ReminderTrigger) Specifies when an alarm will trigger. + :param action: Defines the action to be invoked when an alarm is triggered. Enum, available values: Audio, Display, Email, Procedure, None + :param attachments: Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment content + :param attendees: Contains collection of ReminderAttendee objects. + :param description: Provides a more complete description of the alarm. + :param duration: Specifies the delay period in ticks, after which the alarm will repeat. + :param repeat: Defines the number of time the alarm should be repeated, after the initial trigger. + :param summary: Defines a short summary or subject for the alarm. + :param trigger: Specifies when an alarm will trigger. + :type CalendarReminder: """ self._action = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py index 28383f3..4e97d78 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py @@ -61,9 +61,10 @@ class CalendarSaveRequest(StorageModelOfCalendarDto): def __init__(self, storage_file: StorageFileLocation = None, value: CalendarDto = None, format: str = None): """ Save iCalendar to storage request. - :param storage_file (StorageFileLocation) - :param value (CalendarDto) - :param format (str) Calendar file format Enum, available values: Ics, Msg + :param storage_file: + :param value: + :param format: Calendar file format Enum, available values: Ics, Msg + :type CalendarSaveRequest: """ super(CalendarSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py b/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py index 0a4a256..a1f4342 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py @@ -56,7 +56,8 @@ class CalendarStorageList(ListResponseOfStorageModelOfCalendarDto): def __init__(self, value: List[StorageModelOfCalendarDto] = None): """ iCalendar models list with corresponding storage locations. - :param value (List[StorageModelOfCalendarDto]) + :param value: + :type CalendarStorageList: """ super(CalendarStorageList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py index 2e57e46..d58b692 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py @@ -55,7 +55,8 @@ class ClientAccountBaseRequest(object): def __init__(self, account_location: StorageFileLocation = None): """ Base request for Email client. Stores information about email account location. - :param account_location (StorageFileLocation) Email client account configuration location on storage. + :param account_location: Email client account configuration location on storage. + :type ClientAccountBaseRequest: """ self._account_location = None diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py index 9d700b0..aa56862 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py @@ -33,9 +33,12 @@ class ClientAccountGetMultiRequest(object): Request model for client_account_get_multi operation. Initializes a new instance. - :param file_name (str) File name on storage - :param folder (str) Folder on storage - :param storage (str) Storage name + :param file_name: File name on storage + :type file_name: str + :param folder: Folder on storage + :type folder: str + :param storage: Storage name + :type storage: str """ def __init__(self, file_name: str, folder: str = None, storage: str = None): @@ -43,9 +46,12 @@ def __init__(self, file_name: str, folder: str = None, storage: str = None): Request model for client_account_get_multi operation. Initializes a new instance. - :param file_name (str) File name on storage - :param folder (str) Folder on storage - :param storage (str) Storage name + :param file_name: File name on storage + :type file_name: str + :param folder: Folder on storage + :type folder: str + :param storage: Storage name + :type storage: str """ self.file_name = file_name diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py index dd0dea8..6b6fc38 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py @@ -33,9 +33,12 @@ class ClientAccountGetRequest(object): Request model for client_account_get operation. Initializes a new instance. - :param file_name (str) File name on storage. - :param folder (str) Folder on storage. - :param storage (str) Storage name. + :param file_name: File name on storage. + :type file_name: str + :param folder: Folder on storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ def __init__(self, file_name: str, folder: str = None, storage: str = None): @@ -43,9 +46,12 @@ def __init__(self, file_name: str, folder: str = None, storage: str = None): Request model for client_account_get operation. Initializes a new instance. - :param file_name (str) File name on storage. - :param folder (str) Folder on storage. - :param storage (str) Storage name. + :param file_name: File name on storage. + :type file_name: str + :param folder: Folder on storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ self.file_name = file_name diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py index e745421..30a062e 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py @@ -60,9 +60,10 @@ class ClientFolderCreateRequest(ClientAccountBaseRequest): def __init__(self, account_location: StorageFileLocation = None, parent_folder: str = None, folder_name: str = None): """ Email Client create folder request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param parent_folder (str) Path to parent folder. - :param folder_name (str) Folder name. + :param account_location: Email client account configuration location on storage. + :param parent_folder: Path to parent folder. + :param folder_name: Folder name. + :type ClientFolderCreateRequest: """ super(ClientFolderCreateRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py index 3762b86..8f92461 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py @@ -58,8 +58,9 @@ class ClientFolderDeleteRequest(ClientAccountBaseRequest): def __init__(self, account_location: StorageFileLocation = None, folder: str = None): """ Email client delete folder request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param folder (str) Path to folder to delete. + :param account_location: Email client account configuration location on storage. + :param folder: Path to folder to delete. + :type ClientFolderDeleteRequest: """ super(ClientFolderDeleteRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py index 9e6591c..a325ac6 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py @@ -33,10 +33,14 @@ class ClientFolderGetListRequest(object): Request model for client_folder_get_list operation. Initializes a new instance. - :param account (str) Email account - :param storage (str) Storage name where account file located - :param account_storage_folder (str) Folder in storage where account file located - :param parent_folder (str) Folder in which subfolders should be listed + :param account: Email account + :type account: str + :param storage: Storage name where account file located + :type storage: str + :param account_storage_folder: Folder in storage where account file located + :type account_storage_folder: str + :param parent_folder: Folder in which subfolders should be listed + :type parent_folder: str """ def __init__(self, account: str, storage: str = None, account_storage_folder: str = None, parent_folder: str = None): @@ -44,10 +48,14 @@ def __init__(self, account: str, storage: str = None, account_storage_folder: st Request model for client_folder_get_list operation. Initializes a new instance. - :param account (str) Email account - :param storage (str) Storage name where account file located - :param account_storage_folder (str) Folder in storage where account file located - :param parent_folder (str) Folder in which subfolders should be listed + :param account: Email account + :type account: str + :param storage: Storage name where account file located + :type storage: str + :param account_storage_folder: Folder in storage where account file located + :type account_storage_folder: str + :param parent_folder: Folder in which subfolders should be listed + :type parent_folder: str """ self.account = account diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py index d95707a..b31b567 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py @@ -33,13 +33,20 @@ class ClientMessageAppendFileRequest(object): Request model for client_message_append_file operation. Initializes a new instance. - :param account (str) Email account. - :param file (str) Message file to append. - :param storage (str) Storage name where account file located. - :param account_storage_folder (str) Folder in storage where account file located. - :param format (str) Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param folder (str) Path to folder on email server to append message to. - :param mark_as_sent (bool) Determines that appended message should be market as sent or not. + :param account: Email account. + :type account: str + :param file: Message file to append. + :type file: str + :param storage: Storage name where account file located. + :type storage: str + :param account_storage_folder: Folder in storage where account file located. + :type account_storage_folder: str + :param format: Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param folder: Path to folder on email server to append message to. + :type folder: str + :param mark_as_sent: Determines that appended message should be market as sent or not. + :type mark_as_sent: bool """ def __init__(self, account: str, file: str, storage: str = None, account_storage_folder: str = None, format: str = None, folder: str = None, mark_as_sent: bool = None): @@ -47,13 +54,20 @@ def __init__(self, account: str, file: str, storage: str = None, account_storage Request model for client_message_append_file operation. Initializes a new instance. - :param account (str) Email account. - :param file (str) Message file to append. - :param storage (str) Storage name where account file located. - :param account_storage_folder (str) Folder in storage where account file located. - :param format (str) Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param folder (str) Path to folder on email server to append message to. - :param mark_as_sent (bool) Determines that appended message should be market as sent or not. + :param account: Email account. + :type account: str + :param file: Message file to append. + :type file: str + :param storage: Storage name where account file located. + :type storage: str + :param account_storage_folder: Folder in storage where account file located. + :type account_storage_folder: str + :param format: Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param folder: Path to folder on email server to append message to. + :type folder: str + :param mark_as_sent: Determines that appended message should be market as sent or not. + :type mark_as_sent: bool """ self.account = account diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py index 992f3ed..4867bd6 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py @@ -63,10 +63,11 @@ class ClientMessageAppendRequest(ClientAccountBaseRequest): def __init__(self, account_location: StorageFileLocation = None, folder: str = None, message: MailMessageBase = None, mark_as_sent: bool = None): """ Email client append message request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param folder (str) Path to folder on email server to append message to. - :param message (MailMessageBase) Message to append. - :param mark_as_sent (bool) Determines that appended message should be market as sent or not. + :param account_location: Email client account configuration location on storage. + :param folder: Path to folder on email server to append message to. + :param message: Message to append. + :param mark_as_sent: Determines that appended message should be market as sent or not. + :type ClientMessageAppendRequest: """ super(ClientMessageAppendRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py index 829ba50..01d199b 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py @@ -58,8 +58,9 @@ class ClientMessageBaseRequest(ClientAccountBaseRequest): def __init__(self, account_location: StorageFileLocation = None, message_id: str = None): """ Email client message request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param message_id (str) Message identifier. + :param account_location: Email client account configuration location on storage. + :param message_id: Message identifier. + :type ClientMessageBaseRequest: """ super(ClientMessageBaseRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py index 5a70272..a9bb0e5 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py @@ -60,9 +60,10 @@ class ClientMessageDeleteRequest(ClientMessageBaseRequest): def __init__(self, account_location: StorageFileLocation = None, message_id: str = None, folder: str = None): """ Email client delete message request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param message_id (str) Message identifier. - :param folder (str) Folder to delete message from. + :param account_location: Email client account configuration location on storage. + :param message_id: Message identifier. + :param folder: Folder to delete message from. + :type ClientMessageDeleteRequest: """ super(ClientMessageDeleteRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py index 91bf8ea..16e65ca 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py @@ -33,12 +33,18 @@ class ClientMessageFetchFileRequest(object): Request model for client_message_fetch_file operation. Initializes a new instance. - :param message_id (str) Message identifier - :param account (str) Email account - :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) - :param storage (str) Storage name where account file located. - :param account_storage_folder (str) Folder in storage where account file located. - :param format (str) Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param message_id: Message identifier + :type message_id: str + :param account: Email account + :type account: str + :param folder: Account folder to fetch from (should be specified for some protocols such as IMAP) + :type folder: str + :param storage: Storage name where account file located. + :type storage: str + :param account_storage_folder: Folder in storage where account file located. + :type account_storage_folder: str + :param format: Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str """ def __init__(self, message_id: str, account: str, folder: str = None, storage: str = None, account_storage_folder: str = None, format: str = None): @@ -46,12 +52,18 @@ def __init__(self, message_id: str, account: str, folder: str = None, storage: s Request model for client_message_fetch_file operation. Initializes a new instance. - :param message_id (str) Message identifier - :param account (str) Email account - :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) - :param storage (str) Storage name where account file located. - :param account_storage_folder (str) Folder in storage where account file located. - :param format (str) Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param message_id: Message identifier + :type message_id: str + :param account: Email account + :type account: str + :param folder: Account folder to fetch from (should be specified for some protocols such as IMAP) + :type folder: str + :param storage: Storage name where account file located. + :type storage: str + :param account_storage_folder: Folder in storage where account file located. + :type account_storage_folder: str + :param format: Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str """ self.message_id = message_id diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py index 2c864cb..13a6cd4 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py @@ -33,13 +33,20 @@ class ClientMessageFetchRequest(object): Request model for client_message_fetch operation. Initializes a new instance. - :param message_id (str) Message identifier - :param account (str) Email account - :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) - :param storage (str) Storage name where account file located. - :param account_storage_folder (str) Folder in storage where account file located. - :param type (str) MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 - :param format (str) Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param message_id: Message identifier + :type message_id: str + :param account: Email account + :type account: str + :param folder: Account folder to fetch from (should be specified for some protocols such as IMAP) + :type folder: str + :param storage: Storage name where account file located. + :type storage: str + :param account_storage_folder: Folder in storage where account file located. + :type account_storage_folder: str + :param type: MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 + :type type: str + :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str """ def __init__(self, message_id: str, account: str, folder: str = None, storage: str = None, account_storage_folder: str = None, type: str = None, format: str = None): @@ -47,13 +54,20 @@ def __init__(self, message_id: str, account: str, folder: str = None, storage: s Request model for client_message_fetch operation. Initializes a new instance. - :param message_id (str) Message identifier - :param account (str) Email account - :param folder (str) Account folder to fetch from (should be specified for some protocols such as IMAP) - :param storage (str) Storage name where account file located. - :param account_storage_folder (str) Folder in storage where account file located. - :param type (str) MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 - :param format (str) Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param message_id: Message identifier + :type message_id: str + :param account: Email account + :type account: str + :param folder: Account folder to fetch from (should be specified for some protocols such as IMAP) + :type folder: str + :param storage: Storage name where account file located. + :type storage: str + :param account_storage_folder: Folder in storage where account file located. + :type account_storage_folder: str + :param type: MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 + :type type: str + :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str """ self.message_id = message_id diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py index 2e98b31..c6efbd3 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py @@ -33,14 +33,22 @@ class ClientMessageListRequest(object): Request model for client_message_list operation. Initializes a new instance. - :param folder (str) A folder in email account - :param account (str) Email account - :param query_string (str) A MailQuery search string - :param storage (str) Storage name where account file located - :param account_storage_folder (str) Folder in storage where account file located - :param recursive (bool) Specifies that should message be searched in subfolders recursively - :param type (str) MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 - :param format (str) Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param folder: A folder in email account + :type folder: str + :param account: Email account + :type account: str + :param query_string: A MailQuery search string + :type query_string: str + :param storage: Storage name where account file located + :type storage: str + :param account_storage_folder: Folder in storage where account file located + :type account_storage_folder: str + :param recursive: Specifies that should message be searched in subfolders recursively + :type recursive: bool + :param type: MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 + :type type: str + :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str """ def __init__(self, folder: str, account: str, query_string: str = None, storage: str = None, account_storage_folder: str = None, recursive: bool = None, type: str = None, format: str = None): @@ -48,14 +56,22 @@ def __init__(self, folder: str, account: str, query_string: str = None, storage: Request model for client_message_list operation. Initializes a new instance. - :param folder (str) A folder in email account - :param account (str) Email account - :param query_string (str) A MailQuery search string - :param storage (str) Storage name where account file located - :param account_storage_folder (str) Folder in storage where account file located - :param recursive (bool) Specifies that should message be searched in subfolders recursively - :param type (str) MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 - :param format (str) Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param folder: A folder in email account + :type folder: str + :param account: Email account + :type account: str + :param query_string: A MailQuery search string + :type query_string: str + :param storage: Storage name where account file located + :type storage: str + :param account_storage_folder: Folder in storage where account file located + :type account_storage_folder: str + :param recursive: Specifies that should message be searched in subfolders recursively + :type recursive: bool + :param type: MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 + :type type: str + :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str """ self.folder = folder diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py index 8f97aca..434b504 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py @@ -62,10 +62,11 @@ class ClientMessageMoveRequest(ClientMessageBaseRequest): def __init__(self, account_location: StorageFileLocation = None, message_id: str = None, source_folder: str = None, destination_folder: str = None): """ Email client move message request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param message_id (str) Message identifier. - :param source_folder (str) Folder to move message from. - :param destination_folder (str) Folder to move message to. + :param account_location: Email client account configuration location on storage. + :param message_id: Message identifier. + :param source_folder: Folder to move message from. + :param destination_folder: Folder to move message to. + :type ClientMessageMoveRequest: """ super(ClientMessageMoveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py index dbbc3df..f4cec16 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py @@ -33,11 +33,16 @@ class ClientMessageSendFileRequest(object): Request model for client_message_send_file operation. Initializes a new instance. - :param account (str) Email account - :param file (str) File to send - :param storage (str) Storage name where account file located. - :param account_storage_folder (str) Folder in storage where account file located. - :param format (str) Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param account: Email account + :type account: str + :param file: File to send + :type file: str + :param storage: Storage name where account file located. + :type storage: str + :param account_storage_folder: Folder in storage where account file located. + :type account_storage_folder: str + :param format: Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str """ def __init__(self, account: str, file: str, storage: str = None, account_storage_folder: str = None, format: str = None): @@ -45,11 +50,16 @@ def __init__(self, account: str, file: str, storage: str = None, account_storage Request model for client_message_send_file operation. Initializes a new instance. - :param account (str) Email account - :param file (str) File to send - :param storage (str) Storage name where account file located. - :param account_storage_folder (str) Folder in storage where account file located. - :param format (str) Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param account: Email account + :type account: str + :param file: File to send + :type file: str + :param storage: Storage name where account file located. + :type storage: str + :param account_storage_folder: Folder in storage where account file located. + :type account_storage_folder: str + :param format: Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str """ self.account = account diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py index ca78944..115581b 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py @@ -59,8 +59,9 @@ class ClientMessageSendRequest(ClientAccountBaseRequest): def __init__(self, account_location: StorageFileLocation = None, message: MailMessageBase = None): """ Email client send message request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param message (MailMessageBase) Message to send + :param account_location: Email client account configuration location on storage. + :param message: Message to send + :type ClientMessageSendRequest: """ super(ClientMessageSendRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py index 03efadd..d79826e 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py @@ -60,9 +60,10 @@ class ClientMessageSetIsReadRequest(ClientMessageBaseRequest): def __init__(self, account_location: StorageFileLocation = None, message_id: str = None, is_read: bool = None): """ Email client mark message is read/unread request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param message_id (str) Message identifier. - :param is_read (bool) Message is read flag. + :param account_location: Email client account configuration location on storage. + :param message_id: Message identifier. + :param is_read: Message is read flag. + :type ClientMessageSetIsReadRequest: """ super(ClientMessageSetIsReadRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py index 526ac2a..f3f2b75 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py @@ -58,8 +58,9 @@ class ClientThreadBaseRequest(ClientAccountBaseRequest): def __init__(self, account_location: StorageFileLocation = None, thread_id: str = None): """ Email client thread request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param thread_id (str) Thread identifier. + :param account_location: Email client account configuration location on storage. + :param thread_id: Thread identifier. + :type ClientThreadBaseRequest: """ super(ClientThreadBaseRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py index 8563505..74a50e3 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py @@ -60,9 +60,10 @@ class ClientThreadDeleteRequest(ClientThreadBaseRequest): def __init__(self, account_location: StorageFileLocation = None, thread_id: str = None, folder: str = None): """ Delete email client thread request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param thread_id (str) Thread identifier. - :param folder (str) Folder on email server, where thread is stored. + :param account_location: Email client account configuration location on storage. + :param thread_id: Thread identifier. + :param folder: Folder on email server, where thread is stored. + :type ClientThreadDeleteRequest: """ super(ClientThreadDeleteRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py index f72c451..d722382 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py @@ -33,12 +33,18 @@ class ClientThreadGetListRequest(object): Request model for client_thread_get_list operation. Initializes a new instance. - :param folder (str) A folder in email account. - :param account (str) Email account - :param storage (str) Storage name where account file located - :param account_storage_folder (str) Folder in storage where account file located - :param update_folder_cache (bool) This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account - :param messages_cache_limit (int) Limit messages cache size if CacheFile is used. Ignored in accounts without limits support + :param folder: A folder in email account. + :type folder: str + :param account: Email account + :type account: str + :param storage: Storage name where account file located + :type storage: str + :param account_storage_folder: Folder in storage where account file located + :type account_storage_folder: str + :param update_folder_cache: This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account + :type update_folder_cache: bool + :param messages_cache_limit: Limit messages cache size if CacheFile is used. Ignored in accounts without limits support + :type messages_cache_limit: int """ def __init__(self, folder: str, account: str, storage: str = None, account_storage_folder: str = None, update_folder_cache: bool = None, messages_cache_limit: int = None): @@ -46,12 +52,18 @@ def __init__(self, folder: str, account: str, storage: str = None, account_stora Request model for client_thread_get_list operation. Initializes a new instance. - :param folder (str) A folder in email account. - :param account (str) Email account - :param storage (str) Storage name where account file located - :param account_storage_folder (str) Folder in storage where account file located - :param update_folder_cache (bool) This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account - :param messages_cache_limit (int) Limit messages cache size if CacheFile is used. Ignored in accounts without limits support + :param folder: A folder in email account. + :type folder: str + :param account: Email account + :type account: str + :param storage: Storage name where account file located + :type storage: str + :param account_storage_folder: Folder in storage where account file located + :type account_storage_folder: str + :param update_folder_cache: This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account + :type update_folder_cache: bool + :param messages_cache_limit: Limit messages cache size if CacheFile is used. Ignored in accounts without limits support + :type messages_cache_limit: int """ self.folder = folder diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py index 53800f7..ddd5099 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py @@ -33,11 +33,16 @@ class ClientThreadGetMessagesRequest(object): Request model for client_thread_get_messages operation. Initializes a new instance. - :param thread_id (str) Thread identifier - :param account (str) Email account - :param folder (str) Specifies account folder to get thread from - :param storage (str) Storage name where account file located - :param account_storage_folder (str) Folder in storage where account file located + :param thread_id: Thread identifier + :type thread_id: str + :param account: Email account + :type account: str + :param folder: Specifies account folder to get thread from + :type folder: str + :param storage: Storage name where account file located + :type storage: str + :param account_storage_folder: Folder in storage where account file located + :type account_storage_folder: str """ def __init__(self, thread_id: str, account: str, folder: str = None, storage: str = None, account_storage_folder: str = None): @@ -45,11 +50,16 @@ def __init__(self, thread_id: str, account: str, folder: str = None, storage: st Request model for client_thread_get_messages operation. Initializes a new instance. - :param thread_id (str) Thread identifier - :param account (str) Email account - :param folder (str) Specifies account folder to get thread from - :param storage (str) Storage name where account file located - :param account_storage_folder (str) Folder in storage where account file located + :param thread_id: Thread identifier + :type thread_id: str + :param account: Email account + :type account: str + :param folder: Specifies account folder to get thread from + :type folder: str + :param storage: Storage name where account file located + :type storage: str + :param account_storage_folder: Folder in storage where account file located + :type account_storage_folder: str """ self.thread_id = thread_id diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py index deb983f..cbafdaa 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py @@ -60,9 +60,10 @@ class ClientThreadMoveRequest(ClientThreadBaseRequest): def __init__(self, account_location: StorageFileLocation = None, thread_id: str = None, destination_folder: str = None): """ Email client move thread request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param thread_id (str) Thread identifier. - :param destination_folder (str) Email account folder to move thread to. + :param account_location: Email client account configuration location on storage. + :param thread_id: Thread identifier. + :param destination_folder: Email account folder to move thread to. + :type ClientThreadMoveRequest: """ super(ClientThreadMoveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py index 12b2f20..16c970f 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py @@ -62,10 +62,11 @@ class ClientThreadSetIsReadRequest(ClientThreadBaseRequest): def __init__(self, account_location: StorageFileLocation = None, thread_id: str = None, is_read: bool = None, folder: str = None): """ Mark thread messages as read or unread request. - :param account_location (StorageFileLocation) Email client account configuration location on storage. - :param thread_id (str) Thread identifier. - :param is_read (bool) Message is read flag. - :param folder (str) Folder on email server, where thread is stored. + :param account_location: Email client account configuration location on storage. + :param thread_id: Thread identifier. + :param is_read: Message is read flag. + :param folder: Folder on email server, where thread is stored. + :type ClientThreadSetIsReadRequest: """ super(ClientThreadSetIsReadRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py index 0fe0f12..bd359fe 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py @@ -57,8 +57,9 @@ class ContactAsFileRequest(object): def __init__(self, format: str = None, value: ContactDto = None): """ Convert contact model to file request. - :param format (str) Enumerates contact formats. Enum, available values: VCard, WebDav, Msg - :param value (ContactDto) Contact model. + :param format: Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :param value: Contact model. + :type ContactAsFileRequest: """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py b/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py index 839b44d..90b672a 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py @@ -33,9 +33,12 @@ class ContactConvertRequest(object): Request model for contact_convert operation. Initializes a new instance. - :param to_format (str) File format to convert to Enum, available values: VCard, WebDav, Msg - :param from_format (str) File format to convert from Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert + :param to_format: File format to convert to Enum, available values: VCard, WebDav, Msg + :type to_format: str + :param from_format: File format to convert from Enum, available values: VCard, WebDav, Msg + :type from_format: str + :param file: File to convert + :type file: str """ def __init__(self, to_format: str, from_format: str, file: str): @@ -43,9 +46,12 @@ def __init__(self, to_format: str, from_format: str, file: str): Request model for contact_convert operation. Initializes a new instance. - :param to_format (str) File format to convert to Enum, available values: VCard, WebDav, Msg - :param from_format (str) File format to convert from Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert + :param to_format: File format to convert to Enum, available values: VCard, WebDav, Msg + :type to_format: str + :param from_format: File format to convert from Enum, available values: VCard, WebDav, Msg + :type from_format: str + :param file: File to convert + :type file: str """ self.to_format = to_format diff --git a/sdk/AsposeEmailCloudSdk/models/contact_dto.py b/sdk/AsposeEmailCloudSdk/models/contact_dto.py index cb15750..b71b591 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_dto.py @@ -133,42 +133,43 @@ class ContactDto(object): def __init__(self, associated_persons: List[AssociatedPerson] = None, attachments: List[Attachment] = None, company_name: str = None, computer_network_name: str = None, customer_id: str = None, department_name: str = None, display_name: str = None, email_addresses: List[EmailAddress] = None, events: List[CustomerEvent] = None, file_as: str = None, file_as_mapping: str = None, free_busy_location: str = None, gender: str = None, given_name: str = None, government_id_number: str = None, hobbies: str = None, initials: str = None, instant_messengers: List[InstantMessengerAddress] = None, job_title: str = None, language: str = None, location: str = None, middle_name: str = None, nickname: str = None, notes: str = None, notes_format: str = None, office_location: str = None, organizational_id_number: str = None, phone_numbers: List[PhoneNumber] = None, photo: ContactPhoto = None, physical_addresses: List[PostalAddress] = None, preferred_text_encoding: str = None, prefix: str = None, profession: str = None, suffix: str = None, surname: str = None, urls: List[Url] = None): """ VCard document representation. - :param associated_persons (List[AssociatedPerson]) Associated persons. - :param attachments (List[Attachment]) Document attachments. - :param company_name (str) Company name. - :param computer_network_name (str) Computer network. - :param customer_id (str) Customer id. - :param department_name (str) Department name. - :param display_name (str) Display name. - :param email_addresses (List[EmailAddress]) Person's email addresses. - :param events (List[CustomerEvent]) Person's events. - :param file_as (str) A name used for sorting. - :param file_as_mapping (str) Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change. Coincides MS-OXPROPS revision 16.2 from 7/31/2014. Enum, available values: Empty, DisplayName, FirstName, LastName, Organization, LastFirstMiddle, OrgLastFirstMiddle, LastFirstMiddleOrg, LastFirstMiddle2, LastFirstMiddle3, OrgLastFirstMiddle2, OrgLastFirstMiddle3, LastFirstMiddleOrg2, LastFirstMiddleOrg3, LastFirstMiddleGen, FirstMiddleLastGen, LastFirstMiddleGen2, BestMatch, AccordingToLocale, None - :param free_busy_location (str) URL path from which a client can retrieve free/busy information for the contact as an iCal file. - :param gender (str) Enum defines gender of a person. Enum, available values: Unspecified, Female, Male - :param given_name (str) Person's given name. - :param government_id_number (str) Government id number. - :param hobbies (str) Person's hobbies. - :param initials (str) Person's initials. - :param instant_messengers (List[InstantMessengerAddress]) Person's instant messenger addresses. - :param job_title (str) Person's job title. - :param language (str) Language. - :param location (str) Person's location. - :param middle_name (str) Person's middle name. - :param nickname (str) Person's nickname. - :param notes (str) Notes. - :param notes_format (str) Defines format of a text. Enum, available values: Text, Html - :param office_location (str) Office location. - :param organizational_id_number (str) Contains an identifier for the mail user used within the mail user's organization. - :param phone_numbers (List[PhoneNumber]) Person's phone numbers. - :param photo (ContactPhoto) Person's photo. - :param physical_addresses (List[PostalAddress]) Person's physical addresses. - :param preferred_text_encoding (str) Encoding for all text properties. - :param prefix (str) A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. - :param profession (str) A job position of a person in a company. - :param suffix (str) A suffix of a full name such like Jr.(junior), Sr.(senior) and so on. - :param surname (str) Person's surname. - :param urls (List[Url]) Person's urls. + :param associated_persons: Associated persons. + :param attachments: Document attachments. + :param company_name: Company name. + :param computer_network_name: Computer network. + :param customer_id: Customer id. + :param department_name: Department name. + :param display_name: Display name. + :param email_addresses: Person's email addresses. + :param events: Person's events. + :param file_as: A name used for sorting. + :param file_as_mapping: Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change. Coincides MS-OXPROPS revision 16.2 from 7/31/2014. Enum, available values: Empty, DisplayName, FirstName, LastName, Organization, LastFirstMiddle, OrgLastFirstMiddle, LastFirstMiddleOrg, LastFirstMiddle2, LastFirstMiddle3, OrgLastFirstMiddle2, OrgLastFirstMiddle3, LastFirstMiddleOrg2, LastFirstMiddleOrg3, LastFirstMiddleGen, FirstMiddleLastGen, LastFirstMiddleGen2, BestMatch, AccordingToLocale, None + :param free_busy_location: URL path from which a client can retrieve free/busy information for the contact as an iCal file. + :param gender: Enum defines gender of a person. Enum, available values: Unspecified, Female, Male + :param given_name: Person's given name. + :param government_id_number: Government id number. + :param hobbies: Person's hobbies. + :param initials: Person's initials. + :param instant_messengers: Person's instant messenger addresses. + :param job_title: Person's job title. + :param language: Language. + :param location: Person's location. + :param middle_name: Person's middle name. + :param nickname: Person's nickname. + :param notes: Notes. + :param notes_format: Defines format of a text. Enum, available values: Text, Html + :param office_location: Office location. + :param organizational_id_number: Contains an identifier for the mail user used within the mail user's organization. + :param phone_numbers: Person's phone numbers. + :param photo: Person's photo. + :param physical_addresses: Person's physical addresses. + :param preferred_text_encoding: Encoding for all text properties. + :param prefix: A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. + :param profession: A job position of a person in a company. + :param suffix: A suffix of a full name such like Jr.(junior), Sr.(senior) and so on. + :param surname: Person's surname. + :param urls: Person's urls. + :type ContactDto: """ self._associated_persons = None diff --git a/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py index 88de74a..f00a0d4 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py @@ -33,8 +33,10 @@ class ContactFromFileRequest(object): Request model for contact_from_file operation. Initializes a new instance. - :param format (str) File format Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert + :param format: File format Enum, available values: VCard, WebDav, Msg + :type format: str + :param file: File to convert + :type file: str """ def __init__(self, format: str, file: str): @@ -42,8 +44,10 @@ def __init__(self, format: str, file: str): Request model for contact_from_file operation. Initializes a new instance. - :param format (str) File format Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert + :param format: File format Enum, available values: VCard, WebDav, Msg + :type format: str + :param file: File to convert + :type file: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py index 0a5409d..a8ccd1b 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py @@ -33,11 +33,16 @@ class ContactGetAsFileRequest(object): Request model for contact_get_as_file operation. Initializes a new instance. - :param file_name (str) Calendar document file name - :param to_format (str) File format Enum, available values: VCard, WebDav, Msg - :param from_format (str) File format to convert from Enum, available values: VCard, WebDav, Msg - :param storage (str) Storage name - :param folder (str) Path to folder in storage + :param file_name: Calendar document file name + :type file_name: str + :param to_format: File format Enum, available values: VCard, WebDav, Msg + :type to_format: str + :param from_format: File format to convert from Enum, available values: VCard, WebDav, Msg + :type from_format: str + :param storage: Storage name + :type storage: str + :param folder: Path to folder in storage + :type folder: str """ def __init__(self, file_name: str, to_format: str, from_format: str, storage: str = None, folder: str = None): @@ -45,11 +50,16 @@ def __init__(self, file_name: str, to_format: str, from_format: str, storage: st Request model for contact_get_as_file operation. Initializes a new instance. - :param file_name (str) Calendar document file name - :param to_format (str) File format Enum, available values: VCard, WebDav, Msg - :param from_format (str) File format to convert from Enum, available values: VCard, WebDav, Msg - :param storage (str) Storage name - :param folder (str) Path to folder in storage + :param file_name: Calendar document file name + :type file_name: str + :param to_format: File format Enum, available values: VCard, WebDav, Msg + :type to_format: str + :param from_format: File format to convert from Enum, available values: VCard, WebDav, Msg + :type from_format: str + :param storage: Storage name + :type storage: str + :param folder: Path to folder in storage + :type folder: str """ self.file_name = file_name diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py index ee770f7..c4cf6dc 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py @@ -33,11 +33,16 @@ class ContactGetListRequest(object): Request model for contact_get_list operation. Initializes a new instance. - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. + :param format: Contact document format. Enum, available values: VCard, WebDav, Msg + :type format: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str + :param items_per_page: Count of items on page. + :type items_per_page: int + :param page_number: Page number. + :type page_number: int """ def __init__(self, format: str, folder: str = None, storage: str = None, items_per_page: int = None, page_number: int = None): @@ -45,11 +50,16 @@ def __init__(self, format: str, folder: str = None, storage: str = None, items_p Request model for contact_get_list operation. Initializes a new instance. - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. + :param format: Contact document format. Enum, available values: VCard, WebDav, Msg + :type format: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str + :param items_per_page: Count of items on page. + :type items_per_page: int + :param page_number: Page number. + :type page_number: int """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_request.py index 413576d..5b04a43 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_request.py @@ -33,10 +33,14 @@ class ContactGetRequest(object): Request model for contact_get operation. Initializes a new instance. - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param file_name (str) Contact document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param format: Contact document format. Enum, available values: VCard, WebDav, Msg + :type format: str + :param file_name: Contact document file name. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ def __init__(self, format: str, file_name: str, folder: str = None, storage: str = None): @@ -44,10 +48,14 @@ def __init__(self, format: str, file_name: str, folder: str = None, storage: str Request model for contact_get operation. Initializes a new instance. - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param file_name (str) Contact document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param format: Contact document format. Enum, available values: VCard, WebDav, Msg + :type format: str + :param file_name: Contact document file name. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/contact_list.py b/sdk/AsposeEmailCloudSdk/models/contact_list.py index a73337a..249d095 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_list.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_list.py @@ -56,7 +56,8 @@ class ContactList(ListResponseOfContactDto): def __init__(self, value: List[ContactDto] = None): """ List of VCard documents - :param value (List[ContactDto]) + :param value: + :type ContactList: """ super(ContactList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/contact_photo.py b/sdk/AsposeEmailCloudSdk/models/contact_photo.py index 451cab5..e6502af 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_photo.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_photo.py @@ -57,9 +57,10 @@ class ContactPhoto(object): def __init__(self, photo_image_format: str = None, base64_data: str = None, discriminator: str = None): """ Person's photo. - :param photo_image_format (str) MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff - :param base64_data (str) Photo serialized as base64 string. - :param discriminator (str) + :param photo_image_format: MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff + :param base64_data: Photo serialized as base64 string. + :param discriminator: + :type ContactPhoto: """ self._photo_image_format = None diff --git a/sdk/AsposeEmailCloudSdk/models/contact_save_request.py b/sdk/AsposeEmailCloudSdk/models/contact_save_request.py index 04946ad..c3d3aec 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_save_request.py @@ -61,9 +61,10 @@ class ContactSaveRequest(StorageModelOfContactDto): def __init__(self, storage_file: StorageFileLocation = None, value: ContactDto = None, format: str = None): """ Contact save to storage request - :param storage_file (StorageFileLocation) - :param value (ContactDto) - :param format (str) Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :param storage_file: + :param value: + :param format: Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :type ContactSaveRequest: """ super(ContactSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py b/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py index 6b50f3d..fe70754 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py @@ -56,7 +56,8 @@ class ContactStorageList(ListResponseOfStorageModelOfContactDto): def __init__(self, value: List[StorageModelOfContactDto] = None): """ Contact models list with corresponding storage locations. - :param value (List[StorageModelOfContactDto]) + :param value: + :type ContactStorageList: """ super(ContactStorageList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/content_type.py b/sdk/AsposeEmailCloudSdk/models/content_type.py index 08eb45d..3af3bc7 100644 --- a/sdk/AsposeEmailCloudSdk/models/content_type.py +++ b/sdk/AsposeEmailCloudSdk/models/content_type.py @@ -63,11 +63,12 @@ class ContentType(object): def __init__(self, boundary: str = None, char_set: str = None, media_type: str = None, name: str = None, parameters: List[ContentTypeParameter] = None): """ Represents a Content-Type header. - :param boundary (str) The boundary parameter included in the Content-Type header. - :param char_set (str) CharSet parameter. - :param media_type (str) The internet media type. - :param name (str) Name parameter. - :param parameters (List[ContentTypeParameter]) Full list of parameters + :param boundary: The boundary parameter included in the Content-Type header. + :param char_set: CharSet parameter. + :param media_type: The internet media type. + :param name: Name parameter. + :param parameters: Full list of parameters + :type ContentType: """ self._boundary = None diff --git a/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py b/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py index 7e1bf1a..b79cf65 100644 --- a/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py +++ b/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py @@ -55,8 +55,9 @@ class ContentTypeParameter(object): def __init__(self, name: str = None, value: str = None): """ Content-Type header parameter - :param name (str) Parameter name - :param value (str) Parameter value + :param name: Parameter name + :param value: Parameter value + :type ContentTypeParameter: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py index ff669c0..dadd716 100644 --- a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py @@ -33,11 +33,16 @@ class CopyFileRequest(object): Request model for copy_file operation. Initializes a new instance. - :param src_path (str) Source file path e.g. '/folder/file.ext' - :param dest_path (str) Destination file path - :param src_storage_name (str) Source storage name - :param dest_storage_name (str) Destination storage name - :param version_id (str) File version ID to copy + :param src_path: Source file path e.g. '/folder/file.ext' + :type src_path: str + :param dest_path: Destination file path + :type dest_path: str + :param src_storage_name: Source storage name + :type src_storage_name: str + :param dest_storage_name: Destination storage name + :type dest_storage_name: str + :param version_id: File version ID to copy + :type version_id: str """ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None, version_id: str = None): @@ -45,11 +50,16 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for copy_file operation. Initializes a new instance. - :param src_path (str) Source file path e.g. '/folder/file.ext' - :param dest_path (str) Destination file path - :param src_storage_name (str) Source storage name - :param dest_storage_name (str) Destination storage name - :param version_id (str) File version ID to copy + :param src_path: Source file path e.g. '/folder/file.ext' + :type src_path: str + :param dest_path: Destination file path + :type dest_path: str + :param src_storage_name: Source storage name + :type src_storage_name: str + :param dest_storage_name: Destination storage name + :type dest_storage_name: str + :param version_id: File version ID to copy + :type version_id: str """ self.src_path = src_path diff --git a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py index f143339..d1eca81 100644 --- a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py @@ -33,10 +33,14 @@ class CopyFolderRequest(object): Request model for copy_folder operation. Initializes a new instance. - :param src_path (str) Source folder path e.g. '/src' - :param dest_path (str) Destination folder path e.g. '/dst' - :param src_storage_name (str) Source storage name - :param dest_storage_name (str) Destination storage name + :param src_path: Source folder path e.g. '/src' + :type src_path: str + :param dest_path: Destination folder path e.g. '/dst' + :type dest_path: str + :param src_storage_name: Source storage name + :type src_storage_name: str + :param dest_storage_name: Destination storage name + :type dest_storage_name: str """ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None): @@ -44,10 +48,14 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for copy_folder operation. Initializes a new instance. - :param src_path (str) Source folder path e.g. '/src' - :param dest_path (str) Destination folder path e.g. '/dst' - :param src_storage_name (str) Source storage name - :param dest_storage_name (str) Destination storage name + :param src_path: Source folder path e.g. '/src' + :type src_path: str + :param dest_path: Destination folder path e.g. '/dst' + :type dest_path: str + :param src_storage_name: Source storage name + :type src_storage_name: str + :param dest_storage_name: Destination storage name + :type dest_storage_name: str """ self.src_path = src_path diff --git a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py index df6e2d7..c440d4e 100644 --- a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py @@ -33,8 +33,10 @@ class CreateFolderRequest(object): Request model for create_folder operation. Initializes a new instance. - :param path (str) Folder path to create e.g. 'folder_1/folder_2/' - :param storage_name (str) Storage name + :param path: Folder path to create e.g. 'folder_1/folder_2/' + :type path: str + :param storage_name: Storage name + :type storage_name: str """ def __init__(self, path: str, storage_name: str = None): @@ -42,8 +44,10 @@ def __init__(self, path: str, storage_name: str = None): Request model for create_folder operation. Initializes a new instance. - :param path (str) Folder path to create e.g. 'folder_1/folder_2/' - :param storage_name (str) Storage name + :param path: Folder path to create e.g. 'folder_1/folder_2/' + :type path: str + :param storage_name: Storage name + :type storage_name: str """ self.path = path diff --git a/sdk/AsposeEmailCloudSdk/models/customer_event.py b/sdk/AsposeEmailCloudSdk/models/customer_event.py index ac4bc0b..678558c 100644 --- a/sdk/AsposeEmailCloudSdk/models/customer_event.py +++ b/sdk/AsposeEmailCloudSdk/models/customer_event.py @@ -57,8 +57,9 @@ class CustomerEvent(object): def __init__(self, category: EnumWithCustomOfEventCategory = None, _date: datetime = None): """ Event. - :param category (EnumWithCustomOfEventCategory) Event category. - :param _date (datetime) Event date. + :param category: Event category. + :param _date: Event date. + :type CustomerEvent: """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py index 6feba9a..83e1d98 100644 --- a/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py @@ -63,11 +63,12 @@ class DailyRecurrencePatternDto(RecurrencePatternDto): def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None): """ Daily recurrence. - :param interval (int) Number of recurrence units. - :param occurs (int) Number of occurrences of the recurrence pattern. - :param end_date (datetime) End date. - :param week_start (str) Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay - :param discriminator (str) + :param interval: Number of recurrence units. + :param occurs: Number of occurrences of the recurrence pattern. + :param end_date: End date. + :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :param discriminator: + :type DailyRecurrencePatternDto: """ super(DailyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py index ece50a6..590efdc 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py @@ -33,9 +33,12 @@ class DeleteFileRequest(object): Request model for delete_file operation. Initializes a new instance. - :param path (str) File path e.g. '/folder/file.ext' - :param storage_name (str) Storage name - :param version_id (str) File version ID to delete + :param path: File path e.g. '/folder/file.ext' + :type path: str + :param storage_name: Storage name + :type storage_name: str + :param version_id: File version ID to delete + :type version_id: str """ def __init__(self, path: str, storage_name: str = None, version_id: str = None): @@ -43,9 +46,12 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for delete_file operation. Initializes a new instance. - :param path (str) File path e.g. '/folder/file.ext' - :param storage_name (str) Storage name - :param version_id (str) File version ID to delete + :param path: File path e.g. '/folder/file.ext' + :type path: str + :param storage_name: Storage name + :type storage_name: str + :param version_id: File version ID to delete + :type version_id: str """ self.path = path diff --git a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py index 701cc58..b08dd92 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py @@ -33,9 +33,12 @@ class DeleteFolderRequest(object): Request model for delete_folder operation. Initializes a new instance. - :param path (str) Folder path e.g. '/folder' - :param storage_name (str) Storage name - :param recursive (bool) Enable to delete folders, subfolders and files + :param path: Folder path e.g. '/folder' + :type path: str + :param storage_name: Storage name + :type storage_name: str + :param recursive: Enable to delete folders, subfolders and files + :type recursive: bool """ def __init__(self, path: str, storage_name: str = None, recursive: bool = None): @@ -43,9 +46,12 @@ def __init__(self, path: str, storage_name: str = None, recursive: bool = None): Request model for delete_folder operation. Initializes a new instance. - :param path (str) Folder path e.g. '/folder' - :param storage_name (str) Storage name - :param recursive (bool) Enable to delete folders, subfolders and files + :param path: Folder path e.g. '/folder' + :type path: str + :param storage_name: Storage name + :type storage_name: str + :param recursive: Enable to delete folders, subfolders and files + :type recursive: bool """ self.path = path diff --git a/sdk/AsposeEmailCloudSdk/models/disc_usage.py b/sdk/AsposeEmailCloudSdk/models/disc_usage.py index 5627f8a..82dfeca 100644 --- a/sdk/AsposeEmailCloudSdk/models/disc_usage.py +++ b/sdk/AsposeEmailCloudSdk/models/disc_usage.py @@ -55,8 +55,9 @@ class DiscUsage(object): def __init__(self, used_size: int = None, total_size: int = None): """ Class for disc space information. - :param used_size (int) Application used disc space. - :param total_size (int) Total disc space. + :param used_size: Application used disc space. + :param total_size: Total disc space. + :type DiscUsage: """ self._used_size = None diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py index 3207c46..ca6a59a 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py @@ -67,13 +67,14 @@ class DiscoverEmailConfigOauth(DiscoverEmailConfigRequest): def __init__(self, address: str = None, fast_processing: bool = None, login: str = None, client_id: str = None, client_secret: str = None, refresh_token: str = None, request_url: str = None): """ - :param address (str) Email address to discover. - :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. - :param login (str) Email account login. If not specified, address used as a login. - :param client_id (str) OAuth client id. - :param client_secret (str) OAuth client secret. - :param refresh_token (str) OAuth refresh token. - :param request_url (str) The url to obtain access token. If not specified, will be discovered from email configuration. + :param address: Email address to discover. + :param fast_processing: Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :param login: Email account login. If not specified, address used as a login. + :param client_id: OAuth client id. + :param client_secret: OAuth client secret. + :param refresh_token: OAuth refresh token. + :param request_url: The url to obtain access token. If not specified, will be discovered from email configuration. + :type DiscoverEmailConfigOauth: """ super(DiscoverEmailConfigOauth, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py index f63bd92..e7ee8fc 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py @@ -61,10 +61,11 @@ class DiscoverEmailConfigPassword(DiscoverEmailConfigRequest): def __init__(self, address: str = None, fast_processing: bool = None, login: str = None, password: str = None): """ - :param address (str) Email address to discover. - :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. - :param login (str) Email account login. If not specified, address used as a login. - :param password (str) Email account password. + :param address: Email address to discover. + :param fast_processing: Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :param login: Email account login. If not specified, address used as a login. + :param password: Email account password. + :type DiscoverEmailConfigPassword: """ super(DiscoverEmailConfigPassword, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py index f2d74c2..93bd28e 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py @@ -57,9 +57,10 @@ class DiscoverEmailConfigRequest(object): def __init__(self, address: str = None, fast_processing: bool = None, login: str = None): """ Discover email configuration request. - :param address (str) Email address to discover. - :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. - :param login (str) Email account login. If not specified, address used as a login. + :param address: Email address to discover. + :param fast_processing: Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :param login: Email account login. If not specified, address used as a login. + :type DiscoverEmailConfigRequest: """ self._address = None diff --git a/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py b/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py index 92b5e05..561eb75 100644 --- a/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py +++ b/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py @@ -33,7 +33,8 @@ class DisposableEmailIsDisposableRequest(object): Request model for disposable_email_is_disposable operation. Initializes a new instance. - :param address (str) An email address to check + :param address: An email address to check + :type address: str """ def __init__(self, address: str): @@ -41,7 +42,8 @@ def __init__(self, address: str): Request model for disposable_email_is_disposable operation. Initializes a new instance. - :param address (str) An email address to check + :param address: An email address to check + :type address: str """ self.address = address diff --git a/sdk/AsposeEmailCloudSdk/models/download_file_request.py b/sdk/AsposeEmailCloudSdk/models/download_file_request.py index 63c6687..e631d56 100644 --- a/sdk/AsposeEmailCloudSdk/models/download_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/download_file_request.py @@ -33,9 +33,12 @@ class DownloadFileRequest(object): Request model for download_file operation. Initializes a new instance. - :param path (str) File path e.g. '/folder/file.ext' - :param storage_name (str) Storage name - :param version_id (str) File version ID to download + :param path: File path e.g. '/folder/file.ext' + :type path: str + :param storage_name: Storage name + :type storage_name: str + :param version_id: File version ID to download + :type version_id: str """ def __init__(self, path: str, storage_name: str = None, version_id: str = None): @@ -43,9 +46,12 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for download_file operation. Initializes a new instance. - :param path (str) File path e.g. '/folder/file.ext' - :param storage_name (str) Storage name - :param version_id (str) File version ID to download + :param path: File path e.g. '/folder/file.ext' + :type path: str + :param storage_name: Storage name + :type storage_name: str + :param version_id: File version ID to download + :type version_id: str """ self.path = path diff --git a/sdk/AsposeEmailCloudSdk/models/email_account_config.py b/sdk/AsposeEmailCloudSdk/models/email_account_config.py index 6248b8f..e800948 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_account_config.py +++ b/sdk/AsposeEmailCloudSdk/models/email_account_config.py @@ -69,14 +69,15 @@ class EmailAccountConfig(object): def __init__(self, display_name: str = None, protocol_type: str = None, host: str = None, port: int = None, socket_type: str = None, authentication_types: List[str] = None, extra_info: List[NameValuePair] = None, is_validated: bool = None): """ Email account configuration. - :param display_name (str) Email account display name - :param protocol_type (str) Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav - :param host (str) Email account host. - :param port (int) Port. - :param socket_type (str) Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto - :param authentication_types (List[str]) Supported authentication types. - :param extra_info (List[NameValuePair]) Extra account information. - :param is_validated (bool) Determines that configuration validated. Set to false if validation skipped. + :param display_name: Email account display name + :param protocol_type: Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav + :param host: Email account host. + :param port: Port. + :param socket_type: Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto + :param authentication_types: Supported authentication types. + :param extra_info: Extra account information. + :param is_validated: Determines that configuration validated. Set to false if validation skipped. + :type EmailAccountConfig: """ self._display_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py b/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py index aa570bf..85d9cda 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py @@ -56,7 +56,8 @@ class EmailAccountConfigList(ListResponseOfEmailAccountConfig): def __init__(self, value: List[EmailAccountConfig] = None): """ List of email accounts - :param value (List[EmailAccountConfig]) + :param value: + :type EmailAccountConfigList: """ super(EmailAccountConfigList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_address.py b/sdk/AsposeEmailCloudSdk/models/email_address.py index e0ae005..4262452 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_address.py +++ b/sdk/AsposeEmailCloudSdk/models/email_address.py @@ -65,12 +65,13 @@ class EmailAddress(object): def __init__(self, category: EnumWithCustomOfEmailAddressCategory = None, display_name: str = None, preferred: bool = None, routing_type: str = None, address: str = None, original_address_string: str = None): """ Email address. - :param category (EnumWithCustomOfEmailAddressCategory) Address category. - :param display_name (str) Display name. - :param preferred (bool) Defines whether email address is preferred. - :param routing_type (str) A routing type for an email. - :param address (str) Email address. - :param original_address_string (str) The original e-mail address string + :param category: Address category. + :param display_name: Display name. + :param preferred: Defines whether email address is preferred. + :param routing_type: A routing type for an email. + :param address: Email address. + :param original_address_string: The original e-mail address string + :type EmailAddress: """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py index e33e815..eb8f057 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py @@ -57,8 +57,9 @@ class EmailAsFileRequest(object): def __init__(self, format: str = None, value: EmailDto = None): """ Convert email model to file request. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param value (EmailDto) Email model. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param value: Email model. + :type EmailAsFileRequest: """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account.py b/sdk/AsposeEmailCloudSdk/models/email_client_account.py index 7ffce35..e2ee67d 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account.py @@ -66,12 +66,13 @@ class EmailClientAccount(object): def __init__(self, host: str = None, port: int = None, security_options: str = None, protocol_type: str = None, credentials: EmailClientAccountCredentials = None, cache_file: StorageFileLocation = None): """ A universal email client account - :param host (str) Mail server host name or IP address - :param port (int) Mail server port - :param security_options (str) Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto - :param protocol_type (str) Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav - :param credentials (EmailClientAccountCredentials) Email client account credentials - :param cache_file (StorageFileLocation) File with messages cache. Used to provide extra functions, which are not supported by account + :param host: Mail server host name or IP address + :param port: Mail server port + :param security_options: Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto + :param protocol_type: Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav + :param credentials: Email client account credentials + :param cache_file: File with messages cache. Used to provide extra functions, which are not supported by account + :type EmailClientAccount: """ self._host = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py index 397b40d..1ec738c 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py @@ -55,8 +55,9 @@ class EmailClientAccountCredentials(object): def __init__(self, login: str = None, discriminator: str = None): """ Represents email client account credentials - :param login (str) Email client account login - :param discriminator (str) + :param login: Email client account login + :param discriminator: + :type EmailClientAccountCredentials: """ self._login = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py index c832743..46c6101 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py @@ -65,12 +65,13 @@ class EmailClientAccountOauthCredentials(EmailClientAccountCredentials): def __init__(self, login: str = None, discriminator: str = None, client_id: str = None, client_secret: str = None, refresh_token: str = None, request_url: str = None): """ Represents email client account OAuth 2.0 credentials - :param login (str) Email client account login - :param discriminator (str) - :param client_id (str) The client ID obtained from the Google Cloud Console during application registration. - :param client_secret (str) The client secret obtained during application registration. - :param refresh_token (str) OAuth 2.0 refresh token - :param request_url (str) The url to obtain access token. If not specified, will try to discover from email client account host. + :param login: Email client account login + :param discriminator: + :param client_id: The client ID obtained from the Google Cloud Console during application registration. + :param client_secret: The client secret obtained during application registration. + :param refresh_token: OAuth 2.0 refresh token + :param request_url: The url to obtain access token. If not specified, will try to discover from email client account host. + :type EmailClientAccountOauthCredentials: """ super(EmailClientAccountOauthCredentials, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py index bd0c233..b15b153 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py @@ -59,9 +59,10 @@ class EmailClientAccountPasswordCredentials(EmailClientAccountCredentials): def __init__(self, login: str = None, discriminator: str = None, password: str = None): """ Represents email client account password credentials - :param login (str) Email client account login - :param discriminator (str) - :param password (str) Email client account password + :param login: Email client account login + :param discriminator: + :param password: Email client account password + :type EmailClientAccountPasswordCredentials: """ super(EmailClientAccountPasswordCredentials, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py index a6992a2..ab58b4c 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py @@ -59,8 +59,9 @@ class EmailClientAccountSaveRequest(StorageModelOfEmailClientAccount): def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientAccount = None): """ Email client account save request - :param storage_file (StorageFileLocation) - :param value (EmailClientAccount) + :param storage_file: + :param value: + :type EmailClientAccountSaveRequest: """ super(EmailClientAccountSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py index e59574a..5fa0d47 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py @@ -57,8 +57,9 @@ class EmailClientMultiAccount(object): def __init__(self, receive_accounts: List[EmailClientAccount] = None, send_account: EmailClientAccount = None): """ Email client virtual account, which contains several accounts - :param receive_accounts (List[EmailClientAccount]) Email client receive accounts - :param send_account (EmailClientAccount) Email client send account + :param receive_accounts: Email client receive accounts + :param send_account: Email client send account + :type EmailClientMultiAccount: """ self._receive_accounts = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py index 1947530..9f63639 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py @@ -59,8 +59,9 @@ class EmailClientMultiAccountSaveRequest(StorageModelOfEmailClientMultiAccount): def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientMultiAccount = None): """ Email client multi account save request. - :param storage_file (StorageFileLocation) - :param value (EmailClientMultiAccount) + :param storage_file: + :param value: + :type EmailClientMultiAccountSaveRequest: """ super(EmailClientMultiAccountSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py b/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py index 996de61..243fed4 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py @@ -33,8 +33,10 @@ class EmailConfigDiscoverRequest(object): Request model for email_config_discover operation. Initializes a new instance. - :param address (str) Email address. - :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :param address: Email address. + :type address: str + :param fast_processing: Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :type fast_processing: bool """ def __init__(self, address: str, fast_processing: bool = None): @@ -42,8 +44,10 @@ def __init__(self, address: str, fast_processing: bool = None): Request model for email_config_discover operation. Initializes a new instance. - :param address (str) Email address. - :param fast_processing (bool) Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :param address: Email address. + :type address: str + :param fast_processing: Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :type fast_processing: bool """ self.address = address diff --git a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py index dd12f9d..b5e9c32 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py @@ -33,8 +33,10 @@ class EmailConvertRequest(object): Request model for email_convert operation. Initializes a new instance. - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file: File to convert + :type file: str """ def __init__(self, format: str, file: str): @@ -42,8 +44,10 @@ def __init__(self, format: str, file: str): Request model for email_convert operation. Initializes a new instance. - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file: File to convert + :type file: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/email_dto.py b/sdk/AsposeEmailCloudSdk/models/email_dto.py index 1e8d3c6..4638b0f 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/email_dto.py @@ -120,38 +120,39 @@ class EmailDto(object): def __init__(self, alternate_views: List[AlternateView] = None, attachments: List[Attachment] = None, bcc: List[MailAddress] = None, body: str = None, body_encoding: str = None, body_type: str = None, cc: List[MailAddress] = None, _date: datetime = None, delivery_notification_options: List[str] = None, _from: MailAddress = None, headers: Dict[str, str] = None, html_body: str = None, html_body_text: str = None, is_body_html: bool = None, is_draft: bool = None, is_encrypted: bool = None, is_signed: bool = None, linked_resources: List[LinkedResource] = None, message_id: str = None, original_is_tnef: bool = None, preferred_text_encoding: str = None, priority: str = None, read_receipt_to: List[MailAddress] = None, reply_to_list: List[MailAddress] = None, reverse_path: MailAddress = None, sender: MailAddress = None, sensitivity: str = None, subject: str = None, subject_encoding: str = None, time_zone_offset: int = None, to: List[MailAddress] = None, x_mailer: str = None): """ Email message representation. - :param alternate_views (List[AlternateView]) Collection of alternate views of message. - :param attachments (List[Attachment]) Email message attachments. - :param bcc (List[MailAddress]) BCC recipients. - :param body (str) Email message body as plain text. - :param body_encoding (str) Body encoding. - :param body_type (str) The content type of message body. Enum, available values: PlainText, Html, Rtf - :param cc (List[MailAddress]) CC recipients. - :param _date (datetime) Message date. - :param delivery_notification_options (List[str]) Delivery notifications. - :param _from (MailAddress) From address. - :param headers (Dict[str, str]) Document headers. - :param html_body (str) HTML body. - :param html_body_text (str) Html body as plain text. Read only. - :param is_body_html (bool) Indicates whether the message body is in Html. - :param is_draft (bool) Indicates whether or not a message has been sent. - :param is_encrypted (bool) Indicates whether the message is encrypted. Read only. - :param is_signed (bool) Indicates whether the message is signed. Read only. - :param linked_resources (List[LinkedResource]) Linked resources of message. - :param message_id (str) Message id. - :param original_is_tnef (bool) Indicates whether original EML message is in TNEF format. Read only. - :param preferred_text_encoding (str) Preferred encoding. - :param priority (str) Email priority status. Enum, available values: High, Low, Normal - :param read_receipt_to (List[MailAddress]) Read receipt addresses. - :param reply_to_list (List[MailAddress]) The list of addresses to reply to for the mail message. - :param reverse_path (MailAddress) ReversePath address. - :param sender (MailAddress) Sender address. - :param sensitivity (str) Specifies the sensitivity of a MailMessage. Enum, available values: None, Normal, Personal, Private, CompanyConfidential - :param subject (str) Message subject. - :param subject_encoding (str) Subject encoding. - :param time_zone_offset (int) Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the local time and UTC represented as count of ticks (10 000 per millisecond). - :param to (List[MailAddress]) The address collection that contains the recipients of message. - :param x_mailer (str) The X-Mailer the software that created the e-mail message. + :param alternate_views: Collection of alternate views of message. + :param attachments: Email message attachments. + :param bcc: BCC recipients. + :param body: Email message body as plain text. + :param body_encoding: Body encoding. + :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :param cc: CC recipients. + :param _date: Message date. + :param delivery_notification_options: Delivery notifications. + :param _from: From address. + :param headers: Document headers. + :param html_body: HTML body. + :param html_body_text: Html body as plain text. Read only. + :param is_body_html: Indicates whether the message body is in Html. + :param is_draft: Indicates whether or not a message has been sent. + :param is_encrypted: Indicates whether the message is encrypted. Read only. + :param is_signed: Indicates whether the message is signed. Read only. + :param linked_resources: Linked resources of message. + :param message_id: Message id. + :param original_is_tnef: Indicates whether original EML message is in TNEF format. Read only. + :param preferred_text_encoding: Preferred encoding. + :param priority: Email priority status. Enum, available values: High, Low, Normal + :param read_receipt_to: Read receipt addresses. + :param reply_to_list: The list of addresses to reply to for the mail message. + :param reverse_path: ReversePath address. + :param sender: Sender address. + :param sensitivity: Specifies the sensitivity of a MailMessage. Enum, available values: None, Normal, Personal, Private, CompanyConfidential + :param subject: Message subject. + :param subject_encoding: Subject encoding. + :param time_zone_offset: Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the local time and UTC represented as count of ticks (10 000 per millisecond). + :param to: The address collection that contains the recipients of message. + :param x_mailer: The X-Mailer the software that created the e-mail message. + :type EmailDto: """ self._alternate_views = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py index 3c02820..fe1a52c 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py @@ -33,8 +33,10 @@ class EmailFromFileRequest(object): Request model for email_from_file operation. Initializes a new instance. - :param format (str) Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert + :param format: Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file: File to convert + :type file: str """ def __init__(self, format: str, file: str): @@ -42,8 +44,10 @@ def __init__(self, format: str, file: str): Request model for email_from_file operation. Initializes a new instance. - :param format (str) Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert + :param format: Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file: File to convert + :type file: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py index 174ad51..a889669 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py @@ -33,10 +33,14 @@ class EmailGetAsFileRequest(object): Request model for email_get_as_file operation. Initializes a new instance. - :param file_name (str) Email document file name - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param storage (str) Storage name - :param folder (str) Path to folder in storage + :param file_name: Email document file name + :type file_name: str + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param storage: Storage name + :type storage: str + :param folder: Path to folder in storage + :type folder: str """ def __init__(self, file_name: str, format: str, storage: str = None, folder: str = None): @@ -44,10 +48,14 @@ def __init__(self, file_name: str, format: str, storage: str = None, folder: str Request model for email_get_as_file operation. Initializes a new instance. - :param file_name (str) Email document file name - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param storage (str) Storage name - :param folder (str) Path to folder in storage + :param file_name: Email document file name + :type file_name: str + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param storage: Storage name + :type storage: str + :param folder: Path to folder in storage + :type folder: str """ self.file_name = file_name diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py index 80f6105..1d0464c 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py @@ -33,11 +33,16 @@ class EmailGetListRequest(object): Request model for email_get_list operation. Initializes a new instance. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str + :param items_per_page: Count of items on page. + :type items_per_page: int + :param page_number: Page number. + :type page_number: int """ def __init__(self, format: str, folder: str = None, storage: str = None, items_per_page: int = None, page_number: int = None): @@ -45,11 +50,16 @@ def __init__(self, format: str, folder: str = None, storage: str = None, items_p Request model for email_get_list operation. Initializes a new instance. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. - :param items_per_page (int) Count of items on page. - :param page_number (int) Page number. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str + :param items_per_page: Count of items on page. + :type items_per_page: int + :param page_number: Page number. + :type page_number: int """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_request.py index a181ce4..c3df4e9 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_request.py @@ -33,10 +33,14 @@ class EmailGetRequest(object): Request model for email_get operation. Initializes a new instance. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file_name (str) Email document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file_name: Email document file name. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ def __init__(self, format: str, file_name: str, folder: str = None, storage: str = None): @@ -44,10 +48,14 @@ def __init__(self, format: str, file_name: str, folder: str = None, storage: str Request model for email_get operation. Initializes a new instance. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file_name (str) Email document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file_name: Email document file name. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/email_list.py b/sdk/AsposeEmailCloudSdk/models/email_list.py index 36bbcbc..21c1795 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_list.py @@ -56,7 +56,8 @@ class EmailList(ListResponseOfEmailDto): def __init__(self, value: List[EmailDto] = None): """ Email document list. - :param value (List[EmailDto]) + :param value: + :type EmailList: """ super(EmailList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_save_request.py index b3fb9ac..c2ef3e0 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_save_request.py @@ -61,9 +61,10 @@ class EmailSaveRequest(StorageModelOfEmailDto): def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = None, format: str = None): """ Email save to storage request - :param storage_file (StorageFileLocation) - :param value (EmailDto) - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param storage_file: + :param value: + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type EmailSaveRequest: """ super(EmailSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_storage_list.py b/sdk/AsposeEmailCloudSdk/models/email_storage_list.py index d0222c8..a97fd35 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_storage_list.py @@ -56,7 +56,8 @@ class EmailStorageList(ListResponseOfStorageModelOfEmailDto): def __init__(self, value: List[StorageModelOfEmailDto] = None): """ Email models list with corresponding storage locations. - :param value (List[StorageModelOfEmailDto]) + :param value: + :type EmailStorageList: """ super(EmailStorageList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_thread.py b/sdk/AsposeEmailCloudSdk/models/email_thread.py index 106ff1b..809085c 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_thread.py +++ b/sdk/AsposeEmailCloudSdk/models/email_thread.py @@ -61,10 +61,11 @@ class EmailThread(object): def __init__(self, id: str = None, subject: str = None, messages: List[EmailDto] = None, folder: str = None): """ Email messages thread - :param id (str) Thread identifier - :param subject (str) Thread subject - :param messages (List[EmailDto]) List of messages in thread - :param folder (str) Thread folder location + :param id: Thread identifier + :param subject: Thread subject + :param messages: List of messages in thread + :param folder: Thread folder location + :type EmailThread: """ self._id = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_thread_list.py b/sdk/AsposeEmailCloudSdk/models/email_thread_list.py index bb93c43..c90b7a5 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_thread_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_thread_list.py @@ -56,7 +56,8 @@ class EmailThreadList(ListResponseOfEmailThread): def __init__(self, value: List[EmailThread] = None): """ List of email threads - :param value (List[EmailThread]) + :param value: + :type EmailThreadList: """ super(EmailThreadList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py index 3ffaff9..6bdd913 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py @@ -55,8 +55,9 @@ class EnumWithCustomOfAssociatedPersonCategory(object): def __init__(self, value: str = None, description: str = None): """ - :param value (str) Associated person's category. Enum, available values: Spouse, Child, Mother, Father, Parent, Brother, Sister, Friend, Relative, Manager, Assistant, ReferredBy, Partner, DomesticPartner, Custom - :param description (str) + :param value: Associated person's category. Enum, available values: Spouse, Child, Mother, Father, Parent, Brother, Sister, Friend, Relative, Manager, Assistant, ReferredBy, Partner, DomesticPartner, Custom + :param description: + :type EnumWithCustomOfAssociatedPersonCategory: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py index 5906413..5588e4c 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py @@ -55,8 +55,9 @@ class EnumWithCustomOfEmailAddressCategory(object): def __init__(self, value: str = None, description: str = None): """ - :param value (str) Represents category for an email address. Enum, available values: Home, Work, Custom, Email1, Email2, Email3 - :param description (str) + :param value: Represents category for an email address. Enum, available values: Home, Work, Custom, Email1, Email2, Email3 + :param description: + :type EnumWithCustomOfEmailAddressCategory: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py index 06eb047..ef0cc7a 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py @@ -55,8 +55,9 @@ class EnumWithCustomOfEventCategory(object): def __init__(self, value: str = None, description: str = None): """ - :param value (str) Event category. Enum, available values: Custom, Birthday, Anniversary - :param description (str) + :param value: Event category. Enum, available values: Custom, Birthday, Anniversary + :param description: + :type EnumWithCustomOfEventCategory: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py index 9b31b74..0a8ee92 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py @@ -55,8 +55,9 @@ class EnumWithCustomOfInstantMessengerCategory(object): def __init__(self, value: str = None, description: str = None): """ - :param value (str) Instant messenger address category. Enum, available values: GoogleTalk, Aim, Yahoo, Skype, Qq, Msn, Icq, Jabber, Custom, ImAddress1, ImAddress2, ImAddress3 - :param description (str) + :param value: Instant messenger address category. Enum, available values: GoogleTalk, Aim, Yahoo, Skype, Qq, Msn, Icq, Jabber, Custom, ImAddress1, ImAddress2, ImAddress3 + :param description: + :type EnumWithCustomOfInstantMessengerCategory: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py index a01af10..0bffae1 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py @@ -55,8 +55,9 @@ class EnumWithCustomOfPhoneNumberCategory(object): def __init__(self, value: str = None, description: str = None): """ - :param value (str) Phone number category. Enum, available values: Custom, Home, Work, Office, Mobile, Fax, HomeFax, WorkFax, Pager, Car, Isdn, Telex, Callback, Radio, Company, TtyTdd, Assistant, Primary - :param description (str) + :param value: Phone number category. Enum, available values: Custom, Home, Work, Office, Mobile, Fax, HomeFax, WorkFax, Pager, Car, Isdn, Telex, Callback, Radio, Company, TtyTdd, Assistant, Primary + :param description: + :type EnumWithCustomOfPhoneNumberCategory: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py index 94893c8..c9c70db 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py @@ -55,8 +55,9 @@ class EnumWithCustomOfPostalAddressCategory(object): def __init__(self, value: str = None, description: str = None): """ - :param value (str) Address category. Enum, available values: Home, Work, Custom - :param description (str) + :param value: Address category. Enum, available values: Home, Work, Custom + :param description: + :type EnumWithCustomOfPostalAddressCategory: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py index 9641d2a..77f772e 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py @@ -55,8 +55,9 @@ class EnumWithCustomOfUrlCategory(object): def __init__(self, value: str = None, description: str = None): """ - :param value (str) Url category. Enum, available values: Profile, HomePage, Home, Work, Blog, Ftp, Custom - :param description (str) + :param value: Url category. Enum, available values: Profile, HomePage, Home, Work, Blog, Ftp, Custom + :param description: + :type EnumWithCustomOfUrlCategory: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/error.py b/sdk/AsposeEmailCloudSdk/models/error.py index 191744b..4957434 100644 --- a/sdk/AsposeEmailCloudSdk/models/error.py +++ b/sdk/AsposeEmailCloudSdk/models/error.py @@ -61,10 +61,11 @@ class Error(object): def __init__(self, code: str = None, message: str = None, description: str = None, inner_error: ErrorDetails = None): """ Error - :param code (str) Code - :param message (str) Message - :param description (str) Description - :param inner_error (ErrorDetails) Inner Error + :param code: Code + :param message: Message + :param description: Description + :param inner_error: Inner Error + :type Error: """ self._code = None diff --git a/sdk/AsposeEmailCloudSdk/models/error_details.py b/sdk/AsposeEmailCloudSdk/models/error_details.py index 655ad7d..bcd8990 100644 --- a/sdk/AsposeEmailCloudSdk/models/error_details.py +++ b/sdk/AsposeEmailCloudSdk/models/error_details.py @@ -55,8 +55,9 @@ class ErrorDetails(object): def __init__(self, request_id: str = None, _date: datetime = None): """ The error details - :param request_id (str) The request id - :param _date (datetime) Date + :param request_id: The request id + :param _date: Date + :type ErrorDetails: """ self._request_id = None diff --git a/sdk/AsposeEmailCloudSdk/models/file_version.py b/sdk/AsposeEmailCloudSdk/models/file_version.py index 6bc2fad..ad4b28e 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_version.py +++ b/sdk/AsposeEmailCloudSdk/models/file_version.py @@ -67,13 +67,14 @@ class FileVersion(StorageFile): def __init__(self, name: str = None, is_folder: bool = None, modified_date: datetime = None, size: int = None, path: str = None, version_id: str = None, is_latest: bool = None): """ File Version - :param name (str) File or folder name. - :param is_folder (bool) True if it is a folder. - :param modified_date (datetime) File or folder last modified DateTime. - :param size (int) File or folder size. - :param path (str) File or folder path. - :param version_id (str) File Version ID. - :param is_latest (bool) Specifies whether the file is (true) or is not (false) the latest version of an file. + :param name: File or folder name. + :param is_folder: True if it is a folder. + :param modified_date: File or folder last modified DateTime. + :param size: File or folder size. + :param path: File or folder path. + :param version_id: File Version ID. + :param is_latest: Specifies whether the file is (true) or is not (false) the latest version of an file. + :type FileVersion: """ super(FileVersion, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/file_versions.py b/sdk/AsposeEmailCloudSdk/models/file_versions.py index bd952fe..f888ede 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_versions.py +++ b/sdk/AsposeEmailCloudSdk/models/file_versions.py @@ -55,7 +55,8 @@ class FileVersions(object): def __init__(self, value: List[FileVersion] = None): """ File versions FileVersion. - :param value (List[FileVersion]) File versions FileVersion. + :param value: File versions FileVersion. + :type FileVersions: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/files_list.py b/sdk/AsposeEmailCloudSdk/models/files_list.py index 1ccee7a..119ac3e 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_list.py +++ b/sdk/AsposeEmailCloudSdk/models/files_list.py @@ -55,7 +55,8 @@ class FilesList(object): def __init__(self, value: List[StorageFile] = None): """ Files list - :param value (List[StorageFile]) Files and folders contained by folder StorageFile. + :param value: Files and folders contained by folder StorageFile. + :type FilesList: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py index f12799d..032928b 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py +++ b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py @@ -57,8 +57,9 @@ class FilesUploadResult(object): def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): """ File upload result - :param uploaded (List[str]) List of uploaded file names - :param errors (List[Error]) List of errors. + :param uploaded: List of uploaded file names + :param errors: List of errors. + :type FilesUploadResult: """ self._uploaded = None diff --git a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py index dacc25c..845c5fc 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py @@ -33,7 +33,8 @@ class GetDiscUsageRequest(object): Request model for get_disc_usage operation. Initializes a new instance. - :param storage_name (str) Storage name + :param storage_name: Storage name + :type storage_name: str """ def __init__(self, storage_name: str = None): @@ -41,7 +42,8 @@ def __init__(self, storage_name: str = None): Request model for get_disc_usage operation. Initializes a new instance. - :param storage_name (str) Storage name + :param storage_name: Storage name + :type storage_name: str """ self.storage_name = storage_name diff --git a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py index 3cb537b..7bb8955 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py @@ -33,8 +33,10 @@ class GetFileVersionsRequest(object): Request model for get_file_versions operation. Initializes a new instance. - :param path (str) File path e.g. '/file.ext' - :param storage_name (str) Storage name + :param path: File path e.g. '/file.ext' + :type path: str + :param storage_name: Storage name + :type storage_name: str """ def __init__(self, path: str, storage_name: str = None): @@ -42,8 +44,10 @@ def __init__(self, path: str, storage_name: str = None): Request model for get_file_versions operation. Initializes a new instance. - :param path (str) File path e.g. '/file.ext' - :param storage_name (str) Storage name + :param path: File path e.g. '/file.ext' + :type path: str + :param storage_name: Storage name + :type storage_name: str """ self.path = path diff --git a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py index 756b750..84a14c6 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py @@ -33,8 +33,10 @@ class GetFilesListRequest(object): Request model for get_files_list operation. Initializes a new instance. - :param path (str) Folder path e.g. '/folder' - :param storage_name (str) Storage name + :param path: Folder path e.g. '/folder' + :type path: str + :param storage_name: Storage name + :type storage_name: str """ def __init__(self, path: str, storage_name: str = None): @@ -42,8 +44,10 @@ def __init__(self, path: str, storage_name: str = None): Request model for get_files_list operation. Initializes a new instance. - :param path (str) Folder path e.g. '/folder' - :param storage_name (str) Storage name + :param path: Folder path e.g. '/folder' + :type path: str + :param storage_name: Storage name + :type storage_name: str """ self.path = path diff --git a/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py b/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py index 006579f..1be48a8 100644 --- a/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py +++ b/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py @@ -59,9 +59,10 @@ class InstantMessengerAddress(object): def __init__(self, category: EnumWithCustomOfInstantMessengerCategory = None, address: str = None, preferred: bool = None): """ Instant messenger address. - :param category (EnumWithCustomOfInstantMessengerCategory) Address category. - :param address (str) Address. - :param preferred (bool) Determines whether this address is preferred. + :param category: Address category. + :param address: Address. + :param preferred: Determines whether this address is preferred. + :type InstantMessengerAddress: """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/linked_resource.py b/sdk/AsposeEmailCloudSdk/models/linked_resource.py index 13688c7..9c2d5ab 100644 --- a/sdk/AsposeEmailCloudSdk/models/linked_resource.py +++ b/sdk/AsposeEmailCloudSdk/models/linked_resource.py @@ -64,11 +64,12 @@ class LinkedResource(AttachmentBase): def __init__(self, base64_data: str = None, content_id: str = None, content_type: ContentType = None, headers: Dict[str, str] = None, content_link: str = None): """ Represents an embedded resource in a message. - :param base64_data (str) Attachment file content as Base64 string. - :param content_id (str) Attachment content id - :param content_type (ContentType) Content type - :param headers (Dict[str, str]) Attachment headers. - :param content_link (str) URI that the resource must match. + :param base64_data: Attachment file content as Base64 string. + :param content_id: Attachment content id + :param content_type: Content type + :param headers: Attachment headers. + :param content_link: URI that the resource must match. + :type LinkedResource: """ super(LinkedResource, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py index f8ed7e0..6a4de7c 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py @@ -55,7 +55,8 @@ class ListResponseOfAiNameComponent(object): def __init__(self, value: List[AiNameComponent] = None): """ - :param value (List[AiNameComponent]) + :param value: + :type ListResponseOfAiNameComponent: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py index 3930daa..68b98bb 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py @@ -55,7 +55,8 @@ class ListResponseOfAiNameExtracted(object): def __init__(self, value: List[AiNameExtracted] = None): """ - :param value (List[AiNameExtracted]) + :param value: + :type ListResponseOfAiNameExtracted: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py index 1245f54..0fbcee7 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py @@ -55,7 +55,8 @@ class ListResponseOfAiNameGenderHypothesis(object): def __init__(self, value: List[AiNameGenderHypothesis] = None): """ - :param value (List[AiNameGenderHypothesis]) + :param value: + :type ListResponseOfAiNameGenderHypothesis: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py index bd2a26b..e6183bf 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py @@ -55,7 +55,8 @@ class ListResponseOfContactDto(object): def __init__(self, value: List[ContactDto] = None): """ - :param value (List[ContactDto]) + :param value: + :type ListResponseOfContactDto: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py index 2a87ce9..c0333b9 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py @@ -55,7 +55,8 @@ class ListResponseOfEmailAccountConfig(object): def __init__(self, value: List[EmailAccountConfig] = None): """ - :param value (List[EmailAccountConfig]) + :param value: + :type ListResponseOfEmailAccountConfig: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py index 38afd65..9708c89 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py @@ -55,7 +55,8 @@ class ListResponseOfEmailDto(object): def __init__(self, value: List[EmailDto] = None): """ - :param value (List[EmailDto]) + :param value: + :type ListResponseOfEmailDto: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py index 86ff08c..24bd902 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py @@ -55,7 +55,8 @@ class ListResponseOfEmailThread(object): def __init__(self, value: List[EmailThread] = None): """ - :param value (List[EmailThread]) + :param value: + :type ListResponseOfEmailThread: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py index 6d4db2f..8bab0c3 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py @@ -55,7 +55,8 @@ class ListResponseOfMailMessageBase(object): def __init__(self, value: List[MailMessageBase] = None): """ - :param value (List[MailMessageBase]) + :param value: + :type ListResponseOfMailMessageBase: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py index eb6a40e..57c1288 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py @@ -55,7 +55,8 @@ class ListResponseOfMailServerFolder(object): def __init__(self, value: List[MailServerFolder] = None): """ - :param value (List[MailServerFolder]) + :param value: + :type ListResponseOfMailServerFolder: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py index ae43391..c567ccb 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py @@ -55,7 +55,8 @@ class ListResponseOfStorageFileLocation(object): def __init__(self, value: List[StorageFileLocation] = None): """ - :param value (List[StorageFileLocation]) + :param value: + :type ListResponseOfStorageFileLocation: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py index 58bd81c..cf80c21 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py @@ -55,7 +55,8 @@ class ListResponseOfStorageModelOfCalendarDto(object): def __init__(self, value: List[StorageModelOfCalendarDto] = None): """ - :param value (List[StorageModelOfCalendarDto]) + :param value: + :type ListResponseOfStorageModelOfCalendarDto: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py index f39508e..2139c5b 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py @@ -55,7 +55,8 @@ class ListResponseOfStorageModelOfContactDto(object): def __init__(self, value: List[StorageModelOfContactDto] = None): """ - :param value (List[StorageModelOfContactDto]) + :param value: + :type ListResponseOfStorageModelOfContactDto: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py index 36d91c3..929bafb 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py @@ -55,7 +55,8 @@ class ListResponseOfStorageModelOfEmailDto(object): def __init__(self, value: List[StorageModelOfEmailDto] = None): """ - :param value (List[StorageModelOfEmailDto]) + :param value: + :type ListResponseOfStorageModelOfEmailDto: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/mail_address.py b/sdk/AsposeEmailCloudSdk/models/mail_address.py index ea29fb1..20057fa 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_address.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_address.py @@ -59,10 +59,11 @@ class MailAddress(object): def __init__(self, display_name: str = None, address: str = None, participation_status: str = None, original_address_string: str = None): """ Represents the address of a message. - :param display_name (str) Display name - :param address (str) Address - :param participation_status (str) Identifies the participation status for the calendar user. Enum, available values: NeedsAction, Accepted, Declined, Tentative, Delegated - :param original_address_string (str) The original e-mail address string + :param display_name: Display name + :param address: Address + :param participation_status: Identifies the participation status for the calendar user. Enum, available values: NeedsAction, Accepted, Declined, Tentative, Delegated + :param original_address_string: The original e-mail address string + :type MailAddress: """ self._display_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base.py index a8702fc..6f06ad8 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base.py @@ -53,7 +53,8 @@ class MailMessageBase(object): def __init__(self, discriminator: str = None): """ Universal object that stores email messages in different formats. - :param discriminator (str) + :param discriminator: + :type MailMessageBase: """ self._discriminator = self.__class__.__name__ diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py index 64db053..423e2ba 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py @@ -59,9 +59,10 @@ class MailMessageBase64(MailMessageBase): def __init__(self, discriminator: str = None, value_base64: str = None, format: str = None): """ Email message represented as file, encoded to Base64 format. - :param discriminator (str) - :param value_base64 (str) Email message file data encoded to Base64 string. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param discriminator: + :param value_base64: Email message file data encoded to Base64 string. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type MailMessageBase64: """ super(MailMessageBase64, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py index 6eddb1c..b4c44cd 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py @@ -56,7 +56,8 @@ class MailMessageBaseList(ListResponseOfMailMessageBase): def __init__(self, value: List[MailMessageBase] = None): """ List of messages. - :param value (List[MailMessageBase]) + :param value: + :type MailMessageBaseList: """ super(MailMessageBaseList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py b/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py index 2db9d8b..8286ff7 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py @@ -58,8 +58,9 @@ class MailMessageDto(MailMessageBase): def __init__(self, discriminator: str = None, value: EmailDto = None): """ Represents email message, stored as an EmailDto object. - :param discriminator (str) - :param value (EmailDto) Message document object. + :param discriminator: + :param value: Message document object. + :type MailMessageDto: """ super(MailMessageDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py b/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py index 3193a81..097b16b 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py @@ -58,8 +58,9 @@ class MailMessageMapi(MailMessageBase): def __init__(self, discriminator: str = None, value: MapiMessageDto = None): """ Email message represented as MAPI object. - :param discriminator (str) - :param value (MapiMessageDto) Email message object. + :param discriminator: + :param value: Email message object. + :type MailMessageMapi: """ super(MailMessageMapi, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py b/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py index 40aadab..0242ba8 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py @@ -55,8 +55,9 @@ class MailServerFolder(object): def __init__(self, name: str = None, id: str = None): """ Email account folder - :param name (str) Gets or sets mail folder name - :param id (str) Gets or sets mail folder id + :param name: Gets or sets mail folder name + :param id: Gets or sets mail folder id + :type MailServerFolder: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py b/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py index b603f0d..b6445d2 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py @@ -56,7 +56,8 @@ class MailServerFolderList(ListResponseOfMailServerFolder): def __init__(self, value: List[MailServerFolder] = None): """ List of email client folders. - :param value (List[MailServerFolder]) + :param value: + :type MailServerFolderList: """ super(MailServerFolderList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py index 74ef7f3..930d45b 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py @@ -55,8 +55,9 @@ class MapiAttachmentDto(object): def __init__(self, name: str = None, data_base64: str = None): """ Mapi attachment - :param name (str) Attachment's name - :param data_base64 (str) Attachment data represented as Base64 string. + :param name: Attachment's name + :param data_base64: Attachment data represented as Base64 string. + :type MapiAttachmentDto: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py index 3985e0b..88f85b6 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py @@ -60,9 +60,10 @@ class MapiBinaryPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value_base64: str = None): """ Mapi property with Binary value represented as a Base64 string - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value_base64 (str) Property value converted to Base64 + :param descriptor: Property descriptor + :param discriminator: + :param value_base64: Property value converted to Base64 + :type MapiBinaryPropertyDto: """ super(MapiBinaryPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py index f48832f..8bb2609 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py @@ -60,9 +60,10 @@ class MapiBooleanPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: bool = None): """ Mapi property with Boolean value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (bool) Property value + :param descriptor: Property descriptor + :param discriminator: + :param value: Property value + :type MapiBooleanPropertyDto: """ super(MapiBooleanPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py index f25ff41..8861548 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py @@ -57,8 +57,9 @@ class MapiCalendarAsFileRequest(object): def __init__(self, format: str = None, value: MapiCalendarDto = None): """ Convert MapiCalendar to file request. - :param format (str) Calendar file format Enum, available values: Ics, Msg - :param value (MapiCalendarDto) MAPI calendar model. + :param format: Calendar file format Enum, available values: Ics, Msg + :param value: MAPI calendar model. + :type MapiCalendarAsFileRequest: """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py index 064519b..dadf8a5 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py @@ -61,10 +61,11 @@ class MapiCalendarAttendeesDto(object): def __init__(self, appointment_recipients: List[MapiRecipientDto] = None, appointment_unsendable_recipients: List[MapiRecipientDto] = None, not_allow_propose: bool = None, response_requested: bool = None): """ Mapi calendar attendees. - :param appointment_recipients (List[MapiRecipientDto]) List of attendees. - :param appointment_unsendable_recipients (List[MapiRecipientDto]) List of unsendable attendees. - :param not_allow_propose (bool) Value indicating whether attendees are not allowed to propose a new date and/or time for the meeting. - :param response_requested (bool) Value indicating whether a response is requested to a Message object. + :param appointment_recipients: List of attendees. + :param appointment_unsendable_recipients: List of unsendable attendees. + :param not_allow_propose: Value indicating whether attendees are not allowed to propose a new date and/or time for the meeting. + :param response_requested: Value indicating whether a response is requested to a Message object. + :type MapiCalendarAttendeesDto: """ self._appointment_recipients = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py index 316ad53..e939782 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py @@ -84,21 +84,22 @@ class MapiCalendarDailyRecurrencePatternDto(MapiCalendarRecurrencePatternDto): def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, discriminator: str = None, day_of_week: List[str] = None): """ Represents the daily recurrence pattern of the mapi calendar. - :param calendar_type (str) Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura - :param deleted_instance_dates (List[datetime]) An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. - :param end_date (datetime) End date of an item recurrence pattern. - :param end_type (str) Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd - :param exceptions (List[MapiCalendarExceptionInfoDto]) An exception specifies changes to an instance of a recurring series. - :param frequency (str) Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly - :param modified_instance_dates (List[datetime]) An array of dates, each of which is the date of a modified instance. - :param occurrence_count (int) Number of occurrences in a recurrence. - :param pattern_type (str) Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd - :param period (int) Interval at which the meeting pattern repeats. - :param sliding_flag (bool) Defines whether pattern is sliding or not. - :param start_date (datetime) Start date of an item recurrence pattern. - :param week_start_day (str) Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday - :param discriminator (str) - :param day_of_week (List[str]) Days of week at which the event occurs. + :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura + :param deleted_instance_dates: An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. + :param end_date: End date of an item recurrence pattern. + :param end_type: Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd + :param exceptions: An exception specifies changes to an instance of a recurring series. + :param frequency: Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly + :param modified_instance_dates: An array of dates, each of which is the date of a modified instance. + :param occurrence_count: Number of occurrences in a recurrence. + :param pattern_type: Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd + :param period: Interval at which the meeting pattern repeats. + :param sliding_flag: Defines whether pattern is sliding or not. + :param start_date: Start date of an item recurrence pattern. + :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :param discriminator: + :param day_of_week: Days of week at which the event occurs. + :type MapiCalendarDailyRecurrencePatternDto: """ super(MapiCalendarDailyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py index 640ffb6..6fa36d4 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py @@ -130,41 +130,42 @@ class MapiCalendarDto(MapiMessageItemBaseDto): def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, discriminator: str = None, appointment_counter_proposal: bool = None, attendees: MapiCalendarAttendeesDto = None, busy_status: str = None, client_intent: List[str] = None, end_date: datetime = None, end_date_time_zone: MapiCalendarTimeZoneDto = None, is_all_day: bool = None, key_words: str = None, location: str = None, recurrence: MapiCalendarEventRecurrenceDto = None, reminder_delta: int = None, reminder_file_parameter: str = None, reminder_set: bool = None, sequence: int = None, start_date: datetime = None, start_date_time_zone: MapiCalendarTimeZoneDto = None, uid: str = None, organizer: MapiElectronicAddressDto = None): """ Represents the mapi calendar object - :param attachments (List[MapiAttachmentDto]) Message item attachments. - :param billing (str) Billing information associated with an item. - :param body (str) Message text. - :param body_html (str) Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. - :param body_rtf (str) RTF formatted message text. - :param body_type (str) The content type of message body. Enum, available values: PlainText, Html, Rtf - :param categories (List[str]) Contains keywords or categories for the message object. - :param companies (List[str]) Contains the names of the companies that are associated with an item. - :param item_id (str) The item id, uses with a server. - :param message_class (str) Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. - :param mileage (str) Contains the mileage information that is associated with an item. - :param recipients (List[MapiRecipientDto]) Recipients of the message. - :param sensitivity (str) Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential - :param subject (str) Subject of the message. - :param subject_prefix (str) Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. - :param properties (List[MapiPropertyDto]) List of MAPI properties - :param discriminator (str) - :param appointment_counter_proposal (bool) Value indicating whether a Meeting Response object is a counter proposal. - :param attendees (MapiCalendarAttendeesDto) Attendees - :param busy_status (str) Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice - :param client_intent (List[str]) Actions the user has taken on this Meeting object. - :param end_date (datetime) End date and time of the event. If the date is not set, default value for DateTime is returned. - :param end_date_time_zone (MapiCalendarTimeZoneDto) Time zone information that indicates the time zone of the EndDate property. - :param is_all_day (bool) Value indicating whether the event is an all-day event. - :param key_words (str) Categories of the calendar object. - :param location (str) Location of the event. - :param recurrence (MapiCalendarEventRecurrenceDto) Recurrence properties. - :param reminder_delta (int) Interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object. - :param reminder_file_parameter (str) Full path of the sound that a client SHOULD play when the reminder becomes overdue. - :param reminder_set (bool) Value indicating whether a reminder is set on the object. - :param sequence (int) Sequence number. - :param start_date (datetime) Start date and time of the event. If the date is not set, default value for DateTime is returned. - :param start_date_time_zone (MapiCalendarTimeZoneDto) Time zone information that indicates the time zone of the StartDate property. - :param uid (str) Unique identifier. - :param organizer (MapiElectronicAddressDto) Organizer + :param attachments: Message item attachments. + :param billing: Billing information associated with an item. + :param body: Message text. + :param body_html: Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. + :param body_rtf: RTF formatted message text. + :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :param categories: Contains keywords or categories for the message object. + :param companies: Contains the names of the companies that are associated with an item. + :param item_id: The item id, uses with a server. + :param message_class: Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. + :param mileage: Contains the mileage information that is associated with an item. + :param recipients: Recipients of the message. + :param sensitivity: Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential + :param subject: Subject of the message. + :param subject_prefix: Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. + :param properties: List of MAPI properties + :param discriminator: + :param appointment_counter_proposal: Value indicating whether a Meeting Response object is a counter proposal. + :param attendees: Attendees + :param busy_status: Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice + :param client_intent: Actions the user has taken on this Meeting object. + :param end_date: End date and time of the event. If the date is not set, default value for DateTime is returned. + :param end_date_time_zone: Time zone information that indicates the time zone of the EndDate property. + :param is_all_day: Value indicating whether the event is an all-day event. + :param key_words: Categories of the calendar object. + :param location: Location of the event. + :param recurrence: Recurrence properties. + :param reminder_delta: Interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object. + :param reminder_file_parameter: Full path of the sound that a client SHOULD play when the reminder becomes overdue. + :param reminder_set: Value indicating whether a reminder is set on the object. + :param sequence: Sequence number. + :param start_date: Start date and time of the event. If the date is not set, default value for DateTime is returned. + :param start_date_time_zone: Time zone information that indicates the time zone of the StartDate property. + :param uid: Unique identifier. + :param organizer: Organizer + :type MapiCalendarDto: """ super(MapiCalendarDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py index 335b442..4f54b70 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py @@ -66,12 +66,13 @@ class MapiCalendarEventRecurrenceDto(object): def __init__(self, appointment_time_zone_definition_recur: MapiCalendarTimeZoneDto = None, clip_end: datetime = None, clip_start: datetime = None, is_exception: bool = None, recurrence_pattern: MapiCalendarRecurrencePatternDto = None, time_zone_struct: MapiCalendarTimeZoneDto = None): """ Recurrence properties of calendar object. - :param appointment_time_zone_definition_recur (MapiCalendarTimeZoneDto) Time zone information that describes how to convert the meeting date and time on a recurring series to and from UTC. - :param clip_end (datetime) Date of the last instance. - :param clip_start (datetime) Date of the first instance. - :param is_exception (bool) Value indicating whether the object represents an exception. - :param recurrence_pattern (MapiCalendarRecurrencePatternDto) Recurrence pattern. - :param time_zone_struct (MapiCalendarTimeZoneDto) Time zone information for a recurring meeting. + :param appointment_time_zone_definition_recur: Time zone information that describes how to convert the meeting date and time on a recurring series to and from UTC. + :param clip_end: Date of the last instance. + :param clip_start: Date of the first instance. + :param is_exception: Value indicating whether the object represents an exception. + :param recurrence_pattern: Recurrence pattern. + :param time_zone_struct: Time zone information for a recurring meeting. + :type MapiCalendarEventRecurrenceDto: """ self._appointment_time_zone_definition_recur = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py index 3021104..7f4f37a 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py @@ -81,20 +81,21 @@ class MapiCalendarExceptionInfoDto(object): def __init__(self, attachments: List[MapiAttachmentDto] = None, body: str = None, busy_status: str = None, end_date_time: datetime = None, has_attachment: bool = None, location: str = None, meeting_type: str = None, original_start_date: datetime = None, override_flags: List[str] = None, reminder_delta: int = None, reminder_set: bool = None, start_date_time: datetime = None, subject: str = None, sub_type: int = None): """ An exception specifies changes to an instance of a recurring series. - :param attachments (List[MapiAttachmentDto]) Attachments in the recurrence exception. - :param body (str) Body. - :param busy_status (str) Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice - :param end_date_time (datetime) End date. - :param has_attachment (bool) Value of this field specifies whether the Exception Embedded Message object contains attachments. - :param location (str) Location. - :param meeting_type (str) Enumerates the appointment state Enum, available values: Meeting, Received, Canceled - :param original_start_date (datetime) Original start date. - :param override_flags (List[str]) Override flags. - :param reminder_delta (int) Reminder delta. - :param reminder_set (bool) Value for the PidLidReminderSet property. - :param start_date_time (datetime) Start date. - :param subject (str) Subject. - :param sub_type (int) SubType. + :param attachments: Attachments in the recurrence exception. + :param body: Body. + :param busy_status: Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice + :param end_date_time: End date. + :param has_attachment: Value of this field specifies whether the Exception Embedded Message object contains attachments. + :param location: Location. + :param meeting_type: Enumerates the appointment state Enum, available values: Meeting, Received, Canceled + :param original_start_date: Original start date. + :param override_flags: Override flags. + :param reminder_delta: Reminder delta. + :param reminder_set: Value for the PidLidReminderSet property. + :param start_date_time: Start date. + :param subject: Subject. + :param sub_type: SubType. + :type MapiCalendarExceptionInfoDto: """ self._attachments = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py index 3a7735e..c067e2a 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py @@ -33,7 +33,8 @@ class MapiCalendarFromFileRequest(object): Request model for mapi_calendar_from_file operation. Initializes a new instance. - :param file (str) File to convert + :param file: File to convert + :type file: str """ def __init__(self, file: str): @@ -41,7 +42,8 @@ def __init__(self, file: str): Request model for mapi_calendar_from_file operation. Initializes a new instance. - :param file (str) File to convert + :param file: File to convert + :type file: str """ self.file = file diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py index 41d7767..8f2278b 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py @@ -33,9 +33,12 @@ class MapiCalendarGetRequest(object): Request model for mapi_calendar_get operation. Initializes a new instance. - :param file_name (str) Calendar file name in storage. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param file_name: Calendar file name in storage. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ def __init__(self, file_name: str, folder: str = None, storage: str = None): @@ -43,9 +46,12 @@ def __init__(self, file_name: str, folder: str = None, storage: str = None): Request model for mapi_calendar_get operation. Initializes a new instance. - :param file_name (str) Calendar file name in storage. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param file_name: Calendar file name in storage. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ self.file_name = file_name diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py index 3e463cd..0865c5a 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py @@ -81,20 +81,21 @@ class MapiCalendarRecurrencePatternDto(object): def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, discriminator: str = None): """ Mapi recurrence pattern. - :param calendar_type (str) Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura - :param deleted_instance_dates (List[datetime]) An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. - :param end_date (datetime) End date of an item recurrence pattern. - :param end_type (str) Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd - :param exceptions (List[MapiCalendarExceptionInfoDto]) An exception specifies changes to an instance of a recurring series. - :param frequency (str) Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly - :param modified_instance_dates (List[datetime]) An array of dates, each of which is the date of a modified instance. - :param occurrence_count (int) Number of occurrences in a recurrence. - :param pattern_type (str) Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd - :param period (int) Interval at which the meeting pattern repeats. - :param sliding_flag (bool) Defines whether pattern is sliding or not. - :param start_date (datetime) Start date of an item recurrence pattern. - :param week_start_day (str) Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday - :param discriminator (str) + :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura + :param deleted_instance_dates: An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. + :param end_date: End date of an item recurrence pattern. + :param end_type: Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd + :param exceptions: An exception specifies changes to an instance of a recurring series. + :param frequency: Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly + :param modified_instance_dates: An array of dates, each of which is the date of a modified instance. + :param occurrence_count: Number of occurrences in a recurrence. + :param pattern_type: Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd + :param period: Interval at which the meeting pattern repeats. + :param sliding_flag: Defines whether pattern is sliding or not. + :param start_date: Start date of an item recurrence pattern. + :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :param discriminator: + :type MapiCalendarRecurrencePatternDto: """ self._calendar_type = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py index 22485e8..94225bc 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py @@ -61,9 +61,10 @@ class MapiCalendarSaveRequest(StorageModelOfMapiCalendarDto): def __init__(self, storage_file: StorageFileLocation = None, value: MapiCalendarDto = None, format: str = None): """ Save MapiCalendar to storage request. - :param storage_file (StorageFileLocation) - :param value (MapiCalendarDto) - :param format (str) Calendar file format Enum, available values: Ics, Msg + :param storage_file: + :param value: + :param format: Calendar file format Enum, available values: Ics, Msg + :type MapiCalendarSaveRequest: """ super(MapiCalendarSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py index ea20699..d6bbd32 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py @@ -57,8 +57,9 @@ class MapiCalendarTimeZoneDto(object): def __init__(self, key_name: str = None, time_zone_rules: List[MapiCalendarTimeZoneInfoDto] = None): """ Represents the mapi calendar time zone information. - :param key_name (str) Human-readable description of the time zone. - :param time_zone_rules (List[MapiCalendarTimeZoneInfoDto]) Time zone rules + :param key_name: Human-readable description of the time zone. + :param time_zone_rules: Time zone rules + :type MapiCalendarTimeZoneDto: """ self._key_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py index e943431..cffabed 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py @@ -67,13 +67,14 @@ class MapiCalendarTimeZoneInfoDto(object): def __init__(self, bias: int = None, daylight_bias: int = None, daylight_date: MapiCalendarTimeZoneRuleDto = None, standard_bias: int = None, standard_date: MapiCalendarTimeZoneRuleDto = None, time_zone_flags: List[str] = None, year: int = None): """ Represents the mapi calendar time zone rule. - :param bias (int) Time zone's offset in minutes from UTC. - :param daylight_bias (int) Offset in minutes from lBias during daylight saving time. - :param daylight_date (MapiCalendarTimeZoneRuleDto) Date and local time that indicate when to begin using the DaylightBias. - :param standard_bias (int) Offset in minutes from lBias during standard time. - :param standard_date (MapiCalendarTimeZoneRuleDto) Date and local time that indicate when to begin using the StandardBias. - :param time_zone_flags (List[str]) Individual bit flags that specify information about this TimeZoneRule. - :param year (int) Year in which this rule is scheduled to take effect. + :param bias: Time zone's offset in minutes from UTC. + :param daylight_bias: Offset in minutes from lBias during daylight saving time. + :param daylight_date: Date and local time that indicate when to begin using the DaylightBias. + :param standard_bias: Offset in minutes from lBias during standard time. + :param standard_date: Date and local time that indicate when to begin using the StandardBias. + :param time_zone_flags: Individual bit flags that specify information about this TimeZoneRule. + :param year: Year in which this rule is scheduled to take effect. + :type MapiCalendarTimeZoneInfoDto: """ self._bias = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py index 553d877..0a7b4a9 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py @@ -69,15 +69,16 @@ class MapiCalendarTimeZoneRuleDto(object): def __init__(self, _date: datetime = None, day_of_week: str = None, hour: int = None, milliseconds: int = None, minute: int = None, month: int = None, position: str = None, seconds: int = None, year: int = None): """ Represents time zone rule that indicate when to begin using the Standard/Daylight time. - :param _date (datetime) Date and time that indicate when to begin using the Standard/Daylight time. - :param day_of_week (str) Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday - :param hour (int) Hour. - :param milliseconds (int) Milliseconds. - :param minute (int) Minute. - :param month (int) Month. - :param position (str) Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last - :param seconds (int) Seconds. - :param year (int) Year. + :param _date: Date and time that indicate when to begin using the Standard/Daylight time. + :param day_of_week: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :param hour: Hour. + :param milliseconds: Milliseconds. + :param minute: Minute. + :param month: Month. + :param position: Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last + :param seconds: Seconds. + :param year: Year. + :type MapiCalendarTimeZoneRuleDto: """ self.__date = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py index 3b3d94c..18c3745 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py @@ -84,21 +84,22 @@ class MapiCalendarWeeklyRecurrencePatternDto(MapiCalendarRecurrencePatternDto): def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, discriminator: str = None, day_of_week: List[str] = None): """ Represents the weekly recurrence pattern of the mapi calendar - :param calendar_type (str) Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura - :param deleted_instance_dates (List[datetime]) An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. - :param end_date (datetime) End date of an item recurrence pattern. - :param end_type (str) Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd - :param exceptions (List[MapiCalendarExceptionInfoDto]) An exception specifies changes to an instance of a recurring series. - :param frequency (str) Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly - :param modified_instance_dates (List[datetime]) An array of dates, each of which is the date of a modified instance. - :param occurrence_count (int) Number of occurrences in a recurrence. - :param pattern_type (str) Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd - :param period (int) Interval at which the meeting pattern repeats. - :param sliding_flag (bool) Defines whether pattern is sliding or not. - :param start_date (datetime) Start date of an item recurrence pattern. - :param week_start_day (str) Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday - :param discriminator (str) - :param day_of_week (List[str]) Days of week at which the event occurs. + :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura + :param deleted_instance_dates: An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. + :param end_date: End date of an item recurrence pattern. + :param end_type: Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd + :param exceptions: An exception specifies changes to an instance of a recurring series. + :param frequency: Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly + :param modified_instance_dates: An array of dates, each of which is the date of a modified instance. + :param occurrence_count: Number of occurrences in a recurrence. + :param pattern_type: Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd + :param period: Interval at which the meeting pattern repeats. + :param sliding_flag: Defines whether pattern is sliding or not. + :param start_date: Start date of an item recurrence pattern. + :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :param discriminator: + :param day_of_week: Days of week at which the event occurs. + :type MapiCalendarWeeklyRecurrencePatternDto: """ super(MapiCalendarWeeklyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py index 3508ac6..29f4057 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py @@ -88,23 +88,24 @@ class MapiCalendarYearlyAndMonthlyRecurrencePatternDto(MapiCalendarRecurrencePat def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, discriminator: str = None, day: int = None, day_of_week: List[str] = None, position: str = None): """ Represents the yearly and monthly recurrence pattern of the mapi calendar - :param calendar_type (str) Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura - :param deleted_instance_dates (List[datetime]) An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. - :param end_date (datetime) End date of an item recurrence pattern. - :param end_type (str) Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd - :param exceptions (List[MapiCalendarExceptionInfoDto]) An exception specifies changes to an instance of a recurring series. - :param frequency (str) Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly - :param modified_instance_dates (List[datetime]) An array of dates, each of which is the date of a modified instance. - :param occurrence_count (int) Number of occurrences in a recurrence. - :param pattern_type (str) Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd - :param period (int) Interval at which the meeting pattern repeats. - :param sliding_flag (bool) Defines whether pattern is sliding or not. - :param start_date (datetime) Start date of an item recurrence pattern. - :param week_start_day (str) Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday - :param discriminator (str) - :param day (int) Day of the month on which the recurrence falls. - :param day_of_week (List[str]) Days of week at which the event occurs. - :param position (str) Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last + :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura + :param deleted_instance_dates: An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. + :param end_date: End date of an item recurrence pattern. + :param end_type: Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd + :param exceptions: An exception specifies changes to an instance of a recurring series. + :param frequency: Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly + :param modified_instance_dates: An array of dates, each of which is the date of a modified instance. + :param occurrence_count: Number of occurrences in a recurrence. + :param pattern_type: Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd + :param period: Interval at which the meeting pattern repeats. + :param sliding_flag: Defines whether pattern is sliding or not. + :param start_date: Start date of an item recurrence pattern. + :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :param discriminator: + :param day: Day of the month on which the recurrence falls. + :param day_of_week: Days of week at which the event occurs. + :param position: Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last + :type MapiCalendarYearlyAndMonthlyRecurrencePatternDto: """ super(MapiCalendarYearlyAndMonthlyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py index 1506e6e..f52a6ef 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py @@ -57,8 +57,9 @@ class MapiContactAsFileRequest(object): def __init__(self, format: str = None, value: MapiContactDto = None): """ Convert MapiContact to file request. - :param format (str) Enumerates contact formats. Enum, available values: VCard, WebDav, Msg - :param value (MapiContactDto) MAPI contact model. + :param format: Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :param value: MAPI contact model. + :type MapiContactAsFileRequest: """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py index 15dbbed..d8b40ce 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py @@ -117,32 +117,33 @@ class MapiContactDto(MapiMessageItemBaseDto): def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, discriminator: str = None, electronic_addresses: MapiContactElectronicAddressPropertySetDto = None, events: MapiContactEventPropertySetDto = None, name_info: MapiContactNamePropertySetDto = None, other_fields: MapiContactOtherPropertySetDto = None, personal_info: MapiContactPersonalInfoPropertySetDto = None, photo: MapiContactPhotoDto = None, physical_addresses: MapiContactPhysicalAddressPropertySetDto = None, professional_info: MapiContactProfessionalPropertySetDto = None, telephones: MapiContactTelephonePropertySetDto = None): """ Represents outlook contact information. - :param attachments (List[MapiAttachmentDto]) Message item attachments. - :param billing (str) Billing information associated with an item. - :param body (str) Message text. - :param body_html (str) Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. - :param body_rtf (str) RTF formatted message text. - :param body_type (str) The content type of message body. Enum, available values: PlainText, Html, Rtf - :param categories (List[str]) Contains keywords or categories for the message object. - :param companies (List[str]) Contains the names of the companies that are associated with an item. - :param item_id (str) The item id, uses with a server. - :param message_class (str) Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. - :param mileage (str) Contains the mileage information that is associated with an item. - :param recipients (List[MapiRecipientDto]) Recipients of the message. - :param sensitivity (str) Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential - :param subject (str) Subject of the message. - :param subject_prefix (str) Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. - :param properties (List[MapiPropertyDto]) List of MAPI properties - :param discriminator (str) - :param electronic_addresses (MapiContactElectronicAddressPropertySetDto) Specify properties for up to three different e-mail addresses and three different fax addresses. - :param events (MapiContactEventPropertySetDto) Specify events associated with a contact. - :param name_info (MapiContactNamePropertySetDto) The properties are used to specify the name of the person represented by the contact. - :param other_fields (MapiContactOtherPropertySetDto) Specify other fields of contact. - :param personal_info (MapiContactPersonalInfoPropertySetDto) Specify other additional contact information. - :param photo (MapiContactPhotoDto) Contact photo. - :param physical_addresses (MapiContactPhysicalAddressPropertySetDto) Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address. - :param professional_info (MapiContactProfessionalPropertySetDto) Properties are used to store professional details for the person represented by the contact. - :param telephones (MapiContactTelephonePropertySetDto) Specify telephone numbers for the contact. + :param attachments: Message item attachments. + :param billing: Billing information associated with an item. + :param body: Message text. + :param body_html: Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. + :param body_rtf: RTF formatted message text. + :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :param categories: Contains keywords or categories for the message object. + :param companies: Contains the names of the companies that are associated with an item. + :param item_id: The item id, uses with a server. + :param message_class: Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. + :param mileage: Contains the mileage information that is associated with an item. + :param recipients: Recipients of the message. + :param sensitivity: Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential + :param subject: Subject of the message. + :param subject_prefix: Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. + :param properties: List of MAPI properties + :param discriminator: + :param electronic_addresses: Specify properties for up to three different e-mail addresses and three different fax addresses. + :param events: Specify events associated with a contact. + :param name_info: The properties are used to specify the name of the person represented by the contact. + :param other_fields: Specify other fields of contact. + :param personal_info: Specify other additional contact information. + :param photo: Contact photo. + :param physical_addresses: Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address. + :param professional_info: Properties are used to store professional details for the person represented by the contact. + :param telephones: Specify telephone numbers for the contact. + :type MapiContactDto: """ super(MapiContactDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py index e3ad8ad..1c2ed51 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py @@ -63,12 +63,13 @@ class MapiContactElectronicAddressDto(object): def __init__(self, address_type: str = None, display_name: str = None, email_address: str = None, fax_number: str = None, is_empty: bool = None, original_display_name: str = None): """ Refers to the group of properties that define the e-mail address or fax address for a contact. - :param address_type (str) Address type of an electronic address - :param display_name (str) User-readable display name for the e-mail address - :param email_address (str) E-mail address of the contact - :param fax_number (str) Telephone number of the mail user's primary fax machine - :param is_empty (bool) Shows if MapiContactElectronicAddress is empty - :param original_display_name (str) SMTP e-mail address that corresponds to the e-mail address for the Contact object. + :param address_type: Address type of an electronic address + :param display_name: User-readable display name for the e-mail address + :param email_address: E-mail address of the contact + :param fax_number: Telephone number of the mail user's primary fax machine + :param is_empty: Shows if MapiContactElectronicAddress is empty + :param original_display_name: SMTP e-mail address that corresponds to the e-mail address for the Contact object. + :type MapiContactElectronicAddressDto: """ self._address_type = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py index a5d80af..ae21d48 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py @@ -71,15 +71,16 @@ class MapiContactElectronicAddressPropertySetDto(object): def __init__(self, business_fax: MapiContactElectronicAddressDto = None, default_email_address: MapiContactElectronicAddressDto = None, email1: MapiContactElectronicAddressDto = None, email2: MapiContactElectronicAddressDto = None, email3: MapiContactElectronicAddressDto = None, home_fax: MapiContactElectronicAddressDto = None, is_empty: bool = None, primary_fax: MapiContactElectronicAddressDto = None, use_autocomplete: bool = None): """ Specify properties for up to three different e-mail addresses (Email1, Email2, and Email3) and three different fax addresses (Primary Fax, Business Fax, and Home Fax) - :param business_fax (MapiContactElectronicAddressDto) Refers to the group of properties that define the business fax address for a contact. - :param default_email_address (MapiContactElectronicAddressDto) Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' - :param email1 (MapiContactElectronicAddressDto) Refers to the group of properties that define the first e-mail address for a contact. - :param email2 (MapiContactElectronicAddressDto) Refers to the group of properties that define the second e-mail address for a contact. - :param email3 (MapiContactElectronicAddressDto) Refers to the group of properties that define the third e-mail address for a contact. - :param home_fax (MapiContactElectronicAddressDto) Refers to the group of properties that define the home fax address for a contact. - :param is_empty (bool) Shows if MapiContactElectronicAddressPropertySetDto is empty - :param primary_fax (MapiContactElectronicAddressDto) Refers to the group of properties that define the primary fax address for a contact. - :param use_autocomplete (bool) Indicates that one electronic address is completed automatically in case if user does not set any electronic address + :param business_fax: Refers to the group of properties that define the business fax address for a contact. + :param default_email_address: Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' + :param email1: Refers to the group of properties that define the first e-mail address for a contact. + :param email2: Refers to the group of properties that define the second e-mail address for a contact. + :param email3: Refers to the group of properties that define the third e-mail address for a contact. + :param home_fax: Refers to the group of properties that define the home fax address for a contact. + :param is_empty: Shows if MapiContactElectronicAddressPropertySetDto is empty + :param primary_fax: Refers to the group of properties that define the primary fax address for a contact. + :param use_autocomplete: Indicates that one electronic address is completed automatically in case if user does not set any electronic address + :type MapiContactElectronicAddressPropertySetDto: """ self._business_fax = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py index 38f94c7..22287b3 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py @@ -55,8 +55,9 @@ class MapiContactEventPropertySetDto(object): def __init__(self, birthday: datetime = None, wedding_anniversary: datetime = None): """ Specify events associated with a contact. - :param birthday (datetime) Specifies the birthday of the contact. - :param wedding_anniversary (datetime) Specifies the wedding anniversary of the contact. + :param birthday: Specifies the birthday of the contact. + :param wedding_anniversary: Specifies the wedding anniversary of the contact. + :type MapiContactEventPropertySetDto: """ self._birthday = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py index a28978e..48ee773 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py @@ -33,8 +33,10 @@ class MapiContactFromFileRequest(object): Request model for mapi_contact_from_file operation. Initializes a new instance. - :param format (str) File format Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert + :param format: File format Enum, available values: VCard, WebDav, Msg + :type format: str + :param file: File to convert + :type file: str """ def __init__(self, format: str, file: str): @@ -42,8 +44,10 @@ def __init__(self, format: str, file: str): Request model for mapi_contact_from_file operation. Initializes a new instance. - :param format (str) File format Enum, available values: VCard, WebDav, Msg - :param file (str) File to convert + :param format: File format Enum, available values: VCard, WebDav, Msg + :type format: str + :param file: File to convert + :type file: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py index 8bde9fc..7e48c7a 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py @@ -33,10 +33,14 @@ class MapiContactGetRequest(object): Request model for mapi_contact_get operation. Initializes a new instance. - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param file_name (str) Contact document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param format: Contact document format. Enum, available values: VCard, WebDav, Msg + :type format: str + :param file_name: Contact document file name. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ def __init__(self, format: str, file_name: str, folder: str = None, storage: str = None): @@ -44,10 +48,14 @@ def __init__(self, format: str, file_name: str, folder: str = None, storage: str Request model for mapi_contact_get operation. Initializes a new instance. - :param format (str) Contact document format. Enum, available values: VCard, WebDav, Msg - :param file_name (str) Contact document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param format: Contact document format. Enum, available values: VCard, WebDav, Msg + :type format: str + :param file_name: Contact document file name. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py index 069b91d..b7ccf29 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py @@ -71,16 +71,17 @@ class MapiContactNamePropertySetDto(object): def __init__(self, display_name: str = None, display_name_prefix: str = None, file_under: str = None, file_under_id: int = None, generation: str = None, given_name: str = None, initials: str = None, middle_name: str = None, nickname: str = None, surname: str = None): """ The properties are used to specify the name of the person represented by the contact - :param display_name (str) Full name of the contact - :param display_name_prefix (str) Title of the contact - :param file_under (str) Name under which to file this contact when displaying a list of contacts - :param file_under_id (int) Value specifying how to generate and recompute the property when other properties are changed - :param generation (str) Generation suffix of the contact - :param given_name (str) Given name (first name) of the contact - :param initials (str) Initials of the contact - :param middle_name (str) Middle name of the contact - :param nickname (str) Nickname of the contact - :param surname (str) Surname (family name) of the contact + :param display_name: Full name of the contact + :param display_name_prefix: Title of the contact + :param file_under: Name under which to file this contact when displaying a list of contacts + :param file_under_id: Value specifying how to generate and recompute the property when other properties are changed + :param generation: Generation suffix of the contact + :param given_name: Given name (first name) of the contact + :param initials: Initials of the contact + :param middle_name: Middle name of the contact + :param nickname: Nickname of the contact + :param surname: Surname (family name) of the contact + :type MapiContactNamePropertySetDto: """ self._display_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py index a031870..9be7e23 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py @@ -67,14 +67,15 @@ class MapiContactOtherPropertySetDto(object): def __init__(self, private: bool = None, journal: bool = None, reminder_time: datetime = None, reminder_topic: str = None, user_field1: str = None, user_field2: str = None, user_field3: str = None, user_field4: str = None): """ The properties are used to specify additional properties of contact. - :param private (bool) Indicates whether the end-user wants this message object hidden from other users who have access to the message object. - :param journal (bool) Specifies whether to create a journal for each action associated with this contact. - :param reminder_time (datetime) Specifies the initial signal time for a reminder. - :param reminder_topic (str) Represents the status of a meeting request. - :param user_field1 (str) Specifies the first field on the contact that is intended for miscellaneous use for the contact. - :param user_field2 (str) Specifies the second field on the contact that is intended for miscellaneous use for the contact. - :param user_field3 (str) Specifies the third field on the contact that is intended for miscellaneous use for the contact. - :param user_field4 (str) Specifies the forth field on the contact that is intended for miscellaneous use for the contact. + :param private: Indicates whether the end-user wants this message object hidden from other users who have access to the message object. + :param journal: Specifies whether to create a journal for each action associated with this contact. + :param reminder_time: Specifies the initial signal time for a reminder. + :param reminder_topic: Represents the status of a meeting request. + :param user_field1: Specifies the first field on the contact that is intended for miscellaneous use for the contact. + :param user_field2: Specifies the second field on the contact that is intended for miscellaneous use for the contact. + :param user_field3: Specifies the third field on the contact that is intended for miscellaneous use for the contact. + :param user_field4: Specifies the forth field on the contact that is intended for miscellaneous use for the contact. + :type MapiContactOtherPropertySetDto: """ self._private = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py index ef812b7..acbdc09 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py @@ -89,25 +89,26 @@ class MapiContactPersonalInfoPropertySetDto(object): def __init__(self, spouse_name: str = None, personal_home_page: str = None, language: str = None, notes: str = None, hobbies: str = None, location: str = None, instant_messaging_address: str = None, organizational_id_number: str = None, customer_id: str = None, government_id_number: str = None, free_busy_location: str = None, account: str = None, html: str = None, business_home_page: str = None, ftp_site: str = None, computer_network_name: str = None, gender: str = None, referred_by_name: str = None, children: List[str] = None): """ Specify other additional contact information. - :param spouse_name (str) Specifies the name of the contact's spouse/partner - :param personal_home_page (str) Specifies the contact's personal web page URL - :param language (str) Specifies the language that the contact uses - :param notes (str) Specifies the additional notes - :param hobbies (str) Specifies the hobbies of the contact - :param location (str) Specifies the location of the contact - :param instant_messaging_address (str) Specifies the contact's instant messaging address - :param organizational_id_number (str) Specifies an organizational ID number for the contact - :param customer_id (str) Specifies the contact's customer ID number - :param government_id_number (str) Specifies the contact's government ID number - :param free_busy_location (str) Specifies a URL path from which a client can retrieve free/busy information for the contact as an iCal file - :param account (str) Specifies the account name of the contact - :param html (str) Specifies the contact's business web page URL - :param business_home_page (str) Specifies the contact's business web page URL - :param ftp_site (str) Specifies the contact's File Transfer Protocol (FTP) URL - :param computer_network_name (str) Specifies the name of the network to which the contact's computer is connected - :param gender (str) Gender of the contact Enum, available values: Unspecified, Female, Male - :param referred_by_name (str) Specifies the name of the person who referred this contact to the user - :param children (List[str]) Contains a list of names of children. + :param spouse_name: Specifies the name of the contact's spouse/partner + :param personal_home_page: Specifies the contact's personal web page URL + :param language: Specifies the language that the contact uses + :param notes: Specifies the additional notes + :param hobbies: Specifies the hobbies of the contact + :param location: Specifies the location of the contact + :param instant_messaging_address: Specifies the contact's instant messaging address + :param organizational_id_number: Specifies an organizational ID number for the contact + :param customer_id: Specifies the contact's customer ID number + :param government_id_number: Specifies the contact's government ID number + :param free_busy_location: Specifies a URL path from which a client can retrieve free/busy information for the contact as an iCal file + :param account: Specifies the account name of the contact + :param html: Specifies the contact's business web page URL + :param business_home_page: Specifies the contact's business web page URL + :param ftp_site: Specifies the contact's File Transfer Protocol (FTP) URL + :param computer_network_name: Specifies the name of the network to which the contact's computer is connected + :param gender: Gender of the contact Enum, available values: Unspecified, Female, Male + :param referred_by_name: Specifies the name of the person who referred this contact to the user + :param children: Contains a list of names of children. + :type MapiContactPersonalInfoPropertySetDto: """ self._spouse_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py index a76716b..2394f66 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py @@ -59,9 +59,10 @@ class MapiContactPhotoDto(ContactPhoto): def __init__(self, photo_image_format: str = None, base64_data: str = None, discriminator: str = None): """ Contains data and type of contact's photo. - :param photo_image_format (str) MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff - :param base64_data (str) Photo serialized as base64 string. - :param discriminator (str) + :param photo_image_format: MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff + :param base64_data: Photo serialized as base64 string. + :param discriminator: + :type MapiContactPhotoDto: """ super(MapiContactPhotoDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py index 62b9cb3..09901a5 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py @@ -69,15 +69,16 @@ class MapiContactPhysicalAddressDto(object): def __init__(self, is_mailing_address: bool = None, street: str = None, city: str = None, state_or_province: str = None, postal_code: str = None, country: str = None, country_code: str = None, address: str = None, post_office_box: str = None): """ Refers to the group of properties that define physical address for a contact. - :param is_mailing_address (bool) Gets or sets a value indicating whether this address is mailing address - :param street (str) Specifies the street portion of the contact's address - :param city (str) Specifies the city or locality portion of the contact's address - :param state_or_province (str) Specifies the state or province portion of the contact's address - :param postal_code (str) Specifies the postal code (ZIP code) portion of the contact's address - :param country (str) Specifies the country or region portion of the contact's address - :param country_code (str) Specifies the country code portion of the contact's address - :param address (str) Specifies the complete address of the contact's address - :param post_office_box (str) Gets or sets the post office box + :param is_mailing_address: Gets or sets a value indicating whether this address is mailing address + :param street: Specifies the street portion of the contact's address + :param city: Specifies the city or locality portion of the contact's address + :param state_or_province: Specifies the state or province portion of the contact's address + :param postal_code: Specifies the postal code (ZIP code) portion of the contact's address + :param country: Specifies the country or region portion of the contact's address + :param country_code: Specifies the country code portion of the contact's address + :param address: Specifies the complete address of the contact's address + :param post_office_box: Gets or sets the post office box + :type MapiContactPhysicalAddressDto: """ self._is_mailing_address = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py index de51914..8e709b0 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py @@ -59,9 +59,10 @@ class MapiContactPhysicalAddressPropertySetDto(object): def __init__(self, work_address: MapiContactPhysicalAddressDto = None, home_address: MapiContactPhysicalAddressDto = None, other_address: MapiContactPhysicalAddressDto = None): """ Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address - :param work_address (MapiContactPhysicalAddressDto) Specifies the address of the contact's work - :param home_address (MapiContactPhysicalAddressDto) Specifies the address of the contact's home - :param other_address (MapiContactPhysicalAddressDto) Specifies the other contact's address + :param work_address: Specifies the address of the contact's work + :param home_address: Specifies the address of the contact's home + :param other_address: Specifies the other contact's address + :type MapiContactPhysicalAddressPropertySetDto: """ self._work_address = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py index 7399559..7076006 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py @@ -65,13 +65,14 @@ class MapiContactProfessionalPropertySetDto(object): def __init__(self, title: str = None, company_name: str = None, department_name: str = None, office_location: str = None, manager_name: str = None, assistant: str = None, profession: str = None): """ Properties are used to store professional details for the person represented by the contact - :param title (str) Gets or sets the job title of the contact - :param company_name (str) Gets or sets the company that employs the contact - :param department_name (str) Gets or sets the name of the department to which the contact belongs - :param office_location (str) Gets or sets the location of the office that the contact works in - :param manager_name (str) Gets or sets the name of the contact's manager - :param assistant (str) Gets or sets the name of the contact's assistant - :param profession (str) Gets or sets the profession of the contact + :param title: Gets or sets the job title of the contact + :param company_name: Gets or sets the company that employs the contact + :param department_name: Gets or sets the name of the department to which the contact belongs + :param office_location: Gets or sets the location of the office that the contact works in + :param manager_name: Gets or sets the name of the contact's manager + :param assistant: Gets or sets the name of the contact's assistant + :param profession: Gets or sets the profession of the contact + :type MapiContactProfessionalPropertySetDto: """ self._title = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py index 26edf84..d6301ca 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py @@ -61,9 +61,10 @@ class MapiContactSaveRequest(StorageModelOfMapiContactDto): def __init__(self, storage_file: StorageFileLocation = None, value: MapiContactDto = None, format: str = None): """ MapiContact save to storage request. - :param storage_file (StorageFileLocation) - :param value (MapiContactDto) - :param format (str) Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :param storage_file: + :param value: + :param format: Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :type MapiContactSaveRequest: """ super(MapiContactSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py index d5274d13..daeda25 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py @@ -89,25 +89,26 @@ class MapiContactTelephonePropertySetDto(object): def __init__(self, is_empty: bool = None, default_telephone_number: str = None, use_autocomplete: bool = None, callback_telephone_number: str = None, business_telephone_number: str = None, home_telephone_number: str = None, primary_telephone_number: str = None, business2_telephone_number: str = None, mobile_telephone_number: str = None, radio_telephone_number: str = None, car_telephone_number: str = None, other_telephone_number: str = None, assistant_telephone_number: str = None, home2_telephone_number: str = None, tty_tdd_phone_number: str = None, company_main_telephone_number: str = None, telex_number: str = None, isdn_number: str = None, pager_telephone_number: str = None): """ Specify optional telephone numbers for the contact. - :param is_empty (bool) Shows if MapiContactTelephonePropertySet is empty - :param default_telephone_number (str) Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' - :param use_autocomplete (bool) Indicates that one electronic address is completed automatically in case if user does not set any electronic address - :param callback_telephone_number (str) Gets or sets the callback telephone number - :param business_telephone_number (str) Gets or sets the business telephone number - :param home_telephone_number (str) Gets or sets the home telephone number - :param primary_telephone_number (str) Gets or sets the primary telephone number - :param business2_telephone_number (str) Gets or sets the second business telephone number - :param mobile_telephone_number (str) Gets or sets the mobile telephone number - :param radio_telephone_number (str) Gets or sets the radio telephone number - :param car_telephone_number (str) Gets or sets the car telephone number - :param other_telephone_number (str) Gets or sets an alternate telephone number - :param assistant_telephone_number (str) Gets or sets the telephone number of the contact's assistant - :param home2_telephone_number (str) Gets or sets a second home telephone number - :param tty_tdd_phone_number (str) Gets or sets the telephone number for the contact's text telephone (TTY) or telecommunication device for the deaf (TDD) - :param company_main_telephone_number (str) Gets or sets the company phone number - :param telex_number (str) Gets or sets the telex number - :param isdn_number (str) Gets or sets the integrated services digital network (ISDN) number - :param pager_telephone_number (str) Gets or sets a pager telephone number + :param is_empty: Shows if MapiContactTelephonePropertySet is empty + :param default_telephone_number: Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' + :param use_autocomplete: Indicates that one electronic address is completed automatically in case if user does not set any electronic address + :param callback_telephone_number: Gets or sets the callback telephone number + :param business_telephone_number: Gets or sets the business telephone number + :param home_telephone_number: Gets or sets the home telephone number + :param primary_telephone_number: Gets or sets the primary telephone number + :param business2_telephone_number: Gets or sets the second business telephone number + :param mobile_telephone_number: Gets or sets the mobile telephone number + :param radio_telephone_number: Gets or sets the radio telephone number + :param car_telephone_number: Gets or sets the car telephone number + :param other_telephone_number: Gets or sets an alternate telephone number + :param assistant_telephone_number: Gets or sets the telephone number of the contact's assistant + :param home2_telephone_number: Gets or sets a second home telephone number + :param tty_tdd_phone_number: Gets or sets the telephone number for the contact's text telephone (TTY) or telecommunication device for the deaf (TDD) + :param company_main_telephone_number: Gets or sets the company phone number + :param telex_number: Gets or sets the telex number + :param isdn_number: Gets or sets the integrated services digital network (ISDN) number + :param pager_telephone_number: Gets or sets a pager telephone number + :type MapiContactTelephonePropertySetDto: """ self._is_empty = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py index 46d8f2a..e85998d 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py @@ -60,9 +60,10 @@ class MapiDateTimePropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: datetime = None): """ Mapi property with DateTime value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (datetime) Property value + :param descriptor: Property descriptor + :param discriminator: + :param value: Property value + :type MapiDateTimePropertyDto: """ super(MapiDateTimePropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py index f16a3a5..b4bce57 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py @@ -61,11 +61,12 @@ class MapiElectronicAddressDto(object): def __init__(self, address_type: str = None, email_address: str = None, display_name: str = None, fax_number: str = None, original_display_name: str = None): """ Refers to the group of properties that define the e-mail address or fax address. - :param address_type (str) Address type. - :param email_address (str) Email address. - :param display_name (str) User-readable display name for the e-mail address. - :param fax_number (str) Telephone number of the mail user's primary fax machine. - :param original_display_name (str) SMTP e-mail address that corresponds to the e-mail address. + :param address_type: Address type. + :param email_address: Email address. + :param display_name: User-readable display name for the e-mail address. + :param fax_number: Telephone number of the mail user's primary fax machine. + :param original_display_name: SMTP e-mail address that corresponds to the e-mail address. + :type MapiElectronicAddressDto: """ self._address_type = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py index 861300b..fdec0ea 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py @@ -60,9 +60,10 @@ class MapiFileAsPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): """ Mapi property with FileAsMapping value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (str) Defines how to construct what is displayed for a contact in the FileAs property. Enum, available values: None, LastCommaFirst, FirstSpaceLast, Company, LastCommaFirstCompany, CompanyLastFirst, LastFirst, LastFirstCompany, CompanyLastCommaFirst, LastFirstSuffix, LastSpaceFirstCompany, CompanyLastSpaceFirst, LastSpaceFirst, DisplayName, FirstName, LastFirstMiddleSuffix, LastName, Empty + :param descriptor: Property descriptor + :param discriminator: + :param value: Defines how to construct what is displayed for a contact in the FileAs property. Enum, available values: None, LastCommaFirst, FirstSpaceLast, Company, LastCommaFirstCompany, CompanyLastFirst, LastFirst, LastFirstCompany, CompanyLastCommaFirst, LastFirstSuffix, LastSpaceFirstCompany, CompanyLastSpaceFirst, LastSpaceFirst, DisplayName, FirstName, LastFirstMiddleSuffix, LastName, Empty + :type MapiFileAsPropertyDto: """ super(MapiFileAsPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py index 3f12c29..d794c84 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py @@ -60,9 +60,10 @@ class MapiImportancePropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): """ Mapi property with ImportanceChoicesType value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (str) Levels of importance for an item. Enum, available values: Low, Normal, High + :param descriptor: Property descriptor + :param discriminator: + :param value: Levels of importance for an item. Enum, available values: Low, Normal, High + :type MapiImportancePropertyDto: """ super(MapiImportancePropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py index eaa51ae..cc8c164 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py @@ -60,9 +60,10 @@ class MapiIntPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: int = None): """ Mapi property with Integer value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (int) Property value + :param descriptor: Property descriptor + :param discriminator: + :param value: Property value + :type MapiIntPropertyDto: """ super(MapiIntPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py index 1172244..e763314 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py @@ -57,8 +57,9 @@ class MapiKnownPropertyDescriptor(MapiPropertyDescriptor): def __init__(self, discriminator: str = None, name: str = None): """ Known Mapi Property descriptor - :param discriminator (str) - :param name (str) Known property name. See all known properties here: https://apireference.aspose.com/email/net/aspose.email.mapi/knownpropertylist/fields/index Possible values: Mileage, ObjectUri, GDataContactVersion, GDataPhotoVersion, AddressBookProviderArrayType, AddressBookProviderEmailList, AddressCountryCode, AgingDontAgeMe, AllAttendeesString, AllowExternalCheck, AnniversaryEventEntryId, AppointmentAuxiliaryFlags, AppointmentColor, AppointmentCounterProposal, AppointmentDuration, AppointmentEndDate, AppointmentEndTime, AppointmentEndWhole, AppointmentLastSequence, AppointmentMessageClass, AppointmentNotAllowPropose, AppointmentProposalNumber, AppointmentProposedDuration, AppointmentProposedEndWhole, AppointmentProposedStartWhole, AppointmentRecur, AppointmentReplyName, AppointmentReplyTime, AppointmentSequence, AppointmentSequenceTime, AppointmentStartDate, AppointmentStartTime, AppointmentStartWhole, AppointmentStateFlags, AppointmentSubType, AppointmentTimeZoneDefinitionEndDisplay, AppointmentTimeZoneDefinitionRecur, AppointmentTimeZoneDefinitionStartDisplay, AppointmentUnsendableRecipients, AppointmentUpdateTime, AttendeeCriticalChange, AutoFillLocation, AutoLog, AutoProcessState, AutoStartCheck, Billing, BirthdayEventEntryId, BirthdayLocal, BusinessCardCardPicture, BusinessCardDisplayDefinition, BusyStatus, CalendarType, Categories, CcAttendeesString, ChangeHighlight, Classification, ClassificationDescription, ClassificationGuid, ClassificationKeep, Classified, CleanGlobalObjectId, ClientIntent, ClipEnd, ClipStart, CollaborateDoc, CommonEnd, CommonStart, Companies, ConferencingCheck, ConferencingType, ContactCharacterSet, ContactItemData, ContactLinkedGlobalAddressListEntryId, ContactLinkEntry, ContactLinkGlobalAddressListLinkId, ContactLinkGlobalAddressListLinkState, ContactLinkLinkRejectHistory, ContactLinkName, ContactLinkSearchKey, ContactLinkSMTPAddressCache, Contacts, ContactUserField1, ContactUserField2, ContactUserField3, ContactUserField4, ConversationActionLastAppliedTime, ConversationActionMaxDeliveryTime, ConversationActionMoveFolderEid, ConversationActionMoveStoreEid, ConversationActionVersion, ConversationProcessed, CurrentVersion, CurrentVersionName, DayInterval, DayOfMonth, DelegateMail, Department, Directory, DistributionListChecksum, DistributionListMembers, DistributionListName, DistributionListOneOffMembers, DistributionListStream, Email1AddressType, Email1DisplayName, Email1EmailAddress, Email1OriginalDisplayName, Email1OriginalEntryId, Email2AddressType, Email2DisplayName, Email2EmailAddress, Email2OriginalDisplayName, Email2OriginalEntryId, Email3AddressType, Email3DisplayName, Email3EmailAddress, Email3OriginalDisplayName, Email3OriginalEntryId, EndRecurrenceDate, EndRecurrenceTime, ExceptionReplaceTime, Fax1AddressType, Fax1EmailAddress, Fax1OriginalDisplayName, Fax1OriginalEntryId, Fax2AddressType, Fax2EmailAddress, Fax2OriginalDisplayName, Fax2OriginalEntryId, Fax3AddressType, Fax3EmailAddress, Fax3OriginalDisplayName, Fax3OriginalEntryId, FExceptionalAttendees, FExceptionalBody, FileUnder, FileUnderId, FileUnderList, FInvited, FlagRequest, FlagString, ForwardInstance, ForwardNotificationRecipients, FOthersAppointment, FreeBusyLocation, GlobalObjectId, HasPicture, HomeAddress, HomeAddressCountryCode, Html, ICalendarDayOfWeekMask, InboundICalStream, InfoPathFormName, InstantMessagingAddress, IntendedBusyStatus, InternetAccountName, InternetAccountStamp, IsContactLinked, IsException, IsRecurring, IsSilent, LinkedTaskItems, Location, LogDocumentPosted, LogDocumentPrinted, LogDocumentRouted, LogDocumentSaved, LogDuration, LogEnd, LogFlags, LogStart, LogType, LogTypeDesc, MeetingType, MeetingWorkspaceUrl, MonthInterval, MonthOfYear, MonthOfYearMask, NetShowUrl, NoEndDateFlag, NonSendableBcc, NonSendableCc, NonSendableTo, NonSendBccTrackStatus, NonSendCcTrackStatus, NonSendToTrackStatus, NoteColor, NoteHeight, NoteWidth, NoteX, NoteY, Occurrences, OldLocation, OldRecurrenceType, OldWhenEndWhole, OldWhenStartWhole, OnlinePassword, OptionalAttendees, OrganizerAlias, OriginalStoreEntryId, OtherAddress, OtherAddressCountryCode, OwnerCriticalChange, OwnerName, PendingStateForSiteMailboxDocument, PercentComplete, PostalAddressId, PostRssChannel, PostRssChannelLink, PostRssItemGuid, PostRssItemHash, PostRssItemLink, PostRssItemXml, PostRssSubscription, Private, PromptSendUpdate, RecurrenceDuration, RecurrencePattern, RecurrenceType, Recurring, ReferenceEntryId, ReminderDelta, ReminderFileParameter, ReminderOverride, ReminderPlaySound, ReminderSet, ReminderSignalTime, ReminderTime, ReminderTimeDate, ReminderTimeTime, ReminderType, RemoteStatus, RequiredAttendees, ResourceAttendees, ResponseStatus, ServerProcessed, ServerProcessingActions, SharingAnonymity, SharingBindingEntryId, SharingBrowseUrl, SharingCapabilities, SharingConfigurationUrl, SharingDataRangeEnd, SharingDataRangeStart, SharingDetail, SharingExtensionXml, SharingFilter, SharingFlags, SharingFlavor, SharingFolderEntryId, SharingIndexEntryId, SharingInitiatorEntryId, SharingInitiatorName, SharingInitiatorSmtp, SharingInstanceGuid, SharingLastAutoSyncTime, SharingLastSyncTime, SharingLocalComment, SharingLocalLastModificationTime, SharingLocalName, SharingLocalPath, SharingLocalStoreUid, SharingLocalType, SharingLocalUid, SharingOriginalMessageEntryId, SharingParentBindingEntryId, SharingParticipants, SharingPermissions, SharingProviderExtension, SharingProviderGuid, SharingProviderName, SharingProviderUrl, SharingRangeEnd, SharingRangeStart, SharingReciprocation, SharingRemoteByteSize, SharingRemoteComment, SharingRemoteCrc, SharingRemoteLastModificationTime, SharingRemoteMessageCount, SharingRemoteName, SharingRemotePass, SharingRemotePath, SharingRemoteStoreUid, SharingRemoteType, SharingRemoteUid, SharingRemoteUser, SharingRemoteVersion, SharingResponseTime, SharingResponseType, SharingRoamLog, SharingStart, SharingStatus, SharingStop, SharingSyncFlags, SharingSyncInterval, SharingTimeToLive, SharingTimeToLiveAuto, SharingWorkingHoursDays, SharingWorkingHoursEnd, SharingWorkingHoursStart, SharingWorkingHoursTimeZone, SideEffects, SingleBodyICal, SmartNoAttach, SpamOriginalFolder, StartRecurrenceDate, StartRecurrenceTime, TaskAcceptanceState, TaskAccepted, TaskActualEffort, TaskAssigner, TaskAssigners, TaskComplete, TaskCustomFlags, TaskDateCompleted, TaskDeadOccurrence, TaskDueDate, TaskEstimatedEffort, TaskFCreator, TaskFFixOffline, TaskFRecurring, TaskGlobalId, TaskHistory, TaskLastDelegate, TaskLastUpdate, TaskLastUser, TaskMode, TaskMultipleRecipients, TaskNoCompute, TaskOrdinal, TaskOwner, TaskOwnership, TaskRecurrence, TaskResetReminder, TaskRole, TaskStartDate, TaskState, TaskStatus, TaskStatusOnComplete, TaskUpdates, TaskVersion, TeamTask, TimeZone, TimeZoneDescription, TimeZoneStruct, ToAttendeesString, ToDoOrdinalDate, ToDoSubOrdinal, ToDoTitle, UseTnef, ValidFlagStringProof, VerbResponse, VerbStream, WeddingAnniversaryLocal, WeekInterval, Where, WorkAddress, WorkAddressCity, WorkAddressCountry, WorkAddressCountryCode, WorkAddressPostalCode, WorkAddressPostOfficeBox, WorkAddressState, WorkAddressStreet, YearInterval, YomiCompanyName, YomiFirstName, YomiLastName, AcceptLanguage, ApplicationName, AttachmentMacContentType, AttachmentMacInfo, AudioNotes, Author, AutomaticSpeechRecognitionData, ByteCount, CalendarAttendeeRole, CalendarBusystatus, CalendarContact, CalendarContactUrl, CalendarCreated, CalendarDescriptionUrl, CalendarDuration, CalendarExceptionDate, CalendarExceptionRule, CalendarGeoLatitude, CalendarGeoLongitude, CalendarInstanceType, CalendarIsOrganizer, CalendarLastModified, CalendarLocationUrl, CalendarMeetingStatus, CalendarMethod, CalendarProductId, CalendarRecurrenceIdRange, CalendarReminderOffset, CalendarResources, CalendarRsvp, CalendarSequence, CalendarTimeZone, CalendarTimeZoneId, CalendarTransparent, CalendarUid, CalendarVersion, Category, CharacterCount, Comments, Company, ContentBase, ContentClass, ContentType, CreateDateTimeReadOnly, CrossReference, DavId, DavIsCollection, DavIsStructuredDocument, DavParentName, DavUid, DocumentParts, EditTime, ExchangeIntendedBusyStatus, ExchangeJunkEmailMoveStamp, ExchangeModifyExceptionStructure, ExchangeNoModifyExceptions, ExchangePatternEnd, ExchangePatternStart, ExchangeReminderInterval, ExchDatabaseSchema, ExchDataExpectedContentClass, ExchDataSchemaCollectionReference, ExtractedAddresses, ExtractedContacts, ExtractedEmails, ExtractedMeetings, ExtractedPhones, ExtractedTasks, ExtractedUrls, From, HeadingPairs, HiddenCount, HttpmailCalendar, HttpmailHtmlDescription, HttpmailSendMessage, ICalendarRecurrenceDate, ICalendarRecurrenceRule, InternetSubject, Keywords, LastAuthor, LastPrinted, LastSaveDateTime, LineCount, LinksDirty, LocationUrl, Manager, MultimediaClipCount, NoteCount, OMSAccountGuid, OMSMobileModel, OMSScheduleTime, OMSServiceType, OMSSourceType, PageCount, ParagraphCount, PhishingStamp, PresentationFormat, QuarantineOriginalSender, RevisionNumber, RightsManagementLicense, Scale, Security, SlideCount, Subject, Template, Thumbnail, Title, WordCount, XCallId, XFaxNumberOfPages, XRequireProtectedPlayOnPhone, XSenderTelephoneNumber, XSharingBrowseUrl, XSharingCapabilities, XSharingConfigUrl, XSharingExendedCaps, XSharingFlavor, XSharingInstanceGuid, XSharingLocalType, XSharingProviderGuid, XSharingProviderName, XSharingProviderUrl, XSharingRemoteName, XSharingRemotePath, XSharingRemoteStoreUid, XSharingRemoteType, XSharingRemoteUid, XVoiceMessageAttachmentOrder, XVoiceMessageDuration, XVoiceMessageSenderName, Access, AccessControlListData, AccessLevel, Account, AdditionalRenEntryIds, AdditionalRenEntryIdsEx, AddressBookAuthorizedSenders, AddressBookContainerId, AddressBookDeliveryContentLength, AddressBookDisplayNamePrintable, AddressBookDisplayTypeExtended, AddressBookDistributionListExternalMemberCount, AddressBookDistributionListMemberCount, AddressBookDistributionListMemberSubmitAccepted, AddressBookDistributionListMemberSubmitRejected, AddressBookDistributionListRejectMessagesFromDLMembers, AddressBookEntryId, AddressBookExtensionAttribute1, AddressBookExtensionAttribute10, AddressBookExtensionAttribute11, AddressBookExtensionAttribute12, AddressBookExtensionAttribute13, AddressBookExtensionAttribute14, AddressBookExtensionAttribute15, AddressBookExtensionAttribute2, AddressBookExtensionAttribute3, AddressBookExtensionAttribute4, AddressBookExtensionAttribute5, AddressBookExtensionAttribute6, AddressBookExtensionAttribute7, AddressBookExtensionAttribute8, AddressBookExtensionAttribute9, AddressBookFolderPathname, AddressBookHierarchicalChildDepartments, AddressBookHierarchicalDepartmentMembers, AddressBookHierarchicalIsHierarchicalGroup, AddressBookHierarchicalParentDepartment, AddressBookHierarchicalRootDepartment, AddressBookHierarchicalShowInDepartments, AddressBookHomeMessageDatabase, AddressBookIsMaster, AddressBookIsMemberOfDistributionList, AddressBookManageDistributionList, AddressBookManager, AddressBookManagerDistinguishedName, AddressBookMember, AddressBookMessageId, AddressBookModerationEnabled, AddressBookNetworkAddress, AddressBookObjectDistinguishedName, AddressBookObjectGuid, AddressBookOrganizationalUnitRootDistinguishedName, AddressBookOwner, AddressBookOwnerBackLink, AddressBookParentEntryId, AddressBookPhoneticCompanyName, AddressBookPhoneticDepartmentName, AddressBookPhoneticDisplayName, AddressBookPhoneticGivenName, AddressBookPhoneticSurname, AddressBookProxyAddresses, AddressBookPublicDelegates, AddressBookReports, AddressBookRoomCapacity, AddressBookRoomContainers, AddressBookRoomDescription, AddressBookSenderHintTranslations, AddressBookSeniorityIndex, AddressBookTargetAddress, AddressBookUnauthorizedSenders, AddressBookX509Certificate, AddressType, AlternateRecipientAllowed, Anr, ArchiveDate, ArchivePeriod, ArchiveTag, Assistant, AssistantTelephoneNumber, Associated, AttachAdditionalInformation, AttachContentBase, AttachContentId, AttachContentLocation, AttachDataBinary, AttachDataObject, AttachEncoding, AttachExtension, AttachFilename, AttachFlags, AttachLongFilename, AttachLongPathname, AttachmentContactPhoto, AttachmentFlags, AttachmentHidden, AttachmentLinkId, AttachMethod, AttachMimeTag, AttachNumber, AttachPathname, AttachPayloadClass, AttachPayloadProviderGuidString, AttachRendering, AttachSize, AttachTag, AttachTransportName, AttributeHidden, AttributeReadOnly, AutoForwardComment, AutoForwarded, AutoResponseSuppress, Birthday, BlockStatus, Body, BodyContentId, BodyContentLocation, BodyHtml, Business2TelephoneNumber, Business2TelephoneNumbers, BusinessFaxNumber, BusinessHomePage, BusinessTelephoneNumber, CallbackTelephoneNumber, CallId, CarTelephoneNumber, CdoRecurrenceid, ChangeKey, ChangeNumber, ChildrensNames, ClientActions, ClientSubmitTime, CodePageId, Comment, CompanyMainTelephoneNumber, CompanyName, ComputerNetworkName, ConflictEntryId, ContainerClass, ContainerContents, ContainerFlags, ContainerHierarchy, ContentCount, ContentFilterSpamConfidenceLevel, ContentUnreadCount, ConversationId, ConversationIndex, ConversationIndexTracking, ConversationTopic, Country, CreationTime, CreatorEntryId, CreatorName, CustomerId, DamBackPatched, DamOriginalEntryId, DefaultPostMessageClass, DeferredActionMessageOriginalEntryId, DeferredDeliveryTime, DeferredSendNumber, DeferredSendTime, DeferredSendUnits, DelegatedByRule, DelegateFlags, DeleteAfterSubmit, DeletedCountTotal, DeletedOn, DeliverTime, DepartmentName, Depth, DisplayBcc, DisplayCc, DisplayName, DisplayNamePrefix, DisplayTo, DisplayType, DisplayTypeEx, EmailAddress, EndDate, EntryId, ExceptionEndTime, TagExceptionReplaceTime, ExceptionStartTime, ExchangeNTSecurityDescriptor, ExpiryNumber, ExpiryTime, ExpiryUnits, ExtendedFolderFlags, ExtendedRuleMessageActions, ExtendedRuleMessageCondition, ExtendedRuleSizeLimit, FaxNumberOfPages, FlagCompleteTime, FlagStatus, FlatUrlName, FolderAssociatedContents, FolderId, FolderFlags, FolderType, FollowupIcon, FreeBusyCountMonths, FreeBusyEntryIds, FreeBusyMessageEmailAddress, FreeBusyPublishEnd, FreeBusyPublishStart, FreeBusyRangeTimestamp, FtpSite, GatewayNeedsToRefresh, Gender, Generation, GivenName, GovernmentIdNumber, HasAttachments, HasDeferredActionMessages, HasNamedProperties, HasRules, HierarchyChangeNumber, HierRev, Hobbies, Home2TelephoneNumber, Home2TelephoneNumbers, HomeAddressCity, HomeAddressCountry, HomeAddressPostalCode, HomeAddressPostOfficeBox, HomeAddressStateOrProvince, HomeAddressStreet, HomeFaxNumber, HomeTelephoneNumber, TagHtml, ICalendarEndTime, ICalendarReminderNextTime, ICalendarStartTime, IconIndex, Importance, InConflict, InitialDetailsPane, Initials, InReplyToId, InstanceKey, InstanceNum, InstID, InternetCodepage, InternetMailOverrideFormat, InternetMessageId, InternetReferences, IpmAppointmentEntryId, IpmContactEntryId, IpmDraftsEntryId, IpmJournalEntryId, IpmNoteEntryId, IpmTaskEntryId, IsdnNumber, JunkAddRecipientsToSafeSendersList, JunkIncludeContacts, JunkPermanentlyDelete, JunkPhishingEnableLinks, JunkThreshold, Keyword, Language, LastModificationTime, LastModifierEntryId, LastModifierName, LastVerbExecuted, LastVerbExecutionTime, ListHelp, ListSubscribe, ListUnsubscribe, LocalCommitTime, LocalCommitTimeMax, LocaleId, Locality, TagLocation, MailboxOwnerEntryId, MailboxOwnerName, ManagerName, MappingSignature, MaximumSubmitMessageSize, MemberId, MemberName, MemberRights, MessageAttachments, MessageCcMe, MessageClass, MessageCodepage, MessageDeliveryTime, MessageEditorFormat, MessageFlags, MessageHandlingSystemCommonName, MessageLocaleId, MessageRecipientMe, MessageRecipients, MessageSize, MessageSizeExtended, MessageStatus, MessageSubmissionId, MessageToMe, Mid, MiddleName, MimeSkeleton, MobileTelephoneNumber, NativeBody, NextSendAcct, Nickname, NonDeliveryReportDiagCode, NonDeliveryReportReasonCode, NonDeliveryReportStatusCode, NonReceiptNotificationRequested, NormalizedSubject, ObjectType, OfficeLocation, OfflineAddressBookContainerGuid, OfflineAddressBookDistinguishedName, OfflineAddressBookMessageClass, OfflineAddressBookName, OfflineAddressBookSequence, OfflineAddressBookTruncatedProperties, OrdinalMost, OrganizationalIdNumber, OriginalAuthorEntryId, OriginalAuthorName, OriginalDeliveryTime, OriginalDisplayBcc, OriginalDisplayCc, OriginalDisplayTo, OriginalEntryId, OriginalMessageClass, OriginalMessageId, OriginalSenderAddressType, OriginalSenderEmailAddress, OriginalSenderEntryId, OriginalSenderName, OriginalSenderSearchKey, OriginalSensitivity, OriginalSentRepresentingAddressType, OriginalSentRepresentingEmailAddress, OriginalSentRepresentingEntryId, OriginalSentRepresentingName, OriginalSentRepresentingSearchKey, OriginalSubject, OriginalSubmitTime, OriginatorDeliveryReportRequested, OriginatorNonDeliveryReportRequested, OscSyncEnabled, OtherAddressCity, OtherAddressCountry, OtherAddressPostalCode, OtherAddressPostOfficeBox, OtherAddressStateOrProvince, OtherAddressStreet, OtherTelephoneNumber, OutOfOfficeState, OwnerAppointmentId, PagerTelephoneNumber, ParentEntryId, ParentFolderId, ParentKey, ParentSourceKey, PersonalHomePage, PolicyTag, PostalAddress, PostalCode, PostOfficeBox, PredecessorChangeList, PrimaryFaxNumber, PrimarySendAccount, PrimaryTelephoneNumber, Priority, Processed, Profession, ProhibitReceiveQuota, ProhibitSendQuota, PurportedSenderDomain, RadioTelephoneNumber, Read, ReadReceiptAddressType, ReadReceiptEmailAddress, ReadReceiptEntryId, ReadReceiptName, ReadReceiptRequested, ReadReceiptSearchKey, ReadReceiptSmtpAddress, ReceiptTime, ReceivedByAddressType, ReceivedByEmailAddress, ReceivedByEntryId, ReceivedByName, ReceivedBySearchKey, ReceivedBySmtpAddress, ReceivedRepresentingAddressType, ReceivedRepresentingEmailAddress, ReceivedRepresentingEntryId, ReceivedRepresentingName, ReceivedRepresentingSearchKey, ReceivedRepresentingSmtpAddress, RecipientDisplayName, RecipientEntryId, RecipientFlags, RecipientOrder, RecipientProposed, RecipientProposedEndTime, RecipientProposedStartTime, RecipientReassignmentProhibited, RecipientTrackStatus, RecipientTrackStatusTime, RecipientType, RecordKey, ReferredByName, RemindersOnlineEntryId, RemoteMessageTransferAgent, RenderingPosition, ReplyRecipientEntries, ReplyRecipientNames, ReplyRequested, ReplyTemplateId, ReplyTime, ReportDisposition, ReportDispositionMode, ReportEntryId, ReportingMessageTransferAgent, ReportName, ReportSearchKey, ReportTag, ReportText, ReportTime, ResolveMethod, ResponseRequested, Responsibility, RetentionDate, RetentionFlags, RetentionPeriod, Rights, RoamingDatatypes, RoamingDictionary, RoamingXmlStream, Rowid, RowType, RtfCompressed, RtfInSync, RuleActionNumber, RuleActions, RuleActionType, RuleCondition, RuleError, RuleFolderEntryId, RuleId, RuleIds, RuleLevel, RuleMessageLevel, RuleMessageName, RuleMessageProvider, RuleMessageProviderData, RuleMessageSequence, RuleMessageState, RuleMessageUserFlags, RuleName, RuleProvider, RuleProviderData, RuleSequence, RuleState, RuleUserFlags, RwRulesStream, ScheduleInfoAppointmentTombstone, ScheduleInfoAutoAcceptAppointments, ScheduleInfoDelegateEntryIds, ScheduleInfoDelegateNames, ScheduleInfoDelegateNamesW, ScheduleInfoDelegatorWantsCopy, ScheduleInfoDelegatorWantsInfo, ScheduleInfoDisallowOverlappingAppts, ScheduleInfoDisallowRecurringAppts, ScheduleInfoDontMailDelegates, ScheduleInfoFreeBusy, ScheduleInfoFreeBusyAway, ScheduleInfoFreeBusyBusy, ScheduleInfoFreeBusyMerged, ScheduleInfoFreeBusyTentative, ScheduleInfoMonthsAway, ScheduleInfoMonthsBusy, ScheduleInfoMonthsMerged, ScheduleInfoMonthsTentative, ScheduleInfoResourceType, SchedulePlusFreeBusyEntryId, ScriptData, SearchFolderDefinition, SearchFolderEfpFlags, SearchFolderExpiration, SearchFolderId, SearchFolderLastUsed, SearchFolderRecreateInfo, SearchFolderStorageType, SearchFolderTag, SearchFolderTemplateId, SearchKey, SecurityDescriptorAsXml, Selectable, SenderAddressType, SenderEmailAddress, SenderEntryId, SenderIdStatus, SenderName, SenderSearchKey, SenderSmtpAddress, SenderTelephoneNumber, SendInternetEncoding, SendRichInfo, Sensitivity, SentMailSvrEID, SentRepresentingAddressType, SentRepresentingEmailAddress, SentRepresentingEntryId, SentRepresentingFlags, SentRepresentingName, SentRepresentingSearchKey, SentRepresentingSmtpAddress, SmtpAddress, SortLocaleId, SourceKey, SpokenName, SpouseName, StartDate, StartDateEtc, StateOrProvince, StoreEntryId, StoreState, StoreSupportMask, StreetAddress, Subfolders, TagSubject, SubjectPrefix, SupplementaryInfo, Surname, SwappedToDoData, SwappedToDoStore, TargetEntryId, TelecommunicationsDeviceForDeafTelephoneNumber, TelexNumber, TemplateData, Templateid, TextAttachmentCharset, ThumbnailPhoto, TagTitle, TnefCorrelationKey, ToDoItemFlags, TransmittableDisplayName, TransportMessageHeaders, TrustSender, UserCertificate, UserEntryId, UserX509Certificate, ViewDescriptorBinary, ViewDescriptorName, ViewDescriptorStrings, ViewDescriptorVersion, VoiceMessageAttachmentOrder, VoiceMessageDuration, VoiceMessageSenderName, WeddingAnniversary, WlinkAddressBookEID, WlinkAddressBookStoreEID, WlinkCalendarColor, WlinkClientID, WlinkEntryId, WlinkFlags, WlinkFolderType, WlinkGroupClsid, WlinkGroupHeaderID, WlinkGroupName, WlinkOrdinal, WlinkRecordKey, WlinkROGroupType, WlinkSaveStamp, WlinkSection, WlinkStoreEntryId, WlinkType, Abstract, ActiveUserEntryid, AddrbookForLocalSiteEntryid, AddressBookDisplayName, ArrivalTime, AssocMessageSize, AssocMessageSizeExtended, AssocMsgWAttachCount, AttachOnAssocMsgCount, AttachOnNormalMsgCount, AutoAddNewSubs, BilateralInfo, CachedColumnCount, CategCount, ChangeAdvisor, ChangeNotificationGuid, Collector, ContactCount, ContentSearchKey, ContentsSynchronizer, DeletedAssocMessageSizeExtended, DeletedAssocMsgCount, DeletedFolderCount, DeletedMessageSizeExtended, DeletedMsgCount, DeletedNormalMessageSizeExtended, DesignInProgress, DisableFullFidelity, DisableWinsock, DlReportFlags, EformsForLocaleEntryid, EformsLocaleId, EformsRegistryEntryid, EmsAbAccessCategory, EmsAbActivationSchedule, EmsAbActivationStyle, EmsAbAddressEntryDisplayTable, EmsAbAddressEntryDisplayTableMsdos, EmsAbAddressSyntax, EmsAbAddressType, EmsAbAdmd, EmsAbAdminDescription, EmsAbAdminDisplayName, EmsAbAdminExtensionDll, EmsAbAliasedObjectName, EmsAbAliasedObjectNameO, EmsAbAltRecipient, EmsAbAltRecipientBl, EmsAbAltRecipientBlO, EmsAbAltRecipientO, EmsAbAncestorId, EmsAbAnonymousAccess, EmsAbAnonymousAccount, EmsAbAssocNtAccount, EmsAbAssocProtocolCfgNntp, EmsAbAssocProtocolCfgNntpO, EmsAbAssocRemoteDxa, EmsAbAssocRemoteDxaO, EmsAbAssociationLifetime, EmsAbAttributeCertificate, EmsAbAuthOrigBl, EmsAbAuthOrigBlO, EmsAbAuthenticationToUse, EmsAbAuthorityRevocationList, EmsAbAuthorizedDomain, EmsAbAuthorizedPassword, EmsAbAuthorizedPasswordConfirm, EmsAbAuthorizedUser, EmsAbAutoreply, EmsAbAutoreplyMessage, EmsAbAutoreplySubject, EmsAbAvailableAuthorizationPackages, EmsAbAvailableDistributions, EmsAbBridgeheadServers, EmsAbBridgeheadServersO, EmsAbBusinessCategory, EmsAbBusinessRoles, EmsAbCaCertificate, EmsAbCanCreatePf, EmsAbCanCreatePfBl, EmsAbCanCreatePfBlO, EmsAbCanCreatePfDl, EmsAbCanCreatePfDlBl, EmsAbCanCreatePfDlBlO, EmsAbCanCreatePfDlO, EmsAbCanCreatePfO, EmsAbCanNotCreatePf, EmsAbCanNotCreatePfBl, EmsAbCanNotCreatePfBlO, EmsAbCanNotCreatePfDl, EmsAbCanNotCreatePfDlBl, EmsAbCanNotCreatePfDlBlO, EmsAbCanNotCreatePfDlO, EmsAbCanNotCreatePfO, EmsAbCanPreserveDns, EmsAbCertificateChainV3, EmsAbCertificateRevocationList, EmsAbCertificateRevocationListV1, EmsAbCertificateRevocationListV3, EmsAbCharacterSet, EmsAbCharacterSetList, EmsAbChildRdns, EmsAbClientAccessEnabled, EmsAbClockAlertOffset, EmsAbClockAlertRepair, EmsAbClockWarningOffset, EmsAbClockWarningRepair, EmsAbCompromisedKeyList, EmsAbComputerName, EmsAbConnectedDomains, EmsAbConnectionListFilter, EmsAbConnectionListFilterType, EmsAbConnectionType, EmsAbContainerInfo, EmsAbContentType, EmsAbControlMsgFolderId, EmsAbControlMsgRules, EmsAbCost, EmsAbCountryName, EmsAbCrossCertificateCrl, EmsAbCrossCertificatePair, EmsAbDefaultMessageFormat, EmsAbDelegateUser, EmsAbDelivEits, EmsAbDelivExtContTypes, EmsAbDeliverAndRedirect, EmsAbDeliveryMechanism, EmsAbDeltaRevocationList, EmsAbDescription, EmsAbDestinationIndicator, EmsAbDiagnosticRegKey, EmsAbDisableDeferredCommit, EmsAbDisabledGatewayProxy, EmsAbDisplayNameOverride, EmsAbDisplayNameSuffix, EmsAbDlMemRejectPermsBl, EmsAbDlMemRejectPermsBlO, EmsAbDlMemberRule, EmsAbDmdName, EmsAbDoOabVersion, EmsAbDomainDefAltRecip, EmsAbDomainDefAltRecipO, EmsAbDomainName, EmsAbDsaSignature, EmsAbDxaAdminCopy, EmsAbDxaAdminForward, EmsAbDxaAdminUpdate, EmsAbDxaAppendReqcn, EmsAbDxaConfContainerList, EmsAbDxaConfContainerListO, EmsAbDxaConfReqTime, EmsAbDxaConfSeq, EmsAbDxaConfSeqUsn, EmsAbDxaExchangeOptions, EmsAbDxaExportNow, EmsAbDxaFlags, EmsAbDxaImpSeq, EmsAbDxaImpSeqTime, EmsAbDxaImpSeqUsn, EmsAbDxaImportNow, EmsAbDxaInTemplateMap, EmsAbDxaLocalAdmin, EmsAbDxaLocalAdminO, EmsAbDxaLoggingLevel, EmsAbDxaNativeAddressType, EmsAbDxaOutTemplateMap, EmsAbDxaPassword, EmsAbDxaPrevExchangeOptions, EmsAbDxaPrevExportNativeOnly, EmsAbDxaPrevInExchangeSensitivity, EmsAbDxaPrevRemoteEntries, EmsAbDxaPrevRemoteEntriesO, EmsAbDxaPrevReplicationSensitivity, EmsAbDxaPrevTemplateOptions, EmsAbDxaPrevTypes, EmsAbDxaRecipientCp, EmsAbDxaRemoteClient, EmsAbDxaRemoteClientO, EmsAbDxaReqSeq, EmsAbDxaReqSeqTime, EmsAbDxaReqSeqUsn, EmsAbDxaReqname, EmsAbDxaSvrSeq, EmsAbDxaSvrSeqTime, EmsAbDxaSvrSeqUsn, EmsAbDxaTask, EmsAbDxaTemplateOptions, EmsAbDxaTemplateTimestamp, EmsAbDxaTypes, EmsAbDxaUnconfContainerList, EmsAbDxaUnconfContainerListO, EmsAbEmployeeNumber, EmsAbEmployeeType, EmsAbEnableCompatibility, EmsAbEnabled, EmsAbEnabledAuthorizationPackages, EmsAbEnabledProtocolCfg, EmsAbEnabledProtocols, EmsAbEncapsulationMethod, EmsAbEncrypt, EmsAbEncryptAlgListNa, EmsAbEncryptAlgListOther, EmsAbEncryptAlgSelectedNa, EmsAbEncryptAlgSelectedOther, EmsAbExpandDlsLocally, EmsAbExpirationTime, EmsAbExportContainers, EmsAbExportContainersO, EmsAbExportCustomRecipients, EmsAbExtendedCharsAllowed, EmsAbExtensionData, EmsAbExtensionName, EmsAbExtensionNameInherited, EmsAbFacsimileTelephoneNumber, EmsAbFileVersion, EmsAbFilterLocalAddresses, EmsAbFoldersContainer, EmsAbFoldersContainerO, EmsAbFormData, EmsAbForwardingAddress, EmsAbGarbageCollPeriod, EmsAbGatewayLocalCred, EmsAbGatewayLocalDesig, EmsAbGatewayProxy, EmsAbGatewayRoutingTree, EmsAbGenerationQualifier, EmsAbGroupByAttr1, EmsAbGroupByAttr2, EmsAbGroupByAttr3, EmsAbGroupByAttr4, EmsAbGroupByAttrValueDn, EmsAbGroupByAttrValueDnO, EmsAbGroupByAttrValueStr, EmsAbGwartLastModified, EmsAbHasFullReplicaNcs, EmsAbHasFullReplicaNcsO, EmsAbHasMasterNcs, EmsAbHasMasterNcsO, EmsAbHelpData16, EmsAbHelpData32, EmsAbHelpFileName, EmsAbHeuristics, EmsAbHideDlMembership, EmsAbHideFromAddressBook, EmsAbHierarchyPath, EmsAbHomeMdbBl, EmsAbHomeMdbBlO, EmsAbHomeMta, EmsAbHomeMtaO, EmsAbHomePublicServer, EmsAbHomePublicServerO, EmsAbHouseIdentifier, EmsAbHttpPubAbAttributes, EmsAbHttpPubGal, EmsAbHttpPubGalLimit, EmsAbHttpPubPf, EmsAbHttpServers, EmsAbImportContainer, EmsAbImportContainerO, EmsAbImportSensitivity, EmsAbImportedFrom, EmsAbInboundAcceptAll, EmsAbInboundDn, EmsAbInboundDnO, EmsAbInboundHost, EmsAbInboundNewsfeed, EmsAbInboundNewsfeedType, EmsAbInboundSites, EmsAbInboundSitesO, EmsAbIncomingMsgSizeLimit, EmsAbIncomingPassword, EmsAbInsadmin, EmsAbInsadminO, EmsAbInstanceType, EmsAbInternationalIsdnNumber, EmsAbInvocationId, EmsAbIsDeleted, EmsAbIsSingleValued, EmsAbKccStatus, EmsAbKmServer, EmsAbKmServerO, EmsAbKnowledgeInformation, EmsAbLabeleduri, EmsAbLanguage, EmsAbLanguageIso639, EmsAbLdapDisplayName, EmsAbLdapSearchCfg, EmsAbLineWrap, EmsAbLinkId, EmsAbListPublicFolders, EmsAbLocalBridgeHead, EmsAbLocalBridgeHeadAddress, EmsAbLocalInitialTurn, EmsAbLocalScope, EmsAbLocalScopeO, EmsAbLogFilename, EmsAbLogRolloverInterval, EmsAbMailDrop, EmsAbMaintainAutoreplyHistory, EmsAbMapiDisplayType, EmsAbMapiId, EmsAbMaximumObjectId, EmsAbMdbBackoffInterval, EmsAbMdbMsgTimeOutPeriod, EmsAbMdbOverQuotaLimit, EmsAbMdbStorageQuota, EmsAbMdbUnreadLimit, EmsAbMdbUseDefaults, EmsAbMessageTrackingEnabled, EmsAbMimeTypes, EmsAbModerated, EmsAbModerator, EmsAbMonitorClock, EmsAbMonitorServers, EmsAbMonitorServices, EmsAbMonitoredConfigurations, EmsAbMonitoredConfigurationsO, EmsAbMonitoredServers, EmsAbMonitoredServersO, EmsAbMonitoredServices, EmsAbMonitoringAlertDelay, EmsAbMonitoringAlertUnits, EmsAbMonitoringAvailabilityStyle, EmsAbMonitoringAvailabilityWindow, EmsAbMonitoringCachedViaMail, EmsAbMonitoringCachedViaMailO, EmsAbMonitoringCachedViaRpc, EmsAbMonitoringCachedViaRpcO, EmsAbMonitoringEscalationProcedure, EmsAbMonitoringHotsitePollInterval, EmsAbMonitoringHotsitePollUnits, EmsAbMonitoringMailUpdateInterval, EmsAbMonitoringMailUpdateUnits, EmsAbMonitoringNormalPollInterval, EmsAbMonitoringNormalPollUnits, EmsAbMonitoringRecipients, EmsAbMonitoringRecipientsNdr, EmsAbMonitoringRecipientsNdrO, EmsAbMonitoringRecipientsO, EmsAbMonitoringRpcUpdateInterval, EmsAbMonitoringRpcUpdateUnits, EmsAbMonitoringWarningDelay, EmsAbMonitoringWarningUnits, EmsAbMtaLocalCred, EmsAbMtaLocalDesig, EmsAbNAddress, EmsAbNAddressType, EmsAbNewsfeedType, EmsAbNewsgroup, EmsAbNewsgroupList, EmsAbNntpCharacterSet, EmsAbNntpContentFormat, EmsAbNntpDistributions, EmsAbNntpDistributionsFlag, EmsAbNntpNewsfeeds, EmsAbNntpNewsfeedsO, EmsAbNtMachineName, EmsAbNtSecurityDescriptor, EmsAbNumOfOpenRetries, EmsAbNumOfTransferRetries, EmsAbObjViewContainers, EmsAbObjViewContainersO, EmsAbObjectClassCategory, EmsAbObjectOid, EmsAbObjectVersion, EmsAbOffLineAbContainers, EmsAbOffLineAbContainersO, EmsAbOffLineAbSchedule, EmsAbOffLineAbServer, EmsAbOffLineAbServerO, EmsAbOffLineAbStyle, EmsAbOidType, EmsAbOmObjectClass, EmsAbOmSyntax, EmsAbOofReplyToOriginator, EmsAbOpenRetryInterval, EmsAbOrganizationName, EmsAbOrganizationalUnitName, EmsAbOriginalDisplayTable, EmsAbOriginalDisplayTableMsdos, EmsAbOtherRecips, EmsAbOutboundHost, EmsAbOutboundHostType, EmsAbOutboundNewsfeed, EmsAbOutboundSites, EmsAbOutboundSitesO, EmsAbOutgoingMsgSizeLimit, EmsAbOverrideNntpContentFormat, EmsAbOwaServer, EmsAbPSelector, EmsAbPSelectorInbound, EmsAbPerMsgDialogDisplayTable, EmsAbPerRecipDialogDisplayTable, EmsAbPeriodRepSyncTimes, EmsAbPeriodReplStagger, EmsAbPersonalTitle, EmsAbPfContacts, EmsAbPfContactsO, EmsAbPopCharacterSet, EmsAbPopContentFormat, EmsAbPortNumber, EmsAbPostalAddress, EmsAbPreferredDeliveryMethod, EmsAbPreserveInternetContent, EmsAbPrmd, EmsAbPromoExpiration, EmsAbProtocolSettings, EmsAbProxyGenerationEnabled, EmsAbProxyGeneratorDll, EmsAbPublicDelegatesBl, EmsAbPublicDelegatesBlO, EmsAbQuotaNotificationSchedule, EmsAbQuotaNotificationStyle, EmsAbRangeLower, EmsAbRangeUpper, EmsAbRasAccount, EmsAbRasCallbackNumber, EmsAbRasPassword, EmsAbRasPhoneNumber, EmsAbRasPhonebookEntryName, EmsAbRasRemoteSrvrName, EmsAbReferralList, EmsAbRegisteredAddress, EmsAbRemoteBridgeHead, EmsAbRemoteBridgeHeadAddress, EmsAbRemoteOutBhServer, EmsAbRemoteOutBhServerO, EmsAbRemoteSite, EmsAbRemoteSiteO, EmsAbReplicatedObjectVersion, EmsAbReplicationMailMsgSize, EmsAbReplicationSensitivity, EmsAbReplicationStagger, EmsAbReportToOriginator, EmsAbReportToOwner, EmsAbReqSeq, EmsAbRequireSsl, EmsAbResponsibleLocalDxa, EmsAbResponsibleLocalDxaO, EmsAbReturnExactMsgSize, EmsAbRidServer, EmsAbRidServerO, EmsAbRoleOccupant, EmsAbRoleOccupantO, EmsAbRootNewsgroupsFolderId, EmsAbRoutingList, EmsAbRtsCheckpointSize, EmsAbRtsRecoveryTimeout, EmsAbRtsWindowSize, EmsAbRunsOn, EmsAbRunsOnO, EmsAbSSelector, EmsAbSSelectorInbound, EmsAbSchemaFlags, EmsAbSchemaVersion, EmsAbSearchFlags, EmsAbSearchGuide, EmsAbSecurityPolicy, EmsAbSecurityProtocol, EmsAbSeeAlso, EmsAbSeeAlsoO, EmsAbSendEmailMessage, EmsAbSendTnef, EmsAbSerialNumber, EmsAbServer, EmsAbServiceActionFirst, EmsAbServiceActionOther, EmsAbServiceActionSecond, EmsAbServiceRestartDelay, EmsAbServiceRestartMessage, EmsAbSessionDisconnectTimer, EmsAbSiteAffinity, EmsAbSiteFolderGuid, EmsAbSiteFolderServer, EmsAbSiteFolderServerO, EmsAbSiteProxySpace, EmsAbSmimeAlgListNa, EmsAbSmimeAlgListOther, EmsAbSmimeAlgSelectedNa, EmsAbSmimeAlgSelectedOther, EmsAbSpaceLastComputed, EmsAbStreetAddress, EmsAbSubRefs, EmsAbSubRefsO, EmsAbSubSite, EmsAbSubmissionContLength, EmsAbSupportSmimeSignatures, EmsAbSupportedAlgorithms, EmsAbSupportedApplicationContext, EmsAbSupportingStack, EmsAbSupportingStackBl, EmsAbSupportingStackBlO, EmsAbSupportingStackO, EmsAbTSelector, EmsAbTSelectorInbound, EmsAbTargetMtas, EmsAbTelephoneNumber, EmsAbTelephonePersonalPager, EmsAbTeletexTerminalIdentifier, EmsAbTempAssocThreshold, EmsAbTombstoneLifetime, EmsAbTrackingLogPathName, EmsAbTransRetryMins, EmsAbTransTimeoutMins, EmsAbTransferRetryInterval, EmsAbTransferTimeoutNonUrgent, EmsAbTransferTimeoutNormal, EmsAbTransferTimeoutUrgent, EmsAbTranslationTableUsed, EmsAbTransportExpeditedData, EmsAbTrustLevel, EmsAbTurnRequestThreshold, EmsAbTwoWayAlternateFacility, EmsAbType, EmsAbUnauthOrigBl, EmsAbUnauthOrigBlO, EmsAbUseServerValues, EmsAbUseSiteValues, EmsAbUsenetSiteName, EmsAbUserPassword, EmsAbUsnChanged, EmsAbUsnCreated, EmsAbUsnDsaLastObjRemoved, EmsAbUsnIntersite, EmsAbUsnLastObjRem, EmsAbUsnSource, EmsAbViewContainer1, EmsAbViewContainer2, EmsAbViewContainer3, EmsAbViewDefinition, EmsAbViewFlags, EmsAbViewSite, EmsAbVoiceMailFlags, EmsAbVoiceMailGreetings, EmsAbVoiceMailPassword, EmsAbVoiceMailRecordedName, EmsAbVoiceMailRecordingLength, EmsAbVoiceMailSpeed, EmsAbVoiceMailSystemGuid, EmsAbVoiceMailUserId, EmsAbVoiceMailVolume, EmsAbWwwHomePage, EmsAbX121Address, EmsAbX25CallUserDataIncoming, EmsAbX25CallUserDataOutgoing, EmsAbX25FacilitiesDataIncoming, EmsAbX25FacilitiesDataOutgoing, EmsAbX25LeasedLinePort, EmsAbX25LeasedOrSwitched, EmsAbX25RemoteMtaPhone, EmsAbX400AttachmentType, EmsAbX400SelectorSyntax, EmsAbX500AccessControlList, EmsAbX500Nc, EmsAbX500Rdn, EmsAbXmitTimeoutNonUrgent, EmsAbXmitTimeoutNormal, EmsAbXmitTimeoutUrgent, EventsRootFolderEntryid, ExcessStorageUsed, ExtendedAclData, FastTransfer, FavoritesDefaultName, FolderChildCount, FolderDesignFlags, FolderPathname, ForeignId, ForeignReportId, ForeignSubjectId, FreeBusyForLocalSiteEntryid, GwAdminOperations, GwMtsinEntryid, GwMtsoutEntryid, HasModeratorRules, HierarchyServer, HierarchySynchronizer, ImapInternalDate, InTransit, InboundNewsfeedDn, InternetCharset, InternetNewsgroupName, IpmDafEntryid, IpmFavoritesEntryid, IpmPublicFoldersEntryid, IsNewsgroup, IsNewsgroupAnchor, LastAccessTime, LastFullBackup, LastLogoffTime, LastLogonTime, LongtermEntryidFromTable, MessageProcessed, MessageSiteName, MoveToFolderEntryid, MoveToStoreEntryid, MsgBodyId, MtsSubjectId, NewSubsGetAutoAdd, NewsfeedInfo, NewsgroupComponent, NewsgroupRootFolderEntryid, NntpArticleFolderEntryid, NntpControlFolderEntryid, NonIpmSubtreeEntryid, NormalMessageSize, NormalMessageSizeExtended, NormalMsgWAttachCount, NtUserName, OfflineAddrbookEntryid, OfflineFlags, OfflineMessageEntryid, OldestDeletedOn, OriginatorAddr, OriginatorAddrtype, OriginatorEntryid, OriginatorName, OstEncryption, OutboundNewsfeedDn, OverallAgeLimit, OverallMsgAgeLimit, OwaUrl, OwnerCount, P1Content, P1ContentType, PreventMsgCreate, Preview, PreviewUnread, ProfileAbFilesPath, ProfileAddrInfo, ProfileAllpubComment, ProfileAllpubDisplayName, ProfileBindingOrder, ProfileConfigFlags, ProfileConnectFlags, ProfileFavfldComment, ProfileFavfldDisplayName, ProfileHomeServer, ProfileHomeServerAddrs, ProfileHomeServerDn, ProfileMailbox, ProfileMaxRestrict, ProfileMoab, ProfileMoabGuid, ProfileMoabSeq, ProfileOfflineInfo, ProfileOfflineStorePath, ProfileOpenFlags, ProfileOptionsData, ProfileSecureMailbox, ProfileServer, ProfileServerDn, ProfileTransportFlags, ProfileType, ProfileUiState, ProfileUnresolvedName, ProfileUnresolvedServer, ProfileUser, ProfileVersion, PstEncryption, PstPath, PstPwSzOld, PstRememberPw, PublicFolderEntryid, PublishInAddressBook, RecipientNumber, RecipientOnAssocMsgCount, RecipientOnNormalMsgCount, ReplicaList, ReplicaServer, ReplicaVersion, ReplicationAlwaysInterval, ReplicationMessagePriority, ReplicationMsgSize, ReplicationSchedule, ReplicationStyle, ReplyRecipientSmtpProxies, ReportDestinationEntryid, ReportDestinationName, RestrictionCount, RetentionAgeLimit, RuleTriggerHistory, RulesData, RulesTable, ScheduleFolderEntryid, SecureInSite, SecureOrigination, StorageLimitInformation, StorageQuotaLimit, StoreOffline, StoreSlowlink, SubjectTraceInfo, SvrGeneratingQuotaMsg, SynchronizeFlags, SysConfigFolderEntryid, TestLineSpeed, TraceInfo, TransferEnabled, UserName, X400EnvelopeType, AbDefaultDir, AbDefaultPab, AbProviderId, AbProviders, AbSearchPath, AbSearchPathUpdate, AlternateRecipient, AssocContentCount, AttachmentX400Parameters, AuthorizingUsers, BodyCrc, CommonViewsEntryid, ContactAddrtypes, ContactDefaultAddressIndex, ContactEmailAddresses, ContactEntryids, ContactVersion, ContainerModifyVersion, ContentConfidentialityAlgorithmId, ContentCorrelator, ContentIdentifier, ContentIntegrityCheck, ContentLength, ContentReturnRequested, ContentsSortOrder, ControlFlags, ControlId, ControlStructure, ControlType, ConversationKey, ConversionEits, ConversionProhibited, ConversionWithLossProhibited, ConvertedEits, Correlate, CorrelateMtsid, CreateTemplates, CreationVersion, ExCurrentVersion, DefCreateDl, DefCreateMailuser, DefaultProfile, DefaultStore, DefaultViewEntryid, Delegation, DeliveryPoint, Deltax, Deltay, DetailsTable, DiscVal, DiscardReason, DiscloseRecipients, DisclosureOfRecipients, DiscreteValues, DlExpansionHistory, DlExpansionProhibited, ExplicitConversion, FilteringHooks, FinderEntryid, FormCategory, FormCategorySub, FormClsid, FormContactName, FormDesignerGuid, FormDesignerName, FormHidden, FormHostMap, FormMessageBehavior, FormVersion, HeaderFolderEntryid, Icon, IdentityDisplay, IdentityEntryid, IdentitySearchKey, ImplicitConversionProhibited, IncompleteCopy, InternetApproved, InternetArticleNumber, InternetControl, InternetDistribution, InternetFollowupTo, InternetLines, InternetNewsgroups, InternetNntpPath, InternetOrganization, InternetPrecedence, IpmId, IpmOutboxEntryid, IpmOutboxSearchKey, IpmReturnRequested, IpmSentmailEntryid, IpmSentmailSearchKey, IpmSubtreeEntryid, IpmSubtreeSearchKey, IpmWastebasketEntryid, IpmWastebasketSearchKey, Languages, LatestDeliveryTime, MailPermission, MdbProvider, MessageDeliveryId, MessageDownloadTime, MessageSecurityLabel, MessageToken, MiniIcon, ModifyVersion, NewsgroupName, NntpXref, NonReceiptReason, ObsoletedIpms, OriginCheck, OriginalAuthorAddrtype, OriginalAuthorEmailAddress, OriginalAuthorSearchKey, OriginalDisplayName, OriginalEits, OriginalSearchKey, OriginallyIntendedRecipAddrtype, OriginallyIntendedRecipEmailAddress, OriginallyIntendedRecipEntryid, OriginallyIntendedRecipientName, OriginatingMtaCertificate, OriginatorAndDlExpansionHistory, OriginatorCertificate, OriginatorRequestedAlternateRecipient, OriginatorReturnAddress, OwnStoreEntryid, ParentDisplay, PhysicalDeliveryBureauFaxDelivery, PhysicalDeliveryMode, PhysicalDeliveryReportRequest, PhysicalForwardingAddress, PhysicalForwardingAddressRequested, PhysicalForwardingProhibited, PhysicalRenditionAttributes, PostFolderEntries, PostFolderNames, PostReplyDenied, PostReplyFolderEntries, PostReplyFolderNames, Preprocess, PrimaryCapability, ProfileName, ProofOfDelivery, ProofOfDeliveryRequested, ProofOfSubmission, ProofOfSubmissionRequested, ProviderDisplay, ProviderDllName, ProviderOrdinal, ProviderSubmitTime, ProviderUid, ReceiveFolderSettings, RecipientCertificate, RecipientNumberForAdvice, RecipientStatus, RedirectionHistory, RegisteredMailType, RelatedIpms, RemoteProgress, RemoteProgressText, RemoteValidateOk, ReportingDlName, ReportingMtaCertificate, RequestedDeliveryMethod, ResourceFlags, ResourceMethods, ResourcePath, ResourceType, ReturnedIpm, RtfSyncBodyCount, RtfSyncBodyCrc, RtfSyncBodyTag, RtfSyncPrefixCount, RtfSyncTrailingCount, Search, ExSecurity, SentmailEntryid, ServiceDeleteFiles, ServiceDllName, ServiceEntryName, ServiceExtraUids, ServiceName, ServiceSupportFiles, ServiceUid, Services, SpoolerStatus, Status, StatusCode, StatusString, StoreProviders, StoreRecordKey, SubjectIpm, SubmitFlags, Supersedes, TransportKey, TransportProviders, TransportStatus, TypeOfMtsUser, ValidFolderMask, ViewsEntryid, X400ContentType, X400DeferredDeliveryCancel, Xpos, Ypos + :param discriminator: + :param name: Known property name. See all known properties here: https://apireference.aspose.com/email/net/aspose.email.mapi/knownpropertylist/fields/index Possible values: Mileage, ObjectUri, GDataContactVersion, GDataPhotoVersion, AddressBookProviderArrayType, AddressBookProviderEmailList, AddressCountryCode, AgingDontAgeMe, AllAttendeesString, AllowExternalCheck, AnniversaryEventEntryId, AppointmentAuxiliaryFlags, AppointmentColor, AppointmentCounterProposal, AppointmentDuration, AppointmentEndDate, AppointmentEndTime, AppointmentEndWhole, AppointmentLastSequence, AppointmentMessageClass, AppointmentNotAllowPropose, AppointmentProposalNumber, AppointmentProposedDuration, AppointmentProposedEndWhole, AppointmentProposedStartWhole, AppointmentRecur, AppointmentReplyName, AppointmentReplyTime, AppointmentSequence, AppointmentSequenceTime, AppointmentStartDate, AppointmentStartTime, AppointmentStartWhole, AppointmentStateFlags, AppointmentSubType, AppointmentTimeZoneDefinitionEndDisplay, AppointmentTimeZoneDefinitionRecur, AppointmentTimeZoneDefinitionStartDisplay, AppointmentUnsendableRecipients, AppointmentUpdateTime, AttendeeCriticalChange, AutoFillLocation, AutoLog, AutoProcessState, AutoStartCheck, Billing, BirthdayEventEntryId, BirthdayLocal, BusinessCardCardPicture, BusinessCardDisplayDefinition, BusyStatus, CalendarType, Categories, CcAttendeesString, ChangeHighlight, Classification, ClassificationDescription, ClassificationGuid, ClassificationKeep, Classified, CleanGlobalObjectId, ClientIntent, ClipEnd, ClipStart, CollaborateDoc, CommonEnd, CommonStart, Companies, ConferencingCheck, ConferencingType, ContactCharacterSet, ContactItemData, ContactLinkedGlobalAddressListEntryId, ContactLinkEntry, ContactLinkGlobalAddressListLinkId, ContactLinkGlobalAddressListLinkState, ContactLinkLinkRejectHistory, ContactLinkName, ContactLinkSearchKey, ContactLinkSMTPAddressCache, Contacts, ContactUserField1, ContactUserField2, ContactUserField3, ContactUserField4, ConversationActionLastAppliedTime, ConversationActionMaxDeliveryTime, ConversationActionMoveFolderEid, ConversationActionMoveStoreEid, ConversationActionVersion, ConversationProcessed, CurrentVersion, CurrentVersionName, DayInterval, DayOfMonth, DelegateMail, Department, Directory, DistributionListChecksum, DistributionListMembers, DistributionListName, DistributionListOneOffMembers, DistributionListStream, Email1AddressType, Email1DisplayName, Email1EmailAddress, Email1OriginalDisplayName, Email1OriginalEntryId, Email2AddressType, Email2DisplayName, Email2EmailAddress, Email2OriginalDisplayName, Email2OriginalEntryId, Email3AddressType, Email3DisplayName, Email3EmailAddress, Email3OriginalDisplayName, Email3OriginalEntryId, EndRecurrenceDate, EndRecurrenceTime, ExceptionReplaceTime, Fax1AddressType, Fax1EmailAddress, Fax1OriginalDisplayName, Fax1OriginalEntryId, Fax2AddressType, Fax2EmailAddress, Fax2OriginalDisplayName, Fax2OriginalEntryId, Fax3AddressType, Fax3EmailAddress, Fax3OriginalDisplayName, Fax3OriginalEntryId, FExceptionalAttendees, FExceptionalBody, FileUnder, FileUnderId, FileUnderList, FInvited, FlagRequest, FlagString, ForwardInstance, ForwardNotificationRecipients, FOthersAppointment, FreeBusyLocation, GlobalObjectId, HasPicture, HomeAddress, HomeAddressCountryCode, Html, ICalendarDayOfWeekMask, InboundICalStream, InfoPathFormName, InstantMessagingAddress, IntendedBusyStatus, InternetAccountName, InternetAccountStamp, IsContactLinked, IsException, IsRecurring, IsSilent, LinkedTaskItems, Location, LogDocumentPosted, LogDocumentPrinted, LogDocumentRouted, LogDocumentSaved, LogDuration, LogEnd, LogFlags, LogStart, LogType, LogTypeDesc, MeetingType, MeetingWorkspaceUrl, MonthInterval, MonthOfYear, MonthOfYearMask, NetShowUrl, NoEndDateFlag, NonSendableBcc, NonSendableCc, NonSendableTo, NonSendBccTrackStatus, NonSendCcTrackStatus, NonSendToTrackStatus, NoteColor, NoteHeight, NoteWidth, NoteX, NoteY, Occurrences, OldLocation, OldRecurrenceType, OldWhenEndWhole, OldWhenStartWhole, OnlinePassword, OptionalAttendees, OrganizerAlias, OriginalStoreEntryId, OtherAddress, OtherAddressCountryCode, OwnerCriticalChange, OwnerName, PendingStateForSiteMailboxDocument, PercentComplete, PostalAddressId, PostRssChannel, PostRssChannelLink, PostRssItemGuid, PostRssItemHash, PostRssItemLink, PostRssItemXml, PostRssSubscription, Private, PromptSendUpdate, RecurrenceDuration, RecurrencePattern, RecurrenceType, Recurring, ReferenceEntryId, ReminderDelta, ReminderFileParameter, ReminderOverride, ReminderPlaySound, ReminderSet, ReminderSignalTime, ReminderTime, ReminderTimeDate, ReminderTimeTime, ReminderType, RemoteStatus, RequiredAttendees, ResourceAttendees, ResponseStatus, ServerProcessed, ServerProcessingActions, SharingAnonymity, SharingBindingEntryId, SharingBrowseUrl, SharingCapabilities, SharingConfigurationUrl, SharingDataRangeEnd, SharingDataRangeStart, SharingDetail, SharingExtensionXml, SharingFilter, SharingFlags, SharingFlavor, SharingFolderEntryId, SharingIndexEntryId, SharingInitiatorEntryId, SharingInitiatorName, SharingInitiatorSmtp, SharingInstanceGuid, SharingLastAutoSyncTime, SharingLastSyncTime, SharingLocalComment, SharingLocalLastModificationTime, SharingLocalName, SharingLocalPath, SharingLocalStoreUid, SharingLocalType, SharingLocalUid, SharingOriginalMessageEntryId, SharingParentBindingEntryId, SharingParticipants, SharingPermissions, SharingProviderExtension, SharingProviderGuid, SharingProviderName, SharingProviderUrl, SharingRangeEnd, SharingRangeStart, SharingReciprocation, SharingRemoteByteSize, SharingRemoteComment, SharingRemoteCrc, SharingRemoteLastModificationTime, SharingRemoteMessageCount, SharingRemoteName, SharingRemotePass, SharingRemotePath, SharingRemoteStoreUid, SharingRemoteType, SharingRemoteUid, SharingRemoteUser, SharingRemoteVersion, SharingResponseTime, SharingResponseType, SharingRoamLog, SharingStart, SharingStatus, SharingStop, SharingSyncFlags, SharingSyncInterval, SharingTimeToLive, SharingTimeToLiveAuto, SharingWorkingHoursDays, SharingWorkingHoursEnd, SharingWorkingHoursStart, SharingWorkingHoursTimeZone, SideEffects, SingleBodyICal, SmartNoAttach, SpamOriginalFolder, StartRecurrenceDate, StartRecurrenceTime, TaskAcceptanceState, TaskAccepted, TaskActualEffort, TaskAssigner, TaskAssigners, TaskComplete, TaskCustomFlags, TaskDateCompleted, TaskDeadOccurrence, TaskDueDate, TaskEstimatedEffort, TaskFCreator, TaskFFixOffline, TaskFRecurring, TaskGlobalId, TaskHistory, TaskLastDelegate, TaskLastUpdate, TaskLastUser, TaskMode, TaskMultipleRecipients, TaskNoCompute, TaskOrdinal, TaskOwner, TaskOwnership, TaskRecurrence, TaskResetReminder, TaskRole, TaskStartDate, TaskState, TaskStatus, TaskStatusOnComplete, TaskUpdates, TaskVersion, TeamTask, TimeZone, TimeZoneDescription, TimeZoneStruct, ToAttendeesString, ToDoOrdinalDate, ToDoSubOrdinal, ToDoTitle, UseTnef, ValidFlagStringProof, VerbResponse, VerbStream, WeddingAnniversaryLocal, WeekInterval, Where, WorkAddress, WorkAddressCity, WorkAddressCountry, WorkAddressCountryCode, WorkAddressPostalCode, WorkAddressPostOfficeBox, WorkAddressState, WorkAddressStreet, YearInterval, YomiCompanyName, YomiFirstName, YomiLastName, AcceptLanguage, ApplicationName, AttachmentMacContentType, AttachmentMacInfo, AudioNotes, Author, AutomaticSpeechRecognitionData, ByteCount, CalendarAttendeeRole, CalendarBusystatus, CalendarContact, CalendarContactUrl, CalendarCreated, CalendarDescriptionUrl, CalendarDuration, CalendarExceptionDate, CalendarExceptionRule, CalendarGeoLatitude, CalendarGeoLongitude, CalendarInstanceType, CalendarIsOrganizer, CalendarLastModified, CalendarLocationUrl, CalendarMeetingStatus, CalendarMethod, CalendarProductId, CalendarRecurrenceIdRange, CalendarReminderOffset, CalendarResources, CalendarRsvp, CalendarSequence, CalendarTimeZone, CalendarTimeZoneId, CalendarTransparent, CalendarUid, CalendarVersion, Category, CharacterCount, Comments, Company, ContentBase, ContentClass, ContentType, CreateDateTimeReadOnly, CrossReference, DavId, DavIsCollection, DavIsStructuredDocument, DavParentName, DavUid, DocumentParts, EditTime, ExchangeIntendedBusyStatus, ExchangeJunkEmailMoveStamp, ExchangeModifyExceptionStructure, ExchangeNoModifyExceptions, ExchangePatternEnd, ExchangePatternStart, ExchangeReminderInterval, ExchDatabaseSchema, ExchDataExpectedContentClass, ExchDataSchemaCollectionReference, ExtractedAddresses, ExtractedContacts, ExtractedEmails, ExtractedMeetings, ExtractedPhones, ExtractedTasks, ExtractedUrls, From, HeadingPairs, HiddenCount, HttpmailCalendar, HttpmailHtmlDescription, HttpmailSendMessage, ICalendarRecurrenceDate, ICalendarRecurrenceRule, InternetSubject, Keywords, LastAuthor, LastPrinted, LastSaveDateTime, LineCount, LinksDirty, LocationUrl, Manager, MultimediaClipCount, NoteCount, OMSAccountGuid, OMSMobileModel, OMSScheduleTime, OMSServiceType, OMSSourceType, PageCount, ParagraphCount, PhishingStamp, PresentationFormat, QuarantineOriginalSender, RevisionNumber, RightsManagementLicense, Scale, Security, SlideCount, Subject, Template, Thumbnail, Title, WordCount, XCallId, XFaxNumberOfPages, XRequireProtectedPlayOnPhone, XSenderTelephoneNumber, XSharingBrowseUrl, XSharingCapabilities, XSharingConfigUrl, XSharingExendedCaps, XSharingFlavor, XSharingInstanceGuid, XSharingLocalType, XSharingProviderGuid, XSharingProviderName, XSharingProviderUrl, XSharingRemoteName, XSharingRemotePath, XSharingRemoteStoreUid, XSharingRemoteType, XSharingRemoteUid, XVoiceMessageAttachmentOrder, XVoiceMessageDuration, XVoiceMessageSenderName, Access, AccessControlListData, AccessLevel, Account, AdditionalRenEntryIds, AdditionalRenEntryIdsEx, AddressBookAuthorizedSenders, AddressBookContainerId, AddressBookDeliveryContentLength, AddressBookDisplayNamePrintable, AddressBookDisplayTypeExtended, AddressBookDistributionListExternalMemberCount, AddressBookDistributionListMemberCount, AddressBookDistributionListMemberSubmitAccepted, AddressBookDistributionListMemberSubmitRejected, AddressBookDistributionListRejectMessagesFromDLMembers, AddressBookEntryId, AddressBookExtensionAttribute1, AddressBookExtensionAttribute10, AddressBookExtensionAttribute11, AddressBookExtensionAttribute12, AddressBookExtensionAttribute13, AddressBookExtensionAttribute14, AddressBookExtensionAttribute15, AddressBookExtensionAttribute2, AddressBookExtensionAttribute3, AddressBookExtensionAttribute4, AddressBookExtensionAttribute5, AddressBookExtensionAttribute6, AddressBookExtensionAttribute7, AddressBookExtensionAttribute8, AddressBookExtensionAttribute9, AddressBookFolderPathname, AddressBookHierarchicalChildDepartments, AddressBookHierarchicalDepartmentMembers, AddressBookHierarchicalIsHierarchicalGroup, AddressBookHierarchicalParentDepartment, AddressBookHierarchicalRootDepartment, AddressBookHierarchicalShowInDepartments, AddressBookHomeMessageDatabase, AddressBookIsMaster, AddressBookIsMemberOfDistributionList, AddressBookManageDistributionList, AddressBookManager, AddressBookManagerDistinguishedName, AddressBookMember, AddressBookMessageId, AddressBookModerationEnabled, AddressBookNetworkAddress, AddressBookObjectDistinguishedName, AddressBookObjectGuid, AddressBookOrganizationalUnitRootDistinguishedName, AddressBookOwner, AddressBookOwnerBackLink, AddressBookParentEntryId, AddressBookPhoneticCompanyName, AddressBookPhoneticDepartmentName, AddressBookPhoneticDisplayName, AddressBookPhoneticGivenName, AddressBookPhoneticSurname, AddressBookProxyAddresses, AddressBookPublicDelegates, AddressBookReports, AddressBookRoomCapacity, AddressBookRoomContainers, AddressBookRoomDescription, AddressBookSenderHintTranslations, AddressBookSeniorityIndex, AddressBookTargetAddress, AddressBookUnauthorizedSenders, AddressBookX509Certificate, AddressType, AlternateRecipientAllowed, Anr, ArchiveDate, ArchivePeriod, ArchiveTag, Assistant, AssistantTelephoneNumber, Associated, AttachAdditionalInformation, AttachContentBase, AttachContentId, AttachContentLocation, AttachDataBinary, AttachDataObject, AttachEncoding, AttachExtension, AttachFilename, AttachFlags, AttachLongFilename, AttachLongPathname, AttachmentContactPhoto, AttachmentFlags, AttachmentHidden, AttachmentLinkId, AttachMethod, AttachMimeTag, AttachNumber, AttachPathname, AttachPayloadClass, AttachPayloadProviderGuidString, AttachRendering, AttachSize, AttachTag, AttachTransportName, AttributeHidden, AttributeReadOnly, AutoForwardComment, AutoForwarded, AutoResponseSuppress, Birthday, BlockStatus, Body, BodyContentId, BodyContentLocation, BodyHtml, Business2TelephoneNumber, Business2TelephoneNumbers, BusinessFaxNumber, BusinessHomePage, BusinessTelephoneNumber, CallbackTelephoneNumber, CallId, CarTelephoneNumber, CdoRecurrenceid, ChangeKey, ChangeNumber, ChildrensNames, ClientActions, ClientSubmitTime, CodePageId, Comment, CompanyMainTelephoneNumber, CompanyName, ComputerNetworkName, ConflictEntryId, ContainerClass, ContainerContents, ContainerFlags, ContainerHierarchy, ContentCount, ContentFilterSpamConfidenceLevel, ContentUnreadCount, ConversationId, ConversationIndex, ConversationIndexTracking, ConversationTopic, Country, CreationTime, CreatorEntryId, CreatorName, CustomerId, DamBackPatched, DamOriginalEntryId, DefaultPostMessageClass, DeferredActionMessageOriginalEntryId, DeferredDeliveryTime, DeferredSendNumber, DeferredSendTime, DeferredSendUnits, DelegatedByRule, DelegateFlags, DeleteAfterSubmit, DeletedCountTotal, DeletedOn, DeliverTime, DepartmentName, Depth, DisplayBcc, DisplayCc, DisplayName, DisplayNamePrefix, DisplayTo, DisplayType, DisplayTypeEx, EmailAddress, EndDate, EntryId, ExceptionEndTime, TagExceptionReplaceTime, ExceptionStartTime, ExchangeNTSecurityDescriptor, ExpiryNumber, ExpiryTime, ExpiryUnits, ExtendedFolderFlags, ExtendedRuleMessageActions, ExtendedRuleMessageCondition, ExtendedRuleSizeLimit, FaxNumberOfPages, FlagCompleteTime, FlagStatus, FlatUrlName, FolderAssociatedContents, FolderId, FolderFlags, FolderType, FollowupIcon, FreeBusyCountMonths, FreeBusyEntryIds, FreeBusyMessageEmailAddress, FreeBusyPublishEnd, FreeBusyPublishStart, FreeBusyRangeTimestamp, FtpSite, GatewayNeedsToRefresh, Gender, Generation, GivenName, GovernmentIdNumber, HasAttachments, HasDeferredActionMessages, HasNamedProperties, HasRules, HierarchyChangeNumber, HierRev, Hobbies, Home2TelephoneNumber, Home2TelephoneNumbers, HomeAddressCity, HomeAddressCountry, HomeAddressPostalCode, HomeAddressPostOfficeBox, HomeAddressStateOrProvince, HomeAddressStreet, HomeFaxNumber, HomeTelephoneNumber, TagHtml, ICalendarEndTime, ICalendarReminderNextTime, ICalendarStartTime, IconIndex, Importance, InConflict, InitialDetailsPane, Initials, InReplyToId, InstanceKey, InstanceNum, InstID, InternetCodepage, InternetMailOverrideFormat, InternetMessageId, InternetReferences, IpmAppointmentEntryId, IpmContactEntryId, IpmDraftsEntryId, IpmJournalEntryId, IpmNoteEntryId, IpmTaskEntryId, IsdnNumber, JunkAddRecipientsToSafeSendersList, JunkIncludeContacts, JunkPermanentlyDelete, JunkPhishingEnableLinks, JunkThreshold, Keyword, Language, LastModificationTime, LastModifierEntryId, LastModifierName, LastVerbExecuted, LastVerbExecutionTime, ListHelp, ListSubscribe, ListUnsubscribe, LocalCommitTime, LocalCommitTimeMax, LocaleId, Locality, TagLocation, MailboxOwnerEntryId, MailboxOwnerName, ManagerName, MappingSignature, MaximumSubmitMessageSize, MemberId, MemberName, MemberRights, MessageAttachments, MessageCcMe, MessageClass, MessageCodepage, MessageDeliveryTime, MessageEditorFormat, MessageFlags, MessageHandlingSystemCommonName, MessageLocaleId, MessageRecipientMe, MessageRecipients, MessageSize, MessageSizeExtended, MessageStatus, MessageSubmissionId, MessageToMe, Mid, MiddleName, MimeSkeleton, MobileTelephoneNumber, NativeBody, NextSendAcct, Nickname, NonDeliveryReportDiagCode, NonDeliveryReportReasonCode, NonDeliveryReportStatusCode, NonReceiptNotificationRequested, NormalizedSubject, ObjectType, OfficeLocation, OfflineAddressBookContainerGuid, OfflineAddressBookDistinguishedName, OfflineAddressBookMessageClass, OfflineAddressBookName, OfflineAddressBookSequence, OfflineAddressBookTruncatedProperties, OrdinalMost, OrganizationalIdNumber, OriginalAuthorEntryId, OriginalAuthorName, OriginalDeliveryTime, OriginalDisplayBcc, OriginalDisplayCc, OriginalDisplayTo, OriginalEntryId, OriginalMessageClass, OriginalMessageId, OriginalSenderAddressType, OriginalSenderEmailAddress, OriginalSenderEntryId, OriginalSenderName, OriginalSenderSearchKey, OriginalSensitivity, OriginalSentRepresentingAddressType, OriginalSentRepresentingEmailAddress, OriginalSentRepresentingEntryId, OriginalSentRepresentingName, OriginalSentRepresentingSearchKey, OriginalSubject, OriginalSubmitTime, OriginatorDeliveryReportRequested, OriginatorNonDeliveryReportRequested, OscSyncEnabled, OtherAddressCity, OtherAddressCountry, OtherAddressPostalCode, OtherAddressPostOfficeBox, OtherAddressStateOrProvince, OtherAddressStreet, OtherTelephoneNumber, OutOfOfficeState, OwnerAppointmentId, PagerTelephoneNumber, ParentEntryId, ParentFolderId, ParentKey, ParentSourceKey, PersonalHomePage, PolicyTag, PostalAddress, PostalCode, PostOfficeBox, PredecessorChangeList, PrimaryFaxNumber, PrimarySendAccount, PrimaryTelephoneNumber, Priority, Processed, Profession, ProhibitReceiveQuota, ProhibitSendQuota, PurportedSenderDomain, RadioTelephoneNumber, Read, ReadReceiptAddressType, ReadReceiptEmailAddress, ReadReceiptEntryId, ReadReceiptName, ReadReceiptRequested, ReadReceiptSearchKey, ReadReceiptSmtpAddress, ReceiptTime, ReceivedByAddressType, ReceivedByEmailAddress, ReceivedByEntryId, ReceivedByName, ReceivedBySearchKey, ReceivedBySmtpAddress, ReceivedRepresentingAddressType, ReceivedRepresentingEmailAddress, ReceivedRepresentingEntryId, ReceivedRepresentingName, ReceivedRepresentingSearchKey, ReceivedRepresentingSmtpAddress, RecipientDisplayName, RecipientEntryId, RecipientFlags, RecipientOrder, RecipientProposed, RecipientProposedEndTime, RecipientProposedStartTime, RecipientReassignmentProhibited, RecipientTrackStatus, RecipientTrackStatusTime, RecipientType, RecordKey, ReferredByName, RemindersOnlineEntryId, RemoteMessageTransferAgent, RenderingPosition, ReplyRecipientEntries, ReplyRecipientNames, ReplyRequested, ReplyTemplateId, ReplyTime, ReportDisposition, ReportDispositionMode, ReportEntryId, ReportingMessageTransferAgent, ReportName, ReportSearchKey, ReportTag, ReportText, ReportTime, ResolveMethod, ResponseRequested, Responsibility, RetentionDate, RetentionFlags, RetentionPeriod, Rights, RoamingDatatypes, RoamingDictionary, RoamingXmlStream, Rowid, RowType, RtfCompressed, RtfInSync, RuleActionNumber, RuleActions, RuleActionType, RuleCondition, RuleError, RuleFolderEntryId, RuleId, RuleIds, RuleLevel, RuleMessageLevel, RuleMessageName, RuleMessageProvider, RuleMessageProviderData, RuleMessageSequence, RuleMessageState, RuleMessageUserFlags, RuleName, RuleProvider, RuleProviderData, RuleSequence, RuleState, RuleUserFlags, RwRulesStream, ScheduleInfoAppointmentTombstone, ScheduleInfoAutoAcceptAppointments, ScheduleInfoDelegateEntryIds, ScheduleInfoDelegateNames, ScheduleInfoDelegateNamesW, ScheduleInfoDelegatorWantsCopy, ScheduleInfoDelegatorWantsInfo, ScheduleInfoDisallowOverlappingAppts, ScheduleInfoDisallowRecurringAppts, ScheduleInfoDontMailDelegates, ScheduleInfoFreeBusy, ScheduleInfoFreeBusyAway, ScheduleInfoFreeBusyBusy, ScheduleInfoFreeBusyMerged, ScheduleInfoFreeBusyTentative, ScheduleInfoMonthsAway, ScheduleInfoMonthsBusy, ScheduleInfoMonthsMerged, ScheduleInfoMonthsTentative, ScheduleInfoResourceType, SchedulePlusFreeBusyEntryId, ScriptData, SearchFolderDefinition, SearchFolderEfpFlags, SearchFolderExpiration, SearchFolderId, SearchFolderLastUsed, SearchFolderRecreateInfo, SearchFolderStorageType, SearchFolderTag, SearchFolderTemplateId, SearchKey, SecurityDescriptorAsXml, Selectable, SenderAddressType, SenderEmailAddress, SenderEntryId, SenderIdStatus, SenderName, SenderSearchKey, SenderSmtpAddress, SenderTelephoneNumber, SendInternetEncoding, SendRichInfo, Sensitivity, SentMailSvrEID, SentRepresentingAddressType, SentRepresentingEmailAddress, SentRepresentingEntryId, SentRepresentingFlags, SentRepresentingName, SentRepresentingSearchKey, SentRepresentingSmtpAddress, SmtpAddress, SortLocaleId, SourceKey, SpokenName, SpouseName, StartDate, StartDateEtc, StateOrProvince, StoreEntryId, StoreState, StoreSupportMask, StreetAddress, Subfolders, TagSubject, SubjectPrefix, SupplementaryInfo, Surname, SwappedToDoData, SwappedToDoStore, TargetEntryId, TelecommunicationsDeviceForDeafTelephoneNumber, TelexNumber, TemplateData, Templateid, TextAttachmentCharset, ThumbnailPhoto, TagTitle, TnefCorrelationKey, ToDoItemFlags, TransmittableDisplayName, TransportMessageHeaders, TrustSender, UserCertificate, UserEntryId, UserX509Certificate, ViewDescriptorBinary, ViewDescriptorName, ViewDescriptorStrings, ViewDescriptorVersion, VoiceMessageAttachmentOrder, VoiceMessageDuration, VoiceMessageSenderName, WeddingAnniversary, WlinkAddressBookEID, WlinkAddressBookStoreEID, WlinkCalendarColor, WlinkClientID, WlinkEntryId, WlinkFlags, WlinkFolderType, WlinkGroupClsid, WlinkGroupHeaderID, WlinkGroupName, WlinkOrdinal, WlinkRecordKey, WlinkROGroupType, WlinkSaveStamp, WlinkSection, WlinkStoreEntryId, WlinkType, Abstract, ActiveUserEntryid, AddrbookForLocalSiteEntryid, AddressBookDisplayName, ArrivalTime, AssocMessageSize, AssocMessageSizeExtended, AssocMsgWAttachCount, AttachOnAssocMsgCount, AttachOnNormalMsgCount, AutoAddNewSubs, BilateralInfo, CachedColumnCount, CategCount, ChangeAdvisor, ChangeNotificationGuid, Collector, ContactCount, ContentSearchKey, ContentsSynchronizer, DeletedAssocMessageSizeExtended, DeletedAssocMsgCount, DeletedFolderCount, DeletedMessageSizeExtended, DeletedMsgCount, DeletedNormalMessageSizeExtended, DesignInProgress, DisableFullFidelity, DisableWinsock, DlReportFlags, EformsForLocaleEntryid, EformsLocaleId, EformsRegistryEntryid, EmsAbAccessCategory, EmsAbActivationSchedule, EmsAbActivationStyle, EmsAbAddressEntryDisplayTable, EmsAbAddressEntryDisplayTableMsdos, EmsAbAddressSyntax, EmsAbAddressType, EmsAbAdmd, EmsAbAdminDescription, EmsAbAdminDisplayName, EmsAbAdminExtensionDll, EmsAbAliasedObjectName, EmsAbAliasedObjectNameO, EmsAbAltRecipient, EmsAbAltRecipientBl, EmsAbAltRecipientBlO, EmsAbAltRecipientO, EmsAbAncestorId, EmsAbAnonymousAccess, EmsAbAnonymousAccount, EmsAbAssocNtAccount, EmsAbAssocProtocolCfgNntp, EmsAbAssocProtocolCfgNntpO, EmsAbAssocRemoteDxa, EmsAbAssocRemoteDxaO, EmsAbAssociationLifetime, EmsAbAttributeCertificate, EmsAbAuthOrigBl, EmsAbAuthOrigBlO, EmsAbAuthenticationToUse, EmsAbAuthorityRevocationList, EmsAbAuthorizedDomain, EmsAbAuthorizedPassword, EmsAbAuthorizedPasswordConfirm, EmsAbAuthorizedUser, EmsAbAutoreply, EmsAbAutoreplyMessage, EmsAbAutoreplySubject, EmsAbAvailableAuthorizationPackages, EmsAbAvailableDistributions, EmsAbBridgeheadServers, EmsAbBridgeheadServersO, EmsAbBusinessCategory, EmsAbBusinessRoles, EmsAbCaCertificate, EmsAbCanCreatePf, EmsAbCanCreatePfBl, EmsAbCanCreatePfBlO, EmsAbCanCreatePfDl, EmsAbCanCreatePfDlBl, EmsAbCanCreatePfDlBlO, EmsAbCanCreatePfDlO, EmsAbCanCreatePfO, EmsAbCanNotCreatePf, EmsAbCanNotCreatePfBl, EmsAbCanNotCreatePfBlO, EmsAbCanNotCreatePfDl, EmsAbCanNotCreatePfDlBl, EmsAbCanNotCreatePfDlBlO, EmsAbCanNotCreatePfDlO, EmsAbCanNotCreatePfO, EmsAbCanPreserveDns, EmsAbCertificateChainV3, EmsAbCertificateRevocationList, EmsAbCertificateRevocationListV1, EmsAbCertificateRevocationListV3, EmsAbCharacterSet, EmsAbCharacterSetList, EmsAbChildRdns, EmsAbClientAccessEnabled, EmsAbClockAlertOffset, EmsAbClockAlertRepair, EmsAbClockWarningOffset, EmsAbClockWarningRepair, EmsAbCompromisedKeyList, EmsAbComputerName, EmsAbConnectedDomains, EmsAbConnectionListFilter, EmsAbConnectionListFilterType, EmsAbConnectionType, EmsAbContainerInfo, EmsAbContentType, EmsAbControlMsgFolderId, EmsAbControlMsgRules, EmsAbCost, EmsAbCountryName, EmsAbCrossCertificateCrl, EmsAbCrossCertificatePair, EmsAbDefaultMessageFormat, EmsAbDelegateUser, EmsAbDelivEits, EmsAbDelivExtContTypes, EmsAbDeliverAndRedirect, EmsAbDeliveryMechanism, EmsAbDeltaRevocationList, EmsAbDescription, EmsAbDestinationIndicator, EmsAbDiagnosticRegKey, EmsAbDisableDeferredCommit, EmsAbDisabledGatewayProxy, EmsAbDisplayNameOverride, EmsAbDisplayNameSuffix, EmsAbDlMemRejectPermsBl, EmsAbDlMemRejectPermsBlO, EmsAbDlMemberRule, EmsAbDmdName, EmsAbDoOabVersion, EmsAbDomainDefAltRecip, EmsAbDomainDefAltRecipO, EmsAbDomainName, EmsAbDsaSignature, EmsAbDxaAdminCopy, EmsAbDxaAdminForward, EmsAbDxaAdminUpdate, EmsAbDxaAppendReqcn, EmsAbDxaConfContainerList, EmsAbDxaConfContainerListO, EmsAbDxaConfReqTime, EmsAbDxaConfSeq, EmsAbDxaConfSeqUsn, EmsAbDxaExchangeOptions, EmsAbDxaExportNow, EmsAbDxaFlags, EmsAbDxaImpSeq, EmsAbDxaImpSeqTime, EmsAbDxaImpSeqUsn, EmsAbDxaImportNow, EmsAbDxaInTemplateMap, EmsAbDxaLocalAdmin, EmsAbDxaLocalAdminO, EmsAbDxaLoggingLevel, EmsAbDxaNativeAddressType, EmsAbDxaOutTemplateMap, EmsAbDxaPassword, EmsAbDxaPrevExchangeOptions, EmsAbDxaPrevExportNativeOnly, EmsAbDxaPrevInExchangeSensitivity, EmsAbDxaPrevRemoteEntries, EmsAbDxaPrevRemoteEntriesO, EmsAbDxaPrevReplicationSensitivity, EmsAbDxaPrevTemplateOptions, EmsAbDxaPrevTypes, EmsAbDxaRecipientCp, EmsAbDxaRemoteClient, EmsAbDxaRemoteClientO, EmsAbDxaReqSeq, EmsAbDxaReqSeqTime, EmsAbDxaReqSeqUsn, EmsAbDxaReqname, EmsAbDxaSvrSeq, EmsAbDxaSvrSeqTime, EmsAbDxaSvrSeqUsn, EmsAbDxaTask, EmsAbDxaTemplateOptions, EmsAbDxaTemplateTimestamp, EmsAbDxaTypes, EmsAbDxaUnconfContainerList, EmsAbDxaUnconfContainerListO, EmsAbEmployeeNumber, EmsAbEmployeeType, EmsAbEnableCompatibility, EmsAbEnabled, EmsAbEnabledAuthorizationPackages, EmsAbEnabledProtocolCfg, EmsAbEnabledProtocols, EmsAbEncapsulationMethod, EmsAbEncrypt, EmsAbEncryptAlgListNa, EmsAbEncryptAlgListOther, EmsAbEncryptAlgSelectedNa, EmsAbEncryptAlgSelectedOther, EmsAbExpandDlsLocally, EmsAbExpirationTime, EmsAbExportContainers, EmsAbExportContainersO, EmsAbExportCustomRecipients, EmsAbExtendedCharsAllowed, EmsAbExtensionData, EmsAbExtensionName, EmsAbExtensionNameInherited, EmsAbFacsimileTelephoneNumber, EmsAbFileVersion, EmsAbFilterLocalAddresses, EmsAbFoldersContainer, EmsAbFoldersContainerO, EmsAbFormData, EmsAbForwardingAddress, EmsAbGarbageCollPeriod, EmsAbGatewayLocalCred, EmsAbGatewayLocalDesig, EmsAbGatewayProxy, EmsAbGatewayRoutingTree, EmsAbGenerationQualifier, EmsAbGroupByAttr1, EmsAbGroupByAttr2, EmsAbGroupByAttr3, EmsAbGroupByAttr4, EmsAbGroupByAttrValueDn, EmsAbGroupByAttrValueDnO, EmsAbGroupByAttrValueStr, EmsAbGwartLastModified, EmsAbHasFullReplicaNcs, EmsAbHasFullReplicaNcsO, EmsAbHasMasterNcs, EmsAbHasMasterNcsO, EmsAbHelpData16, EmsAbHelpData32, EmsAbHelpFileName, EmsAbHeuristics, EmsAbHideDlMembership, EmsAbHideFromAddressBook, EmsAbHierarchyPath, EmsAbHomeMdbBl, EmsAbHomeMdbBlO, EmsAbHomeMta, EmsAbHomeMtaO, EmsAbHomePublicServer, EmsAbHomePublicServerO, EmsAbHouseIdentifier, EmsAbHttpPubAbAttributes, EmsAbHttpPubGal, EmsAbHttpPubGalLimit, EmsAbHttpPubPf, EmsAbHttpServers, EmsAbImportContainer, EmsAbImportContainerO, EmsAbImportSensitivity, EmsAbImportedFrom, EmsAbInboundAcceptAll, EmsAbInboundDn, EmsAbInboundDnO, EmsAbInboundHost, EmsAbInboundNewsfeed, EmsAbInboundNewsfeedType, EmsAbInboundSites, EmsAbInboundSitesO, EmsAbIncomingMsgSizeLimit, EmsAbIncomingPassword, EmsAbInsadmin, EmsAbInsadminO, EmsAbInstanceType, EmsAbInternationalIsdnNumber, EmsAbInvocationId, EmsAbIsDeleted, EmsAbIsSingleValued, EmsAbKccStatus, EmsAbKmServer, EmsAbKmServerO, EmsAbKnowledgeInformation, EmsAbLabeleduri, EmsAbLanguage, EmsAbLanguageIso639, EmsAbLdapDisplayName, EmsAbLdapSearchCfg, EmsAbLineWrap, EmsAbLinkId, EmsAbListPublicFolders, EmsAbLocalBridgeHead, EmsAbLocalBridgeHeadAddress, EmsAbLocalInitialTurn, EmsAbLocalScope, EmsAbLocalScopeO, EmsAbLogFilename, EmsAbLogRolloverInterval, EmsAbMailDrop, EmsAbMaintainAutoreplyHistory, EmsAbMapiDisplayType, EmsAbMapiId, EmsAbMaximumObjectId, EmsAbMdbBackoffInterval, EmsAbMdbMsgTimeOutPeriod, EmsAbMdbOverQuotaLimit, EmsAbMdbStorageQuota, EmsAbMdbUnreadLimit, EmsAbMdbUseDefaults, EmsAbMessageTrackingEnabled, EmsAbMimeTypes, EmsAbModerated, EmsAbModerator, EmsAbMonitorClock, EmsAbMonitorServers, EmsAbMonitorServices, EmsAbMonitoredConfigurations, EmsAbMonitoredConfigurationsO, EmsAbMonitoredServers, EmsAbMonitoredServersO, EmsAbMonitoredServices, EmsAbMonitoringAlertDelay, EmsAbMonitoringAlertUnits, EmsAbMonitoringAvailabilityStyle, EmsAbMonitoringAvailabilityWindow, EmsAbMonitoringCachedViaMail, EmsAbMonitoringCachedViaMailO, EmsAbMonitoringCachedViaRpc, EmsAbMonitoringCachedViaRpcO, EmsAbMonitoringEscalationProcedure, EmsAbMonitoringHotsitePollInterval, EmsAbMonitoringHotsitePollUnits, EmsAbMonitoringMailUpdateInterval, EmsAbMonitoringMailUpdateUnits, EmsAbMonitoringNormalPollInterval, EmsAbMonitoringNormalPollUnits, EmsAbMonitoringRecipients, EmsAbMonitoringRecipientsNdr, EmsAbMonitoringRecipientsNdrO, EmsAbMonitoringRecipientsO, EmsAbMonitoringRpcUpdateInterval, EmsAbMonitoringRpcUpdateUnits, EmsAbMonitoringWarningDelay, EmsAbMonitoringWarningUnits, EmsAbMtaLocalCred, EmsAbMtaLocalDesig, EmsAbNAddress, EmsAbNAddressType, EmsAbNewsfeedType, EmsAbNewsgroup, EmsAbNewsgroupList, EmsAbNntpCharacterSet, EmsAbNntpContentFormat, EmsAbNntpDistributions, EmsAbNntpDistributionsFlag, EmsAbNntpNewsfeeds, EmsAbNntpNewsfeedsO, EmsAbNtMachineName, EmsAbNtSecurityDescriptor, EmsAbNumOfOpenRetries, EmsAbNumOfTransferRetries, EmsAbObjViewContainers, EmsAbObjViewContainersO, EmsAbObjectClassCategory, EmsAbObjectOid, EmsAbObjectVersion, EmsAbOffLineAbContainers, EmsAbOffLineAbContainersO, EmsAbOffLineAbSchedule, EmsAbOffLineAbServer, EmsAbOffLineAbServerO, EmsAbOffLineAbStyle, EmsAbOidType, EmsAbOmObjectClass, EmsAbOmSyntax, EmsAbOofReplyToOriginator, EmsAbOpenRetryInterval, EmsAbOrganizationName, EmsAbOrganizationalUnitName, EmsAbOriginalDisplayTable, EmsAbOriginalDisplayTableMsdos, EmsAbOtherRecips, EmsAbOutboundHost, EmsAbOutboundHostType, EmsAbOutboundNewsfeed, EmsAbOutboundSites, EmsAbOutboundSitesO, EmsAbOutgoingMsgSizeLimit, EmsAbOverrideNntpContentFormat, EmsAbOwaServer, EmsAbPSelector, EmsAbPSelectorInbound, EmsAbPerMsgDialogDisplayTable, EmsAbPerRecipDialogDisplayTable, EmsAbPeriodRepSyncTimes, EmsAbPeriodReplStagger, EmsAbPersonalTitle, EmsAbPfContacts, EmsAbPfContactsO, EmsAbPopCharacterSet, EmsAbPopContentFormat, EmsAbPortNumber, EmsAbPostalAddress, EmsAbPreferredDeliveryMethod, EmsAbPreserveInternetContent, EmsAbPrmd, EmsAbPromoExpiration, EmsAbProtocolSettings, EmsAbProxyGenerationEnabled, EmsAbProxyGeneratorDll, EmsAbPublicDelegatesBl, EmsAbPublicDelegatesBlO, EmsAbQuotaNotificationSchedule, EmsAbQuotaNotificationStyle, EmsAbRangeLower, EmsAbRangeUpper, EmsAbRasAccount, EmsAbRasCallbackNumber, EmsAbRasPassword, EmsAbRasPhoneNumber, EmsAbRasPhonebookEntryName, EmsAbRasRemoteSrvrName, EmsAbReferralList, EmsAbRegisteredAddress, EmsAbRemoteBridgeHead, EmsAbRemoteBridgeHeadAddress, EmsAbRemoteOutBhServer, EmsAbRemoteOutBhServerO, EmsAbRemoteSite, EmsAbRemoteSiteO, EmsAbReplicatedObjectVersion, EmsAbReplicationMailMsgSize, EmsAbReplicationSensitivity, EmsAbReplicationStagger, EmsAbReportToOriginator, EmsAbReportToOwner, EmsAbReqSeq, EmsAbRequireSsl, EmsAbResponsibleLocalDxa, EmsAbResponsibleLocalDxaO, EmsAbReturnExactMsgSize, EmsAbRidServer, EmsAbRidServerO, EmsAbRoleOccupant, EmsAbRoleOccupantO, EmsAbRootNewsgroupsFolderId, EmsAbRoutingList, EmsAbRtsCheckpointSize, EmsAbRtsRecoveryTimeout, EmsAbRtsWindowSize, EmsAbRunsOn, EmsAbRunsOnO, EmsAbSSelector, EmsAbSSelectorInbound, EmsAbSchemaFlags, EmsAbSchemaVersion, EmsAbSearchFlags, EmsAbSearchGuide, EmsAbSecurityPolicy, EmsAbSecurityProtocol, EmsAbSeeAlso, EmsAbSeeAlsoO, EmsAbSendEmailMessage, EmsAbSendTnef, EmsAbSerialNumber, EmsAbServer, EmsAbServiceActionFirst, EmsAbServiceActionOther, EmsAbServiceActionSecond, EmsAbServiceRestartDelay, EmsAbServiceRestartMessage, EmsAbSessionDisconnectTimer, EmsAbSiteAffinity, EmsAbSiteFolderGuid, EmsAbSiteFolderServer, EmsAbSiteFolderServerO, EmsAbSiteProxySpace, EmsAbSmimeAlgListNa, EmsAbSmimeAlgListOther, EmsAbSmimeAlgSelectedNa, EmsAbSmimeAlgSelectedOther, EmsAbSpaceLastComputed, EmsAbStreetAddress, EmsAbSubRefs, EmsAbSubRefsO, EmsAbSubSite, EmsAbSubmissionContLength, EmsAbSupportSmimeSignatures, EmsAbSupportedAlgorithms, EmsAbSupportedApplicationContext, EmsAbSupportingStack, EmsAbSupportingStackBl, EmsAbSupportingStackBlO, EmsAbSupportingStackO, EmsAbTSelector, EmsAbTSelectorInbound, EmsAbTargetMtas, EmsAbTelephoneNumber, EmsAbTelephonePersonalPager, EmsAbTeletexTerminalIdentifier, EmsAbTempAssocThreshold, EmsAbTombstoneLifetime, EmsAbTrackingLogPathName, EmsAbTransRetryMins, EmsAbTransTimeoutMins, EmsAbTransferRetryInterval, EmsAbTransferTimeoutNonUrgent, EmsAbTransferTimeoutNormal, EmsAbTransferTimeoutUrgent, EmsAbTranslationTableUsed, EmsAbTransportExpeditedData, EmsAbTrustLevel, EmsAbTurnRequestThreshold, EmsAbTwoWayAlternateFacility, EmsAbType, EmsAbUnauthOrigBl, EmsAbUnauthOrigBlO, EmsAbUseServerValues, EmsAbUseSiteValues, EmsAbUsenetSiteName, EmsAbUserPassword, EmsAbUsnChanged, EmsAbUsnCreated, EmsAbUsnDsaLastObjRemoved, EmsAbUsnIntersite, EmsAbUsnLastObjRem, EmsAbUsnSource, EmsAbViewContainer1, EmsAbViewContainer2, EmsAbViewContainer3, EmsAbViewDefinition, EmsAbViewFlags, EmsAbViewSite, EmsAbVoiceMailFlags, EmsAbVoiceMailGreetings, EmsAbVoiceMailPassword, EmsAbVoiceMailRecordedName, EmsAbVoiceMailRecordingLength, EmsAbVoiceMailSpeed, EmsAbVoiceMailSystemGuid, EmsAbVoiceMailUserId, EmsAbVoiceMailVolume, EmsAbWwwHomePage, EmsAbX121Address, EmsAbX25CallUserDataIncoming, EmsAbX25CallUserDataOutgoing, EmsAbX25FacilitiesDataIncoming, EmsAbX25FacilitiesDataOutgoing, EmsAbX25LeasedLinePort, EmsAbX25LeasedOrSwitched, EmsAbX25RemoteMtaPhone, EmsAbX400AttachmentType, EmsAbX400SelectorSyntax, EmsAbX500AccessControlList, EmsAbX500Nc, EmsAbX500Rdn, EmsAbXmitTimeoutNonUrgent, EmsAbXmitTimeoutNormal, EmsAbXmitTimeoutUrgent, EventsRootFolderEntryid, ExcessStorageUsed, ExtendedAclData, FastTransfer, FavoritesDefaultName, FolderChildCount, FolderDesignFlags, FolderPathname, ForeignId, ForeignReportId, ForeignSubjectId, FreeBusyForLocalSiteEntryid, GwAdminOperations, GwMtsinEntryid, GwMtsoutEntryid, HasModeratorRules, HierarchyServer, HierarchySynchronizer, ImapInternalDate, InTransit, InboundNewsfeedDn, InternetCharset, InternetNewsgroupName, IpmDafEntryid, IpmFavoritesEntryid, IpmPublicFoldersEntryid, IsNewsgroup, IsNewsgroupAnchor, LastAccessTime, LastFullBackup, LastLogoffTime, LastLogonTime, LongtermEntryidFromTable, MessageProcessed, MessageSiteName, MoveToFolderEntryid, MoveToStoreEntryid, MsgBodyId, MtsSubjectId, NewSubsGetAutoAdd, NewsfeedInfo, NewsgroupComponent, NewsgroupRootFolderEntryid, NntpArticleFolderEntryid, NntpControlFolderEntryid, NonIpmSubtreeEntryid, NormalMessageSize, NormalMessageSizeExtended, NormalMsgWAttachCount, NtUserName, OfflineAddrbookEntryid, OfflineFlags, OfflineMessageEntryid, OldestDeletedOn, OriginatorAddr, OriginatorAddrtype, OriginatorEntryid, OriginatorName, OstEncryption, OutboundNewsfeedDn, OverallAgeLimit, OverallMsgAgeLimit, OwaUrl, OwnerCount, P1Content, P1ContentType, PreventMsgCreate, Preview, PreviewUnread, ProfileAbFilesPath, ProfileAddrInfo, ProfileAllpubComment, ProfileAllpubDisplayName, ProfileBindingOrder, ProfileConfigFlags, ProfileConnectFlags, ProfileFavfldComment, ProfileFavfldDisplayName, ProfileHomeServer, ProfileHomeServerAddrs, ProfileHomeServerDn, ProfileMailbox, ProfileMaxRestrict, ProfileMoab, ProfileMoabGuid, ProfileMoabSeq, ProfileOfflineInfo, ProfileOfflineStorePath, ProfileOpenFlags, ProfileOptionsData, ProfileSecureMailbox, ProfileServer, ProfileServerDn, ProfileTransportFlags, ProfileType, ProfileUiState, ProfileUnresolvedName, ProfileUnresolvedServer, ProfileUser, ProfileVersion, PstEncryption, PstPath, PstPwSzOld, PstRememberPw, PublicFolderEntryid, PublishInAddressBook, RecipientNumber, RecipientOnAssocMsgCount, RecipientOnNormalMsgCount, ReplicaList, ReplicaServer, ReplicaVersion, ReplicationAlwaysInterval, ReplicationMessagePriority, ReplicationMsgSize, ReplicationSchedule, ReplicationStyle, ReplyRecipientSmtpProxies, ReportDestinationEntryid, ReportDestinationName, RestrictionCount, RetentionAgeLimit, RuleTriggerHistory, RulesData, RulesTable, ScheduleFolderEntryid, SecureInSite, SecureOrigination, StorageLimitInformation, StorageQuotaLimit, StoreOffline, StoreSlowlink, SubjectTraceInfo, SvrGeneratingQuotaMsg, SynchronizeFlags, SysConfigFolderEntryid, TestLineSpeed, TraceInfo, TransferEnabled, UserName, X400EnvelopeType, AbDefaultDir, AbDefaultPab, AbProviderId, AbProviders, AbSearchPath, AbSearchPathUpdate, AlternateRecipient, AssocContentCount, AttachmentX400Parameters, AuthorizingUsers, BodyCrc, CommonViewsEntryid, ContactAddrtypes, ContactDefaultAddressIndex, ContactEmailAddresses, ContactEntryids, ContactVersion, ContainerModifyVersion, ContentConfidentialityAlgorithmId, ContentCorrelator, ContentIdentifier, ContentIntegrityCheck, ContentLength, ContentReturnRequested, ContentsSortOrder, ControlFlags, ControlId, ControlStructure, ControlType, ConversationKey, ConversionEits, ConversionProhibited, ConversionWithLossProhibited, ConvertedEits, Correlate, CorrelateMtsid, CreateTemplates, CreationVersion, ExCurrentVersion, DefCreateDl, DefCreateMailuser, DefaultProfile, DefaultStore, DefaultViewEntryid, Delegation, DeliveryPoint, Deltax, Deltay, DetailsTable, DiscVal, DiscardReason, DiscloseRecipients, DisclosureOfRecipients, DiscreteValues, DlExpansionHistory, DlExpansionProhibited, ExplicitConversion, FilteringHooks, FinderEntryid, FormCategory, FormCategorySub, FormClsid, FormContactName, FormDesignerGuid, FormDesignerName, FormHidden, FormHostMap, FormMessageBehavior, FormVersion, HeaderFolderEntryid, Icon, IdentityDisplay, IdentityEntryid, IdentitySearchKey, ImplicitConversionProhibited, IncompleteCopy, InternetApproved, InternetArticleNumber, InternetControl, InternetDistribution, InternetFollowupTo, InternetLines, InternetNewsgroups, InternetNntpPath, InternetOrganization, InternetPrecedence, IpmId, IpmOutboxEntryid, IpmOutboxSearchKey, IpmReturnRequested, IpmSentmailEntryid, IpmSentmailSearchKey, IpmSubtreeEntryid, IpmSubtreeSearchKey, IpmWastebasketEntryid, IpmWastebasketSearchKey, Languages, LatestDeliveryTime, MailPermission, MdbProvider, MessageDeliveryId, MessageDownloadTime, MessageSecurityLabel, MessageToken, MiniIcon, ModifyVersion, NewsgroupName, NntpXref, NonReceiptReason, ObsoletedIpms, OriginCheck, OriginalAuthorAddrtype, OriginalAuthorEmailAddress, OriginalAuthorSearchKey, OriginalDisplayName, OriginalEits, OriginalSearchKey, OriginallyIntendedRecipAddrtype, OriginallyIntendedRecipEmailAddress, OriginallyIntendedRecipEntryid, OriginallyIntendedRecipientName, OriginatingMtaCertificate, OriginatorAndDlExpansionHistory, OriginatorCertificate, OriginatorRequestedAlternateRecipient, OriginatorReturnAddress, OwnStoreEntryid, ParentDisplay, PhysicalDeliveryBureauFaxDelivery, PhysicalDeliveryMode, PhysicalDeliveryReportRequest, PhysicalForwardingAddress, PhysicalForwardingAddressRequested, PhysicalForwardingProhibited, PhysicalRenditionAttributes, PostFolderEntries, PostFolderNames, PostReplyDenied, PostReplyFolderEntries, PostReplyFolderNames, Preprocess, PrimaryCapability, ProfileName, ProofOfDelivery, ProofOfDeliveryRequested, ProofOfSubmission, ProofOfSubmissionRequested, ProviderDisplay, ProviderDllName, ProviderOrdinal, ProviderSubmitTime, ProviderUid, ReceiveFolderSettings, RecipientCertificate, RecipientNumberForAdvice, RecipientStatus, RedirectionHistory, RegisteredMailType, RelatedIpms, RemoteProgress, RemoteProgressText, RemoteValidateOk, ReportingDlName, ReportingMtaCertificate, RequestedDeliveryMethod, ResourceFlags, ResourceMethods, ResourcePath, ResourceType, ReturnedIpm, RtfSyncBodyCount, RtfSyncBodyCrc, RtfSyncBodyTag, RtfSyncPrefixCount, RtfSyncTrailingCount, Search, ExSecurity, SentmailEntryid, ServiceDeleteFiles, ServiceDllName, ServiceEntryName, ServiceExtraUids, ServiceName, ServiceSupportFiles, ServiceUid, Services, SpoolerStatus, Status, StatusCode, StatusString, StoreProviders, StoreRecordKey, SubjectIpm, SubmitFlags, Supersedes, TransportKey, TransportProviders, TransportStatus, TypeOfMtsUser, ValidFolderMask, ViewsEntryid, X400ContentType, X400DeferredDeliveryCancel, Xpos, Ypos + :type MapiKnownPropertyDescriptor: """ super(MapiKnownPropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py index dbe43b4..1d6a08f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py @@ -60,9 +60,10 @@ class MapiLegacyFreeBusyPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): """ Mapi property with LegacyFreeBusyType value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (str) Represents the free/busy status for a calendar event. Enum, available values: Free, Tentative, Busy, Oof, WorkingElsewhere, NoData + :param descriptor: Property descriptor + :param discriminator: + :param value: Represents the free/busy status for a calendar event. Enum, available values: Free, Tentative, Busy, Oof, WorkingElsewhere, NoData + :type MapiLegacyFreeBusyPropertyDto: """ super(MapiLegacyFreeBusyPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py index 68b3319..a4667a3 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py @@ -57,8 +57,9 @@ class MapiMessageAsFileRequest(object): def __init__(self, format: str = None, value: MapiMessageDto = None): """ Convert MapiMessage to file request. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param value (MapiMessageDto) MAPI message model. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param value: MAPI message model. + :type MapiMessageAsFileRequest: """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py index be6c197..ac739a2 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py @@ -140,48 +140,49 @@ class MapiMessageDto(MapiMessageItemBaseDto): def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, discriminator: str = None, message_body: str = None, client_submit_time: datetime = None, conversation_topic: str = None, delivery_time: datetime = None, display_bcc: str = None, display_cc: str = None, display_name: str = None, display_name_prefix: str = None, display_to: str = None, flags: List[str] = None, headers: Dict[str, str] = None, internet_message_id: str = None, message_format: str = None, normalized_subject: str = None, read_receipt_requested: bool = None, reply_to: str = None, sender_address_type: str = None, sender_email_address: str = None, sender_name: str = None, sender_smtp_address: str = None, sent_representing_address_type: str = None, sent_representing_email_address: str = None, sent_representing_name: str = None, sent_representing_smtp_address: str = None, transport_message_headers: str = None): """ Represents an Outlook Message format document. - :param attachments (List[MapiAttachmentDto]) Message item attachments. - :param billing (str) Billing information associated with an item. - :param body (str) Message text. - :param body_html (str) Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. - :param body_rtf (str) RTF formatted message text. - :param body_type (str) The content type of message body. Enum, available values: PlainText, Html, Rtf - :param categories (List[str]) Contains keywords or categories for the message object. - :param companies (List[str]) Contains the names of the companies that are associated with an item. - :param item_id (str) The item id, uses with a server. - :param message_class (str) Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. - :param mileage (str) Contains the mileage information that is associated with an item. - :param recipients (List[MapiRecipientDto]) Recipients of the message. - :param sensitivity (str) Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential - :param subject (str) Subject of the message. - :param subject_prefix (str) Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. - :param properties (List[MapiPropertyDto]) List of MAPI properties - :param discriminator (str) - :param message_body (str) Message text - :param client_submit_time (datetime) Date and time the message sender submitted a message. - :param conversation_topic (str) Topic of the first message in a conversation thread. - :param delivery_time (datetime) Date and time a message was delivered. - :param display_bcc (str) List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;). - :param display_cc (str) List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;). - :param display_name (str) Display name for the message. - :param display_name_prefix (str) Prefix of the display name. - :param display_to (str) List of the display names of the primary (To) message recipients, separated by semicolons (;). - :param flags (List[str]) Message flags. - :param headers (Dict[str, str]) Transport message headers - :param internet_message_id (str) Internet message id of the message. - :param message_format (str) Represents outlook message format. Enum, available values: Ascii, Unicode - :param normalized_subject (str) Normalized subject of the message. - :param read_receipt_requested (bool) Value indicating whether the read receipt is requested. - :param reply_to (str) Reply to names. - :param sender_address_type (str) Message sender's e-mail address type. - :param sender_email_address (str) Message sender's e-mail address. - :param sender_name (str) Message sender's display name. - :param sender_smtp_address (str) Message sender's e-mail address. - :param sent_representing_address_type (str) Address type for the messaging user represented by the sender. - :param sent_representing_email_address (str) E-mail address for the messaging user represented by the sender. - :param sent_representing_name (str) Display name for the messaging user represented by the sender. - :param sent_representing_smtp_address (str) E-mail address for the messaging user represented by the sender. - :param transport_message_headers (str) Transport-specific message envelope information. + :param attachments: Message item attachments. + :param billing: Billing information associated with an item. + :param body: Message text. + :param body_html: Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. + :param body_rtf: RTF formatted message text. + :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :param categories: Contains keywords or categories for the message object. + :param companies: Contains the names of the companies that are associated with an item. + :param item_id: The item id, uses with a server. + :param message_class: Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. + :param mileage: Contains the mileage information that is associated with an item. + :param recipients: Recipients of the message. + :param sensitivity: Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential + :param subject: Subject of the message. + :param subject_prefix: Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. + :param properties: List of MAPI properties + :param discriminator: + :param message_body: Message text + :param client_submit_time: Date and time the message sender submitted a message. + :param conversation_topic: Topic of the first message in a conversation thread. + :param delivery_time: Date and time a message was delivered. + :param display_bcc: List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;). + :param display_cc: List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;). + :param display_name: Display name for the message. + :param display_name_prefix: Prefix of the display name. + :param display_to: List of the display names of the primary (To) message recipients, separated by semicolons (;). + :param flags: Message flags. + :param headers: Transport message headers + :param internet_message_id: Internet message id of the message. + :param message_format: Represents outlook message format. Enum, available values: Ascii, Unicode + :param normalized_subject: Normalized subject of the message. + :param read_receipt_requested: Value indicating whether the read receipt is requested. + :param reply_to: Reply to names. + :param sender_address_type: Message sender's e-mail address type. + :param sender_email_address: Message sender's e-mail address. + :param sender_name: Message sender's display name. + :param sender_smtp_address: Message sender's e-mail address. + :param sent_representing_address_type: Address type for the messaging user represented by the sender. + :param sent_representing_email_address: E-mail address for the messaging user represented by the sender. + :param sent_representing_name: Display name for the messaging user represented by the sender. + :param sent_representing_smtp_address: E-mail address for the messaging user represented by the sender. + :param transport_message_headers: Transport-specific message envelope information. + :type MapiMessageDto: """ super(MapiMessageDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py index 5535ae0..59f0dd5 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py @@ -33,8 +33,10 @@ class MapiMessageFromFileRequest(object): Request model for mapi_message_from_file operation. Initializes a new instance. - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file: File to convert + :type file: str """ def __init__(self, format: str, file: str): @@ -42,8 +44,10 @@ def __init__(self, format: str, file: str): Request model for mapi_message_from_file operation. Initializes a new instance. - :param format (str) File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file (str) File to convert + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file: File to convert + :type file: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py index dd60576..0aec8dc 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py @@ -33,10 +33,14 @@ class MapiMessageGetRequest(object): Request model for mapi_message_get operation. Initializes a new instance. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file_name (str) Email document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file_name: Email document file name. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ def __init__(self, format: str, file_name: str, folder: str = None, storage: str = None): @@ -44,10 +48,14 @@ def __init__(self, format: str, file_name: str, folder: str = None, storage: str Request model for mapi_message_get operation. Initializes a new instance. - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :param file_name (str) Email document file name. - :param folder (str) Path to folder in storage. - :param storage (str) Storage name. + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str + :param file_name: Email document file name. + :type file_name: str + :param folder: Path to folder in storage. + :type folder: str + :param storage: Storage name. + :type storage: str """ self.format = format diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py index b12c4e2..c46ef06 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py @@ -89,23 +89,24 @@ class MapiMessageItemBaseDto(object): def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, discriminator: str = None): """ Base Dto for MapiMessage, MapiCalendar or MapiContact - :param attachments (List[MapiAttachmentDto]) Message item attachments. - :param billing (str) Billing information associated with an item. - :param body (str) Message text. - :param body_html (str) Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. - :param body_rtf (str) RTF formatted message text. - :param body_type (str) The content type of message body. Enum, available values: PlainText, Html, Rtf - :param categories (List[str]) Contains keywords or categories for the message object. - :param companies (List[str]) Contains the names of the companies that are associated with an item. - :param item_id (str) The item id, uses with a server. - :param message_class (str) Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. - :param mileage (str) Contains the mileage information that is associated with an item. - :param recipients (List[MapiRecipientDto]) Recipients of the message. - :param sensitivity (str) Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential - :param subject (str) Subject of the message. - :param subject_prefix (str) Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. - :param properties (List[MapiPropertyDto]) List of MAPI properties - :param discriminator (str) + :param attachments: Message item attachments. + :param billing: Billing information associated with an item. + :param body: Message text. + :param body_html: Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. + :param body_rtf: RTF formatted message text. + :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :param categories: Contains keywords or categories for the message object. + :param companies: Contains the names of the companies that are associated with an item. + :param item_id: The item id, uses with a server. + :param message_class: Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. + :param mileage: Contains the mileage information that is associated with an item. + :param recipients: Recipients of the message. + :param sensitivity: Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential + :param subject: Subject of the message. + :param subject_prefix: Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. + :param properties: List of MAPI properties + :param discriminator: + :type MapiMessageItemBaseDto: """ self._attachments = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py index 3ac8065..313c698 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py @@ -61,9 +61,10 @@ class MapiMessageSaveRequest(StorageModelOfMapiMessageDto): def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageDto = None, format: str = None): """ MapiMessage save to storage request. - :param storage_file (StorageFileLocation) - :param value (MapiMessageDto) - :param format (str) Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param storage_file: + :param value: + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type MapiMessageSaveRequest: """ super(MapiMessageSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py index 57d41e5..29d817e 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py @@ -60,9 +60,10 @@ class MapiMultiIntPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, values: List[int] = None): """ Mapi property with Multiple Integer values - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param values (List[int]) Property values + :param descriptor: Property descriptor + :param discriminator: + :param values: Property values + :type MapiMultiIntPropertyDto: """ super(MapiMultiIntPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py index 492bb65..d5132be 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py @@ -60,9 +60,10 @@ class MapiMultiStringPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, values: List[str] = None): """ Mapi property with Multiple String values - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param values (List[str]) Property values + :param descriptor: Property descriptor + :param discriminator: + :param values: Property values + :type MapiMultiStringPropertyDto: """ super(MapiMultiStringPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py index 1d555de..d6020e6 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py @@ -60,9 +60,10 @@ class MapiPhysicalAddressIndexPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): """ Mapi property with PhysicalAddressIndexType value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (str) Identifies the display types for physical addresses. Enum, available values: None, Home, Business, Other + :param descriptor: Property descriptor + :param discriminator: + :param value: Identifies the display types for physical addresses. Enum, available values: None, Home, Business, Other + :type MapiPhysicalAddressIndexPropertyDto: """ super(MapiPhysicalAddressIndexPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py index ee91666..2d619ea 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py @@ -67,13 +67,14 @@ class MapiPidLidPropertyDescriptor(MapiPidPropertyDescriptor): def __init__(self, discriminator: str = None, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, long_id: int = None, property_set: str = None): """ Property identified by an unsigned 32-bit quantity along with a property set - :param discriminator (str) - :param canonical_name (str) The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. - :param data_type (str) [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object - :param multiple_values_data_type (bool) Indicates if data type contains of multiple values - :param name (str) A string that identifies the property - :param long_id (int) An unsigned 32-bit quantity that, along with the property set, identifies a named property. - :param property_set (str) A GUID that identifies a group of properties with a similar purpose. + :param discriminator: + :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. + :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object + :param multiple_values_data_type: Indicates if data type contains of multiple values + :param name: A string that identifies the property + :param long_id: An unsigned 32-bit quantity that, along with the property set, identifies a named property. + :param property_set: A GUID that identifies a group of properties with a similar purpose. + :type MapiPidLidPropertyDescriptor: """ super(MapiPidLidPropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py index 4548b88..9823163 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py @@ -65,12 +65,13 @@ class MapiPidNamePropertyDescriptor(MapiPidPropertyDescriptor): def __init__(self, discriminator: str = None, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, property_set: str = None): """ Property identified by a string name along with a property set - :param discriminator (str) - :param canonical_name (str) The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. - :param data_type (str) [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object - :param multiple_values_data_type (bool) Indicates if data type contains of multiple values - :param name (str) A string that identifies the property - :param property_set (str) A GUID that identifies a group of properties with a similar purpose. + :param discriminator: + :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. + :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object + :param multiple_values_data_type: Indicates if data type contains of multiple values + :param name: A string that identifies the property + :param property_set: A GUID that identifies a group of properties with a similar purpose. + :type MapiPidNamePropertyDescriptor: """ super(MapiPidNamePropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py index 8483dba..d6f7844 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py @@ -63,11 +63,12 @@ class MapiPidPropertyDescriptor(MapiPropertyDescriptor): def __init__(self, discriminator: str = None, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None): """ Mapi pid property descriptor base class - :param discriminator (str) - :param canonical_name (str) The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. - :param data_type (str) [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object - :param multiple_values_data_type (bool) Indicates if data type contains of multiple values - :param name (str) A string that identifies the property + :param discriminator: + :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. + :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object + :param multiple_values_data_type: Indicates if data type contains of multiple values + :param name: A string that identifies the property + :type MapiPidPropertyDescriptor: """ super(MapiPidPropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py index 7fc0bc6..35b9950 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py @@ -67,13 +67,14 @@ class MapiPidTagPropertyDescriptor(MapiPidPropertyDescriptor): def __init__(self, discriminator: str = None, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, id: int = None, tag: int = None): """ A property that is defined by a 16-bit property ID and a 16-bit property type. The property ID for a tagged property is in the range 0x001 - 0x7FFF. Property IDs in the range 0x8000 - 0x8FFF are reserved for assignment to named properties - :param discriminator (str) - :param canonical_name (str) The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. - :param data_type (str) [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object - :param multiple_values_data_type (bool) Indicates if data type contains of multiple values - :param name (str) A string that identifies the property - :param id (int) An unsigned 16-bit quantity that identifies a tagged property. Property IDs are not necessarily unique. With the exception of property IDs in the range from 0x6800 to 0x7BFF, the combination of property ID and data type are unique. Property IDs in the range from 0x6800 to 0x7BFF are defined by the message class. - :param tag (int) A property tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15. + :param discriminator: + :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. + :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object + :param multiple_values_data_type: Indicates if data type contains of multiple values + :param name: A string that identifies the property + :param id: An unsigned 16-bit quantity that identifies a tagged property. Property IDs are not necessarily unique. With the exception of property IDs in the range from 0x6800 to 0x7BFF, the combination of property ID and data type are unique. Property IDs in the range from 0x6800 to 0x7BFF are defined by the message class. + :param tag: A property tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15. + :type MapiPidTagPropertyDescriptor: """ super(MapiPidTagPropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py index fa87bc0..150c6f1 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py @@ -53,7 +53,8 @@ class MapiPropertyDescriptor(object): def __init__(self, discriminator: str = None): """ Mapi property descriptor - :param discriminator (str) + :param discriminator: + :type MapiPropertyDescriptor: """ self._discriminator = self.__class__.__name__ diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py index 35a2cd3..58dfeea 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py @@ -57,8 +57,9 @@ class MapiPropertyDto(object): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None): """ Mapi property - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) + :param descriptor: Property descriptor + :param discriminator: + :type MapiPropertyDto: """ self._descriptor = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py index a21a422..37b4ffc 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py @@ -59,10 +59,11 @@ class MapiRecipientDto(object): def __init__(self, email_address: str = None, address_type: str = None, display_name: str = None, recipient_type: str = None): """ Represents the recipient information in the Microsoft Outlook Message. - :param email_address (str) Email address of the message recipient or sender. - :param address_type (str) Type of the address of the message recipient or sender. - :param display_name (str) Display name of the message recipient or sender. - :param recipient_type (str) Represent the PR_RECIPIENT_TYPE property which contains the recipient type for a message recipient. Enum, available values: Unknown, MapiBcc, MapiCc, MapiP1, MapiSubmitted, MapiTo + :param email_address: Email address of the message recipient or sender. + :param address_type: Type of the address of the message recipient or sender. + :param display_name: Display name of the message recipient or sender. + :param recipient_type: Represent the PR_RECIPIENT_TYPE property which contains the recipient type for a message recipient. Enum, available values: Unknown, MapiBcc, MapiCc, MapiP1, MapiSubmitted, MapiTo + :type MapiRecipientDto: """ self._email_address = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py index 0b6e8ad..e8f621f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py @@ -60,9 +60,10 @@ class MapiResponseTypePropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): """ Mapi property with response type value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (str) Represents the types of recipient responses that are received for a meeting. Enum, available values: Unknown, Organizer, Tentative, Accept, Decline, NoResponseReceived + :param descriptor: Property descriptor + :param discriminator: + :param value: Represents the types of recipient responses that are received for a meeting. Enum, available values: Unknown, Organizer, Tentative, Accept, Decline, NoResponseReceived + :type MapiResponseTypePropertyDto: """ super(MapiResponseTypePropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py index e0255a9..0747f93 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py @@ -60,9 +60,10 @@ class MapiStringPropertyDto(MapiPropertyDto): def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): """ Mapi property with string value - :param descriptor (MapiPropertyDescriptor) Property descriptor - :param discriminator (str) - :param value (str) Property value + :param descriptor: Property descriptor + :param discriminator: + :param value: Property value + :type MapiStringPropertyDto: """ super(MapiStringPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py index 10e5cd0..71a1ff0 100644 --- a/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py @@ -69,14 +69,15 @@ class MonthlyRecurrencePatternDto(RecurrencePatternDto): def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None, start_day: str = None, start_offset: int = None, start_position: str = None): """ Monthly recurrence pattern. - :param interval (int) Number of recurrence units. - :param occurs (int) Number of occurrences of the recurrence pattern. - :param end_date (datetime) End date. - :param week_start (str) Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay - :param discriminator (str) - :param start_day (str) Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay - :param start_offset (int) Start offset. - :param start_position (str) Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last + :param interval: Number of recurrence units. + :param occurs: Number of occurrences of the recurrence pattern. + :param end_date: End date. + :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :param discriminator: + :param start_day: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :param start_offset: Start offset. + :param start_position: Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last + :type MonthlyRecurrencePatternDto: """ super(MonthlyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/move_file_request.py b/sdk/AsposeEmailCloudSdk/models/move_file_request.py index dd43082..122eafd 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/move_file_request.py @@ -33,11 +33,16 @@ class MoveFileRequest(object): Request model for move_file operation. Initializes a new instance. - :param src_path (str) Source file path e.g. '/src.ext' - :param dest_path (str) Destination file path e.g. '/dest.ext' - :param src_storage_name (str) Source storage name - :param dest_storage_name (str) Destination storage name - :param version_id (str) File version ID to move + :param src_path: Source file path e.g. '/src.ext' + :type src_path: str + :param dest_path: Destination file path e.g. '/dest.ext' + :type dest_path: str + :param src_storage_name: Source storage name + :type src_storage_name: str + :param dest_storage_name: Destination storage name + :type dest_storage_name: str + :param version_id: File version ID to move + :type version_id: str """ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None, version_id: str = None): @@ -45,11 +50,16 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for move_file operation. Initializes a new instance. - :param src_path (str) Source file path e.g. '/src.ext' - :param dest_path (str) Destination file path e.g. '/dest.ext' - :param src_storage_name (str) Source storage name - :param dest_storage_name (str) Destination storage name - :param version_id (str) File version ID to move + :param src_path: Source file path e.g. '/src.ext' + :type src_path: str + :param dest_path: Destination file path e.g. '/dest.ext' + :type dest_path: str + :param src_storage_name: Source storage name + :type src_storage_name: str + :param dest_storage_name: Destination storage name + :type dest_storage_name: str + :param version_id: File version ID to move + :type version_id: str """ self.src_path = src_path diff --git a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py index 1ff6eed..1d89f28 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py @@ -33,10 +33,14 @@ class MoveFolderRequest(object): Request model for move_folder operation. Initializes a new instance. - :param src_path (str) Folder path to move e.g. '/folder' - :param dest_path (str) Destination folder path to move to e.g '/dst' - :param src_storage_name (str) Source storage name - :param dest_storage_name (str) Destination storage name + :param src_path: Folder path to move e.g. '/folder' + :type src_path: str + :param dest_path: Destination folder path to move to e.g '/dst' + :type dest_path: str + :param src_storage_name: Source storage name + :type src_storage_name: str + :param dest_storage_name: Destination storage name + :type dest_storage_name: str """ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, dest_storage_name: str = None): @@ -44,10 +48,14 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for move_folder operation. Initializes a new instance. - :param src_path (str) Folder path to move e.g. '/folder' - :param dest_path (str) Destination folder path to move to e.g '/dst' - :param src_storage_name (str) Source storage name - :param dest_storage_name (str) Destination storage name + :param src_path: Folder path to move e.g. '/folder' + :type src_path: str + :param dest_path: Destination folder path to move to e.g '/dst' + :type dest_path: str + :param src_storage_name: Source storage name + :type src_storage_name: str + :param dest_storage_name: Destination storage name + :type dest_storage_name: str """ self.src_path = src_path diff --git a/sdk/AsposeEmailCloudSdk/models/name_value_pair.py b/sdk/AsposeEmailCloudSdk/models/name_value_pair.py index 792bca9..b28f143 100644 --- a/sdk/AsposeEmailCloudSdk/models/name_value_pair.py +++ b/sdk/AsposeEmailCloudSdk/models/name_value_pair.py @@ -55,8 +55,9 @@ class NameValuePair(object): def __init__(self, name: str = None, value: str = None): """ Name-Value property - :param name (str) Property name - :param value (str) Property value + :param name: Property name + :param value: Property value + :type NameValuePair: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/object_exist.py b/sdk/AsposeEmailCloudSdk/models/object_exist.py index 719d0ff..f7401e8 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exist.py @@ -55,8 +55,9 @@ class ObjectExist(object): def __init__(self, exists: bool = None, is_folder: bool = None): """ Object exists - :param exists (bool) Indicates that the file or folder exists. - :param is_folder (bool) True if it is a folder, false if it is a file. + :param exists: Indicates that the file or folder exists. + :param is_folder: True if it is a folder, false if it is a file. + :type ObjectExist: """ self._exists = None diff --git a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py index 7e709b1..5fc9871 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py @@ -33,9 +33,12 @@ class ObjectExistsRequest(object): Request model for object_exists operation. Initializes a new instance. - :param path (str) File or folder path e.g. '/file.ext' or '/folder' - :param storage_name (str) Storage name - :param version_id (str) File version ID + :param path: File or folder path e.g. '/file.ext' or '/folder' + :type path: str + :param storage_name: Storage name + :type storage_name: str + :param version_id: File version ID + :type version_id: str """ def __init__(self, path: str, storage_name: str = None, version_id: str = None): @@ -43,9 +46,12 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for object_exists operation. Initializes a new instance. - :param path (str) File or folder path e.g. '/file.ext' or '/folder' - :param storage_name (str) Storage name - :param version_id (str) File version ID + :param path: File or folder path e.g. '/file.ext' or '/folder' + :type path: str + :param storage_name: Storage name + :type storage_name: str + :param version_id: File version ID + :type version_id: str """ self.path = path diff --git a/sdk/AsposeEmailCloudSdk/models/phone_number.py b/sdk/AsposeEmailCloudSdk/models/phone_number.py index 07eb45b..463a10e 100644 --- a/sdk/AsposeEmailCloudSdk/models/phone_number.py +++ b/sdk/AsposeEmailCloudSdk/models/phone_number.py @@ -59,9 +59,10 @@ class PhoneNumber(object): def __init__(self, category: EnumWithCustomOfPhoneNumberCategory = None, number: str = None, preferred: bool = None): """ A phone number. - :param category (EnumWithCustomOfPhoneNumberCategory) Phone number category. - :param number (str) Phone number. - :param preferred (bool) Defines whether phone number is preferred. + :param category: Phone number category. + :param number: Phone number. + :param preferred: Defines whether phone number is preferred. + :type PhoneNumber: """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/postal_address.py b/sdk/AsposeEmailCloudSdk/models/postal_address.py index 0b3891e..9392314 100644 --- a/sdk/AsposeEmailCloudSdk/models/postal_address.py +++ b/sdk/AsposeEmailCloudSdk/models/postal_address.py @@ -75,17 +75,18 @@ class PostalAddress(object): def __init__(self, address: str = None, category: EnumWithCustomOfPostalAddressCategory = None, city: str = None, country: str = None, country_code: str = None, is_mailing_address: bool = None, postal_code: str = None, post_office_box: str = None, preferred: bool = None, state_or_province: str = None, street: str = None): """ A postal address - :param address (str) Address. - :param category (EnumWithCustomOfPostalAddressCategory) Address category. - :param city (str) Address's city. - :param country (str) Address's country. - :param country_code (str) Country code. - :param is_mailing_address (bool) Defines whether address may be used for mailing. - :param postal_code (str) Postal code. - :param post_office_box (str) Post Office box. - :param preferred (bool) Defines whether postal address is preferred. - :param state_or_province (str) Address's region. - :param street (str) Address's street. + :param address: Address. + :param category: Address category. + :param city: Address's city. + :param country: Address's country. + :param country_code: Country code. + :param is_mailing_address: Defines whether address may be used for mailing. + :param postal_code: Postal code. + :param post_office_box: Post Office box. + :param preferred: Defines whether postal address is preferred. + :param state_or_province: Address's region. + :param street: Address's street. + :type PostalAddress: """ self._address = None diff --git a/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py index ad1e5c2..bdf8179 100644 --- a/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py @@ -61,11 +61,12 @@ class RecurrencePatternDto(object): def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None): """ iCalendar recurrence pattern. - :param interval (int) Number of recurrence units. - :param occurs (int) Number of occurrences of the recurrence pattern. - :param end_date (datetime) End date. - :param week_start (str) Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay - :param discriminator (str) + :param interval: Number of recurrence units. + :param occurs: Number of occurrences of the recurrence pattern. + :param end_date: End date. + :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :param discriminator: + :type RecurrencePatternDto: """ self._interval = None diff --git a/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py b/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py index 7d85652..d092d27 100644 --- a/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py +++ b/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py @@ -53,7 +53,8 @@ class ReminderAttendee(object): def __init__(self, address: str = None): """ Defines an \"Attendee\" within a alarm. - :param address (str) Contains the email address. + :param address: Contains the email address. + :type ReminderAttendee: """ self._address = None diff --git a/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py b/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py index d3fb92c..fe8e7ea 100644 --- a/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py +++ b/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py @@ -57,9 +57,10 @@ class ReminderTrigger(object): def __init__(self, date_time: datetime = None, duration: int = None, related: str = None): """ Specifies when an alarm will trigger. - :param date_time (datetime) A trigger set to an absolute date/time. - :param duration (int) Specifies a relative time in ticks for the trigger of the alarm. - :param related (str) Specify the relationship of the alarm trigger with respect to the start or end of the event. Enum, available values: Start, End + :param date_time: A trigger set to an absolute date/time. + :param duration: Specifies a relative time in ticks for the trigger of the alarm. + :param related: Specify the relationship of the alarm trigger with respect to the start or end of the event. Enum, available values: Start, End + :type ReminderTrigger: """ self._date_time = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exist.py b/sdk/AsposeEmailCloudSdk/models/storage_exist.py index 7dcb0a2..01862ab 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exist.py @@ -53,7 +53,8 @@ class StorageExist(object): def __init__(self, exists: bool = None): """ Storage exists - :param exists (bool) Shows that the storage exists. + :param exists: Shows that the storage exists. + :type StorageExist: """ self._exists = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py index 4aee033..982e91d 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py @@ -33,7 +33,8 @@ class StorageExistsRequest(object): Request model for storage_exists operation. Initializes a new instance. - :param storage_name (str) Storage name + :param storage_name: Storage name + :type storage_name: str """ def __init__(self, storage_name: str): @@ -41,7 +42,8 @@ def __init__(self, storage_name: str): Request model for storage_exists operation. Initializes a new instance. - :param storage_name (str) Storage name + :param storage_name: Storage name + :type storage_name: str """ self.storage_name = storage_name diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file.py b/sdk/AsposeEmailCloudSdk/models/storage_file.py index 39d8e45..7a48793 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file.py @@ -61,11 +61,12 @@ class StorageFile(object): def __init__(self, name: str = None, is_folder: bool = None, modified_date: datetime = None, size: int = None, path: str = None): """ File or folder information - :param name (str) File or folder name. - :param is_folder (bool) True if it is a folder. - :param modified_date (datetime) File or folder last modified DateTime. - :param size (int) File or folder size. - :param path (str) File or folder path. + :param name: File or folder name. + :param is_folder: True if it is a folder. + :param modified_date: File or folder last modified DateTime. + :param size: File or folder size. + :param path: File or folder path. + :type StorageFile: """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file_location.py b/sdk/AsposeEmailCloudSdk/models/storage_file_location.py index 11d9531..f062a0a 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file_location.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file_location.py @@ -59,9 +59,10 @@ class StorageFileLocation(StorageFolderLocation): def __init__(self, storage: str = None, folder_path: str = None, file_name: str = None): """ A storage file location information - :param storage (str) A storage name - :param folder_path (str) A path to a folder in specified storage - :param file_name (str) A file name in storage + :param storage: A storage name + :param folder_path: A path to a folder in specified storage + :param file_name: A file name in storage + :type StorageFileLocation: """ super(StorageFileLocation, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py b/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py index c74c96b..b657081 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py @@ -56,7 +56,8 @@ class StorageFileLocationList(ListResponseOfStorageFileLocation): def __init__(self, value: List[StorageFileLocation] = None): """ List of files located on storage. - :param value (List[StorageFileLocation]) + :param value: + :type StorageFileLocationList: """ super(StorageFileLocationList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py b/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py index b55a23b..eb5a174 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py @@ -55,8 +55,9 @@ class StorageFolderLocation(object): def __init__(self, storage: str = None, folder_path: str = None): """ A storage folder location information - :param storage (str) A storage name - :param folder_path (str) A path to a folder in specified storage + :param storage: A storage name + :param folder_path: A path to a folder in specified storage + :type StorageFolderLocation: """ self._storage = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py index 5951de7..b4b3077 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py @@ -58,8 +58,9 @@ class StorageModelOfCalendarDto(object): def __init__(self, storage_file: StorageFileLocation = None, value: CalendarDto = None): """ - :param storage_file (StorageFileLocation) - :param value (CalendarDto) + :param storage_file: + :param value: + :type StorageModelOfCalendarDto: """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py index 234e66b..93bbdcc 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py @@ -58,8 +58,9 @@ class StorageModelOfContactDto(object): def __init__(self, storage_file: StorageFileLocation = None, value: ContactDto = None): """ - :param storage_file (StorageFileLocation) - :param value (ContactDto) + :param storage_file: + :param value: + :type StorageModelOfContactDto: """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py index 338ea41..2e7fe6a 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py @@ -58,8 +58,9 @@ class StorageModelOfEmailClientAccount(object): def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientAccount = None): """ - :param storage_file (StorageFileLocation) - :param value (EmailClientAccount) + :param storage_file: + :param value: + :type StorageModelOfEmailClientAccount: """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py index 033f25c..ab456dd 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py @@ -58,8 +58,9 @@ class StorageModelOfEmailClientMultiAccount(object): def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientMultiAccount = None): """ - :param storage_file (StorageFileLocation) - :param value (EmailClientMultiAccount) + :param storage_file: + :param value: + :type StorageModelOfEmailClientMultiAccount: """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py index 20ad655..95bc796 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py @@ -58,8 +58,9 @@ class StorageModelOfEmailDto(object): def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = None): """ - :param storage_file (StorageFileLocation) - :param value (EmailDto) + :param storage_file: + :param value: + :type StorageModelOfEmailDto: """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py index fed90e4..b9603b3 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py @@ -58,8 +58,9 @@ class StorageModelOfMapiCalendarDto(object): def __init__(self, storage_file: StorageFileLocation = None, value: MapiCalendarDto = None): """ - :param storage_file (StorageFileLocation) - :param value (MapiCalendarDto) + :param storage_file: + :param value: + :type StorageModelOfMapiCalendarDto: """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py index c1d26ed..b371de9 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py @@ -58,8 +58,9 @@ class StorageModelOfMapiContactDto(object): def __init__(self, storage_file: StorageFileLocation = None, value: MapiContactDto = None): """ - :param storage_file (StorageFileLocation) - :param value (MapiContactDto) + :param storage_file: + :param value: + :type StorageModelOfMapiContactDto: """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py index 9ecf811..5dec27f 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py @@ -58,8 +58,9 @@ class StorageModelOfMapiMessageDto(object): def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageDto = None): """ - :param storage_file (StorageFileLocation) - :param value (MapiMessageDto) + :param storage_file: + :param value: + :type StorageModelOfMapiMessageDto: """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py index cae1f2b..92eca39 100644 --- a/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py @@ -65,12 +65,13 @@ class TaskRegeneratingPatternDto(RecurrencePatternDto): def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None, regenerating_type: str = None): """ Represents the regenerating recurrence pattern that specifies how many days, weeks, months or years after the completion of the current task the next occurrence will be due. - :param interval (int) Number of recurrence units. - :param occurs (int) Number of occurrences of the recurrence pattern. - :param end_date (datetime) End date. - :param week_start (str) Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay - :param discriminator (str) - :param regenerating_type (str) Enumerates the types of regenerating pattern. Enum, available values: Daily, Weekly, Monthly, Yearly + :param interval: Number of recurrence units. + :param occurs: Number of occurrences of the recurrence pattern. + :param end_date: End date. + :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :param discriminator: + :param regenerating_type: Enumerates the types of regenerating pattern. Enum, available values: Daily, Weekly, Monthly, Yearly + :type TaskRegeneratingPatternDto: """ super(TaskRegeneratingPatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py index fb70290..23bda8c 100644 --- a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py @@ -33,9 +33,12 @@ class UploadFileRequest(object): Request model for upload_file operation. Initializes a new instance. - :param path (str) Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. - :param file (str) File to upload - :param storage_name (str) Storage name + :param path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. + :type path: str + :param file: File to upload + :type file: str + :param storage_name: Storage name + :type storage_name: str """ def __init__(self, path: str, file: str, storage_name: str = None): @@ -43,9 +46,12 @@ def __init__(self, path: str, file: str, storage_name: str = None): Request model for upload_file operation. Initializes a new instance. - :param path (str) Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. - :param file (str) File to upload - :param storage_name (str) Storage name + :param path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. + :type path: str + :param file: File to upload + :type file: str + :param storage_name: Storage name + :type storage_name: str """ self.path = path diff --git a/sdk/AsposeEmailCloudSdk/models/url.py b/sdk/AsposeEmailCloudSdk/models/url.py index 77203d8..60aef9e 100644 --- a/sdk/AsposeEmailCloudSdk/models/url.py +++ b/sdk/AsposeEmailCloudSdk/models/url.py @@ -59,9 +59,10 @@ class Url(object): def __init__(self, category: EnumWithCustomOfUrlCategory = None, preferred: bool = None, href: str = None): """ Url and its category. - :param category (EnumWithCustomOfUrlCategory) Url category. - :param preferred (bool) Defines whether url is preferred. - :param href (str) URL. + :param category: Url category. + :param preferred: Defines whether url is preferred. + :param href: URL. + :type Url: """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py b/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py index 01f58db..6419fa1 100644 --- a/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py +++ b/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py @@ -53,7 +53,8 @@ class ValueTOfBoolean(object): def __init__(self, value: bool = None): """ - :param value (bool) + :param value: + :type ValueTOfBoolean: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py b/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py index e572fd2..9336392 100644 --- a/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py +++ b/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py @@ -53,7 +53,8 @@ class ValueTOfString(object): def __init__(self, value: str = None): """ - :param value (str) + :param value: + :type ValueTOfString: """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py index 1d760e7..7f2eba6 100644 --- a/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py @@ -65,12 +65,13 @@ class WeeklyRecurrencePatternDto(RecurrencePatternDto): def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None, start_days: List[str] = None): """ Weekly recurrence pattern. - :param interval (int) Number of recurrence units. - :param occurs (int) Number of occurrences of the recurrence pattern. - :param end_date (datetime) End date. - :param week_start (str) Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay - :param discriminator (str) - :param start_days (List[str]) Start days + :param interval: Number of recurrence units. + :param occurs: Number of occurrences of the recurrence pattern. + :param end_date: End date. + :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :param discriminator: + :param start_days: Start days + :type WeeklyRecurrencePatternDto: """ super(WeeklyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py index 40fff3d..aafe63e 100644 --- a/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py @@ -71,15 +71,16 @@ class YearlyRecurrencePatternDto(RecurrencePatternDto): def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None, start_day: str = None, start_month: str = None, start_offset: int = None, start_position: str = None): """ Yearly recurrence pattern. - :param interval (int) Number of recurrence units. - :param occurs (int) Number of occurrences of the recurrence pattern. - :param end_date (datetime) End date. - :param week_start (str) Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay - :param discriminator (str) - :param start_day (str) Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay - :param start_month (str) Represents a calendar month. Enum, available values: None, January, February, March, April, May, June, July, August, September, October, November, December - :param start_offset (int) Start offset. - :param start_position (str) Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last + :param interval: Number of recurrence units. + :param occurs: Number of occurrences of the recurrence pattern. + :param end_date: End date. + :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :param discriminator: + :param start_day: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :param start_month: Represents a calendar month. Enum, available values: None, January, February, March, April, May, June, July, August, September, October, November, December + :param start_offset: Start offset. + :param start_position: Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last + :type YearlyRecurrencePatternDto: """ super(YearlyRecurrencePatternDto, self).__init__() diff --git a/tests/tests/ai_test.py b/tests/tests/ai_test.py index f96898d..ad3ad53 100644 --- a/tests/tests/ai_test.py +++ b/tests/tests/ai_test.py @@ -1,4 +1,3 @@ -import base64 import functools import os import sys @@ -43,26 +42,16 @@ def test_ai_bcr_parse_storage(td: EmailApiData): @pytest.mark.ai def test_ai_bcr_parse(td: EmailApiData): image_file = os.path.join(os.path.dirname(__file__), '..', 'data', 'test_single_0001.png') - with open(image_file, 'rb') as f: - file_data = f.read() - image_data = str(base64.b64encode(file_data), 'utf-8') - result = td.api.ai_bcr_parse(requests.AiBcrParseRequest( - models.AiBcrBase64Rq( - images=[models.AiBcrBase64Image(True, image_data)]))) # type: models.ListResponseOfHierarchicalObject + result = td.api.ai.bcr.parse(models.AiBcrParseRequest(image_file)) assert len(result.value) == 1 - # noinspection PyTypeChecker - display_name = list(filter( - lambda prop: prop.type == 'PrimitiveObject' and prop.name == 'DISPLAYNAME', - result.value[0].internal_properties))[0] # type: models.PrimitiveObject - assert 'Thomas' in display_name.value + assert 'Thomas' in result.value[0].display_name @pytest.mark.ai @pytest.mark.pipeline def test_ai_name_genderize(td: EmailApiData): """ Test name gender detection """ - result = td.api.ai_name_genderize( - requests.AiNameGenderizeRequest('John Cane')) # type: models.ListResponseOfAiNameGenderHypothesis + result = td.api.ai.name.genderize(models.AiNameGenderizeRequest('John Cane')) assert len(result.value) >= 1 assert result.value[0].gender == 'Male' @@ -70,10 +59,7 @@ def test_ai_name_genderize(td: EmailApiData): @pytest.mark.ai @pytest.mark.pipeline def test_ai_name_format(td: EmailApiData): - result = td.api.ai_name_format( - requests.AiNameFormatRequest( - 'Mr. John Michael Cane', - format='%t%L%f%m')) # type: models.AiNameFormatted + result = td.api.ai.name.format(models.AiNameFormatRequest('Mr. John Michael Cane', format='%t%L%f%m')) assert result.name == 'Mr. Cane J. M.' @@ -82,8 +68,7 @@ def test_ai_name_format(td: EmailApiData): def test_ai_name_match(td: EmailApiData): first = 'John Michael Cane' second = 'Cane J.' - result = td.api.ai_name_match( - requests.AiNameMatchRequest(first, second)) # type: models.AiNameMatchResult + result = td.api.ai.name.match(models.AiNameMatchRequest(first, second)) assert result.similarity >= 0.5 @@ -91,8 +76,7 @@ def test_ai_name_match(td: EmailApiData): @pytest.mark.pipeline def test_ai_name_expand(td: EmailApiData): name = 'Smith Bobby' - result = td.api.ai_name_expand( - requests.AiNameExpandRequest(name)) # type: models.AiNameWeightedVariants + result = td.api.ai.name.expand(models.AiNameExpandRequest(name)) expanded_names = list(weighted.name for weighted in result.names) assert 'Mr. Smith' in expanded_names assert 'B. Smith' in expanded_names @@ -102,8 +86,7 @@ def test_ai_name_expand(td: EmailApiData): @pytest.mark.pipeline def test_ai_name_complete(td: EmailApiData): prefix = 'Dav' - result = td.api.ai_name_complete( - requests.AiNameCompleteRequest(prefix)) # type: models.AiNameWeightedVariants + result = td.api.ai.name.complete(models.AiNameCompleteRequest(prefix)) names = list(prefix + weighted.name for weighted in result.names) assert 'David' in names assert 'Dave' in names @@ -114,24 +97,10 @@ def test_ai_name_complete(td: EmailApiData): @pytest.mark.pipeline def test_ai_name_parse_email_address(td: EmailApiData): address = 'john-cane@gmail.com' - result = td.api.ai_name_parse_email_address( - requests.AiNameParseEmailAddressRequest(address)) + result = td.api.ai.name.parse_email_address(models.AiNameParseEmailAddressRequest(address)) names = (extracted.name for extracted in result.value) extracted_values = list(functools.reduce(lambda a, b: a + b, names)) given_name = next((x for x in extracted_values if x.category == 'GivenName')) surname = next((x for x in extracted_values if x.category == 'Surname')) assert given_name.value == 'John' assert surname.value == 'Cane' - - -@pytest.mark.ai -def test_ai_bcr_parse_model(td: EmailApiData): - image_file = os.path.join(os.path.dirname(__file__), '..', 'data', 'test_single_0001.png') - with open(image_file, 'rb') as f: - file_data = f.read() - image_data = str(base64.b64encode(file_data), 'utf-8') - result = td.api.ai_bcr_parse_model(requests.AiBcrParseModelRequest( - models.AiBcrBase64Rq(images=[models.AiBcrBase64Image(True, image_data)]))) - assert len(result.value) == 1 - first_vcard = result.value[0] - assert 'Thomas' in first_vcard.display_name diff --git a/tests/tests/calendar_test.py b/tests/tests/calendar_test.py index c749310..072c6c1 100644 --- a/tests/tests/calendar_test.py +++ b/tests/tests/calendar_test.py @@ -2,83 +2,27 @@ import sys import uuid -import dateutil.parser import pytest sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests from conftest import EmailApiData from datetime import timedelta, datetime -from dateutil import tz - - -@pytest.mark.pipeline -def test_hierarchical(td: EmailApiData): - """ - HierarchicalObject serialization and deserialization test. - This test checks that BaseObject.Type field filled automatically by SDK - and properly used in serialization and deserialization - """ - calendar_file = td.create_calendar() - calendar = td.api.get_calendar(requests.GetCalendarRequest(calendar_file, td.folder, td.storage)) - assert calendar.name == 'CALENDAR' - assert calendar.type == 'HierarchicalObject' - primitive_properties = list(filter(lambda x: x.type == 'PrimitiveObject', calendar.internal_properties)) - assert len(primitive_properties) >= 3 - # noinspection PyTypeChecker - first = primitive_properties[0] # type: models.PrimitiveObject - assert first.value is not None - - -@pytest.mark.pipeline -def test_async(td: EmailApiData): - """ - Asynchronous API call test - """ - calendar_file = td.create_calendar() - calendar = td.api.get_calendar_async(requests.GetCalendarRequest(calendar_file, td.folder, td.storage)).get() - assert calendar.name == 'CALENDAR' - - -@pytest.mark.pipeline -def test_date_time(td: EmailApiData): - """ - Test datetime serialization and deserialization. - Checks that SDK and Backend do not change datetime during processing. - In most cases developer should carefully serialize and deserialize datetime - """ - start_date = datetime.today() + timedelta(days=1) - start_date = start_date.replace(microsecond=0, tzinfo=tz.tzutc()) - calendar_storage = td.create_calendar(start_date) - calendar = td.api.get_calendar(requests.GetCalendarRequest( - calendar_storage, - td.folder, - td.storage)) # type: models.HierarchicalObject - # noinspection PyTypeChecker - start_date_property = list( - filter(lambda item: item.name == 'STARTDATE', calendar.internal_properties))[0] # type: models.PrimitiveObject - fact_start_date = dateutil.parser.parse(start_date_property.value) - assert start_date == fact_start_date @pytest.mark.pipeline def test_create_calendar_email(td: EmailApiData): calendar = calendar_dto() - - folder_location = models.StorageFolderLocation(td.storage, td.folder) calendar_file = str(uuid.uuid4()) + '.ics' - td.api.save_calendar_model( - requests.SaveCalendarModelRequest( - calendar_file, - models.StorageModelRqOfCalendarDto(calendar, folder_location))) - exist_result = td.api.object_exists( - requests.ObjectExistsRequest(td.folder + '/' + calendar_file, td.storage)) + td.api.calendar.save( + models.CalendarSaveRequest( + models.StorageFileLocation(td.storage, td.folder, calendar_file), + calendar, "Ics")) + exist_result = td.api.cloud_storage.storage.object_exists( + models.ObjectExistsRequest(td.folder + '/' + calendar_file, td.storage)) assert exist_result.exists - alternate = td.api.convert_calendar_model_to_alternate( - requests.ConvertCalendarModelToAlternateRequest( - models.CalendarDtoAlternateRq(calendar, 'Create'))) + alternate = td.api.calendar.as_alternate(models.CalendarAsAlternateRequest(calendar, "Create")) email = models.EmailDto( alternate_views=[alternate], @@ -89,13 +33,12 @@ def test_create_calendar_email(td: EmailApiData): body='Some body') email_file = str(uuid.uuid4()) + '.eml' - td.api.save_email_model( - requests.SaveEmailModelRequest( - 'Eml', email_file, - models.StorageModelRqOfEmailDto(email, folder_location))) + td.api.email.save(models.EmailSaveRequest( + models.StorageFileLocation(td.storage, td.folder, email_file), + email, 'Eml')) - downloaded = td.api.download_file( - requests.DownloadFileRequest( + downloaded = td.api.cloud_storage.file.download_file( + models.DownloadFileRequest( td.folder + '/' + email_file, td.storage)) with open(downloaded, 'r') as f: @@ -109,24 +52,23 @@ def test_calendar_converter(td: EmailApiData): # Create DTO with specified location: calendar = calendar_dto() # We can convert this DTO to a MAPI or ICS file - mapi = email.convert_calendar_model_to_file(requests.ConvertCalendarModelToFileRequest('Msg', calendar)) + mapi = email.calendar.as_file(models.CalendarAsFileRequest('Msg', calendar)) # Let's convert this file to ICS format: - ics = email.convert_calendar(requests.ConvertCalendarRequest('Ics', mapi)) + ics = email.calendar.convert(models.CalendarConvertRequest('Ics', mapi)) # ICS is a text format. We can read the file to a string and check that it # contains specified location as a substring: with open(ics, 'r') as f: file_data = f.read() assert calendar.location in file_data # We can also convert the file back to a CalendarDto - dto = email.get_calendar_file_as_model(requests.GetCalendarFileAsModelRequest(ics)) + dto = email.calendar.from_file(models.CalendarFromFileRequest(ics)) assert calendar.location == dto.location @pytest.mark.pipeline def test_convert_model_to_mapi_model(td: EmailApiData): calendar = calendar_dto() - mapi_calendar = td.api.convert_calendar_model_to_mapi_model( - requests.ConvertCalendarModelToMapiModelRequest(calendar)) + mapi_calendar = td.api.calendar.as_mapi(calendar) assert calendar.location == mapi_calendar.location assert 'MapiCalendarDailyRecurrencePatternDto' == mapi_calendar.recurrence.recurrence_pattern.discriminator diff --git a/tests/tests/contact_test.py b/tests/tests/contact_test.py index b2b7abc..12e4184 100644 --- a/tests/tests/contact_test.py +++ b/tests/tests/contact_test.py @@ -6,65 +6,38 @@ sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests from conftest import EmailApiData @pytest.mark.pipeline -def test_contact_format(td: EmailApiData): - """ - Contact format specified as Enum, but SDK represents it as a string. - Test checks that value parsing works properly - """ - for contact_format in ['vcard', 'msg']: - extension = '.vcf' if contact_format == 'vcard' else '.msg' - name = str(uuid.uuid4()) + extension - td.api.create_contact( - requests.CreateContactRequest( - contact_format, - name, - models.HierarchicalObjectRequest( - models.HierarchicalObject('CONTACT', internal_properties=[]), - models.StorageFolderLocation(td.storage, td.folder)))) - object_exist = td.api.object_exists(requests.ObjectExistsRequest( - td.folder + "/" + name, - td.storage)) - assert object_exist.exists - - -@pytest.mark.pipeline -def test_contact_model(td: EmailApiData): +def test_contact_save(td: EmailApiData): contact = contact_dto() contact_file = str(uuid.uuid4()) + '.vcf' - td.api.save_contact_model( - requests.SaveContactModelRequest( - 'VCard', contact_file, - models.StorageModelRqOfContactDto( - contact, - models.StorageFolderLocation(td.storage, td.folder)))) - exist_result = td.api.object_exists( - requests.ObjectExistsRequest(td.folder + '/' + contact_file, td.storage)) + td.api.contact.save( + models.ContactSaveRequest( + models.StorageFileLocation(td.storage, td.folder, contact_file), + contact, 'VCard')) + exist_result = td.api.cloud_storage.storage.object_exists( + models.ObjectExistsRequest(td.folder + '/' + contact_file, td.storage)) assert exist_result.exists @pytest.mark.pipeline def test_contact_converter(td: EmailApiData): - email = td.api contact = contact_dto() - mapi = email.convert_contact_model_to_file(requests.ConvertContactModelToFileRequest('Msg', contact)) - vcard = email.convert_contact(requests.ConvertContactRequest('VCard', 'Msg', mapi)) + mapi = td.api.contact.as_file(models.ContactAsFileRequest('Msg', contact)) + vcard = td.api.contact.convert(models.ContactConvertRequest('VCard', 'Msg', mapi)) with open(vcard, 'r') as f: file_data = f.read() assert contact.surname in file_data - dto = email.get_contact_file_as_model(requests.GetContactFileAsModelRequest('VCard', vcard)) + dto = td.api.contact.from_file(models.ContactFromFileRequest('VCard', vcard)) assert contact.surname == dto.surname @pytest.mark.pipeline def test_convert_model_to_mapi_model(td: EmailApiData): contact = contact_dto() - mapi_contact = td.api.convert_contact_model_to_mapi_model( - requests.ConvertContactModelToMapiModelRequest(contact)) + mapi_contact = td.api.contact.as_mapi(contact) assert contact.surname == mapi_contact.name_info.surname From d7df0fb70e4a0d9ceaae3105317a23898e1ad3b2 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Mon, 3 Aug 2020 22:00:59 +0400 Subject: [PATCH 05/20] Type hints corrected --- .../models/ai_bcr_image.py | 2 +- .../models/ai_bcr_image_storage_file.py | 3 +- .../models/ai_bcr_options.py | 3 +- .../models/ai_bcr_parse_storage_request.py | 4 +- .../models/ai_name_component.py | 5 ++- .../models/ai_name_component_list.py | 2 +- .../models/ai_name_cultural_context.py | 6 ++- .../models/ai_name_extracted.py | 3 +- .../models/ai_name_extracted_component.py | 3 +- .../models/ai_name_extracted_list.py | 2 +- .../models/ai_name_formatted.py | 3 +- .../models/ai_name_gender_hypothesis.py | 3 +- .../models/ai_name_gender_hypothesis_list.py | 2 +- .../models/ai_name_match_result.py | 3 +- .../models/ai_name_mismatch.py | 4 +- .../models/ai_name_parsed_match_request.py | 5 ++- .../models/ai_name_parsed_request.py | 4 +- .../models/ai_name_weighted.py | 3 +- .../models/ai_name_weighted_variants.py | 3 +- .../models/alternate_view.py | 7 ++- .../models/associated_person.py | 4 +- sdk/AsposeEmailCloudSdk/models/attachment.py | 10 ++++- .../models/attachment_base.py | 5 ++- .../models/calendar_as_alternate_request.py | 4 +- .../models/calendar_as_file_request.py | 3 +- .../models/calendar_dto.py | 23 +++++++++- .../models/calendar_reminder.py | 9 +++- .../models/calendar_save_request.py | 4 +- .../models/calendar_storage_list.py | 2 +- .../models/client_account_base_request.py | 2 +- .../models/client_folder_create_request.py | 4 +- .../models/client_folder_delete_request.py | 3 +- .../models/client_message_append_request.py | 5 ++- .../models/client_message_base_request.py | 3 +- .../models/client_message_delete_request.py | 4 +- .../models/client_message_move_request.py | 5 ++- .../models/client_message_send_request.py | 3 +- .../client_message_set_is_read_request.py | 4 +- .../models/client_thread_base_request.py | 3 +- .../models/client_thread_delete_request.py | 4 +- .../models/client_thread_move_request.py | 4 +- .../client_thread_set_is_read_request.py | 5 ++- .../models/contact_as_file_request.py | 3 +- sdk/AsposeEmailCloudSdk/models/contact_dto.py | 37 +++++++++++++++- .../models/contact_list.py | 2 +- .../models/contact_photo.py | 4 +- .../models/contact_save_request.py | 4 +- .../models/contact_storage_list.py | 2 +- .../models/content_type.py | 6 ++- .../models/content_type_parameter.py | 3 +- .../models/customer_event.py | 3 +- .../models/daily_recurrence_pattern_dto.py | 6 ++- sdk/AsposeEmailCloudSdk/models/disc_usage.py | 3 +- .../models/discover_email_config_oauth.py | 8 +++- .../models/discover_email_config_password.py | 5 ++- .../models/discover_email_config_request.py | 4 +- .../models/email_account_config.py | 9 +++- .../models/email_account_config_list.py | 2 +- .../models/email_address.py | 7 ++- .../models/email_as_file_request.py | 3 +- .../models/email_client_account.py | 7 ++- .../email_client_account_credentials.py | 3 +- .../email_client_account_oauth_credentials.py | 7 ++- ...ail_client_account_password_credentials.py | 4 +- .../email_client_account_save_request.py | 3 +- .../models/email_client_multi_account.py | 3 +- ...email_client_multi_account_save_request.py | 3 +- sdk/AsposeEmailCloudSdk/models/email_dto.py | 33 +++++++++++++- sdk/AsposeEmailCloudSdk/models/email_list.py | 2 +- .../models/email_save_request.py | 4 +- .../models/email_storage_list.py | 2 +- .../models/email_thread.py | 5 ++- .../models/email_thread_list.py | 2 +- ...th_custom_of_associated_person_category.py | 3 +- ...m_with_custom_of_email_address_category.py | 3 +- .../enum_with_custom_of_event_category.py | 3 +- ...th_custom_of_instant_messenger_category.py | 3 +- ...um_with_custom_of_phone_number_category.py | 3 +- ..._with_custom_of_postal_address_category.py | 3 +- .../enum_with_custom_of_url_category.py | 3 +- sdk/AsposeEmailCloudSdk/models/error.py | 5 ++- .../models/error_details.py | 3 +- .../models/file_version.py | 8 +++- .../models/file_versions.py | 2 +- sdk/AsposeEmailCloudSdk/models/files_list.py | 2 +- .../models/files_upload_result.py | 3 +- .../models/instant_messenger_address.py | 4 +- .../models/linked_resource.py | 6 ++- .../list_response_of_ai_name_component.py | 2 +- .../list_response_of_ai_name_extracted.py | 2 +- ...t_response_of_ai_name_gender_hypothesis.py | 2 +- .../models/list_response_of_contact_dto.py | 2 +- .../list_response_of_email_account_config.py | 2 +- .../models/list_response_of_email_dto.py | 2 +- .../models/list_response_of_email_thread.py | 2 +- .../list_response_of_mail_message_base.py | 2 +- .../list_response_of_mail_server_folder.py | 2 +- .../list_response_of_storage_file_location.py | 2 +- ...sponse_of_storage_model_of_calendar_dto.py | 2 +- ...esponse_of_storage_model_of_contact_dto.py | 2 +- ..._response_of_storage_model_of_email_dto.py | 2 +- .../models/mail_address.py | 5 ++- .../models/mail_message_base.py | 2 +- .../models/mail_message_base64.py | 4 +- .../models/mail_message_base_list.py | 2 +- .../models/mail_message_dto.py | 3 +- .../models/mail_message_mapi.py | 3 +- .../models/mail_server_folder.py | 3 +- .../models/mail_server_folder_list.py | 2 +- .../models/mapi_attachment_dto.py | 3 +- .../models/mapi_binary_property_dto.py | 4 +- .../models/mapi_boolean_property_dto.py | 4 +- .../models/mapi_calendar_as_file_request.py | 3 +- .../models/mapi_calendar_attendees_dto.py | 5 ++- ...i_calendar_daily_recurrence_pattern_dto.py | 16 ++++++- .../models/mapi_calendar_dto.py | 36 +++++++++++++++- .../mapi_calendar_event_recurrence_dto.py | 7 ++- .../mapi_calendar_exception_info_dto.py | 15 ++++++- .../mapi_calendar_recurrence_pattern_dto.py | 15 ++++++- .../models/mapi_calendar_save_request.py | 4 +- .../models/mapi_calendar_time_zone_dto.py | 3 +- .../mapi_calendar_time_zone_info_dto.py | 8 +++- .../mapi_calendar_time_zone_rule_dto.py | 10 ++++- ..._calendar_weekly_recurrence_pattern_dto.py | 16 ++++++- ...arly_and_monthly_recurrence_pattern_dto.py | 18 +++++++- .../models/mapi_contact_as_file_request.py | 3 +- .../models/mapi_contact_dto.py | 27 +++++++++++- .../mapi_contact_electronic_address_dto.py | 7 ++- ...act_electronic_address_property_set_dto.py | 10 ++++- .../mapi_contact_event_property_set_dto.py | 3 +- .../mapi_contact_name_property_set_dto.py | 11 ++++- .../mapi_contact_other_property_set_dto.py | 9 +++- ..._contact_personal_info_property_set_dto.py | 20 ++++++++- .../models/mapi_contact_photo_dto.py | 4 +- .../mapi_contact_physical_address_dto.py | 10 ++++- ...ntact_physical_address_property_set_dto.py | 4 +- ...i_contact_professional_property_set_dto.py | 8 +++- .../models/mapi_contact_save_request.py | 4 +- ...mapi_contact_telephone_property_set_dto.py | 20 ++++++++- .../models/mapi_date_time_property_dto.py | 4 +- .../models/mapi_electronic_address_dto.py | 6 ++- .../models/mapi_file_as_property_dto.py | 4 +- .../models/mapi_importance_property_dto.py | 4 +- .../models/mapi_int_property_dto.py | 4 +- .../models/mapi_known_property_descriptor.py | 3 +- .../mapi_legacy_free_busy_property_dto.py | 4 +- .../models/mapi_message_as_file_request.py | 3 +- .../models/mapi_message_dto.py | 43 ++++++++++++++++++- .../models/mapi_message_item_base_dto.py | 18 +++++++- .../models/mapi_message_save_request.py | 4 +- .../models/mapi_multi_int_property_dto.py | 4 +- .../models/mapi_multi_string_property_dto.py | 4 +- ...api_physical_address_index_property_dto.py | 4 +- .../mapi_pid_lid_property_descriptor.py | 8 +++- .../mapi_pid_name_property_descriptor.py | 7 ++- .../models/mapi_pid_property_descriptor.py | 6 ++- .../mapi_pid_tag_property_descriptor.py | 8 +++- .../models/mapi_property_descriptor.py | 2 +- .../models/mapi_property_dto.py | 3 +- .../models/mapi_recipient_dto.py | 5 ++- .../models/mapi_response_type_property_dto.py | 4 +- .../models/mapi_string_property_dto.py | 4 +- .../models/monthly_recurrence_pattern_dto.py | 9 +++- .../models/name_value_pair.py | 3 +- .../models/object_exist.py | 3 +- .../models/phone_number.py | 4 +- .../models/postal_address.py | 12 +++++- .../models/recurrence_pattern_dto.py | 6 ++- .../models/reminder_attendee.py | 2 +- .../models/reminder_trigger.py | 4 +- .../models/storage_exist.py | 2 +- .../models/storage_file.py | 6 ++- .../models/storage_file_location.py | 4 +- .../models/storage_file_location_list.py | 2 +- .../models/storage_folder_location.py | 3 +- .../models/storage_model_of_calendar_dto.py | 3 +- .../models/storage_model_of_contact_dto.py | 3 +- .../storage_model_of_email_client_account.py | 3 +- ...age_model_of_email_client_multi_account.py | 3 +- .../models/storage_model_of_email_dto.py | 3 +- .../storage_model_of_mapi_calendar_dto.py | 3 +- .../storage_model_of_mapi_contact_dto.py | 3 +- .../storage_model_of_mapi_message_dto.py | 3 +- .../models/task_regenerating_pattern_dto.py | 7 ++- sdk/AsposeEmailCloudSdk/models/url.py | 4 +- .../models/value_t_of_boolean.py | 2 +- .../models/value_t_of_string.py | 2 +- .../models/weekly_recurrence_pattern_dto.py | 7 ++- .../models/yearly_recurrence_pattern_dto.py | 10 ++++- 189 files changed, 866 insertions(+), 189 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py index 312332d..35d4e7f 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py @@ -54,7 +54,7 @@ def __init__(self, is_single: bool = None): """ Image for recognition :param is_single: Determines that image contains single VCard or more. - :type AiBcrImage: + :type is_single: bool """ self._is_single = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py index df70c2f..fb0977b 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py @@ -59,8 +59,9 @@ def __init__(self, is_single: bool = None, file: StorageFileLocation = None): """ Image from storage for recognition :param is_single: Determines that image contains single VCard or more. + :type is_single: bool :param file: Image location - :type AiBcrImageStorageFile: + :type file: StorageFileLocation """ super(AiBcrImageStorageFile, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py index e97e8f6..160ade0 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py @@ -56,8 +56,9 @@ def __init__(self, languages: str = None, countries: str = None): """ Recognition options. :param languages: Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. + :type languages: str :param countries: Comma-separated codes of countries. - :type AiBcrOptions: + :type countries: str """ self._languages = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py index e120306..dd41235 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py @@ -62,9 +62,11 @@ def __init__(self, out_folder: StorageFolderLocation = None, images: List[AiBcrI """ Parse business card images from Storage request :param out_folder: Parse output folder location on storage + :type out_folder: StorageFolderLocation :param images: Images to parse. + :type images: List[AiBcrImageStorageFile] :param options: Recognition options. - :type AiBcrParseStorageRequest: + :type options: AiBcrOptions """ self._out_folder = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_component.py b/sdk/AsposeEmailCloudSdk/models/ai_name_component.py index 955b89f..aba0b9c 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_component.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_component.py @@ -60,10 +60,13 @@ def __init__(self, value: str = None, category: str = None, score: float = None, """ Parsed name component :param value: Component value + :type value: str :param category: Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah + :type category: str :param score: Score from 0.0 to 1.0 + :type score: float :param position: Component position from 0 - :type AiNameComponent: + :type position: int """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py index 4d6e50b..ac6cb80 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[AiNameComponent] = None): """ List of name components :param value: - :type AiNameComponentList: + :type value: List[AiNameComponent] """ super(AiNameComponentList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py b/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py index 6f64f6e..410b0ec 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py @@ -62,11 +62,15 @@ def __init__(self, language: str = None, location: str = None, script: str = Non """ AiName cultural context :param language: An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) + :type language: str :param location: A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France + :type location: str :param script: A writing system code; starts with the ISO-15924 script name + :type script: str :param encoding: A character encoding name + :type encoding: str :param style: Name writing style. Enum, available values: Formal, Informal, Legal, Academic - :type AiNameCulturalContext: + :type style: str """ self._language = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py index fabb3f1..fee7ac1 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py @@ -58,8 +58,9 @@ def __init__(self, name: List[AiNameExtractedComponent] = None, score: float = N """ Extracted name :param name: Extracted name components + :type name: List[AiNameExtractedComponent] :param score: Extracted name score - :type AiNameExtracted: + :type score: float """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py index bbbc701..316eedf 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py @@ -56,8 +56,9 @@ def __init__(self, category: str = None, value: str = None): """ Extracted name component :param category: Extracted from email address name component category. Enum, available values: Unknown, GivenName, Surname, SomeName, NoName, Initial + :type category: str :param value: Extracted value - :type AiNameExtractedComponent: + :type value: str """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py index 78ec303..8de7912 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[AiNameExtracted] = None): """ Extracted name list. :param value: - :type AiNameExtractedList: + :type value: List[AiNameExtracted] """ super(AiNameExtractedList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py index 993e7f7..a4749e0 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py @@ -56,8 +56,9 @@ def __init__(self, name: str = None, comments: str = None): """ Formatted name :param name: Formatted name value + :type name: str :param comments: Usually empty; can contain extra message describing some issue occurred during the formatting - :type AiNameFormatted: + :type comments: str """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py index 5c424a5..a2fa15a 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py @@ -56,8 +56,9 @@ def __init__(self, gender: str = None, score: float = None): """ Name gender hypothesis :param gender: Recognized name gender. Enum, available values: Male, Female, Unknown + :type gender: str :param score: Hypothesis score - :type AiNameGenderHypothesis: + :type score: float """ self._gender = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py index 3c8ec27..93f8263 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[AiNameGenderHypothesis] = None): """ Hypotheses about person's gender :param value: - :type AiNameGenderHypothesisList: + :type value: List[AiNameGenderHypothesis] """ super(AiNameGenderHypothesisList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py b/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py index b40628d..7011af1 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py @@ -58,8 +58,9 @@ def __init__(self, similarity: float = None, mismatches: List[AiNameMismatch] = """ Two names match result :param similarity: Similarity score + :type similarity: float :param mismatches: Detailed description of mismatches - :type AiNameMatchResult: + :type mismatches: List[AiNameMismatch] """ self._similarity = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py b/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py index ad9d6d5..50560ea 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py @@ -58,9 +58,11 @@ def __init__(self, category: str = None, similarity: float = None, explanation: """ Names mismatch detailed description :param category: Mismatch type. Enum, available values: Unknown, FirstName, MiddleName, MiddleLastName, MiddleNickname, Gender, Context + :type category: str :param similarity: Similarity score + :type similarity: float :param explanation: Explanation or mismatch subtype - :type AiNameMismatch: + :type explanation: str """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py index 4858817..734f3a5 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py @@ -64,10 +64,13 @@ def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = """ Two parsed names to match request :param cultural_context: AiName parser cultural context + :type cultural_context: AiNameCulturalContext :param format: Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' + :type format: str :param parsed_name: Parsed name + :type parsed_name: List[AiNameComponent] :param other_parsed_name: Other parsed name to match - :type AiNameParsedMatchRequest: + :type other_parsed_name: List[AiNameComponent] """ super(AiNameParsedMatchRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py index 4ac8b55..a6451a1 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py @@ -61,9 +61,11 @@ def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = """ Parsed name request model :param cultural_context: AiName parser cultural context + :type cultural_context: AiNameCulturalContext :param format: Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' + :type format: str :param parsed_name: Parsed name - :type AiNameParsedRequest: + :type parsed_name: List[AiNameComponent] """ self._cultural_context = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py index 7aa9500..faff85a 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py @@ -56,8 +56,9 @@ def __init__(self, name: str = None, score: float = None): """ Name with score :param name: Name + :type name: str :param score: Score of name - :type AiNameWeighted: + :type score: float """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py index 7b9faeb..7172327 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py @@ -58,8 +58,9 @@ def __init__(self, names: List[AiNameWeighted] = None, comments: str = None): """ Name variants :param names: List of name variations + :type names: List[AiNameWeighted] :param comments: Usually empty; can contain extra message describing some issue occurred during processing - :type AiNameWeightedVariants: + :type comments: str """ self._names = None diff --git a/sdk/AsposeEmailCloudSdk/models/alternate_view.py b/sdk/AsposeEmailCloudSdk/models/alternate_view.py index 841790f..48ea635 100644 --- a/sdk/AsposeEmailCloudSdk/models/alternate_view.py +++ b/sdk/AsposeEmailCloudSdk/models/alternate_view.py @@ -68,12 +68,17 @@ def __init__(self, base64_data: str = None, content_id: str = None, content_type """ Represents the format to view a message. :param base64_data: Attachment file content as Base64 string. + :type base64_data: str :param content_id: Attachment content id + :type content_id: str :param content_type: Content type + :type content_type: ContentType :param headers: Attachment headers. + :type headers: Dict[str, str] :param base_uri: Base URI. + :type base_uri: str :param linked_resources: Embedded resources referred to by this alternate view. - :type AlternateView: + :type linked_resources: List[LinkedResource] """ super(AlternateView, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/associated_person.py b/sdk/AsposeEmailCloudSdk/models/associated_person.py index 358e10c..26d8287 100644 --- a/sdk/AsposeEmailCloudSdk/models/associated_person.py +++ b/sdk/AsposeEmailCloudSdk/models/associated_person.py @@ -60,9 +60,11 @@ def __init__(self, name: str = None, category: EnumWithCustomOfAssociatedPersonC """ Describes associated person. :param name: Associated person's name. + :type name: str :param category: Associated person's category. + :type category: EnumWithCustomOfAssociatedPersonCategory :param preferred: Defines whether associated person is preferred. - :type AssociatedPerson: + :type preferred: bool """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/attachment.py b/sdk/AsposeEmailCloudSdk/models/attachment.py index 23ef19e..2c32d7b 100644 --- a/sdk/AsposeEmailCloudSdk/models/attachment.py +++ b/sdk/AsposeEmailCloudSdk/models/attachment.py @@ -73,15 +73,23 @@ def __init__(self, base64_data: str = None, content_id: str = None, content_type """ Document attachment. :param base64_data: Attachment file content as Base64 string. + :type base64_data: str :param content_id: Attachment content id + :type content_id: str :param content_type: Content type + :type content_type: ContentType :param headers: Attachment headers. + :type headers: Dict[str, str] :param content_disposition: Content-Disposition header. Read only. + :type content_disposition: str :param is_embedded_message: Determines if attachment is an embedded message. Read only. + :type is_embedded_message: bool :param name: Attachment name. + :type name: str :param name_encoding: Encoding of attachment name. + :type name_encoding: str :param preferred_text_encoding: Preferred text encoding. - :type Attachment: + :type preferred_text_encoding: str """ super(Attachment, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/attachment_base.py b/sdk/AsposeEmailCloudSdk/models/attachment_base.py index e874a48..08ee167 100644 --- a/sdk/AsposeEmailCloudSdk/models/attachment_base.py +++ b/sdk/AsposeEmailCloudSdk/models/attachment_base.py @@ -62,10 +62,13 @@ def __init__(self, base64_data: str = None, content_id: str = None, content_type """ AttachmentBase class :param base64_data: Attachment file content as Base64 string. + :type base64_data: str :param content_id: Attachment content id + :type content_id: str :param content_type: Content type + :type content_type: ContentType :param headers: Attachment headers. - :type AttachmentBase: + :type headers: Dict[str, str] """ self._base64_data = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py index 5436163..dff2de8 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py @@ -60,9 +60,11 @@ def __init__(self, value: CalendarDto = None, action: str = None, sequence_id: s """ Convert iCalendar to AlternateView request :param value: iCalendar document model + :type value: CalendarDto :param action: iCalendar actions. Enum, available values: Create, Update, Cancel + :type action: str :param sequence_id: iCalendar sequence id - :type CalendarAsAlternateRequest: + :type sequence_id: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py index d86e723..5df43fe 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py @@ -58,8 +58,9 @@ def __init__(self, format: str = None, value: CalendarDto = None): """ iCalendar model to file request. :param format: Calendar file format Enum, available values: Ics, Msg + :type format: str :param value: iCalendar model - :type CalendarAsFileRequest: + :type value: CalendarDto """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/calendar_dto.py index b299381..5130078 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_dto.py @@ -101,28 +101,49 @@ def __init__(self, attachments: List[Attachment] = None, attendees: List[MailAdd """ iCalendar document representation. :param attachments: Document attachments. + :type attachments: List[Attachment] :param attendees: Event attendees. + :type attendees: List[MailAddress] :param description: Description. + :type description: str :param end_date: End date. + :type end_date: datetime :param end_time_zone: End time zone. + :type end_time_zone: str :param flags: Appointment flags. + :type flags: List[str] :param is_description_html: Indicates if description is in HTML format. + :type is_description_html: bool :param location: Location. + :type location: str :param method: Defines the iCalendar object method type associated with the calendar document. Enum, available values: None, Publish, Request, Reply, Add, Cancel, Refresh, Counter, DeclineCounter + :type method: str :param microsoft_busy_status: Specifies the BUSY status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof + :type microsoft_busy_status: str :param microsoft_intended_status: Specifies the INTENDED status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof + :type microsoft_intended_status: str :param optional_attendees: Optional attendees. + :type optional_attendees: List[MailAddress] :param organizer: Event organizer. + :type organizer: MailAddress :param recurrence_string: Deprecated, use 'Recurrence' property. String representation of recurrence pattern (See iCalendar RFC, \"Recurrence rule\" section). For example: For daily recurrence: \"FREQ=DAILY;COUNT=10;WKST=MO\" For monthly recurrence: \"BYSETPOS=1;BYDAY=MO,TU,WE,TH,FR;FREQ=MONTHLY;INTERVAL=10;WKST=MO\" For yearly recurrence: \"BYMONTHDAY=30;BYMONTH=1;FREQ=YEARLY;WKST=MO\" + :type recurrence_string: str :param recurrence: Recurrence pattern + :type recurrence: RecurrencePatternDto :param reminders: Reminders. + :type reminders: List[CalendarReminder] :param sequence_id: The sequence id. Read only. + :type sequence_id: str :param start_date: Start date. + :type start_date: datetime :param start_time_zone: Start time zone. + :type start_time_zone: str :param status: Defines the overall status or confirmation for the calendar document. Enum, available values: NotDefined, Cancelled, Tentative, Confirmed + :type status: str :param summary: Summary. + :type summary: str :param transparency: Specifies whether or not this appointment is intended to be visible in availability searches. Enum, available values: NotDefined, Transparent, Opaque - :type CalendarDto: + :type transparency: str """ self._attachments = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py b/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py index 0adc6dc..2d7bdac 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py @@ -71,14 +71,21 @@ def __init__(self, action: str = None, attachments: List[str] = None, attendees: """ Provides a grouping of component properties that define an alarm. :param action: Defines the action to be invoked when an alarm is triggered. Enum, available values: Audio, Display, Email, Procedure, None + :type action: str :param attachments: Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment content + :type attachments: List[str] :param attendees: Contains collection of ReminderAttendee objects. + :type attendees: List[ReminderAttendee] :param description: Provides a more complete description of the alarm. + :type description: str :param duration: Specifies the delay period in ticks, after which the alarm will repeat. + :type duration: int :param repeat: Defines the number of time the alarm should be repeated, after the initial trigger. + :type repeat: int :param summary: Defines a short summary or subject for the alarm. + :type summary: str :param trigger: Specifies when an alarm will trigger. - :type CalendarReminder: + :type trigger: ReminderTrigger """ self._action = None diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py index 4e97d78..de90d7d 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py @@ -62,9 +62,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: CalendarDto """ Save iCalendar to storage request. :param storage_file: + :type storage_file: StorageFileLocation :param value: + :type value: CalendarDto :param format: Calendar file format Enum, available values: Ics, Msg - :type CalendarSaveRequest: + :type format: str """ super(CalendarSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py b/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py index a1f4342..201c4d0 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[StorageModelOfCalendarDto] = None): """ iCalendar models list with corresponding storage locations. :param value: - :type CalendarStorageList: + :type value: List[StorageModelOfCalendarDto] """ super(CalendarStorageList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py index d58b692..2d0ac91 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py @@ -56,7 +56,7 @@ def __init__(self, account_location: StorageFileLocation = None): """ Base request for Email client. Stores information about email account location. :param account_location: Email client account configuration location on storage. - :type ClientAccountBaseRequest: + :type account_location: StorageFileLocation """ self._account_location = None diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py index 30a062e..2d504fa 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py @@ -61,9 +61,11 @@ def __init__(self, account_location: StorageFileLocation = None, parent_folder: """ Email Client create folder request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param parent_folder: Path to parent folder. + :type parent_folder: str :param folder_name: Folder name. - :type ClientFolderCreateRequest: + :type folder_name: str """ super(ClientFolderCreateRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py index 8f92461..65b731b 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py @@ -59,8 +59,9 @@ def __init__(self, account_location: StorageFileLocation = None, folder: str = N """ Email client delete folder request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param folder: Path to folder to delete. - :type ClientFolderDeleteRequest: + :type folder: str """ super(ClientFolderDeleteRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py index 4867bd6..828ee18 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py @@ -64,10 +64,13 @@ def __init__(self, account_location: StorageFileLocation = None, folder: str = N """ Email client append message request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param folder: Path to folder on email server to append message to. + :type folder: str :param message: Message to append. + :type message: MailMessageBase :param mark_as_sent: Determines that appended message should be market as sent or not. - :type ClientMessageAppendRequest: + :type mark_as_sent: bool """ super(ClientMessageAppendRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py index 01d199b..3ccf148 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py @@ -59,8 +59,9 @@ def __init__(self, account_location: StorageFileLocation = None, message_id: str """ Email client message request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param message_id: Message identifier. - :type ClientMessageBaseRequest: + :type message_id: str """ super(ClientMessageBaseRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py index a9bb0e5..83b734f 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py @@ -61,9 +61,11 @@ def __init__(self, account_location: StorageFileLocation = None, message_id: str """ Email client delete message request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param message_id: Message identifier. + :type message_id: str :param folder: Folder to delete message from. - :type ClientMessageDeleteRequest: + :type folder: str """ super(ClientMessageDeleteRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py index 434b504..7a885d4 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py @@ -63,10 +63,13 @@ def __init__(self, account_location: StorageFileLocation = None, message_id: str """ Email client move message request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param message_id: Message identifier. + :type message_id: str :param source_folder: Folder to move message from. + :type source_folder: str :param destination_folder: Folder to move message to. - :type ClientMessageMoveRequest: + :type destination_folder: str """ super(ClientMessageMoveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py index 115581b..3585833 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py @@ -60,8 +60,9 @@ def __init__(self, account_location: StorageFileLocation = None, message: MailMe """ Email client send message request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param message: Message to send - :type ClientMessageSendRequest: + :type message: MailMessageBase """ super(ClientMessageSendRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py index d79826e..b4e5f9d 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py @@ -61,9 +61,11 @@ def __init__(self, account_location: StorageFileLocation = None, message_id: str """ Email client mark message is read/unread request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param message_id: Message identifier. + :type message_id: str :param is_read: Message is read flag. - :type ClientMessageSetIsReadRequest: + :type is_read: bool """ super(ClientMessageSetIsReadRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py index f3f2b75..6efd9b5 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py @@ -59,8 +59,9 @@ def __init__(self, account_location: StorageFileLocation = None, thread_id: str """ Email client thread request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param thread_id: Thread identifier. - :type ClientThreadBaseRequest: + :type thread_id: str """ super(ClientThreadBaseRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py index 74a50e3..3a9b562 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py @@ -61,9 +61,11 @@ def __init__(self, account_location: StorageFileLocation = None, thread_id: str """ Delete email client thread request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param thread_id: Thread identifier. + :type thread_id: str :param folder: Folder on email server, where thread is stored. - :type ClientThreadDeleteRequest: + :type folder: str """ super(ClientThreadDeleteRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py index cbafdaa..0f97e8a 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py @@ -61,9 +61,11 @@ def __init__(self, account_location: StorageFileLocation = None, thread_id: str """ Email client move thread request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param thread_id: Thread identifier. + :type thread_id: str :param destination_folder: Email account folder to move thread to. - :type ClientThreadMoveRequest: + :type destination_folder: str """ super(ClientThreadMoveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py index 16c970f..9603499 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py @@ -63,10 +63,13 @@ def __init__(self, account_location: StorageFileLocation = None, thread_id: str """ Mark thread messages as read or unread request. :param account_location: Email client account configuration location on storage. + :type account_location: StorageFileLocation :param thread_id: Thread identifier. + :type thread_id: str :param is_read: Message is read flag. + :type is_read: bool :param folder: Folder on email server, where thread is stored. - :type ClientThreadSetIsReadRequest: + :type folder: str """ super(ClientThreadSetIsReadRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py index bd359fe..b142154 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py @@ -58,8 +58,9 @@ def __init__(self, format: str = None, value: ContactDto = None): """ Convert contact model to file request. :param format: Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :type format: str :param value: Contact model. - :type ContactAsFileRequest: + :type value: ContactDto """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/contact_dto.py b/sdk/AsposeEmailCloudSdk/models/contact_dto.py index b71b591..fe5b8e1 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_dto.py @@ -134,42 +134,77 @@ def __init__(self, associated_persons: List[AssociatedPerson] = None, attachment """ VCard document representation. :param associated_persons: Associated persons. + :type associated_persons: List[AssociatedPerson] :param attachments: Document attachments. + :type attachments: List[Attachment] :param company_name: Company name. + :type company_name: str :param computer_network_name: Computer network. + :type computer_network_name: str :param customer_id: Customer id. + :type customer_id: str :param department_name: Department name. + :type department_name: str :param display_name: Display name. + :type display_name: str :param email_addresses: Person's email addresses. + :type email_addresses: List[EmailAddress] :param events: Person's events. + :type events: List[CustomerEvent] :param file_as: A name used for sorting. + :type file_as: str :param file_as_mapping: Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change. Coincides MS-OXPROPS revision 16.2 from 7/31/2014. Enum, available values: Empty, DisplayName, FirstName, LastName, Organization, LastFirstMiddle, OrgLastFirstMiddle, LastFirstMiddleOrg, LastFirstMiddle2, LastFirstMiddle3, OrgLastFirstMiddle2, OrgLastFirstMiddle3, LastFirstMiddleOrg2, LastFirstMiddleOrg3, LastFirstMiddleGen, FirstMiddleLastGen, LastFirstMiddleGen2, BestMatch, AccordingToLocale, None + :type file_as_mapping: str :param free_busy_location: URL path from which a client can retrieve free/busy information for the contact as an iCal file. + :type free_busy_location: str :param gender: Enum defines gender of a person. Enum, available values: Unspecified, Female, Male + :type gender: str :param given_name: Person's given name. + :type given_name: str :param government_id_number: Government id number. + :type government_id_number: str :param hobbies: Person's hobbies. + :type hobbies: str :param initials: Person's initials. + :type initials: str :param instant_messengers: Person's instant messenger addresses. + :type instant_messengers: List[InstantMessengerAddress] :param job_title: Person's job title. + :type job_title: str :param language: Language. + :type language: str :param location: Person's location. + :type location: str :param middle_name: Person's middle name. + :type middle_name: str :param nickname: Person's nickname. + :type nickname: str :param notes: Notes. + :type notes: str :param notes_format: Defines format of a text. Enum, available values: Text, Html + :type notes_format: str :param office_location: Office location. + :type office_location: str :param organizational_id_number: Contains an identifier for the mail user used within the mail user's organization. + :type organizational_id_number: str :param phone_numbers: Person's phone numbers. + :type phone_numbers: List[PhoneNumber] :param photo: Person's photo. + :type photo: ContactPhoto :param physical_addresses: Person's physical addresses. + :type physical_addresses: List[PostalAddress] :param preferred_text_encoding: Encoding for all text properties. + :type preferred_text_encoding: str :param prefix: A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. + :type prefix: str :param profession: A job position of a person in a company. + :type profession: str :param suffix: A suffix of a full name such like Jr.(junior), Sr.(senior) and so on. + :type suffix: str :param surname: Person's surname. + :type surname: str :param urls: Person's urls. - :type ContactDto: + :type urls: List[Url] """ self._associated_persons = None diff --git a/sdk/AsposeEmailCloudSdk/models/contact_list.py b/sdk/AsposeEmailCloudSdk/models/contact_list.py index 249d095..e24099b 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_list.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[ContactDto] = None): """ List of VCard documents :param value: - :type ContactList: + :type value: List[ContactDto] """ super(ContactList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/contact_photo.py b/sdk/AsposeEmailCloudSdk/models/contact_photo.py index e6502af..f89b275 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_photo.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_photo.py @@ -58,9 +58,11 @@ def __init__(self, photo_image_format: str = None, base64_data: str = None, disc """ Person's photo. :param photo_image_format: MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff + :type photo_image_format: str :param base64_data: Photo serialized as base64 string. + :type base64_data: str :param discriminator: - :type ContactPhoto: + :type discriminator: str """ self._photo_image_format = None diff --git a/sdk/AsposeEmailCloudSdk/models/contact_save_request.py b/sdk/AsposeEmailCloudSdk/models/contact_save_request.py index c3d3aec..bb737af 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_save_request.py @@ -62,9 +62,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: ContactDto = """ Contact save to storage request :param storage_file: + :type storage_file: StorageFileLocation :param value: + :type value: ContactDto :param format: Enumerates contact formats. Enum, available values: VCard, WebDav, Msg - :type ContactSaveRequest: + :type format: str """ super(ContactSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py b/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py index fe70754..8c059fc 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[StorageModelOfContactDto] = None): """ Contact models list with corresponding storage locations. :param value: - :type ContactStorageList: + :type value: List[StorageModelOfContactDto] """ super(ContactStorageList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/content_type.py b/sdk/AsposeEmailCloudSdk/models/content_type.py index 3af3bc7..224291b 100644 --- a/sdk/AsposeEmailCloudSdk/models/content_type.py +++ b/sdk/AsposeEmailCloudSdk/models/content_type.py @@ -64,11 +64,15 @@ def __init__(self, boundary: str = None, char_set: str = None, media_type: str = """ Represents a Content-Type header. :param boundary: The boundary parameter included in the Content-Type header. + :type boundary: str :param char_set: CharSet parameter. + :type char_set: str :param media_type: The internet media type. + :type media_type: str :param name: Name parameter. + :type name: str :param parameters: Full list of parameters - :type ContentType: + :type parameters: List[ContentTypeParameter] """ self._boundary = None diff --git a/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py b/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py index b79cf65..cb5895b 100644 --- a/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py +++ b/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py @@ -56,8 +56,9 @@ def __init__(self, name: str = None, value: str = None): """ Content-Type header parameter :param name: Parameter name + :type name: str :param value: Parameter value - :type ContentTypeParameter: + :type value: str """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/customer_event.py b/sdk/AsposeEmailCloudSdk/models/customer_event.py index 678558c..4879de5 100644 --- a/sdk/AsposeEmailCloudSdk/models/customer_event.py +++ b/sdk/AsposeEmailCloudSdk/models/customer_event.py @@ -58,8 +58,9 @@ def __init__(self, category: EnumWithCustomOfEventCategory = None, _date: dateti """ Event. :param category: Event category. + :type category: EnumWithCustomOfEventCategory :param _date: Event date. - :type CustomerEvent: + :type _date: datetime """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py index 83e1d98..9f8d034 100644 --- a/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py @@ -64,11 +64,15 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime """ Daily recurrence. :param interval: Number of recurrence units. + :type interval: int :param occurs: Number of occurrences of the recurrence pattern. + :type occurs: int :param end_date: End date. + :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :type week_start: str :param discriminator: - :type DailyRecurrencePatternDto: + :type discriminator: str """ super(DailyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/disc_usage.py b/sdk/AsposeEmailCloudSdk/models/disc_usage.py index 82dfeca..fd27217 100644 --- a/sdk/AsposeEmailCloudSdk/models/disc_usage.py +++ b/sdk/AsposeEmailCloudSdk/models/disc_usage.py @@ -56,8 +56,9 @@ def __init__(self, used_size: int = None, total_size: int = None): """ Class for disc space information. :param used_size: Application used disc space. + :type used_size: int :param total_size: Total disc space. - :type DiscUsage: + :type total_size: int """ self._used_size = None diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py index ca6a59a..5dc1139 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py @@ -68,13 +68,19 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str """ :param address: Email address to discover. + :type address: str :param fast_processing: Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :type fast_processing: bool :param login: Email account login. If not specified, address used as a login. + :type login: str :param client_id: OAuth client id. + :type client_id: str :param client_secret: OAuth client secret. + :type client_secret: str :param refresh_token: OAuth refresh token. + :type refresh_token: str :param request_url: The url to obtain access token. If not specified, will be discovered from email configuration. - :type DiscoverEmailConfigOauth: + :type request_url: str """ super(DiscoverEmailConfigOauth, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py index e7ee8fc..67ff431 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py @@ -62,10 +62,13 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str """ :param address: Email address to discover. + :type address: str :param fast_processing: Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :type fast_processing: bool :param login: Email account login. If not specified, address used as a login. + :type login: str :param password: Email account password. - :type DiscoverEmailConfigPassword: + :type password: str """ super(DiscoverEmailConfigPassword, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py index 93bd28e..7828f6b 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py @@ -58,9 +58,11 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str """ Discover email configuration request. :param address: Email address to discover. + :type address: str :param fast_processing: Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. + :type fast_processing: bool :param login: Email account login. If not specified, address used as a login. - :type DiscoverEmailConfigRequest: + :type login: str """ self._address = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_account_config.py b/sdk/AsposeEmailCloudSdk/models/email_account_config.py index e800948..311d343 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_account_config.py +++ b/sdk/AsposeEmailCloudSdk/models/email_account_config.py @@ -70,14 +70,21 @@ def __init__(self, display_name: str = None, protocol_type: str = None, host: st """ Email account configuration. :param display_name: Email account display name + :type display_name: str :param protocol_type: Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav + :type protocol_type: str :param host: Email account host. + :type host: str :param port: Port. + :type port: int :param socket_type: Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto + :type socket_type: str :param authentication_types: Supported authentication types. + :type authentication_types: List[str] :param extra_info: Extra account information. + :type extra_info: List[NameValuePair] :param is_validated: Determines that configuration validated. Set to false if validation skipped. - :type EmailAccountConfig: + :type is_validated: bool """ self._display_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py b/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py index 85d9cda..b8e0c22 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[EmailAccountConfig] = None): """ List of email accounts :param value: - :type EmailAccountConfigList: + :type value: List[EmailAccountConfig] """ super(EmailAccountConfigList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_address.py b/sdk/AsposeEmailCloudSdk/models/email_address.py index 4262452..af6a5f7 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_address.py +++ b/sdk/AsposeEmailCloudSdk/models/email_address.py @@ -66,12 +66,17 @@ def __init__(self, category: EnumWithCustomOfEmailAddressCategory = None, displa """ Email address. :param category: Address category. + :type category: EnumWithCustomOfEmailAddressCategory :param display_name: Display name. + :type display_name: str :param preferred: Defines whether email address is preferred. + :type preferred: bool :param routing_type: A routing type for an email. + :type routing_type: str :param address: Email address. + :type address: str :param original_address_string: The original e-mail address string - :type EmailAddress: + :type original_address_string: str """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py index eb8f057..3e7e734 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py @@ -58,8 +58,9 @@ def __init__(self, format: str = None, value: EmailDto = None): """ Convert email model to file request. :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str :param value: Email model. - :type EmailAsFileRequest: + :type value: EmailDto """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account.py b/sdk/AsposeEmailCloudSdk/models/email_client_account.py index e2ee67d..4c6add2 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account.py @@ -67,12 +67,17 @@ def __init__(self, host: str = None, port: int = None, security_options: str = N """ A universal email client account :param host: Mail server host name or IP address + :type host: str :param port: Mail server port + :type port: int :param security_options: Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto + :type security_options: str :param protocol_type: Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav + :type protocol_type: str :param credentials: Email client account credentials + :type credentials: EmailClientAccountCredentials :param cache_file: File with messages cache. Used to provide extra functions, which are not supported by account - :type EmailClientAccount: + :type cache_file: StorageFileLocation """ self._host = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py index 1ec738c..56eb836 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py @@ -56,8 +56,9 @@ def __init__(self, login: str = None, discriminator: str = None): """ Represents email client account credentials :param login: Email client account login + :type login: str :param discriminator: - :type EmailClientAccountCredentials: + :type discriminator: str """ self._login = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py index 46c6101..aba0082 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py @@ -66,12 +66,17 @@ def __init__(self, login: str = None, discriminator: str = None, client_id: str """ Represents email client account OAuth 2.0 credentials :param login: Email client account login + :type login: str :param discriminator: + :type discriminator: str :param client_id: The client ID obtained from the Google Cloud Console during application registration. + :type client_id: str :param client_secret: The client secret obtained during application registration. + :type client_secret: str :param refresh_token: OAuth 2.0 refresh token + :type refresh_token: str :param request_url: The url to obtain access token. If not specified, will try to discover from email client account host. - :type EmailClientAccountOauthCredentials: + :type request_url: str """ super(EmailClientAccountOauthCredentials, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py index b15b153..1500bd1 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py @@ -60,9 +60,11 @@ def __init__(self, login: str = None, discriminator: str = None, password: str = """ Represents email client account password credentials :param login: Email client account login + :type login: str :param discriminator: + :type discriminator: str :param password: Email client account password - :type EmailClientAccountPasswordCredentials: + :type password: str """ super(EmailClientAccountPasswordCredentials, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py index ab58b4c..44a24cf 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py @@ -60,8 +60,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientA """ Email client account save request :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type EmailClientAccountSaveRequest: + :type value: EmailClientAccount """ super(EmailClientAccountSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py index 5fa0d47..68008b5 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py @@ -58,8 +58,9 @@ def __init__(self, receive_accounts: List[EmailClientAccount] = None, send_accou """ Email client virtual account, which contains several accounts :param receive_accounts: Email client receive accounts + :type receive_accounts: List[EmailClientAccount] :param send_account: Email client send account - :type EmailClientMultiAccount: + :type send_account: EmailClientAccount """ self._receive_accounts = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py index 9f63639..63b91cd 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py @@ -60,8 +60,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientM """ Email client multi account save request. :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type EmailClientMultiAccountSaveRequest: + :type value: EmailClientMultiAccount """ super(EmailClientMultiAccountSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_dto.py b/sdk/AsposeEmailCloudSdk/models/email_dto.py index 4638b0f..33ac35c 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/email_dto.py @@ -121,38 +121,69 @@ def __init__(self, alternate_views: List[AlternateView] = None, attachments: Lis """ Email message representation. :param alternate_views: Collection of alternate views of message. + :type alternate_views: List[AlternateView] :param attachments: Email message attachments. + :type attachments: List[Attachment] :param bcc: BCC recipients. + :type bcc: List[MailAddress] :param body: Email message body as plain text. + :type body: str :param body_encoding: Body encoding. + :type body_encoding: str :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :type body_type: str :param cc: CC recipients. + :type cc: List[MailAddress] :param _date: Message date. + :type _date: datetime :param delivery_notification_options: Delivery notifications. + :type delivery_notification_options: List[str] :param _from: From address. + :type _from: MailAddress :param headers: Document headers. + :type headers: Dict[str, str] :param html_body: HTML body. + :type html_body: str :param html_body_text: Html body as plain text. Read only. + :type html_body_text: str :param is_body_html: Indicates whether the message body is in Html. + :type is_body_html: bool :param is_draft: Indicates whether or not a message has been sent. + :type is_draft: bool :param is_encrypted: Indicates whether the message is encrypted. Read only. + :type is_encrypted: bool :param is_signed: Indicates whether the message is signed. Read only. + :type is_signed: bool :param linked_resources: Linked resources of message. + :type linked_resources: List[LinkedResource] :param message_id: Message id. + :type message_id: str :param original_is_tnef: Indicates whether original EML message is in TNEF format. Read only. + :type original_is_tnef: bool :param preferred_text_encoding: Preferred encoding. + :type preferred_text_encoding: str :param priority: Email priority status. Enum, available values: High, Low, Normal + :type priority: str :param read_receipt_to: Read receipt addresses. + :type read_receipt_to: List[MailAddress] :param reply_to_list: The list of addresses to reply to for the mail message. + :type reply_to_list: List[MailAddress] :param reverse_path: ReversePath address. + :type reverse_path: MailAddress :param sender: Sender address. + :type sender: MailAddress :param sensitivity: Specifies the sensitivity of a MailMessage. Enum, available values: None, Normal, Personal, Private, CompanyConfidential + :type sensitivity: str :param subject: Message subject. + :type subject: str :param subject_encoding: Subject encoding. + :type subject_encoding: str :param time_zone_offset: Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the local time and UTC represented as count of ticks (10 000 per millisecond). + :type time_zone_offset: int :param to: The address collection that contains the recipients of message. + :type to: List[MailAddress] :param x_mailer: The X-Mailer the software that created the e-mail message. - :type EmailDto: + :type x_mailer: str """ self._alternate_views = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_list.py b/sdk/AsposeEmailCloudSdk/models/email_list.py index 21c1795..4baa403 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[EmailDto] = None): """ Email document list. :param value: - :type EmailList: + :type value: List[EmailDto] """ super(EmailList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_save_request.py index c2ef3e0..49694fd 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_save_request.py @@ -62,9 +62,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = N """ Email save to storage request :param storage_file: + :type storage_file: StorageFileLocation :param value: + :type value: EmailDto :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :type EmailSaveRequest: + :type format: str """ super(EmailSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_storage_list.py b/sdk/AsposeEmailCloudSdk/models/email_storage_list.py index a97fd35..6154389 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_storage_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[StorageModelOfEmailDto] = None): """ Email models list with corresponding storage locations. :param value: - :type EmailStorageList: + :type value: List[StorageModelOfEmailDto] """ super(EmailStorageList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/email_thread.py b/sdk/AsposeEmailCloudSdk/models/email_thread.py index 809085c..540f1ff 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_thread.py +++ b/sdk/AsposeEmailCloudSdk/models/email_thread.py @@ -62,10 +62,13 @@ def __init__(self, id: str = None, subject: str = None, messages: List[EmailDto] """ Email messages thread :param id: Thread identifier + :type id: str :param subject: Thread subject + :type subject: str :param messages: List of messages in thread + :type messages: List[EmailDto] :param folder: Thread folder location - :type EmailThread: + :type folder: str """ self._id = None diff --git a/sdk/AsposeEmailCloudSdk/models/email_thread_list.py b/sdk/AsposeEmailCloudSdk/models/email_thread_list.py index c90b7a5..1fc99d4 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_thread_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_thread_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[EmailThread] = None): """ List of email threads :param value: - :type EmailThreadList: + :type value: List[EmailThread] """ super(EmailThreadList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py index 6bdd913..65d4010 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py @@ -56,8 +56,9 @@ def __init__(self, value: str = None, description: str = None): """ :param value: Associated person's category. Enum, available values: Spouse, Child, Mother, Father, Parent, Brother, Sister, Friend, Relative, Manager, Assistant, ReferredBy, Partner, DomesticPartner, Custom + :type value: str :param description: - :type EnumWithCustomOfAssociatedPersonCategory: + :type description: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py index 5588e4c..851b881 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py @@ -56,8 +56,9 @@ def __init__(self, value: str = None, description: str = None): """ :param value: Represents category for an email address. Enum, available values: Home, Work, Custom, Email1, Email2, Email3 + :type value: str :param description: - :type EnumWithCustomOfEmailAddressCategory: + :type description: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py index ef0cc7a..d2c9163 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py @@ -56,8 +56,9 @@ def __init__(self, value: str = None, description: str = None): """ :param value: Event category. Enum, available values: Custom, Birthday, Anniversary + :type value: str :param description: - :type EnumWithCustomOfEventCategory: + :type description: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py index 0a8ee92..a4e4c42 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py @@ -56,8 +56,9 @@ def __init__(self, value: str = None, description: str = None): """ :param value: Instant messenger address category. Enum, available values: GoogleTalk, Aim, Yahoo, Skype, Qq, Msn, Icq, Jabber, Custom, ImAddress1, ImAddress2, ImAddress3 + :type value: str :param description: - :type EnumWithCustomOfInstantMessengerCategory: + :type description: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py index 0bffae1..1fb939f 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py @@ -56,8 +56,9 @@ def __init__(self, value: str = None, description: str = None): """ :param value: Phone number category. Enum, available values: Custom, Home, Work, Office, Mobile, Fax, HomeFax, WorkFax, Pager, Car, Isdn, Telex, Callback, Radio, Company, TtyTdd, Assistant, Primary + :type value: str :param description: - :type EnumWithCustomOfPhoneNumberCategory: + :type description: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py index c9c70db..226101e 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py @@ -56,8 +56,9 @@ def __init__(self, value: str = None, description: str = None): """ :param value: Address category. Enum, available values: Home, Work, Custom + :type value: str :param description: - :type EnumWithCustomOfPostalAddressCategory: + :type description: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py index 77f772e..cdb6a46 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py @@ -56,8 +56,9 @@ def __init__(self, value: str = None, description: str = None): """ :param value: Url category. Enum, available values: Profile, HomePage, Home, Work, Blog, Ftp, Custom + :type value: str :param description: - :type EnumWithCustomOfUrlCategory: + :type description: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/error.py b/sdk/AsposeEmailCloudSdk/models/error.py index 4957434..a297bd2 100644 --- a/sdk/AsposeEmailCloudSdk/models/error.py +++ b/sdk/AsposeEmailCloudSdk/models/error.py @@ -62,10 +62,13 @@ def __init__(self, code: str = None, message: str = None, description: str = Non """ Error :param code: Code + :type code: str :param message: Message + :type message: str :param description: Description + :type description: str :param inner_error: Inner Error - :type Error: + :type inner_error: ErrorDetails """ self._code = None diff --git a/sdk/AsposeEmailCloudSdk/models/error_details.py b/sdk/AsposeEmailCloudSdk/models/error_details.py index bcd8990..a4192bd 100644 --- a/sdk/AsposeEmailCloudSdk/models/error_details.py +++ b/sdk/AsposeEmailCloudSdk/models/error_details.py @@ -56,8 +56,9 @@ def __init__(self, request_id: str = None, _date: datetime = None): """ The error details :param request_id: The request id + :type request_id: str :param _date: Date - :type ErrorDetails: + :type _date: datetime """ self._request_id = None diff --git a/sdk/AsposeEmailCloudSdk/models/file_version.py b/sdk/AsposeEmailCloudSdk/models/file_version.py index ad4b28e..1f7fd31 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_version.py +++ b/sdk/AsposeEmailCloudSdk/models/file_version.py @@ -68,13 +68,19 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date """ File Version :param name: File or folder name. + :type name: str :param is_folder: True if it is a folder. + :type is_folder: bool :param modified_date: File or folder last modified DateTime. + :type modified_date: datetime :param size: File or folder size. + :type size: int :param path: File or folder path. + :type path: str :param version_id: File Version ID. + :type version_id: str :param is_latest: Specifies whether the file is (true) or is not (false) the latest version of an file. - :type FileVersion: + :type is_latest: bool """ super(FileVersion, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/file_versions.py b/sdk/AsposeEmailCloudSdk/models/file_versions.py index f888ede..484ad93 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_versions.py +++ b/sdk/AsposeEmailCloudSdk/models/file_versions.py @@ -56,7 +56,7 @@ def __init__(self, value: List[FileVersion] = None): """ File versions FileVersion. :param value: File versions FileVersion. - :type FileVersions: + :type value: List[FileVersion] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/files_list.py b/sdk/AsposeEmailCloudSdk/models/files_list.py index 119ac3e..7ec58b8 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_list.py +++ b/sdk/AsposeEmailCloudSdk/models/files_list.py @@ -56,7 +56,7 @@ def __init__(self, value: List[StorageFile] = None): """ Files list :param value: Files and folders contained by folder StorageFile. - :type FilesList: + :type value: List[StorageFile] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py index 032928b..b31d8a1 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py +++ b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py @@ -58,8 +58,9 @@ def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): """ File upload result :param uploaded: List of uploaded file names + :type uploaded: List[str] :param errors: List of errors. - :type FilesUploadResult: + :type errors: List[Error] """ self._uploaded = None diff --git a/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py b/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py index 1be48a8..700cdc2 100644 --- a/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py +++ b/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py @@ -60,9 +60,11 @@ def __init__(self, category: EnumWithCustomOfInstantMessengerCategory = None, ad """ Instant messenger address. :param category: Address category. + :type category: EnumWithCustomOfInstantMessengerCategory :param address: Address. + :type address: str :param preferred: Determines whether this address is preferred. - :type InstantMessengerAddress: + :type preferred: bool """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/linked_resource.py b/sdk/AsposeEmailCloudSdk/models/linked_resource.py index 9c2d5ab..51951b0 100644 --- a/sdk/AsposeEmailCloudSdk/models/linked_resource.py +++ b/sdk/AsposeEmailCloudSdk/models/linked_resource.py @@ -65,11 +65,15 @@ def __init__(self, base64_data: str = None, content_id: str = None, content_type """ Represents an embedded resource in a message. :param base64_data: Attachment file content as Base64 string. + :type base64_data: str :param content_id: Attachment content id + :type content_id: str :param content_type: Content type + :type content_type: ContentType :param headers: Attachment headers. + :type headers: Dict[str, str] :param content_link: URI that the resource must match. - :type LinkedResource: + :type content_link: str """ super(LinkedResource, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py index 6a4de7c..764ef79 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py @@ -56,7 +56,7 @@ def __init__(self, value: List[AiNameComponent] = None): """ :param value: - :type ListResponseOfAiNameComponent: + :type value: List[AiNameComponent] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py index 68b98bb..f2b7dee 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py @@ -56,7 +56,7 @@ def __init__(self, value: List[AiNameExtracted] = None): """ :param value: - :type ListResponseOfAiNameExtracted: + :type value: List[AiNameExtracted] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py index 0fbcee7..dafed1b 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py @@ -56,7 +56,7 @@ def __init__(self, value: List[AiNameGenderHypothesis] = None): """ :param value: - :type ListResponseOfAiNameGenderHypothesis: + :type value: List[AiNameGenderHypothesis] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py index e6183bf..3ed602c 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py @@ -56,7 +56,7 @@ def __init__(self, value: List[ContactDto] = None): """ :param value: - :type ListResponseOfContactDto: + :type value: List[ContactDto] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py index c0333b9..308a154 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py @@ -56,7 +56,7 @@ def __init__(self, value: List[EmailAccountConfig] = None): """ :param value: - :type ListResponseOfEmailAccountConfig: + :type value: List[EmailAccountConfig] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py index 9708c89..cc2cc87 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py @@ -56,7 +56,7 @@ def __init__(self, value: List[EmailDto] = None): """ :param value: - :type ListResponseOfEmailDto: + :type value: List[EmailDto] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py index 24bd902..1027a37 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py @@ -56,7 +56,7 @@ def __init__(self, value: List[EmailThread] = None): """ :param value: - :type ListResponseOfEmailThread: + :type value: List[EmailThread] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py index 8bab0c3..b63304e 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py @@ -56,7 +56,7 @@ def __init__(self, value: List[MailMessageBase] = None): """ :param value: - :type ListResponseOfMailMessageBase: + :type value: List[MailMessageBase] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py index 57c1288..e2124e0 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py @@ -56,7 +56,7 @@ def __init__(self, value: List[MailServerFolder] = None): """ :param value: - :type ListResponseOfMailServerFolder: + :type value: List[MailServerFolder] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py index c567ccb..e51ed98 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py @@ -56,7 +56,7 @@ def __init__(self, value: List[StorageFileLocation] = None): """ :param value: - :type ListResponseOfStorageFileLocation: + :type value: List[StorageFileLocation] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py index cf80c21..402a6cb 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py @@ -56,7 +56,7 @@ def __init__(self, value: List[StorageModelOfCalendarDto] = None): """ :param value: - :type ListResponseOfStorageModelOfCalendarDto: + :type value: List[StorageModelOfCalendarDto] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py index 2139c5b..a1beed0 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py @@ -56,7 +56,7 @@ def __init__(self, value: List[StorageModelOfContactDto] = None): """ :param value: - :type ListResponseOfStorageModelOfContactDto: + :type value: List[StorageModelOfContactDto] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py index 929bafb..f8715c5 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py @@ -56,7 +56,7 @@ def __init__(self, value: List[StorageModelOfEmailDto] = None): """ :param value: - :type ListResponseOfStorageModelOfEmailDto: + :type value: List[StorageModelOfEmailDto] """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/mail_address.py b/sdk/AsposeEmailCloudSdk/models/mail_address.py index 20057fa..82d9261 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_address.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_address.py @@ -60,10 +60,13 @@ def __init__(self, display_name: str = None, address: str = None, participation_ """ Represents the address of a message. :param display_name: Display name + :type display_name: str :param address: Address + :type address: str :param participation_status: Identifies the participation status for the calendar user. Enum, available values: NeedsAction, Accepted, Declined, Tentative, Delegated + :type participation_status: str :param original_address_string: The original e-mail address string - :type MailAddress: + :type original_address_string: str """ self._display_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base.py index 6f06ad8..2cfed33 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base.py @@ -54,7 +54,7 @@ def __init__(self, discriminator: str = None): """ Universal object that stores email messages in different formats. :param discriminator: - :type MailMessageBase: + :type discriminator: str """ self._discriminator = self.__class__.__name__ diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py index 423e2ba..c4d5e42 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py @@ -60,9 +60,11 @@ def __init__(self, discriminator: str = None, value_base64: str = None, format: """ Email message represented as file, encoded to Base64 format. :param discriminator: + :type discriminator: str :param value_base64: Email message file data encoded to Base64 string. + :type value_base64: str :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :type MailMessageBase64: + :type format: str """ super(MailMessageBase64, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py index b4c44cd..b168909 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[MailMessageBase] = None): """ List of messages. :param value: - :type MailMessageBaseList: + :type value: List[MailMessageBase] """ super(MailMessageBaseList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py b/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py index 8286ff7..dc5f5da 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py @@ -59,8 +59,9 @@ def __init__(self, discriminator: str = None, value: EmailDto = None): """ Represents email message, stored as an EmailDto object. :param discriminator: + :type discriminator: str :param value: Message document object. - :type MailMessageDto: + :type value: EmailDto """ super(MailMessageDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py b/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py index 097b16b..d91b6a2 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py @@ -59,8 +59,9 @@ def __init__(self, discriminator: str = None, value: MapiMessageDto = None): """ Email message represented as MAPI object. :param discriminator: + :type discriminator: str :param value: Email message object. - :type MailMessageMapi: + :type value: MapiMessageDto """ super(MailMessageMapi, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py b/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py index 0242ba8..9ad2451 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py @@ -56,8 +56,9 @@ def __init__(self, name: str = None, id: str = None): """ Email account folder :param name: Gets or sets mail folder name + :type name: str :param id: Gets or sets mail folder id - :type MailServerFolder: + :type id: str """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py b/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py index b6445d2..391098c 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[MailServerFolder] = None): """ List of email client folders. :param value: - :type MailServerFolderList: + :type value: List[MailServerFolder] """ super(MailServerFolderList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py index 930d45b..f2acc41 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py @@ -56,8 +56,9 @@ def __init__(self, name: str = None, data_base64: str = None): """ Mapi attachment :param name: Attachment's name + :type name: str :param data_base64: Attachment data represented as Base64 string. - :type MapiAttachmentDto: + :type data_base64: str """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py index 88f85b6..e385fb6 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with Binary value represented as a Base64 string :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value_base64: Property value converted to Base64 - :type MapiBinaryPropertyDto: + :type value_base64: str """ super(MapiBinaryPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py index 8bb2609..a15f62f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with Boolean value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Property value - :type MapiBooleanPropertyDto: + :type value: bool """ super(MapiBooleanPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py index 8861548..7f9b8b6 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py @@ -58,8 +58,9 @@ def __init__(self, format: str = None, value: MapiCalendarDto = None): """ Convert MapiCalendar to file request. :param format: Calendar file format Enum, available values: Ics, Msg + :type format: str :param value: MAPI calendar model. - :type MapiCalendarAsFileRequest: + :type value: MapiCalendarDto """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py index dadf8a5..3ebca35 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py @@ -62,10 +62,13 @@ def __init__(self, appointment_recipients: List[MapiRecipientDto] = None, appoin """ Mapi calendar attendees. :param appointment_recipients: List of attendees. + :type appointment_recipients: List[MapiRecipientDto] :param appointment_unsendable_recipients: List of unsendable attendees. + :type appointment_unsendable_recipients: List[MapiRecipientDto] :param not_allow_propose: Value indicating whether attendees are not allowed to propose a new date and/or time for the meeting. + :type not_allow_propose: bool :param response_requested: Value indicating whether a response is requested to a Message object. - :type MapiCalendarAttendeesDto: + :type response_requested: bool """ self._appointment_recipients = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py index e939782..7763bbd 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py @@ -85,21 +85,35 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet """ Represents the daily recurrence pattern of the mapi calendar. :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura + :type calendar_type: str :param deleted_instance_dates: An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. + :type deleted_instance_dates: List[datetime] :param end_date: End date of an item recurrence pattern. + :type end_date: datetime :param end_type: Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd + :type end_type: str :param exceptions: An exception specifies changes to an instance of a recurring series. + :type exceptions: List[MapiCalendarExceptionInfoDto] :param frequency: Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly + :type frequency: str :param modified_instance_dates: An array of dates, each of which is the date of a modified instance. + :type modified_instance_dates: List[datetime] :param occurrence_count: Number of occurrences in a recurrence. + :type occurrence_count: int :param pattern_type: Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd + :type pattern_type: str :param period: Interval at which the meeting pattern repeats. + :type period: int :param sliding_flag: Defines whether pattern is sliding or not. + :type sliding_flag: bool :param start_date: Start date of an item recurrence pattern. + :type start_date: datetime :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :type week_start_day: str :param discriminator: + :type discriminator: str :param day_of_week: Days of week at which the event occurs. - :type MapiCalendarDailyRecurrencePatternDto: + :type day_of_week: List[str] """ super(MapiCalendarDailyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py index 6fa36d4..edb40bb 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py @@ -131,41 +131,75 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N """ Represents the mapi calendar object :param attachments: Message item attachments. + :type attachments: List[MapiAttachmentDto] :param billing: Billing information associated with an item. + :type billing: str :param body: Message text. + :type body: str :param body_html: Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. + :type body_html: str :param body_rtf: RTF formatted message text. + :type body_rtf: str :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :type body_type: str :param categories: Contains keywords or categories for the message object. + :type categories: List[str] :param companies: Contains the names of the companies that are associated with an item. + :type companies: List[str] :param item_id: The item id, uses with a server. + :type item_id: str :param message_class: Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. + :type message_class: str :param mileage: Contains the mileage information that is associated with an item. + :type mileage: str :param recipients: Recipients of the message. + :type recipients: List[MapiRecipientDto] :param sensitivity: Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential + :type sensitivity: str :param subject: Subject of the message. + :type subject: str :param subject_prefix: Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. + :type subject_prefix: str :param properties: List of MAPI properties + :type properties: List[MapiPropertyDto] :param discriminator: + :type discriminator: str :param appointment_counter_proposal: Value indicating whether a Meeting Response object is a counter proposal. + :type appointment_counter_proposal: bool :param attendees: Attendees + :type attendees: MapiCalendarAttendeesDto :param busy_status: Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice + :type busy_status: str :param client_intent: Actions the user has taken on this Meeting object. + :type client_intent: List[str] :param end_date: End date and time of the event. If the date is not set, default value for DateTime is returned. + :type end_date: datetime :param end_date_time_zone: Time zone information that indicates the time zone of the EndDate property. + :type end_date_time_zone: MapiCalendarTimeZoneDto :param is_all_day: Value indicating whether the event is an all-day event. + :type is_all_day: bool :param key_words: Categories of the calendar object. + :type key_words: str :param location: Location of the event. + :type location: str :param recurrence: Recurrence properties. + :type recurrence: MapiCalendarEventRecurrenceDto :param reminder_delta: Interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object. + :type reminder_delta: int :param reminder_file_parameter: Full path of the sound that a client SHOULD play when the reminder becomes overdue. + :type reminder_file_parameter: str :param reminder_set: Value indicating whether a reminder is set on the object. + :type reminder_set: bool :param sequence: Sequence number. + :type sequence: int :param start_date: Start date and time of the event. If the date is not set, default value for DateTime is returned. + :type start_date: datetime :param start_date_time_zone: Time zone information that indicates the time zone of the StartDate property. + :type start_date_time_zone: MapiCalendarTimeZoneDto :param uid: Unique identifier. + :type uid: str :param organizer: Organizer - :type MapiCalendarDto: + :type organizer: MapiElectronicAddressDto """ super(MapiCalendarDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py index 4f54b70..e965741 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py @@ -67,12 +67,17 @@ def __init__(self, appointment_time_zone_definition_recur: MapiCalendarTimeZoneD """ Recurrence properties of calendar object. :param appointment_time_zone_definition_recur: Time zone information that describes how to convert the meeting date and time on a recurring series to and from UTC. + :type appointment_time_zone_definition_recur: MapiCalendarTimeZoneDto :param clip_end: Date of the last instance. + :type clip_end: datetime :param clip_start: Date of the first instance. + :type clip_start: datetime :param is_exception: Value indicating whether the object represents an exception. + :type is_exception: bool :param recurrence_pattern: Recurrence pattern. + :type recurrence_pattern: MapiCalendarRecurrencePatternDto :param time_zone_struct: Time zone information for a recurring meeting. - :type MapiCalendarEventRecurrenceDto: + :type time_zone_struct: MapiCalendarTimeZoneDto """ self._appointment_time_zone_definition_recur = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py index 7f4f37a..ef8e885 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py @@ -82,20 +82,33 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, body: str = None """ An exception specifies changes to an instance of a recurring series. :param attachments: Attachments in the recurrence exception. + :type attachments: List[MapiAttachmentDto] :param body: Body. + :type body: str :param busy_status: Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice + :type busy_status: str :param end_date_time: End date. + :type end_date_time: datetime :param has_attachment: Value of this field specifies whether the Exception Embedded Message object contains attachments. + :type has_attachment: bool :param location: Location. + :type location: str :param meeting_type: Enumerates the appointment state Enum, available values: Meeting, Received, Canceled + :type meeting_type: str :param original_start_date: Original start date. + :type original_start_date: datetime :param override_flags: Override flags. + :type override_flags: List[str] :param reminder_delta: Reminder delta. + :type reminder_delta: int :param reminder_set: Value for the PidLidReminderSet property. + :type reminder_set: bool :param start_date_time: Start date. + :type start_date_time: datetime :param subject: Subject. + :type subject: str :param sub_type: SubType. - :type MapiCalendarExceptionInfoDto: + :type sub_type: int """ self._attachments = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py index 0865c5a..098c640 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py @@ -82,20 +82,33 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet """ Mapi recurrence pattern. :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura + :type calendar_type: str :param deleted_instance_dates: An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. + :type deleted_instance_dates: List[datetime] :param end_date: End date of an item recurrence pattern. + :type end_date: datetime :param end_type: Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd + :type end_type: str :param exceptions: An exception specifies changes to an instance of a recurring series. + :type exceptions: List[MapiCalendarExceptionInfoDto] :param frequency: Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly + :type frequency: str :param modified_instance_dates: An array of dates, each of which is the date of a modified instance. + :type modified_instance_dates: List[datetime] :param occurrence_count: Number of occurrences in a recurrence. + :type occurrence_count: int :param pattern_type: Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd + :type pattern_type: str :param period: Interval at which the meeting pattern repeats. + :type period: int :param sliding_flag: Defines whether pattern is sliding or not. + :type sliding_flag: bool :param start_date: Start date of an item recurrence pattern. + :type start_date: datetime :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :type week_start_day: str :param discriminator: - :type MapiCalendarRecurrencePatternDto: + :type discriminator: str """ self._calendar_type = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py index 94225bc..ef2ffe3 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py @@ -62,9 +62,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiCalendar """ Save MapiCalendar to storage request. :param storage_file: + :type storage_file: StorageFileLocation :param value: + :type value: MapiCalendarDto :param format: Calendar file format Enum, available values: Ics, Msg - :type MapiCalendarSaveRequest: + :type format: str """ super(MapiCalendarSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py index d6bbd32..98006cd 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py @@ -58,8 +58,9 @@ def __init__(self, key_name: str = None, time_zone_rules: List[MapiCalendarTimeZ """ Represents the mapi calendar time zone information. :param key_name: Human-readable description of the time zone. + :type key_name: str :param time_zone_rules: Time zone rules - :type MapiCalendarTimeZoneDto: + :type time_zone_rules: List[MapiCalendarTimeZoneInfoDto] """ self._key_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py index cffabed..b6acebe 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py @@ -68,13 +68,19 @@ def __init__(self, bias: int = None, daylight_bias: int = None, daylight_date: M """ Represents the mapi calendar time zone rule. :param bias: Time zone's offset in minutes from UTC. + :type bias: int :param daylight_bias: Offset in minutes from lBias during daylight saving time. + :type daylight_bias: int :param daylight_date: Date and local time that indicate when to begin using the DaylightBias. + :type daylight_date: MapiCalendarTimeZoneRuleDto :param standard_bias: Offset in minutes from lBias during standard time. + :type standard_bias: int :param standard_date: Date and local time that indicate when to begin using the StandardBias. + :type standard_date: MapiCalendarTimeZoneRuleDto :param time_zone_flags: Individual bit flags that specify information about this TimeZoneRule. + :type time_zone_flags: List[str] :param year: Year in which this rule is scheduled to take effect. - :type MapiCalendarTimeZoneInfoDto: + :type year: int """ self._bias = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py index 0a7b4a9..d1809e5 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py @@ -70,15 +70,23 @@ def __init__(self, _date: datetime = None, day_of_week: str = None, hour: int = """ Represents time zone rule that indicate when to begin using the Standard/Daylight time. :param _date: Date and time that indicate when to begin using the Standard/Daylight time. + :type _date: datetime :param day_of_week: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :type day_of_week: str :param hour: Hour. + :type hour: int :param milliseconds: Milliseconds. + :type milliseconds: int :param minute: Minute. + :type minute: int :param month: Month. + :type month: int :param position: Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last + :type position: str :param seconds: Seconds. + :type seconds: int :param year: Year. - :type MapiCalendarTimeZoneRuleDto: + :type year: int """ self.__date = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py index 18c3745..211205a 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py @@ -85,21 +85,35 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet """ Represents the weekly recurrence pattern of the mapi calendar :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura + :type calendar_type: str :param deleted_instance_dates: An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. + :type deleted_instance_dates: List[datetime] :param end_date: End date of an item recurrence pattern. + :type end_date: datetime :param end_type: Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd + :type end_type: str :param exceptions: An exception specifies changes to an instance of a recurring series. + :type exceptions: List[MapiCalendarExceptionInfoDto] :param frequency: Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly + :type frequency: str :param modified_instance_dates: An array of dates, each of which is the date of a modified instance. + :type modified_instance_dates: List[datetime] :param occurrence_count: Number of occurrences in a recurrence. + :type occurrence_count: int :param pattern_type: Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd + :type pattern_type: str :param period: Interval at which the meeting pattern repeats. + :type period: int :param sliding_flag: Defines whether pattern is sliding or not. + :type sliding_flag: bool :param start_date: Start date of an item recurrence pattern. + :type start_date: datetime :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :type week_start_day: str :param discriminator: + :type discriminator: str :param day_of_week: Days of week at which the event occurs. - :type MapiCalendarWeeklyRecurrencePatternDto: + :type day_of_week: List[str] """ super(MapiCalendarWeeklyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py index 29f4057..6e01d78 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py @@ -89,23 +89,39 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet """ Represents the yearly and monthly recurrence pattern of the mapi calendar :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura + :type calendar_type: str :param deleted_instance_dates: An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. + :type deleted_instance_dates: List[datetime] :param end_date: End date of an item recurrence pattern. + :type end_date: datetime :param end_type: Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd + :type end_type: str :param exceptions: An exception specifies changes to an instance of a recurring series. + :type exceptions: List[MapiCalendarExceptionInfoDto] :param frequency: Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly + :type frequency: str :param modified_instance_dates: An array of dates, each of which is the date of a modified instance. + :type modified_instance_dates: List[datetime] :param occurrence_count: Number of occurrences in a recurrence. + :type occurrence_count: int :param pattern_type: Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd + :type pattern_type: str :param period: Interval at which the meeting pattern repeats. + :type period: int :param sliding_flag: Defines whether pattern is sliding or not. + :type sliding_flag: bool :param start_date: Start date of an item recurrence pattern. + :type start_date: datetime :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday + :type week_start_day: str :param discriminator: + :type discriminator: str :param day: Day of the month on which the recurrence falls. + :type day: int :param day_of_week: Days of week at which the event occurs. + :type day_of_week: List[str] :param position: Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last - :type MapiCalendarYearlyAndMonthlyRecurrencePatternDto: + :type position: str """ super(MapiCalendarYearlyAndMonthlyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py index f52a6ef..5974cd1 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py @@ -58,8 +58,9 @@ def __init__(self, format: str = None, value: MapiContactDto = None): """ Convert MapiContact to file request. :param format: Enumerates contact formats. Enum, available values: VCard, WebDav, Msg + :type format: str :param value: MAPI contact model. - :type MapiContactAsFileRequest: + :type value: MapiContactDto """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py index d8b40ce..bf294a9 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py @@ -118,32 +118,57 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N """ Represents outlook contact information. :param attachments: Message item attachments. + :type attachments: List[MapiAttachmentDto] :param billing: Billing information associated with an item. + :type billing: str :param body: Message text. + :type body: str :param body_html: Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. + :type body_html: str :param body_rtf: RTF formatted message text. + :type body_rtf: str :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :type body_type: str :param categories: Contains keywords or categories for the message object. + :type categories: List[str] :param companies: Contains the names of the companies that are associated with an item. + :type companies: List[str] :param item_id: The item id, uses with a server. + :type item_id: str :param message_class: Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. + :type message_class: str :param mileage: Contains the mileage information that is associated with an item. + :type mileage: str :param recipients: Recipients of the message. + :type recipients: List[MapiRecipientDto] :param sensitivity: Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential + :type sensitivity: str :param subject: Subject of the message. + :type subject: str :param subject_prefix: Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. + :type subject_prefix: str :param properties: List of MAPI properties + :type properties: List[MapiPropertyDto] :param discriminator: + :type discriminator: str :param electronic_addresses: Specify properties for up to three different e-mail addresses and three different fax addresses. + :type electronic_addresses: MapiContactElectronicAddressPropertySetDto :param events: Specify events associated with a contact. + :type events: MapiContactEventPropertySetDto :param name_info: The properties are used to specify the name of the person represented by the contact. + :type name_info: MapiContactNamePropertySetDto :param other_fields: Specify other fields of contact. + :type other_fields: MapiContactOtherPropertySetDto :param personal_info: Specify other additional contact information. + :type personal_info: MapiContactPersonalInfoPropertySetDto :param photo: Contact photo. + :type photo: MapiContactPhotoDto :param physical_addresses: Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address. + :type physical_addresses: MapiContactPhysicalAddressPropertySetDto :param professional_info: Properties are used to store professional details for the person represented by the contact. + :type professional_info: MapiContactProfessionalPropertySetDto :param telephones: Specify telephone numbers for the contact. - :type MapiContactDto: + :type telephones: MapiContactTelephonePropertySetDto """ super(MapiContactDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py index 1c2ed51..70d1238 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py @@ -64,12 +64,17 @@ def __init__(self, address_type: str = None, display_name: str = None, email_add """ Refers to the group of properties that define the e-mail address or fax address for a contact. :param address_type: Address type of an electronic address + :type address_type: str :param display_name: User-readable display name for the e-mail address + :type display_name: str :param email_address: E-mail address of the contact + :type email_address: str :param fax_number: Telephone number of the mail user's primary fax machine + :type fax_number: str :param is_empty: Shows if MapiContactElectronicAddress is empty + :type is_empty: bool :param original_display_name: SMTP e-mail address that corresponds to the e-mail address for the Contact object. - :type MapiContactElectronicAddressDto: + :type original_display_name: str """ self._address_type = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py index ae21d48..0106c1e 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py @@ -72,15 +72,23 @@ def __init__(self, business_fax: MapiContactElectronicAddressDto = None, default """ Specify properties for up to three different e-mail addresses (Email1, Email2, and Email3) and three different fax addresses (Primary Fax, Business Fax, and Home Fax) :param business_fax: Refers to the group of properties that define the business fax address for a contact. + :type business_fax: MapiContactElectronicAddressDto :param default_email_address: Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' + :type default_email_address: MapiContactElectronicAddressDto :param email1: Refers to the group of properties that define the first e-mail address for a contact. + :type email1: MapiContactElectronicAddressDto :param email2: Refers to the group of properties that define the second e-mail address for a contact. + :type email2: MapiContactElectronicAddressDto :param email3: Refers to the group of properties that define the third e-mail address for a contact. + :type email3: MapiContactElectronicAddressDto :param home_fax: Refers to the group of properties that define the home fax address for a contact. + :type home_fax: MapiContactElectronicAddressDto :param is_empty: Shows if MapiContactElectronicAddressPropertySetDto is empty + :type is_empty: bool :param primary_fax: Refers to the group of properties that define the primary fax address for a contact. + :type primary_fax: MapiContactElectronicAddressDto :param use_autocomplete: Indicates that one electronic address is completed automatically in case if user does not set any electronic address - :type MapiContactElectronicAddressPropertySetDto: + :type use_autocomplete: bool """ self._business_fax = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py index 22287b3..98b42a7 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py @@ -56,8 +56,9 @@ def __init__(self, birthday: datetime = None, wedding_anniversary: datetime = No """ Specify events associated with a contact. :param birthday: Specifies the birthday of the contact. + :type birthday: datetime :param wedding_anniversary: Specifies the wedding anniversary of the contact. - :type MapiContactEventPropertySetDto: + :type wedding_anniversary: datetime """ self._birthday = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py index b7ccf29..9fc32a2 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py @@ -72,16 +72,25 @@ def __init__(self, display_name: str = None, display_name_prefix: str = None, fi """ The properties are used to specify the name of the person represented by the contact :param display_name: Full name of the contact + :type display_name: str :param display_name_prefix: Title of the contact + :type display_name_prefix: str :param file_under: Name under which to file this contact when displaying a list of contacts + :type file_under: str :param file_under_id: Value specifying how to generate and recompute the property when other properties are changed + :type file_under_id: int :param generation: Generation suffix of the contact + :type generation: str :param given_name: Given name (first name) of the contact + :type given_name: str :param initials: Initials of the contact + :type initials: str :param middle_name: Middle name of the contact + :type middle_name: str :param nickname: Nickname of the contact + :type nickname: str :param surname: Surname (family name) of the contact - :type MapiContactNamePropertySetDto: + :type surname: str """ self._display_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py index 9be7e23..2979b65 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py @@ -68,14 +68,21 @@ def __init__(self, private: bool = None, journal: bool = None, reminder_time: da """ The properties are used to specify additional properties of contact. :param private: Indicates whether the end-user wants this message object hidden from other users who have access to the message object. + :type private: bool :param journal: Specifies whether to create a journal for each action associated with this contact. + :type journal: bool :param reminder_time: Specifies the initial signal time for a reminder. + :type reminder_time: datetime :param reminder_topic: Represents the status of a meeting request. + :type reminder_topic: str :param user_field1: Specifies the first field on the contact that is intended for miscellaneous use for the contact. + :type user_field1: str :param user_field2: Specifies the second field on the contact that is intended for miscellaneous use for the contact. + :type user_field2: str :param user_field3: Specifies the third field on the contact that is intended for miscellaneous use for the contact. + :type user_field3: str :param user_field4: Specifies the forth field on the contact that is intended for miscellaneous use for the contact. - :type MapiContactOtherPropertySetDto: + :type user_field4: str """ self._private = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py index acbdc09..c742bac 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py @@ -90,25 +90,43 @@ def __init__(self, spouse_name: str = None, personal_home_page: str = None, lang """ Specify other additional contact information. :param spouse_name: Specifies the name of the contact's spouse/partner + :type spouse_name: str :param personal_home_page: Specifies the contact's personal web page URL + :type personal_home_page: str :param language: Specifies the language that the contact uses + :type language: str :param notes: Specifies the additional notes + :type notes: str :param hobbies: Specifies the hobbies of the contact + :type hobbies: str :param location: Specifies the location of the contact + :type location: str :param instant_messaging_address: Specifies the contact's instant messaging address + :type instant_messaging_address: str :param organizational_id_number: Specifies an organizational ID number for the contact + :type organizational_id_number: str :param customer_id: Specifies the contact's customer ID number + :type customer_id: str :param government_id_number: Specifies the contact's government ID number + :type government_id_number: str :param free_busy_location: Specifies a URL path from which a client can retrieve free/busy information for the contact as an iCal file + :type free_busy_location: str :param account: Specifies the account name of the contact + :type account: str :param html: Specifies the contact's business web page URL + :type html: str :param business_home_page: Specifies the contact's business web page URL + :type business_home_page: str :param ftp_site: Specifies the contact's File Transfer Protocol (FTP) URL + :type ftp_site: str :param computer_network_name: Specifies the name of the network to which the contact's computer is connected + :type computer_network_name: str :param gender: Gender of the contact Enum, available values: Unspecified, Female, Male + :type gender: str :param referred_by_name: Specifies the name of the person who referred this contact to the user + :type referred_by_name: str :param children: Contains a list of names of children. - :type MapiContactPersonalInfoPropertySetDto: + :type children: List[str] """ self._spouse_name = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py index 2394f66..076277b 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py @@ -60,9 +60,11 @@ def __init__(self, photo_image_format: str = None, base64_data: str = None, disc """ Contains data and type of contact's photo. :param photo_image_format: MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff + :type photo_image_format: str :param base64_data: Photo serialized as base64 string. + :type base64_data: str :param discriminator: - :type MapiContactPhotoDto: + :type discriminator: str """ super(MapiContactPhotoDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py index 09901a5..8886db4 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py @@ -70,15 +70,23 @@ def __init__(self, is_mailing_address: bool = None, street: str = None, city: st """ Refers to the group of properties that define physical address for a contact. :param is_mailing_address: Gets or sets a value indicating whether this address is mailing address + :type is_mailing_address: bool :param street: Specifies the street portion of the contact's address + :type street: str :param city: Specifies the city or locality portion of the contact's address + :type city: str :param state_or_province: Specifies the state or province portion of the contact's address + :type state_or_province: str :param postal_code: Specifies the postal code (ZIP code) portion of the contact's address + :type postal_code: str :param country: Specifies the country or region portion of the contact's address + :type country: str :param country_code: Specifies the country code portion of the contact's address + :type country_code: str :param address: Specifies the complete address of the contact's address + :type address: str :param post_office_box: Gets or sets the post office box - :type MapiContactPhysicalAddressDto: + :type post_office_box: str """ self._is_mailing_address = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py index 8e709b0..76697e4 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py @@ -60,9 +60,11 @@ def __init__(self, work_address: MapiContactPhysicalAddressDto = None, home_addr """ Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address :param work_address: Specifies the address of the contact's work + :type work_address: MapiContactPhysicalAddressDto :param home_address: Specifies the address of the contact's home + :type home_address: MapiContactPhysicalAddressDto :param other_address: Specifies the other contact's address - :type MapiContactPhysicalAddressPropertySetDto: + :type other_address: MapiContactPhysicalAddressDto """ self._work_address = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py index 7076006..03fe017 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py @@ -66,13 +66,19 @@ def __init__(self, title: str = None, company_name: str = None, department_name: """ Properties are used to store professional details for the person represented by the contact :param title: Gets or sets the job title of the contact + :type title: str :param company_name: Gets or sets the company that employs the contact + :type company_name: str :param department_name: Gets or sets the name of the department to which the contact belongs + :type department_name: str :param office_location: Gets or sets the location of the office that the contact works in + :type office_location: str :param manager_name: Gets or sets the name of the contact's manager + :type manager_name: str :param assistant: Gets or sets the name of the contact's assistant + :type assistant: str :param profession: Gets or sets the profession of the contact - :type MapiContactProfessionalPropertySetDto: + :type profession: str """ self._title = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py index d6301ca..1502167 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py @@ -62,9 +62,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiContactD """ MapiContact save to storage request. :param storage_file: + :type storage_file: StorageFileLocation :param value: + :type value: MapiContactDto :param format: Enumerates contact formats. Enum, available values: VCard, WebDav, Msg - :type MapiContactSaveRequest: + :type format: str """ super(MapiContactSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py index daeda25..8696f09 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py @@ -90,25 +90,43 @@ def __init__(self, is_empty: bool = None, default_telephone_number: str = None, """ Specify optional telephone numbers for the contact. :param is_empty: Shows if MapiContactTelephonePropertySet is empty + :type is_empty: bool :param default_telephone_number: Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' + :type default_telephone_number: str :param use_autocomplete: Indicates that one electronic address is completed automatically in case if user does not set any electronic address + :type use_autocomplete: bool :param callback_telephone_number: Gets or sets the callback telephone number + :type callback_telephone_number: str :param business_telephone_number: Gets or sets the business telephone number + :type business_telephone_number: str :param home_telephone_number: Gets or sets the home telephone number + :type home_telephone_number: str :param primary_telephone_number: Gets or sets the primary telephone number + :type primary_telephone_number: str :param business2_telephone_number: Gets or sets the second business telephone number + :type business2_telephone_number: str :param mobile_telephone_number: Gets or sets the mobile telephone number + :type mobile_telephone_number: str :param radio_telephone_number: Gets or sets the radio telephone number + :type radio_telephone_number: str :param car_telephone_number: Gets or sets the car telephone number + :type car_telephone_number: str :param other_telephone_number: Gets or sets an alternate telephone number + :type other_telephone_number: str :param assistant_telephone_number: Gets or sets the telephone number of the contact's assistant + :type assistant_telephone_number: str :param home2_telephone_number: Gets or sets a second home telephone number + :type home2_telephone_number: str :param tty_tdd_phone_number: Gets or sets the telephone number for the contact's text telephone (TTY) or telecommunication device for the deaf (TDD) + :type tty_tdd_phone_number: str :param company_main_telephone_number: Gets or sets the company phone number + :type company_main_telephone_number: str :param telex_number: Gets or sets the telex number + :type telex_number: str :param isdn_number: Gets or sets the integrated services digital network (ISDN) number + :type isdn_number: str :param pager_telephone_number: Gets or sets a pager telephone number - :type MapiContactTelephonePropertySetDto: + :type pager_telephone_number: str """ self._is_empty = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py index e85998d..3f63457 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with DateTime value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Property value - :type MapiDateTimePropertyDto: + :type value: datetime """ super(MapiDateTimePropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py index b4bce57..bd870f7 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py @@ -62,11 +62,15 @@ def __init__(self, address_type: str = None, email_address: str = None, display_ """ Refers to the group of properties that define the e-mail address or fax address. :param address_type: Address type. + :type address_type: str :param email_address: Email address. + :type email_address: str :param display_name: User-readable display name for the e-mail address. + :type display_name: str :param fax_number: Telephone number of the mail user's primary fax machine. + :type fax_number: str :param original_display_name: SMTP e-mail address that corresponds to the e-mail address. - :type MapiElectronicAddressDto: + :type original_display_name: str """ self._address_type = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py index fdec0ea..df5f498 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with FileAsMapping value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Defines how to construct what is displayed for a contact in the FileAs property. Enum, available values: None, LastCommaFirst, FirstSpaceLast, Company, LastCommaFirstCompany, CompanyLastFirst, LastFirst, LastFirstCompany, CompanyLastCommaFirst, LastFirstSuffix, LastSpaceFirstCompany, CompanyLastSpaceFirst, LastSpaceFirst, DisplayName, FirstName, LastFirstMiddleSuffix, LastName, Empty - :type MapiFileAsPropertyDto: + :type value: str """ super(MapiFileAsPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py index d794c84..580e22d 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with ImportanceChoicesType value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Levels of importance for an item. Enum, available values: Low, Normal, High - :type MapiImportancePropertyDto: + :type value: str """ super(MapiImportancePropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py index cc8c164..11a15cc 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with Integer value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Property value - :type MapiIntPropertyDto: + :type value: int """ super(MapiIntPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py index e763314..a59f085 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py @@ -58,8 +58,9 @@ def __init__(self, discriminator: str = None, name: str = None): """ Known Mapi Property descriptor :param discriminator: + :type discriminator: str :param name: Known property name. See all known properties here: https://apireference.aspose.com/email/net/aspose.email.mapi/knownpropertylist/fields/index Possible values: Mileage, ObjectUri, GDataContactVersion, GDataPhotoVersion, AddressBookProviderArrayType, AddressBookProviderEmailList, AddressCountryCode, AgingDontAgeMe, AllAttendeesString, AllowExternalCheck, AnniversaryEventEntryId, AppointmentAuxiliaryFlags, AppointmentColor, AppointmentCounterProposal, AppointmentDuration, AppointmentEndDate, AppointmentEndTime, AppointmentEndWhole, AppointmentLastSequence, AppointmentMessageClass, AppointmentNotAllowPropose, AppointmentProposalNumber, AppointmentProposedDuration, AppointmentProposedEndWhole, AppointmentProposedStartWhole, AppointmentRecur, AppointmentReplyName, AppointmentReplyTime, AppointmentSequence, AppointmentSequenceTime, AppointmentStartDate, AppointmentStartTime, AppointmentStartWhole, AppointmentStateFlags, AppointmentSubType, AppointmentTimeZoneDefinitionEndDisplay, AppointmentTimeZoneDefinitionRecur, AppointmentTimeZoneDefinitionStartDisplay, AppointmentUnsendableRecipients, AppointmentUpdateTime, AttendeeCriticalChange, AutoFillLocation, AutoLog, AutoProcessState, AutoStartCheck, Billing, BirthdayEventEntryId, BirthdayLocal, BusinessCardCardPicture, BusinessCardDisplayDefinition, BusyStatus, CalendarType, Categories, CcAttendeesString, ChangeHighlight, Classification, ClassificationDescription, ClassificationGuid, ClassificationKeep, Classified, CleanGlobalObjectId, ClientIntent, ClipEnd, ClipStart, CollaborateDoc, CommonEnd, CommonStart, Companies, ConferencingCheck, ConferencingType, ContactCharacterSet, ContactItemData, ContactLinkedGlobalAddressListEntryId, ContactLinkEntry, ContactLinkGlobalAddressListLinkId, ContactLinkGlobalAddressListLinkState, ContactLinkLinkRejectHistory, ContactLinkName, ContactLinkSearchKey, ContactLinkSMTPAddressCache, Contacts, ContactUserField1, ContactUserField2, ContactUserField3, ContactUserField4, ConversationActionLastAppliedTime, ConversationActionMaxDeliveryTime, ConversationActionMoveFolderEid, ConversationActionMoveStoreEid, ConversationActionVersion, ConversationProcessed, CurrentVersion, CurrentVersionName, DayInterval, DayOfMonth, DelegateMail, Department, Directory, DistributionListChecksum, DistributionListMembers, DistributionListName, DistributionListOneOffMembers, DistributionListStream, Email1AddressType, Email1DisplayName, Email1EmailAddress, Email1OriginalDisplayName, Email1OriginalEntryId, Email2AddressType, Email2DisplayName, Email2EmailAddress, Email2OriginalDisplayName, Email2OriginalEntryId, Email3AddressType, Email3DisplayName, Email3EmailAddress, Email3OriginalDisplayName, Email3OriginalEntryId, EndRecurrenceDate, EndRecurrenceTime, ExceptionReplaceTime, Fax1AddressType, Fax1EmailAddress, Fax1OriginalDisplayName, Fax1OriginalEntryId, Fax2AddressType, Fax2EmailAddress, Fax2OriginalDisplayName, Fax2OriginalEntryId, Fax3AddressType, Fax3EmailAddress, Fax3OriginalDisplayName, Fax3OriginalEntryId, FExceptionalAttendees, FExceptionalBody, FileUnder, FileUnderId, FileUnderList, FInvited, FlagRequest, FlagString, ForwardInstance, ForwardNotificationRecipients, FOthersAppointment, FreeBusyLocation, GlobalObjectId, HasPicture, HomeAddress, HomeAddressCountryCode, Html, ICalendarDayOfWeekMask, InboundICalStream, InfoPathFormName, InstantMessagingAddress, IntendedBusyStatus, InternetAccountName, InternetAccountStamp, IsContactLinked, IsException, IsRecurring, IsSilent, LinkedTaskItems, Location, LogDocumentPosted, LogDocumentPrinted, LogDocumentRouted, LogDocumentSaved, LogDuration, LogEnd, LogFlags, LogStart, LogType, LogTypeDesc, MeetingType, MeetingWorkspaceUrl, MonthInterval, MonthOfYear, MonthOfYearMask, NetShowUrl, NoEndDateFlag, NonSendableBcc, NonSendableCc, NonSendableTo, NonSendBccTrackStatus, NonSendCcTrackStatus, NonSendToTrackStatus, NoteColor, NoteHeight, NoteWidth, NoteX, NoteY, Occurrences, OldLocation, OldRecurrenceType, OldWhenEndWhole, OldWhenStartWhole, OnlinePassword, OptionalAttendees, OrganizerAlias, OriginalStoreEntryId, OtherAddress, OtherAddressCountryCode, OwnerCriticalChange, OwnerName, PendingStateForSiteMailboxDocument, PercentComplete, PostalAddressId, PostRssChannel, PostRssChannelLink, PostRssItemGuid, PostRssItemHash, PostRssItemLink, PostRssItemXml, PostRssSubscription, Private, PromptSendUpdate, RecurrenceDuration, RecurrencePattern, RecurrenceType, Recurring, ReferenceEntryId, ReminderDelta, ReminderFileParameter, ReminderOverride, ReminderPlaySound, ReminderSet, ReminderSignalTime, ReminderTime, ReminderTimeDate, ReminderTimeTime, ReminderType, RemoteStatus, RequiredAttendees, ResourceAttendees, ResponseStatus, ServerProcessed, ServerProcessingActions, SharingAnonymity, SharingBindingEntryId, SharingBrowseUrl, SharingCapabilities, SharingConfigurationUrl, SharingDataRangeEnd, SharingDataRangeStart, SharingDetail, SharingExtensionXml, SharingFilter, SharingFlags, SharingFlavor, SharingFolderEntryId, SharingIndexEntryId, SharingInitiatorEntryId, SharingInitiatorName, SharingInitiatorSmtp, SharingInstanceGuid, SharingLastAutoSyncTime, SharingLastSyncTime, SharingLocalComment, SharingLocalLastModificationTime, SharingLocalName, SharingLocalPath, SharingLocalStoreUid, SharingLocalType, SharingLocalUid, SharingOriginalMessageEntryId, SharingParentBindingEntryId, SharingParticipants, SharingPermissions, SharingProviderExtension, SharingProviderGuid, SharingProviderName, SharingProviderUrl, SharingRangeEnd, SharingRangeStart, SharingReciprocation, SharingRemoteByteSize, SharingRemoteComment, SharingRemoteCrc, SharingRemoteLastModificationTime, SharingRemoteMessageCount, SharingRemoteName, SharingRemotePass, SharingRemotePath, SharingRemoteStoreUid, SharingRemoteType, SharingRemoteUid, SharingRemoteUser, SharingRemoteVersion, SharingResponseTime, SharingResponseType, SharingRoamLog, SharingStart, SharingStatus, SharingStop, SharingSyncFlags, SharingSyncInterval, SharingTimeToLive, SharingTimeToLiveAuto, SharingWorkingHoursDays, SharingWorkingHoursEnd, SharingWorkingHoursStart, SharingWorkingHoursTimeZone, SideEffects, SingleBodyICal, SmartNoAttach, SpamOriginalFolder, StartRecurrenceDate, StartRecurrenceTime, TaskAcceptanceState, TaskAccepted, TaskActualEffort, TaskAssigner, TaskAssigners, TaskComplete, TaskCustomFlags, TaskDateCompleted, TaskDeadOccurrence, TaskDueDate, TaskEstimatedEffort, TaskFCreator, TaskFFixOffline, TaskFRecurring, TaskGlobalId, TaskHistory, TaskLastDelegate, TaskLastUpdate, TaskLastUser, TaskMode, TaskMultipleRecipients, TaskNoCompute, TaskOrdinal, TaskOwner, TaskOwnership, TaskRecurrence, TaskResetReminder, TaskRole, TaskStartDate, TaskState, TaskStatus, TaskStatusOnComplete, TaskUpdates, TaskVersion, TeamTask, TimeZone, TimeZoneDescription, TimeZoneStruct, ToAttendeesString, ToDoOrdinalDate, ToDoSubOrdinal, ToDoTitle, UseTnef, ValidFlagStringProof, VerbResponse, VerbStream, WeddingAnniversaryLocal, WeekInterval, Where, WorkAddress, WorkAddressCity, WorkAddressCountry, WorkAddressCountryCode, WorkAddressPostalCode, WorkAddressPostOfficeBox, WorkAddressState, WorkAddressStreet, YearInterval, YomiCompanyName, YomiFirstName, YomiLastName, AcceptLanguage, ApplicationName, AttachmentMacContentType, AttachmentMacInfo, AudioNotes, Author, AutomaticSpeechRecognitionData, ByteCount, CalendarAttendeeRole, CalendarBusystatus, CalendarContact, CalendarContactUrl, CalendarCreated, CalendarDescriptionUrl, CalendarDuration, CalendarExceptionDate, CalendarExceptionRule, CalendarGeoLatitude, CalendarGeoLongitude, CalendarInstanceType, CalendarIsOrganizer, CalendarLastModified, CalendarLocationUrl, CalendarMeetingStatus, CalendarMethod, CalendarProductId, CalendarRecurrenceIdRange, CalendarReminderOffset, CalendarResources, CalendarRsvp, CalendarSequence, CalendarTimeZone, CalendarTimeZoneId, CalendarTransparent, CalendarUid, CalendarVersion, Category, CharacterCount, Comments, Company, ContentBase, ContentClass, ContentType, CreateDateTimeReadOnly, CrossReference, DavId, DavIsCollection, DavIsStructuredDocument, DavParentName, DavUid, DocumentParts, EditTime, ExchangeIntendedBusyStatus, ExchangeJunkEmailMoveStamp, ExchangeModifyExceptionStructure, ExchangeNoModifyExceptions, ExchangePatternEnd, ExchangePatternStart, ExchangeReminderInterval, ExchDatabaseSchema, ExchDataExpectedContentClass, ExchDataSchemaCollectionReference, ExtractedAddresses, ExtractedContacts, ExtractedEmails, ExtractedMeetings, ExtractedPhones, ExtractedTasks, ExtractedUrls, From, HeadingPairs, HiddenCount, HttpmailCalendar, HttpmailHtmlDescription, HttpmailSendMessage, ICalendarRecurrenceDate, ICalendarRecurrenceRule, InternetSubject, Keywords, LastAuthor, LastPrinted, LastSaveDateTime, LineCount, LinksDirty, LocationUrl, Manager, MultimediaClipCount, NoteCount, OMSAccountGuid, OMSMobileModel, OMSScheduleTime, OMSServiceType, OMSSourceType, PageCount, ParagraphCount, PhishingStamp, PresentationFormat, QuarantineOriginalSender, RevisionNumber, RightsManagementLicense, Scale, Security, SlideCount, Subject, Template, Thumbnail, Title, WordCount, XCallId, XFaxNumberOfPages, XRequireProtectedPlayOnPhone, XSenderTelephoneNumber, XSharingBrowseUrl, XSharingCapabilities, XSharingConfigUrl, XSharingExendedCaps, XSharingFlavor, XSharingInstanceGuid, XSharingLocalType, XSharingProviderGuid, XSharingProviderName, XSharingProviderUrl, XSharingRemoteName, XSharingRemotePath, XSharingRemoteStoreUid, XSharingRemoteType, XSharingRemoteUid, XVoiceMessageAttachmentOrder, XVoiceMessageDuration, XVoiceMessageSenderName, Access, AccessControlListData, AccessLevel, Account, AdditionalRenEntryIds, AdditionalRenEntryIdsEx, AddressBookAuthorizedSenders, AddressBookContainerId, AddressBookDeliveryContentLength, AddressBookDisplayNamePrintable, AddressBookDisplayTypeExtended, AddressBookDistributionListExternalMemberCount, AddressBookDistributionListMemberCount, AddressBookDistributionListMemberSubmitAccepted, AddressBookDistributionListMemberSubmitRejected, AddressBookDistributionListRejectMessagesFromDLMembers, AddressBookEntryId, AddressBookExtensionAttribute1, AddressBookExtensionAttribute10, AddressBookExtensionAttribute11, AddressBookExtensionAttribute12, AddressBookExtensionAttribute13, AddressBookExtensionAttribute14, AddressBookExtensionAttribute15, AddressBookExtensionAttribute2, AddressBookExtensionAttribute3, AddressBookExtensionAttribute4, AddressBookExtensionAttribute5, AddressBookExtensionAttribute6, AddressBookExtensionAttribute7, AddressBookExtensionAttribute8, AddressBookExtensionAttribute9, AddressBookFolderPathname, AddressBookHierarchicalChildDepartments, AddressBookHierarchicalDepartmentMembers, AddressBookHierarchicalIsHierarchicalGroup, AddressBookHierarchicalParentDepartment, AddressBookHierarchicalRootDepartment, AddressBookHierarchicalShowInDepartments, AddressBookHomeMessageDatabase, AddressBookIsMaster, AddressBookIsMemberOfDistributionList, AddressBookManageDistributionList, AddressBookManager, AddressBookManagerDistinguishedName, AddressBookMember, AddressBookMessageId, AddressBookModerationEnabled, AddressBookNetworkAddress, AddressBookObjectDistinguishedName, AddressBookObjectGuid, AddressBookOrganizationalUnitRootDistinguishedName, AddressBookOwner, AddressBookOwnerBackLink, AddressBookParentEntryId, AddressBookPhoneticCompanyName, AddressBookPhoneticDepartmentName, AddressBookPhoneticDisplayName, AddressBookPhoneticGivenName, AddressBookPhoneticSurname, AddressBookProxyAddresses, AddressBookPublicDelegates, AddressBookReports, AddressBookRoomCapacity, AddressBookRoomContainers, AddressBookRoomDescription, AddressBookSenderHintTranslations, AddressBookSeniorityIndex, AddressBookTargetAddress, AddressBookUnauthorizedSenders, AddressBookX509Certificate, AddressType, AlternateRecipientAllowed, Anr, ArchiveDate, ArchivePeriod, ArchiveTag, Assistant, AssistantTelephoneNumber, Associated, AttachAdditionalInformation, AttachContentBase, AttachContentId, AttachContentLocation, AttachDataBinary, AttachDataObject, AttachEncoding, AttachExtension, AttachFilename, AttachFlags, AttachLongFilename, AttachLongPathname, AttachmentContactPhoto, AttachmentFlags, AttachmentHidden, AttachmentLinkId, AttachMethod, AttachMimeTag, AttachNumber, AttachPathname, AttachPayloadClass, AttachPayloadProviderGuidString, AttachRendering, AttachSize, AttachTag, AttachTransportName, AttributeHidden, AttributeReadOnly, AutoForwardComment, AutoForwarded, AutoResponseSuppress, Birthday, BlockStatus, Body, BodyContentId, BodyContentLocation, BodyHtml, Business2TelephoneNumber, Business2TelephoneNumbers, BusinessFaxNumber, BusinessHomePage, BusinessTelephoneNumber, CallbackTelephoneNumber, CallId, CarTelephoneNumber, CdoRecurrenceid, ChangeKey, ChangeNumber, ChildrensNames, ClientActions, ClientSubmitTime, CodePageId, Comment, CompanyMainTelephoneNumber, CompanyName, ComputerNetworkName, ConflictEntryId, ContainerClass, ContainerContents, ContainerFlags, ContainerHierarchy, ContentCount, ContentFilterSpamConfidenceLevel, ContentUnreadCount, ConversationId, ConversationIndex, ConversationIndexTracking, ConversationTopic, Country, CreationTime, CreatorEntryId, CreatorName, CustomerId, DamBackPatched, DamOriginalEntryId, DefaultPostMessageClass, DeferredActionMessageOriginalEntryId, DeferredDeliveryTime, DeferredSendNumber, DeferredSendTime, DeferredSendUnits, DelegatedByRule, DelegateFlags, DeleteAfterSubmit, DeletedCountTotal, DeletedOn, DeliverTime, DepartmentName, Depth, DisplayBcc, DisplayCc, DisplayName, DisplayNamePrefix, DisplayTo, DisplayType, DisplayTypeEx, EmailAddress, EndDate, EntryId, ExceptionEndTime, TagExceptionReplaceTime, ExceptionStartTime, ExchangeNTSecurityDescriptor, ExpiryNumber, ExpiryTime, ExpiryUnits, ExtendedFolderFlags, ExtendedRuleMessageActions, ExtendedRuleMessageCondition, ExtendedRuleSizeLimit, FaxNumberOfPages, FlagCompleteTime, FlagStatus, FlatUrlName, FolderAssociatedContents, FolderId, FolderFlags, FolderType, FollowupIcon, FreeBusyCountMonths, FreeBusyEntryIds, FreeBusyMessageEmailAddress, FreeBusyPublishEnd, FreeBusyPublishStart, FreeBusyRangeTimestamp, FtpSite, GatewayNeedsToRefresh, Gender, Generation, GivenName, GovernmentIdNumber, HasAttachments, HasDeferredActionMessages, HasNamedProperties, HasRules, HierarchyChangeNumber, HierRev, Hobbies, Home2TelephoneNumber, Home2TelephoneNumbers, HomeAddressCity, HomeAddressCountry, HomeAddressPostalCode, HomeAddressPostOfficeBox, HomeAddressStateOrProvince, HomeAddressStreet, HomeFaxNumber, HomeTelephoneNumber, TagHtml, ICalendarEndTime, ICalendarReminderNextTime, ICalendarStartTime, IconIndex, Importance, InConflict, InitialDetailsPane, Initials, InReplyToId, InstanceKey, InstanceNum, InstID, InternetCodepage, InternetMailOverrideFormat, InternetMessageId, InternetReferences, IpmAppointmentEntryId, IpmContactEntryId, IpmDraftsEntryId, IpmJournalEntryId, IpmNoteEntryId, IpmTaskEntryId, IsdnNumber, JunkAddRecipientsToSafeSendersList, JunkIncludeContacts, JunkPermanentlyDelete, JunkPhishingEnableLinks, JunkThreshold, Keyword, Language, LastModificationTime, LastModifierEntryId, LastModifierName, LastVerbExecuted, LastVerbExecutionTime, ListHelp, ListSubscribe, ListUnsubscribe, LocalCommitTime, LocalCommitTimeMax, LocaleId, Locality, TagLocation, MailboxOwnerEntryId, MailboxOwnerName, ManagerName, MappingSignature, MaximumSubmitMessageSize, MemberId, MemberName, MemberRights, MessageAttachments, MessageCcMe, MessageClass, MessageCodepage, MessageDeliveryTime, MessageEditorFormat, MessageFlags, MessageHandlingSystemCommonName, MessageLocaleId, MessageRecipientMe, MessageRecipients, MessageSize, MessageSizeExtended, MessageStatus, MessageSubmissionId, MessageToMe, Mid, MiddleName, MimeSkeleton, MobileTelephoneNumber, NativeBody, NextSendAcct, Nickname, NonDeliveryReportDiagCode, NonDeliveryReportReasonCode, NonDeliveryReportStatusCode, NonReceiptNotificationRequested, NormalizedSubject, ObjectType, OfficeLocation, OfflineAddressBookContainerGuid, OfflineAddressBookDistinguishedName, OfflineAddressBookMessageClass, OfflineAddressBookName, OfflineAddressBookSequence, OfflineAddressBookTruncatedProperties, OrdinalMost, OrganizationalIdNumber, OriginalAuthorEntryId, OriginalAuthorName, OriginalDeliveryTime, OriginalDisplayBcc, OriginalDisplayCc, OriginalDisplayTo, OriginalEntryId, OriginalMessageClass, OriginalMessageId, OriginalSenderAddressType, OriginalSenderEmailAddress, OriginalSenderEntryId, OriginalSenderName, OriginalSenderSearchKey, OriginalSensitivity, OriginalSentRepresentingAddressType, OriginalSentRepresentingEmailAddress, OriginalSentRepresentingEntryId, OriginalSentRepresentingName, OriginalSentRepresentingSearchKey, OriginalSubject, OriginalSubmitTime, OriginatorDeliveryReportRequested, OriginatorNonDeliveryReportRequested, OscSyncEnabled, OtherAddressCity, OtherAddressCountry, OtherAddressPostalCode, OtherAddressPostOfficeBox, OtherAddressStateOrProvince, OtherAddressStreet, OtherTelephoneNumber, OutOfOfficeState, OwnerAppointmentId, PagerTelephoneNumber, ParentEntryId, ParentFolderId, ParentKey, ParentSourceKey, PersonalHomePage, PolicyTag, PostalAddress, PostalCode, PostOfficeBox, PredecessorChangeList, PrimaryFaxNumber, PrimarySendAccount, PrimaryTelephoneNumber, Priority, Processed, Profession, ProhibitReceiveQuota, ProhibitSendQuota, PurportedSenderDomain, RadioTelephoneNumber, Read, ReadReceiptAddressType, ReadReceiptEmailAddress, ReadReceiptEntryId, ReadReceiptName, ReadReceiptRequested, ReadReceiptSearchKey, ReadReceiptSmtpAddress, ReceiptTime, ReceivedByAddressType, ReceivedByEmailAddress, ReceivedByEntryId, ReceivedByName, ReceivedBySearchKey, ReceivedBySmtpAddress, ReceivedRepresentingAddressType, ReceivedRepresentingEmailAddress, ReceivedRepresentingEntryId, ReceivedRepresentingName, ReceivedRepresentingSearchKey, ReceivedRepresentingSmtpAddress, RecipientDisplayName, RecipientEntryId, RecipientFlags, RecipientOrder, RecipientProposed, RecipientProposedEndTime, RecipientProposedStartTime, RecipientReassignmentProhibited, RecipientTrackStatus, RecipientTrackStatusTime, RecipientType, RecordKey, ReferredByName, RemindersOnlineEntryId, RemoteMessageTransferAgent, RenderingPosition, ReplyRecipientEntries, ReplyRecipientNames, ReplyRequested, ReplyTemplateId, ReplyTime, ReportDisposition, ReportDispositionMode, ReportEntryId, ReportingMessageTransferAgent, ReportName, ReportSearchKey, ReportTag, ReportText, ReportTime, ResolveMethod, ResponseRequested, Responsibility, RetentionDate, RetentionFlags, RetentionPeriod, Rights, RoamingDatatypes, RoamingDictionary, RoamingXmlStream, Rowid, RowType, RtfCompressed, RtfInSync, RuleActionNumber, RuleActions, RuleActionType, RuleCondition, RuleError, RuleFolderEntryId, RuleId, RuleIds, RuleLevel, RuleMessageLevel, RuleMessageName, RuleMessageProvider, RuleMessageProviderData, RuleMessageSequence, RuleMessageState, RuleMessageUserFlags, RuleName, RuleProvider, RuleProviderData, RuleSequence, RuleState, RuleUserFlags, RwRulesStream, ScheduleInfoAppointmentTombstone, ScheduleInfoAutoAcceptAppointments, ScheduleInfoDelegateEntryIds, ScheduleInfoDelegateNames, ScheduleInfoDelegateNamesW, ScheduleInfoDelegatorWantsCopy, ScheduleInfoDelegatorWantsInfo, ScheduleInfoDisallowOverlappingAppts, ScheduleInfoDisallowRecurringAppts, ScheduleInfoDontMailDelegates, ScheduleInfoFreeBusy, ScheduleInfoFreeBusyAway, ScheduleInfoFreeBusyBusy, ScheduleInfoFreeBusyMerged, ScheduleInfoFreeBusyTentative, ScheduleInfoMonthsAway, ScheduleInfoMonthsBusy, ScheduleInfoMonthsMerged, ScheduleInfoMonthsTentative, ScheduleInfoResourceType, SchedulePlusFreeBusyEntryId, ScriptData, SearchFolderDefinition, SearchFolderEfpFlags, SearchFolderExpiration, SearchFolderId, SearchFolderLastUsed, SearchFolderRecreateInfo, SearchFolderStorageType, SearchFolderTag, SearchFolderTemplateId, SearchKey, SecurityDescriptorAsXml, Selectable, SenderAddressType, SenderEmailAddress, SenderEntryId, SenderIdStatus, SenderName, SenderSearchKey, SenderSmtpAddress, SenderTelephoneNumber, SendInternetEncoding, SendRichInfo, Sensitivity, SentMailSvrEID, SentRepresentingAddressType, SentRepresentingEmailAddress, SentRepresentingEntryId, SentRepresentingFlags, SentRepresentingName, SentRepresentingSearchKey, SentRepresentingSmtpAddress, SmtpAddress, SortLocaleId, SourceKey, SpokenName, SpouseName, StartDate, StartDateEtc, StateOrProvince, StoreEntryId, StoreState, StoreSupportMask, StreetAddress, Subfolders, TagSubject, SubjectPrefix, SupplementaryInfo, Surname, SwappedToDoData, SwappedToDoStore, TargetEntryId, TelecommunicationsDeviceForDeafTelephoneNumber, TelexNumber, TemplateData, Templateid, TextAttachmentCharset, ThumbnailPhoto, TagTitle, TnefCorrelationKey, ToDoItemFlags, TransmittableDisplayName, TransportMessageHeaders, TrustSender, UserCertificate, UserEntryId, UserX509Certificate, ViewDescriptorBinary, ViewDescriptorName, ViewDescriptorStrings, ViewDescriptorVersion, VoiceMessageAttachmentOrder, VoiceMessageDuration, VoiceMessageSenderName, WeddingAnniversary, WlinkAddressBookEID, WlinkAddressBookStoreEID, WlinkCalendarColor, WlinkClientID, WlinkEntryId, WlinkFlags, WlinkFolderType, WlinkGroupClsid, WlinkGroupHeaderID, WlinkGroupName, WlinkOrdinal, WlinkRecordKey, WlinkROGroupType, WlinkSaveStamp, WlinkSection, WlinkStoreEntryId, WlinkType, Abstract, ActiveUserEntryid, AddrbookForLocalSiteEntryid, AddressBookDisplayName, ArrivalTime, AssocMessageSize, AssocMessageSizeExtended, AssocMsgWAttachCount, AttachOnAssocMsgCount, AttachOnNormalMsgCount, AutoAddNewSubs, BilateralInfo, CachedColumnCount, CategCount, ChangeAdvisor, ChangeNotificationGuid, Collector, ContactCount, ContentSearchKey, ContentsSynchronizer, DeletedAssocMessageSizeExtended, DeletedAssocMsgCount, DeletedFolderCount, DeletedMessageSizeExtended, DeletedMsgCount, DeletedNormalMessageSizeExtended, DesignInProgress, DisableFullFidelity, DisableWinsock, DlReportFlags, EformsForLocaleEntryid, EformsLocaleId, EformsRegistryEntryid, EmsAbAccessCategory, EmsAbActivationSchedule, EmsAbActivationStyle, EmsAbAddressEntryDisplayTable, EmsAbAddressEntryDisplayTableMsdos, EmsAbAddressSyntax, EmsAbAddressType, EmsAbAdmd, EmsAbAdminDescription, EmsAbAdminDisplayName, EmsAbAdminExtensionDll, EmsAbAliasedObjectName, EmsAbAliasedObjectNameO, EmsAbAltRecipient, EmsAbAltRecipientBl, EmsAbAltRecipientBlO, EmsAbAltRecipientO, EmsAbAncestorId, EmsAbAnonymousAccess, EmsAbAnonymousAccount, EmsAbAssocNtAccount, EmsAbAssocProtocolCfgNntp, EmsAbAssocProtocolCfgNntpO, EmsAbAssocRemoteDxa, EmsAbAssocRemoteDxaO, EmsAbAssociationLifetime, EmsAbAttributeCertificate, EmsAbAuthOrigBl, EmsAbAuthOrigBlO, EmsAbAuthenticationToUse, EmsAbAuthorityRevocationList, EmsAbAuthorizedDomain, EmsAbAuthorizedPassword, EmsAbAuthorizedPasswordConfirm, EmsAbAuthorizedUser, EmsAbAutoreply, EmsAbAutoreplyMessage, EmsAbAutoreplySubject, EmsAbAvailableAuthorizationPackages, EmsAbAvailableDistributions, EmsAbBridgeheadServers, EmsAbBridgeheadServersO, EmsAbBusinessCategory, EmsAbBusinessRoles, EmsAbCaCertificate, EmsAbCanCreatePf, EmsAbCanCreatePfBl, EmsAbCanCreatePfBlO, EmsAbCanCreatePfDl, EmsAbCanCreatePfDlBl, EmsAbCanCreatePfDlBlO, EmsAbCanCreatePfDlO, EmsAbCanCreatePfO, EmsAbCanNotCreatePf, EmsAbCanNotCreatePfBl, EmsAbCanNotCreatePfBlO, EmsAbCanNotCreatePfDl, EmsAbCanNotCreatePfDlBl, EmsAbCanNotCreatePfDlBlO, EmsAbCanNotCreatePfDlO, EmsAbCanNotCreatePfO, EmsAbCanPreserveDns, EmsAbCertificateChainV3, EmsAbCertificateRevocationList, EmsAbCertificateRevocationListV1, EmsAbCertificateRevocationListV3, EmsAbCharacterSet, EmsAbCharacterSetList, EmsAbChildRdns, EmsAbClientAccessEnabled, EmsAbClockAlertOffset, EmsAbClockAlertRepair, EmsAbClockWarningOffset, EmsAbClockWarningRepair, EmsAbCompromisedKeyList, EmsAbComputerName, EmsAbConnectedDomains, EmsAbConnectionListFilter, EmsAbConnectionListFilterType, EmsAbConnectionType, EmsAbContainerInfo, EmsAbContentType, EmsAbControlMsgFolderId, EmsAbControlMsgRules, EmsAbCost, EmsAbCountryName, EmsAbCrossCertificateCrl, EmsAbCrossCertificatePair, EmsAbDefaultMessageFormat, EmsAbDelegateUser, EmsAbDelivEits, EmsAbDelivExtContTypes, EmsAbDeliverAndRedirect, EmsAbDeliveryMechanism, EmsAbDeltaRevocationList, EmsAbDescription, EmsAbDestinationIndicator, EmsAbDiagnosticRegKey, EmsAbDisableDeferredCommit, EmsAbDisabledGatewayProxy, EmsAbDisplayNameOverride, EmsAbDisplayNameSuffix, EmsAbDlMemRejectPermsBl, EmsAbDlMemRejectPermsBlO, EmsAbDlMemberRule, EmsAbDmdName, EmsAbDoOabVersion, EmsAbDomainDefAltRecip, EmsAbDomainDefAltRecipO, EmsAbDomainName, EmsAbDsaSignature, EmsAbDxaAdminCopy, EmsAbDxaAdminForward, EmsAbDxaAdminUpdate, EmsAbDxaAppendReqcn, EmsAbDxaConfContainerList, EmsAbDxaConfContainerListO, EmsAbDxaConfReqTime, EmsAbDxaConfSeq, EmsAbDxaConfSeqUsn, EmsAbDxaExchangeOptions, EmsAbDxaExportNow, EmsAbDxaFlags, EmsAbDxaImpSeq, EmsAbDxaImpSeqTime, EmsAbDxaImpSeqUsn, EmsAbDxaImportNow, EmsAbDxaInTemplateMap, EmsAbDxaLocalAdmin, EmsAbDxaLocalAdminO, EmsAbDxaLoggingLevel, EmsAbDxaNativeAddressType, EmsAbDxaOutTemplateMap, EmsAbDxaPassword, EmsAbDxaPrevExchangeOptions, EmsAbDxaPrevExportNativeOnly, EmsAbDxaPrevInExchangeSensitivity, EmsAbDxaPrevRemoteEntries, EmsAbDxaPrevRemoteEntriesO, EmsAbDxaPrevReplicationSensitivity, EmsAbDxaPrevTemplateOptions, EmsAbDxaPrevTypes, EmsAbDxaRecipientCp, EmsAbDxaRemoteClient, EmsAbDxaRemoteClientO, EmsAbDxaReqSeq, EmsAbDxaReqSeqTime, EmsAbDxaReqSeqUsn, EmsAbDxaReqname, EmsAbDxaSvrSeq, EmsAbDxaSvrSeqTime, EmsAbDxaSvrSeqUsn, EmsAbDxaTask, EmsAbDxaTemplateOptions, EmsAbDxaTemplateTimestamp, EmsAbDxaTypes, EmsAbDxaUnconfContainerList, EmsAbDxaUnconfContainerListO, EmsAbEmployeeNumber, EmsAbEmployeeType, EmsAbEnableCompatibility, EmsAbEnabled, EmsAbEnabledAuthorizationPackages, EmsAbEnabledProtocolCfg, EmsAbEnabledProtocols, EmsAbEncapsulationMethod, EmsAbEncrypt, EmsAbEncryptAlgListNa, EmsAbEncryptAlgListOther, EmsAbEncryptAlgSelectedNa, EmsAbEncryptAlgSelectedOther, EmsAbExpandDlsLocally, EmsAbExpirationTime, EmsAbExportContainers, EmsAbExportContainersO, EmsAbExportCustomRecipients, EmsAbExtendedCharsAllowed, EmsAbExtensionData, EmsAbExtensionName, EmsAbExtensionNameInherited, EmsAbFacsimileTelephoneNumber, EmsAbFileVersion, EmsAbFilterLocalAddresses, EmsAbFoldersContainer, EmsAbFoldersContainerO, EmsAbFormData, EmsAbForwardingAddress, EmsAbGarbageCollPeriod, EmsAbGatewayLocalCred, EmsAbGatewayLocalDesig, EmsAbGatewayProxy, EmsAbGatewayRoutingTree, EmsAbGenerationQualifier, EmsAbGroupByAttr1, EmsAbGroupByAttr2, EmsAbGroupByAttr3, EmsAbGroupByAttr4, EmsAbGroupByAttrValueDn, EmsAbGroupByAttrValueDnO, EmsAbGroupByAttrValueStr, EmsAbGwartLastModified, EmsAbHasFullReplicaNcs, EmsAbHasFullReplicaNcsO, EmsAbHasMasterNcs, EmsAbHasMasterNcsO, EmsAbHelpData16, EmsAbHelpData32, EmsAbHelpFileName, EmsAbHeuristics, EmsAbHideDlMembership, EmsAbHideFromAddressBook, EmsAbHierarchyPath, EmsAbHomeMdbBl, EmsAbHomeMdbBlO, EmsAbHomeMta, EmsAbHomeMtaO, EmsAbHomePublicServer, EmsAbHomePublicServerO, EmsAbHouseIdentifier, EmsAbHttpPubAbAttributes, EmsAbHttpPubGal, EmsAbHttpPubGalLimit, EmsAbHttpPubPf, EmsAbHttpServers, EmsAbImportContainer, EmsAbImportContainerO, EmsAbImportSensitivity, EmsAbImportedFrom, EmsAbInboundAcceptAll, EmsAbInboundDn, EmsAbInboundDnO, EmsAbInboundHost, EmsAbInboundNewsfeed, EmsAbInboundNewsfeedType, EmsAbInboundSites, EmsAbInboundSitesO, EmsAbIncomingMsgSizeLimit, EmsAbIncomingPassword, EmsAbInsadmin, EmsAbInsadminO, EmsAbInstanceType, EmsAbInternationalIsdnNumber, EmsAbInvocationId, EmsAbIsDeleted, EmsAbIsSingleValued, EmsAbKccStatus, EmsAbKmServer, EmsAbKmServerO, EmsAbKnowledgeInformation, EmsAbLabeleduri, EmsAbLanguage, EmsAbLanguageIso639, EmsAbLdapDisplayName, EmsAbLdapSearchCfg, EmsAbLineWrap, EmsAbLinkId, EmsAbListPublicFolders, EmsAbLocalBridgeHead, EmsAbLocalBridgeHeadAddress, EmsAbLocalInitialTurn, EmsAbLocalScope, EmsAbLocalScopeO, EmsAbLogFilename, EmsAbLogRolloverInterval, EmsAbMailDrop, EmsAbMaintainAutoreplyHistory, EmsAbMapiDisplayType, EmsAbMapiId, EmsAbMaximumObjectId, EmsAbMdbBackoffInterval, EmsAbMdbMsgTimeOutPeriod, EmsAbMdbOverQuotaLimit, EmsAbMdbStorageQuota, EmsAbMdbUnreadLimit, EmsAbMdbUseDefaults, EmsAbMessageTrackingEnabled, EmsAbMimeTypes, EmsAbModerated, EmsAbModerator, EmsAbMonitorClock, EmsAbMonitorServers, EmsAbMonitorServices, EmsAbMonitoredConfigurations, EmsAbMonitoredConfigurationsO, EmsAbMonitoredServers, EmsAbMonitoredServersO, EmsAbMonitoredServices, EmsAbMonitoringAlertDelay, EmsAbMonitoringAlertUnits, EmsAbMonitoringAvailabilityStyle, EmsAbMonitoringAvailabilityWindow, EmsAbMonitoringCachedViaMail, EmsAbMonitoringCachedViaMailO, EmsAbMonitoringCachedViaRpc, EmsAbMonitoringCachedViaRpcO, EmsAbMonitoringEscalationProcedure, EmsAbMonitoringHotsitePollInterval, EmsAbMonitoringHotsitePollUnits, EmsAbMonitoringMailUpdateInterval, EmsAbMonitoringMailUpdateUnits, EmsAbMonitoringNormalPollInterval, EmsAbMonitoringNormalPollUnits, EmsAbMonitoringRecipients, EmsAbMonitoringRecipientsNdr, EmsAbMonitoringRecipientsNdrO, EmsAbMonitoringRecipientsO, EmsAbMonitoringRpcUpdateInterval, EmsAbMonitoringRpcUpdateUnits, EmsAbMonitoringWarningDelay, EmsAbMonitoringWarningUnits, EmsAbMtaLocalCred, EmsAbMtaLocalDesig, EmsAbNAddress, EmsAbNAddressType, EmsAbNewsfeedType, EmsAbNewsgroup, EmsAbNewsgroupList, EmsAbNntpCharacterSet, EmsAbNntpContentFormat, EmsAbNntpDistributions, EmsAbNntpDistributionsFlag, EmsAbNntpNewsfeeds, EmsAbNntpNewsfeedsO, EmsAbNtMachineName, EmsAbNtSecurityDescriptor, EmsAbNumOfOpenRetries, EmsAbNumOfTransferRetries, EmsAbObjViewContainers, EmsAbObjViewContainersO, EmsAbObjectClassCategory, EmsAbObjectOid, EmsAbObjectVersion, EmsAbOffLineAbContainers, EmsAbOffLineAbContainersO, EmsAbOffLineAbSchedule, EmsAbOffLineAbServer, EmsAbOffLineAbServerO, EmsAbOffLineAbStyle, EmsAbOidType, EmsAbOmObjectClass, EmsAbOmSyntax, EmsAbOofReplyToOriginator, EmsAbOpenRetryInterval, EmsAbOrganizationName, EmsAbOrganizationalUnitName, EmsAbOriginalDisplayTable, EmsAbOriginalDisplayTableMsdos, EmsAbOtherRecips, EmsAbOutboundHost, EmsAbOutboundHostType, EmsAbOutboundNewsfeed, EmsAbOutboundSites, EmsAbOutboundSitesO, EmsAbOutgoingMsgSizeLimit, EmsAbOverrideNntpContentFormat, EmsAbOwaServer, EmsAbPSelector, EmsAbPSelectorInbound, EmsAbPerMsgDialogDisplayTable, EmsAbPerRecipDialogDisplayTable, EmsAbPeriodRepSyncTimes, EmsAbPeriodReplStagger, EmsAbPersonalTitle, EmsAbPfContacts, EmsAbPfContactsO, EmsAbPopCharacterSet, EmsAbPopContentFormat, EmsAbPortNumber, EmsAbPostalAddress, EmsAbPreferredDeliveryMethod, EmsAbPreserveInternetContent, EmsAbPrmd, EmsAbPromoExpiration, EmsAbProtocolSettings, EmsAbProxyGenerationEnabled, EmsAbProxyGeneratorDll, EmsAbPublicDelegatesBl, EmsAbPublicDelegatesBlO, EmsAbQuotaNotificationSchedule, EmsAbQuotaNotificationStyle, EmsAbRangeLower, EmsAbRangeUpper, EmsAbRasAccount, EmsAbRasCallbackNumber, EmsAbRasPassword, EmsAbRasPhoneNumber, EmsAbRasPhonebookEntryName, EmsAbRasRemoteSrvrName, EmsAbReferralList, EmsAbRegisteredAddress, EmsAbRemoteBridgeHead, EmsAbRemoteBridgeHeadAddress, EmsAbRemoteOutBhServer, EmsAbRemoteOutBhServerO, EmsAbRemoteSite, EmsAbRemoteSiteO, EmsAbReplicatedObjectVersion, EmsAbReplicationMailMsgSize, EmsAbReplicationSensitivity, EmsAbReplicationStagger, EmsAbReportToOriginator, EmsAbReportToOwner, EmsAbReqSeq, EmsAbRequireSsl, EmsAbResponsibleLocalDxa, EmsAbResponsibleLocalDxaO, EmsAbReturnExactMsgSize, EmsAbRidServer, EmsAbRidServerO, EmsAbRoleOccupant, EmsAbRoleOccupantO, EmsAbRootNewsgroupsFolderId, EmsAbRoutingList, EmsAbRtsCheckpointSize, EmsAbRtsRecoveryTimeout, EmsAbRtsWindowSize, EmsAbRunsOn, EmsAbRunsOnO, EmsAbSSelector, EmsAbSSelectorInbound, EmsAbSchemaFlags, EmsAbSchemaVersion, EmsAbSearchFlags, EmsAbSearchGuide, EmsAbSecurityPolicy, EmsAbSecurityProtocol, EmsAbSeeAlso, EmsAbSeeAlsoO, EmsAbSendEmailMessage, EmsAbSendTnef, EmsAbSerialNumber, EmsAbServer, EmsAbServiceActionFirst, EmsAbServiceActionOther, EmsAbServiceActionSecond, EmsAbServiceRestartDelay, EmsAbServiceRestartMessage, EmsAbSessionDisconnectTimer, EmsAbSiteAffinity, EmsAbSiteFolderGuid, EmsAbSiteFolderServer, EmsAbSiteFolderServerO, EmsAbSiteProxySpace, EmsAbSmimeAlgListNa, EmsAbSmimeAlgListOther, EmsAbSmimeAlgSelectedNa, EmsAbSmimeAlgSelectedOther, EmsAbSpaceLastComputed, EmsAbStreetAddress, EmsAbSubRefs, EmsAbSubRefsO, EmsAbSubSite, EmsAbSubmissionContLength, EmsAbSupportSmimeSignatures, EmsAbSupportedAlgorithms, EmsAbSupportedApplicationContext, EmsAbSupportingStack, EmsAbSupportingStackBl, EmsAbSupportingStackBlO, EmsAbSupportingStackO, EmsAbTSelector, EmsAbTSelectorInbound, EmsAbTargetMtas, EmsAbTelephoneNumber, EmsAbTelephonePersonalPager, EmsAbTeletexTerminalIdentifier, EmsAbTempAssocThreshold, EmsAbTombstoneLifetime, EmsAbTrackingLogPathName, EmsAbTransRetryMins, EmsAbTransTimeoutMins, EmsAbTransferRetryInterval, EmsAbTransferTimeoutNonUrgent, EmsAbTransferTimeoutNormal, EmsAbTransferTimeoutUrgent, EmsAbTranslationTableUsed, EmsAbTransportExpeditedData, EmsAbTrustLevel, EmsAbTurnRequestThreshold, EmsAbTwoWayAlternateFacility, EmsAbType, EmsAbUnauthOrigBl, EmsAbUnauthOrigBlO, EmsAbUseServerValues, EmsAbUseSiteValues, EmsAbUsenetSiteName, EmsAbUserPassword, EmsAbUsnChanged, EmsAbUsnCreated, EmsAbUsnDsaLastObjRemoved, EmsAbUsnIntersite, EmsAbUsnLastObjRem, EmsAbUsnSource, EmsAbViewContainer1, EmsAbViewContainer2, EmsAbViewContainer3, EmsAbViewDefinition, EmsAbViewFlags, EmsAbViewSite, EmsAbVoiceMailFlags, EmsAbVoiceMailGreetings, EmsAbVoiceMailPassword, EmsAbVoiceMailRecordedName, EmsAbVoiceMailRecordingLength, EmsAbVoiceMailSpeed, EmsAbVoiceMailSystemGuid, EmsAbVoiceMailUserId, EmsAbVoiceMailVolume, EmsAbWwwHomePage, EmsAbX121Address, EmsAbX25CallUserDataIncoming, EmsAbX25CallUserDataOutgoing, EmsAbX25FacilitiesDataIncoming, EmsAbX25FacilitiesDataOutgoing, EmsAbX25LeasedLinePort, EmsAbX25LeasedOrSwitched, EmsAbX25RemoteMtaPhone, EmsAbX400AttachmentType, EmsAbX400SelectorSyntax, EmsAbX500AccessControlList, EmsAbX500Nc, EmsAbX500Rdn, EmsAbXmitTimeoutNonUrgent, EmsAbXmitTimeoutNormal, EmsAbXmitTimeoutUrgent, EventsRootFolderEntryid, ExcessStorageUsed, ExtendedAclData, FastTransfer, FavoritesDefaultName, FolderChildCount, FolderDesignFlags, FolderPathname, ForeignId, ForeignReportId, ForeignSubjectId, FreeBusyForLocalSiteEntryid, GwAdminOperations, GwMtsinEntryid, GwMtsoutEntryid, HasModeratorRules, HierarchyServer, HierarchySynchronizer, ImapInternalDate, InTransit, InboundNewsfeedDn, InternetCharset, InternetNewsgroupName, IpmDafEntryid, IpmFavoritesEntryid, IpmPublicFoldersEntryid, IsNewsgroup, IsNewsgroupAnchor, LastAccessTime, LastFullBackup, LastLogoffTime, LastLogonTime, LongtermEntryidFromTable, MessageProcessed, MessageSiteName, MoveToFolderEntryid, MoveToStoreEntryid, MsgBodyId, MtsSubjectId, NewSubsGetAutoAdd, NewsfeedInfo, NewsgroupComponent, NewsgroupRootFolderEntryid, NntpArticleFolderEntryid, NntpControlFolderEntryid, NonIpmSubtreeEntryid, NormalMessageSize, NormalMessageSizeExtended, NormalMsgWAttachCount, NtUserName, OfflineAddrbookEntryid, OfflineFlags, OfflineMessageEntryid, OldestDeletedOn, OriginatorAddr, OriginatorAddrtype, OriginatorEntryid, OriginatorName, OstEncryption, OutboundNewsfeedDn, OverallAgeLimit, OverallMsgAgeLimit, OwaUrl, OwnerCount, P1Content, P1ContentType, PreventMsgCreate, Preview, PreviewUnread, ProfileAbFilesPath, ProfileAddrInfo, ProfileAllpubComment, ProfileAllpubDisplayName, ProfileBindingOrder, ProfileConfigFlags, ProfileConnectFlags, ProfileFavfldComment, ProfileFavfldDisplayName, ProfileHomeServer, ProfileHomeServerAddrs, ProfileHomeServerDn, ProfileMailbox, ProfileMaxRestrict, ProfileMoab, ProfileMoabGuid, ProfileMoabSeq, ProfileOfflineInfo, ProfileOfflineStorePath, ProfileOpenFlags, ProfileOptionsData, ProfileSecureMailbox, ProfileServer, ProfileServerDn, ProfileTransportFlags, ProfileType, ProfileUiState, ProfileUnresolvedName, ProfileUnresolvedServer, ProfileUser, ProfileVersion, PstEncryption, PstPath, PstPwSzOld, PstRememberPw, PublicFolderEntryid, PublishInAddressBook, RecipientNumber, RecipientOnAssocMsgCount, RecipientOnNormalMsgCount, ReplicaList, ReplicaServer, ReplicaVersion, ReplicationAlwaysInterval, ReplicationMessagePriority, ReplicationMsgSize, ReplicationSchedule, ReplicationStyle, ReplyRecipientSmtpProxies, ReportDestinationEntryid, ReportDestinationName, RestrictionCount, RetentionAgeLimit, RuleTriggerHistory, RulesData, RulesTable, ScheduleFolderEntryid, SecureInSite, SecureOrigination, StorageLimitInformation, StorageQuotaLimit, StoreOffline, StoreSlowlink, SubjectTraceInfo, SvrGeneratingQuotaMsg, SynchronizeFlags, SysConfigFolderEntryid, TestLineSpeed, TraceInfo, TransferEnabled, UserName, X400EnvelopeType, AbDefaultDir, AbDefaultPab, AbProviderId, AbProviders, AbSearchPath, AbSearchPathUpdate, AlternateRecipient, AssocContentCount, AttachmentX400Parameters, AuthorizingUsers, BodyCrc, CommonViewsEntryid, ContactAddrtypes, ContactDefaultAddressIndex, ContactEmailAddresses, ContactEntryids, ContactVersion, ContainerModifyVersion, ContentConfidentialityAlgorithmId, ContentCorrelator, ContentIdentifier, ContentIntegrityCheck, ContentLength, ContentReturnRequested, ContentsSortOrder, ControlFlags, ControlId, ControlStructure, ControlType, ConversationKey, ConversionEits, ConversionProhibited, ConversionWithLossProhibited, ConvertedEits, Correlate, CorrelateMtsid, CreateTemplates, CreationVersion, ExCurrentVersion, DefCreateDl, DefCreateMailuser, DefaultProfile, DefaultStore, DefaultViewEntryid, Delegation, DeliveryPoint, Deltax, Deltay, DetailsTable, DiscVal, DiscardReason, DiscloseRecipients, DisclosureOfRecipients, DiscreteValues, DlExpansionHistory, DlExpansionProhibited, ExplicitConversion, FilteringHooks, FinderEntryid, FormCategory, FormCategorySub, FormClsid, FormContactName, FormDesignerGuid, FormDesignerName, FormHidden, FormHostMap, FormMessageBehavior, FormVersion, HeaderFolderEntryid, Icon, IdentityDisplay, IdentityEntryid, IdentitySearchKey, ImplicitConversionProhibited, IncompleteCopy, InternetApproved, InternetArticleNumber, InternetControl, InternetDistribution, InternetFollowupTo, InternetLines, InternetNewsgroups, InternetNntpPath, InternetOrganization, InternetPrecedence, IpmId, IpmOutboxEntryid, IpmOutboxSearchKey, IpmReturnRequested, IpmSentmailEntryid, IpmSentmailSearchKey, IpmSubtreeEntryid, IpmSubtreeSearchKey, IpmWastebasketEntryid, IpmWastebasketSearchKey, Languages, LatestDeliveryTime, MailPermission, MdbProvider, MessageDeliveryId, MessageDownloadTime, MessageSecurityLabel, MessageToken, MiniIcon, ModifyVersion, NewsgroupName, NntpXref, NonReceiptReason, ObsoletedIpms, OriginCheck, OriginalAuthorAddrtype, OriginalAuthorEmailAddress, OriginalAuthorSearchKey, OriginalDisplayName, OriginalEits, OriginalSearchKey, OriginallyIntendedRecipAddrtype, OriginallyIntendedRecipEmailAddress, OriginallyIntendedRecipEntryid, OriginallyIntendedRecipientName, OriginatingMtaCertificate, OriginatorAndDlExpansionHistory, OriginatorCertificate, OriginatorRequestedAlternateRecipient, OriginatorReturnAddress, OwnStoreEntryid, ParentDisplay, PhysicalDeliveryBureauFaxDelivery, PhysicalDeliveryMode, PhysicalDeliveryReportRequest, PhysicalForwardingAddress, PhysicalForwardingAddressRequested, PhysicalForwardingProhibited, PhysicalRenditionAttributes, PostFolderEntries, PostFolderNames, PostReplyDenied, PostReplyFolderEntries, PostReplyFolderNames, Preprocess, PrimaryCapability, ProfileName, ProofOfDelivery, ProofOfDeliveryRequested, ProofOfSubmission, ProofOfSubmissionRequested, ProviderDisplay, ProviderDllName, ProviderOrdinal, ProviderSubmitTime, ProviderUid, ReceiveFolderSettings, RecipientCertificate, RecipientNumberForAdvice, RecipientStatus, RedirectionHistory, RegisteredMailType, RelatedIpms, RemoteProgress, RemoteProgressText, RemoteValidateOk, ReportingDlName, ReportingMtaCertificate, RequestedDeliveryMethod, ResourceFlags, ResourceMethods, ResourcePath, ResourceType, ReturnedIpm, RtfSyncBodyCount, RtfSyncBodyCrc, RtfSyncBodyTag, RtfSyncPrefixCount, RtfSyncTrailingCount, Search, ExSecurity, SentmailEntryid, ServiceDeleteFiles, ServiceDllName, ServiceEntryName, ServiceExtraUids, ServiceName, ServiceSupportFiles, ServiceUid, Services, SpoolerStatus, Status, StatusCode, StatusString, StoreProviders, StoreRecordKey, SubjectIpm, SubmitFlags, Supersedes, TransportKey, TransportProviders, TransportStatus, TypeOfMtsUser, ValidFolderMask, ViewsEntryid, X400ContentType, X400DeferredDeliveryCancel, Xpos, Ypos - :type MapiKnownPropertyDescriptor: + :type name: str """ super(MapiKnownPropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py index 1d6a08f..424df37 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with LegacyFreeBusyType value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Represents the free/busy status for a calendar event. Enum, available values: Free, Tentative, Busy, Oof, WorkingElsewhere, NoData - :type MapiLegacyFreeBusyPropertyDto: + :type value: str """ super(MapiLegacyFreeBusyPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py index a4667a3..ac38339 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py @@ -58,8 +58,9 @@ def __init__(self, format: str = None, value: MapiMessageDto = None): """ Convert MapiMessage to file request. :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type format: str :param value: MAPI message model. - :type MapiMessageAsFileRequest: + :type value: MapiMessageDto """ self._format = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py index ac739a2..9758862 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py @@ -141,48 +141,89 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N """ Represents an Outlook Message format document. :param attachments: Message item attachments. + :type attachments: List[MapiAttachmentDto] :param billing: Billing information associated with an item. + :type billing: str :param body: Message text. + :type body: str :param body_html: Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. + :type body_html: str :param body_rtf: RTF formatted message text. + :type body_rtf: str :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :type body_type: str :param categories: Contains keywords or categories for the message object. + :type categories: List[str] :param companies: Contains the names of the companies that are associated with an item. + :type companies: List[str] :param item_id: The item id, uses with a server. + :type item_id: str :param message_class: Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. + :type message_class: str :param mileage: Contains the mileage information that is associated with an item. + :type mileage: str :param recipients: Recipients of the message. + :type recipients: List[MapiRecipientDto] :param sensitivity: Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential + :type sensitivity: str :param subject: Subject of the message. + :type subject: str :param subject_prefix: Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. + :type subject_prefix: str :param properties: List of MAPI properties + :type properties: List[MapiPropertyDto] :param discriminator: + :type discriminator: str :param message_body: Message text + :type message_body: str :param client_submit_time: Date and time the message sender submitted a message. + :type client_submit_time: datetime :param conversation_topic: Topic of the first message in a conversation thread. + :type conversation_topic: str :param delivery_time: Date and time a message was delivered. + :type delivery_time: datetime :param display_bcc: List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;). + :type display_bcc: str :param display_cc: List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;). + :type display_cc: str :param display_name: Display name for the message. + :type display_name: str :param display_name_prefix: Prefix of the display name. + :type display_name_prefix: str :param display_to: List of the display names of the primary (To) message recipients, separated by semicolons (;). + :type display_to: str :param flags: Message flags. + :type flags: List[str] :param headers: Transport message headers + :type headers: Dict[str, str] :param internet_message_id: Internet message id of the message. + :type internet_message_id: str :param message_format: Represents outlook message format. Enum, available values: Ascii, Unicode + :type message_format: str :param normalized_subject: Normalized subject of the message. + :type normalized_subject: str :param read_receipt_requested: Value indicating whether the read receipt is requested. + :type read_receipt_requested: bool :param reply_to: Reply to names. + :type reply_to: str :param sender_address_type: Message sender's e-mail address type. + :type sender_address_type: str :param sender_email_address: Message sender's e-mail address. + :type sender_email_address: str :param sender_name: Message sender's display name. + :type sender_name: str :param sender_smtp_address: Message sender's e-mail address. + :type sender_smtp_address: str :param sent_representing_address_type: Address type for the messaging user represented by the sender. + :type sent_representing_address_type: str :param sent_representing_email_address: E-mail address for the messaging user represented by the sender. + :type sent_representing_email_address: str :param sent_representing_name: Display name for the messaging user represented by the sender. + :type sent_representing_name: str :param sent_representing_smtp_address: E-mail address for the messaging user represented by the sender. + :type sent_representing_smtp_address: str :param transport_message_headers: Transport-specific message envelope information. - :type MapiMessageDto: + :type transport_message_headers: str """ super(MapiMessageDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py index c46ef06..3a57294 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py @@ -90,23 +90,39 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N """ Base Dto for MapiMessage, MapiCalendar or MapiContact :param attachments: Message item attachments. + :type attachments: List[MapiAttachmentDto] :param billing: Billing information associated with an item. + :type billing: str :param body: Message text. + :type body: str :param body_html: Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. + :type body_html: str :param body_rtf: RTF formatted message text. + :type body_rtf: str :param body_type: The content type of message body. Enum, available values: PlainText, Html, Rtf + :type body_type: str :param categories: Contains keywords or categories for the message object. + :type categories: List[str] :param companies: Contains the names of the companies that are associated with an item. + :type companies: List[str] :param item_id: The item id, uses with a server. + :type item_id: str :param message_class: Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. + :type message_class: str :param mileage: Contains the mileage information that is associated with an item. + :type mileage: str :param recipients: Recipients of the message. + :type recipients: List[MapiRecipientDto] :param sensitivity: Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential + :type sensitivity: str :param subject: Subject of the message. + :type subject: str :param subject_prefix: Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. + :type subject_prefix: str :param properties: List of MAPI properties + :type properties: List[MapiPropertyDto] :param discriminator: - :type MapiMessageItemBaseDto: + :type discriminator: str """ self._attachments = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py index 313c698..5e500d6 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py @@ -62,9 +62,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageD """ MapiMessage save to storage request. :param storage_file: + :type storage_file: StorageFileLocation :param value: + :type value: MapiMessageDto :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :type MapiMessageSaveRequest: + :type format: str """ super(MapiMessageSaveRequest, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py index 29d817e..b77e114 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with Multiple Integer values :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param values: Property values - :type MapiMultiIntPropertyDto: + :type values: List[int] """ super(MapiMultiIntPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py index d5132be..aeb26e7 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with Multiple String values :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param values: Property values - :type MapiMultiStringPropertyDto: + :type values: List[str] """ super(MapiMultiStringPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py index d6020e6..f8d3a0f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with PhysicalAddressIndexType value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Identifies the display types for physical addresses. Enum, available values: None, Home, Business, Other - :type MapiPhysicalAddressIndexPropertyDto: + :type value: str """ super(MapiPhysicalAddressIndexPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py index 2d619ea..119e3bd 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py @@ -68,13 +68,19 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t """ Property identified by an unsigned 32-bit quantity along with a property set :param discriminator: + :type discriminator: str :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. + :type canonical_name: str :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object + :type data_type: str :param multiple_values_data_type: Indicates if data type contains of multiple values + :type multiple_values_data_type: bool :param name: A string that identifies the property + :type name: str :param long_id: An unsigned 32-bit quantity that, along with the property set, identifies a named property. + :type long_id: int :param property_set: A GUID that identifies a group of properties with a similar purpose. - :type MapiPidLidPropertyDescriptor: + :type property_set: str """ super(MapiPidLidPropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py index 9823163..1388e8b 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py @@ -66,12 +66,17 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t """ Property identified by a string name along with a property set :param discriminator: + :type discriminator: str :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. + :type canonical_name: str :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object + :type data_type: str :param multiple_values_data_type: Indicates if data type contains of multiple values + :type multiple_values_data_type: bool :param name: A string that identifies the property + :type name: str :param property_set: A GUID that identifies a group of properties with a similar purpose. - :type MapiPidNamePropertyDescriptor: + :type property_set: str """ super(MapiPidNamePropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py index d6f7844..051454d 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py @@ -64,11 +64,15 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t """ Mapi pid property descriptor base class :param discriminator: + :type discriminator: str :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. + :type canonical_name: str :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object + :type data_type: str :param multiple_values_data_type: Indicates if data type contains of multiple values + :type multiple_values_data_type: bool :param name: A string that identifies the property - :type MapiPidPropertyDescriptor: + :type name: str """ super(MapiPidPropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py index 35b9950..2f02c74 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py @@ -68,13 +68,19 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t """ A property that is defined by a 16-bit property ID and a 16-bit property type. The property ID for a tagged property is in the range 0x001 - 0x7FFF. Property IDs in the range 0x8000 - 0x8FFF are reserved for assignment to named properties :param discriminator: + :type discriminator: str :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. + :type canonical_name: str :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object + :type data_type: str :param multiple_values_data_type: Indicates if data type contains of multiple values + :type multiple_values_data_type: bool :param name: A string that identifies the property + :type name: str :param id: An unsigned 16-bit quantity that identifies a tagged property. Property IDs are not necessarily unique. With the exception of property IDs in the range from 0x6800 to 0x7BFF, the combination of property ID and data type are unique. Property IDs in the range from 0x6800 to 0x7BFF are defined by the message class. + :type id: int :param tag: A property tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15. - :type MapiPidTagPropertyDescriptor: + :type tag: int """ super(MapiPidTagPropertyDescriptor, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py index 150c6f1..45581f6 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py @@ -54,7 +54,7 @@ def __init__(self, discriminator: str = None): """ Mapi property descriptor :param discriminator: - :type MapiPropertyDescriptor: + :type discriminator: str """ self._discriminator = self.__class__.__name__ diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py index 58dfeea..50f42c3 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py @@ -58,8 +58,9 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: - :type MapiPropertyDto: + :type discriminator: str """ self._descriptor = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py index 37b4ffc..41ba07a 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py @@ -60,10 +60,13 @@ def __init__(self, email_address: str = None, address_type: str = None, display_ """ Represents the recipient information in the Microsoft Outlook Message. :param email_address: Email address of the message recipient or sender. + :type email_address: str :param address_type: Type of the address of the message recipient or sender. + :type address_type: str :param display_name: Display name of the message recipient or sender. + :type display_name: str :param recipient_type: Represent the PR_RECIPIENT_TYPE property which contains the recipient type for a message recipient. Enum, available values: Unknown, MapiBcc, MapiCc, MapiP1, MapiSubmitted, MapiTo - :type MapiRecipientDto: + :type recipient_type: str """ self._email_address = None diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py index e8f621f..89c6dac 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with response type value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Represents the types of recipient responses that are received for a meeting. Enum, available values: Unknown, Organizer, Tentative, Accept, Decline, NoResponseReceived - :type MapiResponseTypePropertyDto: + :type value: str """ super(MapiResponseTypePropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py index 0747f93..8bf7872 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py @@ -61,9 +61,11 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str """ Mapi property with string value :param descriptor: Property descriptor + :type descriptor: MapiPropertyDescriptor :param discriminator: + :type discriminator: str :param value: Property value - :type MapiStringPropertyDto: + :type value: str """ super(MapiStringPropertyDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py index 71a1ff0..9411780 100644 --- a/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py @@ -70,14 +70,21 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime """ Monthly recurrence pattern. :param interval: Number of recurrence units. + :type interval: int :param occurs: Number of occurrences of the recurrence pattern. + :type occurs: int :param end_date: End date. + :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :type week_start: str :param discriminator: + :type discriminator: str :param start_day: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :type start_day: str :param start_offset: Start offset. + :type start_offset: int :param start_position: Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last - :type MonthlyRecurrencePatternDto: + :type start_position: str """ super(MonthlyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/name_value_pair.py b/sdk/AsposeEmailCloudSdk/models/name_value_pair.py index b28f143..15b1527 100644 --- a/sdk/AsposeEmailCloudSdk/models/name_value_pair.py +++ b/sdk/AsposeEmailCloudSdk/models/name_value_pair.py @@ -56,8 +56,9 @@ def __init__(self, name: str = None, value: str = None): """ Name-Value property :param name: Property name + :type name: str :param value: Property value - :type NameValuePair: + :type value: str """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/object_exist.py b/sdk/AsposeEmailCloudSdk/models/object_exist.py index f7401e8..611958e 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exist.py @@ -56,8 +56,9 @@ def __init__(self, exists: bool = None, is_folder: bool = None): """ Object exists :param exists: Indicates that the file or folder exists. + :type exists: bool :param is_folder: True if it is a folder, false if it is a file. - :type ObjectExist: + :type is_folder: bool """ self._exists = None diff --git a/sdk/AsposeEmailCloudSdk/models/phone_number.py b/sdk/AsposeEmailCloudSdk/models/phone_number.py index 463a10e..da95a24 100644 --- a/sdk/AsposeEmailCloudSdk/models/phone_number.py +++ b/sdk/AsposeEmailCloudSdk/models/phone_number.py @@ -60,9 +60,11 @@ def __init__(self, category: EnumWithCustomOfPhoneNumberCategory = None, number: """ A phone number. :param category: Phone number category. + :type category: EnumWithCustomOfPhoneNumberCategory :param number: Phone number. + :type number: str :param preferred: Defines whether phone number is preferred. - :type PhoneNumber: + :type preferred: bool """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/postal_address.py b/sdk/AsposeEmailCloudSdk/models/postal_address.py index 9392314..d6ca2ef 100644 --- a/sdk/AsposeEmailCloudSdk/models/postal_address.py +++ b/sdk/AsposeEmailCloudSdk/models/postal_address.py @@ -76,17 +76,27 @@ def __init__(self, address: str = None, category: EnumWithCustomOfPostalAddressC """ A postal address :param address: Address. + :type address: str :param category: Address category. + :type category: EnumWithCustomOfPostalAddressCategory :param city: Address's city. + :type city: str :param country: Address's country. + :type country: str :param country_code: Country code. + :type country_code: str :param is_mailing_address: Defines whether address may be used for mailing. + :type is_mailing_address: bool :param postal_code: Postal code. + :type postal_code: str :param post_office_box: Post Office box. + :type post_office_box: str :param preferred: Defines whether postal address is preferred. + :type preferred: bool :param state_or_province: Address's region. + :type state_or_province: str :param street: Address's street. - :type PostalAddress: + :type street: str """ self._address = None diff --git a/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py index bdf8179..40d8657 100644 --- a/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py @@ -62,11 +62,15 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime """ iCalendar recurrence pattern. :param interval: Number of recurrence units. + :type interval: int :param occurs: Number of occurrences of the recurrence pattern. + :type occurs: int :param end_date: End date. + :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :type week_start: str :param discriminator: - :type RecurrencePatternDto: + :type discriminator: str """ self._interval = None diff --git a/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py b/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py index d092d27..6be4703 100644 --- a/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py +++ b/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py @@ -54,7 +54,7 @@ def __init__(self, address: str = None): """ Defines an \"Attendee\" within a alarm. :param address: Contains the email address. - :type ReminderAttendee: + :type address: str """ self._address = None diff --git a/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py b/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py index fe8e7ea..f1d06f9 100644 --- a/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py +++ b/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py @@ -58,9 +58,11 @@ def __init__(self, date_time: datetime = None, duration: int = None, related: st """ Specifies when an alarm will trigger. :param date_time: A trigger set to an absolute date/time. + :type date_time: datetime :param duration: Specifies a relative time in ticks for the trigger of the alarm. + :type duration: int :param related: Specify the relationship of the alarm trigger with respect to the start or end of the event. Enum, available values: Start, End - :type ReminderTrigger: + :type related: str """ self._date_time = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exist.py b/sdk/AsposeEmailCloudSdk/models/storage_exist.py index 01862ab..141d74b 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exist.py @@ -54,7 +54,7 @@ def __init__(self, exists: bool = None): """ Storage exists :param exists: Shows that the storage exists. - :type StorageExist: + :type exists: bool """ self._exists = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file.py b/sdk/AsposeEmailCloudSdk/models/storage_file.py index 7a48793..581cf61 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file.py @@ -62,11 +62,15 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date """ File or folder information :param name: File or folder name. + :type name: str :param is_folder: True if it is a folder. + :type is_folder: bool :param modified_date: File or folder last modified DateTime. + :type modified_date: datetime :param size: File or folder size. + :type size: int :param path: File or folder path. - :type StorageFile: + :type path: str """ self._name = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file_location.py b/sdk/AsposeEmailCloudSdk/models/storage_file_location.py index f062a0a..c4db09e 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file_location.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file_location.py @@ -60,9 +60,11 @@ def __init__(self, storage: str = None, folder_path: str = None, file_name: str """ A storage file location information :param storage: A storage name + :type storage: str :param folder_path: A path to a folder in specified storage + :type folder_path: str :param file_name: A file name in storage - :type StorageFileLocation: + :type file_name: str """ super(StorageFileLocation, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py b/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py index b657081..53879af 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py @@ -57,7 +57,7 @@ def __init__(self, value: List[StorageFileLocation] = None): """ List of files located on storage. :param value: - :type StorageFileLocationList: + :type value: List[StorageFileLocation] """ super(StorageFileLocationList, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py b/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py index eb5a174..023e29d 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py @@ -56,8 +56,9 @@ def __init__(self, storage: str = None, folder_path: str = None): """ A storage folder location information :param storage: A storage name + :type storage: str :param folder_path: A path to a folder in specified storage - :type StorageFolderLocation: + :type folder_path: str """ self._storage = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py index b4b3077..549a05b 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py @@ -59,8 +59,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: CalendarDto """ :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type StorageModelOfCalendarDto: + :type value: CalendarDto """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py index 93bbdcc..54ed0e1 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py @@ -59,8 +59,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: ContactDto = """ :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type StorageModelOfContactDto: + :type value: ContactDto """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py index 2e7fe6a..c92c7f3 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py @@ -59,8 +59,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientA """ :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type StorageModelOfEmailClientAccount: + :type value: EmailClientAccount """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py index ab456dd..4ca1cf3 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py @@ -59,8 +59,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientM """ :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type StorageModelOfEmailClientMultiAccount: + :type value: EmailClientMultiAccount """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py index 95bc796..cc2375c 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py @@ -59,8 +59,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = N """ :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type StorageModelOfEmailDto: + :type value: EmailDto """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py index b9603b3..5b220f4 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py @@ -59,8 +59,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiCalendar """ :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type StorageModelOfMapiCalendarDto: + :type value: MapiCalendarDto """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py index b371de9..9c5a0e4 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py @@ -59,8 +59,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiContactD """ :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type StorageModelOfMapiContactDto: + :type value: MapiContactDto """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py index 5dec27f..cf8bd5d 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py @@ -59,8 +59,9 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageD """ :param storage_file: + :type storage_file: StorageFileLocation :param value: - :type StorageModelOfMapiMessageDto: + :type value: MapiMessageDto """ self._storage_file = None diff --git a/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py index 92eca39..ed7b1d1 100644 --- a/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py @@ -66,12 +66,17 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime """ Represents the regenerating recurrence pattern that specifies how many days, weeks, months or years after the completion of the current task the next occurrence will be due. :param interval: Number of recurrence units. + :type interval: int :param occurs: Number of occurrences of the recurrence pattern. + :type occurs: int :param end_date: End date. + :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :type week_start: str :param discriminator: + :type discriminator: str :param regenerating_type: Enumerates the types of regenerating pattern. Enum, available values: Daily, Weekly, Monthly, Yearly - :type TaskRegeneratingPatternDto: + :type regenerating_type: str """ super(TaskRegeneratingPatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/url.py b/sdk/AsposeEmailCloudSdk/models/url.py index 60aef9e..f647d82 100644 --- a/sdk/AsposeEmailCloudSdk/models/url.py +++ b/sdk/AsposeEmailCloudSdk/models/url.py @@ -60,9 +60,11 @@ def __init__(self, category: EnumWithCustomOfUrlCategory = None, preferred: bool """ Url and its category. :param category: Url category. + :type category: EnumWithCustomOfUrlCategory :param preferred: Defines whether url is preferred. + :type preferred: bool :param href: URL. - :type Url: + :type href: str """ self._category = None diff --git a/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py b/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py index 6419fa1..eed4c8d 100644 --- a/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py +++ b/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py @@ -54,7 +54,7 @@ def __init__(self, value: bool = None): """ :param value: - :type ValueTOfBoolean: + :type value: bool """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py b/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py index 9336392..b74ace2 100644 --- a/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py +++ b/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py @@ -54,7 +54,7 @@ def __init__(self, value: str = None): """ :param value: - :type ValueTOfString: + :type value: str """ self._value = None diff --git a/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py index 7f2eba6..9a92448 100644 --- a/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py @@ -66,12 +66,17 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime """ Weekly recurrence pattern. :param interval: Number of recurrence units. + :type interval: int :param occurs: Number of occurrences of the recurrence pattern. + :type occurs: int :param end_date: End date. + :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :type week_start: str :param discriminator: + :type discriminator: str :param start_days: Start days - :type WeeklyRecurrencePatternDto: + :type start_days: List[str] """ super(WeeklyRecurrencePatternDto, self).__init__() diff --git a/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py index aafe63e..90bd586 100644 --- a/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py @@ -72,15 +72,23 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime """ Yearly recurrence pattern. :param interval: Number of recurrence units. + :type interval: int :param occurs: Number of occurrences of the recurrence pattern. + :type occurs: int :param end_date: End date. + :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :type week_start: str :param discriminator: + :type discriminator: str :param start_day: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay + :type start_day: str :param start_month: Represents a calendar month. Enum, available values: None, January, February, March, April, May, June, July, August, September, October, November, December + :type start_month: str :param start_offset: Start offset. + :type start_offset: int :param start_position: Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last - :type YearlyRecurrencePatternDto: + :type start_position: str """ super(YearlyRecurrencePatternDto, self).__init__() From 645376e3d78be4bdbfda88d92c88f64d6d0508a8 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Mon, 3 Aug 2020 22:36:01 +0400 Subject: [PATCH 06/20] Mapi and email tests actualized --- .../{email_model_test.py => email_test.py} | 11 ++-- tests/tests/hierarchical_mapi_test.py | 57 ------------------- tests/tests/mapi_calendar_test.py | 20 +++---- tests/tests/mapi_contact_test.py | 24 +++----- tests/tests/mapi_message_test.py | 24 +++----- 5 files changed, 27 insertions(+), 109 deletions(-) rename tests/tests/{email_model_test.py => email_test.py} (68%) delete mode 100644 tests/tests/hierarchical_mapi_test.py diff --git a/tests/tests/email_model_test.py b/tests/tests/email_test.py similarity index 68% rename from tests/tests/email_model_test.py rename to tests/tests/email_test.py index 636d32d..216743a 100644 --- a/tests/tests/email_model_test.py +++ b/tests/tests/email_test.py @@ -5,29 +5,26 @@ sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests from datetime import datetime from conftest import EmailApiData @pytest.mark.pipeline def test_email_converter(td: EmailApiData): - email = td.api email_document = email_dto() - mapi = email.convert_email_model_to_file(requests.ConvertEmailModelToFileRequest('Msg', email_document)) - eml = email.convert_email(requests.ConvertEmailRequest('Eml', mapi)) + mapi = td.api.email.as_file(models.EmailAsFileRequest('Msg', email_document)) + eml = td.api.email.convert(models.EmailConvertRequest('Eml', mapi)) with open(eml, 'r') as f: file_data = f.read() assert email_document._from.address in file_data - dto = email.get_email_file_as_model(requests.GetEmailFileAsModelRequest(eml)) + dto = td.api.email.from_file(models.EmailFromFileRequest('Eml', eml)) assert email_document._from.address == dto._from.address @pytest.mark.pipeline def test_convert_model_to_mapi_model(td: EmailApiData): email_document = email_dto() - mapi_message = td.api.convert_email_model_to_mapi_model( - requests.ConvertEmailModelToMapiModelRequest(email_document)) + mapi_message = td.api.email.as_mapi(email_document) assert email_document.subject == mapi_message.subject diff --git a/tests/tests/hierarchical_mapi_test.py b/tests/tests/hierarchical_mapi_test.py deleted file mode 100644 index 50f97f2..0000000 --- a/tests/tests/hierarchical_mapi_test.py +++ /dev/null @@ -1,57 +0,0 @@ -import os -import sys -import uuid - -import pytest - -sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) -from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests -from conftest import EmailApiData - - -@pytest.mark.pipeline -def test_create_mapi(td: EmailApiData): - name = str(uuid.uuid4()) + '.msg' - td.api.create_mapi(requests.CreateMapiRequest( - name, - models.HierarchicalObjectRequest( - models.HierarchicalObject('IPM.Contact', internal_properties=[ - models.PrimitiveObject("Tag:'PidTagMessageClass':0x1A:String", None, "IPM.Contact"), - models.PrimitiveObject("Tag:'PidTagSubject':0x37:String"), - models.PrimitiveObject("Tag:'PidTagSubjectPrefix':0x3D:String"), - models.PrimitiveObject("Tag:'PidTagMessageFlags':0xE07:Integer32", value="8"), - models.PrimitiveObject("Tag:'PidTagNormalizedSubject':0xE1D:String"), - models.PrimitiveObject("Tag:'PidTagBody':0x1000:String"), - models.PrimitiveObject("Tag:'PidTagStoreSupportMask':0x340D:Integer32", value="265849"), - models.PrimitiveObject("Tag:'PidTagSurname':0x3A11:String", value="Surname"), - models.PrimitiveObject("Tag:'PidTagOtherTelephoneNumber':0x3A1F:String", value="+79123456789"), - models.PrimitiveObject("Tag:'':0x6662:Integer32", value="0"), - models.PrimitiveObject( - "Lid:'PidLidAddressBookProviderArrayType':0x8029:Integer32:00062004-0000-0000-c000-000000000046", - value="1")]), - models.StorageFolderLocation(td.storage, td.folder)))) - assert td.api.object_exists(requests.ObjectExistsRequest(td.folder + '/' + name, td.storage)).exists - - -@pytest.mark.pipeline -def test_mapi_add_attachment(td: EmailApiData): - name = td.create_calendar() - attachment = td.create_calendar() - td.api.add_mapi_attachment(requests.AddMapiAttachmentRequest( - name, attachment, models.AddAttachmentRequest( - models.StorageFolderLocation(td.storage, td.folder), - models.StorageFolderLocation(td.storage, td.folder)))) - attachment_downloaded = td.api.get_calendar_attachment(requests.GetCalendarAttachmentRequest( - name, attachment, td.folder, td.storage)) - with open(attachment_downloaded, 'r') as f: - file_data = f.read() - assert 'Aspose Ltd' in file_data - - -@pytest.mark.pipeline -def test_mapi_get_properties(td: EmailApiData): - name = td.create_calendar() - properties = td.api.get_mapi_properties(requests.GetMapiPropertiesRequest( - name, td.folder, td.storage)) - assert 'IPM.Schedule' in properties.hierarchical_object.name diff --git a/tests/tests/mapi_calendar_test.py b/tests/tests/mapi_calendar_test.py index 3ea0a72..5c2c6ec 100644 --- a/tests/tests/mapi_calendar_test.py +++ b/tests/tests/mapi_calendar_test.py @@ -7,15 +7,13 @@ sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests from conftest import EmailApiData @pytest.mark.pipeline def test_mapi_model_to_general_model(td: EmailApiData): mapi_calendar = mapi_calendar_dto() - calendar = td.api.convert_mapi_calendar_model_to_calendar_model( - requests.ConvertMapiCalendarModelToCalendarModelRequest(mapi_calendar)) + calendar = td.api.mapi.calendar.as_calendar_dto(mapi_calendar) assert mapi_calendar.subject == calendar.summary assert mapi_calendar.location == calendar.location @@ -23,13 +21,11 @@ def test_mapi_model_to_general_model(td: EmailApiData): @pytest.mark.pipeline def test_mapi_model_to_file(td: EmailApiData): mapi_calendar = mapi_calendar_dto() - ics_file = td.api.convert_mapi_calendar_model_to_file( - requests.ConvertMapiCalendarModelToFileRequest('Ics', mapi_calendar)) + ics_file = td.api.mapi.calendar.as_file(models.MapiCalendarAsFileRequest('Ics', mapi_calendar)) with open(ics_file, 'r') as f: file_data = f.read() assert mapi_calendar.location in file_data - mapi_calendar_converted = td.api.get_calendar_file_as_mapi_model( - requests.GetCalendarFileAsMapiModelRequest(ics_file)) + mapi_calendar_converted = td.api.mapi.calendar.from_file(models.MapiCalendarFromFileRequest(ics_file)) assert mapi_calendar.location == mapi_calendar_converted.location @@ -37,12 +33,10 @@ def test_mapi_model_to_file(td: EmailApiData): def test_storage_support(td: EmailApiData): file_name = str(uuid.uuid4()) + '.msg' mapi_calendar = mapi_calendar_dto() - td.api.save_mapi_calendar_model( - requests.SaveMapiCalendarModelRequest( - file_name, 'Msg', - models.StorageModelRqOfMapiCalendarDto(mapi_calendar, td.storage_folder()))) - mapi_calendar_from_storage = td.api.get_mapi_calendar_model( - requests.GetMapiCalendarModelRequest(file_name, td.folder, td.storage)) + td.api.mapi.calendar.save(models.MapiCalendarSaveRequest( + models.StorageFileLocation(td.storage, td.folder, file_name), + mapi_calendar, 'Msg')) + mapi_calendar_from_storage = td.api.mapi.calendar.get(models.MapiCalendarGetRequest(file_name, td.folder, td.storage)) assert mapi_calendar.location == mapi_calendar_from_storage.location diff --git a/tests/tests/mapi_contact_test.py b/tests/tests/mapi_contact_test.py index 4030574..f6b6853 100644 --- a/tests/tests/mapi_contact_test.py +++ b/tests/tests/mapi_contact_test.py @@ -6,16 +6,13 @@ sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests from conftest import EmailApiData @pytest.mark.pipeline def test_mapi_model_to_general_model(td: EmailApiData): mapi_contact = mapi_contact_dto() - contact = td.api.convert_mapi_contact_model_to_contact_model( - requests.ConvertMapiContactModelToContactModelRequest(mapi_contact)) - + contact = td.api.mapi.contact.as_contact_dto(mapi_contact) assert mapi_contact.name_info.given_name == contact.given_name assert mapi_contact.name_info.surname == contact.surname @@ -23,13 +20,11 @@ def test_mapi_model_to_general_model(td: EmailApiData): @pytest.mark.pipeline def test_mapi_model_to_file(td: EmailApiData): mapi_contact = mapi_contact_dto() - vcard_file = td.api.convert_mapi_contact_model_to_file( - requests.ConvertMapiContactModelToFileRequest('VCard', mapi_contact)) + vcard_file = td.api.mapi.contact.as_file(models.MapiContactAsFileRequest('VCard', mapi_contact)) with open(vcard_file, 'r') as f: file_data = f.read() assert mapi_contact.name_info.given_name in file_data - mapi_contact_converted = td.api.get_contact_file_as_mapi_model( - requests.GetContactFileAsMapiModelRequest('VCard', vcard_file)) + mapi_contact_converted = td.api.mapi.contact.from_file(models.MapiContactFromFileRequest('VCard', vcard_file)) assert mapi_contact.name_info.surname == mapi_contact_converted.name_info.surname @@ -37,14 +32,11 @@ def test_mapi_model_to_file(td: EmailApiData): def test_storage_support(td: EmailApiData): file_name = str(uuid.uuid4()) + '.msg' mapi_contact = mapi_contact_dto() - - td.api.save_mapi_contact_model( - requests.SaveMapiContactModelRequest( - 'Msg', file_name, - models.StorageModelRqOfMapiContactDto(mapi_contact, td.storage_folder()))) - - mapi_contact_from_storage = td.api.get_mapi_contact_model( - requests.GetMapiContactModelRequest('Msg', file_name, td.folder, td.storage)) + td.api.mapi.contact.save(models.MapiContactSaveRequest( + models.StorageFileLocation(td.storage, td.folder, file_name), + mapi_contact, 'Msg')) + mapi_contact_from_storage = td.api.mapi.contact.get( + models.MapiContactGetRequest('Msg', file_name, td.folder, td.storage)) assert mapi_contact.name_info.surname == mapi_contact_from_storage.name_info.surname diff --git a/tests/tests/mapi_message_test.py b/tests/tests/mapi_message_test.py index a6d80b1..86bb0e0 100644 --- a/tests/tests/mapi_message_test.py +++ b/tests/tests/mapi_message_test.py @@ -8,16 +8,13 @@ from datetime import datetime sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests from conftest import EmailApiData @pytest.mark.pipeline def test_mapi_model_to_general_model(td: EmailApiData): mapi_message = mapi_message_dto() - email = td.api.convert_mapi_message_model_to_email_model( - requests.ConvertMapiMessageModelToEmailModelRequest(mapi_message)) - + email = td.api.mapi.message.as_email_dto(mapi_message) assert mapi_message.subject == email.subject assert mapi_message.body == email.body @@ -25,15 +22,11 @@ def test_mapi_model_to_general_model(td: EmailApiData): @pytest.mark.pipeline def test_mapi_model_to_file(td: EmailApiData): mapi_message = mapi_message_dto() - eml_file = td.api.convert_mapi_message_model_to_file( - requests.ConvertMapiMessageModelToFileRequest('Eml', mapi_message)) - + eml_file = td.api.mapi.message.as_file(models.MapiMessageAsFileRequest('Eml', mapi_message)) with open(eml_file, 'r') as f: file_data = f.read() assert mapi_message.subject in file_data - mapi_message_converted = td.api.get_email_file_as_mapi_model( - requests.GetEmailFileAsMapiModelRequest('Eml', eml_file)) - + mapi_message_converted = td.api.mapi.message.from_file(models.MapiMessageFromFileRequest('Eml', eml_file)) assert mapi_message.subject == mapi_message_converted.subject # Subject is also available as MapiPropertyDto: # There are different Property descriptors supported. @@ -49,12 +42,11 @@ def test_mapi_model_to_file(td: EmailApiData): def test_storage_support(td: EmailApiData): file_name = str(uuid.uuid4()) + '.msg' mapi_message = mapi_message_dto() - td.api.save_mapi_message_model( - requests.SaveMapiMessageModelRequest( - 'Msg', file_name, - models.StorageModelRqOfMapiMessageDto(mapi_message, td.storage_folder()))) - mapi_message_from_storage = td.api.get_mapi_message_model( - requests.GetMapiMessageModelRequest('Msg', file_name, td.folder, td.storage)) + td.api.mapi.message.save(models.MapiMessageSaveRequest( + models.StorageFileLocation(td.storage, td.folder, file_name), + mapi_message, 'Msg')) + mapi_message_from_storage = td.api.mapi.message.get( + models.MapiMessageGetRequest('Msg', file_name, td.folder, td.storage)) assert mapi_message.subject == mapi_message_from_storage.subject From 7815d34c15e471b57898b0e31fd3deedbd6983f9 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Mon, 3 Aug 2020 22:43:17 +0400 Subject: [PATCH 07/20] Other tests actualized --- tests/tests/other_test.py | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/tests/tests/other_test.py b/tests/tests/other_test.py index 00e8927..4fc33fc 100644 --- a/tests/tests/other_test.py +++ b/tests/tests/other_test.py @@ -6,7 +6,6 @@ sys.path.append(os.path.join(os.path.dirname(__file__), "../../sdk")) from AsposeEmailCloudSdk import models -from AsposeEmailCloudSdk.models import requests from conftest import EmailApiData @@ -18,8 +17,8 @@ def test_file(td: EmailApiData): sample = os.path.join(os.path.dirname(__file__), '..', 'data', 'sample.ics') file_name = str(uuid.uuid4()) + ".ics" storage_location = td.folder + "/" + file_name - td.api.upload_file(requests.UploadFileRequest(storage_location, sample, td.storage)) - downloaded = td.api.download_file(requests.DownloadFileRequest(storage_location, td.storage)) + td.api.cloud_storage.file.upload_file(models.UploadFileRequest(storage_location, sample, td.storage)) + downloaded = td.api.cloud_storage.file.download_file(models.DownloadFileRequest(storage_location, td.storage)) with open(downloaded, 'r') as f: file_data = f.read() assert 'Broadway' in file_data @@ -27,7 +26,7 @@ def test_file(td: EmailApiData): @pytest.mark.pipeline def test_discover_email_config(td: EmailApiData): - configs = td.api.discover_email_config(requests.DiscoverEmailConfigRequest('example@gmail.com', True)) + configs = td.api.email_config.discover(models.EmailConfigDiscoverRequest('example@gmail.com', True)) assert len(configs.value) >= 2 smtp = list(filter(lambda x: x.protocol_type == 'SMTP', configs.value))[0] # type: models.EmailAccountConfig assert smtp.host == 'smtp.gmail.com' @@ -35,11 +34,9 @@ def test_discover_email_config(td: EmailApiData): @pytest.mark.pipeline def test_is_disposable_email(td: EmailApiData): - disposable = td.api.is_email_address_disposable( - requests.IsEmailAddressDisposableRequest('example@mailcatch.com')) + disposable = td.api.disposable_email.is_disposable(models.DisposableEmailIsDisposableRequest('example@mailcatch.com')) assert disposable.value - regular = td.api.is_email_address_disposable( - requests.IsEmailAddressDisposableRequest('example@gmail.com')) + regular = td.api.disposable_email.is_disposable(models.DisposableEmailIsDisposableRequest('example@gmail.com')) assert not regular.value @@ -53,14 +50,10 @@ def test_email_client_account(td: EmailApiData): models.EmailClientAccountPasswordCredentials( 'login', None, 'password')) name = str(uuid.uuid4()) + '.account' - td.api.save_email_client_account( - requests.SaveEmailClientAccountRequest( - models.StorageFileRqOfEmailClientAccount( - account, models.StorageFileLocation( - td.storage, td.folder, name)))) - result = td.api.get_email_client_account( - requests.GetEmailClientAccountRequest( - name, td.folder, td.storage)) + td.api.client.account.save(models.EmailClientAccountSaveRequest( + models.StorageFileLocation(td.storage, td.folder, name), + account)) + result = td.api.client.account.get(models.ClientAccountGetRequest(name, td.folder, td.storage)) assert account.host == result.host # noinspection PyTypeChecker account_credentials = account.credentials # type: models.EmailClientAccountPasswordCredentials @@ -84,17 +77,13 @@ def test_email_client_multi_account(td: EmailApiData): models.EmailClientAccountPasswordCredentials( 'example@gmail.com', None, 'password'))) file_name = str(uuid.uuid4()) + '.multi.account' - folder = td.folder - storage = td.storage - email = td.api # Save multi account - email.save_email_client_multi_account(requests.SaveEmailClientMultiAccountRequest( - models.StorageFileRqOfEmailClientMultiAccount( - multi_account, - models.StorageFileLocation(storage, folder, file_name)))) + td.api.client.account.save_multi(models.EmailClientMultiAccountSaveRequest( + models.StorageFileLocation(td.storage, td.folder, file_name), + multi_account)) # Get multi account object from storage - multi_account_from_storage = email.get_email_client_multi_account(requests.GetEmailClientMultiAccountRequest( - file_name, folder, storage)) + multi_account_from_storage = td.api.client.account.get_multi(models.ClientAccountGetMultiRequest( + file_name, td.folder, td.storage)) assert len(multi_account_from_storage.receive_accounts) == 2 assert (multi_account_from_storage.send_account.credentials.discriminator == From da574e8c4a99e1ca79c750ec8d622ae8758ad3ea Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Tue, 4 Aug 2020 00:45:07 +0400 Subject: [PATCH 08/20] Discriminator property processing improved --- .../models/ai_bcr_image.py | 7 +- .../models/ai_bcr_image_storage_file.py | 7 +- .../models/ai_bcr_options.py | 13 +- .../models/ai_bcr_parse_storage_request.py | 19 +- .../models/ai_name_component.py | 25 +- .../models/ai_name_component_list.py | 1 + .../models/ai_name_cultural_context.py | 31 +-- .../models/ai_name_extracted.py | 13 +- .../models/ai_name_extracted_component.py | 13 +- .../models/ai_name_extracted_list.py | 1 + .../models/ai_name_formatted.py | 13 +- .../models/ai_name_gender_hypothesis.py | 13 +- .../models/ai_name_gender_hypothesis_list.py | 1 + .../models/ai_name_match_result.py | 13 +- .../models/ai_name_mismatch.py | 19 +- .../models/ai_name_parsed_match_request.py | 7 +- .../models/ai_name_parsed_request.py | 19 +- .../models/ai_name_weighted.py | 13 +- .../models/ai_name_weighted_variants.py | 13 +- .../models/alternate_view.py | 13 +- .../models/associated_person.py | 19 +- sdk/AsposeEmailCloudSdk/models/attachment.py | 31 +-- .../models/attachment_base.py | 25 +- .../models/calendar_as_alternate_request.py | 19 +- .../models/calendar_as_file_request.py | 13 +- .../models/calendar_dto.py | 133 ++++------- .../models/calendar_reminder.py | 49 ++-- .../models/calendar_save_request.py | 7 +- .../models/calendar_storage_list.py | 1 + .../models/client_account_base_request.py | 7 +- .../models/client_folder_create_request.py | 13 +- .../models/client_folder_delete_request.py | 7 +- .../models/client_message_append_request.py | 19 +- .../models/client_message_base_request.py | 7 +- .../models/client_message_delete_request.py | 7 +- .../models/client_message_move_request.py | 13 +- .../models/client_message_send_request.py | 7 +- .../client_message_set_is_read_request.py | 7 +- .../models/client_thread_base_request.py | 7 +- .../models/client_thread_delete_request.py | 7 +- .../models/client_thread_move_request.py | 7 +- .../client_thread_set_is_read_request.py | 13 +- .../models/contact_as_file_request.py | 13 +- sdk/AsposeEmailCloudSdk/models/contact_dto.py | 217 ++++++------------ .../models/contact_list.py | 1 + .../models/contact_photo.py | 32 +-- .../models/contact_save_request.py | 7 +- .../models/contact_storage_list.py | 1 + .../models/content_type.py | 31 +-- .../models/content_type_parameter.py | 13 +- .../models/customer_event.py | 13 +- .../models/daily_recurrence_pattern_dto.py | 7 +- sdk/AsposeEmailCloudSdk/models/disc_usage.py | 13 +- .../models/discover_email_config_oauth.py | 25 +- .../models/discover_email_config_password.py | 7 +- .../models/discover_email_config_request.py | 19 +- .../models/email_account_config.py | 49 ++-- .../models/email_account_config_list.py | 1 + .../models/email_address.py | 37 ++- .../models/email_as_file_request.py | 13 +- .../models/email_client_account.py | 37 ++- .../email_client_account_credentials.py | 26 +-- .../email_client_account_oauth_credentials.py | 31 +-- ...ail_client_account_password_credentials.py | 13 +- .../email_client_account_save_request.py | 1 + .../models/email_client_multi_account.py | 13 +- ...email_client_multi_account_save_request.py | 1 + sdk/AsposeEmailCloudSdk/models/email_dto.py | 193 ++++++---------- sdk/AsposeEmailCloudSdk/models/email_list.py | 1 + .../models/email_save_request.py | 7 +- .../models/email_storage_list.py | 1 + .../models/email_thread.py | 25 +- .../models/email_thread_list.py | 1 + ...th_custom_of_associated_person_category.py | 15 +- ...m_with_custom_of_email_address_category.py | 15 +- .../enum_with_custom_of_event_category.py | 15 +- ...th_custom_of_instant_messenger_category.py | 15 +- ...um_with_custom_of_phone_number_category.py | 15 +- ..._with_custom_of_postal_address_category.py | 15 +- .../enum_with_custom_of_url_category.py | 15 +- sdk/AsposeEmailCloudSdk/models/error.py | 25 +- .../models/error_details.py | 13 +- .../models/file_version.py | 13 +- .../models/file_versions.py | 7 +- sdk/AsposeEmailCloudSdk/models/files_list.py | 7 +- .../models/files_upload_result.py | 13 +- .../models/instant_messenger_address.py | 19 +- .../models/linked_resource.py | 7 +- .../list_response_of_ai_name_component.py | 9 +- .../list_response_of_ai_name_extracted.py | 9 +- ...t_response_of_ai_name_gender_hypothesis.py | 9 +- .../models/list_response_of_contact_dto.py | 9 +- .../list_response_of_email_account_config.py | 9 +- .../models/list_response_of_email_dto.py | 9 +- .../models/list_response_of_email_thread.py | 9 +- .../list_response_of_mail_message_base.py | 9 +- .../list_response_of_mail_server_folder.py | 9 +- .../list_response_of_storage_file_location.py | 9 +- ...sponse_of_storage_model_of_calendar_dto.py | 9 +- ...esponse_of_storage_model_of_contact_dto.py | 9 +- ..._response_of_storage_model_of_email_dto.py | 9 +- .../models/mail_address.py | 25 +- .../models/mail_message_base.py | 20 +- .../models/mail_message_base64.py | 20 +- .../models/mail_message_base_list.py | 1 + .../models/mail_message_dto.py | 14 +- .../models/mail_message_mapi.py | 14 +- .../models/mail_server_folder.py | 13 +- .../models/mail_server_folder_list.py | 1 + .../models/mapi_attachment_dto.py | 13 +- .../models/mapi_binary_property_dto.py | 13 +- .../models/mapi_boolean_property_dto.py | 13 +- .../models/mapi_calendar_as_file_request.py | 13 +- .../models/mapi_calendar_attendees_dto.py | 25 +- ...i_calendar_daily_recurrence_pattern_dto.py | 13 +- .../models/mapi_calendar_dto.py | 115 +++------- .../mapi_calendar_event_recurrence_dto.py | 37 ++- .../mapi_calendar_exception_info_dto.py | 85 +++---- .../mapi_calendar_recurrence_pattern_dto.py | 98 +++----- .../models/mapi_calendar_save_request.py | 7 +- .../models/mapi_calendar_time_zone_dto.py | 13 +- .../mapi_calendar_time_zone_info_dto.py | 43 ++-- .../mapi_calendar_time_zone_rule_dto.py | 55 ++--- ..._calendar_weekly_recurrence_pattern_dto.py | 13 +- ...arly_and_monthly_recurrence_pattern_dto.py | 25 +- .../models/mapi_contact_as_file_request.py | 13 +- .../models/mapi_contact_dto.py | 61 ++--- .../mapi_contact_electronic_address_dto.py | 37 ++- ...act_electronic_address_property_set_dto.py | 55 ++--- .../mapi_contact_event_property_set_dto.py | 13 +- .../mapi_contact_name_property_set_dto.py | 61 ++--- .../mapi_contact_other_property_set_dto.py | 49 ++-- ..._contact_personal_info_property_set_dto.py | 115 ++++------ .../models/mapi_contact_photo_dto.py | 7 +- .../mapi_contact_physical_address_dto.py | 55 ++--- ...ntact_physical_address_property_set_dto.py | 19 +- ...i_contact_professional_property_set_dto.py | 43 ++-- .../models/mapi_contact_save_request.py | 7 +- ...mapi_contact_telephone_property_set_dto.py | 115 ++++------ .../models/mapi_date_time_property_dto.py | 13 +- .../models/mapi_electronic_address_dto.py | 31 +-- .../models/mapi_file_as_property_dto.py | 13 +- .../models/mapi_importance_property_dto.py | 13 +- .../models/mapi_int_property_dto.py | 13 +- .../models/mapi_known_property_descriptor.py | 14 +- .../mapi_legacy_free_busy_property_dto.py | 13 +- .../models/mapi_message_as_file_request.py | 13 +- .../models/mapi_message_dto.py | 157 +++++-------- .../models/mapi_message_item_base_dto.py | 116 ++++------ .../models/mapi_message_save_request.py | 7 +- .../models/mapi_multi_int_property_dto.py | 13 +- .../models/mapi_multi_string_property_dto.py | 13 +- ...api_physical_address_index_property_dto.py | 13 +- .../mapi_pid_lid_property_descriptor.py | 20 +- .../mapi_pid_name_property_descriptor.py | 14 +- .../models/mapi_pid_property_descriptor.py | 32 +-- .../mapi_pid_tag_property_descriptor.py | 20 +- .../models/mapi_property_descriptor.py | 20 +- .../models/mapi_property_dto.py | 26 +-- .../models/mapi_recipient_dto.py | 25 +- .../models/mapi_response_type_property_dto.py | 13 +- .../models/mapi_string_property_dto.py | 13 +- .../models/monthly_recurrence_pattern_dto.py | 25 +- .../models/name_value_pair.py | 13 +- .../models/object_exist.py | 13 +- .../models/phone_number.py | 19 +- .../models/postal_address.py | 67 ++---- .../models/recurrence_pattern_dto.py | 44 ++-- .../models/reminder_attendee.py | 7 +- .../models/reminder_trigger.py | 19 +- .../models/storage_exist.py | 7 +- .../models/storage_file.py | 31 +-- .../models/storage_file_location.py | 7 +- .../models/storage_file_location_list.py | 1 + .../models/storage_folder_location.py | 13 +- .../models/storage_model_of_calendar_dto.py | 17 +- .../models/storage_model_of_contact_dto.py | 17 +- .../storage_model_of_email_client_account.py | 17 +- ...age_model_of_email_client_multi_account.py | 17 +- .../models/storage_model_of_email_dto.py | 17 +- .../storage_model_of_mapi_calendar_dto.py | 17 +- .../storage_model_of_mapi_contact_dto.py | 17 +- .../storage_model_of_mapi_message_dto.py | 17 +- .../models/task_regenerating_pattern_dto.py | 13 +- sdk/AsposeEmailCloudSdk/models/url.py | 19 +- .../models/value_t_of_boolean.py | 9 +- .../models/value_t_of_string.py | 9 +- .../models/weekly_recurrence_pattern_dto.py | 13 +- .../models/yearly_recurrence_pattern_dto.py | 31 +-- tests/tests/mapi_calendar_test.py | 3 +- tests/tests/other_test.py | 9 +- 191 files changed, 1578 insertions(+), 2741 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py index 35d4e7f..4d1ddcc 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image.py @@ -62,10 +62,10 @@ def __init__(self, is_single: bool = None): if is_single is not None: self.is_single = is_single + @property def is_single(self) -> bool: - """Gets the is_single of this AiBcrImage. - + """ Determines that image contains single VCard or more. :return: The is_single of this AiBcrImage. @@ -75,8 +75,7 @@ def is_single(self) -> bool: @is_single.setter def is_single(self, is_single: bool): - """Sets the is_single of this AiBcrImage. - + """ Determines that image contains single VCard or more. :param is_single: The is_single of this AiBcrImage. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py index fb0977b..acfbc57 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_image_storage_file.py @@ -72,10 +72,10 @@ def __init__(self, is_single: bool = None, file: StorageFileLocation = None): if file is not None: self.file = file + @property def file(self) -> StorageFileLocation: - """Gets the file of this AiBcrImageStorageFile. - + """ Image location :return: The file of this AiBcrImageStorageFile. @@ -85,8 +85,7 @@ def file(self) -> StorageFileLocation: @file.setter def file(self, file: StorageFileLocation): - """Sets the file of this AiBcrImageStorageFile. - + """ Image location :param file: The file of this AiBcrImageStorageFile. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py index 160ade0..d343bf7 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_options.py @@ -69,10 +69,10 @@ def __init__(self, languages: str = None, countries: str = None): if countries is not None: self.countries = countries + @property def languages(self) -> str: - """Gets the languages of this AiBcrOptions. - + """ Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. :return: The languages of this AiBcrOptions. @@ -82,8 +82,7 @@ def languages(self) -> str: @languages.setter def languages(self, languages: str): - """Sets the languages of this AiBcrOptions. - + """ Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. :param languages: The languages of this AiBcrOptions. @@ -93,8 +92,7 @@ def languages(self, languages: str): @property def countries(self) -> str: - """Gets the countries of this AiBcrOptions. - + """ Comma-separated codes of countries. :return: The countries of this AiBcrOptions. @@ -104,8 +102,7 @@ def countries(self) -> str: @countries.setter def countries(self, countries: str): - """Sets the countries of this AiBcrOptions. - + """ Comma-separated codes of countries. :param countries: The countries of this AiBcrOptions. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py index dd41235..79b761d 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_storage_request.py @@ -80,10 +80,10 @@ def __init__(self, out_folder: StorageFolderLocation = None, images: List[AiBcrI if options is not None: self.options = options + @property def out_folder(self) -> StorageFolderLocation: - """Gets the out_folder of this AiBcrParseStorageRequest. - + """ Parse output folder location on storage :return: The out_folder of this AiBcrParseStorageRequest. @@ -93,8 +93,7 @@ def out_folder(self) -> StorageFolderLocation: @out_folder.setter def out_folder(self, out_folder: StorageFolderLocation): - """Sets the out_folder of this AiBcrParseStorageRequest. - + """ Parse output folder location on storage :param out_folder: The out_folder of this AiBcrParseStorageRequest. @@ -106,8 +105,7 @@ def out_folder(self, out_folder: StorageFolderLocation): @property def images(self) -> List[AiBcrImageStorageFile]: - """Gets the images of this AiBcrParseStorageRequest. - + """ Images to parse. :return: The images of this AiBcrParseStorageRequest. @@ -117,8 +115,7 @@ def images(self) -> List[AiBcrImageStorageFile]: @images.setter def images(self, images: List[AiBcrImageStorageFile]): - """Sets the images of this AiBcrParseStorageRequest. - + """ Images to parse. :param images: The images of this AiBcrParseStorageRequest. @@ -130,8 +127,7 @@ def images(self, images: List[AiBcrImageStorageFile]): @property def options(self) -> AiBcrOptions: - """Gets the options of this AiBcrParseStorageRequest. - + """ Recognition options. :return: The options of this AiBcrParseStorageRequest. @@ -141,8 +137,7 @@ def options(self) -> AiBcrOptions: @options.setter def options(self, options: AiBcrOptions): - """Sets the options of this AiBcrParseStorageRequest. - + """ Recognition options. :param options: The options of this AiBcrParseStorageRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_component.py b/sdk/AsposeEmailCloudSdk/models/ai_name_component.py index aba0b9c..3aae10e 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_component.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_component.py @@ -83,10 +83,10 @@ def __init__(self, value: str = None, category: str = None, score: float = None, if position is not None: self.position = position + @property def value(self) -> str: - """Gets the value of this AiNameComponent. - + """ Component value :return: The value of this AiNameComponent. @@ -96,8 +96,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this AiNameComponent. - + """ Component value :param value: The value of this AiNameComponent. @@ -107,8 +106,7 @@ def value(self, value: str): @property def category(self) -> str: - """Gets the category of this AiNameComponent. - + """ Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah :return: The category of this AiNameComponent. @@ -118,8 +116,7 @@ def category(self) -> str: @category.setter def category(self, category: str): - """Sets the category of this AiNameComponent. - + """ Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah :param category: The category of this AiNameComponent. @@ -131,8 +128,7 @@ def category(self, category: str): @property def score(self) -> float: - """Gets the score of this AiNameComponent. - + """ Score from 0.0 to 1.0 :return: The score of this AiNameComponent. @@ -142,8 +138,7 @@ def score(self) -> float: @score.setter def score(self, score: float): - """Sets the score of this AiNameComponent. - + """ Score from 0.0 to 1.0 :param score: The score of this AiNameComponent. @@ -155,8 +150,7 @@ def score(self, score: float): @property def position(self) -> int: - """Gets the position of this AiNameComponent. - + """ Component position from 0 :return: The position of this AiNameComponent. @@ -166,8 +160,7 @@ def position(self) -> int: @position.setter def position(self, position: int): - """Sets the position of this AiNameComponent. - + """ Component position from 0 :param position: The position of this AiNameComponent. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py index ac6cb80..b24593d 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_component_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[AiNameComponent] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py b/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py index 410b0ec..a4a8bb0 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_cultural_context.py @@ -90,10 +90,10 @@ def __init__(self, language: str = None, location: str = None, script: str = Non if style is not None: self.style = style + @property def language(self) -> str: - """Gets the language of this AiNameCulturalContext. - + """ An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) :return: The language of this AiNameCulturalContext. @@ -103,8 +103,7 @@ def language(self) -> str: @language.setter def language(self, language: str): - """Sets the language of this AiNameCulturalContext. - + """ An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian) :param language: The language of this AiNameCulturalContext. @@ -114,8 +113,7 @@ def language(self, language: str): @property def location(self) -> str: - """Gets the location of this AiNameCulturalContext. - + """ A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France :return: The location of this AiNameCulturalContext. @@ -125,8 +123,7 @@ def location(self) -> str: @location.setter def location(self, location: str): - """Sets the location of this AiNameCulturalContext. - + """ A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France :param location: The location of this AiNameCulturalContext. @@ -136,8 +133,7 @@ def location(self, location: str): @property def script(self) -> str: - """Gets the script of this AiNameCulturalContext. - + """ A writing system code; starts with the ISO-15924 script name :return: The script of this AiNameCulturalContext. @@ -147,8 +143,7 @@ def script(self) -> str: @script.setter def script(self, script: str): - """Sets the script of this AiNameCulturalContext. - + """ A writing system code; starts with the ISO-15924 script name :param script: The script of this AiNameCulturalContext. @@ -158,8 +153,7 @@ def script(self, script: str): @property def encoding(self) -> str: - """Gets the encoding of this AiNameCulturalContext. - + """ A character encoding name :return: The encoding of this AiNameCulturalContext. @@ -169,8 +163,7 @@ def encoding(self) -> str: @encoding.setter def encoding(self, encoding: str): - """Sets the encoding of this AiNameCulturalContext. - + """ A character encoding name :param encoding: The encoding of this AiNameCulturalContext. @@ -180,8 +173,7 @@ def encoding(self, encoding: str): @property def style(self) -> str: - """Gets the style of this AiNameCulturalContext. - + """ Name writing style. Enum, available values: Formal, Informal, Legal, Academic :return: The style of this AiNameCulturalContext. @@ -191,8 +183,7 @@ def style(self) -> str: @style.setter def style(self, style: str): - """Sets the style of this AiNameCulturalContext. - + """ Name writing style. Enum, available values: Formal, Informal, Legal, Academic :param style: The style of this AiNameCulturalContext. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py index fee7ac1..9494e2e 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted.py @@ -71,10 +71,10 @@ def __init__(self, name: List[AiNameExtractedComponent] = None, score: float = N if score is not None: self.score = score + @property def name(self) -> List[AiNameExtractedComponent]: - """Gets the name of this AiNameExtracted. - + """ Extracted name components :return: The name of this AiNameExtracted. @@ -84,8 +84,7 @@ def name(self) -> List[AiNameExtractedComponent]: @name.setter def name(self, name: List[AiNameExtractedComponent]): - """Sets the name of this AiNameExtracted. - + """ Extracted name components :param name: The name of this AiNameExtracted. @@ -95,8 +94,7 @@ def name(self, name: List[AiNameExtractedComponent]): @property def score(self) -> float: - """Gets the score of this AiNameExtracted. - + """ Extracted name score :return: The score of this AiNameExtracted. @@ -106,8 +104,7 @@ def score(self) -> float: @score.setter def score(self, score: float): - """Sets the score of this AiNameExtracted. - + """ Extracted name score :param score: The score of this AiNameExtracted. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py index 316eedf..cf1242e 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_component.py @@ -69,10 +69,10 @@ def __init__(self, category: str = None, value: str = None): if value is not None: self.value = value + @property def category(self) -> str: - """Gets the category of this AiNameExtractedComponent. - + """ Extracted from email address name component category. Enum, available values: Unknown, GivenName, Surname, SomeName, NoName, Initial :return: The category of this AiNameExtractedComponent. @@ -82,8 +82,7 @@ def category(self) -> str: @category.setter def category(self, category: str): - """Sets the category of this AiNameExtractedComponent. - + """ Extracted from email address name component category. Enum, available values: Unknown, GivenName, Surname, SomeName, NoName, Initial :param category: The category of this AiNameExtractedComponent. @@ -95,8 +94,7 @@ def category(self, category: str): @property def value(self) -> str: - """Gets the value of this AiNameExtractedComponent. - + """ Extracted value :return: The value of this AiNameExtractedComponent. @@ -106,8 +104,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this AiNameExtractedComponent. - + """ Extracted value :param value: The value of this AiNameExtractedComponent. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py index 8de7912..05905d9 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_extracted_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[AiNameExtracted] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py index a4749e0..f733e2f 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_formatted.py @@ -69,10 +69,10 @@ def __init__(self, name: str = None, comments: str = None): if comments is not None: self.comments = comments + @property def name(self) -> str: - """Gets the name of this AiNameFormatted. - + """ Formatted name value :return: The name of this AiNameFormatted. @@ -82,8 +82,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this AiNameFormatted. - + """ Formatted name value :param name: The name of this AiNameFormatted. @@ -93,8 +92,7 @@ def name(self, name: str): @property def comments(self) -> str: - """Gets the comments of this AiNameFormatted. - + """ Usually empty; can contain extra message describing some issue occurred during the formatting :return: The comments of this AiNameFormatted. @@ -104,8 +102,7 @@ def comments(self) -> str: @comments.setter def comments(self, comments: str): - """Sets the comments of this AiNameFormatted. - + """ Usually empty; can contain extra message describing some issue occurred during the formatting :param comments: The comments of this AiNameFormatted. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py index a2fa15a..3274bdc 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis.py @@ -69,10 +69,10 @@ def __init__(self, gender: str = None, score: float = None): if score is not None: self.score = score + @property def gender(self) -> str: - """Gets the gender of this AiNameGenderHypothesis. - + """ Recognized name gender. Enum, available values: Male, Female, Unknown :return: The gender of this AiNameGenderHypothesis. @@ -82,8 +82,7 @@ def gender(self) -> str: @gender.setter def gender(self, gender: str): - """Sets the gender of this AiNameGenderHypothesis. - + """ Recognized name gender. Enum, available values: Male, Female, Unknown :param gender: The gender of this AiNameGenderHypothesis. @@ -95,8 +94,7 @@ def gender(self, gender: str): @property def score(self) -> float: - """Gets the score of this AiNameGenderHypothesis. - + """ Hypothesis score :return: The score of this AiNameGenderHypothesis. @@ -106,8 +104,7 @@ def score(self) -> float: @score.setter def score(self, score: float): - """Sets the score of this AiNameGenderHypothesis. - + """ Hypothesis score :param score: The score of this AiNameGenderHypothesis. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py index 93f8263..b912d33 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_gender_hypothesis_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[AiNameGenderHypothesis] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py b/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py index 7011af1..ce7465d 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_match_result.py @@ -71,10 +71,10 @@ def __init__(self, similarity: float = None, mismatches: List[AiNameMismatch] = if mismatches is not None: self.mismatches = mismatches + @property def similarity(self) -> float: - """Gets the similarity of this AiNameMatchResult. - + """ Similarity score :return: The similarity of this AiNameMatchResult. @@ -84,8 +84,7 @@ def similarity(self) -> float: @similarity.setter def similarity(self, similarity: float): - """Sets the similarity of this AiNameMatchResult. - + """ Similarity score :param similarity: The similarity of this AiNameMatchResult. @@ -97,8 +96,7 @@ def similarity(self, similarity: float): @property def mismatches(self) -> List[AiNameMismatch]: - """Gets the mismatches of this AiNameMatchResult. - + """ Detailed description of mismatches :return: The mismatches of this AiNameMatchResult. @@ -108,8 +106,7 @@ def mismatches(self) -> List[AiNameMismatch]: @mismatches.setter def mismatches(self, mismatches: List[AiNameMismatch]): - """Sets the mismatches of this AiNameMatchResult. - + """ Detailed description of mismatches :param mismatches: The mismatches of this AiNameMatchResult. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py b/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py index 50560ea..c83d49f 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_mismatch.py @@ -76,10 +76,10 @@ def __init__(self, category: str = None, similarity: float = None, explanation: if explanation is not None: self.explanation = explanation + @property def category(self) -> str: - """Gets the category of this AiNameMismatch. - + """ Mismatch type. Enum, available values: Unknown, FirstName, MiddleName, MiddleLastName, MiddleNickname, Gender, Context :return: The category of this AiNameMismatch. @@ -89,8 +89,7 @@ def category(self) -> str: @category.setter def category(self, category: str): - """Sets the category of this AiNameMismatch. - + """ Mismatch type. Enum, available values: Unknown, FirstName, MiddleName, MiddleLastName, MiddleNickname, Gender, Context :param category: The category of this AiNameMismatch. @@ -102,8 +101,7 @@ def category(self, category: str): @property def similarity(self) -> float: - """Gets the similarity of this AiNameMismatch. - + """ Similarity score :return: The similarity of this AiNameMismatch. @@ -113,8 +111,7 @@ def similarity(self) -> float: @similarity.setter def similarity(self, similarity: float): - """Sets the similarity of this AiNameMismatch. - + """ Similarity score :param similarity: The similarity of this AiNameMismatch. @@ -126,8 +123,7 @@ def similarity(self, similarity: float): @property def explanation(self) -> str: - """Gets the explanation of this AiNameMismatch. - + """ Explanation or mismatch subtype :return: The explanation of this AiNameMismatch. @@ -137,8 +133,7 @@ def explanation(self) -> str: @explanation.setter def explanation(self, explanation: str): - """Sets the explanation of this AiNameMismatch. - + """ Explanation or mismatch subtype :param explanation: The explanation of this AiNameMismatch. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py index 734f3a5..5834000 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py @@ -85,10 +85,10 @@ def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = if other_parsed_name is not None: self.other_parsed_name = other_parsed_name + @property def other_parsed_name(self) -> List[AiNameComponent]: - """Gets the other_parsed_name of this AiNameParsedMatchRequest. - + """ Other parsed name to match :return: The other_parsed_name of this AiNameParsedMatchRequest. @@ -98,8 +98,7 @@ def other_parsed_name(self) -> List[AiNameComponent]: @other_parsed_name.setter def other_parsed_name(self, other_parsed_name: List[AiNameComponent]): - """Sets the other_parsed_name of this AiNameParsedMatchRequest. - + """ Other parsed name to match :param other_parsed_name: The other_parsed_name of this AiNameParsedMatchRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py index a6451a1..e51c8e4 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_request.py @@ -79,10 +79,10 @@ def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = if parsed_name is not None: self.parsed_name = parsed_name + @property def cultural_context(self) -> AiNameCulturalContext: - """Gets the cultural_context of this AiNameParsedRequest. - + """ AiName parser cultural context :return: The cultural_context of this AiNameParsedRequest. @@ -92,8 +92,7 @@ def cultural_context(self) -> AiNameCulturalContext: @cultural_context.setter def cultural_context(self, cultural_context: AiNameCulturalContext): - """Sets the cultural_context of this AiNameParsedRequest. - + """ AiName parser cultural context :param cultural_context: The cultural_context of this AiNameParsedRequest. @@ -103,8 +102,7 @@ def cultural_context(self, cultural_context: AiNameCulturalContext): @property def format(self) -> str: - """Gets the format of this AiNameParsedRequest. - + """ Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' :return: The format of this AiNameParsedRequest. @@ -114,8 +112,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this AiNameParsedRequest. - + """ Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' :param format: The format of this AiNameParsedRequest. @@ -125,8 +122,7 @@ def format(self, format: str): @property def parsed_name(self) -> List[AiNameComponent]: - """Gets the parsed_name of this AiNameParsedRequest. - + """ Parsed name :return: The parsed_name of this AiNameParsedRequest. @@ -136,8 +132,7 @@ def parsed_name(self) -> List[AiNameComponent]: @parsed_name.setter def parsed_name(self, parsed_name: List[AiNameComponent]): - """Sets the parsed_name of this AiNameParsedRequest. - + """ Parsed name :param parsed_name: The parsed_name of this AiNameParsedRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py index faff85a..767f119 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted.py @@ -69,10 +69,10 @@ def __init__(self, name: str = None, score: float = None): if score is not None: self.score = score + @property def name(self) -> str: - """Gets the name of this AiNameWeighted. - + """ Name :return: The name of this AiNameWeighted. @@ -82,8 +82,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this AiNameWeighted. - + """ Name :param name: The name of this AiNameWeighted. @@ -93,8 +92,7 @@ def name(self, name: str): @property def score(self) -> float: - """Gets the score of this AiNameWeighted. - + """ Score of name :return: The score of this AiNameWeighted. @@ -104,8 +102,7 @@ def score(self) -> float: @score.setter def score(self, score: float): - """Sets the score of this AiNameWeighted. - + """ Score of name :param score: The score of this AiNameWeighted. diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py index 7172327..f3d5b56 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_weighted_variants.py @@ -71,10 +71,10 @@ def __init__(self, names: List[AiNameWeighted] = None, comments: str = None): if comments is not None: self.comments = comments + @property def names(self) -> List[AiNameWeighted]: - """Gets the names of this AiNameWeightedVariants. - + """ List of name variations :return: The names of this AiNameWeightedVariants. @@ -84,8 +84,7 @@ def names(self) -> List[AiNameWeighted]: @names.setter def names(self, names: List[AiNameWeighted]): - """Sets the names of this AiNameWeightedVariants. - + """ List of name variations :param names: The names of this AiNameWeightedVariants. @@ -95,8 +94,7 @@ def names(self, names: List[AiNameWeighted]): @property def comments(self) -> str: - """Gets the comments of this AiNameWeightedVariants. - + """ Usually empty; can contain extra message describing some issue occurred during processing :return: The comments of this AiNameWeightedVariants. @@ -106,8 +104,7 @@ def comments(self) -> str: @comments.setter def comments(self, comments: str): - """Sets the comments of this AiNameWeightedVariants. - + """ Usually empty; can contain extra message describing some issue occurred during processing :param comments: The comments of this AiNameWeightedVariants. diff --git a/sdk/AsposeEmailCloudSdk/models/alternate_view.py b/sdk/AsposeEmailCloudSdk/models/alternate_view.py index 48ea635..efeb009 100644 --- a/sdk/AsposeEmailCloudSdk/models/alternate_view.py +++ b/sdk/AsposeEmailCloudSdk/models/alternate_view.py @@ -98,10 +98,10 @@ def __init__(self, base64_data: str = None, content_id: str = None, content_type if linked_resources is not None: self.linked_resources = linked_resources + @property def base_uri(self) -> str: - """Gets the base_uri of this AlternateView. - + """ Base URI. :return: The base_uri of this AlternateView. @@ -111,8 +111,7 @@ def base_uri(self) -> str: @base_uri.setter def base_uri(self, base_uri: str): - """Sets the base_uri of this AlternateView. - + """ Base URI. :param base_uri: The base_uri of this AlternateView. @@ -122,8 +121,7 @@ def base_uri(self, base_uri: str): @property def linked_resources(self) -> List[LinkedResource]: - """Gets the linked_resources of this AlternateView. - + """ Embedded resources referred to by this alternate view. :return: The linked_resources of this AlternateView. @@ -133,8 +131,7 @@ def linked_resources(self) -> List[LinkedResource]: @linked_resources.setter def linked_resources(self, linked_resources: List[LinkedResource]): - """Sets the linked_resources of this AlternateView. - + """ Embedded resources referred to by this alternate view. :param linked_resources: The linked_resources of this AlternateView. diff --git a/sdk/AsposeEmailCloudSdk/models/associated_person.py b/sdk/AsposeEmailCloudSdk/models/associated_person.py index 26d8287..3b458d6 100644 --- a/sdk/AsposeEmailCloudSdk/models/associated_person.py +++ b/sdk/AsposeEmailCloudSdk/models/associated_person.py @@ -78,10 +78,10 @@ def __init__(self, name: str = None, category: EnumWithCustomOfAssociatedPersonC if preferred is not None: self.preferred = preferred + @property def name(self) -> str: - """Gets the name of this AssociatedPerson. - + """ Associated person's name. :return: The name of this AssociatedPerson. @@ -91,8 +91,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this AssociatedPerson. - + """ Associated person's name. :param name: The name of this AssociatedPerson. @@ -102,8 +101,7 @@ def name(self, name: str): @property def category(self) -> EnumWithCustomOfAssociatedPersonCategory: - """Gets the category of this AssociatedPerson. - + """ Associated person's category. :return: The category of this AssociatedPerson. @@ -113,8 +111,7 @@ def category(self) -> EnumWithCustomOfAssociatedPersonCategory: @category.setter def category(self, category: EnumWithCustomOfAssociatedPersonCategory): - """Sets the category of this AssociatedPerson. - + """ Associated person's category. :param category: The category of this AssociatedPerson. @@ -124,8 +121,7 @@ def category(self, category: EnumWithCustomOfAssociatedPersonCategory): @property def preferred(self) -> bool: - """Gets the preferred of this AssociatedPerson. - + """ Defines whether associated person is preferred. :return: The preferred of this AssociatedPerson. @@ -135,8 +131,7 @@ def preferred(self) -> bool: @preferred.setter def preferred(self, preferred: bool): - """Sets the preferred of this AssociatedPerson. - + """ Defines whether associated person is preferred. :param preferred: The preferred of this AssociatedPerson. diff --git a/sdk/AsposeEmailCloudSdk/models/attachment.py b/sdk/AsposeEmailCloudSdk/models/attachment.py index 2c32d7b..40f6227 100644 --- a/sdk/AsposeEmailCloudSdk/models/attachment.py +++ b/sdk/AsposeEmailCloudSdk/models/attachment.py @@ -118,10 +118,10 @@ def __init__(self, base64_data: str = None, content_id: str = None, content_type if preferred_text_encoding is not None: self.preferred_text_encoding = preferred_text_encoding + @property def content_disposition(self) -> str: - """Gets the content_disposition of this Attachment. - + """ Content-Disposition header. Read only. :return: The content_disposition of this Attachment. @@ -131,8 +131,7 @@ def content_disposition(self) -> str: @content_disposition.setter def content_disposition(self, content_disposition: str): - """Sets the content_disposition of this Attachment. - + """ Content-Disposition header. Read only. :param content_disposition: The content_disposition of this Attachment. @@ -142,8 +141,7 @@ def content_disposition(self, content_disposition: str): @property def is_embedded_message(self) -> bool: - """Gets the is_embedded_message of this Attachment. - + """ Determines if attachment is an embedded message. Read only. :return: The is_embedded_message of this Attachment. @@ -153,8 +151,7 @@ def is_embedded_message(self) -> bool: @is_embedded_message.setter def is_embedded_message(self, is_embedded_message: bool): - """Sets the is_embedded_message of this Attachment. - + """ Determines if attachment is an embedded message. Read only. :param is_embedded_message: The is_embedded_message of this Attachment. @@ -166,8 +163,7 @@ def is_embedded_message(self, is_embedded_message: bool): @property def name(self) -> str: - """Gets the name of this Attachment. - + """ Attachment name. :return: The name of this Attachment. @@ -177,8 +173,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this Attachment. - + """ Attachment name. :param name: The name of this Attachment. @@ -188,8 +183,7 @@ def name(self, name: str): @property def name_encoding(self) -> str: - """Gets the name_encoding of this Attachment. - + """ Encoding of attachment name. :return: The name_encoding of this Attachment. @@ -199,8 +193,7 @@ def name_encoding(self) -> str: @name_encoding.setter def name_encoding(self, name_encoding: str): - """Sets the name_encoding of this Attachment. - + """ Encoding of attachment name. :param name_encoding: The name_encoding of this Attachment. @@ -210,8 +203,7 @@ def name_encoding(self, name_encoding: str): @property def preferred_text_encoding(self) -> str: - """Gets the preferred_text_encoding of this Attachment. - + """ Preferred text encoding. :return: The preferred_text_encoding of this Attachment. @@ -221,8 +213,7 @@ def preferred_text_encoding(self) -> str: @preferred_text_encoding.setter def preferred_text_encoding(self, preferred_text_encoding: str): - """Sets the preferred_text_encoding of this Attachment. - + """ Preferred text encoding. :param preferred_text_encoding: The preferred_text_encoding of this Attachment. diff --git a/sdk/AsposeEmailCloudSdk/models/attachment_base.py b/sdk/AsposeEmailCloudSdk/models/attachment_base.py index 08ee167..f293426 100644 --- a/sdk/AsposeEmailCloudSdk/models/attachment_base.py +++ b/sdk/AsposeEmailCloudSdk/models/attachment_base.py @@ -85,10 +85,10 @@ def __init__(self, base64_data: str = None, content_id: str = None, content_type if headers is not None: self.headers = headers + @property def base64_data(self) -> str: - """Gets the base64_data of this AttachmentBase. - + """ Attachment file content as Base64 string. :return: The base64_data of this AttachmentBase. @@ -98,8 +98,7 @@ def base64_data(self) -> str: @base64_data.setter def base64_data(self, base64_data: str): - """Sets the base64_data of this AttachmentBase. - + """ Attachment file content as Base64 string. :param base64_data: The base64_data of this AttachmentBase. @@ -109,8 +108,7 @@ def base64_data(self, base64_data: str): @property def content_id(self) -> str: - """Gets the content_id of this AttachmentBase. - + """ Attachment content id :return: The content_id of this AttachmentBase. @@ -120,8 +118,7 @@ def content_id(self) -> str: @content_id.setter def content_id(self, content_id: str): - """Sets the content_id of this AttachmentBase. - + """ Attachment content id :param content_id: The content_id of this AttachmentBase. @@ -131,8 +128,7 @@ def content_id(self, content_id: str): @property def content_type(self) -> ContentType: - """Gets the content_type of this AttachmentBase. - + """ Content type :return: The content_type of this AttachmentBase. @@ -142,8 +138,7 @@ def content_type(self) -> ContentType: @content_type.setter def content_type(self, content_type: ContentType): - """Sets the content_type of this AttachmentBase. - + """ Content type :param content_type: The content_type of this AttachmentBase. @@ -153,8 +148,7 @@ def content_type(self, content_type: ContentType): @property def headers(self) -> Dict[str, str]: - """Gets the headers of this AttachmentBase. - + """ Attachment headers. :return: The headers of this AttachmentBase. @@ -164,8 +158,7 @@ def headers(self) -> Dict[str, str]: @headers.setter def headers(self, headers: Dict[str, str]): - """Sets the headers of this AttachmentBase. - + """ Attachment headers. :param headers: The headers of this AttachmentBase. diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py index dff2de8..5ee3f67 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_as_alternate_request.py @@ -78,10 +78,10 @@ def __init__(self, value: CalendarDto = None, action: str = None, sequence_id: s if sequence_id is not None: self.sequence_id = sequence_id + @property def value(self) -> CalendarDto: - """Gets the value of this CalendarAsAlternateRequest. - + """ iCalendar document model :return: The value of this CalendarAsAlternateRequest. @@ -91,8 +91,7 @@ def value(self) -> CalendarDto: @value.setter def value(self, value: CalendarDto): - """Sets the value of this CalendarAsAlternateRequest. - + """ iCalendar document model :param value: The value of this CalendarAsAlternateRequest. @@ -104,8 +103,7 @@ def value(self, value: CalendarDto): @property def action(self) -> str: - """Gets the action of this CalendarAsAlternateRequest. - + """ iCalendar actions. Enum, available values: Create, Update, Cancel :return: The action of this CalendarAsAlternateRequest. @@ -115,8 +113,7 @@ def action(self) -> str: @action.setter def action(self, action: str): - """Sets the action of this CalendarAsAlternateRequest. - + """ iCalendar actions. Enum, available values: Create, Update, Cancel :param action: The action of this CalendarAsAlternateRequest. @@ -130,8 +127,7 @@ def action(self, action: str): @property def sequence_id(self) -> str: - """Gets the sequence_id of this CalendarAsAlternateRequest. - + """ iCalendar sequence id :return: The sequence_id of this CalendarAsAlternateRequest. @@ -141,8 +137,7 @@ def sequence_id(self) -> str: @sequence_id.setter def sequence_id(self, sequence_id: str): - """Sets the sequence_id of this CalendarAsAlternateRequest. - + """ iCalendar sequence id :param sequence_id: The sequence_id of this CalendarAsAlternateRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py index 5df43fe..4ff40a5 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_as_file_request.py @@ -71,10 +71,10 @@ def __init__(self, format: str = None, value: CalendarDto = None): if value is not None: self.value = value + @property def format(self) -> str: - """Gets the format of this CalendarAsFileRequest. - + """ Calendar file format Enum, available values: Ics, Msg :return: The format of this CalendarAsFileRequest. @@ -84,8 +84,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this CalendarAsFileRequest. - + """ Calendar file format Enum, available values: Ics, Msg :param format: The format of this CalendarAsFileRequest. @@ -97,8 +96,7 @@ def format(self, format: str): @property def value(self) -> CalendarDto: - """Gets the value of this CalendarAsFileRequest. - + """ iCalendar model :return: The value of this CalendarAsFileRequest. @@ -108,8 +106,7 @@ def value(self) -> CalendarDto: @value.setter def value(self, value: CalendarDto): - """Sets the value of this CalendarAsFileRequest. - + """ iCalendar model :param value: The value of this CalendarAsFileRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/calendar_dto.py index 5130078..a2c6ebd 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_dto.py @@ -214,10 +214,10 @@ def __init__(self, attachments: List[Attachment] = None, attendees: List[MailAdd if transparency is not None: self.transparency = transparency + @property def attachments(self) -> List[Attachment]: - """Gets the attachments of this CalendarDto. - + """ Document attachments. :return: The attachments of this CalendarDto. @@ -227,8 +227,7 @@ def attachments(self) -> List[Attachment]: @attachments.setter def attachments(self, attachments: List[Attachment]): - """Sets the attachments of this CalendarDto. - + """ Document attachments. :param attachments: The attachments of this CalendarDto. @@ -238,8 +237,7 @@ def attachments(self, attachments: List[Attachment]): @property def attendees(self) -> List[MailAddress]: - """Gets the attendees of this CalendarDto. - + """ Event attendees. :return: The attendees of this CalendarDto. @@ -249,8 +247,7 @@ def attendees(self) -> List[MailAddress]: @attendees.setter def attendees(self, attendees: List[MailAddress]): - """Sets the attendees of this CalendarDto. - + """ Event attendees. :param attendees: The attendees of this CalendarDto. @@ -262,8 +259,7 @@ def attendees(self, attendees: List[MailAddress]): @property def description(self) -> str: - """Gets the description of this CalendarDto. - + """ Description. :return: The description of this CalendarDto. @@ -273,8 +269,7 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this CalendarDto. - + """ Description. :param description: The description of this CalendarDto. @@ -284,8 +279,7 @@ def description(self, description: str): @property def end_date(self) -> datetime: - """Gets the end_date of this CalendarDto. - + """ End date. :return: The end_date of this CalendarDto. @@ -295,8 +289,7 @@ def end_date(self) -> datetime: @end_date.setter def end_date(self, end_date: datetime): - """Sets the end_date of this CalendarDto. - + """ End date. :param end_date: The end_date of this CalendarDto. @@ -308,8 +301,7 @@ def end_date(self, end_date: datetime): @property def end_time_zone(self) -> str: - """Gets the end_time_zone of this CalendarDto. - + """ End time zone. :return: The end_time_zone of this CalendarDto. @@ -319,8 +311,7 @@ def end_time_zone(self) -> str: @end_time_zone.setter def end_time_zone(self, end_time_zone: str): - """Sets the end_time_zone of this CalendarDto. - + """ End time zone. :param end_time_zone: The end_time_zone of this CalendarDto. @@ -330,8 +321,7 @@ def end_time_zone(self, end_time_zone: str): @property def flags(self) -> List[str]: - """Gets the flags of this CalendarDto. - + """ Appointment flags. Items: Enumerates iCalendar flags. Enum, available values: None, AllDayEvent :return: The flags of this CalendarDto. @@ -341,8 +331,7 @@ def flags(self) -> List[str]: @flags.setter def flags(self, flags: List[str]): - """Sets the flags of this CalendarDto. - + """ Appointment flags. Items: Enumerates iCalendar flags. Enum, available values: None, AllDayEvent :param flags: The flags of this CalendarDto. @@ -352,8 +341,7 @@ def flags(self, flags: List[str]): @property def is_description_html(self) -> bool: - """Gets the is_description_html of this CalendarDto. - + """ Indicates if description is in HTML format. :return: The is_description_html of this CalendarDto. @@ -363,8 +351,7 @@ def is_description_html(self) -> bool: @is_description_html.setter def is_description_html(self, is_description_html: bool): - """Sets the is_description_html of this CalendarDto. - + """ Indicates if description is in HTML format. :param is_description_html: The is_description_html of this CalendarDto. @@ -376,8 +363,7 @@ def is_description_html(self, is_description_html: bool): @property def location(self) -> str: - """Gets the location of this CalendarDto. - + """ Location. :return: The location of this CalendarDto. @@ -387,8 +373,7 @@ def location(self) -> str: @location.setter def location(self, location: str): - """Sets the location of this CalendarDto. - + """ Location. :param location: The location of this CalendarDto. @@ -402,8 +387,7 @@ def location(self, location: str): @property def method(self) -> str: - """Gets the method of this CalendarDto. - + """ Defines the iCalendar object method type associated with the calendar document. Enum, available values: None, Publish, Request, Reply, Add, Cancel, Refresh, Counter, DeclineCounter :return: The method of this CalendarDto. @@ -413,8 +397,7 @@ def method(self) -> str: @method.setter def method(self, method: str): - """Sets the method of this CalendarDto. - + """ Defines the iCalendar object method type associated with the calendar document. Enum, available values: None, Publish, Request, Reply, Add, Cancel, Refresh, Counter, DeclineCounter :param method: The method of this CalendarDto. @@ -426,8 +409,7 @@ def method(self, method: str): @property def microsoft_busy_status(self) -> str: - """Gets the microsoft_busy_status of this CalendarDto. - + """ Specifies the BUSY status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof :return: The microsoft_busy_status of this CalendarDto. @@ -437,8 +419,7 @@ def microsoft_busy_status(self) -> str: @microsoft_busy_status.setter def microsoft_busy_status(self, microsoft_busy_status: str): - """Sets the microsoft_busy_status of this CalendarDto. - + """ Specifies the BUSY status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof :param microsoft_busy_status: The microsoft_busy_status of this CalendarDto. @@ -450,8 +431,7 @@ def microsoft_busy_status(self, microsoft_busy_status: str): @property def microsoft_intended_status(self) -> str: - """Gets the microsoft_intended_status of this CalendarDto. - + """ Specifies the INTENDED status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof :return: The microsoft_intended_status of this CalendarDto. @@ -461,8 +441,7 @@ def microsoft_intended_status(self) -> str: @microsoft_intended_status.setter def microsoft_intended_status(self, microsoft_intended_status: str): - """Sets the microsoft_intended_status of this CalendarDto. - + """ Specifies the INTENDED status. Enum, available values: NotDefined, Free, Tentative, Busy, Oof :param microsoft_intended_status: The microsoft_intended_status of this CalendarDto. @@ -474,8 +453,7 @@ def microsoft_intended_status(self, microsoft_intended_status: str): @property def optional_attendees(self) -> List[MailAddress]: - """Gets the optional_attendees of this CalendarDto. - + """ Optional attendees. :return: The optional_attendees of this CalendarDto. @@ -485,8 +463,7 @@ def optional_attendees(self) -> List[MailAddress]: @optional_attendees.setter def optional_attendees(self, optional_attendees: List[MailAddress]): - """Sets the optional_attendees of this CalendarDto. - + """ Optional attendees. :param optional_attendees: The optional_attendees of this CalendarDto. @@ -496,8 +473,7 @@ def optional_attendees(self, optional_attendees: List[MailAddress]): @property def organizer(self) -> MailAddress: - """Gets the organizer of this CalendarDto. - + """ Event organizer. :return: The organizer of this CalendarDto. @@ -507,8 +483,7 @@ def organizer(self) -> MailAddress: @organizer.setter def organizer(self, organizer: MailAddress): - """Sets the organizer of this CalendarDto. - + """ Event organizer. :param organizer: The organizer of this CalendarDto. @@ -520,8 +495,7 @@ def organizer(self, organizer: MailAddress): @property def recurrence_string(self) -> str: - """Gets the recurrence_string of this CalendarDto. - + """ Deprecated, use 'Recurrence' property. String representation of recurrence pattern (See iCalendar RFC, \"Recurrence rule\" section). For example: For daily recurrence: \"FREQ=DAILY;COUNT=10;WKST=MO\" For monthly recurrence: \"BYSETPOS=1;BYDAY=MO,TU,WE,TH,FR;FREQ=MONTHLY;INTERVAL=10;WKST=MO\" For yearly recurrence: \"BYMONTHDAY=30;BYMONTH=1;FREQ=YEARLY;WKST=MO\" :return: The recurrence_string of this CalendarDto. @@ -531,8 +505,7 @@ def recurrence_string(self) -> str: @recurrence_string.setter def recurrence_string(self, recurrence_string: str): - """Sets the recurrence_string of this CalendarDto. - + """ Deprecated, use 'Recurrence' property. String representation of recurrence pattern (See iCalendar RFC, \"Recurrence rule\" section). For example: For daily recurrence: \"FREQ=DAILY;COUNT=10;WKST=MO\" For monthly recurrence: \"BYSETPOS=1;BYDAY=MO,TU,WE,TH,FR;FREQ=MONTHLY;INTERVAL=10;WKST=MO\" For yearly recurrence: \"BYMONTHDAY=30;BYMONTH=1;FREQ=YEARLY;WKST=MO\" :param recurrence_string: The recurrence_string of this CalendarDto. @@ -542,8 +515,7 @@ def recurrence_string(self, recurrence_string: str): @property def recurrence(self) -> RecurrencePatternDto: - """Gets the recurrence of this CalendarDto. - + """ Recurrence pattern :return: The recurrence of this CalendarDto. @@ -553,8 +525,7 @@ def recurrence(self) -> RecurrencePatternDto: @recurrence.setter def recurrence(self, recurrence: RecurrencePatternDto): - """Sets the recurrence of this CalendarDto. - + """ Recurrence pattern :param recurrence: The recurrence of this CalendarDto. @@ -564,8 +535,7 @@ def recurrence(self, recurrence: RecurrencePatternDto): @property def reminders(self) -> List[CalendarReminder]: - """Gets the reminders of this CalendarDto. - + """ Reminders. :return: The reminders of this CalendarDto. @@ -575,8 +545,7 @@ def reminders(self) -> List[CalendarReminder]: @reminders.setter def reminders(self, reminders: List[CalendarReminder]): - """Sets the reminders of this CalendarDto. - + """ Reminders. :param reminders: The reminders of this CalendarDto. @@ -586,8 +555,7 @@ def reminders(self, reminders: List[CalendarReminder]): @property def sequence_id(self) -> str: - """Gets the sequence_id of this CalendarDto. - + """ The sequence id. Read only. :return: The sequence_id of this CalendarDto. @@ -597,8 +565,7 @@ def sequence_id(self) -> str: @sequence_id.setter def sequence_id(self, sequence_id: str): - """Sets the sequence_id of this CalendarDto. - + """ The sequence id. Read only. :param sequence_id: The sequence_id of this CalendarDto. @@ -608,8 +575,7 @@ def sequence_id(self, sequence_id: str): @property def start_date(self) -> datetime: - """Gets the start_date of this CalendarDto. - + """ Start date. :return: The start_date of this CalendarDto. @@ -619,8 +585,7 @@ def start_date(self) -> datetime: @start_date.setter def start_date(self, start_date: datetime): - """Sets the start_date of this CalendarDto. - + """ Start date. :param start_date: The start_date of this CalendarDto. @@ -632,8 +597,7 @@ def start_date(self, start_date: datetime): @property def start_time_zone(self) -> str: - """Gets the start_time_zone of this CalendarDto. - + """ Start time zone. :return: The start_time_zone of this CalendarDto. @@ -643,8 +607,7 @@ def start_time_zone(self) -> str: @start_time_zone.setter def start_time_zone(self, start_time_zone: str): - """Sets the start_time_zone of this CalendarDto. - + """ Start time zone. :param start_time_zone: The start_time_zone of this CalendarDto. @@ -654,8 +617,7 @@ def start_time_zone(self, start_time_zone: str): @property def status(self) -> str: - """Gets the status of this CalendarDto. - + """ Defines the overall status or confirmation for the calendar document. Enum, available values: NotDefined, Cancelled, Tentative, Confirmed :return: The status of this CalendarDto. @@ -665,8 +627,7 @@ def status(self) -> str: @status.setter def status(self, status: str): - """Sets the status of this CalendarDto. - + """ Defines the overall status or confirmation for the calendar document. Enum, available values: NotDefined, Cancelled, Tentative, Confirmed :param status: The status of this CalendarDto. @@ -678,8 +639,7 @@ def status(self, status: str): @property def summary(self) -> str: - """Gets the summary of this CalendarDto. - + """ Summary. :return: The summary of this CalendarDto. @@ -689,8 +649,7 @@ def summary(self) -> str: @summary.setter def summary(self, summary: str): - """Sets the summary of this CalendarDto. - + """ Summary. :param summary: The summary of this CalendarDto. @@ -700,8 +659,7 @@ def summary(self, summary: str): @property def transparency(self) -> str: - """Gets the transparency of this CalendarDto. - + """ Specifies whether or not this appointment is intended to be visible in availability searches. Enum, available values: NotDefined, Transparent, Opaque :return: The transparency of this CalendarDto. @@ -711,8 +669,7 @@ def transparency(self) -> str: @transparency.setter def transparency(self, transparency: str): - """Sets the transparency of this CalendarDto. - + """ Specifies whether or not this appointment is intended to be visible in availability searches. Enum, available values: NotDefined, Transparent, Opaque :param transparency: The transparency of this CalendarDto. diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py b/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py index 2d7bdac..8391e8e 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_reminder.py @@ -114,10 +114,10 @@ def __init__(self, action: str = None, attachments: List[str] = None, attendees: if trigger is not None: self.trigger = trigger + @property def action(self) -> str: - """Gets the action of this CalendarReminder. - + """ Defines the action to be invoked when an alarm is triggered. Enum, available values: Audio, Display, Email, Procedure, None :return: The action of this CalendarReminder. @@ -127,8 +127,7 @@ def action(self) -> str: @action.setter def action(self, action: str): - """Sets the action of this CalendarReminder. - + """ Defines the action to be invoked when an alarm is triggered. Enum, available values: Audio, Display, Email, Procedure, None :param action: The action of this CalendarReminder. @@ -140,8 +139,7 @@ def action(self, action: str): @property def attachments(self) -> List[str]: - """Gets the attachments of this CalendarReminder. - + """ Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment content :return: The attachments of this CalendarReminder. @@ -151,8 +149,7 @@ def attachments(self) -> List[str]: @attachments.setter def attachments(self, attachments: List[str]): - """Sets the attachments of this CalendarReminder. - + """ Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment content :param attachments: The attachments of this CalendarReminder. @@ -162,8 +159,7 @@ def attachments(self, attachments: List[str]): @property def attendees(self) -> List[ReminderAttendee]: - """Gets the attendees of this CalendarReminder. - + """ Contains collection of ReminderAttendee objects. :return: The attendees of this CalendarReminder. @@ -173,8 +169,7 @@ def attendees(self) -> List[ReminderAttendee]: @attendees.setter def attendees(self, attendees: List[ReminderAttendee]): - """Sets the attendees of this CalendarReminder. - + """ Contains collection of ReminderAttendee objects. :param attendees: The attendees of this CalendarReminder. @@ -184,8 +179,7 @@ def attendees(self, attendees: List[ReminderAttendee]): @property def description(self) -> str: - """Gets the description of this CalendarReminder. - + """ Provides a more complete description of the alarm. :return: The description of this CalendarReminder. @@ -195,8 +189,7 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this CalendarReminder. - + """ Provides a more complete description of the alarm. :param description: The description of this CalendarReminder. @@ -206,8 +199,7 @@ def description(self, description: str): @property def duration(self) -> int: - """Gets the duration of this CalendarReminder. - + """ Specifies the delay period in ticks, after which the alarm will repeat. :return: The duration of this CalendarReminder. @@ -217,8 +209,7 @@ def duration(self) -> int: @duration.setter def duration(self, duration: int): - """Sets the duration of this CalendarReminder. - + """ Specifies the delay period in ticks, after which the alarm will repeat. :param duration: The duration of this CalendarReminder. @@ -228,8 +219,7 @@ def duration(self, duration: int): @property def repeat(self) -> int: - """Gets the repeat of this CalendarReminder. - + """ Defines the number of time the alarm should be repeated, after the initial trigger. :return: The repeat of this CalendarReminder. @@ -239,8 +229,7 @@ def repeat(self) -> int: @repeat.setter def repeat(self, repeat: int): - """Sets the repeat of this CalendarReminder. - + """ Defines the number of time the alarm should be repeated, after the initial trigger. :param repeat: The repeat of this CalendarReminder. @@ -252,8 +241,7 @@ def repeat(self, repeat: int): @property def summary(self) -> str: - """Gets the summary of this CalendarReminder. - + """ Defines a short summary or subject for the alarm. :return: The summary of this CalendarReminder. @@ -263,8 +251,7 @@ def summary(self) -> str: @summary.setter def summary(self, summary: str): - """Sets the summary of this CalendarReminder. - + """ Defines a short summary or subject for the alarm. :param summary: The summary of this CalendarReminder. @@ -274,8 +261,7 @@ def summary(self, summary: str): @property def trigger(self) -> ReminderTrigger: - """Gets the trigger of this CalendarReminder. - + """ Specifies when an alarm will trigger. :return: The trigger of this CalendarReminder. @@ -285,8 +271,7 @@ def trigger(self) -> ReminderTrigger: @trigger.setter def trigger(self, trigger: ReminderTrigger): - """Sets the trigger of this CalendarReminder. - + """ Specifies when an alarm will trigger. :param trigger: The trigger of this CalendarReminder. diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py index de90d7d..4daed57 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_save_request.py @@ -79,10 +79,10 @@ def __init__(self, storage_file: StorageFileLocation = None, value: CalendarDto if format is not None: self.format = format + @property def format(self) -> str: - """Gets the format of this CalendarSaveRequest. - + """ Calendar file format Enum, available values: Ics, Msg :return: The format of this CalendarSaveRequest. @@ -92,8 +92,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this CalendarSaveRequest. - + """ Calendar file format Enum, available values: Ics, Msg :param format: The format of this CalendarSaveRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py b/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py index 201c4d0..204dfb9 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_storage_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[StorageModelOfCalendarDto] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py index 2d0ac91..91d77f5 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_base_request.py @@ -64,10 +64,10 @@ def __init__(self, account_location: StorageFileLocation = None): if account_location is not None: self.account_location = account_location + @property def account_location(self) -> StorageFileLocation: - """Gets the account_location of this ClientAccountBaseRequest. - + """ Email client account configuration location on storage. :return: The account_location of this ClientAccountBaseRequest. @@ -77,8 +77,7 @@ def account_location(self) -> StorageFileLocation: @account_location.setter def account_location(self, account_location: StorageFileLocation): - """Sets the account_location of this ClientAccountBaseRequest. - + """ Email client account configuration location on storage. :param account_location: The account_location of this ClientAccountBaseRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py index 2d504fa..4ab23b0 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_create_request.py @@ -79,10 +79,10 @@ def __init__(self, account_location: StorageFileLocation = None, parent_folder: if folder_name is not None: self.folder_name = folder_name + @property def parent_folder(self) -> str: - """Gets the parent_folder of this ClientFolderCreateRequest. - + """ Path to parent folder. :return: The parent_folder of this ClientFolderCreateRequest. @@ -92,8 +92,7 @@ def parent_folder(self) -> str: @parent_folder.setter def parent_folder(self, parent_folder: str): - """Sets the parent_folder of this ClientFolderCreateRequest. - + """ Path to parent folder. :param parent_folder: The parent_folder of this ClientFolderCreateRequest. @@ -103,8 +102,7 @@ def parent_folder(self, parent_folder: str): @property def folder_name(self) -> str: - """Gets the folder_name of this ClientFolderCreateRequest. - + """ Folder name. :return: The folder_name of this ClientFolderCreateRequest. @@ -114,8 +112,7 @@ def folder_name(self) -> str: @folder_name.setter def folder_name(self, folder_name: str): - """Sets the folder_name of this ClientFolderCreateRequest. - + """ Folder name. :param folder_name: The folder_name of this ClientFolderCreateRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py index 65b731b..fb43cf0 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_delete_request.py @@ -72,10 +72,10 @@ def __init__(self, account_location: StorageFileLocation = None, folder: str = N if folder is not None: self.folder = folder + @property def folder(self) -> str: - """Gets the folder of this ClientFolderDeleteRequest. - + """ Path to folder to delete. :return: The folder of this ClientFolderDeleteRequest. @@ -85,8 +85,7 @@ def folder(self) -> str: @folder.setter def folder(self, folder: str): - """Sets the folder of this ClientFolderDeleteRequest. - + """ Path to folder to delete. :param folder: The folder of this ClientFolderDeleteRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py index 828ee18..16775f3 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_append_request.py @@ -87,10 +87,10 @@ def __init__(self, account_location: StorageFileLocation = None, folder: str = N if mark_as_sent is not None: self.mark_as_sent = mark_as_sent + @property def folder(self) -> str: - """Gets the folder of this ClientMessageAppendRequest. - + """ Path to folder on email server to append message to. :return: The folder of this ClientMessageAppendRequest. @@ -100,8 +100,7 @@ def folder(self) -> str: @folder.setter def folder(self, folder: str): - """Sets the folder of this ClientMessageAppendRequest. - + """ Path to folder on email server to append message to. :param folder: The folder of this ClientMessageAppendRequest. @@ -111,8 +110,7 @@ def folder(self, folder: str): @property def message(self) -> MailMessageBase: - """Gets the message of this ClientMessageAppendRequest. - + """ Message to append. :return: The message of this ClientMessageAppendRequest. @@ -122,8 +120,7 @@ def message(self) -> MailMessageBase: @message.setter def message(self, message: MailMessageBase): - """Sets the message of this ClientMessageAppendRequest. - + """ Message to append. :param message: The message of this ClientMessageAppendRequest. @@ -135,8 +132,7 @@ def message(self, message: MailMessageBase): @property def mark_as_sent(self) -> bool: - """Gets the mark_as_sent of this ClientMessageAppendRequest. - + """ Determines that appended message should be market as sent or not. :return: The mark_as_sent of this ClientMessageAppendRequest. @@ -146,8 +142,7 @@ def mark_as_sent(self) -> bool: @mark_as_sent.setter def mark_as_sent(self, mark_as_sent: bool): - """Sets the mark_as_sent of this ClientMessageAppendRequest. - + """ Determines that appended message should be market as sent or not. :param mark_as_sent: The mark_as_sent of this ClientMessageAppendRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py index 3ccf148..8465d0c 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_base_request.py @@ -72,10 +72,10 @@ def __init__(self, account_location: StorageFileLocation = None, message_id: str if message_id is not None: self.message_id = message_id + @property def message_id(self) -> str: - """Gets the message_id of this ClientMessageBaseRequest. - + """ Message identifier. :return: The message_id of this ClientMessageBaseRequest. @@ -85,8 +85,7 @@ def message_id(self) -> str: @message_id.setter def message_id(self, message_id: str): - """Sets the message_id of this ClientMessageBaseRequest. - + """ Message identifier. :param message_id: The message_id of this ClientMessageBaseRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py index 83b734f..d7b77fb 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_delete_request.py @@ -78,10 +78,10 @@ def __init__(self, account_location: StorageFileLocation = None, message_id: str if folder is not None: self.folder = folder + @property def folder(self) -> str: - """Gets the folder of this ClientMessageDeleteRequest. - + """ Folder to delete message from. :return: The folder of this ClientMessageDeleteRequest. @@ -91,8 +91,7 @@ def folder(self) -> str: @folder.setter def folder(self, folder: str): - """Sets the folder of this ClientMessageDeleteRequest. - + """ Folder to delete message from. :param folder: The folder of this ClientMessageDeleteRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py index 7a885d4..772f15a 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_move_request.py @@ -85,10 +85,10 @@ def __init__(self, account_location: StorageFileLocation = None, message_id: str if destination_folder is not None: self.destination_folder = destination_folder + @property def source_folder(self) -> str: - """Gets the source_folder of this ClientMessageMoveRequest. - + """ Folder to move message from. :return: The source_folder of this ClientMessageMoveRequest. @@ -98,8 +98,7 @@ def source_folder(self) -> str: @source_folder.setter def source_folder(self, source_folder: str): - """Sets the source_folder of this ClientMessageMoveRequest. - + """ Folder to move message from. :param source_folder: The source_folder of this ClientMessageMoveRequest. @@ -109,8 +108,7 @@ def source_folder(self, source_folder: str): @property def destination_folder(self) -> str: - """Gets the destination_folder of this ClientMessageMoveRequest. - + """ Folder to move message to. :return: The destination_folder of this ClientMessageMoveRequest. @@ -120,8 +118,7 @@ def destination_folder(self) -> str: @destination_folder.setter def destination_folder(self, destination_folder: str): - """Sets the destination_folder of this ClientMessageMoveRequest. - + """ Folder to move message to. :param destination_folder: The destination_folder of this ClientMessageMoveRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py index 3585833..4ff5735 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_send_request.py @@ -73,10 +73,10 @@ def __init__(self, account_location: StorageFileLocation = None, message: MailMe if message is not None: self.message = message + @property def message(self) -> MailMessageBase: - """Gets the message of this ClientMessageSendRequest. - + """ Message to send :return: The message of this ClientMessageSendRequest. @@ -86,8 +86,7 @@ def message(self) -> MailMessageBase: @message.setter def message(self, message: MailMessageBase): - """Sets the message of this ClientMessageSendRequest. - + """ Message to send :param message: The message of this ClientMessageSendRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py index b4e5f9d..02c2f8c 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_set_is_read_request.py @@ -78,10 +78,10 @@ def __init__(self, account_location: StorageFileLocation = None, message_id: str if is_read is not None: self.is_read = is_read + @property def is_read(self) -> bool: - """Gets the is_read of this ClientMessageSetIsReadRequest. - + """ Message is read flag. :return: The is_read of this ClientMessageSetIsReadRequest. @@ -91,8 +91,7 @@ def is_read(self) -> bool: @is_read.setter def is_read(self, is_read: bool): - """Sets the is_read of this ClientMessageSetIsReadRequest. - + """ Message is read flag. :param is_read: The is_read of this ClientMessageSetIsReadRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py index 6efd9b5..ea8fa1a 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_base_request.py @@ -72,10 +72,10 @@ def __init__(self, account_location: StorageFileLocation = None, thread_id: str if thread_id is not None: self.thread_id = thread_id + @property def thread_id(self) -> str: - """Gets the thread_id of this ClientThreadBaseRequest. - + """ Thread identifier. :return: The thread_id of this ClientThreadBaseRequest. @@ -85,8 +85,7 @@ def thread_id(self) -> str: @thread_id.setter def thread_id(self, thread_id: str): - """Sets the thread_id of this ClientThreadBaseRequest. - + """ Thread identifier. :param thread_id: The thread_id of this ClientThreadBaseRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py index 3a9b562..2e74075 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_delete_request.py @@ -78,10 +78,10 @@ def __init__(self, account_location: StorageFileLocation = None, thread_id: str if folder is not None: self.folder = folder + @property def folder(self) -> str: - """Gets the folder of this ClientThreadDeleteRequest. - + """ Folder on email server, where thread is stored. :return: The folder of this ClientThreadDeleteRequest. @@ -91,8 +91,7 @@ def folder(self) -> str: @folder.setter def folder(self, folder: str): - """Sets the folder of this ClientThreadDeleteRequest. - + """ Folder on email server, where thread is stored. :param folder: The folder of this ClientThreadDeleteRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py index 0f97e8a..c6d37cb 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_move_request.py @@ -78,10 +78,10 @@ def __init__(self, account_location: StorageFileLocation = None, thread_id: str if destination_folder is not None: self.destination_folder = destination_folder + @property def destination_folder(self) -> str: - """Gets the destination_folder of this ClientThreadMoveRequest. - + """ Email account folder to move thread to. :return: The destination_folder of this ClientThreadMoveRequest. @@ -91,8 +91,7 @@ def destination_folder(self) -> str: @destination_folder.setter def destination_folder(self, destination_folder: str): - """Sets the destination_folder of this ClientThreadMoveRequest. - + """ Email account folder to move thread to. :param destination_folder: The destination_folder of this ClientThreadMoveRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py index 9603499..d7966cd 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_set_is_read_request.py @@ -85,10 +85,10 @@ def __init__(self, account_location: StorageFileLocation = None, thread_id: str if folder is not None: self.folder = folder + @property def is_read(self) -> bool: - """Gets the is_read of this ClientThreadSetIsReadRequest. - + """ Message is read flag. :return: The is_read of this ClientThreadSetIsReadRequest. @@ -98,8 +98,7 @@ def is_read(self) -> bool: @is_read.setter def is_read(self, is_read: bool): - """Sets the is_read of this ClientThreadSetIsReadRequest. - + """ Message is read flag. :param is_read: The is_read of this ClientThreadSetIsReadRequest. @@ -111,8 +110,7 @@ def is_read(self, is_read: bool): @property def folder(self) -> str: - """Gets the folder of this ClientThreadSetIsReadRequest. - + """ Folder on email server, where thread is stored. :return: The folder of this ClientThreadSetIsReadRequest. @@ -122,8 +120,7 @@ def folder(self) -> str: @folder.setter def folder(self, folder: str): - """Sets the folder of this ClientThreadSetIsReadRequest. - + """ Folder on email server, where thread is stored. :param folder: The folder of this ClientThreadSetIsReadRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py index b142154..73a27cd 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_as_file_request.py @@ -71,10 +71,10 @@ def __init__(self, format: str = None, value: ContactDto = None): if value is not None: self.value = value + @property def format(self) -> str: - """Gets the format of this ContactAsFileRequest. - + """ Enumerates contact formats. Enum, available values: VCard, WebDav, Msg :return: The format of this ContactAsFileRequest. @@ -84,8 +84,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this ContactAsFileRequest. - + """ Enumerates contact formats. Enum, available values: VCard, WebDav, Msg :param format: The format of this ContactAsFileRequest. @@ -97,8 +96,7 @@ def format(self, format: str): @property def value(self) -> ContactDto: - """Gets the value of this ContactAsFileRequest. - + """ Contact model. :return: The value of this ContactAsFileRequest. @@ -108,8 +106,7 @@ def value(self) -> ContactDto: @value.setter def value(self, value: ContactDto): - """Sets the value of this ContactAsFileRequest. - + """ Contact model. :param value: The value of this ContactAsFileRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/contact_dto.py b/sdk/AsposeEmailCloudSdk/models/contact_dto.py index fe5b8e1..63923f1 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_dto.py @@ -317,10 +317,10 @@ def __init__(self, associated_persons: List[AssociatedPerson] = None, attachment if urls is not None: self.urls = urls + @property def associated_persons(self) -> List[AssociatedPerson]: - """Gets the associated_persons of this ContactDto. - + """ Associated persons. :return: The associated_persons of this ContactDto. @@ -330,8 +330,7 @@ def associated_persons(self) -> List[AssociatedPerson]: @associated_persons.setter def associated_persons(self, associated_persons: List[AssociatedPerson]): - """Sets the associated_persons of this ContactDto. - + """ Associated persons. :param associated_persons: The associated_persons of this ContactDto. @@ -341,8 +340,7 @@ def associated_persons(self, associated_persons: List[AssociatedPerson]): @property def attachments(self) -> List[Attachment]: - """Gets the attachments of this ContactDto. - + """ Document attachments. :return: The attachments of this ContactDto. @@ -352,8 +350,7 @@ def attachments(self) -> List[Attachment]: @attachments.setter def attachments(self, attachments: List[Attachment]): - """Sets the attachments of this ContactDto. - + """ Document attachments. :param attachments: The attachments of this ContactDto. @@ -363,8 +360,7 @@ def attachments(self, attachments: List[Attachment]): @property def company_name(self) -> str: - """Gets the company_name of this ContactDto. - + """ Company name. :return: The company_name of this ContactDto. @@ -374,8 +370,7 @@ def company_name(self) -> str: @company_name.setter def company_name(self, company_name: str): - """Sets the company_name of this ContactDto. - + """ Company name. :param company_name: The company_name of this ContactDto. @@ -385,8 +380,7 @@ def company_name(self, company_name: str): @property def computer_network_name(self) -> str: - """Gets the computer_network_name of this ContactDto. - + """ Computer network. :return: The computer_network_name of this ContactDto. @@ -396,8 +390,7 @@ def computer_network_name(self) -> str: @computer_network_name.setter def computer_network_name(self, computer_network_name: str): - """Sets the computer_network_name of this ContactDto. - + """ Computer network. :param computer_network_name: The computer_network_name of this ContactDto. @@ -407,8 +400,7 @@ def computer_network_name(self, computer_network_name: str): @property def customer_id(self) -> str: - """Gets the customer_id of this ContactDto. - + """ Customer id. :return: The customer_id of this ContactDto. @@ -418,8 +410,7 @@ def customer_id(self) -> str: @customer_id.setter def customer_id(self, customer_id: str): - """Sets the customer_id of this ContactDto. - + """ Customer id. :param customer_id: The customer_id of this ContactDto. @@ -429,8 +420,7 @@ def customer_id(self, customer_id: str): @property def department_name(self) -> str: - """Gets the department_name of this ContactDto. - + """ Department name. :return: The department_name of this ContactDto. @@ -440,8 +430,7 @@ def department_name(self) -> str: @department_name.setter def department_name(self, department_name: str): - """Sets the department_name of this ContactDto. - + """ Department name. :param department_name: The department_name of this ContactDto. @@ -451,8 +440,7 @@ def department_name(self, department_name: str): @property def display_name(self) -> str: - """Gets the display_name of this ContactDto. - + """ Display name. :return: The display_name of this ContactDto. @@ -462,8 +450,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this ContactDto. - + """ Display name. :param display_name: The display_name of this ContactDto. @@ -473,8 +460,7 @@ def display_name(self, display_name: str): @property def email_addresses(self) -> List[EmailAddress]: - """Gets the email_addresses of this ContactDto. - + """ Person's email addresses. :return: The email_addresses of this ContactDto. @@ -484,8 +470,7 @@ def email_addresses(self) -> List[EmailAddress]: @email_addresses.setter def email_addresses(self, email_addresses: List[EmailAddress]): - """Sets the email_addresses of this ContactDto. - + """ Person's email addresses. :param email_addresses: The email_addresses of this ContactDto. @@ -495,8 +480,7 @@ def email_addresses(self, email_addresses: List[EmailAddress]): @property def events(self) -> List[CustomerEvent]: - """Gets the events of this ContactDto. - + """ Person's events. :return: The events of this ContactDto. @@ -506,8 +490,7 @@ def events(self) -> List[CustomerEvent]: @events.setter def events(self, events: List[CustomerEvent]): - """Sets the events of this ContactDto. - + """ Person's events. :param events: The events of this ContactDto. @@ -517,8 +500,7 @@ def events(self, events: List[CustomerEvent]): @property def file_as(self) -> str: - """Gets the file_as of this ContactDto. - + """ A name used for sorting. :return: The file_as of this ContactDto. @@ -528,8 +510,7 @@ def file_as(self) -> str: @file_as.setter def file_as(self, file_as: str): - """Sets the file_as of this ContactDto. - + """ A name used for sorting. :param file_as: The file_as of this ContactDto. @@ -539,8 +520,7 @@ def file_as(self, file_as: str): @property def file_as_mapping(self) -> str: - """Gets the file_as_mapping of this ContactDto. - + """ Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change. Coincides MS-OXPROPS revision 16.2 from 7/31/2014. Enum, available values: Empty, DisplayName, FirstName, LastName, Organization, LastFirstMiddle, OrgLastFirstMiddle, LastFirstMiddleOrg, LastFirstMiddle2, LastFirstMiddle3, OrgLastFirstMiddle2, OrgLastFirstMiddle3, LastFirstMiddleOrg2, LastFirstMiddleOrg3, LastFirstMiddleGen, FirstMiddleLastGen, LastFirstMiddleGen2, BestMatch, AccordingToLocale, None :return: The file_as_mapping of this ContactDto. @@ -550,8 +530,7 @@ def file_as_mapping(self) -> str: @file_as_mapping.setter def file_as_mapping(self, file_as_mapping: str): - """Sets the file_as_mapping of this ContactDto. - + """ Specifies how to generate and recompute the value of the dispidFileAs property when other contact name properties change. Coincides MS-OXPROPS revision 16.2 from 7/31/2014. Enum, available values: Empty, DisplayName, FirstName, LastName, Organization, LastFirstMiddle, OrgLastFirstMiddle, LastFirstMiddleOrg, LastFirstMiddle2, LastFirstMiddle3, OrgLastFirstMiddle2, OrgLastFirstMiddle3, LastFirstMiddleOrg2, LastFirstMiddleOrg3, LastFirstMiddleGen, FirstMiddleLastGen, LastFirstMiddleGen2, BestMatch, AccordingToLocale, None :param file_as_mapping: The file_as_mapping of this ContactDto. @@ -563,8 +542,7 @@ def file_as_mapping(self, file_as_mapping: str): @property def free_busy_location(self) -> str: - """Gets the free_busy_location of this ContactDto. - + """ URL path from which a client can retrieve free/busy information for the contact as an iCal file. :return: The free_busy_location of this ContactDto. @@ -574,8 +552,7 @@ def free_busy_location(self) -> str: @free_busy_location.setter def free_busy_location(self, free_busy_location: str): - """Sets the free_busy_location of this ContactDto. - + """ URL path from which a client can retrieve free/busy information for the contact as an iCal file. :param free_busy_location: The free_busy_location of this ContactDto. @@ -585,8 +562,7 @@ def free_busy_location(self, free_busy_location: str): @property def gender(self) -> str: - """Gets the gender of this ContactDto. - + """ Enum defines gender of a person. Enum, available values: Unspecified, Female, Male :return: The gender of this ContactDto. @@ -596,8 +572,7 @@ def gender(self) -> str: @gender.setter def gender(self, gender: str): - """Sets the gender of this ContactDto. - + """ Enum defines gender of a person. Enum, available values: Unspecified, Female, Male :param gender: The gender of this ContactDto. @@ -609,8 +584,7 @@ def gender(self, gender: str): @property def given_name(self) -> str: - """Gets the given_name of this ContactDto. - + """ Person's given name. :return: The given_name of this ContactDto. @@ -620,8 +594,7 @@ def given_name(self) -> str: @given_name.setter def given_name(self, given_name: str): - """Sets the given_name of this ContactDto. - + """ Person's given name. :param given_name: The given_name of this ContactDto. @@ -631,8 +604,7 @@ def given_name(self, given_name: str): @property def government_id_number(self) -> str: - """Gets the government_id_number of this ContactDto. - + """ Government id number. :return: The government_id_number of this ContactDto. @@ -642,8 +614,7 @@ def government_id_number(self) -> str: @government_id_number.setter def government_id_number(self, government_id_number: str): - """Sets the government_id_number of this ContactDto. - + """ Government id number. :param government_id_number: The government_id_number of this ContactDto. @@ -653,8 +624,7 @@ def government_id_number(self, government_id_number: str): @property def hobbies(self) -> str: - """Gets the hobbies of this ContactDto. - + """ Person's hobbies. :return: The hobbies of this ContactDto. @@ -664,8 +634,7 @@ def hobbies(self) -> str: @hobbies.setter def hobbies(self, hobbies: str): - """Sets the hobbies of this ContactDto. - + """ Person's hobbies. :param hobbies: The hobbies of this ContactDto. @@ -675,8 +644,7 @@ def hobbies(self, hobbies: str): @property def initials(self) -> str: - """Gets the initials of this ContactDto. - + """ Person's initials. :return: The initials of this ContactDto. @@ -686,8 +654,7 @@ def initials(self) -> str: @initials.setter def initials(self, initials: str): - """Sets the initials of this ContactDto. - + """ Person's initials. :param initials: The initials of this ContactDto. @@ -697,8 +664,7 @@ def initials(self, initials: str): @property def instant_messengers(self) -> List[InstantMessengerAddress]: - """Gets the instant_messengers of this ContactDto. - + """ Person's instant messenger addresses. :return: The instant_messengers of this ContactDto. @@ -708,8 +674,7 @@ def instant_messengers(self) -> List[InstantMessengerAddress]: @instant_messengers.setter def instant_messengers(self, instant_messengers: List[InstantMessengerAddress]): - """Sets the instant_messengers of this ContactDto. - + """ Person's instant messenger addresses. :param instant_messengers: The instant_messengers of this ContactDto. @@ -719,8 +684,7 @@ def instant_messengers(self, instant_messengers: List[InstantMessengerAddress]): @property def job_title(self) -> str: - """Gets the job_title of this ContactDto. - + """ Person's job title. :return: The job_title of this ContactDto. @@ -730,8 +694,7 @@ def job_title(self) -> str: @job_title.setter def job_title(self, job_title: str): - """Sets the job_title of this ContactDto. - + """ Person's job title. :param job_title: The job_title of this ContactDto. @@ -741,8 +704,7 @@ def job_title(self, job_title: str): @property def language(self) -> str: - """Gets the language of this ContactDto. - + """ Language. :return: The language of this ContactDto. @@ -752,8 +714,7 @@ def language(self) -> str: @language.setter def language(self, language: str): - """Sets the language of this ContactDto. - + """ Language. :param language: The language of this ContactDto. @@ -763,8 +724,7 @@ def language(self, language: str): @property def location(self) -> str: - """Gets the location of this ContactDto. - + """ Person's location. :return: The location of this ContactDto. @@ -774,8 +734,7 @@ def location(self) -> str: @location.setter def location(self, location: str): - """Sets the location of this ContactDto. - + """ Person's location. :param location: The location of this ContactDto. @@ -785,8 +744,7 @@ def location(self, location: str): @property def middle_name(self) -> str: - """Gets the middle_name of this ContactDto. - + """ Person's middle name. :return: The middle_name of this ContactDto. @@ -796,8 +754,7 @@ def middle_name(self) -> str: @middle_name.setter def middle_name(self, middle_name: str): - """Sets the middle_name of this ContactDto. - + """ Person's middle name. :param middle_name: The middle_name of this ContactDto. @@ -807,8 +764,7 @@ def middle_name(self, middle_name: str): @property def nickname(self) -> str: - """Gets the nickname of this ContactDto. - + """ Person's nickname. :return: The nickname of this ContactDto. @@ -818,8 +774,7 @@ def nickname(self) -> str: @nickname.setter def nickname(self, nickname: str): - """Sets the nickname of this ContactDto. - + """ Person's nickname. :param nickname: The nickname of this ContactDto. @@ -829,8 +784,7 @@ def nickname(self, nickname: str): @property def notes(self) -> str: - """Gets the notes of this ContactDto. - + """ Notes. :return: The notes of this ContactDto. @@ -840,8 +794,7 @@ def notes(self) -> str: @notes.setter def notes(self, notes: str): - """Sets the notes of this ContactDto. - + """ Notes. :param notes: The notes of this ContactDto. @@ -851,8 +804,7 @@ def notes(self, notes: str): @property def notes_format(self) -> str: - """Gets the notes_format of this ContactDto. - + """ Defines format of a text. Enum, available values: Text, Html :return: The notes_format of this ContactDto. @@ -862,8 +814,7 @@ def notes_format(self) -> str: @notes_format.setter def notes_format(self, notes_format: str): - """Sets the notes_format of this ContactDto. - + """ Defines format of a text. Enum, available values: Text, Html :param notes_format: The notes_format of this ContactDto. @@ -875,8 +826,7 @@ def notes_format(self, notes_format: str): @property def office_location(self) -> str: - """Gets the office_location of this ContactDto. - + """ Office location. :return: The office_location of this ContactDto. @@ -886,8 +836,7 @@ def office_location(self) -> str: @office_location.setter def office_location(self, office_location: str): - """Sets the office_location of this ContactDto. - + """ Office location. :param office_location: The office_location of this ContactDto. @@ -897,8 +846,7 @@ def office_location(self, office_location: str): @property def organizational_id_number(self) -> str: - """Gets the organizational_id_number of this ContactDto. - + """ Contains an identifier for the mail user used within the mail user's organization. :return: The organizational_id_number of this ContactDto. @@ -908,8 +856,7 @@ def organizational_id_number(self) -> str: @organizational_id_number.setter def organizational_id_number(self, organizational_id_number: str): - """Sets the organizational_id_number of this ContactDto. - + """ Contains an identifier for the mail user used within the mail user's organization. :param organizational_id_number: The organizational_id_number of this ContactDto. @@ -919,8 +866,7 @@ def organizational_id_number(self, organizational_id_number: str): @property def phone_numbers(self) -> List[PhoneNumber]: - """Gets the phone_numbers of this ContactDto. - + """ Person's phone numbers. :return: The phone_numbers of this ContactDto. @@ -930,8 +876,7 @@ def phone_numbers(self) -> List[PhoneNumber]: @phone_numbers.setter def phone_numbers(self, phone_numbers: List[PhoneNumber]): - """Sets the phone_numbers of this ContactDto. - + """ Person's phone numbers. :param phone_numbers: The phone_numbers of this ContactDto. @@ -941,8 +886,7 @@ def phone_numbers(self, phone_numbers: List[PhoneNumber]): @property def photo(self) -> ContactPhoto: - """Gets the photo of this ContactDto. - + """ Person's photo. :return: The photo of this ContactDto. @@ -952,8 +896,7 @@ def photo(self) -> ContactPhoto: @photo.setter def photo(self, photo: ContactPhoto): - """Sets the photo of this ContactDto. - + """ Person's photo. :param photo: The photo of this ContactDto. @@ -963,8 +906,7 @@ def photo(self, photo: ContactPhoto): @property def physical_addresses(self) -> List[PostalAddress]: - """Gets the physical_addresses of this ContactDto. - + """ Person's physical addresses. :return: The physical_addresses of this ContactDto. @@ -974,8 +916,7 @@ def physical_addresses(self) -> List[PostalAddress]: @physical_addresses.setter def physical_addresses(self, physical_addresses: List[PostalAddress]): - """Sets the physical_addresses of this ContactDto. - + """ Person's physical addresses. :param physical_addresses: The physical_addresses of this ContactDto. @@ -985,8 +926,7 @@ def physical_addresses(self, physical_addresses: List[PostalAddress]): @property def preferred_text_encoding(self) -> str: - """Gets the preferred_text_encoding of this ContactDto. - + """ Encoding for all text properties. :return: The preferred_text_encoding of this ContactDto. @@ -996,8 +936,7 @@ def preferred_text_encoding(self) -> str: @preferred_text_encoding.setter def preferred_text_encoding(self, preferred_text_encoding: str): - """Sets the preferred_text_encoding of this ContactDto. - + """ Encoding for all text properties. :param preferred_text_encoding: The preferred_text_encoding of this ContactDto. @@ -1007,8 +946,7 @@ def preferred_text_encoding(self, preferred_text_encoding: str): @property def prefix(self) -> str: - """Gets the prefix of this ContactDto. - + """ A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. :return: The prefix of this ContactDto. @@ -1018,8 +956,7 @@ def prefix(self) -> str: @prefix.setter def prefix(self, prefix: str): - """Sets the prefix of this ContactDto. - + """ A prefix of a full name such like Mr.(mister), Dr.(doctor) and so on. :param prefix: The prefix of this ContactDto. @@ -1029,8 +966,7 @@ def prefix(self, prefix: str): @property def profession(self) -> str: - """Gets the profession of this ContactDto. - + """ A job position of a person in a company. :return: The profession of this ContactDto. @@ -1040,8 +976,7 @@ def profession(self) -> str: @profession.setter def profession(self, profession: str): - """Sets the profession of this ContactDto. - + """ A job position of a person in a company. :param profession: The profession of this ContactDto. @@ -1051,8 +986,7 @@ def profession(self, profession: str): @property def suffix(self) -> str: - """Gets the suffix of this ContactDto. - + """ A suffix of a full name such like Jr.(junior), Sr.(senior) and so on. :return: The suffix of this ContactDto. @@ -1062,8 +996,7 @@ def suffix(self) -> str: @suffix.setter def suffix(self, suffix: str): - """Sets the suffix of this ContactDto. - + """ A suffix of a full name such like Jr.(junior), Sr.(senior) and so on. :param suffix: The suffix of this ContactDto. @@ -1073,8 +1006,7 @@ def suffix(self, suffix: str): @property def surname(self) -> str: - """Gets the surname of this ContactDto. - + """ Person's surname. :return: The surname of this ContactDto. @@ -1084,8 +1016,7 @@ def surname(self) -> str: @surname.setter def surname(self, surname: str): - """Sets the surname of this ContactDto. - + """ Person's surname. :param surname: The surname of this ContactDto. @@ -1095,8 +1026,7 @@ def surname(self, surname: str): @property def urls(self) -> List[Url]: - """Gets the urls of this ContactDto. - + """ Person's urls. :return: The urls of this ContactDto. @@ -1106,8 +1036,7 @@ def urls(self) -> List[Url]: @urls.setter def urls(self, urls: List[Url]): - """Sets the urls of this ContactDto. - + """ Person's urls. :param urls: The urls of this ContactDto. diff --git a/sdk/AsposeEmailCloudSdk/models/contact_list.py b/sdk/AsposeEmailCloudSdk/models/contact_list.py index e24099b..e2b86e6 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_list.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[ContactDto] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/contact_photo.py b/sdk/AsposeEmailCloudSdk/models/contact_photo.py index f89b275..e49d46a 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_photo.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_photo.py @@ -54,32 +54,27 @@ class ContactPhoto(object): 'discriminator': 'discriminator' } - def __init__(self, photo_image_format: str = None, base64_data: str = None, discriminator: str = None): + def __init__(self, photo_image_format: str = None, base64_data: str = None): """ Person's photo. :param photo_image_format: MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff :type photo_image_format: str :param base64_data: Photo serialized as base64 string. :type base64_data: str - :param discriminator: - :type discriminator: str """ self._photo_image_format = None self._base64_data = None - self._discriminator = self.__class__.__name__ if photo_image_format is not None: self.photo_image_format = photo_image_format if base64_data is not None: self.base64_data = base64_data - if discriminator is not None: - self.discriminator = discriminator + @property def photo_image_format(self) -> str: - """Gets the photo_image_format of this ContactPhoto. - + """ MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff :return: The photo_image_format of this ContactPhoto. @@ -89,8 +84,7 @@ def photo_image_format(self) -> str: @photo_image_format.setter def photo_image_format(self, photo_image_format: str): - """Sets the photo_image_format of this ContactPhoto. - + """ MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff :param photo_image_format: The photo_image_format of this ContactPhoto. @@ -102,8 +96,7 @@ def photo_image_format(self, photo_image_format: str): @property def base64_data(self) -> str: - """Gets the base64_data of this ContactPhoto. - + """ Photo serialized as base64 string. :return: The base64_data of this ContactPhoto. @@ -113,8 +106,7 @@ def base64_data(self) -> str: @base64_data.setter def base64_data(self, base64_data: str): - """Sets the base64_data of this ContactPhoto. - + """ Photo serialized as base64 string. :param base64_data: The base64_data of this ContactPhoto. @@ -128,8 +120,8 @@ def base64_data(self, base64_data: str): @property def discriminator(self) -> str: - """Gets the discriminator of this ContactPhoto. - + """ + Gets the discriminator of this ContactPhoto. :return: The discriminator of this ContactPhoto. :rtype: str @@ -138,15 +130,13 @@ def discriminator(self) -> str: @discriminator.setter def discriminator(self, discriminator: str): - """Sets the discriminator of this ContactPhoto. - + """ + Sets the discriminator of this ContactPhoto. :param discriminator: The discriminator of this ContactPhoto. :type: str """ - if discriminator is None: - raise ValueError("Invalid value for `discriminator`, must not be `None`") - self._discriminator = self.__class__.__name__ + pass # setter is ignored for discriminator property def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/contact_save_request.py b/sdk/AsposeEmailCloudSdk/models/contact_save_request.py index bb737af..8c33846 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_save_request.py @@ -79,10 +79,10 @@ def __init__(self, storage_file: StorageFileLocation = None, value: ContactDto = if format is not None: self.format = format + @property def format(self) -> str: - """Gets the format of this ContactSaveRequest. - + """ Enumerates contact formats. Enum, available values: VCard, WebDav, Msg :return: The format of this ContactSaveRequest. @@ -92,8 +92,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this ContactSaveRequest. - + """ Enumerates contact formats. Enum, available values: VCard, WebDav, Msg :param format: The format of this ContactSaveRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py b/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py index 8c059fc..57799f8 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_storage_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[StorageModelOfContactDto] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/content_type.py b/sdk/AsposeEmailCloudSdk/models/content_type.py index 224291b..d012986 100644 --- a/sdk/AsposeEmailCloudSdk/models/content_type.py +++ b/sdk/AsposeEmailCloudSdk/models/content_type.py @@ -92,10 +92,10 @@ def __init__(self, boundary: str = None, char_set: str = None, media_type: str = if parameters is not None: self.parameters = parameters + @property def boundary(self) -> str: - """Gets the boundary of this ContentType. - + """ The boundary parameter included in the Content-Type header. :return: The boundary of this ContentType. @@ -105,8 +105,7 @@ def boundary(self) -> str: @boundary.setter def boundary(self, boundary: str): - """Sets the boundary of this ContentType. - + """ The boundary parameter included in the Content-Type header. :param boundary: The boundary of this ContentType. @@ -116,8 +115,7 @@ def boundary(self, boundary: str): @property def char_set(self) -> str: - """Gets the char_set of this ContentType. - + """ CharSet parameter. :return: The char_set of this ContentType. @@ -127,8 +125,7 @@ def char_set(self) -> str: @char_set.setter def char_set(self, char_set: str): - """Sets the char_set of this ContentType. - + """ CharSet parameter. :param char_set: The char_set of this ContentType. @@ -138,8 +135,7 @@ def char_set(self, char_set: str): @property def media_type(self) -> str: - """Gets the media_type of this ContentType. - + """ The internet media type. :return: The media_type of this ContentType. @@ -149,8 +145,7 @@ def media_type(self) -> str: @media_type.setter def media_type(self, media_type: str): - """Sets the media_type of this ContentType. - + """ The internet media type. :param media_type: The media_type of this ContentType. @@ -160,8 +155,7 @@ def media_type(self, media_type: str): @property def name(self) -> str: - """Gets the name of this ContentType. - + """ Name parameter. :return: The name of this ContentType. @@ -171,8 +165,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this ContentType. - + """ Name parameter. :param name: The name of this ContentType. @@ -182,8 +175,7 @@ def name(self, name: str): @property def parameters(self) -> List[ContentTypeParameter]: - """Gets the parameters of this ContentType. - + """ Full list of parameters :return: The parameters of this ContentType. @@ -193,8 +185,7 @@ def parameters(self) -> List[ContentTypeParameter]: @parameters.setter def parameters(self, parameters: List[ContentTypeParameter]): - """Sets the parameters of this ContentType. - + """ Full list of parameters :param parameters: The parameters of this ContentType. diff --git a/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py b/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py index cb5895b..ddabbb4 100644 --- a/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py +++ b/sdk/AsposeEmailCloudSdk/models/content_type_parameter.py @@ -69,10 +69,10 @@ def __init__(self, name: str = None, value: str = None): if value is not None: self.value = value + @property def name(self) -> str: - """Gets the name of this ContentTypeParameter. - + """ Parameter name :return: The name of this ContentTypeParameter. @@ -82,8 +82,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this ContentTypeParameter. - + """ Parameter name :param name: The name of this ContentTypeParameter. @@ -93,8 +92,7 @@ def name(self, name: str): @property def value(self) -> str: - """Gets the value of this ContentTypeParameter. - + """ Parameter value :return: The value of this ContentTypeParameter. @@ -104,8 +102,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this ContentTypeParameter. - + """ Parameter value :param value: The value of this ContentTypeParameter. diff --git a/sdk/AsposeEmailCloudSdk/models/customer_event.py b/sdk/AsposeEmailCloudSdk/models/customer_event.py index 4879de5..985a3aa 100644 --- a/sdk/AsposeEmailCloudSdk/models/customer_event.py +++ b/sdk/AsposeEmailCloudSdk/models/customer_event.py @@ -71,10 +71,10 @@ def __init__(self, category: EnumWithCustomOfEventCategory = None, _date: dateti if _date is not None: self._date = _date + @property def category(self) -> EnumWithCustomOfEventCategory: - """Gets the category of this CustomerEvent. - + """ Event category. :return: The category of this CustomerEvent. @@ -84,8 +84,7 @@ def category(self) -> EnumWithCustomOfEventCategory: @category.setter def category(self, category: EnumWithCustomOfEventCategory): - """Sets the category of this CustomerEvent. - + """ Event category. :param category: The category of this CustomerEvent. @@ -95,8 +94,7 @@ def category(self, category: EnumWithCustomOfEventCategory): @property def _date(self) -> datetime: - """Gets the _date of this CustomerEvent. - + """ Event date. :return: The _date of this CustomerEvent. @@ -106,8 +104,7 @@ def _date(self) -> datetime: @_date.setter def _date(self, _date: datetime): - """Sets the _date of this CustomerEvent. - + """ Event date. :param _date: The _date of this CustomerEvent. diff --git a/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py index 9f8d034..41f7db5 100644 --- a/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/daily_recurrence_pattern_dto.py @@ -60,7 +60,7 @@ class DailyRecurrencePatternDto(RecurrencePatternDto): 'discriminator': 'discriminator' } - def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None): + def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None): """ Daily recurrence. :param interval: Number of recurrence units. @@ -71,8 +71,6 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :type week_start: str - :param discriminator: - :type discriminator: str """ super(DailyRecurrencePatternDto, self).__init__() @@ -84,8 +82,7 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime self.end_date = end_date if week_start is not None: self.week_start = week_start - if discriminator is not None: - self.discriminator = discriminator + def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/disc_usage.py b/sdk/AsposeEmailCloudSdk/models/disc_usage.py index fd27217..3e5e53b 100644 --- a/sdk/AsposeEmailCloudSdk/models/disc_usage.py +++ b/sdk/AsposeEmailCloudSdk/models/disc_usage.py @@ -69,10 +69,10 @@ def __init__(self, used_size: int = None, total_size: int = None): if total_size is not None: self.total_size = total_size + @property def used_size(self) -> int: - """Gets the used_size of this DiscUsage. - + """ Application used disc space. :return: The used_size of this DiscUsage. @@ -82,8 +82,7 @@ def used_size(self) -> int: @used_size.setter def used_size(self, used_size: int): - """Sets the used_size of this DiscUsage. - + """ Application used disc space. :param used_size: The used_size of this DiscUsage. @@ -95,8 +94,7 @@ def used_size(self, used_size: int): @property def total_size(self) -> int: - """Gets the total_size of this DiscUsage. - + """ Total disc space. :return: The total_size of this DiscUsage. @@ -106,8 +104,7 @@ def total_size(self) -> int: @total_size.setter def total_size(self, total_size: int): - """Sets the total_size of this DiscUsage. - + """ Total disc space. :param total_size: The total_size of this DiscUsage. diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py index 5dc1139..eb1afcb 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py @@ -104,10 +104,10 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str if request_url is not None: self.request_url = request_url + @property def client_id(self) -> str: - """Gets the client_id of this DiscoverEmailConfigOauth. - + """ OAuth client id. :return: The client_id of this DiscoverEmailConfigOauth. @@ -117,8 +117,7 @@ def client_id(self) -> str: @client_id.setter def client_id(self, client_id: str): - """Sets the client_id of this DiscoverEmailConfigOauth. - + """ OAuth client id. :param client_id: The client_id of this DiscoverEmailConfigOauth. @@ -132,8 +131,7 @@ def client_id(self, client_id: str): @property def client_secret(self) -> str: - """Gets the client_secret of this DiscoverEmailConfigOauth. - + """ OAuth client secret. :return: The client_secret of this DiscoverEmailConfigOauth. @@ -143,8 +141,7 @@ def client_secret(self) -> str: @client_secret.setter def client_secret(self, client_secret: str): - """Sets the client_secret of this DiscoverEmailConfigOauth. - + """ OAuth client secret. :param client_secret: The client_secret of this DiscoverEmailConfigOauth. @@ -158,8 +155,7 @@ def client_secret(self, client_secret: str): @property def refresh_token(self) -> str: - """Gets the refresh_token of this DiscoverEmailConfigOauth. - + """ OAuth refresh token. :return: The refresh_token of this DiscoverEmailConfigOauth. @@ -169,8 +165,7 @@ def refresh_token(self) -> str: @refresh_token.setter def refresh_token(self, refresh_token: str): - """Sets the refresh_token of this DiscoverEmailConfigOauth. - + """ OAuth refresh token. :param refresh_token: The refresh_token of this DiscoverEmailConfigOauth. @@ -184,8 +179,7 @@ def refresh_token(self, refresh_token: str): @property def request_url(self) -> str: - """Gets the request_url of this DiscoverEmailConfigOauth. - + """ The url to obtain access token. If not specified, will be discovered from email configuration. :return: The request_url of this DiscoverEmailConfigOauth. @@ -195,8 +189,7 @@ def request_url(self) -> str: @request_url.setter def request_url(self, request_url: str): - """Sets the request_url of this DiscoverEmailConfigOauth. - + """ The url to obtain access token. If not specified, will be discovered from email configuration. :param request_url: The request_url of this DiscoverEmailConfigOauth. diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py index 67ff431..19c0710 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py @@ -83,10 +83,10 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str if password is not None: self.password = password + @property def password(self) -> str: - """Gets the password of this DiscoverEmailConfigPassword. - + """ Email account password. :return: The password of this DiscoverEmailConfigPassword. @@ -96,8 +96,7 @@ def password(self) -> str: @password.setter def password(self, password: str): - """Sets the password of this DiscoverEmailConfigPassword. - + """ Email account password. :param password: The password of this DiscoverEmailConfigPassword. diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py b/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py index 7828f6b..b370e73 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py +++ b/sdk/AsposeEmailCloudSdk/models/discover_email_config_request.py @@ -76,10 +76,10 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str if login is not None: self.login = login + @property def address(self) -> str: - """Gets the address of this DiscoverEmailConfigRequest. - + """ Email address to discover. :return: The address of this DiscoverEmailConfigRequest. @@ -89,8 +89,7 @@ def address(self) -> str: @address.setter def address(self, address: str): - """Sets the address of this DiscoverEmailConfigRequest. - + """ Email address to discover. :param address: The address of this DiscoverEmailConfigRequest. @@ -104,8 +103,7 @@ def address(self, address: str): @property def fast_processing(self) -> bool: - """Gets the fast_processing of this DiscoverEmailConfigRequest. - + """ Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. :return: The fast_processing of this DiscoverEmailConfigRequest. @@ -115,8 +113,7 @@ def fast_processing(self) -> bool: @fast_processing.setter def fast_processing(self, fast_processing: bool): - """Sets the fast_processing of this DiscoverEmailConfigRequest. - + """ Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. :param fast_processing: The fast_processing of this DiscoverEmailConfigRequest. @@ -128,8 +125,7 @@ def fast_processing(self, fast_processing: bool): @property def login(self) -> str: - """Gets the login of this DiscoverEmailConfigRequest. - + """ Email account login. If not specified, address used as a login. :return: The login of this DiscoverEmailConfigRequest. @@ -139,8 +135,7 @@ def login(self) -> str: @login.setter def login(self, login: str): - """Sets the login of this DiscoverEmailConfigRequest. - + """ Email account login. If not specified, address used as a login. :param login: The login of this DiscoverEmailConfigRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/email_account_config.py b/sdk/AsposeEmailCloudSdk/models/email_account_config.py index 311d343..2587459 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_account_config.py +++ b/sdk/AsposeEmailCloudSdk/models/email_account_config.py @@ -113,10 +113,10 @@ def __init__(self, display_name: str = None, protocol_type: str = None, host: st if is_validated is not None: self.is_validated = is_validated + @property def display_name(self) -> str: - """Gets the display_name of this EmailAccountConfig. - + """ Email account display name :return: The display_name of this EmailAccountConfig. @@ -126,8 +126,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this EmailAccountConfig. - + """ Email account display name :param display_name: The display_name of this EmailAccountConfig. @@ -137,8 +136,7 @@ def display_name(self, display_name: str): @property def protocol_type(self) -> str: - """Gets the protocol_type of this EmailAccountConfig. - + """ Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav :return: The protocol_type of this EmailAccountConfig. @@ -148,8 +146,7 @@ def protocol_type(self) -> str: @protocol_type.setter def protocol_type(self, protocol_type: str): - """Sets the protocol_type of this EmailAccountConfig. - + """ Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav :param protocol_type: The protocol_type of this EmailAccountConfig. @@ -161,8 +158,7 @@ def protocol_type(self, protocol_type: str): @property def host(self) -> str: - """Gets the host of this EmailAccountConfig. - + """ Email account host. :return: The host of this EmailAccountConfig. @@ -172,8 +168,7 @@ def host(self) -> str: @host.setter def host(self, host: str): - """Sets the host of this EmailAccountConfig. - + """ Email account host. :param host: The host of this EmailAccountConfig. @@ -183,8 +178,7 @@ def host(self, host: str): @property def port(self) -> int: - """Gets the port of this EmailAccountConfig. - + """ Port. :return: The port of this EmailAccountConfig. @@ -194,8 +188,7 @@ def port(self) -> int: @port.setter def port(self, port: int): - """Sets the port of this EmailAccountConfig. - + """ Port. :param port: The port of this EmailAccountConfig. @@ -205,8 +198,7 @@ def port(self, port: int): @property def socket_type(self) -> str: - """Gets the socket_type of this EmailAccountConfig. - + """ Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto :return: The socket_type of this EmailAccountConfig. @@ -216,8 +208,7 @@ def socket_type(self) -> str: @socket_type.setter def socket_type(self, socket_type: str): - """Sets the socket_type of this EmailAccountConfig. - + """ Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto :param socket_type: The socket_type of this EmailAccountConfig. @@ -229,8 +220,7 @@ def socket_type(self, socket_type: str): @property def authentication_types(self) -> List[str]: - """Gets the authentication_types of this EmailAccountConfig. - + """ Supported authentication types. Items: Email account authentication types. Enum, available values: NoAuth, OAuth2, PasswordCleartext, PasswordEncrypted, SmtpAfterPop, ClientIpAddress :return: The authentication_types of this EmailAccountConfig. @@ -240,8 +230,7 @@ def authentication_types(self) -> List[str]: @authentication_types.setter def authentication_types(self, authentication_types: List[str]): - """Sets the authentication_types of this EmailAccountConfig. - + """ Supported authentication types. Items: Email account authentication types. Enum, available values: NoAuth, OAuth2, PasswordCleartext, PasswordEncrypted, SmtpAfterPop, ClientIpAddress :param authentication_types: The authentication_types of this EmailAccountConfig. @@ -251,8 +240,7 @@ def authentication_types(self, authentication_types: List[str]): @property def extra_info(self) -> List[NameValuePair]: - """Gets the extra_info of this EmailAccountConfig. - + """ Extra account information. :return: The extra_info of this EmailAccountConfig. @@ -262,8 +250,7 @@ def extra_info(self) -> List[NameValuePair]: @extra_info.setter def extra_info(self, extra_info: List[NameValuePair]): - """Sets the extra_info of this EmailAccountConfig. - + """ Extra account information. :param extra_info: The extra_info of this EmailAccountConfig. @@ -273,8 +260,7 @@ def extra_info(self, extra_info: List[NameValuePair]): @property def is_validated(self) -> bool: - """Gets the is_validated of this EmailAccountConfig. - + """ Determines that configuration validated. Set to false if validation skipped. :return: The is_validated of this EmailAccountConfig. @@ -284,8 +270,7 @@ def is_validated(self) -> bool: @is_validated.setter def is_validated(self, is_validated: bool): - """Sets the is_validated of this EmailAccountConfig. - + """ Determines that configuration validated. Set to false if validation skipped. :param is_validated: The is_validated of this EmailAccountConfig. diff --git a/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py b/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py index b8e0c22..3d0a599 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_account_config_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[EmailAccountConfig] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/email_address.py b/sdk/AsposeEmailCloudSdk/models/email_address.py index af6a5f7..490cb20 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_address.py +++ b/sdk/AsposeEmailCloudSdk/models/email_address.py @@ -99,10 +99,10 @@ def __init__(self, category: EnumWithCustomOfEmailAddressCategory = None, displa if original_address_string is not None: self.original_address_string = original_address_string + @property def category(self) -> EnumWithCustomOfEmailAddressCategory: - """Gets the category of this EmailAddress. - + """ Address category. :return: The category of this EmailAddress. @@ -112,8 +112,7 @@ def category(self) -> EnumWithCustomOfEmailAddressCategory: @category.setter def category(self, category: EnumWithCustomOfEmailAddressCategory): - """Sets the category of this EmailAddress. - + """ Address category. :param category: The category of this EmailAddress. @@ -123,8 +122,7 @@ def category(self, category: EnumWithCustomOfEmailAddressCategory): @property def display_name(self) -> str: - """Gets the display_name of this EmailAddress. - + """ Display name. :return: The display_name of this EmailAddress. @@ -134,8 +132,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this EmailAddress. - + """ Display name. :param display_name: The display_name of this EmailAddress. @@ -145,8 +142,7 @@ def display_name(self, display_name: str): @property def preferred(self) -> bool: - """Gets the preferred of this EmailAddress. - + """ Defines whether email address is preferred. :return: The preferred of this EmailAddress. @@ -156,8 +152,7 @@ def preferred(self) -> bool: @preferred.setter def preferred(self, preferred: bool): - """Sets the preferred of this EmailAddress. - + """ Defines whether email address is preferred. :param preferred: The preferred of this EmailAddress. @@ -169,8 +164,7 @@ def preferred(self, preferred: bool): @property def routing_type(self) -> str: - """Gets the routing_type of this EmailAddress. - + """ A routing type for an email. :return: The routing_type of this EmailAddress. @@ -180,8 +174,7 @@ def routing_type(self) -> str: @routing_type.setter def routing_type(self, routing_type: str): - """Sets the routing_type of this EmailAddress. - + """ A routing type for an email. :param routing_type: The routing_type of this EmailAddress. @@ -191,8 +184,7 @@ def routing_type(self, routing_type: str): @property def address(self) -> str: - """Gets the address of this EmailAddress. - + """ Email address. :return: The address of this EmailAddress. @@ -202,8 +194,7 @@ def address(self) -> str: @address.setter def address(self, address: str): - """Sets the address of this EmailAddress. - + """ Email address. :param address: The address of this EmailAddress. @@ -217,8 +208,7 @@ def address(self, address: str): @property def original_address_string(self) -> str: - """Gets the original_address_string of this EmailAddress. - + """ The original e-mail address string :return: The original_address_string of this EmailAddress. @@ -228,8 +218,7 @@ def original_address_string(self) -> str: @original_address_string.setter def original_address_string(self, original_address_string: str): - """Sets the original_address_string of this EmailAddress. - + """ The original e-mail address string :param original_address_string: The original_address_string of this EmailAddress. diff --git a/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py index 3e7e734..9f2cf1a 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py @@ -71,10 +71,10 @@ def __init__(self, format: str = None, value: EmailDto = None): if value is not None: self.value = value + @property def format(self) -> str: - """Gets the format of this EmailAsFileRequest. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :return: The format of this EmailAsFileRequest. @@ -84,8 +84,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this EmailAsFileRequest. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :param format: The format of this EmailAsFileRequest. @@ -97,8 +96,7 @@ def format(self, format: str): @property def value(self) -> EmailDto: - """Gets the value of this EmailAsFileRequest. - + """ Email model. :return: The value of this EmailAsFileRequest. @@ -108,8 +106,7 @@ def value(self) -> EmailDto: @value.setter def value(self, value: EmailDto): - """Sets the value of this EmailAsFileRequest. - + """ Email model. :param value: The value of this EmailAsFileRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account.py b/sdk/AsposeEmailCloudSdk/models/email_client_account.py index 4c6add2..7f60629 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account.py @@ -100,10 +100,10 @@ def __init__(self, host: str = None, port: int = None, security_options: str = N if cache_file is not None: self.cache_file = cache_file + @property def host(self) -> str: - """Gets the host of this EmailClientAccount. - + """ Mail server host name or IP address :return: The host of this EmailClientAccount. @@ -113,8 +113,7 @@ def host(self) -> str: @host.setter def host(self, host: str): - """Sets the host of this EmailClientAccount. - + """ Mail server host name or IP address :param host: The host of this EmailClientAccount. @@ -128,8 +127,7 @@ def host(self, host: str): @property def port(self) -> int: - """Gets the port of this EmailClientAccount. - + """ Mail server port :return: The port of this EmailClientAccount. @@ -139,8 +137,7 @@ def port(self) -> int: @port.setter def port(self, port: int): - """Sets the port of this EmailClientAccount. - + """ Mail server port :param port: The port of this EmailClientAccount. @@ -156,8 +153,7 @@ def port(self, port: int): @property def security_options(self) -> str: - """Gets the security_options of this EmailClientAccount. - + """ Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto :return: The security_options of this EmailClientAccount. @@ -167,8 +163,7 @@ def security_options(self) -> str: @security_options.setter def security_options(self, security_options: str): - """Sets the security_options of this EmailClientAccount. - + """ Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto :param security_options: The security_options of this EmailClientAccount. @@ -180,8 +175,7 @@ def security_options(self, security_options: str): @property def protocol_type(self) -> str: - """Gets the protocol_type of this EmailClientAccount. - + """ Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav :return: The protocol_type of this EmailClientAccount. @@ -191,8 +185,7 @@ def protocol_type(self) -> str: @protocol_type.setter def protocol_type(self, protocol_type: str): - """Sets the protocol_type of this EmailClientAccount. - + """ Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav :param protocol_type: The protocol_type of this EmailClientAccount. @@ -204,8 +197,7 @@ def protocol_type(self, protocol_type: str): @property def credentials(self) -> EmailClientAccountCredentials: - """Gets the credentials of this EmailClientAccount. - + """ Email client account credentials :return: The credentials of this EmailClientAccount. @@ -215,8 +207,7 @@ def credentials(self) -> EmailClientAccountCredentials: @credentials.setter def credentials(self, credentials: EmailClientAccountCredentials): - """Sets the credentials of this EmailClientAccount. - + """ Email client account credentials :param credentials: The credentials of this EmailClientAccount. @@ -228,8 +219,7 @@ def credentials(self, credentials: EmailClientAccountCredentials): @property def cache_file(self) -> StorageFileLocation: - """Gets the cache_file of this EmailClientAccount. - + """ File with messages cache. Used to provide extra functions, which are not supported by account :return: The cache_file of this EmailClientAccount. @@ -239,8 +229,7 @@ def cache_file(self) -> StorageFileLocation: @cache_file.setter def cache_file(self, cache_file: StorageFileLocation): - """Sets the cache_file of this EmailClientAccount. - + """ File with messages cache. Used to provide extra functions, which are not supported by account :param cache_file: The cache_file of this EmailClientAccount. diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py index 56eb836..e0e80d3 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_credentials.py @@ -52,27 +52,22 @@ class EmailClientAccountCredentials(object): 'discriminator': 'discriminator' } - def __init__(self, login: str = None, discriminator: str = None): + def __init__(self, login: str = None): """ Represents email client account credentials :param login: Email client account login :type login: str - :param discriminator: - :type discriminator: str """ self._login = None - self._discriminator = self.__class__.__name__ if login is not None: self.login = login - if discriminator is not None: - self.discriminator = discriminator + @property def login(self) -> str: - """Gets the login of this EmailClientAccountCredentials. - + """ Email client account login :return: The login of this EmailClientAccountCredentials. @@ -82,8 +77,7 @@ def login(self) -> str: @login.setter def login(self, login: str): - """Sets the login of this EmailClientAccountCredentials. - + """ Email client account login :param login: The login of this EmailClientAccountCredentials. @@ -97,8 +91,8 @@ def login(self, login: str): @property def discriminator(self) -> str: - """Gets the discriminator of this EmailClientAccountCredentials. - + """ + Gets the discriminator of this EmailClientAccountCredentials. :return: The discriminator of this EmailClientAccountCredentials. :rtype: str @@ -107,15 +101,13 @@ def discriminator(self) -> str: @discriminator.setter def discriminator(self, discriminator: str): - """Sets the discriminator of this EmailClientAccountCredentials. - + """ + Sets the discriminator of this EmailClientAccountCredentials. :param discriminator: The discriminator of this EmailClientAccountCredentials. :type: str """ - if discriminator is None: - raise ValueError("Invalid value for `discriminator`, must not be `None`") - self._discriminator = self.__class__.__name__ + pass # setter is ignored for discriminator property def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py index aba0082..af1fb9f 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_oauth_credentials.py @@ -62,13 +62,11 @@ class EmailClientAccountOauthCredentials(EmailClientAccountCredentials): 'request_url': 'requestUrl' } - def __init__(self, login: str = None, discriminator: str = None, client_id: str = None, client_secret: str = None, refresh_token: str = None, request_url: str = None): + def __init__(self, login: str = None, client_id: str = None, client_secret: str = None, refresh_token: str = None, request_url: str = None): """ Represents email client account OAuth 2.0 credentials :param login: Email client account login :type login: str - :param discriminator: - :type discriminator: str :param client_id: The client ID obtained from the Google Cloud Console during application registration. :type client_id: str :param client_secret: The client secret obtained during application registration. @@ -87,8 +85,6 @@ def __init__(self, login: str = None, discriminator: str = None, client_id: str if login is not None: self.login = login - if discriminator is not None: - self.discriminator = discriminator if client_id is not None: self.client_id = client_id if client_secret is not None: @@ -98,10 +94,10 @@ def __init__(self, login: str = None, discriminator: str = None, client_id: str if request_url is not None: self.request_url = request_url + @property def client_id(self) -> str: - """Gets the client_id of this EmailClientAccountOauthCredentials. - + """ The client ID obtained from the Google Cloud Console during application registration. :return: The client_id of this EmailClientAccountOauthCredentials. @@ -111,8 +107,7 @@ def client_id(self) -> str: @client_id.setter def client_id(self, client_id: str): - """Sets the client_id of this EmailClientAccountOauthCredentials. - + """ The client ID obtained from the Google Cloud Console during application registration. :param client_id: The client_id of this EmailClientAccountOauthCredentials. @@ -126,8 +121,7 @@ def client_id(self, client_id: str): @property def client_secret(self) -> str: - """Gets the client_secret of this EmailClientAccountOauthCredentials. - + """ The client secret obtained during application registration. :return: The client_secret of this EmailClientAccountOauthCredentials. @@ -137,8 +131,7 @@ def client_secret(self) -> str: @client_secret.setter def client_secret(self, client_secret: str): - """Sets the client_secret of this EmailClientAccountOauthCredentials. - + """ The client secret obtained during application registration. :param client_secret: The client_secret of this EmailClientAccountOauthCredentials. @@ -152,8 +145,7 @@ def client_secret(self, client_secret: str): @property def refresh_token(self) -> str: - """Gets the refresh_token of this EmailClientAccountOauthCredentials. - + """ OAuth 2.0 refresh token :return: The refresh_token of this EmailClientAccountOauthCredentials. @@ -163,8 +155,7 @@ def refresh_token(self) -> str: @refresh_token.setter def refresh_token(self, refresh_token: str): - """Sets the refresh_token of this EmailClientAccountOauthCredentials. - + """ OAuth 2.0 refresh token :param refresh_token: The refresh_token of this EmailClientAccountOauthCredentials. @@ -178,8 +169,7 @@ def refresh_token(self, refresh_token: str): @property def request_url(self) -> str: - """Gets the request_url of this EmailClientAccountOauthCredentials. - + """ The url to obtain access token. If not specified, will try to discover from email client account host. :return: The request_url of this EmailClientAccountOauthCredentials. @@ -189,8 +179,7 @@ def request_url(self) -> str: @request_url.setter def request_url(self, request_url: str): - """Sets the request_url of this EmailClientAccountOauthCredentials. - + """ The url to obtain access token. If not specified, will try to discover from email client account host. :param request_url: The request_url of this EmailClientAccountOauthCredentials. diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py index 1500bd1..3224ceb 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_password_credentials.py @@ -56,13 +56,11 @@ class EmailClientAccountPasswordCredentials(EmailClientAccountCredentials): 'password': 'password' } - def __init__(self, login: str = None, discriminator: str = None, password: str = None): + def __init__(self, login: str = None, password: str = None): """ Represents email client account password credentials :param login: Email client account login :type login: str - :param discriminator: - :type discriminator: str :param password: Email client account password :type password: str """ @@ -72,15 +70,13 @@ def __init__(self, login: str = None, discriminator: str = None, password: str = if login is not None: self.login = login - if discriminator is not None: - self.discriminator = discriminator if password is not None: self.password = password + @property def password(self) -> str: - """Gets the password of this EmailClientAccountPasswordCredentials. - + """ Email client account password :return: The password of this EmailClientAccountPasswordCredentials. @@ -90,8 +86,7 @@ def password(self) -> str: @password.setter def password(self, password: str): - """Sets the password of this EmailClientAccountPasswordCredentials. - + """ Email client account password :param password: The password of this EmailClientAccountPasswordCredentials. diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py index 44a24cf..7ab3cc9 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py @@ -71,6 +71,7 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientA if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py index 68008b5..a623fe8 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account.py @@ -71,10 +71,10 @@ def __init__(self, receive_accounts: List[EmailClientAccount] = None, send_accou if send_account is not None: self.send_account = send_account + @property def receive_accounts(self) -> List[EmailClientAccount]: - """Gets the receive_accounts of this EmailClientMultiAccount. - + """ Email client receive accounts :return: The receive_accounts of this EmailClientMultiAccount. @@ -84,8 +84,7 @@ def receive_accounts(self) -> List[EmailClientAccount]: @receive_accounts.setter def receive_accounts(self, receive_accounts: List[EmailClientAccount]): - """Sets the receive_accounts of this EmailClientMultiAccount. - + """ Email client receive accounts :param receive_accounts: The receive_accounts of this EmailClientMultiAccount. @@ -97,8 +96,7 @@ def receive_accounts(self, receive_accounts: List[EmailClientAccount]): @property def send_account(self) -> EmailClientAccount: - """Gets the send_account of this EmailClientMultiAccount. - + """ Email client send account :return: The send_account of this EmailClientMultiAccount. @@ -108,8 +106,7 @@ def send_account(self) -> EmailClientAccount: @send_account.setter def send_account(self, send_account: EmailClientAccount): - """Sets the send_account of this EmailClientMultiAccount. - + """ Email client send account :param send_account: The send_account of this EmailClientMultiAccount. diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py index 63b91cd..68d26a5 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py @@ -71,6 +71,7 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientM if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/email_dto.py b/sdk/AsposeEmailCloudSdk/models/email_dto.py index 33ac35c..c6fb6fd 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/email_dto.py @@ -284,10 +284,10 @@ def __init__(self, alternate_views: List[AlternateView] = None, attachments: Lis if x_mailer is not None: self.x_mailer = x_mailer + @property def alternate_views(self) -> List[AlternateView]: - """Gets the alternate_views of this EmailDto. - + """ Collection of alternate views of message. :return: The alternate_views of this EmailDto. @@ -297,8 +297,7 @@ def alternate_views(self) -> List[AlternateView]: @alternate_views.setter def alternate_views(self, alternate_views: List[AlternateView]): - """Sets the alternate_views of this EmailDto. - + """ Collection of alternate views of message. :param alternate_views: The alternate_views of this EmailDto. @@ -308,8 +307,7 @@ def alternate_views(self, alternate_views: List[AlternateView]): @property def attachments(self) -> List[Attachment]: - """Gets the attachments of this EmailDto. - + """ Email message attachments. :return: The attachments of this EmailDto. @@ -319,8 +317,7 @@ def attachments(self) -> List[Attachment]: @attachments.setter def attachments(self, attachments: List[Attachment]): - """Sets the attachments of this EmailDto. - + """ Email message attachments. :param attachments: The attachments of this EmailDto. @@ -330,8 +327,7 @@ def attachments(self, attachments: List[Attachment]): @property def bcc(self) -> List[MailAddress]: - """Gets the bcc of this EmailDto. - + """ BCC recipients. :return: The bcc of this EmailDto. @@ -341,8 +337,7 @@ def bcc(self) -> List[MailAddress]: @bcc.setter def bcc(self, bcc: List[MailAddress]): - """Sets the bcc of this EmailDto. - + """ BCC recipients. :param bcc: The bcc of this EmailDto. @@ -352,8 +347,7 @@ def bcc(self, bcc: List[MailAddress]): @property def body(self) -> str: - """Gets the body of this EmailDto. - + """ Email message body as plain text. :return: The body of this EmailDto. @@ -363,8 +357,7 @@ def body(self) -> str: @body.setter def body(self, body: str): - """Sets the body of this EmailDto. - + """ Email message body as plain text. :param body: The body of this EmailDto. @@ -374,8 +367,7 @@ def body(self, body: str): @property def body_encoding(self) -> str: - """Gets the body_encoding of this EmailDto. - + """ Body encoding. :return: The body_encoding of this EmailDto. @@ -385,8 +377,7 @@ def body_encoding(self) -> str: @body_encoding.setter def body_encoding(self, body_encoding: str): - """Sets the body_encoding of this EmailDto. - + """ Body encoding. :param body_encoding: The body_encoding of this EmailDto. @@ -396,8 +387,7 @@ def body_encoding(self, body_encoding: str): @property def body_type(self) -> str: - """Gets the body_type of this EmailDto. - + """ The content type of message body. Enum, available values: PlainText, Html, Rtf :return: The body_type of this EmailDto. @@ -407,8 +397,7 @@ def body_type(self) -> str: @body_type.setter def body_type(self, body_type: str): - """Sets the body_type of this EmailDto. - + """ The content type of message body. Enum, available values: PlainText, Html, Rtf :param body_type: The body_type of this EmailDto. @@ -420,8 +409,7 @@ def body_type(self, body_type: str): @property def cc(self) -> List[MailAddress]: - """Gets the cc of this EmailDto. - + """ CC recipients. :return: The cc of this EmailDto. @@ -431,8 +419,7 @@ def cc(self) -> List[MailAddress]: @cc.setter def cc(self, cc: List[MailAddress]): - """Sets the cc of this EmailDto. - + """ CC recipients. :param cc: The cc of this EmailDto. @@ -442,8 +429,7 @@ def cc(self, cc: List[MailAddress]): @property def _date(self) -> datetime: - """Gets the _date of this EmailDto. - + """ Message date. :return: The _date of this EmailDto. @@ -453,8 +439,7 @@ def _date(self) -> datetime: @_date.setter def _date(self, _date: datetime): - """Sets the _date of this EmailDto. - + """ Message date. :param _date: The _date of this EmailDto. @@ -466,8 +451,7 @@ def _date(self, _date: datetime): @property def delivery_notification_options(self) -> List[str]: - """Gets the delivery_notification_options of this EmailDto. - + """ Delivery notifications. Items: Email delivery notification options. Enum, available values: Delay, Never, None, OnFailure, OnSuccess :return: The delivery_notification_options of this EmailDto. @@ -477,8 +461,7 @@ def delivery_notification_options(self) -> List[str]: @delivery_notification_options.setter def delivery_notification_options(self, delivery_notification_options: List[str]): - """Sets the delivery_notification_options of this EmailDto. - + """ Delivery notifications. Items: Email delivery notification options. Enum, available values: Delay, Never, None, OnFailure, OnSuccess :param delivery_notification_options: The delivery_notification_options of this EmailDto. @@ -488,8 +471,7 @@ def delivery_notification_options(self, delivery_notification_options: List[str] @property def _from(self) -> MailAddress: - """Gets the _from of this EmailDto. - + """ From address. :return: The _from of this EmailDto. @@ -499,8 +481,7 @@ def _from(self) -> MailAddress: @_from.setter def _from(self, _from: MailAddress): - """Sets the _from of this EmailDto. - + """ From address. :param _from: The _from of this EmailDto. @@ -510,8 +491,7 @@ def _from(self, _from: MailAddress): @property def headers(self) -> Dict[str, str]: - """Gets the headers of this EmailDto. - + """ Document headers. :return: The headers of this EmailDto. @@ -521,8 +501,7 @@ def headers(self) -> Dict[str, str]: @headers.setter def headers(self, headers: Dict[str, str]): - """Sets the headers of this EmailDto. - + """ Document headers. :param headers: The headers of this EmailDto. @@ -532,8 +511,7 @@ def headers(self, headers: Dict[str, str]): @property def html_body(self) -> str: - """Gets the html_body of this EmailDto. - + """ HTML body. :return: The html_body of this EmailDto. @@ -543,8 +521,7 @@ def html_body(self) -> str: @html_body.setter def html_body(self, html_body: str): - """Sets the html_body of this EmailDto. - + """ HTML body. :param html_body: The html_body of this EmailDto. @@ -554,8 +531,7 @@ def html_body(self, html_body: str): @property def html_body_text(self) -> str: - """Gets the html_body_text of this EmailDto. - + """ Html body as plain text. Read only. :return: The html_body_text of this EmailDto. @@ -565,8 +541,7 @@ def html_body_text(self) -> str: @html_body_text.setter def html_body_text(self, html_body_text: str): - """Sets the html_body_text of this EmailDto. - + """ Html body as plain text. Read only. :param html_body_text: The html_body_text of this EmailDto. @@ -576,8 +551,7 @@ def html_body_text(self, html_body_text: str): @property def is_body_html(self) -> bool: - """Gets the is_body_html of this EmailDto. - + """ Indicates whether the message body is in Html. :return: The is_body_html of this EmailDto. @@ -587,8 +561,7 @@ def is_body_html(self) -> bool: @is_body_html.setter def is_body_html(self, is_body_html: bool): - """Sets the is_body_html of this EmailDto. - + """ Indicates whether the message body is in Html. :param is_body_html: The is_body_html of this EmailDto. @@ -600,8 +573,7 @@ def is_body_html(self, is_body_html: bool): @property def is_draft(self) -> bool: - """Gets the is_draft of this EmailDto. - + """ Indicates whether or not a message has been sent. :return: The is_draft of this EmailDto. @@ -611,8 +583,7 @@ def is_draft(self) -> bool: @is_draft.setter def is_draft(self, is_draft: bool): - """Sets the is_draft of this EmailDto. - + """ Indicates whether or not a message has been sent. :param is_draft: The is_draft of this EmailDto. @@ -624,8 +595,7 @@ def is_draft(self, is_draft: bool): @property def is_encrypted(self) -> bool: - """Gets the is_encrypted of this EmailDto. - + """ Indicates whether the message is encrypted. Read only. :return: The is_encrypted of this EmailDto. @@ -635,8 +605,7 @@ def is_encrypted(self) -> bool: @is_encrypted.setter def is_encrypted(self, is_encrypted: bool): - """Sets the is_encrypted of this EmailDto. - + """ Indicates whether the message is encrypted. Read only. :param is_encrypted: The is_encrypted of this EmailDto. @@ -648,8 +617,7 @@ def is_encrypted(self, is_encrypted: bool): @property def is_signed(self) -> bool: - """Gets the is_signed of this EmailDto. - + """ Indicates whether the message is signed. Read only. :return: The is_signed of this EmailDto. @@ -659,8 +627,7 @@ def is_signed(self) -> bool: @is_signed.setter def is_signed(self, is_signed: bool): - """Sets the is_signed of this EmailDto. - + """ Indicates whether the message is signed. Read only. :param is_signed: The is_signed of this EmailDto. @@ -672,8 +639,7 @@ def is_signed(self, is_signed: bool): @property def linked_resources(self) -> List[LinkedResource]: - """Gets the linked_resources of this EmailDto. - + """ Linked resources of message. :return: The linked_resources of this EmailDto. @@ -683,8 +649,7 @@ def linked_resources(self) -> List[LinkedResource]: @linked_resources.setter def linked_resources(self, linked_resources: List[LinkedResource]): - """Sets the linked_resources of this EmailDto. - + """ Linked resources of message. :param linked_resources: The linked_resources of this EmailDto. @@ -694,8 +659,7 @@ def linked_resources(self, linked_resources: List[LinkedResource]): @property def message_id(self) -> str: - """Gets the message_id of this EmailDto. - + """ Message id. :return: The message_id of this EmailDto. @@ -705,8 +669,7 @@ def message_id(self) -> str: @message_id.setter def message_id(self, message_id: str): - """Sets the message_id of this EmailDto. - + """ Message id. :param message_id: The message_id of this EmailDto. @@ -716,8 +679,7 @@ def message_id(self, message_id: str): @property def original_is_tnef(self) -> bool: - """Gets the original_is_tnef of this EmailDto. - + """ Indicates whether original EML message is in TNEF format. Read only. :return: The original_is_tnef of this EmailDto. @@ -727,8 +689,7 @@ def original_is_tnef(self) -> bool: @original_is_tnef.setter def original_is_tnef(self, original_is_tnef: bool): - """Sets the original_is_tnef of this EmailDto. - + """ Indicates whether original EML message is in TNEF format. Read only. :param original_is_tnef: The original_is_tnef of this EmailDto. @@ -740,8 +701,7 @@ def original_is_tnef(self, original_is_tnef: bool): @property def preferred_text_encoding(self) -> str: - """Gets the preferred_text_encoding of this EmailDto. - + """ Preferred encoding. :return: The preferred_text_encoding of this EmailDto. @@ -751,8 +711,7 @@ def preferred_text_encoding(self) -> str: @preferred_text_encoding.setter def preferred_text_encoding(self, preferred_text_encoding: str): - """Sets the preferred_text_encoding of this EmailDto. - + """ Preferred encoding. :param preferred_text_encoding: The preferred_text_encoding of this EmailDto. @@ -762,8 +721,7 @@ def preferred_text_encoding(self, preferred_text_encoding: str): @property def priority(self) -> str: - """Gets the priority of this EmailDto. - + """ Email priority status. Enum, available values: High, Low, Normal :return: The priority of this EmailDto. @@ -773,8 +731,7 @@ def priority(self) -> str: @priority.setter def priority(self, priority: str): - """Sets the priority of this EmailDto. - + """ Email priority status. Enum, available values: High, Low, Normal :param priority: The priority of this EmailDto. @@ -786,8 +743,7 @@ def priority(self, priority: str): @property def read_receipt_to(self) -> List[MailAddress]: - """Gets the read_receipt_to of this EmailDto. - + """ Read receipt addresses. :return: The read_receipt_to of this EmailDto. @@ -797,8 +753,7 @@ def read_receipt_to(self) -> List[MailAddress]: @read_receipt_to.setter def read_receipt_to(self, read_receipt_to: List[MailAddress]): - """Sets the read_receipt_to of this EmailDto. - + """ Read receipt addresses. :param read_receipt_to: The read_receipt_to of this EmailDto. @@ -808,8 +763,7 @@ def read_receipt_to(self, read_receipt_to: List[MailAddress]): @property def reply_to_list(self) -> List[MailAddress]: - """Gets the reply_to_list of this EmailDto. - + """ The list of addresses to reply to for the mail message. :return: The reply_to_list of this EmailDto. @@ -819,8 +773,7 @@ def reply_to_list(self) -> List[MailAddress]: @reply_to_list.setter def reply_to_list(self, reply_to_list: List[MailAddress]): - """Sets the reply_to_list of this EmailDto. - + """ The list of addresses to reply to for the mail message. :param reply_to_list: The reply_to_list of this EmailDto. @@ -830,8 +783,7 @@ def reply_to_list(self, reply_to_list: List[MailAddress]): @property def reverse_path(self) -> MailAddress: - """Gets the reverse_path of this EmailDto. - + """ ReversePath address. :return: The reverse_path of this EmailDto. @@ -841,8 +793,7 @@ def reverse_path(self) -> MailAddress: @reverse_path.setter def reverse_path(self, reverse_path: MailAddress): - """Sets the reverse_path of this EmailDto. - + """ ReversePath address. :param reverse_path: The reverse_path of this EmailDto. @@ -852,8 +803,7 @@ def reverse_path(self, reverse_path: MailAddress): @property def sender(self) -> MailAddress: - """Gets the sender of this EmailDto. - + """ Sender address. :return: The sender of this EmailDto. @@ -863,8 +813,7 @@ def sender(self) -> MailAddress: @sender.setter def sender(self, sender: MailAddress): - """Sets the sender of this EmailDto. - + """ Sender address. :param sender: The sender of this EmailDto. @@ -874,8 +823,7 @@ def sender(self, sender: MailAddress): @property def sensitivity(self) -> str: - """Gets the sensitivity of this EmailDto. - + """ Specifies the sensitivity of a MailMessage. Enum, available values: None, Normal, Personal, Private, CompanyConfidential :return: The sensitivity of this EmailDto. @@ -885,8 +833,7 @@ def sensitivity(self) -> str: @sensitivity.setter def sensitivity(self, sensitivity: str): - """Sets the sensitivity of this EmailDto. - + """ Specifies the sensitivity of a MailMessage. Enum, available values: None, Normal, Personal, Private, CompanyConfidential :param sensitivity: The sensitivity of this EmailDto. @@ -898,8 +845,7 @@ def sensitivity(self, sensitivity: str): @property def subject(self) -> str: - """Gets the subject of this EmailDto. - + """ Message subject. :return: The subject of this EmailDto. @@ -909,8 +855,7 @@ def subject(self) -> str: @subject.setter def subject(self, subject: str): - """Sets the subject of this EmailDto. - + """ Message subject. :param subject: The subject of this EmailDto. @@ -920,8 +865,7 @@ def subject(self, subject: str): @property def subject_encoding(self) -> str: - """Gets the subject_encoding of this EmailDto. - + """ Subject encoding. :return: The subject_encoding of this EmailDto. @@ -931,8 +875,7 @@ def subject_encoding(self) -> str: @subject_encoding.setter def subject_encoding(self, subject_encoding: str): - """Sets the subject_encoding of this EmailDto. - + """ Subject encoding. :param subject_encoding: The subject_encoding of this EmailDto. @@ -942,8 +885,7 @@ def subject_encoding(self, subject_encoding: str): @property def time_zone_offset(self) -> int: - """Gets the time_zone_offset of this EmailDto. - + """ Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the local time and UTC represented as count of ticks (10 000 per millisecond). :return: The time_zone_offset of this EmailDto. @@ -953,8 +895,7 @@ def time_zone_offset(self) -> int: @time_zone_offset.setter def time_zone_offset(self, time_zone_offset: int): - """Sets the time_zone_offset of this EmailDto. - + """ Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the local time and UTC represented as count of ticks (10 000 per millisecond). :param time_zone_offset: The time_zone_offset of this EmailDto. @@ -964,8 +905,7 @@ def time_zone_offset(self, time_zone_offset: int): @property def to(self) -> List[MailAddress]: - """Gets the to of this EmailDto. - + """ The address collection that contains the recipients of message. :return: The to of this EmailDto. @@ -975,8 +915,7 @@ def to(self) -> List[MailAddress]: @to.setter def to(self, to: List[MailAddress]): - """Sets the to of this EmailDto. - + """ The address collection that contains the recipients of message. :param to: The to of this EmailDto. @@ -986,8 +925,7 @@ def to(self, to: List[MailAddress]): @property def x_mailer(self) -> str: - """Gets the x_mailer of this EmailDto. - + """ The X-Mailer the software that created the e-mail message. :return: The x_mailer of this EmailDto. @@ -997,8 +935,7 @@ def x_mailer(self) -> str: @x_mailer.setter def x_mailer(self, x_mailer: str): - """Sets the x_mailer of this EmailDto. - + """ The X-Mailer the software that created the e-mail message. :param x_mailer: The x_mailer of this EmailDto. diff --git a/sdk/AsposeEmailCloudSdk/models/email_list.py b/sdk/AsposeEmailCloudSdk/models/email_list.py index 4baa403..74d10ce 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[EmailDto] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/email_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_save_request.py index 49694fd..a4ea87b 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_save_request.py @@ -79,10 +79,10 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = N if format is not None: self.format = format + @property def format(self) -> str: - """Gets the format of this EmailSaveRequest. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :return: The format of this EmailSaveRequest. @@ -92,8 +92,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this EmailSaveRequest. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :param format: The format of this EmailSaveRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/email_storage_list.py b/sdk/AsposeEmailCloudSdk/models/email_storage_list.py index 6154389..5ebbba3 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_storage_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_storage_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[StorageModelOfEmailDto] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/email_thread.py b/sdk/AsposeEmailCloudSdk/models/email_thread.py index 540f1ff..3b35dde 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_thread.py +++ b/sdk/AsposeEmailCloudSdk/models/email_thread.py @@ -85,10 +85,10 @@ def __init__(self, id: str = None, subject: str = None, messages: List[EmailDto] if folder is not None: self.folder = folder + @property def id(self) -> str: - """Gets the id of this EmailThread. - + """ Thread identifier :return: The id of this EmailThread. @@ -98,8 +98,7 @@ def id(self) -> str: @id.setter def id(self, id: str): - """Sets the id of this EmailThread. - + """ Thread identifier :param id: The id of this EmailThread. @@ -109,8 +108,7 @@ def id(self, id: str): @property def subject(self) -> str: - """Gets the subject of this EmailThread. - + """ Thread subject :return: The subject of this EmailThread. @@ -120,8 +118,7 @@ def subject(self) -> str: @subject.setter def subject(self, subject: str): - """Sets the subject of this EmailThread. - + """ Thread subject :param subject: The subject of this EmailThread. @@ -131,8 +128,7 @@ def subject(self, subject: str): @property def messages(self) -> List[EmailDto]: - """Gets the messages of this EmailThread. - + """ List of messages in thread :return: The messages of this EmailThread. @@ -142,8 +138,7 @@ def messages(self) -> List[EmailDto]: @messages.setter def messages(self, messages: List[EmailDto]): - """Sets the messages of this EmailThread. - + """ List of messages in thread :param messages: The messages of this EmailThread. @@ -153,8 +148,7 @@ def messages(self, messages: List[EmailDto]): @property def folder(self) -> str: - """Gets the folder of this EmailThread. - + """ Thread folder location :return: The folder of this EmailThread. @@ -164,8 +158,7 @@ def folder(self) -> str: @folder.setter def folder(self, folder: str): - """Sets the folder of this EmailThread. - + """ Thread folder location :param folder: The folder of this EmailThread. diff --git a/sdk/AsposeEmailCloudSdk/models/email_thread_list.py b/sdk/AsposeEmailCloudSdk/models/email_thread_list.py index 1fc99d4..aa191c5 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_thread_list.py +++ b/sdk/AsposeEmailCloudSdk/models/email_thread_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[EmailThread] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py index 65d4010..af6876d 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_associated_person_category.py @@ -69,10 +69,10 @@ def __init__(self, value: str = None, description: str = None): if description is not None: self.description = description + @property def value(self) -> str: - """Gets the value of this EnumWithCustomOfAssociatedPersonCategory. - + """ Associated person's category. Enum, available values: Spouse, Child, Mother, Father, Parent, Brother, Sister, Friend, Relative, Manager, Assistant, ReferredBy, Partner, DomesticPartner, Custom :return: The value of this EnumWithCustomOfAssociatedPersonCategory. @@ -82,8 +82,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this EnumWithCustomOfAssociatedPersonCategory. - + """ Associated person's category. Enum, available values: Spouse, Child, Mother, Father, Parent, Brother, Sister, Friend, Relative, Manager, Assistant, ReferredBy, Partner, DomesticPartner, Custom :param value: The value of this EnumWithCustomOfAssociatedPersonCategory. @@ -97,8 +96,8 @@ def value(self, value: str): @property def description(self) -> str: - """Gets the description of this EnumWithCustomOfAssociatedPersonCategory. - + """ + Gets the description of this EnumWithCustomOfAssociatedPersonCategory. :return: The description of this EnumWithCustomOfAssociatedPersonCategory. :rtype: str @@ -107,8 +106,8 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this EnumWithCustomOfAssociatedPersonCategory. - + """ + Sets the description of this EnumWithCustomOfAssociatedPersonCategory. :param description: The description of this EnumWithCustomOfAssociatedPersonCategory. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py index 851b881..87b539c 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_email_address_category.py @@ -69,10 +69,10 @@ def __init__(self, value: str = None, description: str = None): if description is not None: self.description = description + @property def value(self) -> str: - """Gets the value of this EnumWithCustomOfEmailAddressCategory. - + """ Represents category for an email address. Enum, available values: Home, Work, Custom, Email1, Email2, Email3 :return: The value of this EnumWithCustomOfEmailAddressCategory. @@ -82,8 +82,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this EnumWithCustomOfEmailAddressCategory. - + """ Represents category for an email address. Enum, available values: Home, Work, Custom, Email1, Email2, Email3 :param value: The value of this EnumWithCustomOfEmailAddressCategory. @@ -97,8 +96,8 @@ def value(self, value: str): @property def description(self) -> str: - """Gets the description of this EnumWithCustomOfEmailAddressCategory. - + """ + Gets the description of this EnumWithCustomOfEmailAddressCategory. :return: The description of this EnumWithCustomOfEmailAddressCategory. :rtype: str @@ -107,8 +106,8 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this EnumWithCustomOfEmailAddressCategory. - + """ + Sets the description of this EnumWithCustomOfEmailAddressCategory. :param description: The description of this EnumWithCustomOfEmailAddressCategory. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py index d2c9163..1b4d03f 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_event_category.py @@ -69,10 +69,10 @@ def __init__(self, value: str = None, description: str = None): if description is not None: self.description = description + @property def value(self) -> str: - """Gets the value of this EnumWithCustomOfEventCategory. - + """ Event category. Enum, available values: Custom, Birthday, Anniversary :return: The value of this EnumWithCustomOfEventCategory. @@ -82,8 +82,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this EnumWithCustomOfEventCategory. - + """ Event category. Enum, available values: Custom, Birthday, Anniversary :param value: The value of this EnumWithCustomOfEventCategory. @@ -97,8 +96,8 @@ def value(self, value: str): @property def description(self) -> str: - """Gets the description of this EnumWithCustomOfEventCategory. - + """ + Gets the description of this EnumWithCustomOfEventCategory. :return: The description of this EnumWithCustomOfEventCategory. :rtype: str @@ -107,8 +106,8 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this EnumWithCustomOfEventCategory. - + """ + Sets the description of this EnumWithCustomOfEventCategory. :param description: The description of this EnumWithCustomOfEventCategory. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py index a4e4c42..d43a63b 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_instant_messenger_category.py @@ -69,10 +69,10 @@ def __init__(self, value: str = None, description: str = None): if description is not None: self.description = description + @property def value(self) -> str: - """Gets the value of this EnumWithCustomOfInstantMessengerCategory. - + """ Instant messenger address category. Enum, available values: GoogleTalk, Aim, Yahoo, Skype, Qq, Msn, Icq, Jabber, Custom, ImAddress1, ImAddress2, ImAddress3 :return: The value of this EnumWithCustomOfInstantMessengerCategory. @@ -82,8 +82,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this EnumWithCustomOfInstantMessengerCategory. - + """ Instant messenger address category. Enum, available values: GoogleTalk, Aim, Yahoo, Skype, Qq, Msn, Icq, Jabber, Custom, ImAddress1, ImAddress2, ImAddress3 :param value: The value of this EnumWithCustomOfInstantMessengerCategory. @@ -97,8 +96,8 @@ def value(self, value: str): @property def description(self) -> str: - """Gets the description of this EnumWithCustomOfInstantMessengerCategory. - + """ + Gets the description of this EnumWithCustomOfInstantMessengerCategory. :return: The description of this EnumWithCustomOfInstantMessengerCategory. :rtype: str @@ -107,8 +106,8 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this EnumWithCustomOfInstantMessengerCategory. - + """ + Sets the description of this EnumWithCustomOfInstantMessengerCategory. :param description: The description of this EnumWithCustomOfInstantMessengerCategory. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py index 1fb939f..1d65b3f 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_phone_number_category.py @@ -69,10 +69,10 @@ def __init__(self, value: str = None, description: str = None): if description is not None: self.description = description + @property def value(self) -> str: - """Gets the value of this EnumWithCustomOfPhoneNumberCategory. - + """ Phone number category. Enum, available values: Custom, Home, Work, Office, Mobile, Fax, HomeFax, WorkFax, Pager, Car, Isdn, Telex, Callback, Radio, Company, TtyTdd, Assistant, Primary :return: The value of this EnumWithCustomOfPhoneNumberCategory. @@ -82,8 +82,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this EnumWithCustomOfPhoneNumberCategory. - + """ Phone number category. Enum, available values: Custom, Home, Work, Office, Mobile, Fax, HomeFax, WorkFax, Pager, Car, Isdn, Telex, Callback, Radio, Company, TtyTdd, Assistant, Primary :param value: The value of this EnumWithCustomOfPhoneNumberCategory. @@ -97,8 +96,8 @@ def value(self, value: str): @property def description(self) -> str: - """Gets the description of this EnumWithCustomOfPhoneNumberCategory. - + """ + Gets the description of this EnumWithCustomOfPhoneNumberCategory. :return: The description of this EnumWithCustomOfPhoneNumberCategory. :rtype: str @@ -107,8 +106,8 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this EnumWithCustomOfPhoneNumberCategory. - + """ + Sets the description of this EnumWithCustomOfPhoneNumberCategory. :param description: The description of this EnumWithCustomOfPhoneNumberCategory. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py index 226101e..9051118 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_postal_address_category.py @@ -69,10 +69,10 @@ def __init__(self, value: str = None, description: str = None): if description is not None: self.description = description + @property def value(self) -> str: - """Gets the value of this EnumWithCustomOfPostalAddressCategory. - + """ Address category. Enum, available values: Home, Work, Custom :return: The value of this EnumWithCustomOfPostalAddressCategory. @@ -82,8 +82,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this EnumWithCustomOfPostalAddressCategory. - + """ Address category. Enum, available values: Home, Work, Custom :param value: The value of this EnumWithCustomOfPostalAddressCategory. @@ -97,8 +96,8 @@ def value(self, value: str): @property def description(self) -> str: - """Gets the description of this EnumWithCustomOfPostalAddressCategory. - + """ + Gets the description of this EnumWithCustomOfPostalAddressCategory. :return: The description of this EnumWithCustomOfPostalAddressCategory. :rtype: str @@ -107,8 +106,8 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this EnumWithCustomOfPostalAddressCategory. - + """ + Sets the description of this EnumWithCustomOfPostalAddressCategory. :param description: The description of this EnumWithCustomOfPostalAddressCategory. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py index cdb6a46..aa82131 100644 --- a/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py +++ b/sdk/AsposeEmailCloudSdk/models/enum_with_custom_of_url_category.py @@ -69,10 +69,10 @@ def __init__(self, value: str = None, description: str = None): if description is not None: self.description = description + @property def value(self) -> str: - """Gets the value of this EnumWithCustomOfUrlCategory. - + """ Url category. Enum, available values: Profile, HomePage, Home, Work, Blog, Ftp, Custom :return: The value of this EnumWithCustomOfUrlCategory. @@ -82,8 +82,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this EnumWithCustomOfUrlCategory. - + """ Url category. Enum, available values: Profile, HomePage, Home, Work, Blog, Ftp, Custom :param value: The value of this EnumWithCustomOfUrlCategory. @@ -97,8 +96,8 @@ def value(self, value: str): @property def description(self) -> str: - """Gets the description of this EnumWithCustomOfUrlCategory. - + """ + Gets the description of this EnumWithCustomOfUrlCategory. :return: The description of this EnumWithCustomOfUrlCategory. :rtype: str @@ -107,8 +106,8 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this EnumWithCustomOfUrlCategory. - + """ + Sets the description of this EnumWithCustomOfUrlCategory. :param description: The description of this EnumWithCustomOfUrlCategory. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/error.py b/sdk/AsposeEmailCloudSdk/models/error.py index a297bd2..f522337 100644 --- a/sdk/AsposeEmailCloudSdk/models/error.py +++ b/sdk/AsposeEmailCloudSdk/models/error.py @@ -85,10 +85,10 @@ def __init__(self, code: str = None, message: str = None, description: str = Non if inner_error is not None: self.inner_error = inner_error + @property def code(self) -> str: - """Gets the code of this Error. - + """ Code :return: The code of this Error. @@ -98,8 +98,7 @@ def code(self) -> str: @code.setter def code(self, code: str): - """Sets the code of this Error. - + """ Code :param code: The code of this Error. @@ -109,8 +108,7 @@ def code(self, code: str): @property def message(self) -> str: - """Gets the message of this Error. - + """ Message :return: The message of this Error. @@ -120,8 +118,7 @@ def message(self) -> str: @message.setter def message(self, message: str): - """Sets the message of this Error. - + """ Message :param message: The message of this Error. @@ -131,8 +128,7 @@ def message(self, message: str): @property def description(self) -> str: - """Gets the description of this Error. - + """ Description :return: The description of this Error. @@ -142,8 +138,7 @@ def description(self) -> str: @description.setter def description(self, description: str): - """Sets the description of this Error. - + """ Description :param description: The description of this Error. @@ -153,8 +148,7 @@ def description(self, description: str): @property def inner_error(self) -> ErrorDetails: - """Gets the inner_error of this Error. - + """ Inner Error :return: The inner_error of this Error. @@ -164,8 +158,7 @@ def inner_error(self) -> ErrorDetails: @inner_error.setter def inner_error(self, inner_error: ErrorDetails): - """Sets the inner_error of this Error. - + """ Inner Error :param inner_error: The inner_error of this Error. diff --git a/sdk/AsposeEmailCloudSdk/models/error_details.py b/sdk/AsposeEmailCloudSdk/models/error_details.py index a4192bd..c3d4b26 100644 --- a/sdk/AsposeEmailCloudSdk/models/error_details.py +++ b/sdk/AsposeEmailCloudSdk/models/error_details.py @@ -69,10 +69,10 @@ def __init__(self, request_id: str = None, _date: datetime = None): if _date is not None: self._date = _date + @property def request_id(self) -> str: - """Gets the request_id of this ErrorDetails. - + """ The request id :return: The request_id of this ErrorDetails. @@ -82,8 +82,7 @@ def request_id(self) -> str: @request_id.setter def request_id(self, request_id: str): - """Sets the request_id of this ErrorDetails. - + """ The request id :param request_id: The request_id of this ErrorDetails. @@ -93,8 +92,7 @@ def request_id(self, request_id: str): @property def _date(self) -> datetime: - """Gets the _date of this ErrorDetails. - + """ Date :return: The _date of this ErrorDetails. @@ -104,8 +102,7 @@ def _date(self) -> datetime: @_date.setter def _date(self, _date: datetime): - """Sets the _date of this ErrorDetails. - + """ Date :param _date: The _date of this ErrorDetails. diff --git a/sdk/AsposeEmailCloudSdk/models/file_version.py b/sdk/AsposeEmailCloudSdk/models/file_version.py index 1f7fd31..72254eb 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_version.py +++ b/sdk/AsposeEmailCloudSdk/models/file_version.py @@ -102,10 +102,10 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date if is_latest is not None: self.is_latest = is_latest + @property def version_id(self) -> str: - """Gets the version_id of this FileVersion. - + """ File Version ID. :return: The version_id of this FileVersion. @@ -115,8 +115,7 @@ def version_id(self) -> str: @version_id.setter def version_id(self, version_id: str): - """Sets the version_id of this FileVersion. - + """ File Version ID. :param version_id: The version_id of this FileVersion. @@ -126,8 +125,7 @@ def version_id(self, version_id: str): @property def is_latest(self) -> bool: - """Gets the is_latest of this FileVersion. - + """ Specifies whether the file is (true) or is not (false) the latest version of an file. :return: The is_latest of this FileVersion. @@ -137,8 +135,7 @@ def is_latest(self) -> bool: @is_latest.setter def is_latest(self, is_latest: bool): - """Sets the is_latest of this FileVersion. - + """ Specifies whether the file is (true) or is not (false) the latest version of an file. :param is_latest: The is_latest of this FileVersion. diff --git a/sdk/AsposeEmailCloudSdk/models/file_versions.py b/sdk/AsposeEmailCloudSdk/models/file_versions.py index 484ad93..6bb92a0 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_versions.py +++ b/sdk/AsposeEmailCloudSdk/models/file_versions.py @@ -64,10 +64,10 @@ def __init__(self, value: List[FileVersion] = None): if value is not None: self.value = value + @property def value(self) -> List[FileVersion]: - """Gets the value of this FileVersions. - + """ File versions FileVersion. :return: The value of this FileVersions. @@ -77,8 +77,7 @@ def value(self) -> List[FileVersion]: @value.setter def value(self, value: List[FileVersion]): - """Sets the value of this FileVersions. - + """ File versions FileVersion. :param value: The value of this FileVersions. diff --git a/sdk/AsposeEmailCloudSdk/models/files_list.py b/sdk/AsposeEmailCloudSdk/models/files_list.py index 7ec58b8..04560f8 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_list.py +++ b/sdk/AsposeEmailCloudSdk/models/files_list.py @@ -64,10 +64,10 @@ def __init__(self, value: List[StorageFile] = None): if value is not None: self.value = value + @property def value(self) -> List[StorageFile]: - """Gets the value of this FilesList. - + """ Files and folders contained by folder StorageFile. :return: The value of this FilesList. @@ -77,8 +77,7 @@ def value(self) -> List[StorageFile]: @value.setter def value(self, value: List[StorageFile]): - """Sets the value of this FilesList. - + """ Files and folders contained by folder StorageFile. :param value: The value of this FilesList. diff --git a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py index b31d8a1..5eaa38c 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py +++ b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py @@ -71,10 +71,10 @@ def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): if errors is not None: self.errors = errors + @property def uploaded(self) -> List[str]: - """Gets the uploaded of this FilesUploadResult. - + """ List of uploaded file names :return: The uploaded of this FilesUploadResult. @@ -84,8 +84,7 @@ def uploaded(self) -> List[str]: @uploaded.setter def uploaded(self, uploaded: List[str]): - """Sets the uploaded of this FilesUploadResult. - + """ List of uploaded file names :param uploaded: The uploaded of this FilesUploadResult. @@ -95,8 +94,7 @@ def uploaded(self, uploaded: List[str]): @property def errors(self) -> List[Error]: - """Gets the errors of this FilesUploadResult. - + """ List of errors. :return: The errors of this FilesUploadResult. @@ -106,8 +104,7 @@ def errors(self) -> List[Error]: @errors.setter def errors(self, errors: List[Error]): - """Sets the errors of this FilesUploadResult. - + """ List of errors. :param errors: The errors of this FilesUploadResult. diff --git a/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py b/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py index 700cdc2..96853f4 100644 --- a/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py +++ b/sdk/AsposeEmailCloudSdk/models/instant_messenger_address.py @@ -78,10 +78,10 @@ def __init__(self, category: EnumWithCustomOfInstantMessengerCategory = None, ad if preferred is not None: self.preferred = preferred + @property def category(self) -> EnumWithCustomOfInstantMessengerCategory: - """Gets the category of this InstantMessengerAddress. - + """ Address category. :return: The category of this InstantMessengerAddress. @@ -91,8 +91,7 @@ def category(self) -> EnumWithCustomOfInstantMessengerCategory: @category.setter def category(self, category: EnumWithCustomOfInstantMessengerCategory): - """Sets the category of this InstantMessengerAddress. - + """ Address category. :param category: The category of this InstantMessengerAddress. @@ -102,8 +101,7 @@ def category(self, category: EnumWithCustomOfInstantMessengerCategory): @property def address(self) -> str: - """Gets the address of this InstantMessengerAddress. - + """ Address. :return: The address of this InstantMessengerAddress. @@ -113,8 +111,7 @@ def address(self) -> str: @address.setter def address(self, address: str): - """Sets the address of this InstantMessengerAddress. - + """ Address. :param address: The address of this InstantMessengerAddress. @@ -124,8 +121,7 @@ def address(self, address: str): @property def preferred(self) -> bool: - """Gets the preferred of this InstantMessengerAddress. - + """ Determines whether this address is preferred. :return: The preferred of this InstantMessengerAddress. @@ -135,8 +131,7 @@ def preferred(self) -> bool: @preferred.setter def preferred(self, preferred: bool): - """Sets the preferred of this InstantMessengerAddress. - + """ Determines whether this address is preferred. :param preferred: The preferred of this InstantMessengerAddress. diff --git a/sdk/AsposeEmailCloudSdk/models/linked_resource.py b/sdk/AsposeEmailCloudSdk/models/linked_resource.py index 51951b0..fbfb8e7 100644 --- a/sdk/AsposeEmailCloudSdk/models/linked_resource.py +++ b/sdk/AsposeEmailCloudSdk/models/linked_resource.py @@ -90,10 +90,10 @@ def __init__(self, base64_data: str = None, content_id: str = None, content_type if content_link is not None: self.content_link = content_link + @property def content_link(self) -> str: - """Gets the content_link of this LinkedResource. - + """ URI that the resource must match. :return: The content_link of this LinkedResource. @@ -103,8 +103,7 @@ def content_link(self) -> str: @content_link.setter def content_link(self, content_link: str): - """Sets the content_link of this LinkedResource. - + """ URI that the resource must match. :param content_link: The content_link of this LinkedResource. diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py index 764ef79..82a2966 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_component.py @@ -64,10 +64,11 @@ def __init__(self, value: List[AiNameComponent] = None): if value is not None: self.value = value + @property def value(self) -> List[AiNameComponent]: - """Gets the value of this ListResponseOfAiNameComponent. - + """ + Gets the value of this ListResponseOfAiNameComponent. :return: The value of this ListResponseOfAiNameComponent. :rtype: list[AiNameComponent] @@ -76,8 +77,8 @@ def value(self) -> List[AiNameComponent]: @value.setter def value(self, value: List[AiNameComponent]): - """Sets the value of this ListResponseOfAiNameComponent. - + """ + Sets the value of this ListResponseOfAiNameComponent. :param value: The value of this ListResponseOfAiNameComponent. :type: list[AiNameComponent] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py index f2b7dee..b76ebfe 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_extracted.py @@ -64,10 +64,11 @@ def __init__(self, value: List[AiNameExtracted] = None): if value is not None: self.value = value + @property def value(self) -> List[AiNameExtracted]: - """Gets the value of this ListResponseOfAiNameExtracted. - + """ + Gets the value of this ListResponseOfAiNameExtracted. :return: The value of this ListResponseOfAiNameExtracted. :rtype: list[AiNameExtracted] @@ -76,8 +77,8 @@ def value(self) -> List[AiNameExtracted]: @value.setter def value(self, value: List[AiNameExtracted]): - """Sets the value of this ListResponseOfAiNameExtracted. - + """ + Sets the value of this ListResponseOfAiNameExtracted. :param value: The value of this ListResponseOfAiNameExtracted. :type: list[AiNameExtracted] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py index dafed1b..5c846f5 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_ai_name_gender_hypothesis.py @@ -64,10 +64,11 @@ def __init__(self, value: List[AiNameGenderHypothesis] = None): if value is not None: self.value = value + @property def value(self) -> List[AiNameGenderHypothesis]: - """Gets the value of this ListResponseOfAiNameGenderHypothesis. - + """ + Gets the value of this ListResponseOfAiNameGenderHypothesis. :return: The value of this ListResponseOfAiNameGenderHypothesis. :rtype: list[AiNameGenderHypothesis] @@ -76,8 +77,8 @@ def value(self) -> List[AiNameGenderHypothesis]: @value.setter def value(self, value: List[AiNameGenderHypothesis]): - """Sets the value of this ListResponseOfAiNameGenderHypothesis. - + """ + Sets the value of this ListResponseOfAiNameGenderHypothesis. :param value: The value of this ListResponseOfAiNameGenderHypothesis. :type: list[AiNameGenderHypothesis] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py index 3ed602c..345124e 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_contact_dto.py @@ -64,10 +64,11 @@ def __init__(self, value: List[ContactDto] = None): if value is not None: self.value = value + @property def value(self) -> List[ContactDto]: - """Gets the value of this ListResponseOfContactDto. - + """ + Gets the value of this ListResponseOfContactDto. :return: The value of this ListResponseOfContactDto. :rtype: list[ContactDto] @@ -76,8 +77,8 @@ def value(self) -> List[ContactDto]: @value.setter def value(self, value: List[ContactDto]): - """Sets the value of this ListResponseOfContactDto. - + """ + Sets the value of this ListResponseOfContactDto. :param value: The value of this ListResponseOfContactDto. :type: list[ContactDto] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py index 308a154..d17225e 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_account_config.py @@ -64,10 +64,11 @@ def __init__(self, value: List[EmailAccountConfig] = None): if value is not None: self.value = value + @property def value(self) -> List[EmailAccountConfig]: - """Gets the value of this ListResponseOfEmailAccountConfig. - + """ + Gets the value of this ListResponseOfEmailAccountConfig. :return: The value of this ListResponseOfEmailAccountConfig. :rtype: list[EmailAccountConfig] @@ -76,8 +77,8 @@ def value(self) -> List[EmailAccountConfig]: @value.setter def value(self, value: List[EmailAccountConfig]): - """Sets the value of this ListResponseOfEmailAccountConfig. - + """ + Sets the value of this ListResponseOfEmailAccountConfig. :param value: The value of this ListResponseOfEmailAccountConfig. :type: list[EmailAccountConfig] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py index cc2cc87..9e0585b 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_dto.py @@ -64,10 +64,11 @@ def __init__(self, value: List[EmailDto] = None): if value is not None: self.value = value + @property def value(self) -> List[EmailDto]: - """Gets the value of this ListResponseOfEmailDto. - + """ + Gets the value of this ListResponseOfEmailDto. :return: The value of this ListResponseOfEmailDto. :rtype: list[EmailDto] @@ -76,8 +77,8 @@ def value(self) -> List[EmailDto]: @value.setter def value(self, value: List[EmailDto]): - """Sets the value of this ListResponseOfEmailDto. - + """ + Sets the value of this ListResponseOfEmailDto. :param value: The value of this ListResponseOfEmailDto. :type: list[EmailDto] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py index 1027a37..89f966a 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_email_thread.py @@ -64,10 +64,11 @@ def __init__(self, value: List[EmailThread] = None): if value is not None: self.value = value + @property def value(self) -> List[EmailThread]: - """Gets the value of this ListResponseOfEmailThread. - + """ + Gets the value of this ListResponseOfEmailThread. :return: The value of this ListResponseOfEmailThread. :rtype: list[EmailThread] @@ -76,8 +77,8 @@ def value(self) -> List[EmailThread]: @value.setter def value(self, value: List[EmailThread]): - """Sets the value of this ListResponseOfEmailThread. - + """ + Sets the value of this ListResponseOfEmailThread. :param value: The value of this ListResponseOfEmailThread. :type: list[EmailThread] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py index b63304e..d16623d 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_message_base.py @@ -64,10 +64,11 @@ def __init__(self, value: List[MailMessageBase] = None): if value is not None: self.value = value + @property def value(self) -> List[MailMessageBase]: - """Gets the value of this ListResponseOfMailMessageBase. - + """ + Gets the value of this ListResponseOfMailMessageBase. :return: The value of this ListResponseOfMailMessageBase. :rtype: list[MailMessageBase] @@ -76,8 +77,8 @@ def value(self) -> List[MailMessageBase]: @value.setter def value(self, value: List[MailMessageBase]): - """Sets the value of this ListResponseOfMailMessageBase. - + """ + Sets the value of this ListResponseOfMailMessageBase. :param value: The value of this ListResponseOfMailMessageBase. :type: list[MailMessageBase] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py index e2124e0..23a1fe8 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_mail_server_folder.py @@ -64,10 +64,11 @@ def __init__(self, value: List[MailServerFolder] = None): if value is not None: self.value = value + @property def value(self) -> List[MailServerFolder]: - """Gets the value of this ListResponseOfMailServerFolder. - + """ + Gets the value of this ListResponseOfMailServerFolder. :return: The value of this ListResponseOfMailServerFolder. :rtype: list[MailServerFolder] @@ -76,8 +77,8 @@ def value(self) -> List[MailServerFolder]: @value.setter def value(self, value: List[MailServerFolder]): - """Sets the value of this ListResponseOfMailServerFolder. - + """ + Sets the value of this ListResponseOfMailServerFolder. :param value: The value of this ListResponseOfMailServerFolder. :type: list[MailServerFolder] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py index e51ed98..136ff18 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_file_location.py @@ -64,10 +64,11 @@ def __init__(self, value: List[StorageFileLocation] = None): if value is not None: self.value = value + @property def value(self) -> List[StorageFileLocation]: - """Gets the value of this ListResponseOfStorageFileLocation. - + """ + Gets the value of this ListResponseOfStorageFileLocation. :return: The value of this ListResponseOfStorageFileLocation. :rtype: list[StorageFileLocation] @@ -76,8 +77,8 @@ def value(self) -> List[StorageFileLocation]: @value.setter def value(self, value: List[StorageFileLocation]): - """Sets the value of this ListResponseOfStorageFileLocation. - + """ + Sets the value of this ListResponseOfStorageFileLocation. :param value: The value of this ListResponseOfStorageFileLocation. :type: list[StorageFileLocation] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py index 402a6cb..00a80c8 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_calendar_dto.py @@ -64,10 +64,11 @@ def __init__(self, value: List[StorageModelOfCalendarDto] = None): if value is not None: self.value = value + @property def value(self) -> List[StorageModelOfCalendarDto]: - """Gets the value of this ListResponseOfStorageModelOfCalendarDto. - + """ + Gets the value of this ListResponseOfStorageModelOfCalendarDto. :return: The value of this ListResponseOfStorageModelOfCalendarDto. :rtype: list[StorageModelOfCalendarDto] @@ -76,8 +77,8 @@ def value(self) -> List[StorageModelOfCalendarDto]: @value.setter def value(self, value: List[StorageModelOfCalendarDto]): - """Sets the value of this ListResponseOfStorageModelOfCalendarDto. - + """ + Sets the value of this ListResponseOfStorageModelOfCalendarDto. :param value: The value of this ListResponseOfStorageModelOfCalendarDto. :type: list[StorageModelOfCalendarDto] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py index a1beed0..63099a6 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_contact_dto.py @@ -64,10 +64,11 @@ def __init__(self, value: List[StorageModelOfContactDto] = None): if value is not None: self.value = value + @property def value(self) -> List[StorageModelOfContactDto]: - """Gets the value of this ListResponseOfStorageModelOfContactDto. - + """ + Gets the value of this ListResponseOfStorageModelOfContactDto. :return: The value of this ListResponseOfStorageModelOfContactDto. :rtype: list[StorageModelOfContactDto] @@ -76,8 +77,8 @@ def value(self) -> List[StorageModelOfContactDto]: @value.setter def value(self, value: List[StorageModelOfContactDto]): - """Sets the value of this ListResponseOfStorageModelOfContactDto. - + """ + Sets the value of this ListResponseOfStorageModelOfContactDto. :param value: The value of this ListResponseOfStorageModelOfContactDto. :type: list[StorageModelOfContactDto] diff --git a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py index f8715c5..0522a66 100644 --- a/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/list_response_of_storage_model_of_email_dto.py @@ -64,10 +64,11 @@ def __init__(self, value: List[StorageModelOfEmailDto] = None): if value is not None: self.value = value + @property def value(self) -> List[StorageModelOfEmailDto]: - """Gets the value of this ListResponseOfStorageModelOfEmailDto. - + """ + Gets the value of this ListResponseOfStorageModelOfEmailDto. :return: The value of this ListResponseOfStorageModelOfEmailDto. :rtype: list[StorageModelOfEmailDto] @@ -76,8 +77,8 @@ def value(self) -> List[StorageModelOfEmailDto]: @value.setter def value(self, value: List[StorageModelOfEmailDto]): - """Sets the value of this ListResponseOfStorageModelOfEmailDto. - + """ + Sets the value of this ListResponseOfStorageModelOfEmailDto. :param value: The value of this ListResponseOfStorageModelOfEmailDto. :type: list[StorageModelOfEmailDto] diff --git a/sdk/AsposeEmailCloudSdk/models/mail_address.py b/sdk/AsposeEmailCloudSdk/models/mail_address.py index 82d9261..182b956 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_address.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_address.py @@ -83,10 +83,10 @@ def __init__(self, display_name: str = None, address: str = None, participation_ if original_address_string is not None: self.original_address_string = original_address_string + @property def display_name(self) -> str: - """Gets the display_name of this MailAddress. - + """ Display name :return: The display_name of this MailAddress. @@ -96,8 +96,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this MailAddress. - + """ Display name :param display_name: The display_name of this MailAddress. @@ -107,8 +106,7 @@ def display_name(self, display_name: str): @property def address(self) -> str: - """Gets the address of this MailAddress. - + """ Address :return: The address of this MailAddress. @@ -118,8 +116,7 @@ def address(self) -> str: @address.setter def address(self, address: str): - """Sets the address of this MailAddress. - + """ Address :param address: The address of this MailAddress. @@ -129,8 +126,7 @@ def address(self, address: str): @property def participation_status(self) -> str: - """Gets the participation_status of this MailAddress. - + """ Identifies the participation status for the calendar user. Enum, available values: NeedsAction, Accepted, Declined, Tentative, Delegated :return: The participation_status of this MailAddress. @@ -140,8 +136,7 @@ def participation_status(self) -> str: @participation_status.setter def participation_status(self, participation_status: str): - """Sets the participation_status of this MailAddress. - + """ Identifies the participation status for the calendar user. Enum, available values: NeedsAction, Accepted, Declined, Tentative, Delegated :param participation_status: The participation_status of this MailAddress. @@ -153,8 +148,7 @@ def participation_status(self, participation_status: str): @property def original_address_string(self) -> str: - """Gets the original_address_string of this MailAddress. - + """ The original e-mail address string :return: The original_address_string of this MailAddress. @@ -164,8 +158,7 @@ def original_address_string(self) -> str: @original_address_string.setter def original_address_string(self, original_address_string: str): - """Sets the original_address_string of this MailAddress. - + """ The original e-mail address string :param original_address_string: The original_address_string of this MailAddress. diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base.py index 2cfed33..8f9e8c7 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base.py @@ -50,22 +50,16 @@ class MailMessageBase(object): 'discriminator': 'discriminator' } - def __init__(self, discriminator: str = None): + def __init__(self): """ Universal object that stores email messages in different formats. - :param discriminator: - :type discriminator: str """ - self._discriminator = self.__class__.__name__ - - if discriminator is not None: - self.discriminator = discriminator @property def discriminator(self) -> str: - """Gets the discriminator of this MailMessageBase. - + """ + Gets the discriminator of this MailMessageBase. :return: The discriminator of this MailMessageBase. :rtype: str @@ -74,15 +68,13 @@ def discriminator(self) -> str: @discriminator.setter def discriminator(self, discriminator: str): - """Sets the discriminator of this MailMessageBase. - + """ + Sets the discriminator of this MailMessageBase. :param discriminator: The discriminator of this MailMessageBase. :type: str """ - if discriminator is None: - raise ValueError("Invalid value for `discriminator`, must not be `None`") - self._discriminator = self.__class__.__name__ + pass # setter is ignored for discriminator property def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py index c4d5e42..821dbdc 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py @@ -56,11 +56,9 @@ class MailMessageBase64(MailMessageBase): 'format': 'format' } - def __init__(self, discriminator: str = None, value_base64: str = None, format: str = None): + def __init__(self, value_base64: str = None, format: str = None): """ Email message represented as file, encoded to Base64 format. - :param discriminator: - :type discriminator: str :param value_base64: Email message file data encoded to Base64 string. :type value_base64: str :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef @@ -70,18 +68,15 @@ def __init__(self, discriminator: str = None, value_base64: str = None, format: self._value_base64 = None self._format = None - - if discriminator is not None: - self.discriminator = discriminator if value_base64 is not None: self.value_base64 = value_base64 if format is not None: self.format = format + @property def value_base64(self) -> str: - """Gets the value_base64 of this MailMessageBase64. - + """ Email message file data encoded to Base64 string. :return: The value_base64 of this MailMessageBase64. @@ -91,8 +86,7 @@ def value_base64(self) -> str: @value_base64.setter def value_base64(self, value_base64: str): - """Sets the value_base64 of this MailMessageBase64. - + """ Email message file data encoded to Base64 string. :param value_base64: The value_base64 of this MailMessageBase64. @@ -106,8 +100,7 @@ def value_base64(self, value_base64: str): @property def format(self) -> str: - """Gets the format of this MailMessageBase64. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :return: The format of this MailMessageBase64. @@ -117,8 +110,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this MailMessageBase64. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :param format: The format of this MailMessageBase64. diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py index b168909..0ffc1cd 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[MailMessageBase] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py b/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py index dc5f5da..0061038 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_dto.py @@ -55,27 +55,22 @@ class MailMessageDto(MailMessageBase): 'value': 'value' } - def __init__(self, discriminator: str = None, value: EmailDto = None): + def __init__(self, value: EmailDto = None): """ Represents email message, stored as an EmailDto object. - :param discriminator: - :type discriminator: str :param value: Message document object. :type value: EmailDto """ super(MailMessageDto, self).__init__() self._value = None - - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> EmailDto: - """Gets the value of this MailMessageDto. - + """ Message document object. :return: The value of this MailMessageDto. @@ -85,8 +80,7 @@ def value(self) -> EmailDto: @value.setter def value(self, value: EmailDto): - """Sets the value of this MailMessageDto. - + """ Message document object. :param value: The value of this MailMessageDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py b/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py index d91b6a2..d9e6a43 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_mapi.py @@ -55,27 +55,22 @@ class MailMessageMapi(MailMessageBase): 'value': 'value' } - def __init__(self, discriminator: str = None, value: MapiMessageDto = None): + def __init__(self, value: MapiMessageDto = None): """ Email message represented as MAPI object. - :param discriminator: - :type discriminator: str :param value: Email message object. :type value: MapiMessageDto """ super(MailMessageMapi, self).__init__() self._value = None - - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> MapiMessageDto: - """Gets the value of this MailMessageMapi. - + """ Email message object. :return: The value of this MailMessageMapi. @@ -85,8 +80,7 @@ def value(self) -> MapiMessageDto: @value.setter def value(self, value: MapiMessageDto): - """Sets the value of this MailMessageMapi. - + """ Email message object. :param value: The value of this MailMessageMapi. diff --git a/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py b/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py index 9ad2451..030216d 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_server_folder.py @@ -69,10 +69,10 @@ def __init__(self, name: str = None, id: str = None): if id is not None: self.id = id + @property def name(self) -> str: - """Gets the name of this MailServerFolder. - + """ Gets or sets mail folder name :return: The name of this MailServerFolder. @@ -82,8 +82,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this MailServerFolder. - + """ Gets or sets mail folder name :param name: The name of this MailServerFolder. @@ -93,8 +92,7 @@ def name(self, name: str): @property def id(self) -> str: - """Gets the id of this MailServerFolder. - + """ Gets or sets mail folder id :return: The id of this MailServerFolder. @@ -104,8 +102,7 @@ def id(self) -> str: @id.setter def id(self, id: str): - """Sets the id of this MailServerFolder. - + """ Gets or sets mail folder id :param id: The id of this MailServerFolder. diff --git a/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py b/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py index 391098c..b9546f8 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_server_folder_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[MailServerFolder] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py index f2acc41..4bd6a41 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_attachment_dto.py @@ -69,10 +69,10 @@ def __init__(self, name: str = None, data_base64: str = None): if data_base64 is not None: self.data_base64 = data_base64 + @property def name(self) -> str: - """Gets the name of this MapiAttachmentDto. - + """ Attachment's name :return: The name of this MapiAttachmentDto. @@ -82,8 +82,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this MapiAttachmentDto. - + """ Attachment's name :param name: The name of this MapiAttachmentDto. @@ -93,8 +92,7 @@ def name(self, name: str): @property def data_base64(self) -> str: - """Gets the data_base64 of this MapiAttachmentDto. - + """ Attachment data represented as Base64 string. :return: The data_base64 of this MapiAttachmentDto. @@ -104,8 +102,7 @@ def data_base64(self) -> str: @data_base64.setter def data_base64(self, data_base64: str): - """Sets the data_base64 of this MapiAttachmentDto. - + """ Attachment data represented as Base64 string. :param data_base64: The data_base64 of this MapiAttachmentDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py index e385fb6..8db6472 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_binary_property_dto.py @@ -57,13 +57,11 @@ class MapiBinaryPropertyDto(MapiPropertyDto): 'value_base64': 'valueBase64' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value_base64: str = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value_base64: str = None): """ Mapi property with Binary value represented as a Base64 string :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value_base64: Property value converted to Base64 :type value_base64: str """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value_base64 is not None: self.value_base64 = value_base64 + @property def value_base64(self) -> str: - """Gets the value_base64 of this MapiBinaryPropertyDto. - + """ Property value converted to Base64 :return: The value_base64 of this MapiBinaryPropertyDto. @@ -91,8 +87,7 @@ def value_base64(self) -> str: @value_base64.setter def value_base64(self, value_base64: str): - """Sets the value_base64 of this MapiBinaryPropertyDto. - + """ Property value converted to Base64 :param value_base64: The value_base64 of this MapiBinaryPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py index a15f62f..0d2b9ba 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_boolean_property_dto.py @@ -57,13 +57,11 @@ class MapiBooleanPropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: bool = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: bool = None): """ Mapi property with Boolean value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Property value :type value: bool """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> bool: - """Gets the value of this MapiBooleanPropertyDto. - + """ Property value :return: The value of this MapiBooleanPropertyDto. @@ -91,8 +87,7 @@ def value(self) -> bool: @value.setter def value(self, value: bool): - """Sets the value of this MapiBooleanPropertyDto. - + """ Property value :param value: The value of this MapiBooleanPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py index 7f9b8b6..1c854bb 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_as_file_request.py @@ -71,10 +71,10 @@ def __init__(self, format: str = None, value: MapiCalendarDto = None): if value is not None: self.value = value + @property def format(self) -> str: - """Gets the format of this MapiCalendarAsFileRequest. - + """ Calendar file format Enum, available values: Ics, Msg :return: The format of this MapiCalendarAsFileRequest. @@ -84,8 +84,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this MapiCalendarAsFileRequest. - + """ Calendar file format Enum, available values: Ics, Msg :param format: The format of this MapiCalendarAsFileRequest. @@ -97,8 +96,7 @@ def format(self, format: str): @property def value(self) -> MapiCalendarDto: - """Gets the value of this MapiCalendarAsFileRequest. - + """ MAPI calendar model. :return: The value of this MapiCalendarAsFileRequest. @@ -108,8 +106,7 @@ def value(self) -> MapiCalendarDto: @value.setter def value(self, value: MapiCalendarDto): - """Sets the value of this MapiCalendarAsFileRequest. - + """ MAPI calendar model. :param value: The value of this MapiCalendarAsFileRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py index 3ebca35..39fe46f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_attendees_dto.py @@ -85,10 +85,10 @@ def __init__(self, appointment_recipients: List[MapiRecipientDto] = None, appoin if response_requested is not None: self.response_requested = response_requested + @property def appointment_recipients(self) -> List[MapiRecipientDto]: - """Gets the appointment_recipients of this MapiCalendarAttendeesDto. - + """ List of attendees. :return: The appointment_recipients of this MapiCalendarAttendeesDto. @@ -98,8 +98,7 @@ def appointment_recipients(self) -> List[MapiRecipientDto]: @appointment_recipients.setter def appointment_recipients(self, appointment_recipients: List[MapiRecipientDto]): - """Sets the appointment_recipients of this MapiCalendarAttendeesDto. - + """ List of attendees. :param appointment_recipients: The appointment_recipients of this MapiCalendarAttendeesDto. @@ -109,8 +108,7 @@ def appointment_recipients(self, appointment_recipients: List[MapiRecipientDto]) @property def appointment_unsendable_recipients(self) -> List[MapiRecipientDto]: - """Gets the appointment_unsendable_recipients of this MapiCalendarAttendeesDto. - + """ List of unsendable attendees. :return: The appointment_unsendable_recipients of this MapiCalendarAttendeesDto. @@ -120,8 +118,7 @@ def appointment_unsendable_recipients(self) -> List[MapiRecipientDto]: @appointment_unsendable_recipients.setter def appointment_unsendable_recipients(self, appointment_unsendable_recipients: List[MapiRecipientDto]): - """Sets the appointment_unsendable_recipients of this MapiCalendarAttendeesDto. - + """ List of unsendable attendees. :param appointment_unsendable_recipients: The appointment_unsendable_recipients of this MapiCalendarAttendeesDto. @@ -131,8 +128,7 @@ def appointment_unsendable_recipients(self, appointment_unsendable_recipients: L @property def not_allow_propose(self) -> bool: - """Gets the not_allow_propose of this MapiCalendarAttendeesDto. - + """ Value indicating whether attendees are not allowed to propose a new date and/or time for the meeting. :return: The not_allow_propose of this MapiCalendarAttendeesDto. @@ -142,8 +138,7 @@ def not_allow_propose(self) -> bool: @not_allow_propose.setter def not_allow_propose(self, not_allow_propose: bool): - """Sets the not_allow_propose of this MapiCalendarAttendeesDto. - + """ Value indicating whether attendees are not allowed to propose a new date and/or time for the meeting. :param not_allow_propose: The not_allow_propose of this MapiCalendarAttendeesDto. @@ -155,8 +150,7 @@ def not_allow_propose(self, not_allow_propose: bool): @property def response_requested(self) -> bool: - """Gets the response_requested of this MapiCalendarAttendeesDto. - + """ Value indicating whether a response is requested to a Message object. :return: The response_requested of this MapiCalendarAttendeesDto. @@ -166,8 +160,7 @@ def response_requested(self) -> bool: @response_requested.setter def response_requested(self, response_requested: bool): - """Sets the response_requested of this MapiCalendarAttendeesDto. - + """ Value indicating whether a response is requested to a Message object. :param response_requested: The response_requested of this MapiCalendarAttendeesDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py index 7763bbd..109e564 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_daily_recurrence_pattern_dto.py @@ -81,7 +81,7 @@ class MapiCalendarDailyRecurrencePatternDto(MapiCalendarRecurrencePatternDto): 'day_of_week': 'dayOfWeek' } - def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, discriminator: str = None, day_of_week: List[str] = None): + def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, day_of_week: List[str] = None): """ Represents the daily recurrence pattern of the mapi calendar. :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura @@ -110,8 +110,6 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet :type start_date: datetime :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday :type week_start_day: str - :param discriminator: - :type discriminator: str :param day_of_week: Days of week at which the event occurs. :type day_of_week: List[str] """ @@ -145,15 +143,13 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet self.start_date = start_date if week_start_day is not None: self.week_start_day = week_start_day - if discriminator is not None: - self.discriminator = discriminator if day_of_week is not None: self.day_of_week = day_of_week + @property def day_of_week(self) -> List[str]: - """Gets the day_of_week of this MapiCalendarDailyRecurrencePatternDto. - + """ Days of week at which the event occurs. Items: Enumerates the days of week of the mapi calendar recurrence pattern Enum, available values: Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday :return: The day_of_week of this MapiCalendarDailyRecurrencePatternDto. @@ -163,8 +159,7 @@ def day_of_week(self) -> List[str]: @day_of_week.setter def day_of_week(self, day_of_week: List[str]): - """Sets the day_of_week of this MapiCalendarDailyRecurrencePatternDto. - + """ Days of week at which the event occurs. Items: Enumerates the days of week of the mapi calendar recurrence pattern Enum, available values: Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday :param day_of_week: The day_of_week of this MapiCalendarDailyRecurrencePatternDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py index edb40bb..e2cd82c 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_dto.py @@ -127,7 +127,7 @@ class MapiCalendarDto(MapiMessageItemBaseDto): 'organizer': 'organizer' } - def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, discriminator: str = None, appointment_counter_proposal: bool = None, attendees: MapiCalendarAttendeesDto = None, busy_status: str = None, client_intent: List[str] = None, end_date: datetime = None, end_date_time_zone: MapiCalendarTimeZoneDto = None, is_all_day: bool = None, key_words: str = None, location: str = None, recurrence: MapiCalendarEventRecurrenceDto = None, reminder_delta: int = None, reminder_file_parameter: str = None, reminder_set: bool = None, sequence: int = None, start_date: datetime = None, start_date_time_zone: MapiCalendarTimeZoneDto = None, uid: str = None, organizer: MapiElectronicAddressDto = None): + def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, appointment_counter_proposal: bool = None, attendees: MapiCalendarAttendeesDto = None, busy_status: str = None, client_intent: List[str] = None, end_date: datetime = None, end_date_time_zone: MapiCalendarTimeZoneDto = None, is_all_day: bool = None, key_words: str = None, location: str = None, recurrence: MapiCalendarEventRecurrenceDto = None, reminder_delta: int = None, reminder_file_parameter: str = None, reminder_set: bool = None, sequence: int = None, start_date: datetime = None, start_date_time_zone: MapiCalendarTimeZoneDto = None, uid: str = None, organizer: MapiElectronicAddressDto = None): """ Represents the mapi calendar object :param attachments: Message item attachments. @@ -162,8 +162,6 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N :type subject_prefix: str :param properties: List of MAPI properties :type properties: List[MapiPropertyDto] - :param discriminator: - :type discriminator: str :param appointment_counter_proposal: Value indicating whether a Meeting Response object is a counter proposal. :type appointment_counter_proposal: bool :param attendees: Attendees @@ -254,8 +252,6 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N self.subject_prefix = subject_prefix if properties is not None: self.properties = properties - if discriminator is not None: - self.discriminator = discriminator if appointment_counter_proposal is not None: self.appointment_counter_proposal = appointment_counter_proposal if attendees is not None: @@ -293,10 +289,10 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N if organizer is not None: self.organizer = organizer + @property def appointment_counter_proposal(self) -> bool: - """Gets the appointment_counter_proposal of this MapiCalendarDto. - + """ Value indicating whether a Meeting Response object is a counter proposal. :return: The appointment_counter_proposal of this MapiCalendarDto. @@ -306,8 +302,7 @@ def appointment_counter_proposal(self) -> bool: @appointment_counter_proposal.setter def appointment_counter_proposal(self, appointment_counter_proposal: bool): - """Sets the appointment_counter_proposal of this MapiCalendarDto. - + """ Value indicating whether a Meeting Response object is a counter proposal. :param appointment_counter_proposal: The appointment_counter_proposal of this MapiCalendarDto. @@ -319,8 +314,7 @@ def appointment_counter_proposal(self, appointment_counter_proposal: bool): @property def attendees(self) -> MapiCalendarAttendeesDto: - """Gets the attendees of this MapiCalendarDto. - + """ Attendees :return: The attendees of this MapiCalendarDto. @@ -330,8 +324,7 @@ def attendees(self) -> MapiCalendarAttendeesDto: @attendees.setter def attendees(self, attendees: MapiCalendarAttendeesDto): - """Sets the attendees of this MapiCalendarDto. - + """ Attendees :param attendees: The attendees of this MapiCalendarDto. @@ -341,8 +334,7 @@ def attendees(self, attendees: MapiCalendarAttendeesDto): @property def busy_status(self) -> str: - """Gets the busy_status of this MapiCalendarDto. - + """ Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice :return: The busy_status of this MapiCalendarDto. @@ -352,8 +344,7 @@ def busy_status(self) -> str: @busy_status.setter def busy_status(self, busy_status: str): - """Sets the busy_status of this MapiCalendarDto. - + """ Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice :param busy_status: The busy_status of this MapiCalendarDto. @@ -365,8 +356,7 @@ def busy_status(self, busy_status: str): @property def client_intent(self) -> List[str]: - """Gets the client_intent of this MapiCalendarDto. - + """ Actions the user has taken on this Meeting object. Items: Enumerates the actions the user can taken on the Meeting object Enum, available values: Manager, Delegate, DeletedWithNoResponse, DeletedExceptionWithNoResponse, RespondedTentative, RespondedAccept, RespondedDecline, ModifiedStartTime, ModifiedEndTime, ModifiedLocation, RespondedExceptionDecline, Canceled, ExceptionCanceled :return: The client_intent of this MapiCalendarDto. @@ -376,8 +366,7 @@ def client_intent(self) -> List[str]: @client_intent.setter def client_intent(self, client_intent: List[str]): - """Sets the client_intent of this MapiCalendarDto. - + """ Actions the user has taken on this Meeting object. Items: Enumerates the actions the user can taken on the Meeting object Enum, available values: Manager, Delegate, DeletedWithNoResponse, DeletedExceptionWithNoResponse, RespondedTentative, RespondedAccept, RespondedDecline, ModifiedStartTime, ModifiedEndTime, ModifiedLocation, RespondedExceptionDecline, Canceled, ExceptionCanceled :param client_intent: The client_intent of this MapiCalendarDto. @@ -387,8 +376,7 @@ def client_intent(self, client_intent: List[str]): @property def end_date(self) -> datetime: - """Gets the end_date of this MapiCalendarDto. - + """ End date and time of the event. If the date is not set, default value for DateTime is returned. :return: The end_date of this MapiCalendarDto. @@ -398,8 +386,7 @@ def end_date(self) -> datetime: @end_date.setter def end_date(self, end_date: datetime): - """Sets the end_date of this MapiCalendarDto. - + """ End date and time of the event. If the date is not set, default value for DateTime is returned. :param end_date: The end_date of this MapiCalendarDto. @@ -411,8 +398,7 @@ def end_date(self, end_date: datetime): @property def end_date_time_zone(self) -> MapiCalendarTimeZoneDto: - """Gets the end_date_time_zone of this MapiCalendarDto. - + """ Time zone information that indicates the time zone of the EndDate property. :return: The end_date_time_zone of this MapiCalendarDto. @@ -422,8 +408,7 @@ def end_date_time_zone(self) -> MapiCalendarTimeZoneDto: @end_date_time_zone.setter def end_date_time_zone(self, end_date_time_zone: MapiCalendarTimeZoneDto): - """Sets the end_date_time_zone of this MapiCalendarDto. - + """ Time zone information that indicates the time zone of the EndDate property. :param end_date_time_zone: The end_date_time_zone of this MapiCalendarDto. @@ -433,8 +418,7 @@ def end_date_time_zone(self, end_date_time_zone: MapiCalendarTimeZoneDto): @property def is_all_day(self) -> bool: - """Gets the is_all_day of this MapiCalendarDto. - + """ Value indicating whether the event is an all-day event. :return: The is_all_day of this MapiCalendarDto. @@ -444,8 +428,7 @@ def is_all_day(self) -> bool: @is_all_day.setter def is_all_day(self, is_all_day: bool): - """Sets the is_all_day of this MapiCalendarDto. - + """ Value indicating whether the event is an all-day event. :param is_all_day: The is_all_day of this MapiCalendarDto. @@ -457,8 +440,7 @@ def is_all_day(self, is_all_day: bool): @property def key_words(self) -> str: - """Gets the key_words of this MapiCalendarDto. - + """ Categories of the calendar object. :return: The key_words of this MapiCalendarDto. @@ -468,8 +450,7 @@ def key_words(self) -> str: @key_words.setter def key_words(self, key_words: str): - """Sets the key_words of this MapiCalendarDto. - + """ Categories of the calendar object. :param key_words: The key_words of this MapiCalendarDto. @@ -479,8 +460,7 @@ def key_words(self, key_words: str): @property def location(self) -> str: - """Gets the location of this MapiCalendarDto. - + """ Location of the event. :return: The location of this MapiCalendarDto. @@ -490,8 +470,7 @@ def location(self) -> str: @location.setter def location(self, location: str): - """Sets the location of this MapiCalendarDto. - + """ Location of the event. :param location: The location of this MapiCalendarDto. @@ -501,8 +480,7 @@ def location(self, location: str): @property def recurrence(self) -> MapiCalendarEventRecurrenceDto: - """Gets the recurrence of this MapiCalendarDto. - + """ Recurrence properties. :return: The recurrence of this MapiCalendarDto. @@ -512,8 +490,7 @@ def recurrence(self) -> MapiCalendarEventRecurrenceDto: @recurrence.setter def recurrence(self, recurrence: MapiCalendarEventRecurrenceDto): - """Sets the recurrence of this MapiCalendarDto. - + """ Recurrence properties. :param recurrence: The recurrence of this MapiCalendarDto. @@ -523,8 +500,7 @@ def recurrence(self, recurrence: MapiCalendarEventRecurrenceDto): @property def reminder_delta(self) -> int: - """Gets the reminder_delta of this MapiCalendarDto. - + """ Interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object. :return: The reminder_delta of this MapiCalendarDto. @@ -534,8 +510,7 @@ def reminder_delta(self) -> int: @reminder_delta.setter def reminder_delta(self, reminder_delta: int): - """Sets the reminder_delta of this MapiCalendarDto. - + """ Interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object. :param reminder_delta: The reminder_delta of this MapiCalendarDto. @@ -547,8 +522,7 @@ def reminder_delta(self, reminder_delta: int): @property def reminder_file_parameter(self) -> str: - """Gets the reminder_file_parameter of this MapiCalendarDto. - + """ Full path of the sound that a client SHOULD play when the reminder becomes overdue. :return: The reminder_file_parameter of this MapiCalendarDto. @@ -558,8 +532,7 @@ def reminder_file_parameter(self) -> str: @reminder_file_parameter.setter def reminder_file_parameter(self, reminder_file_parameter: str): - """Sets the reminder_file_parameter of this MapiCalendarDto. - + """ Full path of the sound that a client SHOULD play when the reminder becomes overdue. :param reminder_file_parameter: The reminder_file_parameter of this MapiCalendarDto. @@ -569,8 +542,7 @@ def reminder_file_parameter(self, reminder_file_parameter: str): @property def reminder_set(self) -> bool: - """Gets the reminder_set of this MapiCalendarDto. - + """ Value indicating whether a reminder is set on the object. :return: The reminder_set of this MapiCalendarDto. @@ -580,8 +552,7 @@ def reminder_set(self) -> bool: @reminder_set.setter def reminder_set(self, reminder_set: bool): - """Sets the reminder_set of this MapiCalendarDto. - + """ Value indicating whether a reminder is set on the object. :param reminder_set: The reminder_set of this MapiCalendarDto. @@ -593,8 +564,7 @@ def reminder_set(self, reminder_set: bool): @property def sequence(self) -> int: - """Gets the sequence of this MapiCalendarDto. - + """ Sequence number. :return: The sequence of this MapiCalendarDto. @@ -604,8 +574,7 @@ def sequence(self) -> int: @sequence.setter def sequence(self, sequence: int): - """Sets the sequence of this MapiCalendarDto. - + """ Sequence number. :param sequence: The sequence of this MapiCalendarDto. @@ -617,8 +586,7 @@ def sequence(self, sequence: int): @property def start_date(self) -> datetime: - """Gets the start_date of this MapiCalendarDto. - + """ Start date and time of the event. If the date is not set, default value for DateTime is returned. :return: The start_date of this MapiCalendarDto. @@ -628,8 +596,7 @@ def start_date(self) -> datetime: @start_date.setter def start_date(self, start_date: datetime): - """Sets the start_date of this MapiCalendarDto. - + """ Start date and time of the event. If the date is not set, default value for DateTime is returned. :param start_date: The start_date of this MapiCalendarDto. @@ -641,8 +608,7 @@ def start_date(self, start_date: datetime): @property def start_date_time_zone(self) -> MapiCalendarTimeZoneDto: - """Gets the start_date_time_zone of this MapiCalendarDto. - + """ Time zone information that indicates the time zone of the StartDate property. :return: The start_date_time_zone of this MapiCalendarDto. @@ -652,8 +618,7 @@ def start_date_time_zone(self) -> MapiCalendarTimeZoneDto: @start_date_time_zone.setter def start_date_time_zone(self, start_date_time_zone: MapiCalendarTimeZoneDto): - """Sets the start_date_time_zone of this MapiCalendarDto. - + """ Time zone information that indicates the time zone of the StartDate property. :param start_date_time_zone: The start_date_time_zone of this MapiCalendarDto. @@ -663,8 +628,7 @@ def start_date_time_zone(self, start_date_time_zone: MapiCalendarTimeZoneDto): @property def uid(self) -> str: - """Gets the uid of this MapiCalendarDto. - + """ Unique identifier. :return: The uid of this MapiCalendarDto. @@ -674,8 +638,7 @@ def uid(self) -> str: @uid.setter def uid(self, uid: str): - """Sets the uid of this MapiCalendarDto. - + """ Unique identifier. :param uid: The uid of this MapiCalendarDto. @@ -685,8 +648,7 @@ def uid(self, uid: str): @property def organizer(self) -> MapiElectronicAddressDto: - """Gets the organizer of this MapiCalendarDto. - + """ Organizer :return: The organizer of this MapiCalendarDto. @@ -696,8 +658,7 @@ def organizer(self) -> MapiElectronicAddressDto: @organizer.setter def organizer(self, organizer: MapiElectronicAddressDto): - """Sets the organizer of this MapiCalendarDto. - + """ Organizer :param organizer: The organizer of this MapiCalendarDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py index e965741..68b31b3 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_event_recurrence_dto.py @@ -100,10 +100,10 @@ def __init__(self, appointment_time_zone_definition_recur: MapiCalendarTimeZoneD if time_zone_struct is not None: self.time_zone_struct = time_zone_struct + @property def appointment_time_zone_definition_recur(self) -> MapiCalendarTimeZoneDto: - """Gets the appointment_time_zone_definition_recur of this MapiCalendarEventRecurrenceDto. - + """ Time zone information that describes how to convert the meeting date and time on a recurring series to and from UTC. :return: The appointment_time_zone_definition_recur of this MapiCalendarEventRecurrenceDto. @@ -113,8 +113,7 @@ def appointment_time_zone_definition_recur(self) -> MapiCalendarTimeZoneDto: @appointment_time_zone_definition_recur.setter def appointment_time_zone_definition_recur(self, appointment_time_zone_definition_recur: MapiCalendarTimeZoneDto): - """Sets the appointment_time_zone_definition_recur of this MapiCalendarEventRecurrenceDto. - + """ Time zone information that describes how to convert the meeting date and time on a recurring series to and from UTC. :param appointment_time_zone_definition_recur: The appointment_time_zone_definition_recur of this MapiCalendarEventRecurrenceDto. @@ -124,8 +123,7 @@ def appointment_time_zone_definition_recur(self, appointment_time_zone_definitio @property def clip_end(self) -> datetime: - """Gets the clip_end of this MapiCalendarEventRecurrenceDto. - + """ Date of the last instance. :return: The clip_end of this MapiCalendarEventRecurrenceDto. @@ -135,8 +133,7 @@ def clip_end(self) -> datetime: @clip_end.setter def clip_end(self, clip_end: datetime): - """Sets the clip_end of this MapiCalendarEventRecurrenceDto. - + """ Date of the last instance. :param clip_end: The clip_end of this MapiCalendarEventRecurrenceDto. @@ -148,8 +145,7 @@ def clip_end(self, clip_end: datetime): @property def clip_start(self) -> datetime: - """Gets the clip_start of this MapiCalendarEventRecurrenceDto. - + """ Date of the first instance. :return: The clip_start of this MapiCalendarEventRecurrenceDto. @@ -159,8 +155,7 @@ def clip_start(self) -> datetime: @clip_start.setter def clip_start(self, clip_start: datetime): - """Sets the clip_start of this MapiCalendarEventRecurrenceDto. - + """ Date of the first instance. :param clip_start: The clip_start of this MapiCalendarEventRecurrenceDto. @@ -172,8 +167,7 @@ def clip_start(self, clip_start: datetime): @property def is_exception(self) -> bool: - """Gets the is_exception of this MapiCalendarEventRecurrenceDto. - + """ Value indicating whether the object represents an exception. :return: The is_exception of this MapiCalendarEventRecurrenceDto. @@ -183,8 +177,7 @@ def is_exception(self) -> bool: @is_exception.setter def is_exception(self, is_exception: bool): - """Sets the is_exception of this MapiCalendarEventRecurrenceDto. - + """ Value indicating whether the object represents an exception. :param is_exception: The is_exception of this MapiCalendarEventRecurrenceDto. @@ -196,8 +189,7 @@ def is_exception(self, is_exception: bool): @property def recurrence_pattern(self) -> MapiCalendarRecurrencePatternDto: - """Gets the recurrence_pattern of this MapiCalendarEventRecurrenceDto. - + """ Recurrence pattern. :return: The recurrence_pattern of this MapiCalendarEventRecurrenceDto. @@ -207,8 +199,7 @@ def recurrence_pattern(self) -> MapiCalendarRecurrencePatternDto: @recurrence_pattern.setter def recurrence_pattern(self, recurrence_pattern: MapiCalendarRecurrencePatternDto): - """Sets the recurrence_pattern of this MapiCalendarEventRecurrenceDto. - + """ Recurrence pattern. :param recurrence_pattern: The recurrence_pattern of this MapiCalendarEventRecurrenceDto. @@ -218,8 +209,7 @@ def recurrence_pattern(self, recurrence_pattern: MapiCalendarRecurrencePatternDt @property def time_zone_struct(self) -> MapiCalendarTimeZoneDto: - """Gets the time_zone_struct of this MapiCalendarEventRecurrenceDto. - + """ Time zone information for a recurring meeting. :return: The time_zone_struct of this MapiCalendarEventRecurrenceDto. @@ -229,8 +219,7 @@ def time_zone_struct(self) -> MapiCalendarTimeZoneDto: @time_zone_struct.setter def time_zone_struct(self, time_zone_struct: MapiCalendarTimeZoneDto): - """Sets the time_zone_struct of this MapiCalendarEventRecurrenceDto. - + """ Time zone information for a recurring meeting. :param time_zone_struct: The time_zone_struct of this MapiCalendarEventRecurrenceDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py index ef8e885..2ffc637 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_exception_info_dto.py @@ -155,10 +155,10 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, body: str = None if sub_type is not None: self.sub_type = sub_type + @property def attachments(self) -> List[MapiAttachmentDto]: - """Gets the attachments of this MapiCalendarExceptionInfoDto. - + """ Attachments in the recurrence exception. :return: The attachments of this MapiCalendarExceptionInfoDto. @@ -168,8 +168,7 @@ def attachments(self) -> List[MapiAttachmentDto]: @attachments.setter def attachments(self, attachments: List[MapiAttachmentDto]): - """Sets the attachments of this MapiCalendarExceptionInfoDto. - + """ Attachments in the recurrence exception. :param attachments: The attachments of this MapiCalendarExceptionInfoDto. @@ -179,8 +178,7 @@ def attachments(self, attachments: List[MapiAttachmentDto]): @property def body(self) -> str: - """Gets the body of this MapiCalendarExceptionInfoDto. - + """ Body. :return: The body of this MapiCalendarExceptionInfoDto. @@ -190,8 +188,7 @@ def body(self) -> str: @body.setter def body(self, body: str): - """Sets the body of this MapiCalendarExceptionInfoDto. - + """ Body. :param body: The body of this MapiCalendarExceptionInfoDto. @@ -201,8 +198,7 @@ def body(self, body: str): @property def busy_status(self) -> str: - """Gets the busy_status of this MapiCalendarExceptionInfoDto. - + """ Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice :return: The busy_status of this MapiCalendarExceptionInfoDto. @@ -212,8 +208,7 @@ def busy_status(self) -> str: @busy_status.setter def busy_status(self, busy_status: str): - """Sets the busy_status of this MapiCalendarExceptionInfoDto. - + """ Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice :param busy_status: The busy_status of this MapiCalendarExceptionInfoDto. @@ -225,8 +220,7 @@ def busy_status(self, busy_status: str): @property def end_date_time(self) -> datetime: - """Gets the end_date_time of this MapiCalendarExceptionInfoDto. - + """ End date. :return: The end_date_time of this MapiCalendarExceptionInfoDto. @@ -236,8 +230,7 @@ def end_date_time(self) -> datetime: @end_date_time.setter def end_date_time(self, end_date_time: datetime): - """Sets the end_date_time of this MapiCalendarExceptionInfoDto. - + """ End date. :param end_date_time: The end_date_time of this MapiCalendarExceptionInfoDto. @@ -249,8 +242,7 @@ def end_date_time(self, end_date_time: datetime): @property def has_attachment(self) -> bool: - """Gets the has_attachment of this MapiCalendarExceptionInfoDto. - + """ Value of this field specifies whether the Exception Embedded Message object contains attachments. :return: The has_attachment of this MapiCalendarExceptionInfoDto. @@ -260,8 +252,7 @@ def has_attachment(self) -> bool: @has_attachment.setter def has_attachment(self, has_attachment: bool): - """Sets the has_attachment of this MapiCalendarExceptionInfoDto. - + """ Value of this field specifies whether the Exception Embedded Message object contains attachments. :param has_attachment: The has_attachment of this MapiCalendarExceptionInfoDto. @@ -273,8 +264,7 @@ def has_attachment(self, has_attachment: bool): @property def location(self) -> str: - """Gets the location of this MapiCalendarExceptionInfoDto. - + """ Location. :return: The location of this MapiCalendarExceptionInfoDto. @@ -284,8 +274,7 @@ def location(self) -> str: @location.setter def location(self, location: str): - """Sets the location of this MapiCalendarExceptionInfoDto. - + """ Location. :param location: The location of this MapiCalendarExceptionInfoDto. @@ -295,8 +284,7 @@ def location(self, location: str): @property def meeting_type(self) -> str: - """Gets the meeting_type of this MapiCalendarExceptionInfoDto. - + """ Enumerates the appointment state Enum, available values: Meeting, Received, Canceled :return: The meeting_type of this MapiCalendarExceptionInfoDto. @@ -306,8 +294,7 @@ def meeting_type(self) -> str: @meeting_type.setter def meeting_type(self, meeting_type: str): - """Sets the meeting_type of this MapiCalendarExceptionInfoDto. - + """ Enumerates the appointment state Enum, available values: Meeting, Received, Canceled :param meeting_type: The meeting_type of this MapiCalendarExceptionInfoDto. @@ -319,8 +306,7 @@ def meeting_type(self, meeting_type: str): @property def original_start_date(self) -> datetime: - """Gets the original_start_date of this MapiCalendarExceptionInfoDto. - + """ Original start date. :return: The original_start_date of this MapiCalendarExceptionInfoDto. @@ -330,8 +316,7 @@ def original_start_date(self) -> datetime: @original_start_date.setter def original_start_date(self, original_start_date: datetime): - """Sets the original_start_date of this MapiCalendarExceptionInfoDto. - + """ Original start date. :param original_start_date: The original_start_date of this MapiCalendarExceptionInfoDto. @@ -343,8 +328,7 @@ def original_start_date(self, original_start_date: datetime): @property def override_flags(self) -> List[str]: - """Gets the override_flags of this MapiCalendarExceptionInfoDto. - + """ Override flags. Items: Specifies what data in the MapiCalendarOverride structure has a value different from the recurring series. Enum, available values: Subject, MeetingType, ReminderDelta, Reminder, Location, BusyStatus, Attachment, Subtype, AppointmentColor, ExceptionalBody :return: The override_flags of this MapiCalendarExceptionInfoDto. @@ -354,8 +338,7 @@ def override_flags(self) -> List[str]: @override_flags.setter def override_flags(self, override_flags: List[str]): - """Sets the override_flags of this MapiCalendarExceptionInfoDto. - + """ Override flags. Items: Specifies what data in the MapiCalendarOverride structure has a value different from the recurring series. Enum, available values: Subject, MeetingType, ReminderDelta, Reminder, Location, BusyStatus, Attachment, Subtype, AppointmentColor, ExceptionalBody :param override_flags: The override_flags of this MapiCalendarExceptionInfoDto. @@ -365,8 +348,7 @@ def override_flags(self, override_flags: List[str]): @property def reminder_delta(self) -> int: - """Gets the reminder_delta of this MapiCalendarExceptionInfoDto. - + """ Reminder delta. :return: The reminder_delta of this MapiCalendarExceptionInfoDto. @@ -376,8 +358,7 @@ def reminder_delta(self) -> int: @reminder_delta.setter def reminder_delta(self, reminder_delta: int): - """Sets the reminder_delta of this MapiCalendarExceptionInfoDto. - + """ Reminder delta. :param reminder_delta: The reminder_delta of this MapiCalendarExceptionInfoDto. @@ -389,8 +370,7 @@ def reminder_delta(self, reminder_delta: int): @property def reminder_set(self) -> bool: - """Gets the reminder_set of this MapiCalendarExceptionInfoDto. - + """ Value for the PidLidReminderSet property. :return: The reminder_set of this MapiCalendarExceptionInfoDto. @@ -400,8 +380,7 @@ def reminder_set(self) -> bool: @reminder_set.setter def reminder_set(self, reminder_set: bool): - """Sets the reminder_set of this MapiCalendarExceptionInfoDto. - + """ Value for the PidLidReminderSet property. :param reminder_set: The reminder_set of this MapiCalendarExceptionInfoDto. @@ -413,8 +392,7 @@ def reminder_set(self, reminder_set: bool): @property def start_date_time(self) -> datetime: - """Gets the start_date_time of this MapiCalendarExceptionInfoDto. - + """ Start date. :return: The start_date_time of this MapiCalendarExceptionInfoDto. @@ -424,8 +402,7 @@ def start_date_time(self) -> datetime: @start_date_time.setter def start_date_time(self, start_date_time: datetime): - """Sets the start_date_time of this MapiCalendarExceptionInfoDto. - + """ Start date. :param start_date_time: The start_date_time of this MapiCalendarExceptionInfoDto. @@ -437,8 +414,7 @@ def start_date_time(self, start_date_time: datetime): @property def subject(self) -> str: - """Gets the subject of this MapiCalendarExceptionInfoDto. - + """ Subject. :return: The subject of this MapiCalendarExceptionInfoDto. @@ -448,8 +424,7 @@ def subject(self) -> str: @subject.setter def subject(self, subject: str): - """Sets the subject of this MapiCalendarExceptionInfoDto. - + """ Subject. :param subject: The subject of this MapiCalendarExceptionInfoDto. @@ -459,8 +434,7 @@ def subject(self, subject: str): @property def sub_type(self) -> int: - """Gets the sub_type of this MapiCalendarExceptionInfoDto. - + """ SubType. :return: The sub_type of this MapiCalendarExceptionInfoDto. @@ -470,8 +444,7 @@ def sub_type(self) -> int: @sub_type.setter def sub_type(self, sub_type: int): - """Sets the sub_type of this MapiCalendarExceptionInfoDto. - + """ SubType. :param sub_type: The sub_type of this MapiCalendarExceptionInfoDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py index 098c640..10529f0 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_recurrence_pattern_dto.py @@ -78,7 +78,7 @@ class MapiCalendarRecurrencePatternDto(object): 'discriminator': 'discriminator' } - def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, discriminator: str = None): + def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None): """ Mapi recurrence pattern. :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura @@ -107,8 +107,6 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet :type start_date: datetime :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday :type week_start_day: str - :param discriminator: - :type discriminator: str """ self._calendar_type = None @@ -124,7 +122,6 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet self._sliding_flag = None self._start_date = None self._week_start_day = None - self._discriminator = self.__class__.__name__ if calendar_type is not None: self.calendar_type = calendar_type @@ -152,13 +149,11 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet self.start_date = start_date if week_start_day is not None: self.week_start_day = week_start_day - if discriminator is not None: - self.discriminator = discriminator + @property def calendar_type(self) -> str: - """Gets the calendar_type of this MapiCalendarRecurrencePatternDto. - + """ Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura :return: The calendar_type of this MapiCalendarRecurrencePatternDto. @@ -168,8 +163,7 @@ def calendar_type(self) -> str: @calendar_type.setter def calendar_type(self, calendar_type: str): - """Sets the calendar_type of this MapiCalendarRecurrencePatternDto. - + """ Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura :param calendar_type: The calendar_type of this MapiCalendarRecurrencePatternDto. @@ -181,8 +175,7 @@ def calendar_type(self, calendar_type: str): @property def deleted_instance_dates(self) -> List[datetime]: - """Gets the deleted_instance_dates of this MapiCalendarRecurrencePatternDto. - + """ An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. :return: The deleted_instance_dates of this MapiCalendarRecurrencePatternDto. @@ -192,8 +185,7 @@ def deleted_instance_dates(self) -> List[datetime]: @deleted_instance_dates.setter def deleted_instance_dates(self, deleted_instance_dates: List[datetime]): - """Sets the deleted_instance_dates of this MapiCalendarRecurrencePatternDto. - + """ An array of dates, each of which is the original instance date of either a deleted instance or a modified instance for this recurrence. :param deleted_instance_dates: The deleted_instance_dates of this MapiCalendarRecurrencePatternDto. @@ -203,8 +195,7 @@ def deleted_instance_dates(self, deleted_instance_dates: List[datetime]): @property def end_date(self) -> datetime: - """Gets the end_date of this MapiCalendarRecurrencePatternDto. - + """ End date of an item recurrence pattern. :return: The end_date of this MapiCalendarRecurrencePatternDto. @@ -214,8 +205,7 @@ def end_date(self) -> datetime: @end_date.setter def end_date(self, end_date: datetime): - """Sets the end_date of this MapiCalendarRecurrencePatternDto. - + """ End date of an item recurrence pattern. :param end_date: The end_date of this MapiCalendarRecurrencePatternDto. @@ -227,8 +217,7 @@ def end_date(self, end_date: datetime): @property def end_type(self) -> str: - """Gets the end_type of this MapiCalendarRecurrencePatternDto. - + """ Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd :return: The end_type of this MapiCalendarRecurrencePatternDto. @@ -238,8 +227,7 @@ def end_type(self) -> str: @end_type.setter def end_type(self, end_type: str): - """Sets the end_type of this MapiCalendarRecurrencePatternDto. - + """ Enumerates the ending type for the recurrence. Enum, available values: None, EndAfterDate, EndAfterNOccurrences, NeverEnd :param end_type: The end_type of this MapiCalendarRecurrencePatternDto. @@ -251,8 +239,7 @@ def end_type(self, end_type: str): @property def exceptions(self) -> List[MapiCalendarExceptionInfoDto]: - """Gets the exceptions of this MapiCalendarRecurrencePatternDto. - + """ An exception specifies changes to an instance of a recurring series. :return: The exceptions of this MapiCalendarRecurrencePatternDto. @@ -262,8 +249,7 @@ def exceptions(self) -> List[MapiCalendarExceptionInfoDto]: @exceptions.setter def exceptions(self, exceptions: List[MapiCalendarExceptionInfoDto]): - """Sets the exceptions of this MapiCalendarRecurrencePatternDto. - + """ An exception specifies changes to an instance of a recurring series. :param exceptions: The exceptions of this MapiCalendarRecurrencePatternDto. @@ -273,8 +259,7 @@ def exceptions(self, exceptions: List[MapiCalendarExceptionInfoDto]): @property def frequency(self) -> str: - """Gets the frequency of this MapiCalendarRecurrencePatternDto. - + """ Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly :return: The frequency of this MapiCalendarRecurrencePatternDto. @@ -284,8 +269,7 @@ def frequency(self) -> str: @frequency.setter def frequency(self, frequency: str): - """Sets the frequency of this MapiCalendarRecurrencePatternDto. - + """ Enumerates mapi calendar recurrence frequency Enum, available values: None, Daily, Weekly, Monthly, Yearly :param frequency: The frequency of this MapiCalendarRecurrencePatternDto. @@ -297,8 +281,7 @@ def frequency(self, frequency: str): @property def modified_instance_dates(self) -> List[datetime]: - """Gets the modified_instance_dates of this MapiCalendarRecurrencePatternDto. - + """ An array of dates, each of which is the date of a modified instance. :return: The modified_instance_dates of this MapiCalendarRecurrencePatternDto. @@ -308,8 +291,7 @@ def modified_instance_dates(self) -> List[datetime]: @modified_instance_dates.setter def modified_instance_dates(self, modified_instance_dates: List[datetime]): - """Sets the modified_instance_dates of this MapiCalendarRecurrencePatternDto. - + """ An array of dates, each of which is the date of a modified instance. :param modified_instance_dates: The modified_instance_dates of this MapiCalendarRecurrencePatternDto. @@ -319,8 +301,7 @@ def modified_instance_dates(self, modified_instance_dates: List[datetime]): @property def occurrence_count(self) -> int: - """Gets the occurrence_count of this MapiCalendarRecurrencePatternDto. - + """ Number of occurrences in a recurrence. :return: The occurrence_count of this MapiCalendarRecurrencePatternDto. @@ -330,8 +311,7 @@ def occurrence_count(self) -> int: @occurrence_count.setter def occurrence_count(self, occurrence_count: int): - """Sets the occurrence_count of this MapiCalendarRecurrencePatternDto. - + """ Number of occurrences in a recurrence. :param occurrence_count: The occurrence_count of this MapiCalendarRecurrencePatternDto. @@ -343,8 +323,7 @@ def occurrence_count(self, occurrence_count: int): @property def pattern_type(self) -> str: - """Gets the pattern_type of this MapiCalendarRecurrencePatternDto. - + """ Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd :return: The pattern_type of this MapiCalendarRecurrencePatternDto. @@ -354,8 +333,7 @@ def pattern_type(self) -> str: @pattern_type.setter def pattern_type(self, pattern_type: str): - """Sets the pattern_type of this MapiCalendarRecurrencePatternDto. - + """ Enumerates the mapi calendar recurrence pattern types Enum, available values: Day, Week, Month, MonthEnd, MonthNth, HjMonth, HjMonthNth, HjMonthEnd :param pattern_type: The pattern_type of this MapiCalendarRecurrencePatternDto. @@ -367,8 +345,7 @@ def pattern_type(self, pattern_type: str): @property def period(self) -> int: - """Gets the period of this MapiCalendarRecurrencePatternDto. - + """ Interval at which the meeting pattern repeats. :return: The period of this MapiCalendarRecurrencePatternDto. @@ -378,8 +355,7 @@ def period(self) -> int: @period.setter def period(self, period: int): - """Sets the period of this MapiCalendarRecurrencePatternDto. - + """ Interval at which the meeting pattern repeats. :param period: The period of this MapiCalendarRecurrencePatternDto. @@ -391,8 +367,7 @@ def period(self, period: int): @property def sliding_flag(self) -> bool: - """Gets the sliding_flag of this MapiCalendarRecurrencePatternDto. - + """ Defines whether pattern is sliding or not. :return: The sliding_flag of this MapiCalendarRecurrencePatternDto. @@ -402,8 +377,7 @@ def sliding_flag(self) -> bool: @sliding_flag.setter def sliding_flag(self, sliding_flag: bool): - """Sets the sliding_flag of this MapiCalendarRecurrencePatternDto. - + """ Defines whether pattern is sliding or not. :param sliding_flag: The sliding_flag of this MapiCalendarRecurrencePatternDto. @@ -415,8 +389,7 @@ def sliding_flag(self, sliding_flag: bool): @property def start_date(self) -> datetime: - """Gets the start_date of this MapiCalendarRecurrencePatternDto. - + """ Start date of an item recurrence pattern. :return: The start_date of this MapiCalendarRecurrencePatternDto. @@ -426,8 +399,7 @@ def start_date(self) -> datetime: @start_date.setter def start_date(self, start_date: datetime): - """Sets the start_date of this MapiCalendarRecurrencePatternDto. - + """ Start date of an item recurrence pattern. :param start_date: The start_date of this MapiCalendarRecurrencePatternDto. @@ -439,8 +411,7 @@ def start_date(self, start_date: datetime): @property def week_start_day(self) -> str: - """Gets the week_start_day of this MapiCalendarRecurrencePatternDto. - + """ Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday :return: The week_start_day of this MapiCalendarRecurrencePatternDto. @@ -450,8 +421,7 @@ def week_start_day(self) -> str: @week_start_day.setter def week_start_day(self, week_start_day: str): - """Sets the week_start_day of this MapiCalendarRecurrencePatternDto. - + """ Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday :param week_start_day: The week_start_day of this MapiCalendarRecurrencePatternDto. @@ -463,8 +433,8 @@ def week_start_day(self, week_start_day: str): @property def discriminator(self) -> str: - """Gets the discriminator of this MapiCalendarRecurrencePatternDto. - + """ + Gets the discriminator of this MapiCalendarRecurrencePatternDto. :return: The discriminator of this MapiCalendarRecurrencePatternDto. :rtype: str @@ -473,15 +443,13 @@ def discriminator(self) -> str: @discriminator.setter def discriminator(self, discriminator: str): - """Sets the discriminator of this MapiCalendarRecurrencePatternDto. - + """ + Sets the discriminator of this MapiCalendarRecurrencePatternDto. :param discriminator: The discriminator of this MapiCalendarRecurrencePatternDto. :type: str """ - if discriminator is None: - raise ValueError("Invalid value for `discriminator`, must not be `None`") - self._discriminator = self.__class__.__name__ + pass # setter is ignored for discriminator property def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py index ef2ffe3..03f35ec 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_save_request.py @@ -79,10 +79,10 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiCalendar if format is not None: self.format = format + @property def format(self) -> str: - """Gets the format of this MapiCalendarSaveRequest. - + """ Calendar file format Enum, available values: Ics, Msg :return: The format of this MapiCalendarSaveRequest. @@ -92,8 +92,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this MapiCalendarSaveRequest. - + """ Calendar file format Enum, available values: Ics, Msg :param format: The format of this MapiCalendarSaveRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py index 98006cd..2e52284 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_dto.py @@ -71,10 +71,10 @@ def __init__(self, key_name: str = None, time_zone_rules: List[MapiCalendarTimeZ if time_zone_rules is not None: self.time_zone_rules = time_zone_rules + @property def key_name(self) -> str: - """Gets the key_name of this MapiCalendarTimeZoneDto. - + """ Human-readable description of the time zone. :return: The key_name of this MapiCalendarTimeZoneDto. @@ -84,8 +84,7 @@ def key_name(self) -> str: @key_name.setter def key_name(self, key_name: str): - """Sets the key_name of this MapiCalendarTimeZoneDto. - + """ Human-readable description of the time zone. :param key_name: The key_name of this MapiCalendarTimeZoneDto. @@ -95,8 +94,7 @@ def key_name(self, key_name: str): @property def time_zone_rules(self) -> List[MapiCalendarTimeZoneInfoDto]: - """Gets the time_zone_rules of this MapiCalendarTimeZoneDto. - + """ Time zone rules :return: The time_zone_rules of this MapiCalendarTimeZoneDto. @@ -106,8 +104,7 @@ def time_zone_rules(self) -> List[MapiCalendarTimeZoneInfoDto]: @time_zone_rules.setter def time_zone_rules(self, time_zone_rules: List[MapiCalendarTimeZoneInfoDto]): - """Sets the time_zone_rules of this MapiCalendarTimeZoneDto. - + """ Time zone rules :param time_zone_rules: The time_zone_rules of this MapiCalendarTimeZoneDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py index b6acebe..1af9fde 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_info_dto.py @@ -106,10 +106,10 @@ def __init__(self, bias: int = None, daylight_bias: int = None, daylight_date: M if year is not None: self.year = year + @property def bias(self) -> int: - """Gets the bias of this MapiCalendarTimeZoneInfoDto. - + """ Time zone's offset in minutes from UTC. :return: The bias of this MapiCalendarTimeZoneInfoDto. @@ -119,8 +119,7 @@ def bias(self) -> int: @bias.setter def bias(self, bias: int): - """Sets the bias of this MapiCalendarTimeZoneInfoDto. - + """ Time zone's offset in minutes from UTC. :param bias: The bias of this MapiCalendarTimeZoneInfoDto. @@ -132,8 +131,7 @@ def bias(self, bias: int): @property def daylight_bias(self) -> int: - """Gets the daylight_bias of this MapiCalendarTimeZoneInfoDto. - + """ Offset in minutes from lBias during daylight saving time. :return: The daylight_bias of this MapiCalendarTimeZoneInfoDto. @@ -143,8 +141,7 @@ def daylight_bias(self) -> int: @daylight_bias.setter def daylight_bias(self, daylight_bias: int): - """Sets the daylight_bias of this MapiCalendarTimeZoneInfoDto. - + """ Offset in minutes from lBias during daylight saving time. :param daylight_bias: The daylight_bias of this MapiCalendarTimeZoneInfoDto. @@ -156,8 +153,7 @@ def daylight_bias(self, daylight_bias: int): @property def daylight_date(self) -> MapiCalendarTimeZoneRuleDto: - """Gets the daylight_date of this MapiCalendarTimeZoneInfoDto. - + """ Date and local time that indicate when to begin using the DaylightBias. :return: The daylight_date of this MapiCalendarTimeZoneInfoDto. @@ -167,8 +163,7 @@ def daylight_date(self) -> MapiCalendarTimeZoneRuleDto: @daylight_date.setter def daylight_date(self, daylight_date: MapiCalendarTimeZoneRuleDto): - """Sets the daylight_date of this MapiCalendarTimeZoneInfoDto. - + """ Date and local time that indicate when to begin using the DaylightBias. :param daylight_date: The daylight_date of this MapiCalendarTimeZoneInfoDto. @@ -178,8 +173,7 @@ def daylight_date(self, daylight_date: MapiCalendarTimeZoneRuleDto): @property def standard_bias(self) -> int: - """Gets the standard_bias of this MapiCalendarTimeZoneInfoDto. - + """ Offset in minutes from lBias during standard time. :return: The standard_bias of this MapiCalendarTimeZoneInfoDto. @@ -189,8 +183,7 @@ def standard_bias(self) -> int: @standard_bias.setter def standard_bias(self, standard_bias: int): - """Sets the standard_bias of this MapiCalendarTimeZoneInfoDto. - + """ Offset in minutes from lBias during standard time. :param standard_bias: The standard_bias of this MapiCalendarTimeZoneInfoDto. @@ -202,8 +195,7 @@ def standard_bias(self, standard_bias: int): @property def standard_date(self) -> MapiCalendarTimeZoneRuleDto: - """Gets the standard_date of this MapiCalendarTimeZoneInfoDto. - + """ Date and local time that indicate when to begin using the StandardBias. :return: The standard_date of this MapiCalendarTimeZoneInfoDto. @@ -213,8 +205,7 @@ def standard_date(self) -> MapiCalendarTimeZoneRuleDto: @standard_date.setter def standard_date(self, standard_date: MapiCalendarTimeZoneRuleDto): - """Sets the standard_date of this MapiCalendarTimeZoneInfoDto. - + """ Date and local time that indicate when to begin using the StandardBias. :param standard_date: The standard_date of this MapiCalendarTimeZoneInfoDto. @@ -224,8 +215,7 @@ def standard_date(self, standard_date: MapiCalendarTimeZoneRuleDto): @property def time_zone_flags(self) -> List[str]: - """Gets the time_zone_flags of this MapiCalendarTimeZoneInfoDto. - + """ Individual bit flags that specify information about this TimeZoneRule. Items: Enumerates the individual bit flags that specify information about TimeZoneRule Enum, available values: TzRuleFlagRecurCurrentTzReg, TzRuleFlagEffectiveTzReg :return: The time_zone_flags of this MapiCalendarTimeZoneInfoDto. @@ -235,8 +225,7 @@ def time_zone_flags(self) -> List[str]: @time_zone_flags.setter def time_zone_flags(self, time_zone_flags: List[str]): - """Sets the time_zone_flags of this MapiCalendarTimeZoneInfoDto. - + """ Individual bit flags that specify information about this TimeZoneRule. Items: Enumerates the individual bit flags that specify information about TimeZoneRule Enum, available values: TzRuleFlagRecurCurrentTzReg, TzRuleFlagEffectiveTzReg :param time_zone_flags: The time_zone_flags of this MapiCalendarTimeZoneInfoDto. @@ -246,8 +235,7 @@ def time_zone_flags(self, time_zone_flags: List[str]): @property def year(self) -> int: - """Gets the year of this MapiCalendarTimeZoneInfoDto. - + """ Year in which this rule is scheduled to take effect. :return: The year of this MapiCalendarTimeZoneInfoDto. @@ -257,8 +245,7 @@ def year(self) -> int: @year.setter def year(self, year: int): - """Sets the year of this MapiCalendarTimeZoneInfoDto. - + """ Year in which this rule is scheduled to take effect. :param year: The year of this MapiCalendarTimeZoneInfoDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py index d1809e5..b655054 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_time_zone_rule_dto.py @@ -118,10 +118,10 @@ def __init__(self, _date: datetime = None, day_of_week: str = None, hour: int = if year is not None: self.year = year + @property def _date(self) -> datetime: - """Gets the _date of this MapiCalendarTimeZoneRuleDto. - + """ Date and time that indicate when to begin using the Standard/Daylight time. :return: The _date of this MapiCalendarTimeZoneRuleDto. @@ -131,8 +131,7 @@ def _date(self) -> datetime: @_date.setter def _date(self, _date: datetime): - """Sets the _date of this MapiCalendarTimeZoneRuleDto. - + """ Date and time that indicate when to begin using the Standard/Daylight time. :param _date: The _date of this MapiCalendarTimeZoneRuleDto. @@ -144,8 +143,7 @@ def _date(self, _date: datetime): @property def day_of_week(self) -> str: - """Gets the day_of_week of this MapiCalendarTimeZoneRuleDto. - + """ Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday :return: The day_of_week of this MapiCalendarTimeZoneRuleDto. @@ -155,8 +153,7 @@ def day_of_week(self) -> str: @day_of_week.setter def day_of_week(self, day_of_week: str): - """Sets the day_of_week of this MapiCalendarTimeZoneRuleDto. - + """ Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday :param day_of_week: The day_of_week of this MapiCalendarTimeZoneRuleDto. @@ -168,8 +165,7 @@ def day_of_week(self, day_of_week: str): @property def hour(self) -> int: - """Gets the hour of this MapiCalendarTimeZoneRuleDto. - + """ Hour. :return: The hour of this MapiCalendarTimeZoneRuleDto. @@ -179,8 +175,7 @@ def hour(self) -> int: @hour.setter def hour(self, hour: int): - """Sets the hour of this MapiCalendarTimeZoneRuleDto. - + """ Hour. :param hour: The hour of this MapiCalendarTimeZoneRuleDto. @@ -192,8 +187,7 @@ def hour(self, hour: int): @property def milliseconds(self) -> int: - """Gets the milliseconds of this MapiCalendarTimeZoneRuleDto. - + """ Milliseconds. :return: The milliseconds of this MapiCalendarTimeZoneRuleDto. @@ -203,8 +197,7 @@ def milliseconds(self) -> int: @milliseconds.setter def milliseconds(self, milliseconds: int): - """Sets the milliseconds of this MapiCalendarTimeZoneRuleDto. - + """ Milliseconds. :param milliseconds: The milliseconds of this MapiCalendarTimeZoneRuleDto. @@ -216,8 +209,7 @@ def milliseconds(self, milliseconds: int): @property def minute(self) -> int: - """Gets the minute of this MapiCalendarTimeZoneRuleDto. - + """ Minute. :return: The minute of this MapiCalendarTimeZoneRuleDto. @@ -227,8 +219,7 @@ def minute(self) -> int: @minute.setter def minute(self, minute: int): - """Sets the minute of this MapiCalendarTimeZoneRuleDto. - + """ Minute. :param minute: The minute of this MapiCalendarTimeZoneRuleDto. @@ -240,8 +231,7 @@ def minute(self, minute: int): @property def month(self) -> int: - """Gets the month of this MapiCalendarTimeZoneRuleDto. - + """ Month. :return: The month of this MapiCalendarTimeZoneRuleDto. @@ -251,8 +241,7 @@ def month(self) -> int: @month.setter def month(self, month: int): - """Sets the month of this MapiCalendarTimeZoneRuleDto. - + """ Month. :param month: The month of this MapiCalendarTimeZoneRuleDto. @@ -268,8 +257,7 @@ def month(self, month: int): @property def position(self) -> str: - """Gets the position of this MapiCalendarTimeZoneRuleDto. - + """ Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last :return: The position of this MapiCalendarTimeZoneRuleDto. @@ -279,8 +267,7 @@ def position(self) -> str: @position.setter def position(self, position: str): - """Sets the position of this MapiCalendarTimeZoneRuleDto. - + """ Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last :param position: The position of this MapiCalendarTimeZoneRuleDto. @@ -292,8 +279,7 @@ def position(self, position: str): @property def seconds(self) -> int: - """Gets the seconds of this MapiCalendarTimeZoneRuleDto. - + """ Seconds. :return: The seconds of this MapiCalendarTimeZoneRuleDto. @@ -303,8 +289,7 @@ def seconds(self) -> int: @seconds.setter def seconds(self, seconds: int): - """Sets the seconds of this MapiCalendarTimeZoneRuleDto. - + """ Seconds. :param seconds: The seconds of this MapiCalendarTimeZoneRuleDto. @@ -316,8 +301,7 @@ def seconds(self, seconds: int): @property def year(self) -> int: - """Gets the year of this MapiCalendarTimeZoneRuleDto. - + """ Year. :return: The year of this MapiCalendarTimeZoneRuleDto. @@ -327,8 +311,7 @@ def year(self) -> int: @year.setter def year(self, year: int): - """Sets the year of this MapiCalendarTimeZoneRuleDto. - + """ Year. :param year: The year of this MapiCalendarTimeZoneRuleDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py index 211205a..be224a8 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_weekly_recurrence_pattern_dto.py @@ -81,7 +81,7 @@ class MapiCalendarWeeklyRecurrencePatternDto(MapiCalendarRecurrencePatternDto): 'day_of_week': 'dayOfWeek' } - def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, discriminator: str = None, day_of_week: List[str] = None): + def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, day_of_week: List[str] = None): """ Represents the weekly recurrence pattern of the mapi calendar :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura @@ -110,8 +110,6 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet :type start_date: datetime :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday :type week_start_day: str - :param discriminator: - :type discriminator: str :param day_of_week: Days of week at which the event occurs. :type day_of_week: List[str] """ @@ -145,15 +143,13 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet self.start_date = start_date if week_start_day is not None: self.week_start_day = week_start_day - if discriminator is not None: - self.discriminator = discriminator if day_of_week is not None: self.day_of_week = day_of_week + @property def day_of_week(self) -> List[str]: - """Gets the day_of_week of this MapiCalendarWeeklyRecurrencePatternDto. - + """ Days of week at which the event occurs. Items: Enumerates the days of week of the mapi calendar recurrence pattern Enum, available values: Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday :return: The day_of_week of this MapiCalendarWeeklyRecurrencePatternDto. @@ -163,8 +159,7 @@ def day_of_week(self) -> List[str]: @day_of_week.setter def day_of_week(self, day_of_week: List[str]): - """Sets the day_of_week of this MapiCalendarWeeklyRecurrencePatternDto. - + """ Days of week at which the event occurs. Items: Enumerates the days of week of the mapi calendar recurrence pattern Enum, available values: Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday :param day_of_week: The day_of_week of this MapiCalendarWeeklyRecurrencePatternDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py index 6e01d78..924a4fe 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.py @@ -85,7 +85,7 @@ class MapiCalendarYearlyAndMonthlyRecurrencePatternDto(MapiCalendarRecurrencePat 'position': 'position' } - def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, discriminator: str = None, day: int = None, day_of_week: List[str] = None, position: str = None): + def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datetime] = None, end_date: datetime = None, end_type: str = None, exceptions: List[MapiCalendarExceptionInfoDto] = None, frequency: str = None, modified_instance_dates: List[datetime] = None, occurrence_count: int = None, pattern_type: str = None, period: int = None, sliding_flag: bool = None, start_date: datetime = None, week_start_day: str = None, day: int = None, day_of_week: List[str] = None, position: str = None): """ Represents the yearly and monthly recurrence pattern of the mapi calendar :param calendar_type: Enumerated the calendar type of the mapi recurrence Enum, available values: Default, CalGregorian, CalGregorianUs, CalJapan, CalTaiwan, CalKorea, CalHijri, CalThai, CalHebrew, CalGregorianMeFrench, CalGregorianArabic, CalGregorianXLitEnglish, CalGregorianXLitFrench, CalLunarJapanese, CalChineseLunar, CalSaka, CalLunarEtoChn, CalLunarEtoKor, CalLunarRokuyou, CalLunarKorean, CalUmAlQura @@ -114,8 +114,6 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet :type start_date: datetime :param week_start_day: Day of week. Enum, available values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday :type week_start_day: str - :param discriminator: - :type discriminator: str :param day: Day of the month on which the recurrence falls. :type day: int :param day_of_week: Days of week at which the event occurs. @@ -155,8 +153,6 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet self.start_date = start_date if week_start_day is not None: self.week_start_day = week_start_day - if discriminator is not None: - self.discriminator = discriminator if day is not None: self.day = day if day_of_week is not None: @@ -164,10 +160,10 @@ def __init__(self, calendar_type: str = None, deleted_instance_dates: List[datet if position is not None: self.position = position + @property def day(self) -> int: - """Gets the day of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. - + """ Day of the month on which the recurrence falls. :return: The day of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. @@ -177,8 +173,7 @@ def day(self) -> int: @day.setter def day(self, day: int): - """Sets the day of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. - + """ Day of the month on which the recurrence falls. :param day: The day of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. @@ -190,8 +185,7 @@ def day(self, day: int): @property def day_of_week(self) -> List[str]: - """Gets the day_of_week of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. - + """ Days of week at which the event occurs. Items: Enumerates the days of week of the mapi calendar recurrence pattern Enum, available values: Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday :return: The day_of_week of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. @@ -201,8 +195,7 @@ def day_of_week(self) -> List[str]: @day_of_week.setter def day_of_week(self, day_of_week: List[str]): - """Sets the day_of_week of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. - + """ Days of week at which the event occurs. Items: Enumerates the days of week of the mapi calendar recurrence pattern Enum, available values: Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday :param day_of_week: The day_of_week of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. @@ -212,8 +205,7 @@ def day_of_week(self, day_of_week: List[str]): @property def position(self) -> str: - """Gets the position of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. - + """ Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last :return: The position of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. @@ -223,8 +215,7 @@ def position(self) -> str: @position.setter def position(self, position: str): - """Sets the position of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. - + """ Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last :param position: The position of this MapiCalendarYearlyAndMonthlyRecurrencePatternDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py index 5974cd1..f93ec2f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_as_file_request.py @@ -71,10 +71,10 @@ def __init__(self, format: str = None, value: MapiContactDto = None): if value is not None: self.value = value + @property def format(self) -> str: - """Gets the format of this MapiContactAsFileRequest. - + """ Enumerates contact formats. Enum, available values: VCard, WebDav, Msg :return: The format of this MapiContactAsFileRequest. @@ -84,8 +84,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this MapiContactAsFileRequest. - + """ Enumerates contact formats. Enum, available values: VCard, WebDav, Msg :param format: The format of this MapiContactAsFileRequest. @@ -97,8 +96,7 @@ def format(self, format: str): @property def value(self) -> MapiContactDto: - """Gets the value of this MapiContactAsFileRequest. - + """ MAPI contact model. :return: The value of this MapiContactAsFileRequest. @@ -108,8 +106,7 @@ def value(self) -> MapiContactDto: @value.setter def value(self, value: MapiContactDto): - """Sets the value of this MapiContactAsFileRequest. - + """ MAPI contact model. :param value: The value of this MapiContactAsFileRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py index bf294a9..6a531ce 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_dto.py @@ -114,7 +114,7 @@ class MapiContactDto(MapiMessageItemBaseDto): 'telephones': 'telephones' } - def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, discriminator: str = None, electronic_addresses: MapiContactElectronicAddressPropertySetDto = None, events: MapiContactEventPropertySetDto = None, name_info: MapiContactNamePropertySetDto = None, other_fields: MapiContactOtherPropertySetDto = None, personal_info: MapiContactPersonalInfoPropertySetDto = None, photo: MapiContactPhotoDto = None, physical_addresses: MapiContactPhysicalAddressPropertySetDto = None, professional_info: MapiContactProfessionalPropertySetDto = None, telephones: MapiContactTelephonePropertySetDto = None): + def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, electronic_addresses: MapiContactElectronicAddressPropertySetDto = None, events: MapiContactEventPropertySetDto = None, name_info: MapiContactNamePropertySetDto = None, other_fields: MapiContactOtherPropertySetDto = None, personal_info: MapiContactPersonalInfoPropertySetDto = None, photo: MapiContactPhotoDto = None, physical_addresses: MapiContactPhysicalAddressPropertySetDto = None, professional_info: MapiContactProfessionalPropertySetDto = None, telephones: MapiContactTelephonePropertySetDto = None): """ Represents outlook contact information. :param attachments: Message item attachments. @@ -149,8 +149,6 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N :type subject_prefix: str :param properties: List of MAPI properties :type properties: List[MapiPropertyDto] - :param discriminator: - :type discriminator: str :param electronic_addresses: Specify properties for up to three different e-mail addresses and three different fax addresses. :type electronic_addresses: MapiContactElectronicAddressPropertySetDto :param events: Specify events associated with a contact. @@ -214,8 +212,6 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N self.subject_prefix = subject_prefix if properties is not None: self.properties = properties - if discriminator is not None: - self.discriminator = discriminator if electronic_addresses is not None: self.electronic_addresses = electronic_addresses if events is not None: @@ -235,10 +231,10 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N if telephones is not None: self.telephones = telephones + @property def electronic_addresses(self) -> MapiContactElectronicAddressPropertySetDto: - """Gets the electronic_addresses of this MapiContactDto. - + """ Specify properties for up to three different e-mail addresses and three different fax addresses. :return: The electronic_addresses of this MapiContactDto. @@ -248,8 +244,7 @@ def electronic_addresses(self) -> MapiContactElectronicAddressPropertySetDto: @electronic_addresses.setter def electronic_addresses(self, electronic_addresses: MapiContactElectronicAddressPropertySetDto): - """Sets the electronic_addresses of this MapiContactDto. - + """ Specify properties for up to three different e-mail addresses and three different fax addresses. :param electronic_addresses: The electronic_addresses of this MapiContactDto. @@ -259,8 +254,7 @@ def electronic_addresses(self, electronic_addresses: MapiContactElectronicAddres @property def events(self) -> MapiContactEventPropertySetDto: - """Gets the events of this MapiContactDto. - + """ Specify events associated with a contact. :return: The events of this MapiContactDto. @@ -270,8 +264,7 @@ def events(self) -> MapiContactEventPropertySetDto: @events.setter def events(self, events: MapiContactEventPropertySetDto): - """Sets the events of this MapiContactDto. - + """ Specify events associated with a contact. :param events: The events of this MapiContactDto. @@ -281,8 +274,7 @@ def events(self, events: MapiContactEventPropertySetDto): @property def name_info(self) -> MapiContactNamePropertySetDto: - """Gets the name_info of this MapiContactDto. - + """ The properties are used to specify the name of the person represented by the contact. :return: The name_info of this MapiContactDto. @@ -292,8 +284,7 @@ def name_info(self) -> MapiContactNamePropertySetDto: @name_info.setter def name_info(self, name_info: MapiContactNamePropertySetDto): - """Sets the name_info of this MapiContactDto. - + """ The properties are used to specify the name of the person represented by the contact. :param name_info: The name_info of this MapiContactDto. @@ -303,8 +294,7 @@ def name_info(self, name_info: MapiContactNamePropertySetDto): @property def other_fields(self) -> MapiContactOtherPropertySetDto: - """Gets the other_fields of this MapiContactDto. - + """ Specify other fields of contact. :return: The other_fields of this MapiContactDto. @@ -314,8 +304,7 @@ def other_fields(self) -> MapiContactOtherPropertySetDto: @other_fields.setter def other_fields(self, other_fields: MapiContactOtherPropertySetDto): - """Sets the other_fields of this MapiContactDto. - + """ Specify other fields of contact. :param other_fields: The other_fields of this MapiContactDto. @@ -325,8 +314,7 @@ def other_fields(self, other_fields: MapiContactOtherPropertySetDto): @property def personal_info(self) -> MapiContactPersonalInfoPropertySetDto: - """Gets the personal_info of this MapiContactDto. - + """ Specify other additional contact information. :return: The personal_info of this MapiContactDto. @@ -336,8 +324,7 @@ def personal_info(self) -> MapiContactPersonalInfoPropertySetDto: @personal_info.setter def personal_info(self, personal_info: MapiContactPersonalInfoPropertySetDto): - """Sets the personal_info of this MapiContactDto. - + """ Specify other additional contact information. :param personal_info: The personal_info of this MapiContactDto. @@ -347,8 +334,7 @@ def personal_info(self, personal_info: MapiContactPersonalInfoPropertySetDto): @property def photo(self) -> MapiContactPhotoDto: - """Gets the photo of this MapiContactDto. - + """ Contact photo. :return: The photo of this MapiContactDto. @@ -358,8 +344,7 @@ def photo(self) -> MapiContactPhotoDto: @photo.setter def photo(self, photo: MapiContactPhotoDto): - """Sets the photo of this MapiContactDto. - + """ Contact photo. :param photo: The photo of this MapiContactDto. @@ -369,8 +354,7 @@ def photo(self, photo: MapiContactPhotoDto): @property def physical_addresses(self) -> MapiContactPhysicalAddressPropertySetDto: - """Gets the physical_addresses of this MapiContactDto. - + """ Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address. :return: The physical_addresses of this MapiContactDto. @@ -380,8 +364,7 @@ def physical_addresses(self) -> MapiContactPhysicalAddressPropertySetDto: @physical_addresses.setter def physical_addresses(self, physical_addresses: MapiContactPhysicalAddressPropertySetDto): - """Sets the physical_addresses of this MapiContactDto. - + """ Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address. :param physical_addresses: The physical_addresses of this MapiContactDto. @@ -391,8 +374,7 @@ def physical_addresses(self, physical_addresses: MapiContactPhysicalAddressPrope @property def professional_info(self) -> MapiContactProfessionalPropertySetDto: - """Gets the professional_info of this MapiContactDto. - + """ Properties are used to store professional details for the person represented by the contact. :return: The professional_info of this MapiContactDto. @@ -402,8 +384,7 @@ def professional_info(self) -> MapiContactProfessionalPropertySetDto: @professional_info.setter def professional_info(self, professional_info: MapiContactProfessionalPropertySetDto): - """Sets the professional_info of this MapiContactDto. - + """ Properties are used to store professional details for the person represented by the contact. :param professional_info: The professional_info of this MapiContactDto. @@ -413,8 +394,7 @@ def professional_info(self, professional_info: MapiContactProfessionalPropertySe @property def telephones(self) -> MapiContactTelephonePropertySetDto: - """Gets the telephones of this MapiContactDto. - + """ Specify telephone numbers for the contact. :return: The telephones of this MapiContactDto. @@ -424,8 +404,7 @@ def telephones(self) -> MapiContactTelephonePropertySetDto: @telephones.setter def telephones(self, telephones: MapiContactTelephonePropertySetDto): - """Sets the telephones of this MapiContactDto. - + """ Specify telephone numbers for the contact. :param telephones: The telephones of this MapiContactDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py index 70d1238..e9e3491 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_dto.py @@ -97,10 +97,10 @@ def __init__(self, address_type: str = None, display_name: str = None, email_add if original_display_name is not None: self.original_display_name = original_display_name + @property def address_type(self) -> str: - """Gets the address_type of this MapiContactElectronicAddressDto. - + """ Address type of an electronic address :return: The address_type of this MapiContactElectronicAddressDto. @@ -110,8 +110,7 @@ def address_type(self) -> str: @address_type.setter def address_type(self, address_type: str): - """Sets the address_type of this MapiContactElectronicAddressDto. - + """ Address type of an electronic address :param address_type: The address_type of this MapiContactElectronicAddressDto. @@ -121,8 +120,7 @@ def address_type(self, address_type: str): @property def display_name(self) -> str: - """Gets the display_name of this MapiContactElectronicAddressDto. - + """ User-readable display name for the e-mail address :return: The display_name of this MapiContactElectronicAddressDto. @@ -132,8 +130,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this MapiContactElectronicAddressDto. - + """ User-readable display name for the e-mail address :param display_name: The display_name of this MapiContactElectronicAddressDto. @@ -143,8 +140,7 @@ def display_name(self, display_name: str): @property def email_address(self) -> str: - """Gets the email_address of this MapiContactElectronicAddressDto. - + """ E-mail address of the contact :return: The email_address of this MapiContactElectronicAddressDto. @@ -154,8 +150,7 @@ def email_address(self) -> str: @email_address.setter def email_address(self, email_address: str): - """Sets the email_address of this MapiContactElectronicAddressDto. - + """ E-mail address of the contact :param email_address: The email_address of this MapiContactElectronicAddressDto. @@ -165,8 +160,7 @@ def email_address(self, email_address: str): @property def fax_number(self) -> str: - """Gets the fax_number of this MapiContactElectronicAddressDto. - + """ Telephone number of the mail user's primary fax machine :return: The fax_number of this MapiContactElectronicAddressDto. @@ -176,8 +170,7 @@ def fax_number(self) -> str: @fax_number.setter def fax_number(self, fax_number: str): - """Sets the fax_number of this MapiContactElectronicAddressDto. - + """ Telephone number of the mail user's primary fax machine :param fax_number: The fax_number of this MapiContactElectronicAddressDto. @@ -187,8 +180,7 @@ def fax_number(self, fax_number: str): @property def is_empty(self) -> bool: - """Gets the is_empty of this MapiContactElectronicAddressDto. - + """ Shows if MapiContactElectronicAddress is empty :return: The is_empty of this MapiContactElectronicAddressDto. @@ -198,8 +190,7 @@ def is_empty(self) -> bool: @is_empty.setter def is_empty(self, is_empty: bool): - """Sets the is_empty of this MapiContactElectronicAddressDto. - + """ Shows if MapiContactElectronicAddress is empty :param is_empty: The is_empty of this MapiContactElectronicAddressDto. @@ -211,8 +202,7 @@ def is_empty(self, is_empty: bool): @property def original_display_name(self) -> str: - """Gets the original_display_name of this MapiContactElectronicAddressDto. - + """ SMTP e-mail address that corresponds to the e-mail address for the Contact object. :return: The original_display_name of this MapiContactElectronicAddressDto. @@ -222,8 +212,7 @@ def original_display_name(self) -> str: @original_display_name.setter def original_display_name(self, original_display_name: str): - """Sets the original_display_name of this MapiContactElectronicAddressDto. - + """ SMTP e-mail address that corresponds to the e-mail address for the Contact object. :param original_display_name: The original_display_name of this MapiContactElectronicAddressDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py index 0106c1e..1e929a6 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_electronic_address_property_set_dto.py @@ -120,10 +120,10 @@ def __init__(self, business_fax: MapiContactElectronicAddressDto = None, default if use_autocomplete is not None: self.use_autocomplete = use_autocomplete + @property def business_fax(self) -> MapiContactElectronicAddressDto: - """Gets the business_fax of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the business fax address for a contact. :return: The business_fax of this MapiContactElectronicAddressPropertySetDto. @@ -133,8 +133,7 @@ def business_fax(self) -> MapiContactElectronicAddressDto: @business_fax.setter def business_fax(self, business_fax: MapiContactElectronicAddressDto): - """Sets the business_fax of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the business fax address for a contact. :param business_fax: The business_fax of this MapiContactElectronicAddressPropertySetDto. @@ -144,8 +143,7 @@ def business_fax(self, business_fax: MapiContactElectronicAddressDto): @property def default_email_address(self) -> MapiContactElectronicAddressDto: - """Gets the default_email_address of this MapiContactElectronicAddressPropertySetDto. - + """ Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' :return: The default_email_address of this MapiContactElectronicAddressPropertySetDto. @@ -155,8 +153,7 @@ def default_email_address(self) -> MapiContactElectronicAddressDto: @default_email_address.setter def default_email_address(self, default_email_address: MapiContactElectronicAddressDto): - """Sets the default_email_address of this MapiContactElectronicAddressPropertySetDto. - + """ Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' :param default_email_address: The default_email_address of this MapiContactElectronicAddressPropertySetDto. @@ -166,8 +163,7 @@ def default_email_address(self, default_email_address: MapiContactElectronicAddr @property def email1(self) -> MapiContactElectronicAddressDto: - """Gets the email1 of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the first e-mail address for a contact. :return: The email1 of this MapiContactElectronicAddressPropertySetDto. @@ -177,8 +173,7 @@ def email1(self) -> MapiContactElectronicAddressDto: @email1.setter def email1(self, email1: MapiContactElectronicAddressDto): - """Sets the email1 of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the first e-mail address for a contact. :param email1: The email1 of this MapiContactElectronicAddressPropertySetDto. @@ -188,8 +183,7 @@ def email1(self, email1: MapiContactElectronicAddressDto): @property def email2(self) -> MapiContactElectronicAddressDto: - """Gets the email2 of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the second e-mail address for a contact. :return: The email2 of this MapiContactElectronicAddressPropertySetDto. @@ -199,8 +193,7 @@ def email2(self) -> MapiContactElectronicAddressDto: @email2.setter def email2(self, email2: MapiContactElectronicAddressDto): - """Sets the email2 of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the second e-mail address for a contact. :param email2: The email2 of this MapiContactElectronicAddressPropertySetDto. @@ -210,8 +203,7 @@ def email2(self, email2: MapiContactElectronicAddressDto): @property def email3(self) -> MapiContactElectronicAddressDto: - """Gets the email3 of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the third e-mail address for a contact. :return: The email3 of this MapiContactElectronicAddressPropertySetDto. @@ -221,8 +213,7 @@ def email3(self) -> MapiContactElectronicAddressDto: @email3.setter def email3(self, email3: MapiContactElectronicAddressDto): - """Sets the email3 of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the third e-mail address for a contact. :param email3: The email3 of this MapiContactElectronicAddressPropertySetDto. @@ -232,8 +223,7 @@ def email3(self, email3: MapiContactElectronicAddressDto): @property def home_fax(self) -> MapiContactElectronicAddressDto: - """Gets the home_fax of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the home fax address for a contact. :return: The home_fax of this MapiContactElectronicAddressPropertySetDto. @@ -243,8 +233,7 @@ def home_fax(self) -> MapiContactElectronicAddressDto: @home_fax.setter def home_fax(self, home_fax: MapiContactElectronicAddressDto): - """Sets the home_fax of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the home fax address for a contact. :param home_fax: The home_fax of this MapiContactElectronicAddressPropertySetDto. @@ -254,8 +243,7 @@ def home_fax(self, home_fax: MapiContactElectronicAddressDto): @property def is_empty(self) -> bool: - """Gets the is_empty of this MapiContactElectronicAddressPropertySetDto. - + """ Shows if MapiContactElectronicAddressPropertySetDto is empty :return: The is_empty of this MapiContactElectronicAddressPropertySetDto. @@ -265,8 +253,7 @@ def is_empty(self) -> bool: @is_empty.setter def is_empty(self, is_empty: bool): - """Sets the is_empty of this MapiContactElectronicAddressPropertySetDto. - + """ Shows if MapiContactElectronicAddressPropertySetDto is empty :param is_empty: The is_empty of this MapiContactElectronicAddressPropertySetDto. @@ -278,8 +265,7 @@ def is_empty(self, is_empty: bool): @property def primary_fax(self) -> MapiContactElectronicAddressDto: - """Gets the primary_fax of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the primary fax address for a contact. :return: The primary_fax of this MapiContactElectronicAddressPropertySetDto. @@ -289,8 +275,7 @@ def primary_fax(self) -> MapiContactElectronicAddressDto: @primary_fax.setter def primary_fax(self, primary_fax: MapiContactElectronicAddressDto): - """Sets the primary_fax of this MapiContactElectronicAddressPropertySetDto. - + """ Refers to the group of properties that define the primary fax address for a contact. :param primary_fax: The primary_fax of this MapiContactElectronicAddressPropertySetDto. @@ -300,8 +285,7 @@ def primary_fax(self, primary_fax: MapiContactElectronicAddressDto): @property def use_autocomplete(self) -> bool: - """Gets the use_autocomplete of this MapiContactElectronicAddressPropertySetDto. - + """ Indicates that one electronic address is completed automatically in case if user does not set any electronic address :return: The use_autocomplete of this MapiContactElectronicAddressPropertySetDto. @@ -311,8 +295,7 @@ def use_autocomplete(self) -> bool: @use_autocomplete.setter def use_autocomplete(self, use_autocomplete: bool): - """Sets the use_autocomplete of this MapiContactElectronicAddressPropertySetDto. - + """ Indicates that one electronic address is completed automatically in case if user does not set any electronic address :param use_autocomplete: The use_autocomplete of this MapiContactElectronicAddressPropertySetDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py index 98b42a7..bcc349f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_event_property_set_dto.py @@ -69,10 +69,10 @@ def __init__(self, birthday: datetime = None, wedding_anniversary: datetime = No if wedding_anniversary is not None: self.wedding_anniversary = wedding_anniversary + @property def birthday(self) -> datetime: - """Gets the birthday of this MapiContactEventPropertySetDto. - + """ Specifies the birthday of the contact. :return: The birthday of this MapiContactEventPropertySetDto. @@ -82,8 +82,7 @@ def birthday(self) -> datetime: @birthday.setter def birthday(self, birthday: datetime): - """Sets the birthday of this MapiContactEventPropertySetDto. - + """ Specifies the birthday of the contact. :param birthday: The birthday of this MapiContactEventPropertySetDto. @@ -95,8 +94,7 @@ def birthday(self, birthday: datetime): @property def wedding_anniversary(self) -> datetime: - """Gets the wedding_anniversary of this MapiContactEventPropertySetDto. - + """ Specifies the wedding anniversary of the contact. :return: The wedding_anniversary of this MapiContactEventPropertySetDto. @@ -106,8 +104,7 @@ def wedding_anniversary(self) -> datetime: @wedding_anniversary.setter def wedding_anniversary(self, wedding_anniversary: datetime): - """Sets the wedding_anniversary of this MapiContactEventPropertySetDto. - + """ Specifies the wedding anniversary of the contact. :param wedding_anniversary: The wedding_anniversary of this MapiContactEventPropertySetDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py index 9fc32a2..f02490d 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_name_property_set_dto.py @@ -125,10 +125,10 @@ def __init__(self, display_name: str = None, display_name_prefix: str = None, fi if surname is not None: self.surname = surname + @property def display_name(self) -> str: - """Gets the display_name of this MapiContactNamePropertySetDto. - + """ Full name of the contact :return: The display_name of this MapiContactNamePropertySetDto. @@ -138,8 +138,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this MapiContactNamePropertySetDto. - + """ Full name of the contact :param display_name: The display_name of this MapiContactNamePropertySetDto. @@ -149,8 +148,7 @@ def display_name(self, display_name: str): @property def display_name_prefix(self) -> str: - """Gets the display_name_prefix of this MapiContactNamePropertySetDto. - + """ Title of the contact :return: The display_name_prefix of this MapiContactNamePropertySetDto. @@ -160,8 +158,7 @@ def display_name_prefix(self) -> str: @display_name_prefix.setter def display_name_prefix(self, display_name_prefix: str): - """Sets the display_name_prefix of this MapiContactNamePropertySetDto. - + """ Title of the contact :param display_name_prefix: The display_name_prefix of this MapiContactNamePropertySetDto. @@ -171,8 +168,7 @@ def display_name_prefix(self, display_name_prefix: str): @property def file_under(self) -> str: - """Gets the file_under of this MapiContactNamePropertySetDto. - + """ Name under which to file this contact when displaying a list of contacts :return: The file_under of this MapiContactNamePropertySetDto. @@ -182,8 +178,7 @@ def file_under(self) -> str: @file_under.setter def file_under(self, file_under: str): - """Sets the file_under of this MapiContactNamePropertySetDto. - + """ Name under which to file this contact when displaying a list of contacts :param file_under: The file_under of this MapiContactNamePropertySetDto. @@ -193,8 +188,7 @@ def file_under(self, file_under: str): @property def file_under_id(self) -> int: - """Gets the file_under_id of this MapiContactNamePropertySetDto. - + """ Value specifying how to generate and recompute the property when other properties are changed :return: The file_under_id of this MapiContactNamePropertySetDto. @@ -204,8 +198,7 @@ def file_under_id(self) -> int: @file_under_id.setter def file_under_id(self, file_under_id: int): - """Sets the file_under_id of this MapiContactNamePropertySetDto. - + """ Value specifying how to generate and recompute the property when other properties are changed :param file_under_id: The file_under_id of this MapiContactNamePropertySetDto. @@ -217,8 +210,7 @@ def file_under_id(self, file_under_id: int): @property def generation(self) -> str: - """Gets the generation of this MapiContactNamePropertySetDto. - + """ Generation suffix of the contact :return: The generation of this MapiContactNamePropertySetDto. @@ -228,8 +220,7 @@ def generation(self) -> str: @generation.setter def generation(self, generation: str): - """Sets the generation of this MapiContactNamePropertySetDto. - + """ Generation suffix of the contact :param generation: The generation of this MapiContactNamePropertySetDto. @@ -239,8 +230,7 @@ def generation(self, generation: str): @property def given_name(self) -> str: - """Gets the given_name of this MapiContactNamePropertySetDto. - + """ Given name (first name) of the contact :return: The given_name of this MapiContactNamePropertySetDto. @@ -250,8 +240,7 @@ def given_name(self) -> str: @given_name.setter def given_name(self, given_name: str): - """Sets the given_name of this MapiContactNamePropertySetDto. - + """ Given name (first name) of the contact :param given_name: The given_name of this MapiContactNamePropertySetDto. @@ -261,8 +250,7 @@ def given_name(self, given_name: str): @property def initials(self) -> str: - """Gets the initials of this MapiContactNamePropertySetDto. - + """ Initials of the contact :return: The initials of this MapiContactNamePropertySetDto. @@ -272,8 +260,7 @@ def initials(self) -> str: @initials.setter def initials(self, initials: str): - """Sets the initials of this MapiContactNamePropertySetDto. - + """ Initials of the contact :param initials: The initials of this MapiContactNamePropertySetDto. @@ -283,8 +270,7 @@ def initials(self, initials: str): @property def middle_name(self) -> str: - """Gets the middle_name of this MapiContactNamePropertySetDto. - + """ Middle name of the contact :return: The middle_name of this MapiContactNamePropertySetDto. @@ -294,8 +280,7 @@ def middle_name(self) -> str: @middle_name.setter def middle_name(self, middle_name: str): - """Sets the middle_name of this MapiContactNamePropertySetDto. - + """ Middle name of the contact :param middle_name: The middle_name of this MapiContactNamePropertySetDto. @@ -305,8 +290,7 @@ def middle_name(self, middle_name: str): @property def nickname(self) -> str: - """Gets the nickname of this MapiContactNamePropertySetDto. - + """ Nickname of the contact :return: The nickname of this MapiContactNamePropertySetDto. @@ -316,8 +300,7 @@ def nickname(self) -> str: @nickname.setter def nickname(self, nickname: str): - """Sets the nickname of this MapiContactNamePropertySetDto. - + """ Nickname of the contact :param nickname: The nickname of this MapiContactNamePropertySetDto. @@ -327,8 +310,7 @@ def nickname(self, nickname: str): @property def surname(self) -> str: - """Gets the surname of this MapiContactNamePropertySetDto. - + """ Surname (family name) of the contact :return: The surname of this MapiContactNamePropertySetDto. @@ -338,8 +320,7 @@ def surname(self) -> str: @surname.setter def surname(self, surname: str): - """Sets the surname of this MapiContactNamePropertySetDto. - + """ Surname (family name) of the contact :param surname: The surname of this MapiContactNamePropertySetDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py index 2979b65..cb168c4 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_other_property_set_dto.py @@ -111,10 +111,10 @@ def __init__(self, private: bool = None, journal: bool = None, reminder_time: da if user_field4 is not None: self.user_field4 = user_field4 + @property def private(self) -> bool: - """Gets the private of this MapiContactOtherPropertySetDto. - + """ Indicates whether the end-user wants this message object hidden from other users who have access to the message object. :return: The private of this MapiContactOtherPropertySetDto. @@ -124,8 +124,7 @@ def private(self) -> bool: @private.setter def private(self, private: bool): - """Sets the private of this MapiContactOtherPropertySetDto. - + """ Indicates whether the end-user wants this message object hidden from other users who have access to the message object. :param private: The private of this MapiContactOtherPropertySetDto. @@ -137,8 +136,7 @@ def private(self, private: bool): @property def journal(self) -> bool: - """Gets the journal of this MapiContactOtherPropertySetDto. - + """ Specifies whether to create a journal for each action associated with this contact. :return: The journal of this MapiContactOtherPropertySetDto. @@ -148,8 +146,7 @@ def journal(self) -> bool: @journal.setter def journal(self, journal: bool): - """Sets the journal of this MapiContactOtherPropertySetDto. - + """ Specifies whether to create a journal for each action associated with this contact. :param journal: The journal of this MapiContactOtherPropertySetDto. @@ -161,8 +158,7 @@ def journal(self, journal: bool): @property def reminder_time(self) -> datetime: - """Gets the reminder_time of this MapiContactOtherPropertySetDto. - + """ Specifies the initial signal time for a reminder. :return: The reminder_time of this MapiContactOtherPropertySetDto. @@ -172,8 +168,7 @@ def reminder_time(self) -> datetime: @reminder_time.setter def reminder_time(self, reminder_time: datetime): - """Sets the reminder_time of this MapiContactOtherPropertySetDto. - + """ Specifies the initial signal time for a reminder. :param reminder_time: The reminder_time of this MapiContactOtherPropertySetDto. @@ -185,8 +180,7 @@ def reminder_time(self, reminder_time: datetime): @property def reminder_topic(self) -> str: - """Gets the reminder_topic of this MapiContactOtherPropertySetDto. - + """ Represents the status of a meeting request. :return: The reminder_topic of this MapiContactOtherPropertySetDto. @@ -196,8 +190,7 @@ def reminder_topic(self) -> str: @reminder_topic.setter def reminder_topic(self, reminder_topic: str): - """Sets the reminder_topic of this MapiContactOtherPropertySetDto. - + """ Represents the status of a meeting request. :param reminder_topic: The reminder_topic of this MapiContactOtherPropertySetDto. @@ -207,8 +200,7 @@ def reminder_topic(self, reminder_topic: str): @property def user_field1(self) -> str: - """Gets the user_field1 of this MapiContactOtherPropertySetDto. - + """ Specifies the first field on the contact that is intended for miscellaneous use for the contact. :return: The user_field1 of this MapiContactOtherPropertySetDto. @@ -218,8 +210,7 @@ def user_field1(self) -> str: @user_field1.setter def user_field1(self, user_field1: str): - """Sets the user_field1 of this MapiContactOtherPropertySetDto. - + """ Specifies the first field on the contact that is intended for miscellaneous use for the contact. :param user_field1: The user_field1 of this MapiContactOtherPropertySetDto. @@ -229,8 +220,7 @@ def user_field1(self, user_field1: str): @property def user_field2(self) -> str: - """Gets the user_field2 of this MapiContactOtherPropertySetDto. - + """ Specifies the second field on the contact that is intended for miscellaneous use for the contact. :return: The user_field2 of this MapiContactOtherPropertySetDto. @@ -240,8 +230,7 @@ def user_field2(self) -> str: @user_field2.setter def user_field2(self, user_field2: str): - """Sets the user_field2 of this MapiContactOtherPropertySetDto. - + """ Specifies the second field on the contact that is intended for miscellaneous use for the contact. :param user_field2: The user_field2 of this MapiContactOtherPropertySetDto. @@ -251,8 +240,7 @@ def user_field2(self, user_field2: str): @property def user_field3(self) -> str: - """Gets the user_field3 of this MapiContactOtherPropertySetDto. - + """ Specifies the third field on the contact that is intended for miscellaneous use for the contact. :return: The user_field3 of this MapiContactOtherPropertySetDto. @@ -262,8 +250,7 @@ def user_field3(self) -> str: @user_field3.setter def user_field3(self, user_field3: str): - """Sets the user_field3 of this MapiContactOtherPropertySetDto. - + """ Specifies the third field on the contact that is intended for miscellaneous use for the contact. :param user_field3: The user_field3 of this MapiContactOtherPropertySetDto. @@ -273,8 +260,7 @@ def user_field3(self, user_field3: str): @property def user_field4(self) -> str: - """Gets the user_field4 of this MapiContactOtherPropertySetDto. - + """ Specifies the forth field on the contact that is intended for miscellaneous use for the contact. :return: The user_field4 of this MapiContactOtherPropertySetDto. @@ -284,8 +270,7 @@ def user_field4(self) -> str: @user_field4.setter def user_field4(self, user_field4: str): - """Sets the user_field4 of this MapiContactOtherPropertySetDto. - + """ Specifies the forth field on the contact that is intended for miscellaneous use for the contact. :param user_field4: The user_field4 of this MapiContactOtherPropertySetDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py index c742bac..b7b36be 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_personal_info_property_set_dto.py @@ -188,10 +188,10 @@ def __init__(self, spouse_name: str = None, personal_home_page: str = None, lang if children is not None: self.children = children + @property def spouse_name(self) -> str: - """Gets the spouse_name of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the name of the contact's spouse/partner :return: The spouse_name of this MapiContactPersonalInfoPropertySetDto. @@ -201,8 +201,7 @@ def spouse_name(self) -> str: @spouse_name.setter def spouse_name(self, spouse_name: str): - """Sets the spouse_name of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the name of the contact's spouse/partner :param spouse_name: The spouse_name of this MapiContactPersonalInfoPropertySetDto. @@ -212,8 +211,7 @@ def spouse_name(self, spouse_name: str): @property def personal_home_page(self) -> str: - """Gets the personal_home_page of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's personal web page URL :return: The personal_home_page of this MapiContactPersonalInfoPropertySetDto. @@ -223,8 +221,7 @@ def personal_home_page(self) -> str: @personal_home_page.setter def personal_home_page(self, personal_home_page: str): - """Sets the personal_home_page of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's personal web page URL :param personal_home_page: The personal_home_page of this MapiContactPersonalInfoPropertySetDto. @@ -234,8 +231,7 @@ def personal_home_page(self, personal_home_page: str): @property def language(self) -> str: - """Gets the language of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the language that the contact uses :return: The language of this MapiContactPersonalInfoPropertySetDto. @@ -245,8 +241,7 @@ def language(self) -> str: @language.setter def language(self, language: str): - """Sets the language of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the language that the contact uses :param language: The language of this MapiContactPersonalInfoPropertySetDto. @@ -256,8 +251,7 @@ def language(self, language: str): @property def notes(self) -> str: - """Gets the notes of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the additional notes :return: The notes of this MapiContactPersonalInfoPropertySetDto. @@ -267,8 +261,7 @@ def notes(self) -> str: @notes.setter def notes(self, notes: str): - """Sets the notes of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the additional notes :param notes: The notes of this MapiContactPersonalInfoPropertySetDto. @@ -278,8 +271,7 @@ def notes(self, notes: str): @property def hobbies(self) -> str: - """Gets the hobbies of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the hobbies of the contact :return: The hobbies of this MapiContactPersonalInfoPropertySetDto. @@ -289,8 +281,7 @@ def hobbies(self) -> str: @hobbies.setter def hobbies(self, hobbies: str): - """Sets the hobbies of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the hobbies of the contact :param hobbies: The hobbies of this MapiContactPersonalInfoPropertySetDto. @@ -300,8 +291,7 @@ def hobbies(self, hobbies: str): @property def location(self) -> str: - """Gets the location of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the location of the contact :return: The location of this MapiContactPersonalInfoPropertySetDto. @@ -311,8 +301,7 @@ def location(self) -> str: @location.setter def location(self, location: str): - """Sets the location of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the location of the contact :param location: The location of this MapiContactPersonalInfoPropertySetDto. @@ -322,8 +311,7 @@ def location(self, location: str): @property def instant_messaging_address(self) -> str: - """Gets the instant_messaging_address of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's instant messaging address :return: The instant_messaging_address of this MapiContactPersonalInfoPropertySetDto. @@ -333,8 +321,7 @@ def instant_messaging_address(self) -> str: @instant_messaging_address.setter def instant_messaging_address(self, instant_messaging_address: str): - """Sets the instant_messaging_address of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's instant messaging address :param instant_messaging_address: The instant_messaging_address of this MapiContactPersonalInfoPropertySetDto. @@ -344,8 +331,7 @@ def instant_messaging_address(self, instant_messaging_address: str): @property def organizational_id_number(self) -> str: - """Gets the organizational_id_number of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies an organizational ID number for the contact :return: The organizational_id_number of this MapiContactPersonalInfoPropertySetDto. @@ -355,8 +341,7 @@ def organizational_id_number(self) -> str: @organizational_id_number.setter def organizational_id_number(self, organizational_id_number: str): - """Sets the organizational_id_number of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies an organizational ID number for the contact :param organizational_id_number: The organizational_id_number of this MapiContactPersonalInfoPropertySetDto. @@ -366,8 +351,7 @@ def organizational_id_number(self, organizational_id_number: str): @property def customer_id(self) -> str: - """Gets the customer_id of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's customer ID number :return: The customer_id of this MapiContactPersonalInfoPropertySetDto. @@ -377,8 +361,7 @@ def customer_id(self) -> str: @customer_id.setter def customer_id(self, customer_id: str): - """Sets the customer_id of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's customer ID number :param customer_id: The customer_id of this MapiContactPersonalInfoPropertySetDto. @@ -388,8 +371,7 @@ def customer_id(self, customer_id: str): @property def government_id_number(self) -> str: - """Gets the government_id_number of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's government ID number :return: The government_id_number of this MapiContactPersonalInfoPropertySetDto. @@ -399,8 +381,7 @@ def government_id_number(self) -> str: @government_id_number.setter def government_id_number(self, government_id_number: str): - """Sets the government_id_number of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's government ID number :param government_id_number: The government_id_number of this MapiContactPersonalInfoPropertySetDto. @@ -410,8 +391,7 @@ def government_id_number(self, government_id_number: str): @property def free_busy_location(self) -> str: - """Gets the free_busy_location of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies a URL path from which a client can retrieve free/busy information for the contact as an iCal file :return: The free_busy_location of this MapiContactPersonalInfoPropertySetDto. @@ -421,8 +401,7 @@ def free_busy_location(self) -> str: @free_busy_location.setter def free_busy_location(self, free_busy_location: str): - """Sets the free_busy_location of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies a URL path from which a client can retrieve free/busy information for the contact as an iCal file :param free_busy_location: The free_busy_location of this MapiContactPersonalInfoPropertySetDto. @@ -432,8 +411,7 @@ def free_busy_location(self, free_busy_location: str): @property def account(self) -> str: - """Gets the account of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the account name of the contact :return: The account of this MapiContactPersonalInfoPropertySetDto. @@ -443,8 +421,7 @@ def account(self) -> str: @account.setter def account(self, account: str): - """Sets the account of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the account name of the contact :param account: The account of this MapiContactPersonalInfoPropertySetDto. @@ -454,8 +431,7 @@ def account(self, account: str): @property def html(self) -> str: - """Gets the html of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's business web page URL :return: The html of this MapiContactPersonalInfoPropertySetDto. @@ -465,8 +441,7 @@ def html(self) -> str: @html.setter def html(self, html: str): - """Sets the html of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's business web page URL :param html: The html of this MapiContactPersonalInfoPropertySetDto. @@ -476,8 +451,7 @@ def html(self, html: str): @property def business_home_page(self) -> str: - """Gets the business_home_page of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's business web page URL :return: The business_home_page of this MapiContactPersonalInfoPropertySetDto. @@ -487,8 +461,7 @@ def business_home_page(self) -> str: @business_home_page.setter def business_home_page(self, business_home_page: str): - """Sets the business_home_page of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's business web page URL :param business_home_page: The business_home_page of this MapiContactPersonalInfoPropertySetDto. @@ -498,8 +471,7 @@ def business_home_page(self, business_home_page: str): @property def ftp_site(self) -> str: - """Gets the ftp_site of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's File Transfer Protocol (FTP) URL :return: The ftp_site of this MapiContactPersonalInfoPropertySetDto. @@ -509,8 +481,7 @@ def ftp_site(self) -> str: @ftp_site.setter def ftp_site(self, ftp_site: str): - """Sets the ftp_site of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the contact's File Transfer Protocol (FTP) URL :param ftp_site: The ftp_site of this MapiContactPersonalInfoPropertySetDto. @@ -520,8 +491,7 @@ def ftp_site(self, ftp_site: str): @property def computer_network_name(self) -> str: - """Gets the computer_network_name of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the name of the network to which the contact's computer is connected :return: The computer_network_name of this MapiContactPersonalInfoPropertySetDto. @@ -531,8 +501,7 @@ def computer_network_name(self) -> str: @computer_network_name.setter def computer_network_name(self, computer_network_name: str): - """Sets the computer_network_name of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the name of the network to which the contact's computer is connected :param computer_network_name: The computer_network_name of this MapiContactPersonalInfoPropertySetDto. @@ -542,8 +511,7 @@ def computer_network_name(self, computer_network_name: str): @property def gender(self) -> str: - """Gets the gender of this MapiContactPersonalInfoPropertySetDto. - + """ Gender of the contact Enum, available values: Unspecified, Female, Male :return: The gender of this MapiContactPersonalInfoPropertySetDto. @@ -553,8 +521,7 @@ def gender(self) -> str: @gender.setter def gender(self, gender: str): - """Sets the gender of this MapiContactPersonalInfoPropertySetDto. - + """ Gender of the contact Enum, available values: Unspecified, Female, Male :param gender: The gender of this MapiContactPersonalInfoPropertySetDto. @@ -566,8 +533,7 @@ def gender(self, gender: str): @property def referred_by_name(self) -> str: - """Gets the referred_by_name of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the name of the person who referred this contact to the user :return: The referred_by_name of this MapiContactPersonalInfoPropertySetDto. @@ -577,8 +543,7 @@ def referred_by_name(self) -> str: @referred_by_name.setter def referred_by_name(self, referred_by_name: str): - """Sets the referred_by_name of this MapiContactPersonalInfoPropertySetDto. - + """ Specifies the name of the person who referred this contact to the user :param referred_by_name: The referred_by_name of this MapiContactPersonalInfoPropertySetDto. @@ -588,8 +553,7 @@ def referred_by_name(self, referred_by_name: str): @property def children(self) -> List[str]: - """Gets the children of this MapiContactPersonalInfoPropertySetDto. - + """ Contains a list of names of children. :return: The children of this MapiContactPersonalInfoPropertySetDto. @@ -599,8 +563,7 @@ def children(self) -> List[str]: @children.setter def children(self, children: List[str]): - """Sets the children of this MapiContactPersonalInfoPropertySetDto. - + """ Contains a list of names of children. :param children: The children of this MapiContactPersonalInfoPropertySetDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py index 076277b..e2629fe 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_photo_dto.py @@ -56,15 +56,13 @@ class MapiContactPhotoDto(ContactPhoto): 'discriminator': 'discriminator' } - def __init__(self, photo_image_format: str = None, base64_data: str = None, discriminator: str = None): + def __init__(self, photo_image_format: str = None, base64_data: str = None): """ Contains data and type of contact's photo. :param photo_image_format: MapiContact photo image format. Enum, available values: Undefined, Jpeg, Gif, Wmf, Bmp, Tiff :type photo_image_format: str :param base64_data: Photo serialized as base64 string. :type base64_data: str - :param discriminator: - :type discriminator: str """ super(MapiContactPhotoDto, self).__init__() @@ -72,8 +70,7 @@ def __init__(self, photo_image_format: str = None, base64_data: str = None, disc self.photo_image_format = photo_image_format if base64_data is not None: self.base64_data = base64_data - if discriminator is not None: - self.discriminator = discriminator + def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py index 8886db4..92d46cd 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_dto.py @@ -118,10 +118,10 @@ def __init__(self, is_mailing_address: bool = None, street: str = None, city: st if post_office_box is not None: self.post_office_box = post_office_box + @property def is_mailing_address(self) -> bool: - """Gets the is_mailing_address of this MapiContactPhysicalAddressDto. - + """ Gets or sets a value indicating whether this address is mailing address :return: The is_mailing_address of this MapiContactPhysicalAddressDto. @@ -131,8 +131,7 @@ def is_mailing_address(self) -> bool: @is_mailing_address.setter def is_mailing_address(self, is_mailing_address: bool): - """Sets the is_mailing_address of this MapiContactPhysicalAddressDto. - + """ Gets or sets a value indicating whether this address is mailing address :param is_mailing_address: The is_mailing_address of this MapiContactPhysicalAddressDto. @@ -144,8 +143,7 @@ def is_mailing_address(self, is_mailing_address: bool): @property def street(self) -> str: - """Gets the street of this MapiContactPhysicalAddressDto. - + """ Specifies the street portion of the contact's address :return: The street of this MapiContactPhysicalAddressDto. @@ -155,8 +153,7 @@ def street(self) -> str: @street.setter def street(self, street: str): - """Sets the street of this MapiContactPhysicalAddressDto. - + """ Specifies the street portion of the contact's address :param street: The street of this MapiContactPhysicalAddressDto. @@ -166,8 +163,7 @@ def street(self, street: str): @property def city(self) -> str: - """Gets the city of this MapiContactPhysicalAddressDto. - + """ Specifies the city or locality portion of the contact's address :return: The city of this MapiContactPhysicalAddressDto. @@ -177,8 +173,7 @@ def city(self) -> str: @city.setter def city(self, city: str): - """Sets the city of this MapiContactPhysicalAddressDto. - + """ Specifies the city or locality portion of the contact's address :param city: The city of this MapiContactPhysicalAddressDto. @@ -188,8 +183,7 @@ def city(self, city: str): @property def state_or_province(self) -> str: - """Gets the state_or_province of this MapiContactPhysicalAddressDto. - + """ Specifies the state or province portion of the contact's address :return: The state_or_province of this MapiContactPhysicalAddressDto. @@ -199,8 +193,7 @@ def state_or_province(self) -> str: @state_or_province.setter def state_or_province(self, state_or_province: str): - """Sets the state_or_province of this MapiContactPhysicalAddressDto. - + """ Specifies the state or province portion of the contact's address :param state_or_province: The state_or_province of this MapiContactPhysicalAddressDto. @@ -210,8 +203,7 @@ def state_or_province(self, state_or_province: str): @property def postal_code(self) -> str: - """Gets the postal_code of this MapiContactPhysicalAddressDto. - + """ Specifies the postal code (ZIP code) portion of the contact's address :return: The postal_code of this MapiContactPhysicalAddressDto. @@ -221,8 +213,7 @@ def postal_code(self) -> str: @postal_code.setter def postal_code(self, postal_code: str): - """Sets the postal_code of this MapiContactPhysicalAddressDto. - + """ Specifies the postal code (ZIP code) portion of the contact's address :param postal_code: The postal_code of this MapiContactPhysicalAddressDto. @@ -232,8 +223,7 @@ def postal_code(self, postal_code: str): @property def country(self) -> str: - """Gets the country of this MapiContactPhysicalAddressDto. - + """ Specifies the country or region portion of the contact's address :return: The country of this MapiContactPhysicalAddressDto. @@ -243,8 +233,7 @@ def country(self) -> str: @country.setter def country(self, country: str): - """Sets the country of this MapiContactPhysicalAddressDto. - + """ Specifies the country or region portion of the contact's address :param country: The country of this MapiContactPhysicalAddressDto. @@ -254,8 +243,7 @@ def country(self, country: str): @property def country_code(self) -> str: - """Gets the country_code of this MapiContactPhysicalAddressDto. - + """ Specifies the country code portion of the contact's address :return: The country_code of this MapiContactPhysicalAddressDto. @@ -265,8 +253,7 @@ def country_code(self) -> str: @country_code.setter def country_code(self, country_code: str): - """Sets the country_code of this MapiContactPhysicalAddressDto. - + """ Specifies the country code portion of the contact's address :param country_code: The country_code of this MapiContactPhysicalAddressDto. @@ -276,8 +263,7 @@ def country_code(self, country_code: str): @property def address(self) -> str: - """Gets the address of this MapiContactPhysicalAddressDto. - + """ Specifies the complete address of the contact's address :return: The address of this MapiContactPhysicalAddressDto. @@ -287,8 +273,7 @@ def address(self) -> str: @address.setter def address(self, address: str): - """Sets the address of this MapiContactPhysicalAddressDto. - + """ Specifies the complete address of the contact's address :param address: The address of this MapiContactPhysicalAddressDto. @@ -298,8 +283,7 @@ def address(self, address: str): @property def post_office_box(self) -> str: - """Gets the post_office_box of this MapiContactPhysicalAddressDto. - + """ Gets or sets the post office box :return: The post_office_box of this MapiContactPhysicalAddressDto. @@ -309,8 +293,7 @@ def post_office_box(self) -> str: @post_office_box.setter def post_office_box(self, post_office_box: str): - """Sets the post_office_box of this MapiContactPhysicalAddressDto. - + """ Gets or sets the post office box :param post_office_box: The post_office_box of this MapiContactPhysicalAddressDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py index 76697e4..02efae1 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_physical_address_property_set_dto.py @@ -78,10 +78,10 @@ def __init__(self, work_address: MapiContactPhysicalAddressDto = None, home_addr if other_address is not None: self.other_address = other_address + @property def work_address(self) -> MapiContactPhysicalAddressDto: - """Gets the work_address of this MapiContactPhysicalAddressPropertySetDto. - + """ Specifies the address of the contact's work :return: The work_address of this MapiContactPhysicalAddressPropertySetDto. @@ -91,8 +91,7 @@ def work_address(self) -> MapiContactPhysicalAddressDto: @work_address.setter def work_address(self, work_address: MapiContactPhysicalAddressDto): - """Sets the work_address of this MapiContactPhysicalAddressPropertySetDto. - + """ Specifies the address of the contact's work :param work_address: The work_address of this MapiContactPhysicalAddressPropertySetDto. @@ -102,8 +101,7 @@ def work_address(self, work_address: MapiContactPhysicalAddressDto): @property def home_address(self) -> MapiContactPhysicalAddressDto: - """Gets the home_address of this MapiContactPhysicalAddressPropertySetDto. - + """ Specifies the address of the contact's home :return: The home_address of this MapiContactPhysicalAddressPropertySetDto. @@ -113,8 +111,7 @@ def home_address(self) -> MapiContactPhysicalAddressDto: @home_address.setter def home_address(self, home_address: MapiContactPhysicalAddressDto): - """Sets the home_address of this MapiContactPhysicalAddressPropertySetDto. - + """ Specifies the address of the contact's home :param home_address: The home_address of this MapiContactPhysicalAddressPropertySetDto. @@ -124,8 +121,7 @@ def home_address(self, home_address: MapiContactPhysicalAddressDto): @property def other_address(self) -> MapiContactPhysicalAddressDto: - """Gets the other_address of this MapiContactPhysicalAddressPropertySetDto. - + """ Specifies the other contact's address :return: The other_address of this MapiContactPhysicalAddressPropertySetDto. @@ -135,8 +131,7 @@ def other_address(self) -> MapiContactPhysicalAddressDto: @other_address.setter def other_address(self, other_address: MapiContactPhysicalAddressDto): - """Sets the other_address of this MapiContactPhysicalAddressPropertySetDto. - + """ Specifies the other contact's address :param other_address: The other_address of this MapiContactPhysicalAddressPropertySetDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py index 03fe017..5100337 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_professional_property_set_dto.py @@ -104,10 +104,10 @@ def __init__(self, title: str = None, company_name: str = None, department_name: if profession is not None: self.profession = profession + @property def title(self) -> str: - """Gets the title of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the job title of the contact :return: The title of this MapiContactProfessionalPropertySetDto. @@ -117,8 +117,7 @@ def title(self) -> str: @title.setter def title(self, title: str): - """Sets the title of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the job title of the contact :param title: The title of this MapiContactProfessionalPropertySetDto. @@ -128,8 +127,7 @@ def title(self, title: str): @property def company_name(self) -> str: - """Gets the company_name of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the company that employs the contact :return: The company_name of this MapiContactProfessionalPropertySetDto. @@ -139,8 +137,7 @@ def company_name(self) -> str: @company_name.setter def company_name(self, company_name: str): - """Sets the company_name of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the company that employs the contact :param company_name: The company_name of this MapiContactProfessionalPropertySetDto. @@ -150,8 +147,7 @@ def company_name(self, company_name: str): @property def department_name(self) -> str: - """Gets the department_name of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the name of the department to which the contact belongs :return: The department_name of this MapiContactProfessionalPropertySetDto. @@ -161,8 +157,7 @@ def department_name(self) -> str: @department_name.setter def department_name(self, department_name: str): - """Sets the department_name of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the name of the department to which the contact belongs :param department_name: The department_name of this MapiContactProfessionalPropertySetDto. @@ -172,8 +167,7 @@ def department_name(self, department_name: str): @property def office_location(self) -> str: - """Gets the office_location of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the location of the office that the contact works in :return: The office_location of this MapiContactProfessionalPropertySetDto. @@ -183,8 +177,7 @@ def office_location(self) -> str: @office_location.setter def office_location(self, office_location: str): - """Sets the office_location of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the location of the office that the contact works in :param office_location: The office_location of this MapiContactProfessionalPropertySetDto. @@ -194,8 +187,7 @@ def office_location(self, office_location: str): @property def manager_name(self) -> str: - """Gets the manager_name of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the name of the contact's manager :return: The manager_name of this MapiContactProfessionalPropertySetDto. @@ -205,8 +197,7 @@ def manager_name(self) -> str: @manager_name.setter def manager_name(self, manager_name: str): - """Sets the manager_name of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the name of the contact's manager :param manager_name: The manager_name of this MapiContactProfessionalPropertySetDto. @@ -216,8 +207,7 @@ def manager_name(self, manager_name: str): @property def assistant(self) -> str: - """Gets the assistant of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the name of the contact's assistant :return: The assistant of this MapiContactProfessionalPropertySetDto. @@ -227,8 +217,7 @@ def assistant(self) -> str: @assistant.setter def assistant(self, assistant: str): - """Sets the assistant of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the name of the contact's assistant :param assistant: The assistant of this MapiContactProfessionalPropertySetDto. @@ -238,8 +227,7 @@ def assistant(self, assistant: str): @property def profession(self) -> str: - """Gets the profession of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the profession of the contact :return: The profession of this MapiContactProfessionalPropertySetDto. @@ -249,8 +237,7 @@ def profession(self) -> str: @profession.setter def profession(self, profession: str): - """Sets the profession of this MapiContactProfessionalPropertySetDto. - + """ Gets or sets the profession of the contact :param profession: The profession of this MapiContactProfessionalPropertySetDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py index 1502167..59dc20d 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_save_request.py @@ -79,10 +79,10 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiContactD if format is not None: self.format = format + @property def format(self) -> str: - """Gets the format of this MapiContactSaveRequest. - + """ Enumerates contact formats. Enum, available values: VCard, WebDav, Msg :return: The format of this MapiContactSaveRequest. @@ -92,8 +92,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this MapiContactSaveRequest. - + """ Enumerates contact formats. Enum, available values: VCard, WebDav, Msg :param format: The format of this MapiContactSaveRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py index 8696f09..9a1d83f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_telephone_property_set_dto.py @@ -188,10 +188,10 @@ def __init__(self, is_empty: bool = None, default_telephone_number: str = None, if pager_telephone_number is not None: self.pager_telephone_number = pager_telephone_number + @property def is_empty(self) -> bool: - """Gets the is_empty of this MapiContactTelephonePropertySetDto. - + """ Shows if MapiContactTelephonePropertySet is empty :return: The is_empty of this MapiContactTelephonePropertySetDto. @@ -201,8 +201,7 @@ def is_empty(self) -> bool: @is_empty.setter def is_empty(self, is_empty: bool): - """Sets the is_empty of this MapiContactTelephonePropertySetDto. - + """ Shows if MapiContactTelephonePropertySet is empty :param is_empty: The is_empty of this MapiContactTelephonePropertySetDto. @@ -214,8 +213,7 @@ def is_empty(self, is_empty: bool): @property def default_telephone_number(self) -> str: - """Gets the default_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' :return: The default_telephone_number of this MapiContactTelephonePropertySetDto. @@ -225,8 +223,7 @@ def default_telephone_number(self) -> str: @default_telephone_number.setter def default_telephone_number(self, default_telephone_number: str): - """Sets the default_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' :param default_telephone_number: The default_telephone_number of this MapiContactTelephonePropertySetDto. @@ -236,8 +233,7 @@ def default_telephone_number(self, default_telephone_number: str): @property def use_autocomplete(self) -> bool: - """Gets the use_autocomplete of this MapiContactTelephonePropertySetDto. - + """ Indicates that one electronic address is completed automatically in case if user does not set any electronic address :return: The use_autocomplete of this MapiContactTelephonePropertySetDto. @@ -247,8 +243,7 @@ def use_autocomplete(self) -> bool: @use_autocomplete.setter def use_autocomplete(self, use_autocomplete: bool): - """Sets the use_autocomplete of this MapiContactTelephonePropertySetDto. - + """ Indicates that one electronic address is completed automatically in case if user does not set any electronic address :param use_autocomplete: The use_autocomplete of this MapiContactTelephonePropertySetDto. @@ -260,8 +255,7 @@ def use_autocomplete(self, use_autocomplete: bool): @property def callback_telephone_number(self) -> str: - """Gets the callback_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the callback telephone number :return: The callback_telephone_number of this MapiContactTelephonePropertySetDto. @@ -271,8 +265,7 @@ def callback_telephone_number(self) -> str: @callback_telephone_number.setter def callback_telephone_number(self, callback_telephone_number: str): - """Sets the callback_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the callback telephone number :param callback_telephone_number: The callback_telephone_number of this MapiContactTelephonePropertySetDto. @@ -282,8 +275,7 @@ def callback_telephone_number(self, callback_telephone_number: str): @property def business_telephone_number(self) -> str: - """Gets the business_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the business telephone number :return: The business_telephone_number of this MapiContactTelephonePropertySetDto. @@ -293,8 +285,7 @@ def business_telephone_number(self) -> str: @business_telephone_number.setter def business_telephone_number(self, business_telephone_number: str): - """Sets the business_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the business telephone number :param business_telephone_number: The business_telephone_number of this MapiContactTelephonePropertySetDto. @@ -304,8 +295,7 @@ def business_telephone_number(self, business_telephone_number: str): @property def home_telephone_number(self) -> str: - """Gets the home_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the home telephone number :return: The home_telephone_number of this MapiContactTelephonePropertySetDto. @@ -315,8 +305,7 @@ def home_telephone_number(self) -> str: @home_telephone_number.setter def home_telephone_number(self, home_telephone_number: str): - """Sets the home_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the home telephone number :param home_telephone_number: The home_telephone_number of this MapiContactTelephonePropertySetDto. @@ -326,8 +315,7 @@ def home_telephone_number(self, home_telephone_number: str): @property def primary_telephone_number(self) -> str: - """Gets the primary_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the primary telephone number :return: The primary_telephone_number of this MapiContactTelephonePropertySetDto. @@ -337,8 +325,7 @@ def primary_telephone_number(self) -> str: @primary_telephone_number.setter def primary_telephone_number(self, primary_telephone_number: str): - """Sets the primary_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the primary telephone number :param primary_telephone_number: The primary_telephone_number of this MapiContactTelephonePropertySetDto. @@ -348,8 +335,7 @@ def primary_telephone_number(self, primary_telephone_number: str): @property def business2_telephone_number(self) -> str: - """Gets the business2_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the second business telephone number :return: The business2_telephone_number of this MapiContactTelephonePropertySetDto. @@ -359,8 +345,7 @@ def business2_telephone_number(self) -> str: @business2_telephone_number.setter def business2_telephone_number(self, business2_telephone_number: str): - """Sets the business2_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the second business telephone number :param business2_telephone_number: The business2_telephone_number of this MapiContactTelephonePropertySetDto. @@ -370,8 +355,7 @@ def business2_telephone_number(self, business2_telephone_number: str): @property def mobile_telephone_number(self) -> str: - """Gets the mobile_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the mobile telephone number :return: The mobile_telephone_number of this MapiContactTelephonePropertySetDto. @@ -381,8 +365,7 @@ def mobile_telephone_number(self) -> str: @mobile_telephone_number.setter def mobile_telephone_number(self, mobile_telephone_number: str): - """Sets the mobile_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the mobile telephone number :param mobile_telephone_number: The mobile_telephone_number of this MapiContactTelephonePropertySetDto. @@ -392,8 +375,7 @@ def mobile_telephone_number(self, mobile_telephone_number: str): @property def radio_telephone_number(self) -> str: - """Gets the radio_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the radio telephone number :return: The radio_telephone_number of this MapiContactTelephonePropertySetDto. @@ -403,8 +385,7 @@ def radio_telephone_number(self) -> str: @radio_telephone_number.setter def radio_telephone_number(self, radio_telephone_number: str): - """Sets the radio_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the radio telephone number :param radio_telephone_number: The radio_telephone_number of this MapiContactTelephonePropertySetDto. @@ -414,8 +395,7 @@ def radio_telephone_number(self, radio_telephone_number: str): @property def car_telephone_number(self) -> str: - """Gets the car_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the car telephone number :return: The car_telephone_number of this MapiContactTelephonePropertySetDto. @@ -425,8 +405,7 @@ def car_telephone_number(self) -> str: @car_telephone_number.setter def car_telephone_number(self, car_telephone_number: str): - """Sets the car_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the car telephone number :param car_telephone_number: The car_telephone_number of this MapiContactTelephonePropertySetDto. @@ -436,8 +415,7 @@ def car_telephone_number(self, car_telephone_number: str): @property def other_telephone_number(self) -> str: - """Gets the other_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets an alternate telephone number :return: The other_telephone_number of this MapiContactTelephonePropertySetDto. @@ -447,8 +425,7 @@ def other_telephone_number(self) -> str: @other_telephone_number.setter def other_telephone_number(self, other_telephone_number: str): - """Sets the other_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets an alternate telephone number :param other_telephone_number: The other_telephone_number of this MapiContactTelephonePropertySetDto. @@ -458,8 +435,7 @@ def other_telephone_number(self, other_telephone_number: str): @property def assistant_telephone_number(self) -> str: - """Gets the assistant_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the telephone number of the contact's assistant :return: The assistant_telephone_number of this MapiContactTelephonePropertySetDto. @@ -469,8 +445,7 @@ def assistant_telephone_number(self) -> str: @assistant_telephone_number.setter def assistant_telephone_number(self, assistant_telephone_number: str): - """Sets the assistant_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the telephone number of the contact's assistant :param assistant_telephone_number: The assistant_telephone_number of this MapiContactTelephonePropertySetDto. @@ -480,8 +455,7 @@ def assistant_telephone_number(self, assistant_telephone_number: str): @property def home2_telephone_number(self) -> str: - """Gets the home2_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets a second home telephone number :return: The home2_telephone_number of this MapiContactTelephonePropertySetDto. @@ -491,8 +465,7 @@ def home2_telephone_number(self) -> str: @home2_telephone_number.setter def home2_telephone_number(self, home2_telephone_number: str): - """Sets the home2_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets a second home telephone number :param home2_telephone_number: The home2_telephone_number of this MapiContactTelephonePropertySetDto. @@ -502,8 +475,7 @@ def home2_telephone_number(self, home2_telephone_number: str): @property def tty_tdd_phone_number(self) -> str: - """Gets the tty_tdd_phone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the telephone number for the contact's text telephone (TTY) or telecommunication device for the deaf (TDD) :return: The tty_tdd_phone_number of this MapiContactTelephonePropertySetDto. @@ -513,8 +485,7 @@ def tty_tdd_phone_number(self) -> str: @tty_tdd_phone_number.setter def tty_tdd_phone_number(self, tty_tdd_phone_number: str): - """Sets the tty_tdd_phone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the telephone number for the contact's text telephone (TTY) or telecommunication device for the deaf (TDD) :param tty_tdd_phone_number: The tty_tdd_phone_number of this MapiContactTelephonePropertySetDto. @@ -524,8 +495,7 @@ def tty_tdd_phone_number(self, tty_tdd_phone_number: str): @property def company_main_telephone_number(self) -> str: - """Gets the company_main_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the company phone number :return: The company_main_telephone_number of this MapiContactTelephonePropertySetDto. @@ -535,8 +505,7 @@ def company_main_telephone_number(self) -> str: @company_main_telephone_number.setter def company_main_telephone_number(self, company_main_telephone_number: str): - """Sets the company_main_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the company phone number :param company_main_telephone_number: The company_main_telephone_number of this MapiContactTelephonePropertySetDto. @@ -546,8 +515,7 @@ def company_main_telephone_number(self, company_main_telephone_number: str): @property def telex_number(self) -> str: - """Gets the telex_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the telex number :return: The telex_number of this MapiContactTelephonePropertySetDto. @@ -557,8 +525,7 @@ def telex_number(self) -> str: @telex_number.setter def telex_number(self, telex_number: str): - """Sets the telex_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the telex number :param telex_number: The telex_number of this MapiContactTelephonePropertySetDto. @@ -568,8 +535,7 @@ def telex_number(self, telex_number: str): @property def isdn_number(self) -> str: - """Gets the isdn_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the integrated services digital network (ISDN) number :return: The isdn_number of this MapiContactTelephonePropertySetDto. @@ -579,8 +545,7 @@ def isdn_number(self) -> str: @isdn_number.setter def isdn_number(self, isdn_number: str): - """Sets the isdn_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets the integrated services digital network (ISDN) number :param isdn_number: The isdn_number of this MapiContactTelephonePropertySetDto. @@ -590,8 +555,7 @@ def isdn_number(self, isdn_number: str): @property def pager_telephone_number(self) -> str: - """Gets the pager_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets a pager telephone number :return: The pager_telephone_number of this MapiContactTelephonePropertySetDto. @@ -601,8 +565,7 @@ def pager_telephone_number(self) -> str: @pager_telephone_number.setter def pager_telephone_number(self, pager_telephone_number: str): - """Sets the pager_telephone_number of this MapiContactTelephonePropertySetDto. - + """ Gets or sets a pager telephone number :param pager_telephone_number: The pager_telephone_number of this MapiContactTelephonePropertySetDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py index 3f63457..1b6d43d 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_date_time_property_dto.py @@ -57,13 +57,11 @@ class MapiDateTimePropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: datetime = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: datetime = None): """ Mapi property with DateTime value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Property value :type value: datetime """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> datetime: - """Gets the value of this MapiDateTimePropertyDto. - + """ Property value :return: The value of this MapiDateTimePropertyDto. @@ -91,8 +87,7 @@ def value(self) -> datetime: @value.setter def value(self, value: datetime): - """Sets the value of this MapiDateTimePropertyDto. - + """ Property value :param value: The value of this MapiDateTimePropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py index bd870f7..f802442 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_electronic_address_dto.py @@ -90,10 +90,10 @@ def __init__(self, address_type: str = None, email_address: str = None, display_ if original_display_name is not None: self.original_display_name = original_display_name + @property def address_type(self) -> str: - """Gets the address_type of this MapiElectronicAddressDto. - + """ Address type. :return: The address_type of this MapiElectronicAddressDto. @@ -103,8 +103,7 @@ def address_type(self) -> str: @address_type.setter def address_type(self, address_type: str): - """Sets the address_type of this MapiElectronicAddressDto. - + """ Address type. :param address_type: The address_type of this MapiElectronicAddressDto. @@ -114,8 +113,7 @@ def address_type(self, address_type: str): @property def email_address(self) -> str: - """Gets the email_address of this MapiElectronicAddressDto. - + """ Email address. :return: The email_address of this MapiElectronicAddressDto. @@ -125,8 +123,7 @@ def email_address(self) -> str: @email_address.setter def email_address(self, email_address: str): - """Sets the email_address of this MapiElectronicAddressDto. - + """ Email address. :param email_address: The email_address of this MapiElectronicAddressDto. @@ -136,8 +133,7 @@ def email_address(self, email_address: str): @property def display_name(self) -> str: - """Gets the display_name of this MapiElectronicAddressDto. - + """ User-readable display name for the e-mail address. :return: The display_name of this MapiElectronicAddressDto. @@ -147,8 +143,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this MapiElectronicAddressDto. - + """ User-readable display name for the e-mail address. :param display_name: The display_name of this MapiElectronicAddressDto. @@ -158,8 +153,7 @@ def display_name(self, display_name: str): @property def fax_number(self) -> str: - """Gets the fax_number of this MapiElectronicAddressDto. - + """ Telephone number of the mail user's primary fax machine. :return: The fax_number of this MapiElectronicAddressDto. @@ -169,8 +163,7 @@ def fax_number(self) -> str: @fax_number.setter def fax_number(self, fax_number: str): - """Sets the fax_number of this MapiElectronicAddressDto. - + """ Telephone number of the mail user's primary fax machine. :param fax_number: The fax_number of this MapiElectronicAddressDto. @@ -180,8 +173,7 @@ def fax_number(self, fax_number: str): @property def original_display_name(self) -> str: - """Gets the original_display_name of this MapiElectronicAddressDto. - + """ SMTP e-mail address that corresponds to the e-mail address. :return: The original_display_name of this MapiElectronicAddressDto. @@ -191,8 +183,7 @@ def original_display_name(self) -> str: @original_display_name.setter def original_display_name(self, original_display_name: str): - """Sets the original_display_name of this MapiElectronicAddressDto. - + """ SMTP e-mail address that corresponds to the e-mail address. :param original_display_name: The original_display_name of this MapiElectronicAddressDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py index df5f498..4b981b2 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_file_as_property_dto.py @@ -57,13 +57,11 @@ class MapiFileAsPropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: str = None): """ Mapi property with FileAsMapping value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Defines how to construct what is displayed for a contact in the FileAs property. Enum, available values: None, LastCommaFirst, FirstSpaceLast, Company, LastCommaFirstCompany, CompanyLastFirst, LastFirst, LastFirstCompany, CompanyLastCommaFirst, LastFirstSuffix, LastSpaceFirstCompany, CompanyLastSpaceFirst, LastSpaceFirst, DisplayName, FirstName, LastFirstMiddleSuffix, LastName, Empty :type value: str """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> str: - """Gets the value of this MapiFileAsPropertyDto. - + """ Defines how to construct what is displayed for a contact in the FileAs property. Enum, available values: None, LastCommaFirst, FirstSpaceLast, Company, LastCommaFirstCompany, CompanyLastFirst, LastFirst, LastFirstCompany, CompanyLastCommaFirst, LastFirstSuffix, LastSpaceFirstCompany, CompanyLastSpaceFirst, LastSpaceFirst, DisplayName, FirstName, LastFirstMiddleSuffix, LastName, Empty :return: The value of this MapiFileAsPropertyDto. @@ -91,8 +87,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this MapiFileAsPropertyDto. - + """ Defines how to construct what is displayed for a contact in the FileAs property. Enum, available values: None, LastCommaFirst, FirstSpaceLast, Company, LastCommaFirstCompany, CompanyLastFirst, LastFirst, LastFirstCompany, CompanyLastCommaFirst, LastFirstSuffix, LastSpaceFirstCompany, CompanyLastSpaceFirst, LastSpaceFirst, DisplayName, FirstName, LastFirstMiddleSuffix, LastName, Empty :param value: The value of this MapiFileAsPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py index 580e22d..a135cbe 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_importance_property_dto.py @@ -57,13 +57,11 @@ class MapiImportancePropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: str = None): """ Mapi property with ImportanceChoicesType value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Levels of importance for an item. Enum, available values: Low, Normal, High :type value: str """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> str: - """Gets the value of this MapiImportancePropertyDto. - + """ Levels of importance for an item. Enum, available values: Low, Normal, High :return: The value of this MapiImportancePropertyDto. @@ -91,8 +87,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this MapiImportancePropertyDto. - + """ Levels of importance for an item. Enum, available values: Low, Normal, High :param value: The value of this MapiImportancePropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py index 11a15cc..f170144 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_int_property_dto.py @@ -57,13 +57,11 @@ class MapiIntPropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: int = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: int = None): """ Mapi property with Integer value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Property value :type value: int """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> int: - """Gets the value of this MapiIntPropertyDto. - + """ Property value :return: The value of this MapiIntPropertyDto. @@ -91,8 +87,7 @@ def value(self) -> int: @value.setter def value(self, value: int): - """Sets the value of this MapiIntPropertyDto. - + """ Property value :param value: The value of this MapiIntPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py index a59f085..dd9b2d0 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_known_property_descriptor.py @@ -54,27 +54,22 @@ class MapiKnownPropertyDescriptor(MapiPropertyDescriptor): 'name': 'name' } - def __init__(self, discriminator: str = None, name: str = None): + def __init__(self, name: str = None): """ Known Mapi Property descriptor - :param discriminator: - :type discriminator: str :param name: Known property name. See all known properties here: https://apireference.aspose.com/email/net/aspose.email.mapi/knownpropertylist/fields/index Possible values: Mileage, ObjectUri, GDataContactVersion, GDataPhotoVersion, AddressBookProviderArrayType, AddressBookProviderEmailList, AddressCountryCode, AgingDontAgeMe, AllAttendeesString, AllowExternalCheck, AnniversaryEventEntryId, AppointmentAuxiliaryFlags, AppointmentColor, AppointmentCounterProposal, AppointmentDuration, AppointmentEndDate, AppointmentEndTime, AppointmentEndWhole, AppointmentLastSequence, AppointmentMessageClass, AppointmentNotAllowPropose, AppointmentProposalNumber, AppointmentProposedDuration, AppointmentProposedEndWhole, AppointmentProposedStartWhole, AppointmentRecur, AppointmentReplyName, AppointmentReplyTime, AppointmentSequence, AppointmentSequenceTime, AppointmentStartDate, AppointmentStartTime, AppointmentStartWhole, AppointmentStateFlags, AppointmentSubType, AppointmentTimeZoneDefinitionEndDisplay, AppointmentTimeZoneDefinitionRecur, AppointmentTimeZoneDefinitionStartDisplay, AppointmentUnsendableRecipients, AppointmentUpdateTime, AttendeeCriticalChange, AutoFillLocation, AutoLog, AutoProcessState, AutoStartCheck, Billing, BirthdayEventEntryId, BirthdayLocal, BusinessCardCardPicture, BusinessCardDisplayDefinition, BusyStatus, CalendarType, Categories, CcAttendeesString, ChangeHighlight, Classification, ClassificationDescription, ClassificationGuid, ClassificationKeep, Classified, CleanGlobalObjectId, ClientIntent, ClipEnd, ClipStart, CollaborateDoc, CommonEnd, CommonStart, Companies, ConferencingCheck, ConferencingType, ContactCharacterSet, ContactItemData, ContactLinkedGlobalAddressListEntryId, ContactLinkEntry, ContactLinkGlobalAddressListLinkId, ContactLinkGlobalAddressListLinkState, ContactLinkLinkRejectHistory, ContactLinkName, ContactLinkSearchKey, ContactLinkSMTPAddressCache, Contacts, ContactUserField1, ContactUserField2, ContactUserField3, ContactUserField4, ConversationActionLastAppliedTime, ConversationActionMaxDeliveryTime, ConversationActionMoveFolderEid, ConversationActionMoveStoreEid, ConversationActionVersion, ConversationProcessed, CurrentVersion, CurrentVersionName, DayInterval, DayOfMonth, DelegateMail, Department, Directory, DistributionListChecksum, DistributionListMembers, DistributionListName, DistributionListOneOffMembers, DistributionListStream, Email1AddressType, Email1DisplayName, Email1EmailAddress, Email1OriginalDisplayName, Email1OriginalEntryId, Email2AddressType, Email2DisplayName, Email2EmailAddress, Email2OriginalDisplayName, Email2OriginalEntryId, Email3AddressType, Email3DisplayName, Email3EmailAddress, Email3OriginalDisplayName, Email3OriginalEntryId, EndRecurrenceDate, EndRecurrenceTime, ExceptionReplaceTime, Fax1AddressType, Fax1EmailAddress, Fax1OriginalDisplayName, Fax1OriginalEntryId, Fax2AddressType, Fax2EmailAddress, Fax2OriginalDisplayName, Fax2OriginalEntryId, Fax3AddressType, Fax3EmailAddress, Fax3OriginalDisplayName, Fax3OriginalEntryId, FExceptionalAttendees, FExceptionalBody, FileUnder, FileUnderId, FileUnderList, FInvited, FlagRequest, FlagString, ForwardInstance, ForwardNotificationRecipients, FOthersAppointment, FreeBusyLocation, GlobalObjectId, HasPicture, HomeAddress, HomeAddressCountryCode, Html, ICalendarDayOfWeekMask, InboundICalStream, InfoPathFormName, InstantMessagingAddress, IntendedBusyStatus, InternetAccountName, InternetAccountStamp, IsContactLinked, IsException, IsRecurring, IsSilent, LinkedTaskItems, Location, LogDocumentPosted, LogDocumentPrinted, LogDocumentRouted, LogDocumentSaved, LogDuration, LogEnd, LogFlags, LogStart, LogType, LogTypeDesc, MeetingType, MeetingWorkspaceUrl, MonthInterval, MonthOfYear, MonthOfYearMask, NetShowUrl, NoEndDateFlag, NonSendableBcc, NonSendableCc, NonSendableTo, NonSendBccTrackStatus, NonSendCcTrackStatus, NonSendToTrackStatus, NoteColor, NoteHeight, NoteWidth, NoteX, NoteY, Occurrences, OldLocation, OldRecurrenceType, OldWhenEndWhole, OldWhenStartWhole, OnlinePassword, OptionalAttendees, OrganizerAlias, OriginalStoreEntryId, OtherAddress, OtherAddressCountryCode, OwnerCriticalChange, OwnerName, PendingStateForSiteMailboxDocument, PercentComplete, PostalAddressId, PostRssChannel, PostRssChannelLink, PostRssItemGuid, PostRssItemHash, PostRssItemLink, PostRssItemXml, PostRssSubscription, Private, PromptSendUpdate, RecurrenceDuration, RecurrencePattern, RecurrenceType, Recurring, ReferenceEntryId, ReminderDelta, ReminderFileParameter, ReminderOverride, ReminderPlaySound, ReminderSet, ReminderSignalTime, ReminderTime, ReminderTimeDate, ReminderTimeTime, ReminderType, RemoteStatus, RequiredAttendees, ResourceAttendees, ResponseStatus, ServerProcessed, ServerProcessingActions, SharingAnonymity, SharingBindingEntryId, SharingBrowseUrl, SharingCapabilities, SharingConfigurationUrl, SharingDataRangeEnd, SharingDataRangeStart, SharingDetail, SharingExtensionXml, SharingFilter, SharingFlags, SharingFlavor, SharingFolderEntryId, SharingIndexEntryId, SharingInitiatorEntryId, SharingInitiatorName, SharingInitiatorSmtp, SharingInstanceGuid, SharingLastAutoSyncTime, SharingLastSyncTime, SharingLocalComment, SharingLocalLastModificationTime, SharingLocalName, SharingLocalPath, SharingLocalStoreUid, SharingLocalType, SharingLocalUid, SharingOriginalMessageEntryId, SharingParentBindingEntryId, SharingParticipants, SharingPermissions, SharingProviderExtension, SharingProviderGuid, SharingProviderName, SharingProviderUrl, SharingRangeEnd, SharingRangeStart, SharingReciprocation, SharingRemoteByteSize, SharingRemoteComment, SharingRemoteCrc, SharingRemoteLastModificationTime, SharingRemoteMessageCount, SharingRemoteName, SharingRemotePass, SharingRemotePath, SharingRemoteStoreUid, SharingRemoteType, SharingRemoteUid, SharingRemoteUser, SharingRemoteVersion, SharingResponseTime, SharingResponseType, SharingRoamLog, SharingStart, SharingStatus, SharingStop, SharingSyncFlags, SharingSyncInterval, SharingTimeToLive, SharingTimeToLiveAuto, SharingWorkingHoursDays, SharingWorkingHoursEnd, SharingWorkingHoursStart, SharingWorkingHoursTimeZone, SideEffects, SingleBodyICal, SmartNoAttach, SpamOriginalFolder, StartRecurrenceDate, StartRecurrenceTime, TaskAcceptanceState, TaskAccepted, TaskActualEffort, TaskAssigner, TaskAssigners, TaskComplete, TaskCustomFlags, TaskDateCompleted, TaskDeadOccurrence, TaskDueDate, TaskEstimatedEffort, TaskFCreator, TaskFFixOffline, TaskFRecurring, TaskGlobalId, TaskHistory, TaskLastDelegate, TaskLastUpdate, TaskLastUser, TaskMode, TaskMultipleRecipients, TaskNoCompute, TaskOrdinal, TaskOwner, TaskOwnership, TaskRecurrence, TaskResetReminder, TaskRole, TaskStartDate, TaskState, TaskStatus, TaskStatusOnComplete, TaskUpdates, TaskVersion, TeamTask, TimeZone, TimeZoneDescription, TimeZoneStruct, ToAttendeesString, ToDoOrdinalDate, ToDoSubOrdinal, ToDoTitle, UseTnef, ValidFlagStringProof, VerbResponse, VerbStream, WeddingAnniversaryLocal, WeekInterval, Where, WorkAddress, WorkAddressCity, WorkAddressCountry, WorkAddressCountryCode, WorkAddressPostalCode, WorkAddressPostOfficeBox, WorkAddressState, WorkAddressStreet, YearInterval, YomiCompanyName, YomiFirstName, YomiLastName, AcceptLanguage, ApplicationName, AttachmentMacContentType, AttachmentMacInfo, AudioNotes, Author, AutomaticSpeechRecognitionData, ByteCount, CalendarAttendeeRole, CalendarBusystatus, CalendarContact, CalendarContactUrl, CalendarCreated, CalendarDescriptionUrl, CalendarDuration, CalendarExceptionDate, CalendarExceptionRule, CalendarGeoLatitude, CalendarGeoLongitude, CalendarInstanceType, CalendarIsOrganizer, CalendarLastModified, CalendarLocationUrl, CalendarMeetingStatus, CalendarMethod, CalendarProductId, CalendarRecurrenceIdRange, CalendarReminderOffset, CalendarResources, CalendarRsvp, CalendarSequence, CalendarTimeZone, CalendarTimeZoneId, CalendarTransparent, CalendarUid, CalendarVersion, Category, CharacterCount, Comments, Company, ContentBase, ContentClass, ContentType, CreateDateTimeReadOnly, CrossReference, DavId, DavIsCollection, DavIsStructuredDocument, DavParentName, DavUid, DocumentParts, EditTime, ExchangeIntendedBusyStatus, ExchangeJunkEmailMoveStamp, ExchangeModifyExceptionStructure, ExchangeNoModifyExceptions, ExchangePatternEnd, ExchangePatternStart, ExchangeReminderInterval, ExchDatabaseSchema, ExchDataExpectedContentClass, ExchDataSchemaCollectionReference, ExtractedAddresses, ExtractedContacts, ExtractedEmails, ExtractedMeetings, ExtractedPhones, ExtractedTasks, ExtractedUrls, From, HeadingPairs, HiddenCount, HttpmailCalendar, HttpmailHtmlDescription, HttpmailSendMessage, ICalendarRecurrenceDate, ICalendarRecurrenceRule, InternetSubject, Keywords, LastAuthor, LastPrinted, LastSaveDateTime, LineCount, LinksDirty, LocationUrl, Manager, MultimediaClipCount, NoteCount, OMSAccountGuid, OMSMobileModel, OMSScheduleTime, OMSServiceType, OMSSourceType, PageCount, ParagraphCount, PhishingStamp, PresentationFormat, QuarantineOriginalSender, RevisionNumber, RightsManagementLicense, Scale, Security, SlideCount, Subject, Template, Thumbnail, Title, WordCount, XCallId, XFaxNumberOfPages, XRequireProtectedPlayOnPhone, XSenderTelephoneNumber, XSharingBrowseUrl, XSharingCapabilities, XSharingConfigUrl, XSharingExendedCaps, XSharingFlavor, XSharingInstanceGuid, XSharingLocalType, XSharingProviderGuid, XSharingProviderName, XSharingProviderUrl, XSharingRemoteName, XSharingRemotePath, XSharingRemoteStoreUid, XSharingRemoteType, XSharingRemoteUid, XVoiceMessageAttachmentOrder, XVoiceMessageDuration, XVoiceMessageSenderName, Access, AccessControlListData, AccessLevel, Account, AdditionalRenEntryIds, AdditionalRenEntryIdsEx, AddressBookAuthorizedSenders, AddressBookContainerId, AddressBookDeliveryContentLength, AddressBookDisplayNamePrintable, AddressBookDisplayTypeExtended, AddressBookDistributionListExternalMemberCount, AddressBookDistributionListMemberCount, AddressBookDistributionListMemberSubmitAccepted, AddressBookDistributionListMemberSubmitRejected, AddressBookDistributionListRejectMessagesFromDLMembers, AddressBookEntryId, AddressBookExtensionAttribute1, AddressBookExtensionAttribute10, AddressBookExtensionAttribute11, AddressBookExtensionAttribute12, AddressBookExtensionAttribute13, AddressBookExtensionAttribute14, AddressBookExtensionAttribute15, AddressBookExtensionAttribute2, AddressBookExtensionAttribute3, AddressBookExtensionAttribute4, AddressBookExtensionAttribute5, AddressBookExtensionAttribute6, AddressBookExtensionAttribute7, AddressBookExtensionAttribute8, AddressBookExtensionAttribute9, AddressBookFolderPathname, AddressBookHierarchicalChildDepartments, AddressBookHierarchicalDepartmentMembers, AddressBookHierarchicalIsHierarchicalGroup, AddressBookHierarchicalParentDepartment, AddressBookHierarchicalRootDepartment, AddressBookHierarchicalShowInDepartments, AddressBookHomeMessageDatabase, AddressBookIsMaster, AddressBookIsMemberOfDistributionList, AddressBookManageDistributionList, AddressBookManager, AddressBookManagerDistinguishedName, AddressBookMember, AddressBookMessageId, AddressBookModerationEnabled, AddressBookNetworkAddress, AddressBookObjectDistinguishedName, AddressBookObjectGuid, AddressBookOrganizationalUnitRootDistinguishedName, AddressBookOwner, AddressBookOwnerBackLink, AddressBookParentEntryId, AddressBookPhoneticCompanyName, AddressBookPhoneticDepartmentName, AddressBookPhoneticDisplayName, AddressBookPhoneticGivenName, AddressBookPhoneticSurname, AddressBookProxyAddresses, AddressBookPublicDelegates, AddressBookReports, AddressBookRoomCapacity, AddressBookRoomContainers, AddressBookRoomDescription, AddressBookSenderHintTranslations, AddressBookSeniorityIndex, AddressBookTargetAddress, AddressBookUnauthorizedSenders, AddressBookX509Certificate, AddressType, AlternateRecipientAllowed, Anr, ArchiveDate, ArchivePeriod, ArchiveTag, Assistant, AssistantTelephoneNumber, Associated, AttachAdditionalInformation, AttachContentBase, AttachContentId, AttachContentLocation, AttachDataBinary, AttachDataObject, AttachEncoding, AttachExtension, AttachFilename, AttachFlags, AttachLongFilename, AttachLongPathname, AttachmentContactPhoto, AttachmentFlags, AttachmentHidden, AttachmentLinkId, AttachMethod, AttachMimeTag, AttachNumber, AttachPathname, AttachPayloadClass, AttachPayloadProviderGuidString, AttachRendering, AttachSize, AttachTag, AttachTransportName, AttributeHidden, AttributeReadOnly, AutoForwardComment, AutoForwarded, AutoResponseSuppress, Birthday, BlockStatus, Body, BodyContentId, BodyContentLocation, BodyHtml, Business2TelephoneNumber, Business2TelephoneNumbers, BusinessFaxNumber, BusinessHomePage, BusinessTelephoneNumber, CallbackTelephoneNumber, CallId, CarTelephoneNumber, CdoRecurrenceid, ChangeKey, ChangeNumber, ChildrensNames, ClientActions, ClientSubmitTime, CodePageId, Comment, CompanyMainTelephoneNumber, CompanyName, ComputerNetworkName, ConflictEntryId, ContainerClass, ContainerContents, ContainerFlags, ContainerHierarchy, ContentCount, ContentFilterSpamConfidenceLevel, ContentUnreadCount, ConversationId, ConversationIndex, ConversationIndexTracking, ConversationTopic, Country, CreationTime, CreatorEntryId, CreatorName, CustomerId, DamBackPatched, DamOriginalEntryId, DefaultPostMessageClass, DeferredActionMessageOriginalEntryId, DeferredDeliveryTime, DeferredSendNumber, DeferredSendTime, DeferredSendUnits, DelegatedByRule, DelegateFlags, DeleteAfterSubmit, DeletedCountTotal, DeletedOn, DeliverTime, DepartmentName, Depth, DisplayBcc, DisplayCc, DisplayName, DisplayNamePrefix, DisplayTo, DisplayType, DisplayTypeEx, EmailAddress, EndDate, EntryId, ExceptionEndTime, TagExceptionReplaceTime, ExceptionStartTime, ExchangeNTSecurityDescriptor, ExpiryNumber, ExpiryTime, ExpiryUnits, ExtendedFolderFlags, ExtendedRuleMessageActions, ExtendedRuleMessageCondition, ExtendedRuleSizeLimit, FaxNumberOfPages, FlagCompleteTime, FlagStatus, FlatUrlName, FolderAssociatedContents, FolderId, FolderFlags, FolderType, FollowupIcon, FreeBusyCountMonths, FreeBusyEntryIds, FreeBusyMessageEmailAddress, FreeBusyPublishEnd, FreeBusyPublishStart, FreeBusyRangeTimestamp, FtpSite, GatewayNeedsToRefresh, Gender, Generation, GivenName, GovernmentIdNumber, HasAttachments, HasDeferredActionMessages, HasNamedProperties, HasRules, HierarchyChangeNumber, HierRev, Hobbies, Home2TelephoneNumber, Home2TelephoneNumbers, HomeAddressCity, HomeAddressCountry, HomeAddressPostalCode, HomeAddressPostOfficeBox, HomeAddressStateOrProvince, HomeAddressStreet, HomeFaxNumber, HomeTelephoneNumber, TagHtml, ICalendarEndTime, ICalendarReminderNextTime, ICalendarStartTime, IconIndex, Importance, InConflict, InitialDetailsPane, Initials, InReplyToId, InstanceKey, InstanceNum, InstID, InternetCodepage, InternetMailOverrideFormat, InternetMessageId, InternetReferences, IpmAppointmentEntryId, IpmContactEntryId, IpmDraftsEntryId, IpmJournalEntryId, IpmNoteEntryId, IpmTaskEntryId, IsdnNumber, JunkAddRecipientsToSafeSendersList, JunkIncludeContacts, JunkPermanentlyDelete, JunkPhishingEnableLinks, JunkThreshold, Keyword, Language, LastModificationTime, LastModifierEntryId, LastModifierName, LastVerbExecuted, LastVerbExecutionTime, ListHelp, ListSubscribe, ListUnsubscribe, LocalCommitTime, LocalCommitTimeMax, LocaleId, Locality, TagLocation, MailboxOwnerEntryId, MailboxOwnerName, ManagerName, MappingSignature, MaximumSubmitMessageSize, MemberId, MemberName, MemberRights, MessageAttachments, MessageCcMe, MessageClass, MessageCodepage, MessageDeliveryTime, MessageEditorFormat, MessageFlags, MessageHandlingSystemCommonName, MessageLocaleId, MessageRecipientMe, MessageRecipients, MessageSize, MessageSizeExtended, MessageStatus, MessageSubmissionId, MessageToMe, Mid, MiddleName, MimeSkeleton, MobileTelephoneNumber, NativeBody, NextSendAcct, Nickname, NonDeliveryReportDiagCode, NonDeliveryReportReasonCode, NonDeliveryReportStatusCode, NonReceiptNotificationRequested, NormalizedSubject, ObjectType, OfficeLocation, OfflineAddressBookContainerGuid, OfflineAddressBookDistinguishedName, OfflineAddressBookMessageClass, OfflineAddressBookName, OfflineAddressBookSequence, OfflineAddressBookTruncatedProperties, OrdinalMost, OrganizationalIdNumber, OriginalAuthorEntryId, OriginalAuthorName, OriginalDeliveryTime, OriginalDisplayBcc, OriginalDisplayCc, OriginalDisplayTo, OriginalEntryId, OriginalMessageClass, OriginalMessageId, OriginalSenderAddressType, OriginalSenderEmailAddress, OriginalSenderEntryId, OriginalSenderName, OriginalSenderSearchKey, OriginalSensitivity, OriginalSentRepresentingAddressType, OriginalSentRepresentingEmailAddress, OriginalSentRepresentingEntryId, OriginalSentRepresentingName, OriginalSentRepresentingSearchKey, OriginalSubject, OriginalSubmitTime, OriginatorDeliveryReportRequested, OriginatorNonDeliveryReportRequested, OscSyncEnabled, OtherAddressCity, OtherAddressCountry, OtherAddressPostalCode, OtherAddressPostOfficeBox, OtherAddressStateOrProvince, OtherAddressStreet, OtherTelephoneNumber, OutOfOfficeState, OwnerAppointmentId, PagerTelephoneNumber, ParentEntryId, ParentFolderId, ParentKey, ParentSourceKey, PersonalHomePage, PolicyTag, PostalAddress, PostalCode, PostOfficeBox, PredecessorChangeList, PrimaryFaxNumber, PrimarySendAccount, PrimaryTelephoneNumber, Priority, Processed, Profession, ProhibitReceiveQuota, ProhibitSendQuota, PurportedSenderDomain, RadioTelephoneNumber, Read, ReadReceiptAddressType, ReadReceiptEmailAddress, ReadReceiptEntryId, ReadReceiptName, ReadReceiptRequested, ReadReceiptSearchKey, ReadReceiptSmtpAddress, ReceiptTime, ReceivedByAddressType, ReceivedByEmailAddress, ReceivedByEntryId, ReceivedByName, ReceivedBySearchKey, ReceivedBySmtpAddress, ReceivedRepresentingAddressType, ReceivedRepresentingEmailAddress, ReceivedRepresentingEntryId, ReceivedRepresentingName, ReceivedRepresentingSearchKey, ReceivedRepresentingSmtpAddress, RecipientDisplayName, RecipientEntryId, RecipientFlags, RecipientOrder, RecipientProposed, RecipientProposedEndTime, RecipientProposedStartTime, RecipientReassignmentProhibited, RecipientTrackStatus, RecipientTrackStatusTime, RecipientType, RecordKey, ReferredByName, RemindersOnlineEntryId, RemoteMessageTransferAgent, RenderingPosition, ReplyRecipientEntries, ReplyRecipientNames, ReplyRequested, ReplyTemplateId, ReplyTime, ReportDisposition, ReportDispositionMode, ReportEntryId, ReportingMessageTransferAgent, ReportName, ReportSearchKey, ReportTag, ReportText, ReportTime, ResolveMethod, ResponseRequested, Responsibility, RetentionDate, RetentionFlags, RetentionPeriod, Rights, RoamingDatatypes, RoamingDictionary, RoamingXmlStream, Rowid, RowType, RtfCompressed, RtfInSync, RuleActionNumber, RuleActions, RuleActionType, RuleCondition, RuleError, RuleFolderEntryId, RuleId, RuleIds, RuleLevel, RuleMessageLevel, RuleMessageName, RuleMessageProvider, RuleMessageProviderData, RuleMessageSequence, RuleMessageState, RuleMessageUserFlags, RuleName, RuleProvider, RuleProviderData, RuleSequence, RuleState, RuleUserFlags, RwRulesStream, ScheduleInfoAppointmentTombstone, ScheduleInfoAutoAcceptAppointments, ScheduleInfoDelegateEntryIds, ScheduleInfoDelegateNames, ScheduleInfoDelegateNamesW, ScheduleInfoDelegatorWantsCopy, ScheduleInfoDelegatorWantsInfo, ScheduleInfoDisallowOverlappingAppts, ScheduleInfoDisallowRecurringAppts, ScheduleInfoDontMailDelegates, ScheduleInfoFreeBusy, ScheduleInfoFreeBusyAway, ScheduleInfoFreeBusyBusy, ScheduleInfoFreeBusyMerged, ScheduleInfoFreeBusyTentative, ScheduleInfoMonthsAway, ScheduleInfoMonthsBusy, ScheduleInfoMonthsMerged, ScheduleInfoMonthsTentative, ScheduleInfoResourceType, SchedulePlusFreeBusyEntryId, ScriptData, SearchFolderDefinition, SearchFolderEfpFlags, SearchFolderExpiration, SearchFolderId, SearchFolderLastUsed, SearchFolderRecreateInfo, SearchFolderStorageType, SearchFolderTag, SearchFolderTemplateId, SearchKey, SecurityDescriptorAsXml, Selectable, SenderAddressType, SenderEmailAddress, SenderEntryId, SenderIdStatus, SenderName, SenderSearchKey, SenderSmtpAddress, SenderTelephoneNumber, SendInternetEncoding, SendRichInfo, Sensitivity, SentMailSvrEID, SentRepresentingAddressType, SentRepresentingEmailAddress, SentRepresentingEntryId, SentRepresentingFlags, SentRepresentingName, SentRepresentingSearchKey, SentRepresentingSmtpAddress, SmtpAddress, SortLocaleId, SourceKey, SpokenName, SpouseName, StartDate, StartDateEtc, StateOrProvince, StoreEntryId, StoreState, StoreSupportMask, StreetAddress, Subfolders, TagSubject, SubjectPrefix, SupplementaryInfo, Surname, SwappedToDoData, SwappedToDoStore, TargetEntryId, TelecommunicationsDeviceForDeafTelephoneNumber, TelexNumber, TemplateData, Templateid, TextAttachmentCharset, ThumbnailPhoto, TagTitle, TnefCorrelationKey, ToDoItemFlags, TransmittableDisplayName, TransportMessageHeaders, TrustSender, UserCertificate, UserEntryId, UserX509Certificate, ViewDescriptorBinary, ViewDescriptorName, ViewDescriptorStrings, ViewDescriptorVersion, VoiceMessageAttachmentOrder, VoiceMessageDuration, VoiceMessageSenderName, WeddingAnniversary, WlinkAddressBookEID, WlinkAddressBookStoreEID, WlinkCalendarColor, WlinkClientID, WlinkEntryId, WlinkFlags, WlinkFolderType, WlinkGroupClsid, WlinkGroupHeaderID, WlinkGroupName, WlinkOrdinal, WlinkRecordKey, WlinkROGroupType, WlinkSaveStamp, WlinkSection, WlinkStoreEntryId, WlinkType, Abstract, ActiveUserEntryid, AddrbookForLocalSiteEntryid, AddressBookDisplayName, ArrivalTime, AssocMessageSize, AssocMessageSizeExtended, AssocMsgWAttachCount, AttachOnAssocMsgCount, AttachOnNormalMsgCount, AutoAddNewSubs, BilateralInfo, CachedColumnCount, CategCount, ChangeAdvisor, ChangeNotificationGuid, Collector, ContactCount, ContentSearchKey, ContentsSynchronizer, DeletedAssocMessageSizeExtended, DeletedAssocMsgCount, DeletedFolderCount, DeletedMessageSizeExtended, DeletedMsgCount, DeletedNormalMessageSizeExtended, DesignInProgress, DisableFullFidelity, DisableWinsock, DlReportFlags, EformsForLocaleEntryid, EformsLocaleId, EformsRegistryEntryid, EmsAbAccessCategory, EmsAbActivationSchedule, EmsAbActivationStyle, EmsAbAddressEntryDisplayTable, EmsAbAddressEntryDisplayTableMsdos, EmsAbAddressSyntax, EmsAbAddressType, EmsAbAdmd, EmsAbAdminDescription, EmsAbAdminDisplayName, EmsAbAdminExtensionDll, EmsAbAliasedObjectName, EmsAbAliasedObjectNameO, EmsAbAltRecipient, EmsAbAltRecipientBl, EmsAbAltRecipientBlO, EmsAbAltRecipientO, EmsAbAncestorId, EmsAbAnonymousAccess, EmsAbAnonymousAccount, EmsAbAssocNtAccount, EmsAbAssocProtocolCfgNntp, EmsAbAssocProtocolCfgNntpO, EmsAbAssocRemoteDxa, EmsAbAssocRemoteDxaO, EmsAbAssociationLifetime, EmsAbAttributeCertificate, EmsAbAuthOrigBl, EmsAbAuthOrigBlO, EmsAbAuthenticationToUse, EmsAbAuthorityRevocationList, EmsAbAuthorizedDomain, EmsAbAuthorizedPassword, EmsAbAuthorizedPasswordConfirm, EmsAbAuthorizedUser, EmsAbAutoreply, EmsAbAutoreplyMessage, EmsAbAutoreplySubject, EmsAbAvailableAuthorizationPackages, EmsAbAvailableDistributions, EmsAbBridgeheadServers, EmsAbBridgeheadServersO, EmsAbBusinessCategory, EmsAbBusinessRoles, EmsAbCaCertificate, EmsAbCanCreatePf, EmsAbCanCreatePfBl, EmsAbCanCreatePfBlO, EmsAbCanCreatePfDl, EmsAbCanCreatePfDlBl, EmsAbCanCreatePfDlBlO, EmsAbCanCreatePfDlO, EmsAbCanCreatePfO, EmsAbCanNotCreatePf, EmsAbCanNotCreatePfBl, EmsAbCanNotCreatePfBlO, EmsAbCanNotCreatePfDl, EmsAbCanNotCreatePfDlBl, EmsAbCanNotCreatePfDlBlO, EmsAbCanNotCreatePfDlO, EmsAbCanNotCreatePfO, EmsAbCanPreserveDns, EmsAbCertificateChainV3, EmsAbCertificateRevocationList, EmsAbCertificateRevocationListV1, EmsAbCertificateRevocationListV3, EmsAbCharacterSet, EmsAbCharacterSetList, EmsAbChildRdns, EmsAbClientAccessEnabled, EmsAbClockAlertOffset, EmsAbClockAlertRepair, EmsAbClockWarningOffset, EmsAbClockWarningRepair, EmsAbCompromisedKeyList, EmsAbComputerName, EmsAbConnectedDomains, EmsAbConnectionListFilter, EmsAbConnectionListFilterType, EmsAbConnectionType, EmsAbContainerInfo, EmsAbContentType, EmsAbControlMsgFolderId, EmsAbControlMsgRules, EmsAbCost, EmsAbCountryName, EmsAbCrossCertificateCrl, EmsAbCrossCertificatePair, EmsAbDefaultMessageFormat, EmsAbDelegateUser, EmsAbDelivEits, EmsAbDelivExtContTypes, EmsAbDeliverAndRedirect, EmsAbDeliveryMechanism, EmsAbDeltaRevocationList, EmsAbDescription, EmsAbDestinationIndicator, EmsAbDiagnosticRegKey, EmsAbDisableDeferredCommit, EmsAbDisabledGatewayProxy, EmsAbDisplayNameOverride, EmsAbDisplayNameSuffix, EmsAbDlMemRejectPermsBl, EmsAbDlMemRejectPermsBlO, EmsAbDlMemberRule, EmsAbDmdName, EmsAbDoOabVersion, EmsAbDomainDefAltRecip, EmsAbDomainDefAltRecipO, EmsAbDomainName, EmsAbDsaSignature, EmsAbDxaAdminCopy, EmsAbDxaAdminForward, EmsAbDxaAdminUpdate, EmsAbDxaAppendReqcn, EmsAbDxaConfContainerList, EmsAbDxaConfContainerListO, EmsAbDxaConfReqTime, EmsAbDxaConfSeq, EmsAbDxaConfSeqUsn, EmsAbDxaExchangeOptions, EmsAbDxaExportNow, EmsAbDxaFlags, EmsAbDxaImpSeq, EmsAbDxaImpSeqTime, EmsAbDxaImpSeqUsn, EmsAbDxaImportNow, EmsAbDxaInTemplateMap, EmsAbDxaLocalAdmin, EmsAbDxaLocalAdminO, EmsAbDxaLoggingLevel, EmsAbDxaNativeAddressType, EmsAbDxaOutTemplateMap, EmsAbDxaPassword, EmsAbDxaPrevExchangeOptions, EmsAbDxaPrevExportNativeOnly, EmsAbDxaPrevInExchangeSensitivity, EmsAbDxaPrevRemoteEntries, EmsAbDxaPrevRemoteEntriesO, EmsAbDxaPrevReplicationSensitivity, EmsAbDxaPrevTemplateOptions, EmsAbDxaPrevTypes, EmsAbDxaRecipientCp, EmsAbDxaRemoteClient, EmsAbDxaRemoteClientO, EmsAbDxaReqSeq, EmsAbDxaReqSeqTime, EmsAbDxaReqSeqUsn, EmsAbDxaReqname, EmsAbDxaSvrSeq, EmsAbDxaSvrSeqTime, EmsAbDxaSvrSeqUsn, EmsAbDxaTask, EmsAbDxaTemplateOptions, EmsAbDxaTemplateTimestamp, EmsAbDxaTypes, EmsAbDxaUnconfContainerList, EmsAbDxaUnconfContainerListO, EmsAbEmployeeNumber, EmsAbEmployeeType, EmsAbEnableCompatibility, EmsAbEnabled, EmsAbEnabledAuthorizationPackages, EmsAbEnabledProtocolCfg, EmsAbEnabledProtocols, EmsAbEncapsulationMethod, EmsAbEncrypt, EmsAbEncryptAlgListNa, EmsAbEncryptAlgListOther, EmsAbEncryptAlgSelectedNa, EmsAbEncryptAlgSelectedOther, EmsAbExpandDlsLocally, EmsAbExpirationTime, EmsAbExportContainers, EmsAbExportContainersO, EmsAbExportCustomRecipients, EmsAbExtendedCharsAllowed, EmsAbExtensionData, EmsAbExtensionName, EmsAbExtensionNameInherited, EmsAbFacsimileTelephoneNumber, EmsAbFileVersion, EmsAbFilterLocalAddresses, EmsAbFoldersContainer, EmsAbFoldersContainerO, EmsAbFormData, EmsAbForwardingAddress, EmsAbGarbageCollPeriod, EmsAbGatewayLocalCred, EmsAbGatewayLocalDesig, EmsAbGatewayProxy, EmsAbGatewayRoutingTree, EmsAbGenerationQualifier, EmsAbGroupByAttr1, EmsAbGroupByAttr2, EmsAbGroupByAttr3, EmsAbGroupByAttr4, EmsAbGroupByAttrValueDn, EmsAbGroupByAttrValueDnO, EmsAbGroupByAttrValueStr, EmsAbGwartLastModified, EmsAbHasFullReplicaNcs, EmsAbHasFullReplicaNcsO, EmsAbHasMasterNcs, EmsAbHasMasterNcsO, EmsAbHelpData16, EmsAbHelpData32, EmsAbHelpFileName, EmsAbHeuristics, EmsAbHideDlMembership, EmsAbHideFromAddressBook, EmsAbHierarchyPath, EmsAbHomeMdbBl, EmsAbHomeMdbBlO, EmsAbHomeMta, EmsAbHomeMtaO, EmsAbHomePublicServer, EmsAbHomePublicServerO, EmsAbHouseIdentifier, EmsAbHttpPubAbAttributes, EmsAbHttpPubGal, EmsAbHttpPubGalLimit, EmsAbHttpPubPf, EmsAbHttpServers, EmsAbImportContainer, EmsAbImportContainerO, EmsAbImportSensitivity, EmsAbImportedFrom, EmsAbInboundAcceptAll, EmsAbInboundDn, EmsAbInboundDnO, EmsAbInboundHost, EmsAbInboundNewsfeed, EmsAbInboundNewsfeedType, EmsAbInboundSites, EmsAbInboundSitesO, EmsAbIncomingMsgSizeLimit, EmsAbIncomingPassword, EmsAbInsadmin, EmsAbInsadminO, EmsAbInstanceType, EmsAbInternationalIsdnNumber, EmsAbInvocationId, EmsAbIsDeleted, EmsAbIsSingleValued, EmsAbKccStatus, EmsAbKmServer, EmsAbKmServerO, EmsAbKnowledgeInformation, EmsAbLabeleduri, EmsAbLanguage, EmsAbLanguageIso639, EmsAbLdapDisplayName, EmsAbLdapSearchCfg, EmsAbLineWrap, EmsAbLinkId, EmsAbListPublicFolders, EmsAbLocalBridgeHead, EmsAbLocalBridgeHeadAddress, EmsAbLocalInitialTurn, EmsAbLocalScope, EmsAbLocalScopeO, EmsAbLogFilename, EmsAbLogRolloverInterval, EmsAbMailDrop, EmsAbMaintainAutoreplyHistory, EmsAbMapiDisplayType, EmsAbMapiId, EmsAbMaximumObjectId, EmsAbMdbBackoffInterval, EmsAbMdbMsgTimeOutPeriod, EmsAbMdbOverQuotaLimit, EmsAbMdbStorageQuota, EmsAbMdbUnreadLimit, EmsAbMdbUseDefaults, EmsAbMessageTrackingEnabled, EmsAbMimeTypes, EmsAbModerated, EmsAbModerator, EmsAbMonitorClock, EmsAbMonitorServers, EmsAbMonitorServices, EmsAbMonitoredConfigurations, EmsAbMonitoredConfigurationsO, EmsAbMonitoredServers, EmsAbMonitoredServersO, EmsAbMonitoredServices, EmsAbMonitoringAlertDelay, EmsAbMonitoringAlertUnits, EmsAbMonitoringAvailabilityStyle, EmsAbMonitoringAvailabilityWindow, EmsAbMonitoringCachedViaMail, EmsAbMonitoringCachedViaMailO, EmsAbMonitoringCachedViaRpc, EmsAbMonitoringCachedViaRpcO, EmsAbMonitoringEscalationProcedure, EmsAbMonitoringHotsitePollInterval, EmsAbMonitoringHotsitePollUnits, EmsAbMonitoringMailUpdateInterval, EmsAbMonitoringMailUpdateUnits, EmsAbMonitoringNormalPollInterval, EmsAbMonitoringNormalPollUnits, EmsAbMonitoringRecipients, EmsAbMonitoringRecipientsNdr, EmsAbMonitoringRecipientsNdrO, EmsAbMonitoringRecipientsO, EmsAbMonitoringRpcUpdateInterval, EmsAbMonitoringRpcUpdateUnits, EmsAbMonitoringWarningDelay, EmsAbMonitoringWarningUnits, EmsAbMtaLocalCred, EmsAbMtaLocalDesig, EmsAbNAddress, EmsAbNAddressType, EmsAbNewsfeedType, EmsAbNewsgroup, EmsAbNewsgroupList, EmsAbNntpCharacterSet, EmsAbNntpContentFormat, EmsAbNntpDistributions, EmsAbNntpDistributionsFlag, EmsAbNntpNewsfeeds, EmsAbNntpNewsfeedsO, EmsAbNtMachineName, EmsAbNtSecurityDescriptor, EmsAbNumOfOpenRetries, EmsAbNumOfTransferRetries, EmsAbObjViewContainers, EmsAbObjViewContainersO, EmsAbObjectClassCategory, EmsAbObjectOid, EmsAbObjectVersion, EmsAbOffLineAbContainers, EmsAbOffLineAbContainersO, EmsAbOffLineAbSchedule, EmsAbOffLineAbServer, EmsAbOffLineAbServerO, EmsAbOffLineAbStyle, EmsAbOidType, EmsAbOmObjectClass, EmsAbOmSyntax, EmsAbOofReplyToOriginator, EmsAbOpenRetryInterval, EmsAbOrganizationName, EmsAbOrganizationalUnitName, EmsAbOriginalDisplayTable, EmsAbOriginalDisplayTableMsdos, EmsAbOtherRecips, EmsAbOutboundHost, EmsAbOutboundHostType, EmsAbOutboundNewsfeed, EmsAbOutboundSites, EmsAbOutboundSitesO, EmsAbOutgoingMsgSizeLimit, EmsAbOverrideNntpContentFormat, EmsAbOwaServer, EmsAbPSelector, EmsAbPSelectorInbound, EmsAbPerMsgDialogDisplayTable, EmsAbPerRecipDialogDisplayTable, EmsAbPeriodRepSyncTimes, EmsAbPeriodReplStagger, EmsAbPersonalTitle, EmsAbPfContacts, EmsAbPfContactsO, EmsAbPopCharacterSet, EmsAbPopContentFormat, EmsAbPortNumber, EmsAbPostalAddress, EmsAbPreferredDeliveryMethod, EmsAbPreserveInternetContent, EmsAbPrmd, EmsAbPromoExpiration, EmsAbProtocolSettings, EmsAbProxyGenerationEnabled, EmsAbProxyGeneratorDll, EmsAbPublicDelegatesBl, EmsAbPublicDelegatesBlO, EmsAbQuotaNotificationSchedule, EmsAbQuotaNotificationStyle, EmsAbRangeLower, EmsAbRangeUpper, EmsAbRasAccount, EmsAbRasCallbackNumber, EmsAbRasPassword, EmsAbRasPhoneNumber, EmsAbRasPhonebookEntryName, EmsAbRasRemoteSrvrName, EmsAbReferralList, EmsAbRegisteredAddress, EmsAbRemoteBridgeHead, EmsAbRemoteBridgeHeadAddress, EmsAbRemoteOutBhServer, EmsAbRemoteOutBhServerO, EmsAbRemoteSite, EmsAbRemoteSiteO, EmsAbReplicatedObjectVersion, EmsAbReplicationMailMsgSize, EmsAbReplicationSensitivity, EmsAbReplicationStagger, EmsAbReportToOriginator, EmsAbReportToOwner, EmsAbReqSeq, EmsAbRequireSsl, EmsAbResponsibleLocalDxa, EmsAbResponsibleLocalDxaO, EmsAbReturnExactMsgSize, EmsAbRidServer, EmsAbRidServerO, EmsAbRoleOccupant, EmsAbRoleOccupantO, EmsAbRootNewsgroupsFolderId, EmsAbRoutingList, EmsAbRtsCheckpointSize, EmsAbRtsRecoveryTimeout, EmsAbRtsWindowSize, EmsAbRunsOn, EmsAbRunsOnO, EmsAbSSelector, EmsAbSSelectorInbound, EmsAbSchemaFlags, EmsAbSchemaVersion, EmsAbSearchFlags, EmsAbSearchGuide, EmsAbSecurityPolicy, EmsAbSecurityProtocol, EmsAbSeeAlso, EmsAbSeeAlsoO, EmsAbSendEmailMessage, EmsAbSendTnef, EmsAbSerialNumber, EmsAbServer, EmsAbServiceActionFirst, EmsAbServiceActionOther, EmsAbServiceActionSecond, EmsAbServiceRestartDelay, EmsAbServiceRestartMessage, EmsAbSessionDisconnectTimer, EmsAbSiteAffinity, EmsAbSiteFolderGuid, EmsAbSiteFolderServer, EmsAbSiteFolderServerO, EmsAbSiteProxySpace, EmsAbSmimeAlgListNa, EmsAbSmimeAlgListOther, EmsAbSmimeAlgSelectedNa, EmsAbSmimeAlgSelectedOther, EmsAbSpaceLastComputed, EmsAbStreetAddress, EmsAbSubRefs, EmsAbSubRefsO, EmsAbSubSite, EmsAbSubmissionContLength, EmsAbSupportSmimeSignatures, EmsAbSupportedAlgorithms, EmsAbSupportedApplicationContext, EmsAbSupportingStack, EmsAbSupportingStackBl, EmsAbSupportingStackBlO, EmsAbSupportingStackO, EmsAbTSelector, EmsAbTSelectorInbound, EmsAbTargetMtas, EmsAbTelephoneNumber, EmsAbTelephonePersonalPager, EmsAbTeletexTerminalIdentifier, EmsAbTempAssocThreshold, EmsAbTombstoneLifetime, EmsAbTrackingLogPathName, EmsAbTransRetryMins, EmsAbTransTimeoutMins, EmsAbTransferRetryInterval, EmsAbTransferTimeoutNonUrgent, EmsAbTransferTimeoutNormal, EmsAbTransferTimeoutUrgent, EmsAbTranslationTableUsed, EmsAbTransportExpeditedData, EmsAbTrustLevel, EmsAbTurnRequestThreshold, EmsAbTwoWayAlternateFacility, EmsAbType, EmsAbUnauthOrigBl, EmsAbUnauthOrigBlO, EmsAbUseServerValues, EmsAbUseSiteValues, EmsAbUsenetSiteName, EmsAbUserPassword, EmsAbUsnChanged, EmsAbUsnCreated, EmsAbUsnDsaLastObjRemoved, EmsAbUsnIntersite, EmsAbUsnLastObjRem, EmsAbUsnSource, EmsAbViewContainer1, EmsAbViewContainer2, EmsAbViewContainer3, EmsAbViewDefinition, EmsAbViewFlags, EmsAbViewSite, EmsAbVoiceMailFlags, EmsAbVoiceMailGreetings, EmsAbVoiceMailPassword, EmsAbVoiceMailRecordedName, EmsAbVoiceMailRecordingLength, EmsAbVoiceMailSpeed, EmsAbVoiceMailSystemGuid, EmsAbVoiceMailUserId, EmsAbVoiceMailVolume, EmsAbWwwHomePage, EmsAbX121Address, EmsAbX25CallUserDataIncoming, EmsAbX25CallUserDataOutgoing, EmsAbX25FacilitiesDataIncoming, EmsAbX25FacilitiesDataOutgoing, EmsAbX25LeasedLinePort, EmsAbX25LeasedOrSwitched, EmsAbX25RemoteMtaPhone, EmsAbX400AttachmentType, EmsAbX400SelectorSyntax, EmsAbX500AccessControlList, EmsAbX500Nc, EmsAbX500Rdn, EmsAbXmitTimeoutNonUrgent, EmsAbXmitTimeoutNormal, EmsAbXmitTimeoutUrgent, EventsRootFolderEntryid, ExcessStorageUsed, ExtendedAclData, FastTransfer, FavoritesDefaultName, FolderChildCount, FolderDesignFlags, FolderPathname, ForeignId, ForeignReportId, ForeignSubjectId, FreeBusyForLocalSiteEntryid, GwAdminOperations, GwMtsinEntryid, GwMtsoutEntryid, HasModeratorRules, HierarchyServer, HierarchySynchronizer, ImapInternalDate, InTransit, InboundNewsfeedDn, InternetCharset, InternetNewsgroupName, IpmDafEntryid, IpmFavoritesEntryid, IpmPublicFoldersEntryid, IsNewsgroup, IsNewsgroupAnchor, LastAccessTime, LastFullBackup, LastLogoffTime, LastLogonTime, LongtermEntryidFromTable, MessageProcessed, MessageSiteName, MoveToFolderEntryid, MoveToStoreEntryid, MsgBodyId, MtsSubjectId, NewSubsGetAutoAdd, NewsfeedInfo, NewsgroupComponent, NewsgroupRootFolderEntryid, NntpArticleFolderEntryid, NntpControlFolderEntryid, NonIpmSubtreeEntryid, NormalMessageSize, NormalMessageSizeExtended, NormalMsgWAttachCount, NtUserName, OfflineAddrbookEntryid, OfflineFlags, OfflineMessageEntryid, OldestDeletedOn, OriginatorAddr, OriginatorAddrtype, OriginatorEntryid, OriginatorName, OstEncryption, OutboundNewsfeedDn, OverallAgeLimit, OverallMsgAgeLimit, OwaUrl, OwnerCount, P1Content, P1ContentType, PreventMsgCreate, Preview, PreviewUnread, ProfileAbFilesPath, ProfileAddrInfo, ProfileAllpubComment, ProfileAllpubDisplayName, ProfileBindingOrder, ProfileConfigFlags, ProfileConnectFlags, ProfileFavfldComment, ProfileFavfldDisplayName, ProfileHomeServer, ProfileHomeServerAddrs, ProfileHomeServerDn, ProfileMailbox, ProfileMaxRestrict, ProfileMoab, ProfileMoabGuid, ProfileMoabSeq, ProfileOfflineInfo, ProfileOfflineStorePath, ProfileOpenFlags, ProfileOptionsData, ProfileSecureMailbox, ProfileServer, ProfileServerDn, ProfileTransportFlags, ProfileType, ProfileUiState, ProfileUnresolvedName, ProfileUnresolvedServer, ProfileUser, ProfileVersion, PstEncryption, PstPath, PstPwSzOld, PstRememberPw, PublicFolderEntryid, PublishInAddressBook, RecipientNumber, RecipientOnAssocMsgCount, RecipientOnNormalMsgCount, ReplicaList, ReplicaServer, ReplicaVersion, ReplicationAlwaysInterval, ReplicationMessagePriority, ReplicationMsgSize, ReplicationSchedule, ReplicationStyle, ReplyRecipientSmtpProxies, ReportDestinationEntryid, ReportDestinationName, RestrictionCount, RetentionAgeLimit, RuleTriggerHistory, RulesData, RulesTable, ScheduleFolderEntryid, SecureInSite, SecureOrigination, StorageLimitInformation, StorageQuotaLimit, StoreOffline, StoreSlowlink, SubjectTraceInfo, SvrGeneratingQuotaMsg, SynchronizeFlags, SysConfigFolderEntryid, TestLineSpeed, TraceInfo, TransferEnabled, UserName, X400EnvelopeType, AbDefaultDir, AbDefaultPab, AbProviderId, AbProviders, AbSearchPath, AbSearchPathUpdate, AlternateRecipient, AssocContentCount, AttachmentX400Parameters, AuthorizingUsers, BodyCrc, CommonViewsEntryid, ContactAddrtypes, ContactDefaultAddressIndex, ContactEmailAddresses, ContactEntryids, ContactVersion, ContainerModifyVersion, ContentConfidentialityAlgorithmId, ContentCorrelator, ContentIdentifier, ContentIntegrityCheck, ContentLength, ContentReturnRequested, ContentsSortOrder, ControlFlags, ControlId, ControlStructure, ControlType, ConversationKey, ConversionEits, ConversionProhibited, ConversionWithLossProhibited, ConvertedEits, Correlate, CorrelateMtsid, CreateTemplates, CreationVersion, ExCurrentVersion, DefCreateDl, DefCreateMailuser, DefaultProfile, DefaultStore, DefaultViewEntryid, Delegation, DeliveryPoint, Deltax, Deltay, DetailsTable, DiscVal, DiscardReason, DiscloseRecipients, DisclosureOfRecipients, DiscreteValues, DlExpansionHistory, DlExpansionProhibited, ExplicitConversion, FilteringHooks, FinderEntryid, FormCategory, FormCategorySub, FormClsid, FormContactName, FormDesignerGuid, FormDesignerName, FormHidden, FormHostMap, FormMessageBehavior, FormVersion, HeaderFolderEntryid, Icon, IdentityDisplay, IdentityEntryid, IdentitySearchKey, ImplicitConversionProhibited, IncompleteCopy, InternetApproved, InternetArticleNumber, InternetControl, InternetDistribution, InternetFollowupTo, InternetLines, InternetNewsgroups, InternetNntpPath, InternetOrganization, InternetPrecedence, IpmId, IpmOutboxEntryid, IpmOutboxSearchKey, IpmReturnRequested, IpmSentmailEntryid, IpmSentmailSearchKey, IpmSubtreeEntryid, IpmSubtreeSearchKey, IpmWastebasketEntryid, IpmWastebasketSearchKey, Languages, LatestDeliveryTime, MailPermission, MdbProvider, MessageDeliveryId, MessageDownloadTime, MessageSecurityLabel, MessageToken, MiniIcon, ModifyVersion, NewsgroupName, NntpXref, NonReceiptReason, ObsoletedIpms, OriginCheck, OriginalAuthorAddrtype, OriginalAuthorEmailAddress, OriginalAuthorSearchKey, OriginalDisplayName, OriginalEits, OriginalSearchKey, OriginallyIntendedRecipAddrtype, OriginallyIntendedRecipEmailAddress, OriginallyIntendedRecipEntryid, OriginallyIntendedRecipientName, OriginatingMtaCertificate, OriginatorAndDlExpansionHistory, OriginatorCertificate, OriginatorRequestedAlternateRecipient, OriginatorReturnAddress, OwnStoreEntryid, ParentDisplay, PhysicalDeliveryBureauFaxDelivery, PhysicalDeliveryMode, PhysicalDeliveryReportRequest, PhysicalForwardingAddress, PhysicalForwardingAddressRequested, PhysicalForwardingProhibited, PhysicalRenditionAttributes, PostFolderEntries, PostFolderNames, PostReplyDenied, PostReplyFolderEntries, PostReplyFolderNames, Preprocess, PrimaryCapability, ProfileName, ProofOfDelivery, ProofOfDeliveryRequested, ProofOfSubmission, ProofOfSubmissionRequested, ProviderDisplay, ProviderDllName, ProviderOrdinal, ProviderSubmitTime, ProviderUid, ReceiveFolderSettings, RecipientCertificate, RecipientNumberForAdvice, RecipientStatus, RedirectionHistory, RegisteredMailType, RelatedIpms, RemoteProgress, RemoteProgressText, RemoteValidateOk, ReportingDlName, ReportingMtaCertificate, RequestedDeliveryMethod, ResourceFlags, ResourceMethods, ResourcePath, ResourceType, ReturnedIpm, RtfSyncBodyCount, RtfSyncBodyCrc, RtfSyncBodyTag, RtfSyncPrefixCount, RtfSyncTrailingCount, Search, ExSecurity, SentmailEntryid, ServiceDeleteFiles, ServiceDllName, ServiceEntryName, ServiceExtraUids, ServiceName, ServiceSupportFiles, ServiceUid, Services, SpoolerStatus, Status, StatusCode, StatusString, StoreProviders, StoreRecordKey, SubjectIpm, SubmitFlags, Supersedes, TransportKey, TransportProviders, TransportStatus, TypeOfMtsUser, ValidFolderMask, ViewsEntryid, X400ContentType, X400DeferredDeliveryCancel, Xpos, Ypos :type name: str """ super(MapiKnownPropertyDescriptor, self).__init__() self._name = None - - if discriminator is not None: - self.discriminator = discriminator if name is not None: self.name = name + @property def name(self) -> str: - """Gets the name of this MapiKnownPropertyDescriptor. - + """ Known property name. See all known properties here: https://apireference.aspose.com/email/net/aspose.email.mapi/knownpropertylist/fields/index Possible values: Mileage, ObjectUri, GDataContactVersion, GDataPhotoVersion, AddressBookProviderArrayType, AddressBookProviderEmailList, AddressCountryCode, AgingDontAgeMe, AllAttendeesString, AllowExternalCheck, AnniversaryEventEntryId, AppointmentAuxiliaryFlags, AppointmentColor, AppointmentCounterProposal, AppointmentDuration, AppointmentEndDate, AppointmentEndTime, AppointmentEndWhole, AppointmentLastSequence, AppointmentMessageClass, AppointmentNotAllowPropose, AppointmentProposalNumber, AppointmentProposedDuration, AppointmentProposedEndWhole, AppointmentProposedStartWhole, AppointmentRecur, AppointmentReplyName, AppointmentReplyTime, AppointmentSequence, AppointmentSequenceTime, AppointmentStartDate, AppointmentStartTime, AppointmentStartWhole, AppointmentStateFlags, AppointmentSubType, AppointmentTimeZoneDefinitionEndDisplay, AppointmentTimeZoneDefinitionRecur, AppointmentTimeZoneDefinitionStartDisplay, AppointmentUnsendableRecipients, AppointmentUpdateTime, AttendeeCriticalChange, AutoFillLocation, AutoLog, AutoProcessState, AutoStartCheck, Billing, BirthdayEventEntryId, BirthdayLocal, BusinessCardCardPicture, BusinessCardDisplayDefinition, BusyStatus, CalendarType, Categories, CcAttendeesString, ChangeHighlight, Classification, ClassificationDescription, ClassificationGuid, ClassificationKeep, Classified, CleanGlobalObjectId, ClientIntent, ClipEnd, ClipStart, CollaborateDoc, CommonEnd, CommonStart, Companies, ConferencingCheck, ConferencingType, ContactCharacterSet, ContactItemData, ContactLinkedGlobalAddressListEntryId, ContactLinkEntry, ContactLinkGlobalAddressListLinkId, ContactLinkGlobalAddressListLinkState, ContactLinkLinkRejectHistory, ContactLinkName, ContactLinkSearchKey, ContactLinkSMTPAddressCache, Contacts, ContactUserField1, ContactUserField2, ContactUserField3, ContactUserField4, ConversationActionLastAppliedTime, ConversationActionMaxDeliveryTime, ConversationActionMoveFolderEid, ConversationActionMoveStoreEid, ConversationActionVersion, ConversationProcessed, CurrentVersion, CurrentVersionName, DayInterval, DayOfMonth, DelegateMail, Department, Directory, DistributionListChecksum, DistributionListMembers, DistributionListName, DistributionListOneOffMembers, DistributionListStream, Email1AddressType, Email1DisplayName, Email1EmailAddress, Email1OriginalDisplayName, Email1OriginalEntryId, Email2AddressType, Email2DisplayName, Email2EmailAddress, Email2OriginalDisplayName, Email2OriginalEntryId, Email3AddressType, Email3DisplayName, Email3EmailAddress, Email3OriginalDisplayName, Email3OriginalEntryId, EndRecurrenceDate, EndRecurrenceTime, ExceptionReplaceTime, Fax1AddressType, Fax1EmailAddress, Fax1OriginalDisplayName, Fax1OriginalEntryId, Fax2AddressType, Fax2EmailAddress, Fax2OriginalDisplayName, Fax2OriginalEntryId, Fax3AddressType, Fax3EmailAddress, Fax3OriginalDisplayName, Fax3OriginalEntryId, FExceptionalAttendees, FExceptionalBody, FileUnder, FileUnderId, FileUnderList, FInvited, FlagRequest, FlagString, ForwardInstance, ForwardNotificationRecipients, FOthersAppointment, FreeBusyLocation, GlobalObjectId, HasPicture, HomeAddress, HomeAddressCountryCode, Html, ICalendarDayOfWeekMask, InboundICalStream, InfoPathFormName, InstantMessagingAddress, IntendedBusyStatus, InternetAccountName, InternetAccountStamp, IsContactLinked, IsException, IsRecurring, IsSilent, LinkedTaskItems, Location, LogDocumentPosted, LogDocumentPrinted, LogDocumentRouted, LogDocumentSaved, LogDuration, LogEnd, LogFlags, LogStart, LogType, LogTypeDesc, MeetingType, MeetingWorkspaceUrl, MonthInterval, MonthOfYear, MonthOfYearMask, NetShowUrl, NoEndDateFlag, NonSendableBcc, NonSendableCc, NonSendableTo, NonSendBccTrackStatus, NonSendCcTrackStatus, NonSendToTrackStatus, NoteColor, NoteHeight, NoteWidth, NoteX, NoteY, Occurrences, OldLocation, OldRecurrenceType, OldWhenEndWhole, OldWhenStartWhole, OnlinePassword, OptionalAttendees, OrganizerAlias, OriginalStoreEntryId, OtherAddress, OtherAddressCountryCode, OwnerCriticalChange, OwnerName, PendingStateForSiteMailboxDocument, PercentComplete, PostalAddressId, PostRssChannel, PostRssChannelLink, PostRssItemGuid, PostRssItemHash, PostRssItemLink, PostRssItemXml, PostRssSubscription, Private, PromptSendUpdate, RecurrenceDuration, RecurrencePattern, RecurrenceType, Recurring, ReferenceEntryId, ReminderDelta, ReminderFileParameter, ReminderOverride, ReminderPlaySound, ReminderSet, ReminderSignalTime, ReminderTime, ReminderTimeDate, ReminderTimeTime, ReminderType, RemoteStatus, RequiredAttendees, ResourceAttendees, ResponseStatus, ServerProcessed, ServerProcessingActions, SharingAnonymity, SharingBindingEntryId, SharingBrowseUrl, SharingCapabilities, SharingConfigurationUrl, SharingDataRangeEnd, SharingDataRangeStart, SharingDetail, SharingExtensionXml, SharingFilter, SharingFlags, SharingFlavor, SharingFolderEntryId, SharingIndexEntryId, SharingInitiatorEntryId, SharingInitiatorName, SharingInitiatorSmtp, SharingInstanceGuid, SharingLastAutoSyncTime, SharingLastSyncTime, SharingLocalComment, SharingLocalLastModificationTime, SharingLocalName, SharingLocalPath, SharingLocalStoreUid, SharingLocalType, SharingLocalUid, SharingOriginalMessageEntryId, SharingParentBindingEntryId, SharingParticipants, SharingPermissions, SharingProviderExtension, SharingProviderGuid, SharingProviderName, SharingProviderUrl, SharingRangeEnd, SharingRangeStart, SharingReciprocation, SharingRemoteByteSize, SharingRemoteComment, SharingRemoteCrc, SharingRemoteLastModificationTime, SharingRemoteMessageCount, SharingRemoteName, SharingRemotePass, SharingRemotePath, SharingRemoteStoreUid, SharingRemoteType, SharingRemoteUid, SharingRemoteUser, SharingRemoteVersion, SharingResponseTime, SharingResponseType, SharingRoamLog, SharingStart, SharingStatus, SharingStop, SharingSyncFlags, SharingSyncInterval, SharingTimeToLive, SharingTimeToLiveAuto, SharingWorkingHoursDays, SharingWorkingHoursEnd, SharingWorkingHoursStart, SharingWorkingHoursTimeZone, SideEffects, SingleBodyICal, SmartNoAttach, SpamOriginalFolder, StartRecurrenceDate, StartRecurrenceTime, TaskAcceptanceState, TaskAccepted, TaskActualEffort, TaskAssigner, TaskAssigners, TaskComplete, TaskCustomFlags, TaskDateCompleted, TaskDeadOccurrence, TaskDueDate, TaskEstimatedEffort, TaskFCreator, TaskFFixOffline, TaskFRecurring, TaskGlobalId, TaskHistory, TaskLastDelegate, TaskLastUpdate, TaskLastUser, TaskMode, TaskMultipleRecipients, TaskNoCompute, TaskOrdinal, TaskOwner, TaskOwnership, TaskRecurrence, TaskResetReminder, TaskRole, TaskStartDate, TaskState, TaskStatus, TaskStatusOnComplete, TaskUpdates, TaskVersion, TeamTask, TimeZone, TimeZoneDescription, TimeZoneStruct, ToAttendeesString, ToDoOrdinalDate, ToDoSubOrdinal, ToDoTitle, UseTnef, ValidFlagStringProof, VerbResponse, VerbStream, WeddingAnniversaryLocal, WeekInterval, Where, WorkAddress, WorkAddressCity, WorkAddressCountry, WorkAddressCountryCode, WorkAddressPostalCode, WorkAddressPostOfficeBox, WorkAddressState, WorkAddressStreet, YearInterval, YomiCompanyName, YomiFirstName, YomiLastName, AcceptLanguage, ApplicationName, AttachmentMacContentType, AttachmentMacInfo, AudioNotes, Author, AutomaticSpeechRecognitionData, ByteCount, CalendarAttendeeRole, CalendarBusystatus, CalendarContact, CalendarContactUrl, CalendarCreated, CalendarDescriptionUrl, CalendarDuration, CalendarExceptionDate, CalendarExceptionRule, CalendarGeoLatitude, CalendarGeoLongitude, CalendarInstanceType, CalendarIsOrganizer, CalendarLastModified, CalendarLocationUrl, CalendarMeetingStatus, CalendarMethod, CalendarProductId, CalendarRecurrenceIdRange, CalendarReminderOffset, CalendarResources, CalendarRsvp, CalendarSequence, CalendarTimeZone, CalendarTimeZoneId, CalendarTransparent, CalendarUid, CalendarVersion, Category, CharacterCount, Comments, Company, ContentBase, ContentClass, ContentType, CreateDateTimeReadOnly, CrossReference, DavId, DavIsCollection, DavIsStructuredDocument, DavParentName, DavUid, DocumentParts, EditTime, ExchangeIntendedBusyStatus, ExchangeJunkEmailMoveStamp, ExchangeModifyExceptionStructure, ExchangeNoModifyExceptions, ExchangePatternEnd, ExchangePatternStart, ExchangeReminderInterval, ExchDatabaseSchema, ExchDataExpectedContentClass, ExchDataSchemaCollectionReference, ExtractedAddresses, ExtractedContacts, ExtractedEmails, ExtractedMeetings, ExtractedPhones, ExtractedTasks, ExtractedUrls, From, HeadingPairs, HiddenCount, HttpmailCalendar, HttpmailHtmlDescription, HttpmailSendMessage, ICalendarRecurrenceDate, ICalendarRecurrenceRule, InternetSubject, Keywords, LastAuthor, LastPrinted, LastSaveDateTime, LineCount, LinksDirty, LocationUrl, Manager, MultimediaClipCount, NoteCount, OMSAccountGuid, OMSMobileModel, OMSScheduleTime, OMSServiceType, OMSSourceType, PageCount, ParagraphCount, PhishingStamp, PresentationFormat, QuarantineOriginalSender, RevisionNumber, RightsManagementLicense, Scale, Security, SlideCount, Subject, Template, Thumbnail, Title, WordCount, XCallId, XFaxNumberOfPages, XRequireProtectedPlayOnPhone, XSenderTelephoneNumber, XSharingBrowseUrl, XSharingCapabilities, XSharingConfigUrl, XSharingExendedCaps, XSharingFlavor, XSharingInstanceGuid, XSharingLocalType, XSharingProviderGuid, XSharingProviderName, XSharingProviderUrl, XSharingRemoteName, XSharingRemotePath, XSharingRemoteStoreUid, XSharingRemoteType, XSharingRemoteUid, XVoiceMessageAttachmentOrder, XVoiceMessageDuration, XVoiceMessageSenderName, Access, AccessControlListData, AccessLevel, Account, AdditionalRenEntryIds, AdditionalRenEntryIdsEx, AddressBookAuthorizedSenders, AddressBookContainerId, AddressBookDeliveryContentLength, AddressBookDisplayNamePrintable, AddressBookDisplayTypeExtended, AddressBookDistributionListExternalMemberCount, AddressBookDistributionListMemberCount, AddressBookDistributionListMemberSubmitAccepted, AddressBookDistributionListMemberSubmitRejected, AddressBookDistributionListRejectMessagesFromDLMembers, AddressBookEntryId, AddressBookExtensionAttribute1, AddressBookExtensionAttribute10, AddressBookExtensionAttribute11, AddressBookExtensionAttribute12, AddressBookExtensionAttribute13, AddressBookExtensionAttribute14, AddressBookExtensionAttribute15, AddressBookExtensionAttribute2, AddressBookExtensionAttribute3, AddressBookExtensionAttribute4, AddressBookExtensionAttribute5, AddressBookExtensionAttribute6, AddressBookExtensionAttribute7, AddressBookExtensionAttribute8, AddressBookExtensionAttribute9, AddressBookFolderPathname, AddressBookHierarchicalChildDepartments, AddressBookHierarchicalDepartmentMembers, AddressBookHierarchicalIsHierarchicalGroup, AddressBookHierarchicalParentDepartment, AddressBookHierarchicalRootDepartment, AddressBookHierarchicalShowInDepartments, AddressBookHomeMessageDatabase, AddressBookIsMaster, AddressBookIsMemberOfDistributionList, AddressBookManageDistributionList, AddressBookManager, AddressBookManagerDistinguishedName, AddressBookMember, AddressBookMessageId, AddressBookModerationEnabled, AddressBookNetworkAddress, AddressBookObjectDistinguishedName, AddressBookObjectGuid, AddressBookOrganizationalUnitRootDistinguishedName, AddressBookOwner, AddressBookOwnerBackLink, AddressBookParentEntryId, AddressBookPhoneticCompanyName, AddressBookPhoneticDepartmentName, AddressBookPhoneticDisplayName, AddressBookPhoneticGivenName, AddressBookPhoneticSurname, AddressBookProxyAddresses, AddressBookPublicDelegates, AddressBookReports, AddressBookRoomCapacity, AddressBookRoomContainers, AddressBookRoomDescription, AddressBookSenderHintTranslations, AddressBookSeniorityIndex, AddressBookTargetAddress, AddressBookUnauthorizedSenders, AddressBookX509Certificate, AddressType, AlternateRecipientAllowed, Anr, ArchiveDate, ArchivePeriod, ArchiveTag, Assistant, AssistantTelephoneNumber, Associated, AttachAdditionalInformation, AttachContentBase, AttachContentId, AttachContentLocation, AttachDataBinary, AttachDataObject, AttachEncoding, AttachExtension, AttachFilename, AttachFlags, AttachLongFilename, AttachLongPathname, AttachmentContactPhoto, AttachmentFlags, AttachmentHidden, AttachmentLinkId, AttachMethod, AttachMimeTag, AttachNumber, AttachPathname, AttachPayloadClass, AttachPayloadProviderGuidString, AttachRendering, AttachSize, AttachTag, AttachTransportName, AttributeHidden, AttributeReadOnly, AutoForwardComment, AutoForwarded, AutoResponseSuppress, Birthday, BlockStatus, Body, BodyContentId, BodyContentLocation, BodyHtml, Business2TelephoneNumber, Business2TelephoneNumbers, BusinessFaxNumber, BusinessHomePage, BusinessTelephoneNumber, CallbackTelephoneNumber, CallId, CarTelephoneNumber, CdoRecurrenceid, ChangeKey, ChangeNumber, ChildrensNames, ClientActions, ClientSubmitTime, CodePageId, Comment, CompanyMainTelephoneNumber, CompanyName, ComputerNetworkName, ConflictEntryId, ContainerClass, ContainerContents, ContainerFlags, ContainerHierarchy, ContentCount, ContentFilterSpamConfidenceLevel, ContentUnreadCount, ConversationId, ConversationIndex, ConversationIndexTracking, ConversationTopic, Country, CreationTime, CreatorEntryId, CreatorName, CustomerId, DamBackPatched, DamOriginalEntryId, DefaultPostMessageClass, DeferredActionMessageOriginalEntryId, DeferredDeliveryTime, DeferredSendNumber, DeferredSendTime, DeferredSendUnits, DelegatedByRule, DelegateFlags, DeleteAfterSubmit, DeletedCountTotal, DeletedOn, DeliverTime, DepartmentName, Depth, DisplayBcc, DisplayCc, DisplayName, DisplayNamePrefix, DisplayTo, DisplayType, DisplayTypeEx, EmailAddress, EndDate, EntryId, ExceptionEndTime, TagExceptionReplaceTime, ExceptionStartTime, ExchangeNTSecurityDescriptor, ExpiryNumber, ExpiryTime, ExpiryUnits, ExtendedFolderFlags, ExtendedRuleMessageActions, ExtendedRuleMessageCondition, ExtendedRuleSizeLimit, FaxNumberOfPages, FlagCompleteTime, FlagStatus, FlatUrlName, FolderAssociatedContents, FolderId, FolderFlags, FolderType, FollowupIcon, FreeBusyCountMonths, FreeBusyEntryIds, FreeBusyMessageEmailAddress, FreeBusyPublishEnd, FreeBusyPublishStart, FreeBusyRangeTimestamp, FtpSite, GatewayNeedsToRefresh, Gender, Generation, GivenName, GovernmentIdNumber, HasAttachments, HasDeferredActionMessages, HasNamedProperties, HasRules, HierarchyChangeNumber, HierRev, Hobbies, Home2TelephoneNumber, Home2TelephoneNumbers, HomeAddressCity, HomeAddressCountry, HomeAddressPostalCode, HomeAddressPostOfficeBox, HomeAddressStateOrProvince, HomeAddressStreet, HomeFaxNumber, HomeTelephoneNumber, TagHtml, ICalendarEndTime, ICalendarReminderNextTime, ICalendarStartTime, IconIndex, Importance, InConflict, InitialDetailsPane, Initials, InReplyToId, InstanceKey, InstanceNum, InstID, InternetCodepage, InternetMailOverrideFormat, InternetMessageId, InternetReferences, IpmAppointmentEntryId, IpmContactEntryId, IpmDraftsEntryId, IpmJournalEntryId, IpmNoteEntryId, IpmTaskEntryId, IsdnNumber, JunkAddRecipientsToSafeSendersList, JunkIncludeContacts, JunkPermanentlyDelete, JunkPhishingEnableLinks, JunkThreshold, Keyword, Language, LastModificationTime, LastModifierEntryId, LastModifierName, LastVerbExecuted, LastVerbExecutionTime, ListHelp, ListSubscribe, ListUnsubscribe, LocalCommitTime, LocalCommitTimeMax, LocaleId, Locality, TagLocation, MailboxOwnerEntryId, MailboxOwnerName, ManagerName, MappingSignature, MaximumSubmitMessageSize, MemberId, MemberName, MemberRights, MessageAttachments, MessageCcMe, MessageClass, MessageCodepage, MessageDeliveryTime, MessageEditorFormat, MessageFlags, MessageHandlingSystemCommonName, MessageLocaleId, MessageRecipientMe, MessageRecipients, MessageSize, MessageSizeExtended, MessageStatus, MessageSubmissionId, MessageToMe, Mid, MiddleName, MimeSkeleton, MobileTelephoneNumber, NativeBody, NextSendAcct, Nickname, NonDeliveryReportDiagCode, NonDeliveryReportReasonCode, NonDeliveryReportStatusCode, NonReceiptNotificationRequested, NormalizedSubject, ObjectType, OfficeLocation, OfflineAddressBookContainerGuid, OfflineAddressBookDistinguishedName, OfflineAddressBookMessageClass, OfflineAddressBookName, OfflineAddressBookSequence, OfflineAddressBookTruncatedProperties, OrdinalMost, OrganizationalIdNumber, OriginalAuthorEntryId, OriginalAuthorName, OriginalDeliveryTime, OriginalDisplayBcc, OriginalDisplayCc, OriginalDisplayTo, OriginalEntryId, OriginalMessageClass, OriginalMessageId, OriginalSenderAddressType, OriginalSenderEmailAddress, OriginalSenderEntryId, OriginalSenderName, OriginalSenderSearchKey, OriginalSensitivity, OriginalSentRepresentingAddressType, OriginalSentRepresentingEmailAddress, OriginalSentRepresentingEntryId, OriginalSentRepresentingName, OriginalSentRepresentingSearchKey, OriginalSubject, OriginalSubmitTime, OriginatorDeliveryReportRequested, OriginatorNonDeliveryReportRequested, OscSyncEnabled, OtherAddressCity, OtherAddressCountry, OtherAddressPostalCode, OtherAddressPostOfficeBox, OtherAddressStateOrProvince, OtherAddressStreet, OtherTelephoneNumber, OutOfOfficeState, OwnerAppointmentId, PagerTelephoneNumber, ParentEntryId, ParentFolderId, ParentKey, ParentSourceKey, PersonalHomePage, PolicyTag, PostalAddress, PostalCode, PostOfficeBox, PredecessorChangeList, PrimaryFaxNumber, PrimarySendAccount, PrimaryTelephoneNumber, Priority, Processed, Profession, ProhibitReceiveQuota, ProhibitSendQuota, PurportedSenderDomain, RadioTelephoneNumber, Read, ReadReceiptAddressType, ReadReceiptEmailAddress, ReadReceiptEntryId, ReadReceiptName, ReadReceiptRequested, ReadReceiptSearchKey, ReadReceiptSmtpAddress, ReceiptTime, ReceivedByAddressType, ReceivedByEmailAddress, ReceivedByEntryId, ReceivedByName, ReceivedBySearchKey, ReceivedBySmtpAddress, ReceivedRepresentingAddressType, ReceivedRepresentingEmailAddress, ReceivedRepresentingEntryId, ReceivedRepresentingName, ReceivedRepresentingSearchKey, ReceivedRepresentingSmtpAddress, RecipientDisplayName, RecipientEntryId, RecipientFlags, RecipientOrder, RecipientProposed, RecipientProposedEndTime, RecipientProposedStartTime, RecipientReassignmentProhibited, RecipientTrackStatus, RecipientTrackStatusTime, RecipientType, RecordKey, ReferredByName, RemindersOnlineEntryId, RemoteMessageTransferAgent, RenderingPosition, ReplyRecipientEntries, ReplyRecipientNames, ReplyRequested, ReplyTemplateId, ReplyTime, ReportDisposition, ReportDispositionMode, ReportEntryId, ReportingMessageTransferAgent, ReportName, ReportSearchKey, ReportTag, ReportText, ReportTime, ResolveMethod, ResponseRequested, Responsibility, RetentionDate, RetentionFlags, RetentionPeriod, Rights, RoamingDatatypes, RoamingDictionary, RoamingXmlStream, Rowid, RowType, RtfCompressed, RtfInSync, RuleActionNumber, RuleActions, RuleActionType, RuleCondition, RuleError, RuleFolderEntryId, RuleId, RuleIds, RuleLevel, RuleMessageLevel, RuleMessageName, RuleMessageProvider, RuleMessageProviderData, RuleMessageSequence, RuleMessageState, RuleMessageUserFlags, RuleName, RuleProvider, RuleProviderData, RuleSequence, RuleState, RuleUserFlags, RwRulesStream, ScheduleInfoAppointmentTombstone, ScheduleInfoAutoAcceptAppointments, ScheduleInfoDelegateEntryIds, ScheduleInfoDelegateNames, ScheduleInfoDelegateNamesW, ScheduleInfoDelegatorWantsCopy, ScheduleInfoDelegatorWantsInfo, ScheduleInfoDisallowOverlappingAppts, ScheduleInfoDisallowRecurringAppts, ScheduleInfoDontMailDelegates, ScheduleInfoFreeBusy, ScheduleInfoFreeBusyAway, ScheduleInfoFreeBusyBusy, ScheduleInfoFreeBusyMerged, ScheduleInfoFreeBusyTentative, ScheduleInfoMonthsAway, ScheduleInfoMonthsBusy, ScheduleInfoMonthsMerged, ScheduleInfoMonthsTentative, ScheduleInfoResourceType, SchedulePlusFreeBusyEntryId, ScriptData, SearchFolderDefinition, SearchFolderEfpFlags, SearchFolderExpiration, SearchFolderId, SearchFolderLastUsed, SearchFolderRecreateInfo, SearchFolderStorageType, SearchFolderTag, SearchFolderTemplateId, SearchKey, SecurityDescriptorAsXml, Selectable, SenderAddressType, SenderEmailAddress, SenderEntryId, SenderIdStatus, SenderName, SenderSearchKey, SenderSmtpAddress, SenderTelephoneNumber, SendInternetEncoding, SendRichInfo, Sensitivity, SentMailSvrEID, SentRepresentingAddressType, SentRepresentingEmailAddress, SentRepresentingEntryId, SentRepresentingFlags, SentRepresentingName, SentRepresentingSearchKey, SentRepresentingSmtpAddress, SmtpAddress, SortLocaleId, SourceKey, SpokenName, SpouseName, StartDate, StartDateEtc, StateOrProvince, StoreEntryId, StoreState, StoreSupportMask, StreetAddress, Subfolders, TagSubject, SubjectPrefix, SupplementaryInfo, Surname, SwappedToDoData, SwappedToDoStore, TargetEntryId, TelecommunicationsDeviceForDeafTelephoneNumber, TelexNumber, TemplateData, Templateid, TextAttachmentCharset, ThumbnailPhoto, TagTitle, TnefCorrelationKey, ToDoItemFlags, TransmittableDisplayName, TransportMessageHeaders, TrustSender, UserCertificate, UserEntryId, UserX509Certificate, ViewDescriptorBinary, ViewDescriptorName, ViewDescriptorStrings, ViewDescriptorVersion, VoiceMessageAttachmentOrder, VoiceMessageDuration, VoiceMessageSenderName, WeddingAnniversary, WlinkAddressBookEID, WlinkAddressBookStoreEID, WlinkCalendarColor, WlinkClientID, WlinkEntryId, WlinkFlags, WlinkFolderType, WlinkGroupClsid, WlinkGroupHeaderID, WlinkGroupName, WlinkOrdinal, WlinkRecordKey, WlinkROGroupType, WlinkSaveStamp, WlinkSection, WlinkStoreEntryId, WlinkType, Abstract, ActiveUserEntryid, AddrbookForLocalSiteEntryid, AddressBookDisplayName, ArrivalTime, AssocMessageSize, AssocMessageSizeExtended, AssocMsgWAttachCount, AttachOnAssocMsgCount, AttachOnNormalMsgCount, AutoAddNewSubs, BilateralInfo, CachedColumnCount, CategCount, ChangeAdvisor, ChangeNotificationGuid, Collector, ContactCount, ContentSearchKey, ContentsSynchronizer, DeletedAssocMessageSizeExtended, DeletedAssocMsgCount, DeletedFolderCount, DeletedMessageSizeExtended, DeletedMsgCount, DeletedNormalMessageSizeExtended, DesignInProgress, DisableFullFidelity, DisableWinsock, DlReportFlags, EformsForLocaleEntryid, EformsLocaleId, EformsRegistryEntryid, EmsAbAccessCategory, EmsAbActivationSchedule, EmsAbActivationStyle, EmsAbAddressEntryDisplayTable, EmsAbAddressEntryDisplayTableMsdos, EmsAbAddressSyntax, EmsAbAddressType, EmsAbAdmd, EmsAbAdminDescription, EmsAbAdminDisplayName, EmsAbAdminExtensionDll, EmsAbAliasedObjectName, EmsAbAliasedObjectNameO, EmsAbAltRecipient, EmsAbAltRecipientBl, EmsAbAltRecipientBlO, EmsAbAltRecipientO, EmsAbAncestorId, EmsAbAnonymousAccess, EmsAbAnonymousAccount, EmsAbAssocNtAccount, EmsAbAssocProtocolCfgNntp, EmsAbAssocProtocolCfgNntpO, EmsAbAssocRemoteDxa, EmsAbAssocRemoteDxaO, EmsAbAssociationLifetime, EmsAbAttributeCertificate, EmsAbAuthOrigBl, EmsAbAuthOrigBlO, EmsAbAuthenticationToUse, EmsAbAuthorityRevocationList, EmsAbAuthorizedDomain, EmsAbAuthorizedPassword, EmsAbAuthorizedPasswordConfirm, EmsAbAuthorizedUser, EmsAbAutoreply, EmsAbAutoreplyMessage, EmsAbAutoreplySubject, EmsAbAvailableAuthorizationPackages, EmsAbAvailableDistributions, EmsAbBridgeheadServers, EmsAbBridgeheadServersO, EmsAbBusinessCategory, EmsAbBusinessRoles, EmsAbCaCertificate, EmsAbCanCreatePf, EmsAbCanCreatePfBl, EmsAbCanCreatePfBlO, EmsAbCanCreatePfDl, EmsAbCanCreatePfDlBl, EmsAbCanCreatePfDlBlO, EmsAbCanCreatePfDlO, EmsAbCanCreatePfO, EmsAbCanNotCreatePf, EmsAbCanNotCreatePfBl, EmsAbCanNotCreatePfBlO, EmsAbCanNotCreatePfDl, EmsAbCanNotCreatePfDlBl, EmsAbCanNotCreatePfDlBlO, EmsAbCanNotCreatePfDlO, EmsAbCanNotCreatePfO, EmsAbCanPreserveDns, EmsAbCertificateChainV3, EmsAbCertificateRevocationList, EmsAbCertificateRevocationListV1, EmsAbCertificateRevocationListV3, EmsAbCharacterSet, EmsAbCharacterSetList, EmsAbChildRdns, EmsAbClientAccessEnabled, EmsAbClockAlertOffset, EmsAbClockAlertRepair, EmsAbClockWarningOffset, EmsAbClockWarningRepair, EmsAbCompromisedKeyList, EmsAbComputerName, EmsAbConnectedDomains, EmsAbConnectionListFilter, EmsAbConnectionListFilterType, EmsAbConnectionType, EmsAbContainerInfo, EmsAbContentType, EmsAbControlMsgFolderId, EmsAbControlMsgRules, EmsAbCost, EmsAbCountryName, EmsAbCrossCertificateCrl, EmsAbCrossCertificatePair, EmsAbDefaultMessageFormat, EmsAbDelegateUser, EmsAbDelivEits, EmsAbDelivExtContTypes, EmsAbDeliverAndRedirect, EmsAbDeliveryMechanism, EmsAbDeltaRevocationList, EmsAbDescription, EmsAbDestinationIndicator, EmsAbDiagnosticRegKey, EmsAbDisableDeferredCommit, EmsAbDisabledGatewayProxy, EmsAbDisplayNameOverride, EmsAbDisplayNameSuffix, EmsAbDlMemRejectPermsBl, EmsAbDlMemRejectPermsBlO, EmsAbDlMemberRule, EmsAbDmdName, EmsAbDoOabVersion, EmsAbDomainDefAltRecip, EmsAbDomainDefAltRecipO, EmsAbDomainName, EmsAbDsaSignature, EmsAbDxaAdminCopy, EmsAbDxaAdminForward, EmsAbDxaAdminUpdate, EmsAbDxaAppendReqcn, EmsAbDxaConfContainerList, EmsAbDxaConfContainerListO, EmsAbDxaConfReqTime, EmsAbDxaConfSeq, EmsAbDxaConfSeqUsn, EmsAbDxaExchangeOptions, EmsAbDxaExportNow, EmsAbDxaFlags, EmsAbDxaImpSeq, EmsAbDxaImpSeqTime, EmsAbDxaImpSeqUsn, EmsAbDxaImportNow, EmsAbDxaInTemplateMap, EmsAbDxaLocalAdmin, EmsAbDxaLocalAdminO, EmsAbDxaLoggingLevel, EmsAbDxaNativeAddressType, EmsAbDxaOutTemplateMap, EmsAbDxaPassword, EmsAbDxaPrevExchangeOptions, EmsAbDxaPrevExportNativeOnly, EmsAbDxaPrevInExchangeSensitivity, EmsAbDxaPrevRemoteEntries, EmsAbDxaPrevRemoteEntriesO, EmsAbDxaPrevReplicationSensitivity, EmsAbDxaPrevTemplateOptions, EmsAbDxaPrevTypes, EmsAbDxaRecipientCp, EmsAbDxaRemoteClient, EmsAbDxaRemoteClientO, EmsAbDxaReqSeq, EmsAbDxaReqSeqTime, EmsAbDxaReqSeqUsn, EmsAbDxaReqname, EmsAbDxaSvrSeq, EmsAbDxaSvrSeqTime, EmsAbDxaSvrSeqUsn, EmsAbDxaTask, EmsAbDxaTemplateOptions, EmsAbDxaTemplateTimestamp, EmsAbDxaTypes, EmsAbDxaUnconfContainerList, EmsAbDxaUnconfContainerListO, EmsAbEmployeeNumber, EmsAbEmployeeType, EmsAbEnableCompatibility, EmsAbEnabled, EmsAbEnabledAuthorizationPackages, EmsAbEnabledProtocolCfg, EmsAbEnabledProtocols, EmsAbEncapsulationMethod, EmsAbEncrypt, EmsAbEncryptAlgListNa, EmsAbEncryptAlgListOther, EmsAbEncryptAlgSelectedNa, EmsAbEncryptAlgSelectedOther, EmsAbExpandDlsLocally, EmsAbExpirationTime, EmsAbExportContainers, EmsAbExportContainersO, EmsAbExportCustomRecipients, EmsAbExtendedCharsAllowed, EmsAbExtensionData, EmsAbExtensionName, EmsAbExtensionNameInherited, EmsAbFacsimileTelephoneNumber, EmsAbFileVersion, EmsAbFilterLocalAddresses, EmsAbFoldersContainer, EmsAbFoldersContainerO, EmsAbFormData, EmsAbForwardingAddress, EmsAbGarbageCollPeriod, EmsAbGatewayLocalCred, EmsAbGatewayLocalDesig, EmsAbGatewayProxy, EmsAbGatewayRoutingTree, EmsAbGenerationQualifier, EmsAbGroupByAttr1, EmsAbGroupByAttr2, EmsAbGroupByAttr3, EmsAbGroupByAttr4, EmsAbGroupByAttrValueDn, EmsAbGroupByAttrValueDnO, EmsAbGroupByAttrValueStr, EmsAbGwartLastModified, EmsAbHasFullReplicaNcs, EmsAbHasFullReplicaNcsO, EmsAbHasMasterNcs, EmsAbHasMasterNcsO, EmsAbHelpData16, EmsAbHelpData32, EmsAbHelpFileName, EmsAbHeuristics, EmsAbHideDlMembership, EmsAbHideFromAddressBook, EmsAbHierarchyPath, EmsAbHomeMdbBl, EmsAbHomeMdbBlO, EmsAbHomeMta, EmsAbHomeMtaO, EmsAbHomePublicServer, EmsAbHomePublicServerO, EmsAbHouseIdentifier, EmsAbHttpPubAbAttributes, EmsAbHttpPubGal, EmsAbHttpPubGalLimit, EmsAbHttpPubPf, EmsAbHttpServers, EmsAbImportContainer, EmsAbImportContainerO, EmsAbImportSensitivity, EmsAbImportedFrom, EmsAbInboundAcceptAll, EmsAbInboundDn, EmsAbInboundDnO, EmsAbInboundHost, EmsAbInboundNewsfeed, EmsAbInboundNewsfeedType, EmsAbInboundSites, EmsAbInboundSitesO, EmsAbIncomingMsgSizeLimit, EmsAbIncomingPassword, EmsAbInsadmin, EmsAbInsadminO, EmsAbInstanceType, EmsAbInternationalIsdnNumber, EmsAbInvocationId, EmsAbIsDeleted, EmsAbIsSingleValued, EmsAbKccStatus, EmsAbKmServer, EmsAbKmServerO, EmsAbKnowledgeInformation, EmsAbLabeleduri, EmsAbLanguage, EmsAbLanguageIso639, EmsAbLdapDisplayName, EmsAbLdapSearchCfg, EmsAbLineWrap, EmsAbLinkId, EmsAbListPublicFolders, EmsAbLocalBridgeHead, EmsAbLocalBridgeHeadAddress, EmsAbLocalInitialTurn, EmsAbLocalScope, EmsAbLocalScopeO, EmsAbLogFilename, EmsAbLogRolloverInterval, EmsAbMailDrop, EmsAbMaintainAutoreplyHistory, EmsAbMapiDisplayType, EmsAbMapiId, EmsAbMaximumObjectId, EmsAbMdbBackoffInterval, EmsAbMdbMsgTimeOutPeriod, EmsAbMdbOverQuotaLimit, EmsAbMdbStorageQuota, EmsAbMdbUnreadLimit, EmsAbMdbUseDefaults, EmsAbMessageTrackingEnabled, EmsAbMimeTypes, EmsAbModerated, EmsAbModerator, EmsAbMonitorClock, EmsAbMonitorServers, EmsAbMonitorServices, EmsAbMonitoredConfigurations, EmsAbMonitoredConfigurationsO, EmsAbMonitoredServers, EmsAbMonitoredServersO, EmsAbMonitoredServices, EmsAbMonitoringAlertDelay, EmsAbMonitoringAlertUnits, EmsAbMonitoringAvailabilityStyle, EmsAbMonitoringAvailabilityWindow, EmsAbMonitoringCachedViaMail, EmsAbMonitoringCachedViaMailO, EmsAbMonitoringCachedViaRpc, EmsAbMonitoringCachedViaRpcO, EmsAbMonitoringEscalationProcedure, EmsAbMonitoringHotsitePollInterval, EmsAbMonitoringHotsitePollUnits, EmsAbMonitoringMailUpdateInterval, EmsAbMonitoringMailUpdateUnits, EmsAbMonitoringNormalPollInterval, EmsAbMonitoringNormalPollUnits, EmsAbMonitoringRecipients, EmsAbMonitoringRecipientsNdr, EmsAbMonitoringRecipientsNdrO, EmsAbMonitoringRecipientsO, EmsAbMonitoringRpcUpdateInterval, EmsAbMonitoringRpcUpdateUnits, EmsAbMonitoringWarningDelay, EmsAbMonitoringWarningUnits, EmsAbMtaLocalCred, EmsAbMtaLocalDesig, EmsAbNAddress, EmsAbNAddressType, EmsAbNewsfeedType, EmsAbNewsgroup, EmsAbNewsgroupList, EmsAbNntpCharacterSet, EmsAbNntpContentFormat, EmsAbNntpDistributions, EmsAbNntpDistributionsFlag, EmsAbNntpNewsfeeds, EmsAbNntpNewsfeedsO, EmsAbNtMachineName, EmsAbNtSecurityDescriptor, EmsAbNumOfOpenRetries, EmsAbNumOfTransferRetries, EmsAbObjViewContainers, EmsAbObjViewContainersO, EmsAbObjectClassCategory, EmsAbObjectOid, EmsAbObjectVersion, EmsAbOffLineAbContainers, EmsAbOffLineAbContainersO, EmsAbOffLineAbSchedule, EmsAbOffLineAbServer, EmsAbOffLineAbServerO, EmsAbOffLineAbStyle, EmsAbOidType, EmsAbOmObjectClass, EmsAbOmSyntax, EmsAbOofReplyToOriginator, EmsAbOpenRetryInterval, EmsAbOrganizationName, EmsAbOrganizationalUnitName, EmsAbOriginalDisplayTable, EmsAbOriginalDisplayTableMsdos, EmsAbOtherRecips, EmsAbOutboundHost, EmsAbOutboundHostType, EmsAbOutboundNewsfeed, EmsAbOutboundSites, EmsAbOutboundSitesO, EmsAbOutgoingMsgSizeLimit, EmsAbOverrideNntpContentFormat, EmsAbOwaServer, EmsAbPSelector, EmsAbPSelectorInbound, EmsAbPerMsgDialogDisplayTable, EmsAbPerRecipDialogDisplayTable, EmsAbPeriodRepSyncTimes, EmsAbPeriodReplStagger, EmsAbPersonalTitle, EmsAbPfContacts, EmsAbPfContactsO, EmsAbPopCharacterSet, EmsAbPopContentFormat, EmsAbPortNumber, EmsAbPostalAddress, EmsAbPreferredDeliveryMethod, EmsAbPreserveInternetContent, EmsAbPrmd, EmsAbPromoExpiration, EmsAbProtocolSettings, EmsAbProxyGenerationEnabled, EmsAbProxyGeneratorDll, EmsAbPublicDelegatesBl, EmsAbPublicDelegatesBlO, EmsAbQuotaNotificationSchedule, EmsAbQuotaNotificationStyle, EmsAbRangeLower, EmsAbRangeUpper, EmsAbRasAccount, EmsAbRasCallbackNumber, EmsAbRasPassword, EmsAbRasPhoneNumber, EmsAbRasPhonebookEntryName, EmsAbRasRemoteSrvrName, EmsAbReferralList, EmsAbRegisteredAddress, EmsAbRemoteBridgeHead, EmsAbRemoteBridgeHeadAddress, EmsAbRemoteOutBhServer, EmsAbRemoteOutBhServerO, EmsAbRemoteSite, EmsAbRemoteSiteO, EmsAbReplicatedObjectVersion, EmsAbReplicationMailMsgSize, EmsAbReplicationSensitivity, EmsAbReplicationStagger, EmsAbReportToOriginator, EmsAbReportToOwner, EmsAbReqSeq, EmsAbRequireSsl, EmsAbResponsibleLocalDxa, EmsAbResponsibleLocalDxaO, EmsAbReturnExactMsgSize, EmsAbRidServer, EmsAbRidServerO, EmsAbRoleOccupant, EmsAbRoleOccupantO, EmsAbRootNewsgroupsFolderId, EmsAbRoutingList, EmsAbRtsCheckpointSize, EmsAbRtsRecoveryTimeout, EmsAbRtsWindowSize, EmsAbRunsOn, EmsAbRunsOnO, EmsAbSSelector, EmsAbSSelectorInbound, EmsAbSchemaFlags, EmsAbSchemaVersion, EmsAbSearchFlags, EmsAbSearchGuide, EmsAbSecurityPolicy, EmsAbSecurityProtocol, EmsAbSeeAlso, EmsAbSeeAlsoO, EmsAbSendEmailMessage, EmsAbSendTnef, EmsAbSerialNumber, EmsAbServer, EmsAbServiceActionFirst, EmsAbServiceActionOther, EmsAbServiceActionSecond, EmsAbServiceRestartDelay, EmsAbServiceRestartMessage, EmsAbSessionDisconnectTimer, EmsAbSiteAffinity, EmsAbSiteFolderGuid, EmsAbSiteFolderServer, EmsAbSiteFolderServerO, EmsAbSiteProxySpace, EmsAbSmimeAlgListNa, EmsAbSmimeAlgListOther, EmsAbSmimeAlgSelectedNa, EmsAbSmimeAlgSelectedOther, EmsAbSpaceLastComputed, EmsAbStreetAddress, EmsAbSubRefs, EmsAbSubRefsO, EmsAbSubSite, EmsAbSubmissionContLength, EmsAbSupportSmimeSignatures, EmsAbSupportedAlgorithms, EmsAbSupportedApplicationContext, EmsAbSupportingStack, EmsAbSupportingStackBl, EmsAbSupportingStackBlO, EmsAbSupportingStackO, EmsAbTSelector, EmsAbTSelectorInbound, EmsAbTargetMtas, EmsAbTelephoneNumber, EmsAbTelephonePersonalPager, EmsAbTeletexTerminalIdentifier, EmsAbTempAssocThreshold, EmsAbTombstoneLifetime, EmsAbTrackingLogPathName, EmsAbTransRetryMins, EmsAbTransTimeoutMins, EmsAbTransferRetryInterval, EmsAbTransferTimeoutNonUrgent, EmsAbTransferTimeoutNormal, EmsAbTransferTimeoutUrgent, EmsAbTranslationTableUsed, EmsAbTransportExpeditedData, EmsAbTrustLevel, EmsAbTurnRequestThreshold, EmsAbTwoWayAlternateFacility, EmsAbType, EmsAbUnauthOrigBl, EmsAbUnauthOrigBlO, EmsAbUseServerValues, EmsAbUseSiteValues, EmsAbUsenetSiteName, EmsAbUserPassword, EmsAbUsnChanged, EmsAbUsnCreated, EmsAbUsnDsaLastObjRemoved, EmsAbUsnIntersite, EmsAbUsnLastObjRem, EmsAbUsnSource, EmsAbViewContainer1, EmsAbViewContainer2, EmsAbViewContainer3, EmsAbViewDefinition, EmsAbViewFlags, EmsAbViewSite, EmsAbVoiceMailFlags, EmsAbVoiceMailGreetings, EmsAbVoiceMailPassword, EmsAbVoiceMailRecordedName, EmsAbVoiceMailRecordingLength, EmsAbVoiceMailSpeed, EmsAbVoiceMailSystemGuid, EmsAbVoiceMailUserId, EmsAbVoiceMailVolume, EmsAbWwwHomePage, EmsAbX121Address, EmsAbX25CallUserDataIncoming, EmsAbX25CallUserDataOutgoing, EmsAbX25FacilitiesDataIncoming, EmsAbX25FacilitiesDataOutgoing, EmsAbX25LeasedLinePort, EmsAbX25LeasedOrSwitched, EmsAbX25RemoteMtaPhone, EmsAbX400AttachmentType, EmsAbX400SelectorSyntax, EmsAbX500AccessControlList, EmsAbX500Nc, EmsAbX500Rdn, EmsAbXmitTimeoutNonUrgent, EmsAbXmitTimeoutNormal, EmsAbXmitTimeoutUrgent, EventsRootFolderEntryid, ExcessStorageUsed, ExtendedAclData, FastTransfer, FavoritesDefaultName, FolderChildCount, FolderDesignFlags, FolderPathname, ForeignId, ForeignReportId, ForeignSubjectId, FreeBusyForLocalSiteEntryid, GwAdminOperations, GwMtsinEntryid, GwMtsoutEntryid, HasModeratorRules, HierarchyServer, HierarchySynchronizer, ImapInternalDate, InTransit, InboundNewsfeedDn, InternetCharset, InternetNewsgroupName, IpmDafEntryid, IpmFavoritesEntryid, IpmPublicFoldersEntryid, IsNewsgroup, IsNewsgroupAnchor, LastAccessTime, LastFullBackup, LastLogoffTime, LastLogonTime, LongtermEntryidFromTable, MessageProcessed, MessageSiteName, MoveToFolderEntryid, MoveToStoreEntryid, MsgBodyId, MtsSubjectId, NewSubsGetAutoAdd, NewsfeedInfo, NewsgroupComponent, NewsgroupRootFolderEntryid, NntpArticleFolderEntryid, NntpControlFolderEntryid, NonIpmSubtreeEntryid, NormalMessageSize, NormalMessageSizeExtended, NormalMsgWAttachCount, NtUserName, OfflineAddrbookEntryid, OfflineFlags, OfflineMessageEntryid, OldestDeletedOn, OriginatorAddr, OriginatorAddrtype, OriginatorEntryid, OriginatorName, OstEncryption, OutboundNewsfeedDn, OverallAgeLimit, OverallMsgAgeLimit, OwaUrl, OwnerCount, P1Content, P1ContentType, PreventMsgCreate, Preview, PreviewUnread, ProfileAbFilesPath, ProfileAddrInfo, ProfileAllpubComment, ProfileAllpubDisplayName, ProfileBindingOrder, ProfileConfigFlags, ProfileConnectFlags, ProfileFavfldComment, ProfileFavfldDisplayName, ProfileHomeServer, ProfileHomeServerAddrs, ProfileHomeServerDn, ProfileMailbox, ProfileMaxRestrict, ProfileMoab, ProfileMoabGuid, ProfileMoabSeq, ProfileOfflineInfo, ProfileOfflineStorePath, ProfileOpenFlags, ProfileOptionsData, ProfileSecureMailbox, ProfileServer, ProfileServerDn, ProfileTransportFlags, ProfileType, ProfileUiState, ProfileUnresolvedName, ProfileUnresolvedServer, ProfileUser, ProfileVersion, PstEncryption, PstPath, PstPwSzOld, PstRememberPw, PublicFolderEntryid, PublishInAddressBook, RecipientNumber, RecipientOnAssocMsgCount, RecipientOnNormalMsgCount, ReplicaList, ReplicaServer, ReplicaVersion, ReplicationAlwaysInterval, ReplicationMessagePriority, ReplicationMsgSize, ReplicationSchedule, ReplicationStyle, ReplyRecipientSmtpProxies, ReportDestinationEntryid, ReportDestinationName, RestrictionCount, RetentionAgeLimit, RuleTriggerHistory, RulesData, RulesTable, ScheduleFolderEntryid, SecureInSite, SecureOrigination, StorageLimitInformation, StorageQuotaLimit, StoreOffline, StoreSlowlink, SubjectTraceInfo, SvrGeneratingQuotaMsg, SynchronizeFlags, SysConfigFolderEntryid, TestLineSpeed, TraceInfo, TransferEnabled, UserName, X400EnvelopeType, AbDefaultDir, AbDefaultPab, AbProviderId, AbProviders, AbSearchPath, AbSearchPathUpdate, AlternateRecipient, AssocContentCount, AttachmentX400Parameters, AuthorizingUsers, BodyCrc, CommonViewsEntryid, ContactAddrtypes, ContactDefaultAddressIndex, ContactEmailAddresses, ContactEntryids, ContactVersion, ContainerModifyVersion, ContentConfidentialityAlgorithmId, ContentCorrelator, ContentIdentifier, ContentIntegrityCheck, ContentLength, ContentReturnRequested, ContentsSortOrder, ControlFlags, ControlId, ControlStructure, ControlType, ConversationKey, ConversionEits, ConversionProhibited, ConversionWithLossProhibited, ConvertedEits, Correlate, CorrelateMtsid, CreateTemplates, CreationVersion, ExCurrentVersion, DefCreateDl, DefCreateMailuser, DefaultProfile, DefaultStore, DefaultViewEntryid, Delegation, DeliveryPoint, Deltax, Deltay, DetailsTable, DiscVal, DiscardReason, DiscloseRecipients, DisclosureOfRecipients, DiscreteValues, DlExpansionHistory, DlExpansionProhibited, ExplicitConversion, FilteringHooks, FinderEntryid, FormCategory, FormCategorySub, FormClsid, FormContactName, FormDesignerGuid, FormDesignerName, FormHidden, FormHostMap, FormMessageBehavior, FormVersion, HeaderFolderEntryid, Icon, IdentityDisplay, IdentityEntryid, IdentitySearchKey, ImplicitConversionProhibited, IncompleteCopy, InternetApproved, InternetArticleNumber, InternetControl, InternetDistribution, InternetFollowupTo, InternetLines, InternetNewsgroups, InternetNntpPath, InternetOrganization, InternetPrecedence, IpmId, IpmOutboxEntryid, IpmOutboxSearchKey, IpmReturnRequested, IpmSentmailEntryid, IpmSentmailSearchKey, IpmSubtreeEntryid, IpmSubtreeSearchKey, IpmWastebasketEntryid, IpmWastebasketSearchKey, Languages, LatestDeliveryTime, MailPermission, MdbProvider, MessageDeliveryId, MessageDownloadTime, MessageSecurityLabel, MessageToken, MiniIcon, ModifyVersion, NewsgroupName, NntpXref, NonReceiptReason, ObsoletedIpms, OriginCheck, OriginalAuthorAddrtype, OriginalAuthorEmailAddress, OriginalAuthorSearchKey, OriginalDisplayName, OriginalEits, OriginalSearchKey, OriginallyIntendedRecipAddrtype, OriginallyIntendedRecipEmailAddress, OriginallyIntendedRecipEntryid, OriginallyIntendedRecipientName, OriginatingMtaCertificate, OriginatorAndDlExpansionHistory, OriginatorCertificate, OriginatorRequestedAlternateRecipient, OriginatorReturnAddress, OwnStoreEntryid, ParentDisplay, PhysicalDeliveryBureauFaxDelivery, PhysicalDeliveryMode, PhysicalDeliveryReportRequest, PhysicalForwardingAddress, PhysicalForwardingAddressRequested, PhysicalForwardingProhibited, PhysicalRenditionAttributes, PostFolderEntries, PostFolderNames, PostReplyDenied, PostReplyFolderEntries, PostReplyFolderNames, Preprocess, PrimaryCapability, ProfileName, ProofOfDelivery, ProofOfDeliveryRequested, ProofOfSubmission, ProofOfSubmissionRequested, ProviderDisplay, ProviderDllName, ProviderOrdinal, ProviderSubmitTime, ProviderUid, ReceiveFolderSettings, RecipientCertificate, RecipientNumberForAdvice, RecipientStatus, RedirectionHistory, RegisteredMailType, RelatedIpms, RemoteProgress, RemoteProgressText, RemoteValidateOk, ReportingDlName, ReportingMtaCertificate, RequestedDeliveryMethod, ResourceFlags, ResourceMethods, ResourcePath, ResourceType, ReturnedIpm, RtfSyncBodyCount, RtfSyncBodyCrc, RtfSyncBodyTag, RtfSyncPrefixCount, RtfSyncTrailingCount, Search, ExSecurity, SentmailEntryid, ServiceDeleteFiles, ServiceDllName, ServiceEntryName, ServiceExtraUids, ServiceName, ServiceSupportFiles, ServiceUid, Services, SpoolerStatus, Status, StatusCode, StatusString, StoreProviders, StoreRecordKey, SubjectIpm, SubmitFlags, Supersedes, TransportKey, TransportProviders, TransportStatus, TypeOfMtsUser, ValidFolderMask, ViewsEntryid, X400ContentType, X400DeferredDeliveryCancel, Xpos, Ypos :return: The name of this MapiKnownPropertyDescriptor. @@ -84,8 +79,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this MapiKnownPropertyDescriptor. - + """ Known property name. See all known properties here: https://apireference.aspose.com/email/net/aspose.email.mapi/knownpropertylist/fields/index Possible values: Mileage, ObjectUri, GDataContactVersion, GDataPhotoVersion, AddressBookProviderArrayType, AddressBookProviderEmailList, AddressCountryCode, AgingDontAgeMe, AllAttendeesString, AllowExternalCheck, AnniversaryEventEntryId, AppointmentAuxiliaryFlags, AppointmentColor, AppointmentCounterProposal, AppointmentDuration, AppointmentEndDate, AppointmentEndTime, AppointmentEndWhole, AppointmentLastSequence, AppointmentMessageClass, AppointmentNotAllowPropose, AppointmentProposalNumber, AppointmentProposedDuration, AppointmentProposedEndWhole, AppointmentProposedStartWhole, AppointmentRecur, AppointmentReplyName, AppointmentReplyTime, AppointmentSequence, AppointmentSequenceTime, AppointmentStartDate, AppointmentStartTime, AppointmentStartWhole, AppointmentStateFlags, AppointmentSubType, AppointmentTimeZoneDefinitionEndDisplay, AppointmentTimeZoneDefinitionRecur, AppointmentTimeZoneDefinitionStartDisplay, AppointmentUnsendableRecipients, AppointmentUpdateTime, AttendeeCriticalChange, AutoFillLocation, AutoLog, AutoProcessState, AutoStartCheck, Billing, BirthdayEventEntryId, BirthdayLocal, BusinessCardCardPicture, BusinessCardDisplayDefinition, BusyStatus, CalendarType, Categories, CcAttendeesString, ChangeHighlight, Classification, ClassificationDescription, ClassificationGuid, ClassificationKeep, Classified, CleanGlobalObjectId, ClientIntent, ClipEnd, ClipStart, CollaborateDoc, CommonEnd, CommonStart, Companies, ConferencingCheck, ConferencingType, ContactCharacterSet, ContactItemData, ContactLinkedGlobalAddressListEntryId, ContactLinkEntry, ContactLinkGlobalAddressListLinkId, ContactLinkGlobalAddressListLinkState, ContactLinkLinkRejectHistory, ContactLinkName, ContactLinkSearchKey, ContactLinkSMTPAddressCache, Contacts, ContactUserField1, ContactUserField2, ContactUserField3, ContactUserField4, ConversationActionLastAppliedTime, ConversationActionMaxDeliveryTime, ConversationActionMoveFolderEid, ConversationActionMoveStoreEid, ConversationActionVersion, ConversationProcessed, CurrentVersion, CurrentVersionName, DayInterval, DayOfMonth, DelegateMail, Department, Directory, DistributionListChecksum, DistributionListMembers, DistributionListName, DistributionListOneOffMembers, DistributionListStream, Email1AddressType, Email1DisplayName, Email1EmailAddress, Email1OriginalDisplayName, Email1OriginalEntryId, Email2AddressType, Email2DisplayName, Email2EmailAddress, Email2OriginalDisplayName, Email2OriginalEntryId, Email3AddressType, Email3DisplayName, Email3EmailAddress, Email3OriginalDisplayName, Email3OriginalEntryId, EndRecurrenceDate, EndRecurrenceTime, ExceptionReplaceTime, Fax1AddressType, Fax1EmailAddress, Fax1OriginalDisplayName, Fax1OriginalEntryId, Fax2AddressType, Fax2EmailAddress, Fax2OriginalDisplayName, Fax2OriginalEntryId, Fax3AddressType, Fax3EmailAddress, Fax3OriginalDisplayName, Fax3OriginalEntryId, FExceptionalAttendees, FExceptionalBody, FileUnder, FileUnderId, FileUnderList, FInvited, FlagRequest, FlagString, ForwardInstance, ForwardNotificationRecipients, FOthersAppointment, FreeBusyLocation, GlobalObjectId, HasPicture, HomeAddress, HomeAddressCountryCode, Html, ICalendarDayOfWeekMask, InboundICalStream, InfoPathFormName, InstantMessagingAddress, IntendedBusyStatus, InternetAccountName, InternetAccountStamp, IsContactLinked, IsException, IsRecurring, IsSilent, LinkedTaskItems, Location, LogDocumentPosted, LogDocumentPrinted, LogDocumentRouted, LogDocumentSaved, LogDuration, LogEnd, LogFlags, LogStart, LogType, LogTypeDesc, MeetingType, MeetingWorkspaceUrl, MonthInterval, MonthOfYear, MonthOfYearMask, NetShowUrl, NoEndDateFlag, NonSendableBcc, NonSendableCc, NonSendableTo, NonSendBccTrackStatus, NonSendCcTrackStatus, NonSendToTrackStatus, NoteColor, NoteHeight, NoteWidth, NoteX, NoteY, Occurrences, OldLocation, OldRecurrenceType, OldWhenEndWhole, OldWhenStartWhole, OnlinePassword, OptionalAttendees, OrganizerAlias, OriginalStoreEntryId, OtherAddress, OtherAddressCountryCode, OwnerCriticalChange, OwnerName, PendingStateForSiteMailboxDocument, PercentComplete, PostalAddressId, PostRssChannel, PostRssChannelLink, PostRssItemGuid, PostRssItemHash, PostRssItemLink, PostRssItemXml, PostRssSubscription, Private, PromptSendUpdate, RecurrenceDuration, RecurrencePattern, RecurrenceType, Recurring, ReferenceEntryId, ReminderDelta, ReminderFileParameter, ReminderOverride, ReminderPlaySound, ReminderSet, ReminderSignalTime, ReminderTime, ReminderTimeDate, ReminderTimeTime, ReminderType, RemoteStatus, RequiredAttendees, ResourceAttendees, ResponseStatus, ServerProcessed, ServerProcessingActions, SharingAnonymity, SharingBindingEntryId, SharingBrowseUrl, SharingCapabilities, SharingConfigurationUrl, SharingDataRangeEnd, SharingDataRangeStart, SharingDetail, SharingExtensionXml, SharingFilter, SharingFlags, SharingFlavor, SharingFolderEntryId, SharingIndexEntryId, SharingInitiatorEntryId, SharingInitiatorName, SharingInitiatorSmtp, SharingInstanceGuid, SharingLastAutoSyncTime, SharingLastSyncTime, SharingLocalComment, SharingLocalLastModificationTime, SharingLocalName, SharingLocalPath, SharingLocalStoreUid, SharingLocalType, SharingLocalUid, SharingOriginalMessageEntryId, SharingParentBindingEntryId, SharingParticipants, SharingPermissions, SharingProviderExtension, SharingProviderGuid, SharingProviderName, SharingProviderUrl, SharingRangeEnd, SharingRangeStart, SharingReciprocation, SharingRemoteByteSize, SharingRemoteComment, SharingRemoteCrc, SharingRemoteLastModificationTime, SharingRemoteMessageCount, SharingRemoteName, SharingRemotePass, SharingRemotePath, SharingRemoteStoreUid, SharingRemoteType, SharingRemoteUid, SharingRemoteUser, SharingRemoteVersion, SharingResponseTime, SharingResponseType, SharingRoamLog, SharingStart, SharingStatus, SharingStop, SharingSyncFlags, SharingSyncInterval, SharingTimeToLive, SharingTimeToLiveAuto, SharingWorkingHoursDays, SharingWorkingHoursEnd, SharingWorkingHoursStart, SharingWorkingHoursTimeZone, SideEffects, SingleBodyICal, SmartNoAttach, SpamOriginalFolder, StartRecurrenceDate, StartRecurrenceTime, TaskAcceptanceState, TaskAccepted, TaskActualEffort, TaskAssigner, TaskAssigners, TaskComplete, TaskCustomFlags, TaskDateCompleted, TaskDeadOccurrence, TaskDueDate, TaskEstimatedEffort, TaskFCreator, TaskFFixOffline, TaskFRecurring, TaskGlobalId, TaskHistory, TaskLastDelegate, TaskLastUpdate, TaskLastUser, TaskMode, TaskMultipleRecipients, TaskNoCompute, TaskOrdinal, TaskOwner, TaskOwnership, TaskRecurrence, TaskResetReminder, TaskRole, TaskStartDate, TaskState, TaskStatus, TaskStatusOnComplete, TaskUpdates, TaskVersion, TeamTask, TimeZone, TimeZoneDescription, TimeZoneStruct, ToAttendeesString, ToDoOrdinalDate, ToDoSubOrdinal, ToDoTitle, UseTnef, ValidFlagStringProof, VerbResponse, VerbStream, WeddingAnniversaryLocal, WeekInterval, Where, WorkAddress, WorkAddressCity, WorkAddressCountry, WorkAddressCountryCode, WorkAddressPostalCode, WorkAddressPostOfficeBox, WorkAddressState, WorkAddressStreet, YearInterval, YomiCompanyName, YomiFirstName, YomiLastName, AcceptLanguage, ApplicationName, AttachmentMacContentType, AttachmentMacInfo, AudioNotes, Author, AutomaticSpeechRecognitionData, ByteCount, CalendarAttendeeRole, CalendarBusystatus, CalendarContact, CalendarContactUrl, CalendarCreated, CalendarDescriptionUrl, CalendarDuration, CalendarExceptionDate, CalendarExceptionRule, CalendarGeoLatitude, CalendarGeoLongitude, CalendarInstanceType, CalendarIsOrganizer, CalendarLastModified, CalendarLocationUrl, CalendarMeetingStatus, CalendarMethod, CalendarProductId, CalendarRecurrenceIdRange, CalendarReminderOffset, CalendarResources, CalendarRsvp, CalendarSequence, CalendarTimeZone, CalendarTimeZoneId, CalendarTransparent, CalendarUid, CalendarVersion, Category, CharacterCount, Comments, Company, ContentBase, ContentClass, ContentType, CreateDateTimeReadOnly, CrossReference, DavId, DavIsCollection, DavIsStructuredDocument, DavParentName, DavUid, DocumentParts, EditTime, ExchangeIntendedBusyStatus, ExchangeJunkEmailMoveStamp, ExchangeModifyExceptionStructure, ExchangeNoModifyExceptions, ExchangePatternEnd, ExchangePatternStart, ExchangeReminderInterval, ExchDatabaseSchema, ExchDataExpectedContentClass, ExchDataSchemaCollectionReference, ExtractedAddresses, ExtractedContacts, ExtractedEmails, ExtractedMeetings, ExtractedPhones, ExtractedTasks, ExtractedUrls, From, HeadingPairs, HiddenCount, HttpmailCalendar, HttpmailHtmlDescription, HttpmailSendMessage, ICalendarRecurrenceDate, ICalendarRecurrenceRule, InternetSubject, Keywords, LastAuthor, LastPrinted, LastSaveDateTime, LineCount, LinksDirty, LocationUrl, Manager, MultimediaClipCount, NoteCount, OMSAccountGuid, OMSMobileModel, OMSScheduleTime, OMSServiceType, OMSSourceType, PageCount, ParagraphCount, PhishingStamp, PresentationFormat, QuarantineOriginalSender, RevisionNumber, RightsManagementLicense, Scale, Security, SlideCount, Subject, Template, Thumbnail, Title, WordCount, XCallId, XFaxNumberOfPages, XRequireProtectedPlayOnPhone, XSenderTelephoneNumber, XSharingBrowseUrl, XSharingCapabilities, XSharingConfigUrl, XSharingExendedCaps, XSharingFlavor, XSharingInstanceGuid, XSharingLocalType, XSharingProviderGuid, XSharingProviderName, XSharingProviderUrl, XSharingRemoteName, XSharingRemotePath, XSharingRemoteStoreUid, XSharingRemoteType, XSharingRemoteUid, XVoiceMessageAttachmentOrder, XVoiceMessageDuration, XVoiceMessageSenderName, Access, AccessControlListData, AccessLevel, Account, AdditionalRenEntryIds, AdditionalRenEntryIdsEx, AddressBookAuthorizedSenders, AddressBookContainerId, AddressBookDeliveryContentLength, AddressBookDisplayNamePrintable, AddressBookDisplayTypeExtended, AddressBookDistributionListExternalMemberCount, AddressBookDistributionListMemberCount, AddressBookDistributionListMemberSubmitAccepted, AddressBookDistributionListMemberSubmitRejected, AddressBookDistributionListRejectMessagesFromDLMembers, AddressBookEntryId, AddressBookExtensionAttribute1, AddressBookExtensionAttribute10, AddressBookExtensionAttribute11, AddressBookExtensionAttribute12, AddressBookExtensionAttribute13, AddressBookExtensionAttribute14, AddressBookExtensionAttribute15, AddressBookExtensionAttribute2, AddressBookExtensionAttribute3, AddressBookExtensionAttribute4, AddressBookExtensionAttribute5, AddressBookExtensionAttribute6, AddressBookExtensionAttribute7, AddressBookExtensionAttribute8, AddressBookExtensionAttribute9, AddressBookFolderPathname, AddressBookHierarchicalChildDepartments, AddressBookHierarchicalDepartmentMembers, AddressBookHierarchicalIsHierarchicalGroup, AddressBookHierarchicalParentDepartment, AddressBookHierarchicalRootDepartment, AddressBookHierarchicalShowInDepartments, AddressBookHomeMessageDatabase, AddressBookIsMaster, AddressBookIsMemberOfDistributionList, AddressBookManageDistributionList, AddressBookManager, AddressBookManagerDistinguishedName, AddressBookMember, AddressBookMessageId, AddressBookModerationEnabled, AddressBookNetworkAddress, AddressBookObjectDistinguishedName, AddressBookObjectGuid, AddressBookOrganizationalUnitRootDistinguishedName, AddressBookOwner, AddressBookOwnerBackLink, AddressBookParentEntryId, AddressBookPhoneticCompanyName, AddressBookPhoneticDepartmentName, AddressBookPhoneticDisplayName, AddressBookPhoneticGivenName, AddressBookPhoneticSurname, AddressBookProxyAddresses, AddressBookPublicDelegates, AddressBookReports, AddressBookRoomCapacity, AddressBookRoomContainers, AddressBookRoomDescription, AddressBookSenderHintTranslations, AddressBookSeniorityIndex, AddressBookTargetAddress, AddressBookUnauthorizedSenders, AddressBookX509Certificate, AddressType, AlternateRecipientAllowed, Anr, ArchiveDate, ArchivePeriod, ArchiveTag, Assistant, AssistantTelephoneNumber, Associated, AttachAdditionalInformation, AttachContentBase, AttachContentId, AttachContentLocation, AttachDataBinary, AttachDataObject, AttachEncoding, AttachExtension, AttachFilename, AttachFlags, AttachLongFilename, AttachLongPathname, AttachmentContactPhoto, AttachmentFlags, AttachmentHidden, AttachmentLinkId, AttachMethod, AttachMimeTag, AttachNumber, AttachPathname, AttachPayloadClass, AttachPayloadProviderGuidString, AttachRendering, AttachSize, AttachTag, AttachTransportName, AttributeHidden, AttributeReadOnly, AutoForwardComment, AutoForwarded, AutoResponseSuppress, Birthday, BlockStatus, Body, BodyContentId, BodyContentLocation, BodyHtml, Business2TelephoneNumber, Business2TelephoneNumbers, BusinessFaxNumber, BusinessHomePage, BusinessTelephoneNumber, CallbackTelephoneNumber, CallId, CarTelephoneNumber, CdoRecurrenceid, ChangeKey, ChangeNumber, ChildrensNames, ClientActions, ClientSubmitTime, CodePageId, Comment, CompanyMainTelephoneNumber, CompanyName, ComputerNetworkName, ConflictEntryId, ContainerClass, ContainerContents, ContainerFlags, ContainerHierarchy, ContentCount, ContentFilterSpamConfidenceLevel, ContentUnreadCount, ConversationId, ConversationIndex, ConversationIndexTracking, ConversationTopic, Country, CreationTime, CreatorEntryId, CreatorName, CustomerId, DamBackPatched, DamOriginalEntryId, DefaultPostMessageClass, DeferredActionMessageOriginalEntryId, DeferredDeliveryTime, DeferredSendNumber, DeferredSendTime, DeferredSendUnits, DelegatedByRule, DelegateFlags, DeleteAfterSubmit, DeletedCountTotal, DeletedOn, DeliverTime, DepartmentName, Depth, DisplayBcc, DisplayCc, DisplayName, DisplayNamePrefix, DisplayTo, DisplayType, DisplayTypeEx, EmailAddress, EndDate, EntryId, ExceptionEndTime, TagExceptionReplaceTime, ExceptionStartTime, ExchangeNTSecurityDescriptor, ExpiryNumber, ExpiryTime, ExpiryUnits, ExtendedFolderFlags, ExtendedRuleMessageActions, ExtendedRuleMessageCondition, ExtendedRuleSizeLimit, FaxNumberOfPages, FlagCompleteTime, FlagStatus, FlatUrlName, FolderAssociatedContents, FolderId, FolderFlags, FolderType, FollowupIcon, FreeBusyCountMonths, FreeBusyEntryIds, FreeBusyMessageEmailAddress, FreeBusyPublishEnd, FreeBusyPublishStart, FreeBusyRangeTimestamp, FtpSite, GatewayNeedsToRefresh, Gender, Generation, GivenName, GovernmentIdNumber, HasAttachments, HasDeferredActionMessages, HasNamedProperties, HasRules, HierarchyChangeNumber, HierRev, Hobbies, Home2TelephoneNumber, Home2TelephoneNumbers, HomeAddressCity, HomeAddressCountry, HomeAddressPostalCode, HomeAddressPostOfficeBox, HomeAddressStateOrProvince, HomeAddressStreet, HomeFaxNumber, HomeTelephoneNumber, TagHtml, ICalendarEndTime, ICalendarReminderNextTime, ICalendarStartTime, IconIndex, Importance, InConflict, InitialDetailsPane, Initials, InReplyToId, InstanceKey, InstanceNum, InstID, InternetCodepage, InternetMailOverrideFormat, InternetMessageId, InternetReferences, IpmAppointmentEntryId, IpmContactEntryId, IpmDraftsEntryId, IpmJournalEntryId, IpmNoteEntryId, IpmTaskEntryId, IsdnNumber, JunkAddRecipientsToSafeSendersList, JunkIncludeContacts, JunkPermanentlyDelete, JunkPhishingEnableLinks, JunkThreshold, Keyword, Language, LastModificationTime, LastModifierEntryId, LastModifierName, LastVerbExecuted, LastVerbExecutionTime, ListHelp, ListSubscribe, ListUnsubscribe, LocalCommitTime, LocalCommitTimeMax, LocaleId, Locality, TagLocation, MailboxOwnerEntryId, MailboxOwnerName, ManagerName, MappingSignature, MaximumSubmitMessageSize, MemberId, MemberName, MemberRights, MessageAttachments, MessageCcMe, MessageClass, MessageCodepage, MessageDeliveryTime, MessageEditorFormat, MessageFlags, MessageHandlingSystemCommonName, MessageLocaleId, MessageRecipientMe, MessageRecipients, MessageSize, MessageSizeExtended, MessageStatus, MessageSubmissionId, MessageToMe, Mid, MiddleName, MimeSkeleton, MobileTelephoneNumber, NativeBody, NextSendAcct, Nickname, NonDeliveryReportDiagCode, NonDeliveryReportReasonCode, NonDeliveryReportStatusCode, NonReceiptNotificationRequested, NormalizedSubject, ObjectType, OfficeLocation, OfflineAddressBookContainerGuid, OfflineAddressBookDistinguishedName, OfflineAddressBookMessageClass, OfflineAddressBookName, OfflineAddressBookSequence, OfflineAddressBookTruncatedProperties, OrdinalMost, OrganizationalIdNumber, OriginalAuthorEntryId, OriginalAuthorName, OriginalDeliveryTime, OriginalDisplayBcc, OriginalDisplayCc, OriginalDisplayTo, OriginalEntryId, OriginalMessageClass, OriginalMessageId, OriginalSenderAddressType, OriginalSenderEmailAddress, OriginalSenderEntryId, OriginalSenderName, OriginalSenderSearchKey, OriginalSensitivity, OriginalSentRepresentingAddressType, OriginalSentRepresentingEmailAddress, OriginalSentRepresentingEntryId, OriginalSentRepresentingName, OriginalSentRepresentingSearchKey, OriginalSubject, OriginalSubmitTime, OriginatorDeliveryReportRequested, OriginatorNonDeliveryReportRequested, OscSyncEnabled, OtherAddressCity, OtherAddressCountry, OtherAddressPostalCode, OtherAddressPostOfficeBox, OtherAddressStateOrProvince, OtherAddressStreet, OtherTelephoneNumber, OutOfOfficeState, OwnerAppointmentId, PagerTelephoneNumber, ParentEntryId, ParentFolderId, ParentKey, ParentSourceKey, PersonalHomePage, PolicyTag, PostalAddress, PostalCode, PostOfficeBox, PredecessorChangeList, PrimaryFaxNumber, PrimarySendAccount, PrimaryTelephoneNumber, Priority, Processed, Profession, ProhibitReceiveQuota, ProhibitSendQuota, PurportedSenderDomain, RadioTelephoneNumber, Read, ReadReceiptAddressType, ReadReceiptEmailAddress, ReadReceiptEntryId, ReadReceiptName, ReadReceiptRequested, ReadReceiptSearchKey, ReadReceiptSmtpAddress, ReceiptTime, ReceivedByAddressType, ReceivedByEmailAddress, ReceivedByEntryId, ReceivedByName, ReceivedBySearchKey, ReceivedBySmtpAddress, ReceivedRepresentingAddressType, ReceivedRepresentingEmailAddress, ReceivedRepresentingEntryId, ReceivedRepresentingName, ReceivedRepresentingSearchKey, ReceivedRepresentingSmtpAddress, RecipientDisplayName, RecipientEntryId, RecipientFlags, RecipientOrder, RecipientProposed, RecipientProposedEndTime, RecipientProposedStartTime, RecipientReassignmentProhibited, RecipientTrackStatus, RecipientTrackStatusTime, RecipientType, RecordKey, ReferredByName, RemindersOnlineEntryId, RemoteMessageTransferAgent, RenderingPosition, ReplyRecipientEntries, ReplyRecipientNames, ReplyRequested, ReplyTemplateId, ReplyTime, ReportDisposition, ReportDispositionMode, ReportEntryId, ReportingMessageTransferAgent, ReportName, ReportSearchKey, ReportTag, ReportText, ReportTime, ResolveMethod, ResponseRequested, Responsibility, RetentionDate, RetentionFlags, RetentionPeriod, Rights, RoamingDatatypes, RoamingDictionary, RoamingXmlStream, Rowid, RowType, RtfCompressed, RtfInSync, RuleActionNumber, RuleActions, RuleActionType, RuleCondition, RuleError, RuleFolderEntryId, RuleId, RuleIds, RuleLevel, RuleMessageLevel, RuleMessageName, RuleMessageProvider, RuleMessageProviderData, RuleMessageSequence, RuleMessageState, RuleMessageUserFlags, RuleName, RuleProvider, RuleProviderData, RuleSequence, RuleState, RuleUserFlags, RwRulesStream, ScheduleInfoAppointmentTombstone, ScheduleInfoAutoAcceptAppointments, ScheduleInfoDelegateEntryIds, ScheduleInfoDelegateNames, ScheduleInfoDelegateNamesW, ScheduleInfoDelegatorWantsCopy, ScheduleInfoDelegatorWantsInfo, ScheduleInfoDisallowOverlappingAppts, ScheduleInfoDisallowRecurringAppts, ScheduleInfoDontMailDelegates, ScheduleInfoFreeBusy, ScheduleInfoFreeBusyAway, ScheduleInfoFreeBusyBusy, ScheduleInfoFreeBusyMerged, ScheduleInfoFreeBusyTentative, ScheduleInfoMonthsAway, ScheduleInfoMonthsBusy, ScheduleInfoMonthsMerged, ScheduleInfoMonthsTentative, ScheduleInfoResourceType, SchedulePlusFreeBusyEntryId, ScriptData, SearchFolderDefinition, SearchFolderEfpFlags, SearchFolderExpiration, SearchFolderId, SearchFolderLastUsed, SearchFolderRecreateInfo, SearchFolderStorageType, SearchFolderTag, SearchFolderTemplateId, SearchKey, SecurityDescriptorAsXml, Selectable, SenderAddressType, SenderEmailAddress, SenderEntryId, SenderIdStatus, SenderName, SenderSearchKey, SenderSmtpAddress, SenderTelephoneNumber, SendInternetEncoding, SendRichInfo, Sensitivity, SentMailSvrEID, SentRepresentingAddressType, SentRepresentingEmailAddress, SentRepresentingEntryId, SentRepresentingFlags, SentRepresentingName, SentRepresentingSearchKey, SentRepresentingSmtpAddress, SmtpAddress, SortLocaleId, SourceKey, SpokenName, SpouseName, StartDate, StartDateEtc, StateOrProvince, StoreEntryId, StoreState, StoreSupportMask, StreetAddress, Subfolders, TagSubject, SubjectPrefix, SupplementaryInfo, Surname, SwappedToDoData, SwappedToDoStore, TargetEntryId, TelecommunicationsDeviceForDeafTelephoneNumber, TelexNumber, TemplateData, Templateid, TextAttachmentCharset, ThumbnailPhoto, TagTitle, TnefCorrelationKey, ToDoItemFlags, TransmittableDisplayName, TransportMessageHeaders, TrustSender, UserCertificate, UserEntryId, UserX509Certificate, ViewDescriptorBinary, ViewDescriptorName, ViewDescriptorStrings, ViewDescriptorVersion, VoiceMessageAttachmentOrder, VoiceMessageDuration, VoiceMessageSenderName, WeddingAnniversary, WlinkAddressBookEID, WlinkAddressBookStoreEID, WlinkCalendarColor, WlinkClientID, WlinkEntryId, WlinkFlags, WlinkFolderType, WlinkGroupClsid, WlinkGroupHeaderID, WlinkGroupName, WlinkOrdinal, WlinkRecordKey, WlinkROGroupType, WlinkSaveStamp, WlinkSection, WlinkStoreEntryId, WlinkType, Abstract, ActiveUserEntryid, AddrbookForLocalSiteEntryid, AddressBookDisplayName, ArrivalTime, AssocMessageSize, AssocMessageSizeExtended, AssocMsgWAttachCount, AttachOnAssocMsgCount, AttachOnNormalMsgCount, AutoAddNewSubs, BilateralInfo, CachedColumnCount, CategCount, ChangeAdvisor, ChangeNotificationGuid, Collector, ContactCount, ContentSearchKey, ContentsSynchronizer, DeletedAssocMessageSizeExtended, DeletedAssocMsgCount, DeletedFolderCount, DeletedMessageSizeExtended, DeletedMsgCount, DeletedNormalMessageSizeExtended, DesignInProgress, DisableFullFidelity, DisableWinsock, DlReportFlags, EformsForLocaleEntryid, EformsLocaleId, EformsRegistryEntryid, EmsAbAccessCategory, EmsAbActivationSchedule, EmsAbActivationStyle, EmsAbAddressEntryDisplayTable, EmsAbAddressEntryDisplayTableMsdos, EmsAbAddressSyntax, EmsAbAddressType, EmsAbAdmd, EmsAbAdminDescription, EmsAbAdminDisplayName, EmsAbAdminExtensionDll, EmsAbAliasedObjectName, EmsAbAliasedObjectNameO, EmsAbAltRecipient, EmsAbAltRecipientBl, EmsAbAltRecipientBlO, EmsAbAltRecipientO, EmsAbAncestorId, EmsAbAnonymousAccess, EmsAbAnonymousAccount, EmsAbAssocNtAccount, EmsAbAssocProtocolCfgNntp, EmsAbAssocProtocolCfgNntpO, EmsAbAssocRemoteDxa, EmsAbAssocRemoteDxaO, EmsAbAssociationLifetime, EmsAbAttributeCertificate, EmsAbAuthOrigBl, EmsAbAuthOrigBlO, EmsAbAuthenticationToUse, EmsAbAuthorityRevocationList, EmsAbAuthorizedDomain, EmsAbAuthorizedPassword, EmsAbAuthorizedPasswordConfirm, EmsAbAuthorizedUser, EmsAbAutoreply, EmsAbAutoreplyMessage, EmsAbAutoreplySubject, EmsAbAvailableAuthorizationPackages, EmsAbAvailableDistributions, EmsAbBridgeheadServers, EmsAbBridgeheadServersO, EmsAbBusinessCategory, EmsAbBusinessRoles, EmsAbCaCertificate, EmsAbCanCreatePf, EmsAbCanCreatePfBl, EmsAbCanCreatePfBlO, EmsAbCanCreatePfDl, EmsAbCanCreatePfDlBl, EmsAbCanCreatePfDlBlO, EmsAbCanCreatePfDlO, EmsAbCanCreatePfO, EmsAbCanNotCreatePf, EmsAbCanNotCreatePfBl, EmsAbCanNotCreatePfBlO, EmsAbCanNotCreatePfDl, EmsAbCanNotCreatePfDlBl, EmsAbCanNotCreatePfDlBlO, EmsAbCanNotCreatePfDlO, EmsAbCanNotCreatePfO, EmsAbCanPreserveDns, EmsAbCertificateChainV3, EmsAbCertificateRevocationList, EmsAbCertificateRevocationListV1, EmsAbCertificateRevocationListV3, EmsAbCharacterSet, EmsAbCharacterSetList, EmsAbChildRdns, EmsAbClientAccessEnabled, EmsAbClockAlertOffset, EmsAbClockAlertRepair, EmsAbClockWarningOffset, EmsAbClockWarningRepair, EmsAbCompromisedKeyList, EmsAbComputerName, EmsAbConnectedDomains, EmsAbConnectionListFilter, EmsAbConnectionListFilterType, EmsAbConnectionType, EmsAbContainerInfo, EmsAbContentType, EmsAbControlMsgFolderId, EmsAbControlMsgRules, EmsAbCost, EmsAbCountryName, EmsAbCrossCertificateCrl, EmsAbCrossCertificatePair, EmsAbDefaultMessageFormat, EmsAbDelegateUser, EmsAbDelivEits, EmsAbDelivExtContTypes, EmsAbDeliverAndRedirect, EmsAbDeliveryMechanism, EmsAbDeltaRevocationList, EmsAbDescription, EmsAbDestinationIndicator, EmsAbDiagnosticRegKey, EmsAbDisableDeferredCommit, EmsAbDisabledGatewayProxy, EmsAbDisplayNameOverride, EmsAbDisplayNameSuffix, EmsAbDlMemRejectPermsBl, EmsAbDlMemRejectPermsBlO, EmsAbDlMemberRule, EmsAbDmdName, EmsAbDoOabVersion, EmsAbDomainDefAltRecip, EmsAbDomainDefAltRecipO, EmsAbDomainName, EmsAbDsaSignature, EmsAbDxaAdminCopy, EmsAbDxaAdminForward, EmsAbDxaAdminUpdate, EmsAbDxaAppendReqcn, EmsAbDxaConfContainerList, EmsAbDxaConfContainerListO, EmsAbDxaConfReqTime, EmsAbDxaConfSeq, EmsAbDxaConfSeqUsn, EmsAbDxaExchangeOptions, EmsAbDxaExportNow, EmsAbDxaFlags, EmsAbDxaImpSeq, EmsAbDxaImpSeqTime, EmsAbDxaImpSeqUsn, EmsAbDxaImportNow, EmsAbDxaInTemplateMap, EmsAbDxaLocalAdmin, EmsAbDxaLocalAdminO, EmsAbDxaLoggingLevel, EmsAbDxaNativeAddressType, EmsAbDxaOutTemplateMap, EmsAbDxaPassword, EmsAbDxaPrevExchangeOptions, EmsAbDxaPrevExportNativeOnly, EmsAbDxaPrevInExchangeSensitivity, EmsAbDxaPrevRemoteEntries, EmsAbDxaPrevRemoteEntriesO, EmsAbDxaPrevReplicationSensitivity, EmsAbDxaPrevTemplateOptions, EmsAbDxaPrevTypes, EmsAbDxaRecipientCp, EmsAbDxaRemoteClient, EmsAbDxaRemoteClientO, EmsAbDxaReqSeq, EmsAbDxaReqSeqTime, EmsAbDxaReqSeqUsn, EmsAbDxaReqname, EmsAbDxaSvrSeq, EmsAbDxaSvrSeqTime, EmsAbDxaSvrSeqUsn, EmsAbDxaTask, EmsAbDxaTemplateOptions, EmsAbDxaTemplateTimestamp, EmsAbDxaTypes, EmsAbDxaUnconfContainerList, EmsAbDxaUnconfContainerListO, EmsAbEmployeeNumber, EmsAbEmployeeType, EmsAbEnableCompatibility, EmsAbEnabled, EmsAbEnabledAuthorizationPackages, EmsAbEnabledProtocolCfg, EmsAbEnabledProtocols, EmsAbEncapsulationMethod, EmsAbEncrypt, EmsAbEncryptAlgListNa, EmsAbEncryptAlgListOther, EmsAbEncryptAlgSelectedNa, EmsAbEncryptAlgSelectedOther, EmsAbExpandDlsLocally, EmsAbExpirationTime, EmsAbExportContainers, EmsAbExportContainersO, EmsAbExportCustomRecipients, EmsAbExtendedCharsAllowed, EmsAbExtensionData, EmsAbExtensionName, EmsAbExtensionNameInherited, EmsAbFacsimileTelephoneNumber, EmsAbFileVersion, EmsAbFilterLocalAddresses, EmsAbFoldersContainer, EmsAbFoldersContainerO, EmsAbFormData, EmsAbForwardingAddress, EmsAbGarbageCollPeriod, EmsAbGatewayLocalCred, EmsAbGatewayLocalDesig, EmsAbGatewayProxy, EmsAbGatewayRoutingTree, EmsAbGenerationQualifier, EmsAbGroupByAttr1, EmsAbGroupByAttr2, EmsAbGroupByAttr3, EmsAbGroupByAttr4, EmsAbGroupByAttrValueDn, EmsAbGroupByAttrValueDnO, EmsAbGroupByAttrValueStr, EmsAbGwartLastModified, EmsAbHasFullReplicaNcs, EmsAbHasFullReplicaNcsO, EmsAbHasMasterNcs, EmsAbHasMasterNcsO, EmsAbHelpData16, EmsAbHelpData32, EmsAbHelpFileName, EmsAbHeuristics, EmsAbHideDlMembership, EmsAbHideFromAddressBook, EmsAbHierarchyPath, EmsAbHomeMdbBl, EmsAbHomeMdbBlO, EmsAbHomeMta, EmsAbHomeMtaO, EmsAbHomePublicServer, EmsAbHomePublicServerO, EmsAbHouseIdentifier, EmsAbHttpPubAbAttributes, EmsAbHttpPubGal, EmsAbHttpPubGalLimit, EmsAbHttpPubPf, EmsAbHttpServers, EmsAbImportContainer, EmsAbImportContainerO, EmsAbImportSensitivity, EmsAbImportedFrom, EmsAbInboundAcceptAll, EmsAbInboundDn, EmsAbInboundDnO, EmsAbInboundHost, EmsAbInboundNewsfeed, EmsAbInboundNewsfeedType, EmsAbInboundSites, EmsAbInboundSitesO, EmsAbIncomingMsgSizeLimit, EmsAbIncomingPassword, EmsAbInsadmin, EmsAbInsadminO, EmsAbInstanceType, EmsAbInternationalIsdnNumber, EmsAbInvocationId, EmsAbIsDeleted, EmsAbIsSingleValued, EmsAbKccStatus, EmsAbKmServer, EmsAbKmServerO, EmsAbKnowledgeInformation, EmsAbLabeleduri, EmsAbLanguage, EmsAbLanguageIso639, EmsAbLdapDisplayName, EmsAbLdapSearchCfg, EmsAbLineWrap, EmsAbLinkId, EmsAbListPublicFolders, EmsAbLocalBridgeHead, EmsAbLocalBridgeHeadAddress, EmsAbLocalInitialTurn, EmsAbLocalScope, EmsAbLocalScopeO, EmsAbLogFilename, EmsAbLogRolloverInterval, EmsAbMailDrop, EmsAbMaintainAutoreplyHistory, EmsAbMapiDisplayType, EmsAbMapiId, EmsAbMaximumObjectId, EmsAbMdbBackoffInterval, EmsAbMdbMsgTimeOutPeriod, EmsAbMdbOverQuotaLimit, EmsAbMdbStorageQuota, EmsAbMdbUnreadLimit, EmsAbMdbUseDefaults, EmsAbMessageTrackingEnabled, EmsAbMimeTypes, EmsAbModerated, EmsAbModerator, EmsAbMonitorClock, EmsAbMonitorServers, EmsAbMonitorServices, EmsAbMonitoredConfigurations, EmsAbMonitoredConfigurationsO, EmsAbMonitoredServers, EmsAbMonitoredServersO, EmsAbMonitoredServices, EmsAbMonitoringAlertDelay, EmsAbMonitoringAlertUnits, EmsAbMonitoringAvailabilityStyle, EmsAbMonitoringAvailabilityWindow, EmsAbMonitoringCachedViaMail, EmsAbMonitoringCachedViaMailO, EmsAbMonitoringCachedViaRpc, EmsAbMonitoringCachedViaRpcO, EmsAbMonitoringEscalationProcedure, EmsAbMonitoringHotsitePollInterval, EmsAbMonitoringHotsitePollUnits, EmsAbMonitoringMailUpdateInterval, EmsAbMonitoringMailUpdateUnits, EmsAbMonitoringNormalPollInterval, EmsAbMonitoringNormalPollUnits, EmsAbMonitoringRecipients, EmsAbMonitoringRecipientsNdr, EmsAbMonitoringRecipientsNdrO, EmsAbMonitoringRecipientsO, EmsAbMonitoringRpcUpdateInterval, EmsAbMonitoringRpcUpdateUnits, EmsAbMonitoringWarningDelay, EmsAbMonitoringWarningUnits, EmsAbMtaLocalCred, EmsAbMtaLocalDesig, EmsAbNAddress, EmsAbNAddressType, EmsAbNewsfeedType, EmsAbNewsgroup, EmsAbNewsgroupList, EmsAbNntpCharacterSet, EmsAbNntpContentFormat, EmsAbNntpDistributions, EmsAbNntpDistributionsFlag, EmsAbNntpNewsfeeds, EmsAbNntpNewsfeedsO, EmsAbNtMachineName, EmsAbNtSecurityDescriptor, EmsAbNumOfOpenRetries, EmsAbNumOfTransferRetries, EmsAbObjViewContainers, EmsAbObjViewContainersO, EmsAbObjectClassCategory, EmsAbObjectOid, EmsAbObjectVersion, EmsAbOffLineAbContainers, EmsAbOffLineAbContainersO, EmsAbOffLineAbSchedule, EmsAbOffLineAbServer, EmsAbOffLineAbServerO, EmsAbOffLineAbStyle, EmsAbOidType, EmsAbOmObjectClass, EmsAbOmSyntax, EmsAbOofReplyToOriginator, EmsAbOpenRetryInterval, EmsAbOrganizationName, EmsAbOrganizationalUnitName, EmsAbOriginalDisplayTable, EmsAbOriginalDisplayTableMsdos, EmsAbOtherRecips, EmsAbOutboundHost, EmsAbOutboundHostType, EmsAbOutboundNewsfeed, EmsAbOutboundSites, EmsAbOutboundSitesO, EmsAbOutgoingMsgSizeLimit, EmsAbOverrideNntpContentFormat, EmsAbOwaServer, EmsAbPSelector, EmsAbPSelectorInbound, EmsAbPerMsgDialogDisplayTable, EmsAbPerRecipDialogDisplayTable, EmsAbPeriodRepSyncTimes, EmsAbPeriodReplStagger, EmsAbPersonalTitle, EmsAbPfContacts, EmsAbPfContactsO, EmsAbPopCharacterSet, EmsAbPopContentFormat, EmsAbPortNumber, EmsAbPostalAddress, EmsAbPreferredDeliveryMethod, EmsAbPreserveInternetContent, EmsAbPrmd, EmsAbPromoExpiration, EmsAbProtocolSettings, EmsAbProxyGenerationEnabled, EmsAbProxyGeneratorDll, EmsAbPublicDelegatesBl, EmsAbPublicDelegatesBlO, EmsAbQuotaNotificationSchedule, EmsAbQuotaNotificationStyle, EmsAbRangeLower, EmsAbRangeUpper, EmsAbRasAccount, EmsAbRasCallbackNumber, EmsAbRasPassword, EmsAbRasPhoneNumber, EmsAbRasPhonebookEntryName, EmsAbRasRemoteSrvrName, EmsAbReferralList, EmsAbRegisteredAddress, EmsAbRemoteBridgeHead, EmsAbRemoteBridgeHeadAddress, EmsAbRemoteOutBhServer, EmsAbRemoteOutBhServerO, EmsAbRemoteSite, EmsAbRemoteSiteO, EmsAbReplicatedObjectVersion, EmsAbReplicationMailMsgSize, EmsAbReplicationSensitivity, EmsAbReplicationStagger, EmsAbReportToOriginator, EmsAbReportToOwner, EmsAbReqSeq, EmsAbRequireSsl, EmsAbResponsibleLocalDxa, EmsAbResponsibleLocalDxaO, EmsAbReturnExactMsgSize, EmsAbRidServer, EmsAbRidServerO, EmsAbRoleOccupant, EmsAbRoleOccupantO, EmsAbRootNewsgroupsFolderId, EmsAbRoutingList, EmsAbRtsCheckpointSize, EmsAbRtsRecoveryTimeout, EmsAbRtsWindowSize, EmsAbRunsOn, EmsAbRunsOnO, EmsAbSSelector, EmsAbSSelectorInbound, EmsAbSchemaFlags, EmsAbSchemaVersion, EmsAbSearchFlags, EmsAbSearchGuide, EmsAbSecurityPolicy, EmsAbSecurityProtocol, EmsAbSeeAlso, EmsAbSeeAlsoO, EmsAbSendEmailMessage, EmsAbSendTnef, EmsAbSerialNumber, EmsAbServer, EmsAbServiceActionFirst, EmsAbServiceActionOther, EmsAbServiceActionSecond, EmsAbServiceRestartDelay, EmsAbServiceRestartMessage, EmsAbSessionDisconnectTimer, EmsAbSiteAffinity, EmsAbSiteFolderGuid, EmsAbSiteFolderServer, EmsAbSiteFolderServerO, EmsAbSiteProxySpace, EmsAbSmimeAlgListNa, EmsAbSmimeAlgListOther, EmsAbSmimeAlgSelectedNa, EmsAbSmimeAlgSelectedOther, EmsAbSpaceLastComputed, EmsAbStreetAddress, EmsAbSubRefs, EmsAbSubRefsO, EmsAbSubSite, EmsAbSubmissionContLength, EmsAbSupportSmimeSignatures, EmsAbSupportedAlgorithms, EmsAbSupportedApplicationContext, EmsAbSupportingStack, EmsAbSupportingStackBl, EmsAbSupportingStackBlO, EmsAbSupportingStackO, EmsAbTSelector, EmsAbTSelectorInbound, EmsAbTargetMtas, EmsAbTelephoneNumber, EmsAbTelephonePersonalPager, EmsAbTeletexTerminalIdentifier, EmsAbTempAssocThreshold, EmsAbTombstoneLifetime, EmsAbTrackingLogPathName, EmsAbTransRetryMins, EmsAbTransTimeoutMins, EmsAbTransferRetryInterval, EmsAbTransferTimeoutNonUrgent, EmsAbTransferTimeoutNormal, EmsAbTransferTimeoutUrgent, EmsAbTranslationTableUsed, EmsAbTransportExpeditedData, EmsAbTrustLevel, EmsAbTurnRequestThreshold, EmsAbTwoWayAlternateFacility, EmsAbType, EmsAbUnauthOrigBl, EmsAbUnauthOrigBlO, EmsAbUseServerValues, EmsAbUseSiteValues, EmsAbUsenetSiteName, EmsAbUserPassword, EmsAbUsnChanged, EmsAbUsnCreated, EmsAbUsnDsaLastObjRemoved, EmsAbUsnIntersite, EmsAbUsnLastObjRem, EmsAbUsnSource, EmsAbViewContainer1, EmsAbViewContainer2, EmsAbViewContainer3, EmsAbViewDefinition, EmsAbViewFlags, EmsAbViewSite, EmsAbVoiceMailFlags, EmsAbVoiceMailGreetings, EmsAbVoiceMailPassword, EmsAbVoiceMailRecordedName, EmsAbVoiceMailRecordingLength, EmsAbVoiceMailSpeed, EmsAbVoiceMailSystemGuid, EmsAbVoiceMailUserId, EmsAbVoiceMailVolume, EmsAbWwwHomePage, EmsAbX121Address, EmsAbX25CallUserDataIncoming, EmsAbX25CallUserDataOutgoing, EmsAbX25FacilitiesDataIncoming, EmsAbX25FacilitiesDataOutgoing, EmsAbX25LeasedLinePort, EmsAbX25LeasedOrSwitched, EmsAbX25RemoteMtaPhone, EmsAbX400AttachmentType, EmsAbX400SelectorSyntax, EmsAbX500AccessControlList, EmsAbX500Nc, EmsAbX500Rdn, EmsAbXmitTimeoutNonUrgent, EmsAbXmitTimeoutNormal, EmsAbXmitTimeoutUrgent, EventsRootFolderEntryid, ExcessStorageUsed, ExtendedAclData, FastTransfer, FavoritesDefaultName, FolderChildCount, FolderDesignFlags, FolderPathname, ForeignId, ForeignReportId, ForeignSubjectId, FreeBusyForLocalSiteEntryid, GwAdminOperations, GwMtsinEntryid, GwMtsoutEntryid, HasModeratorRules, HierarchyServer, HierarchySynchronizer, ImapInternalDate, InTransit, InboundNewsfeedDn, InternetCharset, InternetNewsgroupName, IpmDafEntryid, IpmFavoritesEntryid, IpmPublicFoldersEntryid, IsNewsgroup, IsNewsgroupAnchor, LastAccessTime, LastFullBackup, LastLogoffTime, LastLogonTime, LongtermEntryidFromTable, MessageProcessed, MessageSiteName, MoveToFolderEntryid, MoveToStoreEntryid, MsgBodyId, MtsSubjectId, NewSubsGetAutoAdd, NewsfeedInfo, NewsgroupComponent, NewsgroupRootFolderEntryid, NntpArticleFolderEntryid, NntpControlFolderEntryid, NonIpmSubtreeEntryid, NormalMessageSize, NormalMessageSizeExtended, NormalMsgWAttachCount, NtUserName, OfflineAddrbookEntryid, OfflineFlags, OfflineMessageEntryid, OldestDeletedOn, OriginatorAddr, OriginatorAddrtype, OriginatorEntryid, OriginatorName, OstEncryption, OutboundNewsfeedDn, OverallAgeLimit, OverallMsgAgeLimit, OwaUrl, OwnerCount, P1Content, P1ContentType, PreventMsgCreate, Preview, PreviewUnread, ProfileAbFilesPath, ProfileAddrInfo, ProfileAllpubComment, ProfileAllpubDisplayName, ProfileBindingOrder, ProfileConfigFlags, ProfileConnectFlags, ProfileFavfldComment, ProfileFavfldDisplayName, ProfileHomeServer, ProfileHomeServerAddrs, ProfileHomeServerDn, ProfileMailbox, ProfileMaxRestrict, ProfileMoab, ProfileMoabGuid, ProfileMoabSeq, ProfileOfflineInfo, ProfileOfflineStorePath, ProfileOpenFlags, ProfileOptionsData, ProfileSecureMailbox, ProfileServer, ProfileServerDn, ProfileTransportFlags, ProfileType, ProfileUiState, ProfileUnresolvedName, ProfileUnresolvedServer, ProfileUser, ProfileVersion, PstEncryption, PstPath, PstPwSzOld, PstRememberPw, PublicFolderEntryid, PublishInAddressBook, RecipientNumber, RecipientOnAssocMsgCount, RecipientOnNormalMsgCount, ReplicaList, ReplicaServer, ReplicaVersion, ReplicationAlwaysInterval, ReplicationMessagePriority, ReplicationMsgSize, ReplicationSchedule, ReplicationStyle, ReplyRecipientSmtpProxies, ReportDestinationEntryid, ReportDestinationName, RestrictionCount, RetentionAgeLimit, RuleTriggerHistory, RulesData, RulesTable, ScheduleFolderEntryid, SecureInSite, SecureOrigination, StorageLimitInformation, StorageQuotaLimit, StoreOffline, StoreSlowlink, SubjectTraceInfo, SvrGeneratingQuotaMsg, SynchronizeFlags, SysConfigFolderEntryid, TestLineSpeed, TraceInfo, TransferEnabled, UserName, X400EnvelopeType, AbDefaultDir, AbDefaultPab, AbProviderId, AbProviders, AbSearchPath, AbSearchPathUpdate, AlternateRecipient, AssocContentCount, AttachmentX400Parameters, AuthorizingUsers, BodyCrc, CommonViewsEntryid, ContactAddrtypes, ContactDefaultAddressIndex, ContactEmailAddresses, ContactEntryids, ContactVersion, ContainerModifyVersion, ContentConfidentialityAlgorithmId, ContentCorrelator, ContentIdentifier, ContentIntegrityCheck, ContentLength, ContentReturnRequested, ContentsSortOrder, ControlFlags, ControlId, ControlStructure, ControlType, ConversationKey, ConversionEits, ConversionProhibited, ConversionWithLossProhibited, ConvertedEits, Correlate, CorrelateMtsid, CreateTemplates, CreationVersion, ExCurrentVersion, DefCreateDl, DefCreateMailuser, DefaultProfile, DefaultStore, DefaultViewEntryid, Delegation, DeliveryPoint, Deltax, Deltay, DetailsTable, DiscVal, DiscardReason, DiscloseRecipients, DisclosureOfRecipients, DiscreteValues, DlExpansionHistory, DlExpansionProhibited, ExplicitConversion, FilteringHooks, FinderEntryid, FormCategory, FormCategorySub, FormClsid, FormContactName, FormDesignerGuid, FormDesignerName, FormHidden, FormHostMap, FormMessageBehavior, FormVersion, HeaderFolderEntryid, Icon, IdentityDisplay, IdentityEntryid, IdentitySearchKey, ImplicitConversionProhibited, IncompleteCopy, InternetApproved, InternetArticleNumber, InternetControl, InternetDistribution, InternetFollowupTo, InternetLines, InternetNewsgroups, InternetNntpPath, InternetOrganization, InternetPrecedence, IpmId, IpmOutboxEntryid, IpmOutboxSearchKey, IpmReturnRequested, IpmSentmailEntryid, IpmSentmailSearchKey, IpmSubtreeEntryid, IpmSubtreeSearchKey, IpmWastebasketEntryid, IpmWastebasketSearchKey, Languages, LatestDeliveryTime, MailPermission, MdbProvider, MessageDeliveryId, MessageDownloadTime, MessageSecurityLabel, MessageToken, MiniIcon, ModifyVersion, NewsgroupName, NntpXref, NonReceiptReason, ObsoletedIpms, OriginCheck, OriginalAuthorAddrtype, OriginalAuthorEmailAddress, OriginalAuthorSearchKey, OriginalDisplayName, OriginalEits, OriginalSearchKey, OriginallyIntendedRecipAddrtype, OriginallyIntendedRecipEmailAddress, OriginallyIntendedRecipEntryid, OriginallyIntendedRecipientName, OriginatingMtaCertificate, OriginatorAndDlExpansionHistory, OriginatorCertificate, OriginatorRequestedAlternateRecipient, OriginatorReturnAddress, OwnStoreEntryid, ParentDisplay, PhysicalDeliveryBureauFaxDelivery, PhysicalDeliveryMode, PhysicalDeliveryReportRequest, PhysicalForwardingAddress, PhysicalForwardingAddressRequested, PhysicalForwardingProhibited, PhysicalRenditionAttributes, PostFolderEntries, PostFolderNames, PostReplyDenied, PostReplyFolderEntries, PostReplyFolderNames, Preprocess, PrimaryCapability, ProfileName, ProofOfDelivery, ProofOfDeliveryRequested, ProofOfSubmission, ProofOfSubmissionRequested, ProviderDisplay, ProviderDllName, ProviderOrdinal, ProviderSubmitTime, ProviderUid, ReceiveFolderSettings, RecipientCertificate, RecipientNumberForAdvice, RecipientStatus, RedirectionHistory, RegisteredMailType, RelatedIpms, RemoteProgress, RemoteProgressText, RemoteValidateOk, ReportingDlName, ReportingMtaCertificate, RequestedDeliveryMethod, ResourceFlags, ResourceMethods, ResourcePath, ResourceType, ReturnedIpm, RtfSyncBodyCount, RtfSyncBodyCrc, RtfSyncBodyTag, RtfSyncPrefixCount, RtfSyncTrailingCount, Search, ExSecurity, SentmailEntryid, ServiceDeleteFiles, ServiceDllName, ServiceEntryName, ServiceExtraUids, ServiceName, ServiceSupportFiles, ServiceUid, Services, SpoolerStatus, Status, StatusCode, StatusString, StoreProviders, StoreRecordKey, SubjectIpm, SubmitFlags, Supersedes, TransportKey, TransportProviders, TransportStatus, TypeOfMtsUser, ValidFolderMask, ViewsEntryid, X400ContentType, X400DeferredDeliveryCancel, Xpos, Ypos :param name: The name of this MapiKnownPropertyDescriptor. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py index 424df37..630f8cc 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_legacy_free_busy_property_dto.py @@ -57,13 +57,11 @@ class MapiLegacyFreeBusyPropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: str = None): """ Mapi property with LegacyFreeBusyType value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Represents the free/busy status for a calendar event. Enum, available values: Free, Tentative, Busy, Oof, WorkingElsewhere, NoData :type value: str """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> str: - """Gets the value of this MapiLegacyFreeBusyPropertyDto. - + """ Represents the free/busy status for a calendar event. Enum, available values: Free, Tentative, Busy, Oof, WorkingElsewhere, NoData :return: The value of this MapiLegacyFreeBusyPropertyDto. @@ -91,8 +87,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this MapiLegacyFreeBusyPropertyDto. - + """ Represents the free/busy status for a calendar event. Enum, available values: Free, Tentative, Busy, Oof, WorkingElsewhere, NoData :param value: The value of this MapiLegacyFreeBusyPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py index ac38339..68f36e0 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py @@ -71,10 +71,10 @@ def __init__(self, format: str = None, value: MapiMessageDto = None): if value is not None: self.value = value + @property def format(self) -> str: - """Gets the format of this MapiMessageAsFileRequest. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :return: The format of this MapiMessageAsFileRequest. @@ -84,8 +84,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this MapiMessageAsFileRequest. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :param format: The format of this MapiMessageAsFileRequest. @@ -97,8 +96,7 @@ def format(self, format: str): @property def value(self) -> MapiMessageDto: - """Gets the value of this MapiMessageAsFileRequest. - + """ MAPI message model. :return: The value of this MapiMessageAsFileRequest. @@ -108,8 +106,7 @@ def value(self) -> MapiMessageDto: @value.setter def value(self, value: MapiMessageDto): - """Sets the value of this MapiMessageAsFileRequest. - + """ MAPI message model. :param value: The value of this MapiMessageAsFileRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py index 9758862..2d109d6 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_dto.py @@ -137,7 +137,7 @@ class MapiMessageDto(MapiMessageItemBaseDto): 'transport_message_headers': 'transportMessageHeaders' } - def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, discriminator: str = None, message_body: str = None, client_submit_time: datetime = None, conversation_topic: str = None, delivery_time: datetime = None, display_bcc: str = None, display_cc: str = None, display_name: str = None, display_name_prefix: str = None, display_to: str = None, flags: List[str] = None, headers: Dict[str, str] = None, internet_message_id: str = None, message_format: str = None, normalized_subject: str = None, read_receipt_requested: bool = None, reply_to: str = None, sender_address_type: str = None, sender_email_address: str = None, sender_name: str = None, sender_smtp_address: str = None, sent_representing_address_type: str = None, sent_representing_email_address: str = None, sent_representing_name: str = None, sent_representing_smtp_address: str = None, transport_message_headers: str = None): + def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, message_body: str = None, client_submit_time: datetime = None, conversation_topic: str = None, delivery_time: datetime = None, display_bcc: str = None, display_cc: str = None, display_name: str = None, display_name_prefix: str = None, display_to: str = None, flags: List[str] = None, headers: Dict[str, str] = None, internet_message_id: str = None, message_format: str = None, normalized_subject: str = None, read_receipt_requested: bool = None, reply_to: str = None, sender_address_type: str = None, sender_email_address: str = None, sender_name: str = None, sender_smtp_address: str = None, sent_representing_address_type: str = None, sent_representing_email_address: str = None, sent_representing_name: str = None, sent_representing_smtp_address: str = None, transport_message_headers: str = None): """ Represents an Outlook Message format document. :param attachments: Message item attachments. @@ -172,8 +172,6 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N :type subject_prefix: str :param properties: List of MAPI properties :type properties: List[MapiPropertyDto] - :param discriminator: - :type discriminator: str :param message_body: Message text :type message_body: str :param client_submit_time: Date and time the message sender submitted a message. @@ -285,8 +283,6 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N self.subject_prefix = subject_prefix if properties is not None: self.properties = properties - if discriminator is not None: - self.discriminator = discriminator if message_body is not None: self.message_body = message_body if client_submit_time is not None: @@ -338,10 +334,10 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N if transport_message_headers is not None: self.transport_message_headers = transport_message_headers + @property def message_body(self) -> str: - """Gets the message_body of this MapiMessageDto. - + """ Message text :return: The message_body of this MapiMessageDto. @@ -351,8 +347,7 @@ def message_body(self) -> str: @message_body.setter def message_body(self, message_body: str): - """Sets the message_body of this MapiMessageDto. - + """ Message text :param message_body: The message_body of this MapiMessageDto. @@ -362,8 +357,7 @@ def message_body(self, message_body: str): @property def client_submit_time(self) -> datetime: - """Gets the client_submit_time of this MapiMessageDto. - + """ Date and time the message sender submitted a message. :return: The client_submit_time of this MapiMessageDto. @@ -373,8 +367,7 @@ def client_submit_time(self) -> datetime: @client_submit_time.setter def client_submit_time(self, client_submit_time: datetime): - """Sets the client_submit_time of this MapiMessageDto. - + """ Date and time the message sender submitted a message. :param client_submit_time: The client_submit_time of this MapiMessageDto. @@ -386,8 +379,7 @@ def client_submit_time(self, client_submit_time: datetime): @property def conversation_topic(self) -> str: - """Gets the conversation_topic of this MapiMessageDto. - + """ Topic of the first message in a conversation thread. :return: The conversation_topic of this MapiMessageDto. @@ -397,8 +389,7 @@ def conversation_topic(self) -> str: @conversation_topic.setter def conversation_topic(self, conversation_topic: str): - """Sets the conversation_topic of this MapiMessageDto. - + """ Topic of the first message in a conversation thread. :param conversation_topic: The conversation_topic of this MapiMessageDto. @@ -408,8 +399,7 @@ def conversation_topic(self, conversation_topic: str): @property def delivery_time(self) -> datetime: - """Gets the delivery_time of this MapiMessageDto. - + """ Date and time a message was delivered. :return: The delivery_time of this MapiMessageDto. @@ -419,8 +409,7 @@ def delivery_time(self) -> datetime: @delivery_time.setter def delivery_time(self, delivery_time: datetime): - """Sets the delivery_time of this MapiMessageDto. - + """ Date and time a message was delivered. :param delivery_time: The delivery_time of this MapiMessageDto. @@ -432,8 +421,7 @@ def delivery_time(self, delivery_time: datetime): @property def display_bcc(self) -> str: - """Gets the display_bcc of this MapiMessageDto. - + """ List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;). :return: The display_bcc of this MapiMessageDto. @@ -443,8 +431,7 @@ def display_bcc(self) -> str: @display_bcc.setter def display_bcc(self, display_bcc: str): - """Sets the display_bcc of this MapiMessageDto. - + """ List of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;). :param display_bcc: The display_bcc of this MapiMessageDto. @@ -454,8 +441,7 @@ def display_bcc(self, display_bcc: str): @property def display_cc(self) -> str: - """Gets the display_cc of this MapiMessageDto. - + """ List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;). :return: The display_cc of this MapiMessageDto. @@ -465,8 +451,7 @@ def display_cc(self) -> str: @display_cc.setter def display_cc(self, display_cc: str): - """Sets the display_cc of this MapiMessageDto. - + """ List of the display names of any carbon copy (CC) message recipients, separated by semicolons (;). :param display_cc: The display_cc of this MapiMessageDto. @@ -476,8 +461,7 @@ def display_cc(self, display_cc: str): @property def display_name(self) -> str: - """Gets the display_name of this MapiMessageDto. - + """ Display name for the message. :return: The display_name of this MapiMessageDto. @@ -487,8 +471,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this MapiMessageDto. - + """ Display name for the message. :param display_name: The display_name of this MapiMessageDto. @@ -498,8 +481,7 @@ def display_name(self, display_name: str): @property def display_name_prefix(self) -> str: - """Gets the display_name_prefix of this MapiMessageDto. - + """ Prefix of the display name. :return: The display_name_prefix of this MapiMessageDto. @@ -509,8 +491,7 @@ def display_name_prefix(self) -> str: @display_name_prefix.setter def display_name_prefix(self, display_name_prefix: str): - """Sets the display_name_prefix of this MapiMessageDto. - + """ Prefix of the display name. :param display_name_prefix: The display_name_prefix of this MapiMessageDto. @@ -520,8 +501,7 @@ def display_name_prefix(self, display_name_prefix: str): @property def display_to(self) -> str: - """Gets the display_to of this MapiMessageDto. - + """ List of the display names of the primary (To) message recipients, separated by semicolons (;). :return: The display_to of this MapiMessageDto. @@ -531,8 +511,7 @@ def display_to(self) -> str: @display_to.setter def display_to(self, display_to: str): - """Sets the display_to of this MapiMessageDto. - + """ List of the display names of the primary (To) message recipients, separated by semicolons (;). :param display_to: The display_to of this MapiMessageDto. @@ -542,8 +521,7 @@ def display_to(self, display_to: str): @property def flags(self) -> List[str]: - """Gets the flags of this MapiMessageDto. - + """ Message flags. Items: Mapi message flags. Enum, available values: MsgFlagZero, MsgFlagRead, MsgFlagUnmodified, MsgFlagSubmit, MsgFlagUnsent, MsgFlagHasAttach, MsgFlagFromMe, MsgFlagAssociated, MsgFlagResend, MsgFlagNotifyRead, MsgFlagNotifyUnread, MsgFlagEverRead, MsgFlagOriginX400, MsgFlagOriginInternet, MsgFlagOriginMiscExt :return: The flags of this MapiMessageDto. @@ -553,8 +531,7 @@ def flags(self) -> List[str]: @flags.setter def flags(self, flags: List[str]): - """Sets the flags of this MapiMessageDto. - + """ Message flags. Items: Mapi message flags. Enum, available values: MsgFlagZero, MsgFlagRead, MsgFlagUnmodified, MsgFlagSubmit, MsgFlagUnsent, MsgFlagHasAttach, MsgFlagFromMe, MsgFlagAssociated, MsgFlagResend, MsgFlagNotifyRead, MsgFlagNotifyUnread, MsgFlagEverRead, MsgFlagOriginX400, MsgFlagOriginInternet, MsgFlagOriginMiscExt :param flags: The flags of this MapiMessageDto. @@ -564,8 +541,7 @@ def flags(self, flags: List[str]): @property def headers(self) -> Dict[str, str]: - """Gets the headers of this MapiMessageDto. - + """ Transport message headers :return: The headers of this MapiMessageDto. @@ -575,8 +551,7 @@ def headers(self) -> Dict[str, str]: @headers.setter def headers(self, headers: Dict[str, str]): - """Sets the headers of this MapiMessageDto. - + """ Transport message headers :param headers: The headers of this MapiMessageDto. @@ -586,8 +561,7 @@ def headers(self, headers: Dict[str, str]): @property def internet_message_id(self) -> str: - """Gets the internet_message_id of this MapiMessageDto. - + """ Internet message id of the message. :return: The internet_message_id of this MapiMessageDto. @@ -597,8 +571,7 @@ def internet_message_id(self) -> str: @internet_message_id.setter def internet_message_id(self, internet_message_id: str): - """Sets the internet_message_id of this MapiMessageDto. - + """ Internet message id of the message. :param internet_message_id: The internet_message_id of this MapiMessageDto. @@ -608,8 +581,7 @@ def internet_message_id(self, internet_message_id: str): @property def message_format(self) -> str: - """Gets the message_format of this MapiMessageDto. - + """ Represents outlook message format. Enum, available values: Ascii, Unicode :return: The message_format of this MapiMessageDto. @@ -619,8 +591,7 @@ def message_format(self) -> str: @message_format.setter def message_format(self, message_format: str): - """Sets the message_format of this MapiMessageDto. - + """ Represents outlook message format. Enum, available values: Ascii, Unicode :param message_format: The message_format of this MapiMessageDto. @@ -632,8 +603,7 @@ def message_format(self, message_format: str): @property def normalized_subject(self) -> str: - """Gets the normalized_subject of this MapiMessageDto. - + """ Normalized subject of the message. :return: The normalized_subject of this MapiMessageDto. @@ -643,8 +613,7 @@ def normalized_subject(self) -> str: @normalized_subject.setter def normalized_subject(self, normalized_subject: str): - """Sets the normalized_subject of this MapiMessageDto. - + """ Normalized subject of the message. :param normalized_subject: The normalized_subject of this MapiMessageDto. @@ -654,8 +623,7 @@ def normalized_subject(self, normalized_subject: str): @property def read_receipt_requested(self) -> bool: - """Gets the read_receipt_requested of this MapiMessageDto. - + """ Value indicating whether the read receipt is requested. :return: The read_receipt_requested of this MapiMessageDto. @@ -665,8 +633,7 @@ def read_receipt_requested(self) -> bool: @read_receipt_requested.setter def read_receipt_requested(self, read_receipt_requested: bool): - """Sets the read_receipt_requested of this MapiMessageDto. - + """ Value indicating whether the read receipt is requested. :param read_receipt_requested: The read_receipt_requested of this MapiMessageDto. @@ -678,8 +645,7 @@ def read_receipt_requested(self, read_receipt_requested: bool): @property def reply_to(self) -> str: - """Gets the reply_to of this MapiMessageDto. - + """ Reply to names. :return: The reply_to of this MapiMessageDto. @@ -689,8 +655,7 @@ def reply_to(self) -> str: @reply_to.setter def reply_to(self, reply_to: str): - """Sets the reply_to of this MapiMessageDto. - + """ Reply to names. :param reply_to: The reply_to of this MapiMessageDto. @@ -700,8 +665,7 @@ def reply_to(self, reply_to: str): @property def sender_address_type(self) -> str: - """Gets the sender_address_type of this MapiMessageDto. - + """ Message sender's e-mail address type. :return: The sender_address_type of this MapiMessageDto. @@ -711,8 +675,7 @@ def sender_address_type(self) -> str: @sender_address_type.setter def sender_address_type(self, sender_address_type: str): - """Sets the sender_address_type of this MapiMessageDto. - + """ Message sender's e-mail address type. :param sender_address_type: The sender_address_type of this MapiMessageDto. @@ -722,8 +685,7 @@ def sender_address_type(self, sender_address_type: str): @property def sender_email_address(self) -> str: - """Gets the sender_email_address of this MapiMessageDto. - + """ Message sender's e-mail address. :return: The sender_email_address of this MapiMessageDto. @@ -733,8 +695,7 @@ def sender_email_address(self) -> str: @sender_email_address.setter def sender_email_address(self, sender_email_address: str): - """Sets the sender_email_address of this MapiMessageDto. - + """ Message sender's e-mail address. :param sender_email_address: The sender_email_address of this MapiMessageDto. @@ -744,8 +705,7 @@ def sender_email_address(self, sender_email_address: str): @property def sender_name(self) -> str: - """Gets the sender_name of this MapiMessageDto. - + """ Message sender's display name. :return: The sender_name of this MapiMessageDto. @@ -755,8 +715,7 @@ def sender_name(self) -> str: @sender_name.setter def sender_name(self, sender_name: str): - """Sets the sender_name of this MapiMessageDto. - + """ Message sender's display name. :param sender_name: The sender_name of this MapiMessageDto. @@ -766,8 +725,7 @@ def sender_name(self, sender_name: str): @property def sender_smtp_address(self) -> str: - """Gets the sender_smtp_address of this MapiMessageDto. - + """ Message sender's e-mail address. :return: The sender_smtp_address of this MapiMessageDto. @@ -777,8 +735,7 @@ def sender_smtp_address(self) -> str: @sender_smtp_address.setter def sender_smtp_address(self, sender_smtp_address: str): - """Sets the sender_smtp_address of this MapiMessageDto. - + """ Message sender's e-mail address. :param sender_smtp_address: The sender_smtp_address of this MapiMessageDto. @@ -788,8 +745,7 @@ def sender_smtp_address(self, sender_smtp_address: str): @property def sent_representing_address_type(self) -> str: - """Gets the sent_representing_address_type of this MapiMessageDto. - + """ Address type for the messaging user represented by the sender. :return: The sent_representing_address_type of this MapiMessageDto. @@ -799,8 +755,7 @@ def sent_representing_address_type(self) -> str: @sent_representing_address_type.setter def sent_representing_address_type(self, sent_representing_address_type: str): - """Sets the sent_representing_address_type of this MapiMessageDto. - + """ Address type for the messaging user represented by the sender. :param sent_representing_address_type: The sent_representing_address_type of this MapiMessageDto. @@ -810,8 +765,7 @@ def sent_representing_address_type(self, sent_representing_address_type: str): @property def sent_representing_email_address(self) -> str: - """Gets the sent_representing_email_address of this MapiMessageDto. - + """ E-mail address for the messaging user represented by the sender. :return: The sent_representing_email_address of this MapiMessageDto. @@ -821,8 +775,7 @@ def sent_representing_email_address(self) -> str: @sent_representing_email_address.setter def sent_representing_email_address(self, sent_representing_email_address: str): - """Sets the sent_representing_email_address of this MapiMessageDto. - + """ E-mail address for the messaging user represented by the sender. :param sent_representing_email_address: The sent_representing_email_address of this MapiMessageDto. @@ -832,8 +785,7 @@ def sent_representing_email_address(self, sent_representing_email_address: str): @property def sent_representing_name(self) -> str: - """Gets the sent_representing_name of this MapiMessageDto. - + """ Display name for the messaging user represented by the sender. :return: The sent_representing_name of this MapiMessageDto. @@ -843,8 +795,7 @@ def sent_representing_name(self) -> str: @sent_representing_name.setter def sent_representing_name(self, sent_representing_name: str): - """Sets the sent_representing_name of this MapiMessageDto. - + """ Display name for the messaging user represented by the sender. :param sent_representing_name: The sent_representing_name of this MapiMessageDto. @@ -854,8 +805,7 @@ def sent_representing_name(self, sent_representing_name: str): @property def sent_representing_smtp_address(self) -> str: - """Gets the sent_representing_smtp_address of this MapiMessageDto. - + """ E-mail address for the messaging user represented by the sender. :return: The sent_representing_smtp_address of this MapiMessageDto. @@ -865,8 +815,7 @@ def sent_representing_smtp_address(self) -> str: @sent_representing_smtp_address.setter def sent_representing_smtp_address(self, sent_representing_smtp_address: str): - """Sets the sent_representing_smtp_address of this MapiMessageDto. - + """ E-mail address for the messaging user represented by the sender. :param sent_representing_smtp_address: The sent_representing_smtp_address of this MapiMessageDto. @@ -876,8 +825,7 @@ def sent_representing_smtp_address(self, sent_representing_smtp_address: str): @property def transport_message_headers(self) -> str: - """Gets the transport_message_headers of this MapiMessageDto. - + """ Transport-specific message envelope information. :return: The transport_message_headers of this MapiMessageDto. @@ -887,8 +835,7 @@ def transport_message_headers(self) -> str: @transport_message_headers.setter def transport_message_headers(self, transport_message_headers: str): - """Sets the transport_message_headers of this MapiMessageDto. - + """ Transport-specific message envelope information. :param transport_message_headers: The transport_message_headers of this MapiMessageDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py index 3a57294..6c4a60b 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_item_base_dto.py @@ -86,7 +86,7 @@ class MapiMessageItemBaseDto(object): 'discriminator': 'discriminator' } - def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None, discriminator: str = None): + def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = None, body: str = None, body_html: str = None, body_rtf: str = None, body_type: str = None, categories: List[str] = None, companies: List[str] = None, item_id: str = None, message_class: str = None, mileage: str = None, recipients: List[MapiRecipientDto] = None, sensitivity: str = None, subject: str = None, subject_prefix: str = None, properties: List[MapiPropertyDto] = None): """ Base Dto for MapiMessage, MapiCalendar or MapiContact :param attachments: Message item attachments. @@ -121,8 +121,6 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N :type subject_prefix: str :param properties: List of MAPI properties :type properties: List[MapiPropertyDto] - :param discriminator: - :type discriminator: str """ self._attachments = None @@ -141,7 +139,6 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N self._subject = None self._subject_prefix = None self._properties = None - self._discriminator = self.__class__.__name__ if attachments is not None: self.attachments = attachments @@ -175,13 +172,11 @@ def __init__(self, attachments: List[MapiAttachmentDto] = None, billing: str = N self.subject_prefix = subject_prefix if properties is not None: self.properties = properties - if discriminator is not None: - self.discriminator = discriminator + @property def attachments(self) -> List[MapiAttachmentDto]: - """Gets the attachments of this MapiMessageItemBaseDto. - + """ Message item attachments. :return: The attachments of this MapiMessageItemBaseDto. @@ -191,8 +186,7 @@ def attachments(self) -> List[MapiAttachmentDto]: @attachments.setter def attachments(self, attachments: List[MapiAttachmentDto]): - """Sets the attachments of this MapiMessageItemBaseDto. - + """ Message item attachments. :param attachments: The attachments of this MapiMessageItemBaseDto. @@ -202,8 +196,7 @@ def attachments(self, attachments: List[MapiAttachmentDto]): @property def billing(self) -> str: - """Gets the billing of this MapiMessageItemBaseDto. - + """ Billing information associated with an item. :return: The billing of this MapiMessageItemBaseDto. @@ -213,8 +206,7 @@ def billing(self) -> str: @billing.setter def billing(self, billing: str): - """Sets the billing of this MapiMessageItemBaseDto. - + """ Billing information associated with an item. :param billing: The billing of this MapiMessageItemBaseDto. @@ -224,8 +216,7 @@ def billing(self, billing: str): @property def body(self) -> str: - """Gets the body of this MapiMessageItemBaseDto. - + """ Message text. :return: The body of this MapiMessageItemBaseDto. @@ -235,8 +226,7 @@ def body(self) -> str: @body.setter def body(self, body: str): - """Sets the body of this MapiMessageItemBaseDto. - + """ Message text. :param body: The body of this MapiMessageItemBaseDto. @@ -246,8 +236,7 @@ def body(self, body: str): @property def body_html(self) -> str: - """Gets the body_html of this MapiMessageItemBaseDto. - + """ Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. :return: The body_html of this MapiMessageItemBaseDto. @@ -257,8 +246,7 @@ def body_html(self) -> str: @body_html.setter def body_html(self, body_html: str): - """Sets the body_html of this MapiMessageItemBaseDto. - + """ Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. :param body_html: The body_html of this MapiMessageItemBaseDto. @@ -268,8 +256,7 @@ def body_html(self, body_html: str): @property def body_rtf(self) -> str: - """Gets the body_rtf of this MapiMessageItemBaseDto. - + """ RTF formatted message text. :return: The body_rtf of this MapiMessageItemBaseDto. @@ -279,8 +266,7 @@ def body_rtf(self) -> str: @body_rtf.setter def body_rtf(self, body_rtf: str): - """Sets the body_rtf of this MapiMessageItemBaseDto. - + """ RTF formatted message text. :param body_rtf: The body_rtf of this MapiMessageItemBaseDto. @@ -290,8 +276,7 @@ def body_rtf(self, body_rtf: str): @property def body_type(self) -> str: - """Gets the body_type of this MapiMessageItemBaseDto. - + """ The content type of message body. Enum, available values: PlainText, Html, Rtf :return: The body_type of this MapiMessageItemBaseDto. @@ -301,8 +286,7 @@ def body_type(self) -> str: @body_type.setter def body_type(self, body_type: str): - """Sets the body_type of this MapiMessageItemBaseDto. - + """ The content type of message body. Enum, available values: PlainText, Html, Rtf :param body_type: The body_type of this MapiMessageItemBaseDto. @@ -314,8 +298,7 @@ def body_type(self, body_type: str): @property def categories(self) -> List[str]: - """Gets the categories of this MapiMessageItemBaseDto. - + """ Contains keywords or categories for the message object. :return: The categories of this MapiMessageItemBaseDto. @@ -325,8 +308,7 @@ def categories(self) -> List[str]: @categories.setter def categories(self, categories: List[str]): - """Sets the categories of this MapiMessageItemBaseDto. - + """ Contains keywords or categories for the message object. :param categories: The categories of this MapiMessageItemBaseDto. @@ -336,8 +318,7 @@ def categories(self, categories: List[str]): @property def companies(self) -> List[str]: - """Gets the companies of this MapiMessageItemBaseDto. - + """ Contains the names of the companies that are associated with an item. :return: The companies of this MapiMessageItemBaseDto. @@ -347,8 +328,7 @@ def companies(self) -> List[str]: @companies.setter def companies(self, companies: List[str]): - """Sets the companies of this MapiMessageItemBaseDto. - + """ Contains the names of the companies that are associated with an item. :param companies: The companies of this MapiMessageItemBaseDto. @@ -358,8 +338,7 @@ def companies(self, companies: List[str]): @property def item_id(self) -> str: - """Gets the item_id of this MapiMessageItemBaseDto. - + """ The item id, uses with a server. :return: The item_id of this MapiMessageItemBaseDto. @@ -369,8 +348,7 @@ def item_id(self) -> str: @item_id.setter def item_id(self, item_id: str): - """Sets the item_id of this MapiMessageItemBaseDto. - + """ The item id, uses with a server. :param item_id: The item_id of this MapiMessageItemBaseDto. @@ -380,8 +358,7 @@ def item_id(self, item_id: str): @property def message_class(self) -> str: - """Gets the message_class of this MapiMessageItemBaseDto. - + """ Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. :return: The message_class of this MapiMessageItemBaseDto. @@ -391,8 +368,7 @@ def message_class(self) -> str: @message_class.setter def message_class(self, message_class: str): - """Sets the message_class of this MapiMessageItemBaseDto. - + """ Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. :param message_class: The message_class of this MapiMessageItemBaseDto. @@ -402,8 +378,7 @@ def message_class(self, message_class: str): @property def mileage(self) -> str: - """Gets the mileage of this MapiMessageItemBaseDto. - + """ Contains the mileage information that is associated with an item. :return: The mileage of this MapiMessageItemBaseDto. @@ -413,8 +388,7 @@ def mileage(self) -> str: @mileage.setter def mileage(self, mileage: str): - """Sets the mileage of this MapiMessageItemBaseDto. - + """ Contains the mileage information that is associated with an item. :param mileage: The mileage of this MapiMessageItemBaseDto. @@ -424,8 +398,7 @@ def mileage(self, mileage: str): @property def recipients(self) -> List[MapiRecipientDto]: - """Gets the recipients of this MapiMessageItemBaseDto. - + """ Recipients of the message. :return: The recipients of this MapiMessageItemBaseDto. @@ -435,8 +408,7 @@ def recipients(self) -> List[MapiRecipientDto]: @recipients.setter def recipients(self, recipients: List[MapiRecipientDto]): - """Sets the recipients of this MapiMessageItemBaseDto. - + """ Recipients of the message. :param recipients: The recipients of this MapiMessageItemBaseDto. @@ -446,8 +418,7 @@ def recipients(self, recipients: List[MapiRecipientDto]): @property def sensitivity(self) -> str: - """Gets the sensitivity of this MapiMessageItemBaseDto. - + """ Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential :return: The sensitivity of this MapiMessageItemBaseDto. @@ -457,8 +428,7 @@ def sensitivity(self) -> str: @sensitivity.setter def sensitivity(self, sensitivity: str): - """Sets the sensitivity of this MapiMessageItemBaseDto. - + """ Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential :param sensitivity: The sensitivity of this MapiMessageItemBaseDto. @@ -470,8 +440,7 @@ def sensitivity(self, sensitivity: str): @property def subject(self) -> str: - """Gets the subject of this MapiMessageItemBaseDto. - + """ Subject of the message. :return: The subject of this MapiMessageItemBaseDto. @@ -481,8 +450,7 @@ def subject(self) -> str: @subject.setter def subject(self, subject: str): - """Sets the subject of this MapiMessageItemBaseDto. - + """ Subject of the message. :param subject: The subject of this MapiMessageItemBaseDto. @@ -492,8 +460,7 @@ def subject(self, subject: str): @property def subject_prefix(self) -> str: - """Gets the subject_prefix of this MapiMessageItemBaseDto. - + """ Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. :return: The subject_prefix of this MapiMessageItemBaseDto. @@ -503,8 +470,7 @@ def subject_prefix(self) -> str: @subject_prefix.setter def subject_prefix(self, subject_prefix: str): - """Sets the subject_prefix of this MapiMessageItemBaseDto. - + """ Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding. :param subject_prefix: The subject_prefix of this MapiMessageItemBaseDto. @@ -514,8 +480,7 @@ def subject_prefix(self, subject_prefix: str): @property def properties(self) -> List[MapiPropertyDto]: - """Gets the properties of this MapiMessageItemBaseDto. - + """ List of MAPI properties :return: The properties of this MapiMessageItemBaseDto. @@ -525,8 +490,7 @@ def properties(self) -> List[MapiPropertyDto]: @properties.setter def properties(self, properties: List[MapiPropertyDto]): - """Sets the properties of this MapiMessageItemBaseDto. - + """ List of MAPI properties :param properties: The properties of this MapiMessageItemBaseDto. @@ -536,8 +500,8 @@ def properties(self, properties: List[MapiPropertyDto]): @property def discriminator(self) -> str: - """Gets the discriminator of this MapiMessageItemBaseDto. - + """ + Gets the discriminator of this MapiMessageItemBaseDto. :return: The discriminator of this MapiMessageItemBaseDto. :rtype: str @@ -546,15 +510,13 @@ def discriminator(self) -> str: @discriminator.setter def discriminator(self, discriminator: str): - """Sets the discriminator of this MapiMessageItemBaseDto. - + """ + Sets the discriminator of this MapiMessageItemBaseDto. :param discriminator: The discriminator of this MapiMessageItemBaseDto. :type: str """ - if discriminator is None: - raise ValueError("Invalid value for `discriminator`, must not be `None`") - self._discriminator = self.__class__.__name__ + pass # setter is ignored for discriminator property def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py index 5e500d6..18c6430 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py @@ -79,10 +79,10 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageD if format is not None: self.format = format + @property def format(self) -> str: - """Gets the format of this MapiMessageSaveRequest. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :return: The format of this MapiMessageSaveRequest. @@ -92,8 +92,7 @@ def format(self) -> str: @format.setter def format(self, format: str): - """Sets the format of this MapiMessageSaveRequest. - + """ Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef :param format: The format of this MapiMessageSaveRequest. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py index b77e114..eecbd0f 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_multi_int_property_dto.py @@ -57,13 +57,11 @@ class MapiMultiIntPropertyDto(MapiPropertyDto): 'values': 'values' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, values: List[int] = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, values: List[int] = None): """ Mapi property with Multiple Integer values :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param values: Property values :type values: List[int] """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if values is not None: self.values = values + @property def values(self) -> List[int]: - """Gets the values of this MapiMultiIntPropertyDto. - + """ Property values :return: The values of this MapiMultiIntPropertyDto. @@ -91,8 +87,7 @@ def values(self) -> List[int]: @values.setter def values(self, values: List[int]): - """Sets the values of this MapiMultiIntPropertyDto. - + """ Property values :param values: The values of this MapiMultiIntPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py index aeb26e7..a36b88e 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_multi_string_property_dto.py @@ -57,13 +57,11 @@ class MapiMultiStringPropertyDto(MapiPropertyDto): 'values': 'values' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, values: List[str] = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, values: List[str] = None): """ Mapi property with Multiple String values :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param values: Property values :type values: List[str] """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if values is not None: self.values = values + @property def values(self) -> List[str]: - """Gets the values of this MapiMultiStringPropertyDto. - + """ Property values :return: The values of this MapiMultiStringPropertyDto. @@ -91,8 +87,7 @@ def values(self) -> List[str]: @values.setter def values(self, values: List[str]): - """Sets the values of this MapiMultiStringPropertyDto. - + """ Property values :param values: The values of this MapiMultiStringPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py index f8d3a0f..b4831bd 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_physical_address_index_property_dto.py @@ -57,13 +57,11 @@ class MapiPhysicalAddressIndexPropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: str = None): """ Mapi property with PhysicalAddressIndexType value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Identifies the display types for physical addresses. Enum, available values: None, Home, Business, Other :type value: str """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> str: - """Gets the value of this MapiPhysicalAddressIndexPropertyDto. - + """ Identifies the display types for physical addresses. Enum, available values: None, Home, Business, Other :return: The value of this MapiPhysicalAddressIndexPropertyDto. @@ -91,8 +87,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this MapiPhysicalAddressIndexPropertyDto. - + """ Identifies the display types for physical addresses. Enum, available values: None, Home, Business, Other :param value: The value of this MapiPhysicalAddressIndexPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py index 119e3bd..07d54f3 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_lid_property_descriptor.py @@ -64,11 +64,9 @@ class MapiPidLidPropertyDescriptor(MapiPidPropertyDescriptor): 'property_set': 'propertySet' } - def __init__(self, discriminator: str = None, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, long_id: int = None, property_set: str = None): + def __init__(self, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, long_id: int = None, property_set: str = None): """ Property identified by an unsigned 32-bit quantity along with a property set - :param discriminator: - :type discriminator: str :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. :type canonical_name: str :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object @@ -86,9 +84,6 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t self._long_id = None self._property_set = None - - if discriminator is not None: - self.discriminator = discriminator if canonical_name is not None: self.canonical_name = canonical_name if data_type is not None: @@ -102,10 +97,10 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t if property_set is not None: self.property_set = property_set + @property def long_id(self) -> int: - """Gets the long_id of this MapiPidLidPropertyDescriptor. - + """ An unsigned 32-bit quantity that, along with the property set, identifies a named property. :return: The long_id of this MapiPidLidPropertyDescriptor. @@ -115,8 +110,7 @@ def long_id(self) -> int: @long_id.setter def long_id(self, long_id: int): - """Sets the long_id of this MapiPidLidPropertyDescriptor. - + """ An unsigned 32-bit quantity that, along with the property set, identifies a named property. :param long_id: The long_id of this MapiPidLidPropertyDescriptor. @@ -128,8 +122,7 @@ def long_id(self, long_id: int): @property def property_set(self) -> str: - """Gets the property_set of this MapiPidLidPropertyDescriptor. - + """ A GUID that identifies a group of properties with a similar purpose. :return: The property_set of this MapiPidLidPropertyDescriptor. @@ -139,8 +132,7 @@ def property_set(self) -> str: @property_set.setter def property_set(self, property_set: str): - """Sets the property_set of this MapiPidLidPropertyDescriptor. - + """ A GUID that identifies a group of properties with a similar purpose. :param property_set: The property_set of this MapiPidLidPropertyDescriptor. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py index 1388e8b..1e036f0 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_name_property_descriptor.py @@ -62,11 +62,9 @@ class MapiPidNamePropertyDescriptor(MapiPidPropertyDescriptor): 'property_set': 'propertySet' } - def __init__(self, discriminator: str = None, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, property_set: str = None): + def __init__(self, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, property_set: str = None): """ Property identified by a string name along with a property set - :param discriminator: - :type discriminator: str :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. :type canonical_name: str :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object @@ -81,9 +79,6 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t super(MapiPidNamePropertyDescriptor, self).__init__() self._property_set = None - - if discriminator is not None: - self.discriminator = discriminator if canonical_name is not None: self.canonical_name = canonical_name if data_type is not None: @@ -95,10 +90,10 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t if property_set is not None: self.property_set = property_set + @property def property_set(self) -> str: - """Gets the property_set of this MapiPidNamePropertyDescriptor. - + """ A GUID that identifies a group of properties with a similar purpose. :return: The property_set of this MapiPidNamePropertyDescriptor. @@ -108,8 +103,7 @@ def property_set(self) -> str: @property_set.setter def property_set(self, property_set: str): - """Sets the property_set of this MapiPidNamePropertyDescriptor. - + """ A GUID that identifies a group of properties with a similar purpose. :param property_set: The property_set of this MapiPidNamePropertyDescriptor. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py index 051454d..cd4572d 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_property_descriptor.py @@ -60,11 +60,9 @@ class MapiPidPropertyDescriptor(MapiPropertyDescriptor): 'name': 'name' } - def __init__(self, discriminator: str = None, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None): + def __init__(self, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None): """ Mapi pid property descriptor base class - :param discriminator: - :type discriminator: str :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. :type canonical_name: str :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object @@ -80,9 +78,6 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t self._data_type = None self._multiple_values_data_type = None self._name = None - - if discriminator is not None: - self.discriminator = discriminator if canonical_name is not None: self.canonical_name = canonical_name if data_type is not None: @@ -92,10 +87,10 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t if name is not None: self.name = name + @property def canonical_name(self) -> str: - """Gets the canonical_name of this MapiPidPropertyDescriptor. - + """ The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. :return: The canonical_name of this MapiPidPropertyDescriptor. @@ -105,8 +100,7 @@ def canonical_name(self) -> str: @canonical_name.setter def canonical_name(self, canonical_name: str): - """Sets the canonical_name of this MapiPidPropertyDescriptor. - + """ The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. :param canonical_name: The canonical_name of this MapiPidPropertyDescriptor. @@ -116,8 +110,7 @@ def canonical_name(self, canonical_name: str): @property def data_type(self) -> str: - """Gets the data_type of this MapiPidPropertyDescriptor. - + """ [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object :return: The data_type of this MapiPidPropertyDescriptor. @@ -127,8 +120,7 @@ def data_type(self) -> str: @data_type.setter def data_type(self, data_type: str): - """Sets the data_type of this MapiPidPropertyDescriptor. - + """ [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object :param data_type: The data_type of this MapiPidPropertyDescriptor. @@ -140,8 +132,7 @@ def data_type(self, data_type: str): @property def multiple_values_data_type(self) -> bool: - """Gets the multiple_values_data_type of this MapiPidPropertyDescriptor. - + """ Indicates if data type contains of multiple values :return: The multiple_values_data_type of this MapiPidPropertyDescriptor. @@ -151,8 +142,7 @@ def multiple_values_data_type(self) -> bool: @multiple_values_data_type.setter def multiple_values_data_type(self, multiple_values_data_type: bool): - """Sets the multiple_values_data_type of this MapiPidPropertyDescriptor. - + """ Indicates if data type contains of multiple values :param multiple_values_data_type: The multiple_values_data_type of this MapiPidPropertyDescriptor. @@ -164,8 +154,7 @@ def multiple_values_data_type(self, multiple_values_data_type: bool): @property def name(self) -> str: - """Gets the name of this MapiPidPropertyDescriptor. - + """ A string that identifies the property :return: The name of this MapiPidPropertyDescriptor. @@ -175,8 +164,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this MapiPidPropertyDescriptor. - + """ A string that identifies the property :param name: The name of this MapiPidPropertyDescriptor. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py index 2f02c74..19c49f2 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_pid_tag_property_descriptor.py @@ -64,11 +64,9 @@ class MapiPidTagPropertyDescriptor(MapiPidPropertyDescriptor): 'tag': 'tag' } - def __init__(self, discriminator: str = None, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, id: int = None, tag: int = None): + def __init__(self, canonical_name: str = None, data_type: str = None, multiple_values_data_type: bool = None, name: str = None, id: int = None, tag: int = None): """ A property that is defined by a 16-bit property ID and a 16-bit property type. The property ID for a tagged property is in the range 0x001 - 0x7FFF. Property IDs in the range 0x8000 - 0x8FFF are reserved for assignment to named properties - :param discriminator: - :type discriminator: str :param canonical_name: The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity. :type canonical_name: str :param data_type: [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Object @@ -86,9 +84,6 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t self._id = None self._tag = None - - if discriminator is not None: - self.discriminator = discriminator if canonical_name is not None: self.canonical_name = canonical_name if data_type is not None: @@ -102,10 +97,10 @@ def __init__(self, discriminator: str = None, canonical_name: str = None, data_t if tag is not None: self.tag = tag + @property def id(self) -> int: - """Gets the id of this MapiPidTagPropertyDescriptor. - + """ An unsigned 16-bit quantity that identifies a tagged property. Property IDs are not necessarily unique. With the exception of property IDs in the range from 0x6800 to 0x7BFF, the combination of property ID and data type are unique. Property IDs in the range from 0x6800 to 0x7BFF are defined by the message class. :return: The id of this MapiPidTagPropertyDescriptor. @@ -115,8 +110,7 @@ def id(self) -> int: @id.setter def id(self, id: int): - """Sets the id of this MapiPidTagPropertyDescriptor. - + """ An unsigned 16-bit quantity that identifies a tagged property. Property IDs are not necessarily unique. With the exception of property IDs in the range from 0x6800 to 0x7BFF, the combination of property ID and data type are unique. Property IDs in the range from 0x6800 to 0x7BFF are defined by the message class. :param id: The id of this MapiPidTagPropertyDescriptor. @@ -128,8 +122,7 @@ def id(self, id: int): @property def tag(self) -> int: - """Gets the tag of this MapiPidTagPropertyDescriptor. - + """ A property tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15. :return: The tag of this MapiPidTagPropertyDescriptor. @@ -139,8 +132,7 @@ def tag(self) -> int: @tag.setter def tag(self, tag: int): - """Sets the tag of this MapiPidTagPropertyDescriptor. - + """ A property tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15. :param tag: The tag of this MapiPidTagPropertyDescriptor. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py b/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py index 45581f6..16bbf31 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_property_descriptor.py @@ -50,22 +50,16 @@ class MapiPropertyDescriptor(object): 'discriminator': 'discriminator' } - def __init__(self, discriminator: str = None): + def __init__(self): """ Mapi property descriptor - :param discriminator: - :type discriminator: str """ - self._discriminator = self.__class__.__name__ - - if discriminator is not None: - self.discriminator = discriminator @property def discriminator(self) -> str: - """Gets the discriminator of this MapiPropertyDescriptor. - + """ + Gets the discriminator of this MapiPropertyDescriptor. :return: The discriminator of this MapiPropertyDescriptor. :rtype: str @@ -74,15 +68,13 @@ def discriminator(self) -> str: @discriminator.setter def discriminator(self, discriminator: str): - """Sets the discriminator of this MapiPropertyDescriptor. - + """ + Sets the discriminator of this MapiPropertyDescriptor. :param discriminator: The discriminator of this MapiPropertyDescriptor. :type: str """ - if discriminator is None: - raise ValueError("Invalid value for `discriminator`, must not be `None`") - self._discriminator = self.__class__.__name__ + pass # setter is ignored for discriminator property def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py index 50f42c3..e4fa0cb 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_property_dto.py @@ -54,27 +54,22 @@ class MapiPropertyDto(object): 'discriminator': 'discriminator' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None): """ Mapi property :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str """ self._descriptor = None - self._discriminator = self.__class__.__name__ if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator + @property def descriptor(self) -> MapiPropertyDescriptor: - """Gets the descriptor of this MapiPropertyDto. - + """ Property descriptor :return: The descriptor of this MapiPropertyDto. @@ -84,8 +79,7 @@ def descriptor(self) -> MapiPropertyDescriptor: @descriptor.setter def descriptor(self, descriptor: MapiPropertyDescriptor): - """Sets the descriptor of this MapiPropertyDto. - + """ Property descriptor :param descriptor: The descriptor of this MapiPropertyDto. @@ -95,8 +89,8 @@ def descriptor(self, descriptor: MapiPropertyDescriptor): @property def discriminator(self) -> str: - """Gets the discriminator of this MapiPropertyDto. - + """ + Gets the discriminator of this MapiPropertyDto. :return: The discriminator of this MapiPropertyDto. :rtype: str @@ -105,15 +99,13 @@ def discriminator(self) -> str: @discriminator.setter def discriminator(self, discriminator: str): - """Sets the discriminator of this MapiPropertyDto. - + """ + Sets the discriminator of this MapiPropertyDto. :param discriminator: The discriminator of this MapiPropertyDto. :type: str """ - if discriminator is None: - raise ValueError("Invalid value for `discriminator`, must not be `None`") - self._discriminator = self.__class__.__name__ + pass # setter is ignored for discriminator property def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py index 41ba07a..15afa30 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_recipient_dto.py @@ -83,10 +83,10 @@ def __init__(self, email_address: str = None, address_type: str = None, display_ if recipient_type is not None: self.recipient_type = recipient_type + @property def email_address(self) -> str: - """Gets the email_address of this MapiRecipientDto. - + """ Email address of the message recipient or sender. :return: The email_address of this MapiRecipientDto. @@ -96,8 +96,7 @@ def email_address(self) -> str: @email_address.setter def email_address(self, email_address: str): - """Sets the email_address of this MapiRecipientDto. - + """ Email address of the message recipient or sender. :param email_address: The email_address of this MapiRecipientDto. @@ -107,8 +106,7 @@ def email_address(self, email_address: str): @property def address_type(self) -> str: - """Gets the address_type of this MapiRecipientDto. - + """ Type of the address of the message recipient or sender. :return: The address_type of this MapiRecipientDto. @@ -118,8 +116,7 @@ def address_type(self) -> str: @address_type.setter def address_type(self, address_type: str): - """Sets the address_type of this MapiRecipientDto. - + """ Type of the address of the message recipient or sender. :param address_type: The address_type of this MapiRecipientDto. @@ -129,8 +126,7 @@ def address_type(self, address_type: str): @property def display_name(self) -> str: - """Gets the display_name of this MapiRecipientDto. - + """ Display name of the message recipient or sender. :return: The display_name of this MapiRecipientDto. @@ -140,8 +136,7 @@ def display_name(self) -> str: @display_name.setter def display_name(self, display_name: str): - """Sets the display_name of this MapiRecipientDto. - + """ Display name of the message recipient or sender. :param display_name: The display_name of this MapiRecipientDto. @@ -151,8 +146,7 @@ def display_name(self, display_name: str): @property def recipient_type(self) -> str: - """Gets the recipient_type of this MapiRecipientDto. - + """ Represent the PR_RECIPIENT_TYPE property which contains the recipient type for a message recipient. Enum, available values: Unknown, MapiBcc, MapiCc, MapiP1, MapiSubmitted, MapiTo :return: The recipient_type of this MapiRecipientDto. @@ -162,8 +156,7 @@ def recipient_type(self) -> str: @recipient_type.setter def recipient_type(self, recipient_type: str): - """Sets the recipient_type of this MapiRecipientDto. - + """ Represent the PR_RECIPIENT_TYPE property which contains the recipient type for a message recipient. Enum, available values: Unknown, MapiBcc, MapiCc, MapiP1, MapiSubmitted, MapiTo :param recipient_type: The recipient_type of this MapiRecipientDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py index 89c6dac..38d1910 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_response_type_property_dto.py @@ -57,13 +57,11 @@ class MapiResponseTypePropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: str = None): """ Mapi property with response type value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Represents the types of recipient responses that are received for a meeting. Enum, available values: Unknown, Organizer, Tentative, Accept, Decline, NoResponseReceived :type value: str """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> str: - """Gets the value of this MapiResponseTypePropertyDto. - + """ Represents the types of recipient responses that are received for a meeting. Enum, available values: Unknown, Organizer, Tentative, Accept, Decline, NoResponseReceived :return: The value of this MapiResponseTypePropertyDto. @@ -91,8 +87,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this MapiResponseTypePropertyDto. - + """ Represents the types of recipient responses that are received for a meeting. Enum, available values: Unknown, Organizer, Tentative, Accept, Decline, NoResponseReceived :param value: The value of this MapiResponseTypePropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py b/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py index 8bf7872..c668b96 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_string_property_dto.py @@ -57,13 +57,11 @@ class MapiStringPropertyDto(MapiPropertyDto): 'value': 'value' } - def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str = None, value: str = None): + def __init__(self, descriptor: MapiPropertyDescriptor = None, value: str = None): """ Mapi property with string value :param descriptor: Property descriptor :type descriptor: MapiPropertyDescriptor - :param discriminator: - :type discriminator: str :param value: Property value :type value: str """ @@ -73,15 +71,13 @@ def __init__(self, descriptor: MapiPropertyDescriptor = None, discriminator: str if descriptor is not None: self.descriptor = descriptor - if discriminator is not None: - self.discriminator = discriminator if value is not None: self.value = value + @property def value(self) -> str: - """Gets the value of this MapiStringPropertyDto. - + """ Property value :return: The value of this MapiStringPropertyDto. @@ -91,8 +87,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this MapiStringPropertyDto. - + """ Property value :param value: The value of this MapiStringPropertyDto. diff --git a/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py index 9411780..9f87499 100644 --- a/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/monthly_recurrence_pattern_dto.py @@ -66,7 +66,7 @@ class MonthlyRecurrencePatternDto(RecurrencePatternDto): 'start_position': 'startPosition' } - def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None, start_day: str = None, start_offset: int = None, start_position: str = None): + def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, start_day: str = None, start_offset: int = None, start_position: str = None): """ Monthly recurrence pattern. :param interval: Number of recurrence units. @@ -77,8 +77,6 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :type week_start: str - :param discriminator: - :type discriminator: str :param start_day: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :type start_day: str :param start_offset: Start offset. @@ -100,8 +98,6 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime self.end_date = end_date if week_start is not None: self.week_start = week_start - if discriminator is not None: - self.discriminator = discriminator if start_day is not None: self.start_day = start_day if start_offset is not None: @@ -109,10 +105,10 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime if start_position is not None: self.start_position = start_position + @property def start_day(self) -> str: - """Gets the start_day of this MonthlyRecurrencePatternDto. - + """ Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :return: The start_day of this MonthlyRecurrencePatternDto. @@ -122,8 +118,7 @@ def start_day(self) -> str: @start_day.setter def start_day(self, start_day: str): - """Sets the start_day of this MonthlyRecurrencePatternDto. - + """ Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :param start_day: The start_day of this MonthlyRecurrencePatternDto. @@ -135,8 +130,7 @@ def start_day(self, start_day: str): @property def start_offset(self) -> int: - """Gets the start_offset of this MonthlyRecurrencePatternDto. - + """ Start offset. :return: The start_offset of this MonthlyRecurrencePatternDto. @@ -146,8 +140,7 @@ def start_offset(self) -> int: @start_offset.setter def start_offset(self, start_offset: int): - """Sets the start_offset of this MonthlyRecurrencePatternDto. - + """ Start offset. :param start_offset: The start_offset of this MonthlyRecurrencePatternDto. @@ -159,8 +152,7 @@ def start_offset(self, start_offset: int): @property def start_position(self) -> str: - """Gets the start_position of this MonthlyRecurrencePatternDto. - + """ Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last :return: The start_position of this MonthlyRecurrencePatternDto. @@ -170,8 +162,7 @@ def start_position(self) -> str: @start_position.setter def start_position(self, start_position: str): - """Sets the start_position of this MonthlyRecurrencePatternDto. - + """ Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last :param start_position: The start_position of this MonthlyRecurrencePatternDto. diff --git a/sdk/AsposeEmailCloudSdk/models/name_value_pair.py b/sdk/AsposeEmailCloudSdk/models/name_value_pair.py index 15b1527..611e230 100644 --- a/sdk/AsposeEmailCloudSdk/models/name_value_pair.py +++ b/sdk/AsposeEmailCloudSdk/models/name_value_pair.py @@ -69,10 +69,10 @@ def __init__(self, name: str = None, value: str = None): if value is not None: self.value = value + @property def name(self) -> str: - """Gets the name of this NameValuePair. - + """ Property name :return: The name of this NameValuePair. @@ -82,8 +82,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this NameValuePair. - + """ Property name :param name: The name of this NameValuePair. @@ -93,8 +92,7 @@ def name(self, name: str): @property def value(self) -> str: - """Gets the value of this NameValuePair. - + """ Property value :return: The value of this NameValuePair. @@ -104,8 +102,7 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this NameValuePair. - + """ Property value :param value: The value of this NameValuePair. diff --git a/sdk/AsposeEmailCloudSdk/models/object_exist.py b/sdk/AsposeEmailCloudSdk/models/object_exist.py index 611958e..1c47b9f 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exist.py @@ -69,10 +69,10 @@ def __init__(self, exists: bool = None, is_folder: bool = None): if is_folder is not None: self.is_folder = is_folder + @property def exists(self) -> bool: - """Gets the exists of this ObjectExist. - + """ Indicates that the file or folder exists. :return: The exists of this ObjectExist. @@ -82,8 +82,7 @@ def exists(self) -> bool: @exists.setter def exists(self, exists: bool): - """Sets the exists of this ObjectExist. - + """ Indicates that the file or folder exists. :param exists: The exists of this ObjectExist. @@ -95,8 +94,7 @@ def exists(self, exists: bool): @property def is_folder(self) -> bool: - """Gets the is_folder of this ObjectExist. - + """ True if it is a folder, false if it is a file. :return: The is_folder of this ObjectExist. @@ -106,8 +104,7 @@ def is_folder(self) -> bool: @is_folder.setter def is_folder(self, is_folder: bool): - """Sets the is_folder of this ObjectExist. - + """ True if it is a folder, false if it is a file. :param is_folder: The is_folder of this ObjectExist. diff --git a/sdk/AsposeEmailCloudSdk/models/phone_number.py b/sdk/AsposeEmailCloudSdk/models/phone_number.py index da95a24..540d93a 100644 --- a/sdk/AsposeEmailCloudSdk/models/phone_number.py +++ b/sdk/AsposeEmailCloudSdk/models/phone_number.py @@ -78,10 +78,10 @@ def __init__(self, category: EnumWithCustomOfPhoneNumberCategory = None, number: if preferred is not None: self.preferred = preferred + @property def category(self) -> EnumWithCustomOfPhoneNumberCategory: - """Gets the category of this PhoneNumber. - + """ Phone number category. :return: The category of this PhoneNumber. @@ -91,8 +91,7 @@ def category(self) -> EnumWithCustomOfPhoneNumberCategory: @category.setter def category(self, category: EnumWithCustomOfPhoneNumberCategory): - """Sets the category of this PhoneNumber. - + """ Phone number category. :param category: The category of this PhoneNumber. @@ -102,8 +101,7 @@ def category(self, category: EnumWithCustomOfPhoneNumberCategory): @property def number(self) -> str: - """Gets the number of this PhoneNumber. - + """ Phone number. :return: The number of this PhoneNumber. @@ -113,8 +111,7 @@ def number(self) -> str: @number.setter def number(self, number: str): - """Sets the number of this PhoneNumber. - + """ Phone number. :param number: The number of this PhoneNumber. @@ -124,8 +121,7 @@ def number(self, number: str): @property def preferred(self) -> bool: - """Gets the preferred of this PhoneNumber. - + """ Defines whether phone number is preferred. :return: The preferred of this PhoneNumber. @@ -135,8 +131,7 @@ def preferred(self) -> bool: @preferred.setter def preferred(self, preferred: bool): - """Sets the preferred of this PhoneNumber. - + """ Defines whether phone number is preferred. :param preferred: The preferred of this PhoneNumber. diff --git a/sdk/AsposeEmailCloudSdk/models/postal_address.py b/sdk/AsposeEmailCloudSdk/models/postal_address.py index d6ca2ef..68c484a 100644 --- a/sdk/AsposeEmailCloudSdk/models/postal_address.py +++ b/sdk/AsposeEmailCloudSdk/models/postal_address.py @@ -134,10 +134,10 @@ def __init__(self, address: str = None, category: EnumWithCustomOfPostalAddressC if street is not None: self.street = street + @property def address(self) -> str: - """Gets the address of this PostalAddress. - + """ Address. :return: The address of this PostalAddress. @@ -147,8 +147,7 @@ def address(self) -> str: @address.setter def address(self, address: str): - """Sets the address of this PostalAddress. - + """ Address. :param address: The address of this PostalAddress. @@ -158,8 +157,7 @@ def address(self, address: str): @property def category(self) -> EnumWithCustomOfPostalAddressCategory: - """Gets the category of this PostalAddress. - + """ Address category. :return: The category of this PostalAddress. @@ -169,8 +167,7 @@ def category(self) -> EnumWithCustomOfPostalAddressCategory: @category.setter def category(self, category: EnumWithCustomOfPostalAddressCategory): - """Sets the category of this PostalAddress. - + """ Address category. :param category: The category of this PostalAddress. @@ -180,8 +177,7 @@ def category(self, category: EnumWithCustomOfPostalAddressCategory): @property def city(self) -> str: - """Gets the city of this PostalAddress. - + """ Address's city. :return: The city of this PostalAddress. @@ -191,8 +187,7 @@ def city(self) -> str: @city.setter def city(self, city: str): - """Sets the city of this PostalAddress. - + """ Address's city. :param city: The city of this PostalAddress. @@ -202,8 +197,7 @@ def city(self, city: str): @property def country(self) -> str: - """Gets the country of this PostalAddress. - + """ Address's country. :return: The country of this PostalAddress. @@ -213,8 +207,7 @@ def country(self) -> str: @country.setter def country(self, country: str): - """Sets the country of this PostalAddress. - + """ Address's country. :param country: The country of this PostalAddress. @@ -224,8 +217,7 @@ def country(self, country: str): @property def country_code(self) -> str: - """Gets the country_code of this PostalAddress. - + """ Country code. :return: The country_code of this PostalAddress. @@ -235,8 +227,7 @@ def country_code(self) -> str: @country_code.setter def country_code(self, country_code: str): - """Sets the country_code of this PostalAddress. - + """ Country code. :param country_code: The country_code of this PostalAddress. @@ -246,8 +237,7 @@ def country_code(self, country_code: str): @property def is_mailing_address(self) -> bool: - """Gets the is_mailing_address of this PostalAddress. - + """ Defines whether address may be used for mailing. :return: The is_mailing_address of this PostalAddress. @@ -257,8 +247,7 @@ def is_mailing_address(self) -> bool: @is_mailing_address.setter def is_mailing_address(self, is_mailing_address: bool): - """Sets the is_mailing_address of this PostalAddress. - + """ Defines whether address may be used for mailing. :param is_mailing_address: The is_mailing_address of this PostalAddress. @@ -270,8 +259,7 @@ def is_mailing_address(self, is_mailing_address: bool): @property def postal_code(self) -> str: - """Gets the postal_code of this PostalAddress. - + """ Postal code. :return: The postal_code of this PostalAddress. @@ -281,8 +269,7 @@ def postal_code(self) -> str: @postal_code.setter def postal_code(self, postal_code: str): - """Sets the postal_code of this PostalAddress. - + """ Postal code. :param postal_code: The postal_code of this PostalAddress. @@ -292,8 +279,7 @@ def postal_code(self, postal_code: str): @property def post_office_box(self) -> str: - """Gets the post_office_box of this PostalAddress. - + """ Post Office box. :return: The post_office_box of this PostalAddress. @@ -303,8 +289,7 @@ def post_office_box(self) -> str: @post_office_box.setter def post_office_box(self, post_office_box: str): - """Sets the post_office_box of this PostalAddress. - + """ Post Office box. :param post_office_box: The post_office_box of this PostalAddress. @@ -314,8 +299,7 @@ def post_office_box(self, post_office_box: str): @property def preferred(self) -> bool: - """Gets the preferred of this PostalAddress. - + """ Defines whether postal address is preferred. :return: The preferred of this PostalAddress. @@ -325,8 +309,7 @@ def preferred(self) -> bool: @preferred.setter def preferred(self, preferred: bool): - """Sets the preferred of this PostalAddress. - + """ Defines whether postal address is preferred. :param preferred: The preferred of this PostalAddress. @@ -338,8 +321,7 @@ def preferred(self, preferred: bool): @property def state_or_province(self) -> str: - """Gets the state_or_province of this PostalAddress. - + """ Address's region. :return: The state_or_province of this PostalAddress. @@ -349,8 +331,7 @@ def state_or_province(self) -> str: @state_or_province.setter def state_or_province(self, state_or_province: str): - """Sets the state_or_province of this PostalAddress. - + """ Address's region. :param state_or_province: The state_or_province of this PostalAddress. @@ -360,8 +341,7 @@ def state_or_province(self, state_or_province: str): @property def street(self) -> str: - """Gets the street of this PostalAddress. - + """ Address's street. :return: The street of this PostalAddress. @@ -371,8 +351,7 @@ def street(self) -> str: @street.setter def street(self, street: str): - """Sets the street of this PostalAddress. - + """ Address's street. :param street: The street of this PostalAddress. diff --git a/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py index 40d8657..e55c255 100644 --- a/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/recurrence_pattern_dto.py @@ -58,7 +58,7 @@ class RecurrencePatternDto(object): 'discriminator': 'discriminator' } - def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None): + def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None): """ iCalendar recurrence pattern. :param interval: Number of recurrence units. @@ -69,15 +69,12 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :type week_start: str - :param discriminator: - :type discriminator: str """ self._interval = None self._occurs = None self._end_date = None self._week_start = None - self._discriminator = self.__class__.__name__ if interval is not None: self.interval = interval @@ -87,13 +84,11 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime self.end_date = end_date if week_start is not None: self.week_start = week_start - if discriminator is not None: - self.discriminator = discriminator + @property def interval(self) -> int: - """Gets the interval of this RecurrencePatternDto. - + """ Number of recurrence units. :return: The interval of this RecurrencePatternDto. @@ -103,8 +98,7 @@ def interval(self) -> int: @interval.setter def interval(self, interval: int): - """Sets the interval of this RecurrencePatternDto. - + """ Number of recurrence units. :param interval: The interval of this RecurrencePatternDto. @@ -116,8 +110,7 @@ def interval(self, interval: int): @property def occurs(self) -> int: - """Gets the occurs of this RecurrencePatternDto. - + """ Number of occurrences of the recurrence pattern. :return: The occurs of this RecurrencePatternDto. @@ -127,8 +120,7 @@ def occurs(self) -> int: @occurs.setter def occurs(self, occurs: int): - """Sets the occurs of this RecurrencePatternDto. - + """ Number of occurrences of the recurrence pattern. :param occurs: The occurs of this RecurrencePatternDto. @@ -140,8 +132,7 @@ def occurs(self, occurs: int): @property def end_date(self) -> datetime: - """Gets the end_date of this RecurrencePatternDto. - + """ End date. :return: The end_date of this RecurrencePatternDto. @@ -151,8 +142,7 @@ def end_date(self) -> datetime: @end_date.setter def end_date(self, end_date: datetime): - """Sets the end_date of this RecurrencePatternDto. - + """ End date. :param end_date: The end_date of this RecurrencePatternDto. @@ -164,8 +154,7 @@ def end_date(self, end_date: datetime): @property def week_start(self) -> str: - """Gets the week_start of this RecurrencePatternDto. - + """ Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :return: The week_start of this RecurrencePatternDto. @@ -175,8 +164,7 @@ def week_start(self) -> str: @week_start.setter def week_start(self, week_start: str): - """Sets the week_start of this RecurrencePatternDto. - + """ Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :param week_start: The week_start of this RecurrencePatternDto. @@ -188,8 +176,8 @@ def week_start(self, week_start: str): @property def discriminator(self) -> str: - """Gets the discriminator of this RecurrencePatternDto. - + """ + Gets the discriminator of this RecurrencePatternDto. :return: The discriminator of this RecurrencePatternDto. :rtype: str @@ -198,15 +186,13 @@ def discriminator(self) -> str: @discriminator.setter def discriminator(self, discriminator: str): - """Sets the discriminator of this RecurrencePatternDto. - + """ + Sets the discriminator of this RecurrencePatternDto. :param discriminator: The discriminator of this RecurrencePatternDto. :type: str """ - if discriminator is None: - raise ValueError("Invalid value for `discriminator`, must not be `None`") - self._discriminator = self.__class__.__name__ + pass # setter is ignored for discriminator property def to_dict(self): """Returns the model properties as a dict""" diff --git a/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py b/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py index 6be4703..6b979b2 100644 --- a/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py +++ b/sdk/AsposeEmailCloudSdk/models/reminder_attendee.py @@ -62,10 +62,10 @@ def __init__(self, address: str = None): if address is not None: self.address = address + @property def address(self) -> str: - """Gets the address of this ReminderAttendee. - + """ Contains the email address. :return: The address of this ReminderAttendee. @@ -75,8 +75,7 @@ def address(self) -> str: @address.setter def address(self, address: str): - """Sets the address of this ReminderAttendee. - + """ Contains the email address. :param address: The address of this ReminderAttendee. diff --git a/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py b/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py index f1d06f9..cab3623 100644 --- a/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py +++ b/sdk/AsposeEmailCloudSdk/models/reminder_trigger.py @@ -76,10 +76,10 @@ def __init__(self, date_time: datetime = None, duration: int = None, related: st if related is not None: self.related = related + @property def date_time(self) -> datetime: - """Gets the date_time of this ReminderTrigger. - + """ A trigger set to an absolute date/time. :return: The date_time of this ReminderTrigger. @@ -89,8 +89,7 @@ def date_time(self) -> datetime: @date_time.setter def date_time(self, date_time: datetime): - """Sets the date_time of this ReminderTrigger. - + """ A trigger set to an absolute date/time. :param date_time: The date_time of this ReminderTrigger. @@ -102,8 +101,7 @@ def date_time(self, date_time: datetime): @property def duration(self) -> int: - """Gets the duration of this ReminderTrigger. - + """ Specifies a relative time in ticks for the trigger of the alarm. :return: The duration of this ReminderTrigger. @@ -113,8 +111,7 @@ def duration(self) -> int: @duration.setter def duration(self, duration: int): - """Sets the duration of this ReminderTrigger. - + """ Specifies a relative time in ticks for the trigger of the alarm. :param duration: The duration of this ReminderTrigger. @@ -124,8 +121,7 @@ def duration(self, duration: int): @property def related(self) -> str: - """Gets the related of this ReminderTrigger. - + """ Specify the relationship of the alarm trigger with respect to the start or end of the event. Enum, available values: Start, End :return: The related of this ReminderTrigger. @@ -135,8 +131,7 @@ def related(self) -> str: @related.setter def related(self, related: str): - """Sets the related of this ReminderTrigger. - + """ Specify the relationship of the alarm trigger with respect to the start or end of the event. Enum, available values: Start, End :param related: The related of this ReminderTrigger. diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exist.py b/sdk/AsposeEmailCloudSdk/models/storage_exist.py index 141d74b..b27b610 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exist.py @@ -62,10 +62,10 @@ def __init__(self, exists: bool = None): if exists is not None: self.exists = exists + @property def exists(self) -> bool: - """Gets the exists of this StorageExist. - + """ Shows that the storage exists. :return: The exists of this StorageExist. @@ -75,8 +75,7 @@ def exists(self) -> bool: @exists.setter def exists(self, exists: bool): - """Sets the exists of this StorageExist. - + """ Shows that the storage exists. :param exists: The exists of this StorageExist. diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file.py b/sdk/AsposeEmailCloudSdk/models/storage_file.py index 581cf61..c280d17 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file.py @@ -90,10 +90,10 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date if path is not None: self.path = path + @property def name(self) -> str: - """Gets the name of this StorageFile. - + """ File or folder name. :return: The name of this StorageFile. @@ -103,8 +103,7 @@ def name(self) -> str: @name.setter def name(self, name: str): - """Sets the name of this StorageFile. - + """ File or folder name. :param name: The name of this StorageFile. @@ -114,8 +113,7 @@ def name(self, name: str): @property def is_folder(self) -> bool: - """Gets the is_folder of this StorageFile. - + """ True if it is a folder. :return: The is_folder of this StorageFile. @@ -125,8 +123,7 @@ def is_folder(self) -> bool: @is_folder.setter def is_folder(self, is_folder: bool): - """Sets the is_folder of this StorageFile. - + """ True if it is a folder. :param is_folder: The is_folder of this StorageFile. @@ -138,8 +135,7 @@ def is_folder(self, is_folder: bool): @property def modified_date(self) -> datetime: - """Gets the modified_date of this StorageFile. - + """ File or folder last modified DateTime. :return: The modified_date of this StorageFile. @@ -149,8 +145,7 @@ def modified_date(self) -> datetime: @modified_date.setter def modified_date(self, modified_date: datetime): - """Sets the modified_date of this StorageFile. - + """ File or folder last modified DateTime. :param modified_date: The modified_date of this StorageFile. @@ -160,8 +155,7 @@ def modified_date(self, modified_date: datetime): @property def size(self) -> int: - """Gets the size of this StorageFile. - + """ File or folder size. :return: The size of this StorageFile. @@ -171,8 +165,7 @@ def size(self) -> int: @size.setter def size(self, size: int): - """Sets the size of this StorageFile. - + """ File or folder size. :param size: The size of this StorageFile. @@ -184,8 +177,7 @@ def size(self, size: int): @property def path(self) -> str: - """Gets the path of this StorageFile. - + """ File or folder path. :return: The path of this StorageFile. @@ -195,8 +187,7 @@ def path(self) -> str: @path.setter def path(self, path: str): - """Sets the path of this StorageFile. - + """ File or folder path. :param path: The path of this StorageFile. diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file_location.py b/sdk/AsposeEmailCloudSdk/models/storage_file_location.py index c4db09e..945795b 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file_location.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file_location.py @@ -77,10 +77,10 @@ def __init__(self, storage: str = None, folder_path: str = None, file_name: str if file_name is not None: self.file_name = file_name + @property def file_name(self) -> str: - """Gets the file_name of this StorageFileLocation. - + """ A file name in storage :return: The file_name of this StorageFileLocation. @@ -90,8 +90,7 @@ def file_name(self) -> str: @file_name.setter def file_name(self, file_name: str): - """Sets the file_name of this StorageFileLocation. - + """ A file name in storage :param file_name: The file_name of this StorageFileLocation. diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py b/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py index 53879af..d401f78 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file_location_list.py @@ -64,6 +64,7 @@ def __init__(self, value: List[StorageFileLocation] = None): if value is not None: self.value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py b/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py index 023e29d..6f608cc 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_folder_location.py @@ -69,10 +69,10 @@ def __init__(self, storage: str = None, folder_path: str = None): if folder_path is not None: self.folder_path = folder_path + @property def storage(self) -> str: - """Gets the storage of this StorageFolderLocation. - + """ A storage name :return: The storage of this StorageFolderLocation. @@ -82,8 +82,7 @@ def storage(self) -> str: @storage.setter def storage(self, storage: str): - """Sets the storage of this StorageFolderLocation. - + """ A storage name :param storage: The storage of this StorageFolderLocation. @@ -93,8 +92,7 @@ def storage(self, storage: str): @property def folder_path(self) -> str: - """Gets the folder_path of this StorageFolderLocation. - + """ A path to a folder in specified storage :return: The folder_path of this StorageFolderLocation. @@ -104,8 +102,7 @@ def folder_path(self) -> str: @folder_path.setter def folder_path(self, folder_path: str): - """Sets the folder_path of this StorageFolderLocation. - + """ A path to a folder in specified storage :param folder_path: The folder_path of this StorageFolderLocation. diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py index 549a05b..519bd69 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_calendar_dto.py @@ -72,10 +72,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: CalendarDto if value is not None: self.value = value + @property def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageModelOfCalendarDto. - + """ + Gets the storage_file of this StorageModelOfCalendarDto. :return: The storage_file of this StorageModelOfCalendarDto. :rtype: StorageFileLocation @@ -84,8 +85,8 @@ def storage_file(self) -> StorageFileLocation: @storage_file.setter def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageModelOfCalendarDto. - + """ + Sets the storage_file of this StorageModelOfCalendarDto. :param storage_file: The storage_file of this StorageModelOfCalendarDto. :type: StorageFileLocation @@ -96,8 +97,8 @@ def storage_file(self, storage_file: StorageFileLocation): @property def value(self) -> CalendarDto: - """Gets the value of this StorageModelOfCalendarDto. - + """ + Gets the value of this StorageModelOfCalendarDto. :return: The value of this StorageModelOfCalendarDto. :rtype: CalendarDto @@ -106,8 +107,8 @@ def value(self) -> CalendarDto: @value.setter def value(self, value: CalendarDto): - """Sets the value of this StorageModelOfCalendarDto. - + """ + Sets the value of this StorageModelOfCalendarDto. :param value: The value of this StorageModelOfCalendarDto. :type: CalendarDto diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py index 54ed0e1..030725b 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_contact_dto.py @@ -72,10 +72,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: ContactDto = if value is not None: self.value = value + @property def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageModelOfContactDto. - + """ + Gets the storage_file of this StorageModelOfContactDto. :return: The storage_file of this StorageModelOfContactDto. :rtype: StorageFileLocation @@ -84,8 +85,8 @@ def storage_file(self) -> StorageFileLocation: @storage_file.setter def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageModelOfContactDto. - + """ + Sets the storage_file of this StorageModelOfContactDto. :param storage_file: The storage_file of this StorageModelOfContactDto. :type: StorageFileLocation @@ -96,8 +97,8 @@ def storage_file(self, storage_file: StorageFileLocation): @property def value(self) -> ContactDto: - """Gets the value of this StorageModelOfContactDto. - + """ + Gets the value of this StorageModelOfContactDto. :return: The value of this StorageModelOfContactDto. :rtype: ContactDto @@ -106,8 +107,8 @@ def value(self) -> ContactDto: @value.setter def value(self, value: ContactDto): - """Sets the value of this StorageModelOfContactDto. - + """ + Sets the value of this StorageModelOfContactDto. :param value: The value of this StorageModelOfContactDto. :type: ContactDto diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py index c92c7f3..fce39de 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_account.py @@ -72,10 +72,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientA if value is not None: self.value = value + @property def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageModelOfEmailClientAccount. - + """ + Gets the storage_file of this StorageModelOfEmailClientAccount. :return: The storage_file of this StorageModelOfEmailClientAccount. :rtype: StorageFileLocation @@ -84,8 +85,8 @@ def storage_file(self) -> StorageFileLocation: @storage_file.setter def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageModelOfEmailClientAccount. - + """ + Sets the storage_file of this StorageModelOfEmailClientAccount. :param storage_file: The storage_file of this StorageModelOfEmailClientAccount. :type: StorageFileLocation @@ -96,8 +97,8 @@ def storage_file(self, storage_file: StorageFileLocation): @property def value(self) -> EmailClientAccount: - """Gets the value of this StorageModelOfEmailClientAccount. - + """ + Gets the value of this StorageModelOfEmailClientAccount. :return: The value of this StorageModelOfEmailClientAccount. :rtype: EmailClientAccount @@ -106,8 +107,8 @@ def value(self) -> EmailClientAccount: @value.setter def value(self, value: EmailClientAccount): - """Sets the value of this StorageModelOfEmailClientAccount. - + """ + Sets the value of this StorageModelOfEmailClientAccount. :param value: The value of this StorageModelOfEmailClientAccount. :type: EmailClientAccount diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py index 4ca1cf3..0323970 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_client_multi_account.py @@ -72,10 +72,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientM if value is not None: self.value = value + @property def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageModelOfEmailClientMultiAccount. - + """ + Gets the storage_file of this StorageModelOfEmailClientMultiAccount. :return: The storage_file of this StorageModelOfEmailClientMultiAccount. :rtype: StorageFileLocation @@ -84,8 +85,8 @@ def storage_file(self) -> StorageFileLocation: @storage_file.setter def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageModelOfEmailClientMultiAccount. - + """ + Sets the storage_file of this StorageModelOfEmailClientMultiAccount. :param storage_file: The storage_file of this StorageModelOfEmailClientMultiAccount. :type: StorageFileLocation @@ -96,8 +97,8 @@ def storage_file(self, storage_file: StorageFileLocation): @property def value(self) -> EmailClientMultiAccount: - """Gets the value of this StorageModelOfEmailClientMultiAccount. - + """ + Gets the value of this StorageModelOfEmailClientMultiAccount. :return: The value of this StorageModelOfEmailClientMultiAccount. :rtype: EmailClientMultiAccount @@ -106,8 +107,8 @@ def value(self) -> EmailClientMultiAccount: @value.setter def value(self, value: EmailClientMultiAccount): - """Sets the value of this StorageModelOfEmailClientMultiAccount. - + """ + Sets the value of this StorageModelOfEmailClientMultiAccount. :param value: The value of this StorageModelOfEmailClientMultiAccount. :type: EmailClientMultiAccount diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py index cc2375c..1274a24 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_email_dto.py @@ -72,10 +72,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = N if value is not None: self.value = value + @property def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageModelOfEmailDto. - + """ + Gets the storage_file of this StorageModelOfEmailDto. :return: The storage_file of this StorageModelOfEmailDto. :rtype: StorageFileLocation @@ -84,8 +85,8 @@ def storage_file(self) -> StorageFileLocation: @storage_file.setter def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageModelOfEmailDto. - + """ + Sets the storage_file of this StorageModelOfEmailDto. :param storage_file: The storage_file of this StorageModelOfEmailDto. :type: StorageFileLocation @@ -96,8 +97,8 @@ def storage_file(self, storage_file: StorageFileLocation): @property def value(self) -> EmailDto: - """Gets the value of this StorageModelOfEmailDto. - + """ + Gets the value of this StorageModelOfEmailDto. :return: The value of this StorageModelOfEmailDto. :rtype: EmailDto @@ -106,8 +107,8 @@ def value(self) -> EmailDto: @value.setter def value(self, value: EmailDto): - """Sets the value of this StorageModelOfEmailDto. - + """ + Sets the value of this StorageModelOfEmailDto. :param value: The value of this StorageModelOfEmailDto. :type: EmailDto diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py index 5b220f4..f03202f 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_calendar_dto.py @@ -72,10 +72,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiCalendar if value is not None: self.value = value + @property def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageModelOfMapiCalendarDto. - + """ + Gets the storage_file of this StorageModelOfMapiCalendarDto. :return: The storage_file of this StorageModelOfMapiCalendarDto. :rtype: StorageFileLocation @@ -84,8 +85,8 @@ def storage_file(self) -> StorageFileLocation: @storage_file.setter def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageModelOfMapiCalendarDto. - + """ + Sets the storage_file of this StorageModelOfMapiCalendarDto. :param storage_file: The storage_file of this StorageModelOfMapiCalendarDto. :type: StorageFileLocation @@ -96,8 +97,8 @@ def storage_file(self, storage_file: StorageFileLocation): @property def value(self) -> MapiCalendarDto: - """Gets the value of this StorageModelOfMapiCalendarDto. - + """ + Gets the value of this StorageModelOfMapiCalendarDto. :return: The value of this StorageModelOfMapiCalendarDto. :rtype: MapiCalendarDto @@ -106,8 +107,8 @@ def value(self) -> MapiCalendarDto: @value.setter def value(self, value: MapiCalendarDto): - """Sets the value of this StorageModelOfMapiCalendarDto. - + """ + Sets the value of this StorageModelOfMapiCalendarDto. :param value: The value of this StorageModelOfMapiCalendarDto. :type: MapiCalendarDto diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py index 9c5a0e4..32487db 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_contact_dto.py @@ -72,10 +72,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiContactD if value is not None: self.value = value + @property def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageModelOfMapiContactDto. - + """ + Gets the storage_file of this StorageModelOfMapiContactDto. :return: The storage_file of this StorageModelOfMapiContactDto. :rtype: StorageFileLocation @@ -84,8 +85,8 @@ def storage_file(self) -> StorageFileLocation: @storage_file.setter def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageModelOfMapiContactDto. - + """ + Sets the storage_file of this StorageModelOfMapiContactDto. :param storage_file: The storage_file of this StorageModelOfMapiContactDto. :type: StorageFileLocation @@ -96,8 +97,8 @@ def storage_file(self, storage_file: StorageFileLocation): @property def value(self) -> MapiContactDto: - """Gets the value of this StorageModelOfMapiContactDto. - + """ + Gets the value of this StorageModelOfMapiContactDto. :return: The value of this StorageModelOfMapiContactDto. :rtype: MapiContactDto @@ -106,8 +107,8 @@ def value(self) -> MapiContactDto: @value.setter def value(self, value: MapiContactDto): - """Sets the value of this StorageModelOfMapiContactDto. - + """ + Sets the value of this StorageModelOfMapiContactDto. :param value: The value of this StorageModelOfMapiContactDto. :type: MapiContactDto diff --git a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py index cf8bd5d..3a795b2 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_model_of_mapi_message_dto.py @@ -72,10 +72,11 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageD if value is not None: self.value = value + @property def storage_file(self) -> StorageFileLocation: - """Gets the storage_file of this StorageModelOfMapiMessageDto. - + """ + Gets the storage_file of this StorageModelOfMapiMessageDto. :return: The storage_file of this StorageModelOfMapiMessageDto. :rtype: StorageFileLocation @@ -84,8 +85,8 @@ def storage_file(self) -> StorageFileLocation: @storage_file.setter def storage_file(self, storage_file: StorageFileLocation): - """Sets the storage_file of this StorageModelOfMapiMessageDto. - + """ + Sets the storage_file of this StorageModelOfMapiMessageDto. :param storage_file: The storage_file of this StorageModelOfMapiMessageDto. :type: StorageFileLocation @@ -96,8 +97,8 @@ def storage_file(self, storage_file: StorageFileLocation): @property def value(self) -> MapiMessageDto: - """Gets the value of this StorageModelOfMapiMessageDto. - + """ + Gets the value of this StorageModelOfMapiMessageDto. :return: The value of this StorageModelOfMapiMessageDto. :rtype: MapiMessageDto @@ -106,8 +107,8 @@ def value(self) -> MapiMessageDto: @value.setter def value(self, value: MapiMessageDto): - """Sets the value of this StorageModelOfMapiMessageDto. - + """ + Sets the value of this StorageModelOfMapiMessageDto. :param value: The value of this StorageModelOfMapiMessageDto. :type: MapiMessageDto diff --git a/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py index ed7b1d1..3a5a4b9 100644 --- a/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/task_regenerating_pattern_dto.py @@ -62,7 +62,7 @@ class TaskRegeneratingPatternDto(RecurrencePatternDto): 'regenerating_type': 'regeneratingType' } - def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None, regenerating_type: str = None): + def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, regenerating_type: str = None): """ Represents the regenerating recurrence pattern that specifies how many days, weeks, months or years after the completion of the current task the next occurrence will be due. :param interval: Number of recurrence units. @@ -73,8 +73,6 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :type week_start: str - :param discriminator: - :type discriminator: str :param regenerating_type: Enumerates the types of regenerating pattern. Enum, available values: Daily, Weekly, Monthly, Yearly :type regenerating_type: str """ @@ -90,15 +88,13 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime self.end_date = end_date if week_start is not None: self.week_start = week_start - if discriminator is not None: - self.discriminator = discriminator if regenerating_type is not None: self.regenerating_type = regenerating_type + @property def regenerating_type(self) -> str: - """Gets the regenerating_type of this TaskRegeneratingPatternDto. - + """ Enumerates the types of regenerating pattern. Enum, available values: Daily, Weekly, Monthly, Yearly :return: The regenerating_type of this TaskRegeneratingPatternDto. @@ -108,8 +104,7 @@ def regenerating_type(self) -> str: @regenerating_type.setter def regenerating_type(self, regenerating_type: str): - """Sets the regenerating_type of this TaskRegeneratingPatternDto. - + """ Enumerates the types of regenerating pattern. Enum, available values: Daily, Weekly, Monthly, Yearly :param regenerating_type: The regenerating_type of this TaskRegeneratingPatternDto. diff --git a/sdk/AsposeEmailCloudSdk/models/url.py b/sdk/AsposeEmailCloudSdk/models/url.py index f647d82..890e6bb 100644 --- a/sdk/AsposeEmailCloudSdk/models/url.py +++ b/sdk/AsposeEmailCloudSdk/models/url.py @@ -78,10 +78,10 @@ def __init__(self, category: EnumWithCustomOfUrlCategory = None, preferred: bool if href is not None: self.href = href + @property def category(self) -> EnumWithCustomOfUrlCategory: - """Gets the category of this Url. - + """ Url category. :return: The category of this Url. @@ -91,8 +91,7 @@ def category(self) -> EnumWithCustomOfUrlCategory: @category.setter def category(self, category: EnumWithCustomOfUrlCategory): - """Sets the category of this Url. - + """ Url category. :param category: The category of this Url. @@ -102,8 +101,7 @@ def category(self, category: EnumWithCustomOfUrlCategory): @property def preferred(self) -> bool: - """Gets the preferred of this Url. - + """ Defines whether url is preferred. :return: The preferred of this Url. @@ -113,8 +111,7 @@ def preferred(self) -> bool: @preferred.setter def preferred(self, preferred: bool): - """Sets the preferred of this Url. - + """ Defines whether url is preferred. :param preferred: The preferred of this Url. @@ -126,8 +123,7 @@ def preferred(self, preferred: bool): @property def href(self) -> str: - """Gets the href of this Url. - + """ URL. :return: The href of this Url. @@ -137,8 +133,7 @@ def href(self) -> str: @href.setter def href(self, href: str): - """Sets the href of this Url. - + """ URL. :param href: The href of this Url. diff --git a/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py b/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py index eed4c8d..3c9f0d3 100644 --- a/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py +++ b/sdk/AsposeEmailCloudSdk/models/value_t_of_boolean.py @@ -62,10 +62,11 @@ def __init__(self, value: bool = None): if value is not None: self.value = value + @property def value(self) -> bool: - """Gets the value of this ValueTOfBoolean. - + """ + Gets the value of this ValueTOfBoolean. :return: The value of this ValueTOfBoolean. :rtype: bool @@ -74,8 +75,8 @@ def value(self) -> bool: @value.setter def value(self, value: bool): - """Sets the value of this ValueTOfBoolean. - + """ + Sets the value of this ValueTOfBoolean. :param value: The value of this ValueTOfBoolean. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py b/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py index b74ace2..f5b73d9 100644 --- a/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py +++ b/sdk/AsposeEmailCloudSdk/models/value_t_of_string.py @@ -62,10 +62,11 @@ def __init__(self, value: str = None): if value is not None: self.value = value + @property def value(self) -> str: - """Gets the value of this ValueTOfString. - + """ + Gets the value of this ValueTOfString. :return: The value of this ValueTOfString. :rtype: str @@ -74,8 +75,8 @@ def value(self) -> str: @value.setter def value(self, value: str): - """Sets the value of this ValueTOfString. - + """ + Sets the value of this ValueTOfString. :param value: The value of this ValueTOfString. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py index 9a92448..81f4a97 100644 --- a/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/weekly_recurrence_pattern_dto.py @@ -62,7 +62,7 @@ class WeeklyRecurrencePatternDto(RecurrencePatternDto): 'start_days': 'startDays' } - def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None, start_days: List[str] = None): + def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, start_days: List[str] = None): """ Weekly recurrence pattern. :param interval: Number of recurrence units. @@ -73,8 +73,6 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :type week_start: str - :param discriminator: - :type discriminator: str :param start_days: Start days :type start_days: List[str] """ @@ -90,15 +88,13 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime self.end_date = end_date if week_start is not None: self.week_start = week_start - if discriminator is not None: - self.discriminator = discriminator if start_days is not None: self.start_days = start_days + @property def start_days(self) -> List[str]: - """Gets the start_days of this WeeklyRecurrencePatternDto. - + """ Start days Items: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :return: The start_days of this WeeklyRecurrencePatternDto. @@ -108,8 +104,7 @@ def start_days(self) -> List[str]: @start_days.setter def start_days(self, start_days: List[str]): - """Sets the start_days of this WeeklyRecurrencePatternDto. - + """ Start days Items: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :param start_days: The start_days of this WeeklyRecurrencePatternDto. diff --git a/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py b/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py index 90bd586..c088d99 100644 --- a/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py +++ b/sdk/AsposeEmailCloudSdk/models/yearly_recurrence_pattern_dto.py @@ -68,7 +68,7 @@ class YearlyRecurrencePatternDto(RecurrencePatternDto): 'start_position': 'startPosition' } - def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, discriminator: str = None, start_day: str = None, start_month: str = None, start_offset: int = None, start_position: str = None): + def __init__(self, interval: int = None, occurs: int = None, end_date: datetime = None, week_start: str = None, start_day: str = None, start_month: str = None, start_offset: int = None, start_position: str = None): """ Yearly recurrence pattern. :param interval: Number of recurrence units. @@ -79,8 +79,6 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime :type end_date: datetime :param week_start: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :type week_start: str - :param discriminator: - :type discriminator: str :param start_day: Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :type start_day: str :param start_month: Represents a calendar month. Enum, available values: None, January, February, March, April, May, June, July, August, September, October, November, December @@ -105,8 +103,6 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime self.end_date = end_date if week_start is not None: self.week_start = week_start - if discriminator is not None: - self.discriminator = discriminator if start_day is not None: self.start_day = start_day if start_month is not None: @@ -116,10 +112,10 @@ def __init__(self, interval: int = None, occurs: int = None, end_date: datetime if start_position is not None: self.start_position = start_position + @property def start_day(self) -> str: - """Gets the start_day of this YearlyRecurrencePatternDto. - + """ Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :return: The start_day of this YearlyRecurrencePatternDto. @@ -129,8 +125,7 @@ def start_day(self) -> str: @start_day.setter def start_day(self, start_day: str): - """Sets the start_day of this YearlyRecurrencePatternDto. - + """ Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDay :param start_day: The start_day of this YearlyRecurrencePatternDto. @@ -142,8 +137,7 @@ def start_day(self, start_day: str): @property def start_month(self) -> str: - """Gets the start_month of this YearlyRecurrencePatternDto. - + """ Represents a calendar month. Enum, available values: None, January, February, March, April, May, June, July, August, September, October, November, December :return: The start_month of this YearlyRecurrencePatternDto. @@ -153,8 +147,7 @@ def start_month(self) -> str: @start_month.setter def start_month(self, start_month: str): - """Sets the start_month of this YearlyRecurrencePatternDto. - + """ Represents a calendar month. Enum, available values: None, January, February, March, April, May, June, July, August, September, October, November, December :param start_month: The start_month of this YearlyRecurrencePatternDto. @@ -166,8 +159,7 @@ def start_month(self, start_month: str): @property def start_offset(self) -> int: - """Gets the start_offset of this YearlyRecurrencePatternDto. - + """ Start offset. :return: The start_offset of this YearlyRecurrencePatternDto. @@ -177,8 +169,7 @@ def start_offset(self) -> int: @start_offset.setter def start_offset(self, start_offset: int): - """Sets the start_offset of this YearlyRecurrencePatternDto. - + """ Start offset. :param start_offset: The start_offset of this YearlyRecurrencePatternDto. @@ -190,8 +181,7 @@ def start_offset(self, start_offset: int): @property def start_position(self) -> str: - """Gets the start_position of this YearlyRecurrencePatternDto. - + """ Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last :return: The start_position of this YearlyRecurrencePatternDto. @@ -201,8 +191,7 @@ def start_position(self) -> str: @start_position.setter def start_position(self, start_position: str): - """Sets the start_position of this YearlyRecurrencePatternDto. - + """ Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Last :param start_position: The start_position of this YearlyRecurrencePatternDto. diff --git a/tests/tests/mapi_calendar_test.py b/tests/tests/mapi_calendar_test.py index 5c2c6ec..c60f60b 100644 --- a/tests/tests/mapi_calendar_test.py +++ b/tests/tests/mapi_calendar_test.py @@ -36,7 +36,8 @@ def test_storage_support(td: EmailApiData): td.api.mapi.calendar.save(models.MapiCalendarSaveRequest( models.StorageFileLocation(td.storage, td.folder, file_name), mapi_calendar, 'Msg')) - mapi_calendar_from_storage = td.api.mapi.calendar.get(models.MapiCalendarGetRequest(file_name, td.folder, td.storage)) + mapi_calendar_from_storage = td.api.mapi.calendar.get( + models.MapiCalendarGetRequest(file_name, td.folder, td.storage)) assert mapi_calendar.location == mapi_calendar_from_storage.location diff --git a/tests/tests/other_test.py b/tests/tests/other_test.py index 4fc33fc..e1d8bbe 100644 --- a/tests/tests/other_test.py +++ b/tests/tests/other_test.py @@ -34,7 +34,8 @@ def test_discover_email_config(td: EmailApiData): @pytest.mark.pipeline def test_is_disposable_email(td: EmailApiData): - disposable = td.api.disposable_email.is_disposable(models.DisposableEmailIsDisposableRequest('example@mailcatch.com')) + disposable = td.api.disposable_email.is_disposable( + models.DisposableEmailIsDisposableRequest('example@mailcatch.com')) assert disposable.value regular = td.api.disposable_email.is_disposable(models.DisposableEmailIsDisposableRequest('example@gmail.com')) assert not regular.value @@ -48,7 +49,7 @@ def test_email_client_account(td: EmailApiData): 'SSLAuto', 'SMTP', models.EmailClientAccountPasswordCredentials( - 'login', None, 'password')) + 'login', 'password')) name = str(uuid.uuid4()) + '.account' td.api.client.account.save(models.EmailClientAccountSaveRequest( models.StorageFileLocation(td.storage, td.folder, name), @@ -69,13 +70,13 @@ def test_email_client_multi_account(td: EmailApiData): multi_account = models.EmailClientMultiAccount( [models.EmailClientAccount('imap.gmail.com', 993, 'SSLAuto', 'IMAP', models.EmailClientAccountPasswordCredentials( - 'example@gmail.com', None, 'password')), + 'example@gmail.com', 'password')), models.EmailClientAccount('exchange.outlook.com', 443, 'SSLAuto', 'EWS', models.EmailClientAccountOauthCredentials( 'example@outlook.com', None, 'client_id', 'client_secret', 'refresh_token'))], models.EmailClientAccount('smtp.gmail.com', 465, 'SSLAuto', 'SMTP', models.EmailClientAccountPasswordCredentials( - 'example@gmail.com', None, 'password'))) + 'example@gmail.com', 'password'))) file_name = str(uuid.uuid4()) + '.multi.account' # Save multi account td.api.client.account.save_multi(models.EmailClientMultiAccountSaveRequest( From 517dc69af58486f63af341a31596e85a79c84995 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Tue, 4 Aug 2020 18:53:18 +0400 Subject: [PATCH 09/20] Reference documentation ported to v4 --- sdk/docs/AiBcrApi.md | 142 +-- sdk/docs/AiBcrApi_list.md | 12 + sdk/docs/AiBcrImage.md | 2 +- sdk/docs/AiBcrImageStorageFile.md | 2 +- sdk/docs/AiBcrOptions.md | 2 +- sdk/docs/AiBcrParseStorageRequest.md | 2 +- sdk/docs/AiGroup.md | 6 +- sdk/docs/AiNameApi.md | 940 ++++-------------- sdk/docs/AiNameApi_list.md | 21 + sdk/docs/AiNameComponent.md | 2 +- sdk/docs/AiNameComponentList.md | 2 +- sdk/docs/AiNameCulturalContext.md | 2 +- sdk/docs/AiNameExtracted.md | 2 +- sdk/docs/AiNameExtractedComponent.md | 2 +- sdk/docs/AiNameExtractedList.md | 2 +- sdk/docs/AiNameFormatted.md | 2 +- sdk/docs/AiNameGenderHypothesis.md | 2 +- sdk/docs/AiNameGenderHypothesisList.md | 2 +- sdk/docs/AiNameMatchResult.md | 2 +- sdk/docs/AiNameMismatch.md | 2 +- sdk/docs/AiNameParsedMatchRequest.md | 2 +- sdk/docs/AiNameParsedRequest.md | 2 +- sdk/docs/AiNameWeighted.md | 2 +- sdk/docs/AiNameWeightedVariants.md | 2 +- sdk/docs/AlternateView.md | 2 +- sdk/docs/AssociatedPerson.md | 2 +- sdk/docs/Attachment.md | 2 +- sdk/docs/AttachmentBase.md | 2 +- sdk/docs/CalendarApi.md | 692 +++---------- sdk/docs/CalendarApi_list.md | 20 + sdk/docs/CalendarAsAlternateRequest.md | 2 +- sdk/docs/CalendarAsFileRequest.md | 2 +- sdk/docs/CalendarDto.md | 2 +- sdk/docs/CalendarReminder.md | 2 +- sdk/docs/CalendarSaveRequest.md | 2 +- sdk/docs/CalendarStorageList.md | 2 +- sdk/docs/ClientAccountApi.md | 268 +---- sdk/docs/ClientAccountApi_list.md | 14 + sdk/docs/ClientAccountBaseRequest.md | 2 +- sdk/docs/ClientFolderApi.md | 202 +--- sdk/docs/ClientFolderApi_list.md | 13 + sdk/docs/ClientFolderCreateRequest.md | 2 +- sdk/docs/ClientFolderDeleteRequest.md | 2 +- sdk/docs/ClientGroup.md | 10 +- sdk/docs/ClientMessageApi.md | 812 +++------------ sdk/docs/ClientMessageApi_list.md | 20 + sdk/docs/ClientMessageAppendRequest.md | 2 +- sdk/docs/ClientMessageBaseRequest.md | 2 +- sdk/docs/ClientMessageDeleteRequest.md | 2 +- sdk/docs/ClientMessageMoveRequest.md | 2 +- sdk/docs/ClientMessageSendRequest.md | 2 +- sdk/docs/ClientMessageSetIsReadRequest.md | 2 +- sdk/docs/ClientThreadApi.md | 368 ++----- sdk/docs/ClientThreadApi_list.md | 15 + sdk/docs/ClientThreadBaseRequest.md | 2 +- sdk/docs/ClientThreadDeleteRequest.md | 2 +- sdk/docs/ClientThreadMoveRequest.md | 2 +- sdk/docs/ClientThreadSetIsReadRequest.md | 2 +- sdk/docs/CloudStorageGroup.md | 8 +- sdk/docs/ContactApi.md | 582 ++--------- sdk/docs/ContactApi_list.md | 18 + sdk/docs/ContactAsFileRequest.md | 2 +- sdk/docs/ContactDto.md | 2 +- sdk/docs/ContactList.md | 2 +- sdk/docs/ContactPhoto.md | 2 +- sdk/docs/ContactSaveRequest.md | 2 +- sdk/docs/ContactStorageList.md | 2 +- sdk/docs/ContentType.md | 2 +- sdk/docs/ContentTypeParameter.md | 2 +- sdk/docs/CustomerEvent.md | 2 +- sdk/docs/DailyRecurrencePatternDto.md | 2 +- sdk/docs/DiscUsage.md | 2 +- sdk/docs/DiscoverEmailConfigOauth.md | 2 +- sdk/docs/DiscoverEmailConfigPassword.md | 2 +- sdk/docs/DiscoverEmailConfigRequest.md | 2 +- sdk/docs/DisposableEmailApi.md | 58 +- sdk/docs/DisposableEmailApi_list.md | 11 + sdk/docs/EmailAccountConfig.md | 2 +- sdk/docs/EmailAccountConfigList.md | 2 +- sdk/docs/EmailAddress.md | 2 +- sdk/docs/EmailApi.md | 566 ++--------- sdk/docs/EmailApi_list.md | 18 + sdk/docs/EmailAsFileRequest.md | 2 +- sdk/docs/EmailClientAccount.md | 2 +- sdk/docs/EmailClientAccountCredentials.md | 2 +- .../EmailClientAccountOauthCredentials.md | 2 +- .../EmailClientAccountPasswordCredentials.md | 2 +- sdk/docs/EmailClientAccountSaveRequest.md | 2 +- sdk/docs/EmailClientMultiAccount.md | 2 +- .../EmailClientMultiAccountSaveRequest.md | 2 +- sdk/docs/EmailConfigApi.md | 186 +--- sdk/docs/EmailConfigApi_list.md | 13 + sdk/docs/EmailDto.md | 2 +- sdk/docs/EmailList.md | 2 +- sdk/docs/EmailSaveRequest.md | 2 +- sdk/docs/EmailStorageList.md | 2 +- sdk/docs/EmailThread.md | 2 +- sdk/docs/EmailThreadList.md | 2 +- ...numWithCustomOfAssociatedPersonCategory.md | 2 +- .../EnumWithCustomOfEmailAddressCategory.md | 2 +- sdk/docs/EnumWithCustomOfEventCategory.md | 2 +- ...numWithCustomOfInstantMessengerCategory.md | 2 +- .../EnumWithCustomOfPhoneNumberCategory.md | 2 +- .../EnumWithCustomOfPostalAddressCategory.md | 2 +- sdk/docs/EnumWithCustomOfUrlCategory.md | 2 +- sdk/docs/Error.md | 2 +- sdk/docs/ErrorDetails.md | 2 +- sdk/docs/FileApi.md | 396 ++------ sdk/docs/FileApi_list.md | 15 + sdk/docs/FileVersion.md | 2 +- sdk/docs/FileVersions.md | 2 +- sdk/docs/FilesList.md | 2 +- sdk/docs/FilesUploadResult.md | 2 +- sdk/docs/FolderApi.md | 360 ++----- sdk/docs/FolderApi_list.md | 15 + sdk/docs/InstantMessengerAddress.md | 2 +- sdk/docs/LinkedResource.md | 2 +- sdk/docs/ListResponseOfAiNameComponent.md | 2 +- sdk/docs/ListResponseOfAiNameExtracted.md | 2 +- .../ListResponseOfAiNameGenderHypothesis.md | 2 +- sdk/docs/ListResponseOfContactDto.md | 2 +- sdk/docs/ListResponseOfEmailAccountConfig.md | 2 +- sdk/docs/ListResponseOfEmailDto.md | 2 +- sdk/docs/ListResponseOfEmailThread.md | 2 +- sdk/docs/ListResponseOfMailMessageBase.md | 2 +- sdk/docs/ListResponseOfMailServerFolder.md | 2 +- sdk/docs/ListResponseOfStorageFileLocation.md | 2 +- ...ListResponseOfStorageModelOfCalendarDto.md | 2 +- .../ListResponseOfStorageModelOfContactDto.md | 2 +- .../ListResponseOfStorageModelOfEmailDto.md | 2 +- sdk/docs/MailAddress.md | 2 +- sdk/docs/MailMessageBase.md | 2 +- sdk/docs/MailMessageBase64.md | 2 +- sdk/docs/MailMessageBaseList.md | 2 +- sdk/docs/MailMessageDto.md | 2 +- sdk/docs/MailMessageMapi.md | 2 +- sdk/docs/MailServerFolder.md | 2 +- sdk/docs/MailServerFolderList.md | 2 +- sdk/docs/MapiAttachmentDto.md | 2 +- sdk/docs/MapiBinaryPropertyDto.md | 2 +- sdk/docs/MapiBooleanPropertyDto.md | 2 +- sdk/docs/MapiCalendarApi.md | 312 +----- sdk/docs/MapiCalendarApi_list.md | 15 + sdk/docs/MapiCalendarAsFileRequest.md | 2 +- sdk/docs/MapiCalendarAttendeesDto.md | 2 +- .../MapiCalendarDailyRecurrencePatternDto.md | 2 +- sdk/docs/MapiCalendarDto.md | 2 +- sdk/docs/MapiCalendarEventRecurrenceDto.md | 2 +- sdk/docs/MapiCalendarExceptionInfoDto.md | 2 +- sdk/docs/MapiCalendarRecurrencePatternDto.md | 2 +- sdk/docs/MapiCalendarSaveRequest.md | 2 +- sdk/docs/MapiCalendarTimeZoneDto.md | 2 +- sdk/docs/MapiCalendarTimeZoneInfoDto.md | 2 +- sdk/docs/MapiCalendarTimeZoneRuleDto.md | 2 +- .../MapiCalendarWeeklyRecurrencePatternDto.md | 2 +- ...darYearlyAndMonthlyRecurrencePatternDto.md | 2 +- sdk/docs/MapiContactApi.md | 328 +----- sdk/docs/MapiContactApi_list.md | 15 + sdk/docs/MapiContactAsFileRequest.md | 2 +- sdk/docs/MapiContactDto.md | 2 +- sdk/docs/MapiContactElectronicAddressDto.md | 2 +- ...iContactElectronicAddressPropertySetDto.md | 2 +- sdk/docs/MapiContactEventPropertySetDto.md | 2 +- sdk/docs/MapiContactNamePropertySetDto.md | 2 +- sdk/docs/MapiContactOtherPropertySetDto.md | 2 +- .../MapiContactPersonalInfoPropertySetDto.md | 2 +- sdk/docs/MapiContactPhotoDto.md | 2 +- sdk/docs/MapiContactPhysicalAddressDto.md | 2 +- ...apiContactPhysicalAddressPropertySetDto.md | 2 +- .../MapiContactProfessionalPropertySetDto.md | 2 +- sdk/docs/MapiContactSaveRequest.md | 2 +- .../MapiContactTelephonePropertySetDto.md | 2 +- sdk/docs/MapiDateTimePropertyDto.md | 2 +- sdk/docs/MapiElectronicAddressDto.md | 2 +- sdk/docs/MapiFileAsPropertyDto.md | 2 +- sdk/docs/MapiGroup.md | 8 +- sdk/docs/MapiImportancePropertyDto.md | 2 +- sdk/docs/MapiIntPropertyDto.md | 2 +- sdk/docs/MapiKnownPropertyDescriptor.md | 2 +- sdk/docs/MapiLegacyFreeBusyPropertyDto.md | 2 +- sdk/docs/MapiMessageApi.md | 328 +----- sdk/docs/MapiMessageApi_list.md | 15 + sdk/docs/MapiMessageAsFileRequest.md | 2 +- sdk/docs/MapiMessageDto.md | 2 +- sdk/docs/MapiMessageItemBaseDto.md | 2 +- sdk/docs/MapiMessageSaveRequest.md | 2 +- sdk/docs/MapiMultiIntPropertyDto.md | 2 +- sdk/docs/MapiMultiStringPropertyDto.md | 2 +- .../MapiPhysicalAddressIndexPropertyDto.md | 2 +- sdk/docs/MapiPidLidPropertyDescriptor.md | 2 +- sdk/docs/MapiPidNamePropertyDescriptor.md | 2 +- sdk/docs/MapiPidPropertyDescriptor.md | 2 +- sdk/docs/MapiPidTagPropertyDescriptor.md | 2 +- sdk/docs/MapiPropertyDescriptor.md | 2 +- sdk/docs/MapiPropertyDto.md | 2 +- sdk/docs/MapiRecipientDto.md | 2 +- sdk/docs/MapiResponseTypePropertyDto.md | 2 +- sdk/docs/MapiStringPropertyDto.md | 2 +- sdk/docs/Models.md | 193 ++++ sdk/docs/MonthlyRecurrencePatternDto.md | 2 +- sdk/docs/NameValuePair.md | 2 +- sdk/docs/ObjectExist.md | 2 +- sdk/docs/PhoneNumber.md | 2 +- sdk/docs/PostalAddress.md | 2 +- sdk/docs/README.md | 30 +- sdk/docs/RecurrencePatternDto.md | 2 +- sdk/docs/ReminderAttendee.md | 2 +- sdk/docs/ReminderTrigger.md | 2 +- sdk/docs/StorageApi.md | 250 +---- sdk/docs/StorageApi_list.md | 14 + sdk/docs/StorageExist.md | 2 +- sdk/docs/StorageFile.md | 2 +- sdk/docs/StorageFileLocation.md | 2 +- sdk/docs/StorageFileLocationList.md | 2 +- sdk/docs/StorageFolderLocation.md | 2 +- sdk/docs/StorageModelOfCalendarDto.md | 2 +- sdk/docs/StorageModelOfContactDto.md | 2 +- sdk/docs/StorageModelOfEmailClientAccount.md | 2 +- .../StorageModelOfEmailClientMultiAccount.md | 2 +- sdk/docs/StorageModelOfEmailDto.md | 2 +- sdk/docs/StorageModelOfMapiCalendarDto.md | 2 +- sdk/docs/StorageModelOfMapiContactDto.md | 2 +- sdk/docs/StorageModelOfMapiMessageDto.md | 2 +- sdk/docs/TaskRegeneratingPatternDto.md | 2 +- sdk/docs/Url.md | 2 +- sdk/docs/ValueTOfBoolean.md | 2 +- sdk/docs/ValueTOfString.md | 2 +- sdk/docs/WeeklyRecurrencePatternDto.md | 2 +- sdk/docs/YearlyRecurrencePatternDto.md | 2 +- 229 files changed, 1866 insertions(+), 5821 deletions(-) create mode 100644 sdk/docs/AiBcrApi_list.md create mode 100644 sdk/docs/AiNameApi_list.md create mode 100644 sdk/docs/CalendarApi_list.md create mode 100644 sdk/docs/ClientAccountApi_list.md create mode 100644 sdk/docs/ClientFolderApi_list.md create mode 100644 sdk/docs/ClientMessageApi_list.md create mode 100644 sdk/docs/ClientThreadApi_list.md create mode 100644 sdk/docs/ContactApi_list.md create mode 100644 sdk/docs/DisposableEmailApi_list.md create mode 100644 sdk/docs/EmailApi_list.md create mode 100644 sdk/docs/EmailConfigApi_list.md create mode 100644 sdk/docs/FileApi_list.md create mode 100644 sdk/docs/FolderApi_list.md create mode 100644 sdk/docs/MapiCalendarApi_list.md create mode 100644 sdk/docs/MapiContactApi_list.md create mode 100644 sdk/docs/MapiMessageApi_list.md create mode 100644 sdk/docs/Models.md create mode 100644 sdk/docs/StorageApi_list.md diff --git a/sdk/docs/AiBcrApi.md b/sdk/docs/AiBcrApi.md index 21638d2..14e21ba 100644 --- a/sdk/docs/AiBcrApi.md +++ b/sdk/docs/AiBcrApi.md @@ -1,146 +1,54 @@ -# AsposeEmailCloudSdk.AiBcrApi - - -# **ai_bcr_parse** -> ai_bcr_parse(self, ai_bcr_parse_request) - -Parse images to vCard document models - -### Return type -[**ContactList**](ContactList.md) +# AsposeEmailCloudSdk.AiBcrApi -### Request Parameters -```python -__init__(self, - file, - countries=countries, - languages=languages, - is_single=is_single) -``` + + +# parse -### Usage ```python -AiBcrApi.ai_bcr_parse( - cakePrefix_ai_bcr_parse_request_cakeCodePostProcessor( - file, - countries=countries, - languages=languages, - is_single=is_single)) +parse(self, request: AiBcrParseRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to parse | - **countries** | **str**| Comma-separated codes of countries. | [optional] [default to ] - **languages** | **str**| Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. | [optional] [default to ] - **is_single** | **bool**| Determines that image contains single VCard or more. | [optional] [default to true] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_async** -> ai_bcr_parse_async(self, ai_bcr_parse_request) - Parse images to vCard document models -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -ai_bcr_parse_async(request).get() returns [**ContactList**](ContactList.md) +ContactList -### Request Parameters +### request Parameter ```python -__init__(self, - file, - countries=countries, - languages=languages, - is_single=is_single) +AiBcrParseRequest( + file: str, + countries: str = None, + languages: str = None, + is_single: bool = None) ``` -### Usage -```python -AiBcrApi.ai_bcr_parse_async( - cakePrefix_ai_bcr_parse_request_cakeCodePostProcessor( - file, - countries=countries, - languages=languages, - is_single=is_single)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file** | **file**| File to parse | - **countries** | **str**| Comma-separated codes of countries. | [optional] [default to ] - **languages** | **str**| Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. | [optional] [default to ] - **is_single** | **bool**| Determines that image contains single VCard or more. | [optional] [default to true] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_storage** -> ai_bcr_parse_storage(self, ai_bcr_parse_storage_request) - -Parse images from storage to vCard files - -### Return type + **file** | **str** | File to parse | + **countries** | **str** | Comma-separated codes of countries. | [optional] [default to ] + **languages** | **str** | Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default. | [optional] [default to ] + **is_single** | **bool** | Determines that image contains single VCard or more. | [optional] [default to true] -[**StorageFileLocationList**](StorageFileLocationList.md) - -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# parse_storage -### Usage ```python -AiBcrApi.ai_bcr_parse_storage( - cakePrefix_ai_bcr_parse_storage_request_cakeCodePostProcessor( - request)) +parse_storage(self, AiBcrParseStorageRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiBcrParseStorageRequest**](AiBcrParseStorageRequest.md)| Request with images located on storage | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_bcr_parse_storage_async** -> ai_bcr_parse_storage_async(self, ai_bcr_parse_storage_request) - Parse images from storage to vCard files -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -ai_bcr_parse_storage_async(request).get() returns [**StorageFileLocationList**](StorageFileLocationList.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -AiBcrApi.ai_bcr_parse_storage_async( - cakePrefix_ai_bcr_parse_storage_request_cakeCodePostProcessor( - request)) -``` +[**StorageFileLocationList**](StorageFileLocationList.md) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiBcrParseStorageRequest**](AiBcrParseStorageRequest.md)| Request with images located on storage | +See parameter model documentation at [AiBcrParseStorageRequest](AiBcrParseStorageRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiBcrApi_list.md b/sdk/docs/AiBcrApi_list.md new file mode 100644 index 0000000..71f49a4 --- /dev/null +++ b/sdk/docs/AiBcrApi_list.md @@ -0,0 +1,12 @@ + + +## Documentation for AiBcrApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**parse**](AiBcrApi.md#parse)| **PUT** /email/AiBcr/parse| Parse images to vCard document models +[**parse_storage**](AiBcrApi.md#parse_storage)| **PUT** /email/AiBcr/parse-storage| Parse images from storage to vCard files diff --git a/sdk/docs/AiBcrImage.md b/sdk/docs/AiBcrImage.md index 5bac392..1b391f2 100644 --- a/sdk/docs/AiBcrImage.md +++ b/sdk/docs/AiBcrImage.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiBcrImageStorageFile.md b/sdk/docs/AiBcrImageStorageFile.md index b821630..2093bd2 100644 --- a/sdk/docs/AiBcrImageStorageFile.md +++ b/sdk/docs/AiBcrImageStorageFile.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [AiBcrImage](AiBcrImage.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiBcrOptions.md b/sdk/docs/AiBcrOptions.md index dae22d3..bce768f 100644 --- a/sdk/docs/AiBcrOptions.md +++ b/sdk/docs/AiBcrOptions.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiBcrParseStorageRequest.md b/sdk/docs/AiBcrParseStorageRequest.md index fc1ea2d..c0ae169 100644 --- a/sdk/docs/AiBcrParseStorageRequest.md +++ b/sdk/docs/AiBcrParseStorageRequest.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiGroup.md b/sdk/docs/AiGroup.md index 1b24f85..ea69666 100644 --- a/sdk/docs/AiGroup.md +++ b/sdk/docs/AiGroup.md @@ -1,7 +1,7 @@ -# EmailCloud.Ai +# EmailCloud.Ai AI powered operations. API | Description --- | ----------- -[EmailCloud.ai().**bcr()**](AiBcrApi_list.md) | AI Business card recognition operations. -[EmailCloud.ai().**name()**](AiNameApi_list.md) | AI Name operations. +[EmailCloud.ai.**bcr**](AiBcrApi_list.md) | AI Business card recognition operations. +[EmailCloud.ai.**name**](AiNameApi_list.md) | AI Name operations. diff --git a/sdk/docs/AiNameApi.md b/sdk/docs/AiNameApi.md index 66f9625..2981374 100644 --- a/sdk/docs/AiNameApi.md +++ b/sdk/docs/AiNameApi.md @@ -1,194 +1,83 @@ -# AsposeEmailCloudSdk.AiNameApi - - -# **ai_name_complete** -> ai_name_complete(self, ai_name_complete_request) - -The call proposes k most probable names for given starting characters. -### Return type - -[**AiNameWeightedVariants**](AiNameWeightedVariants.md) +# AsposeEmailCloudSdk.AiNameApi -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` + + +# complete -### Usage ```python -AiNameApi.ai_name_complete( - cakePrefix_ai_name_complete_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) +complete(self, request: AiNameCompleteRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to complete. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_complete_async** -> ai_name_complete_async(self, ai_name_complete_request) - The call proposes k most probable names for given starting characters. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -ai_name_complete_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` +AiNameWeightedVariants -### Usage +### request Parameter ```python -AiNameApi.ai_name_complete_async( - cakePrefix_ai_name_complete_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) +AiNameCompleteRequest( + name: str, + language: str = None, + location: str = None, + encoding: str = None, + script: str = None, + style: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to complete. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **name** | **str** | A name to complete. | + **language** | **str** | An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str** | A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str** | A character encoding name. | [optional] [default to ] + **script** | **str** | A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str** | Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -# **ai_name_expand** -> ai_name_expand(self, ai_name_expand_request) - -Expands a person's name into a list of possible alternatives using options for expanding instructions. - -### Return type - -[**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# expand -### Usage ```python -AiNameApi.ai_name_expand( - cakePrefix_ai_name_expand_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) +expand(self, request: AiNameExpandRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to expand. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_expand_async** -> ai_name_expand_async(self, ai_name_expand_request) - Expands a person's name into a list of possible alternatives using options for expanding instructions. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -ai_name_expand_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` +AiNameWeightedVariants -### Usage +### request Parameter ```python -AiNameApi.ai_name_expand_async( - cakePrefix_ai_name_expand_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) +AiNameExpandRequest( + name: str, + language: str = None, + location: str = None, + encoding: str = None, + script: str = None, + style: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to expand. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + **name** | **str** | A name to expand. | + **language** | **str** | An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str** | A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str** | A character encoding name. | [optional] [default to ] + **script** | **str** | A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str** | Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# expand_parsed - -# **ai_name_expand_parsed** -> ai_name_expand_parsed(self, ai_name_expand_parsed_request) +```python +expand_parsed(self, AiNameParsedRequest request) +``` Expands a person's parsed name into a list of possible alternatives using options for expanding instructions. @@ -196,722 +85,245 @@ Expands a person's parsed name into a list of possible alternatives using option [**AiNameWeightedVariants**](AiNameWeightedVariants.md) -### Request Parameters -```python -__init__(self, - request) -``` +### request Parameter -### Usage -```python -AiNameApi.ai_name_expand_parsed( - cakePrefix_ai_name_expand_parsed_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Parsed name with options. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +See parameter model documentation at [AiNameParsedRequest](AiNameParsedRequest.md) - -# **ai_name_expand_parsed_async** -> ai_name_expand_parsed_async(self, ai_name_expand_parsed_request) - -Expands a person's parsed name into a list of possible alternatives using options for expanding instructions. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_expand_parsed_async(request).get() returns [**AiNameWeightedVariants**](AiNameWeightedVariants.md) - -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# format -### Usage ```python -AiNameApi.ai_name_expand_parsed_async( - cakePrefix_ai_name_expand_parsed_request_cakeCodePostProcessor( - request)) +format(self, request: AiNameFormatRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Parsed name with options. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_format** -> ai_name_format(self, ai_name_format_request) - Formats a person's name in correct case and name order using options for formatting instructions. ### Return type -[**AiNameFormatted**](AiNameFormatted.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - format=format, - style=style) -``` +AiNameFormatted -### Usage +### request Parameter ```python -AiNameApi.ai_name_format( - cakePrefix_ai_name_format_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - format=format, - style=style)) +AiNameFormatRequest( + name: str, + language: str = None, + location: str = None, + encoding: str = None, + script: str = None, + format: str = None, + style: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to format. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **format** | **str**| Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **name** | **str** | A name to format. | + **language** | **str** | An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str** | A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str** | A character encoding name. | [optional] [default to ] + **script** | **str** | A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **format** | **str** | Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' | [optional] [default to ] + **style** | **str** | Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -# **ai_name_format_async** -> ai_name_format_async(self, ai_name_format_request) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# format_parsed -Formats a person's name in correct case and name order using options for formatting instructions. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_format_async(request).get() returns [**AiNameFormatted**](AiNameFormatted.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - format=format, - style=style) -``` - -### Usage ```python -AiNameApi.ai_name_format_async( - cakePrefix_ai_name_format_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - format=format, - style=style)) +format_parsed(self, AiNameParsedRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to format. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **format** | **str**| Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p' | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_format_parsed** -> ai_name_format_parsed(self, ai_name_format_parsed_request) - Formats a person's parsed name in correct case and name order using options for formatting instructions. ### Return type [**AiNameFormatted**](AiNameFormatted.md) -### Request Parameters -```python -__init__(self, - request) -``` +### request Parameter -### Usage -```python -AiNameApi.ai_name_format_parsed( - cakePrefix_ai_name_format_parsed_request_cakeCodePostProcessor( - request)) -``` +See parameter model documentation at [AiNameParsedRequest](AiNameParsedRequest.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# genderize -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Parsed name with options. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_format_parsed_async** -> ai_name_format_parsed_async(self, ai_name_format_parsed_request) - -Formats a person's parsed name in correct case and name order using options for formatting instructions. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_format_parsed_async(request).get() returns [**AiNameFormatted**](AiNameFormatted.md) - -### Request Parameters ```python -__init__(self, - request) +genderize(self, request: AiNameGenderizeRequest) ``` -### Usage -```python -AiNameApi.ai_name_format_parsed_async( - cakePrefix_ai_name_format_parsed_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Parsed name with options. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_genderize** -> ai_name_genderize(self, ai_name_genderize_request) - Detect person's gender from name string. ### Return type -[**AiNameGenderHypothesisList**](AiNameGenderHypothesisList.md) +AiNameGenderHypothesisList -### Request Parameters +### request Parameter ```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) +AiNameGenderizeRequest( + name: str, + language: str = None, + location: str = None, + encoding: str = None, + script: str = None, + style: str = None) ``` -### Usage -```python -AiNameApi.ai_name_genderize( - cakePrefix_ai_name_genderize_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to genderize. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + **name** | **str** | A name to genderize. | + **language** | **str** | An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str** | A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str** | A character encoding name. | [optional] [default to ] + **script** | **str** | A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str** | Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# genderize_parsed - -# **ai_name_genderize_async** -> ai_name_genderize_async(self, ai_name_genderize_request) - -Detect person's gender from name string. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_genderize_async(request).get() returns [**AiNameGenderHypothesisList**](AiNameGenderHypothesisList.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage ```python -AiNameApi.ai_name_genderize_async( - cakePrefix_ai_name_genderize_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) +genderize_parsed(self, AiNameParsedRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to genderize. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_genderize_parsed** -> ai_name_genderize_parsed(self, ai_name_genderize_parsed_request) - Detect person's gender from parsed name. ### Return type [**AiNameGenderHypothesisList**](AiNameGenderHypothesisList.md) -### Request Parameters -```python -__init__(self, - request) -``` +### request Parameter -### Usage -```python -AiNameApi.ai_name_genderize_parsed( - cakePrefix_ai_name_genderize_parsed_request_cakeCodePostProcessor( - request)) -``` +See parameter model documentation at [AiNameParsedRequest](AiNameParsedRequest.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# match -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Gender detection request data. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_genderize_parsed_async** -> ai_name_genderize_parsed_async(self, ai_name_genderize_parsed_request) - -Detect person's gender from parsed name. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_genderize_parsed_async(request).get() returns [**AiNameGenderHypothesisList**](AiNameGenderHypothesisList.md) - -### Request Parameters ```python -__init__(self, - request) +match(self, request: AiNameMatchRequest) ``` -### Usage -```python -AiNameApi.ai_name_genderize_parsed_async( - cakePrefix_ai_name_genderize_parsed_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiNameParsedRequest**](AiNameParsedRequest.md)| Gender detection request data. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_match** -> ai_name_match(self, ai_name_match_request) - Compare people's names. Uses options for comparing instructions. ### Return type -[**AiNameMatchResult**](AiNameMatchResult.md) - -### Request Parameters -```python -__init__(self, - name, - other_name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` +AiNameMatchResult -### Usage +### request Parameter ```python -AiNameApi.ai_name_match( - cakePrefix_ai_name_match_request_cakeCodePostProcessor( - name, - other_name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) +AiNameMatchRequest( + name: str, + other_name: str, + language: str = None, + location: str = None, + encoding: str = None, + script: str = None, + style: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to match. | - **other_name** | **str**| Another name to match. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_match_async** -> ai_name_match_async(self, ai_name_match_request) - -Compare people's names. Uses options for comparing instructions. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_match_async(request).get() returns [**AiNameMatchResult**](AiNameMatchResult.md) + **name** | **str** | A name to match. | + **other_name** | **str** | Another name to match. | + **language** | **str** | An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str** | A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str** | A character encoding name. | [optional] [default to ] + **script** | **str** | A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str** | Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] -### Request Parameters -```python -__init__(self, - name, - other_name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# match_parsed -### Usage ```python -AiNameApi.ai_name_match_async( - cakePrefix_ai_name_match_request_cakeCodePostProcessor( - name, - other_name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) +match_parsed(self, AiNameParsedMatchRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to match. | - **other_name** | **str**| Another name to match. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_match_parsed** -> ai_name_match_parsed(self, ai_name_match_parsed_request) - Compare people's parsed names and attributes. Uses options for comparing instructions. ### Return type [**AiNameMatchResult**](AiNameMatchResult.md) -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -AiNameApi.ai_name_match_parsed( - cakePrefix_ai_name_match_parsed_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiNameParsedMatchRequest**](AiNameParsedMatchRequest.md)| Parsed names to match. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_match_parsed_async** -> ai_name_match_parsed_async(self, ai_name_match_parsed_request) - -Compare people's parsed names and attributes. Uses options for comparing instructions. - -Performs operation asynchronously. - -### Return type +### request Parameter -Returns multiprocessing.pool.AsyncResult. -ai_name_match_parsed_async(request).get() returns [**AiNameMatchResult**](AiNameMatchResult.md) +See parameter model documentation at [AiNameParsedMatchRequest](AiNameParsedMatchRequest.md) -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# parse -### Usage ```python -AiNameApi.ai_name_match_parsed_async( - cakePrefix_ai_name_match_parsed_request_cakeCodePostProcessor( - request)) +parse(self, request: AiNameParseRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**AiNameParsedMatchRequest**](AiNameParsedMatchRequest.md)| Parsed names to match. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_parse** -> ai_name_parse(self, ai_name_parse_request) - Parse name to components. ### Return type -[**AiNameComponentList**](AiNameComponentList.md) - -### Request Parameters -```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` +AiNameComponentList -### Usage +### request Parameter ```python -AiNameApi.ai_name_parse( - cakePrefix_ai_name_parse_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) +AiNameParseRequest( + name: str, + language: str = None, + location: str = None, + encoding: str = None, + script: str = None, + style: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to parse. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **name** | **str** | A name to parse. | + **language** | **str** | An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str** | A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str** | A character encoding name. | [optional] [default to ] + **script** | **str** | A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str** | Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -# **ai_name_parse_async** -> ai_name_parse_async(self, ai_name_parse_request) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# parse_email_address -Parse name to components. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -ai_name_parse_async(request).get() returns [**AiNameComponentList**](AiNameComponentList.md) - -### Request Parameters ```python -__init__(self, - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) +parse_email_address(self, request: AiNameParseEmailAddressRequest) ``` -### Usage -```python -AiNameApi.ai_name_parse_async( - cakePrefix_ai_name_parse_request_cakeCodePostProcessor( - name, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| A name to parse. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_parse_email_address** -> ai_name_parse_email_address(self, ai_name_parse_email_address_request) - -Parse person's name out of an email address. - -### Return type - -[**AiNameExtractedList**](AiNameExtractedList.md) - -### Request Parameters -```python -__init__(self, - email_address, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) -``` - -### Usage -```python -AiNameApi.ai_name_parse_email_address( - cakePrefix_ai_name_parse_email_address_request_cakeCodePostProcessor( - email_address, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email_address** | **str**| Email address to parse. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **ai_name_parse_email_address_async** -> ai_name_parse_email_address_async(self, ai_name_parse_email_address_request) - Parse person's name out of an email address. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -ai_name_parse_email_address_async(request).get() returns [**AiNameExtractedList**](AiNameExtractedList.md) +AiNameExtractedList -### Request Parameters +### request Parameter ```python -__init__(self, - email_address, - language=language, - location=location, - encoding=encoding, - script=script, - style=style) +AiNameParseEmailAddressRequest( + email_address: str, + language: str = None, + location: str = None, + encoding: str = None, + script: str = None, + style: str = None) ``` -### Usage -```python -AiNameApi.ai_name_parse_email_address_async( - cakePrefix_ai_name_parse_email_address_request_cakeCodePostProcessor( - email_address, - language=language, - location=location, - encoding=encoding, - script=script, - style=style)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **email_address** | **str**| Email address to parse. | - **language** | **str**| An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] - **location** | **str**| A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] - **encoding** | **str**| A character encoding name. | [optional] [default to ] - **script** | **str**| A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] - **style** | **str**| Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **email_address** | **str** | Email address to parse. | + **language** | **str** | An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). | [optional] [default to ] + **location** | **str** | A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. | [optional] [default to ] + **encoding** | **str** | A character encoding name. | [optional] [default to ] + **script** | **str** | A writing system code; starts with the ISO-15924 script name. | [optional] [default to ] + **style** | **str** | Name writing style. Enum, available values: Formal, Informal, Legal, Academic | [optional] [default to 0] + +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameApi_list.md b/sdk/docs/AiNameApi_list.md new file mode 100644 index 0000000..aed0893 --- /dev/null +++ b/sdk/docs/AiNameApi_list.md @@ -0,0 +1,21 @@ + + +## Documentation for AiNameApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**complete**](AiNameApi.md#complete)| **GET** /email/AiName/complete| The call proposes k most probable names for given starting characters. +[**expand**](AiNameApi.md#expand)| **GET** /email/AiName/expand| Expands a person's name into a list of possible alternatives using options for expanding instructions. +[**expand_parsed**](AiNameApi.md#expand_parsed)| **PUT** /email/AiName/expand-parsed| Expands a person's parsed name into a list of possible alternatives using options for expanding instructions. +[**format**](AiNameApi.md#format)| **GET** /email/AiName/format| Formats a person's name in correct case and name order using options for formatting instructions. +[**format_parsed**](AiNameApi.md#format_parsed)| **PUT** /email/AiName/format-parsed| Formats a person's parsed name in correct case and name order using options for formatting instructions. +[**genderize**](AiNameApi.md#genderize)| **GET** /email/AiName/genderize| Detect person's gender from name string. +[**genderize_parsed**](AiNameApi.md#genderize_parsed)| **PUT** /email/AiName/genderize-parsed| Detect person's gender from parsed name. +[**match**](AiNameApi.md#match)| **GET** /email/AiName/match| Compare people's names. Uses options for comparing instructions. +[**match_parsed**](AiNameApi.md#match_parsed)| **PUT** /email/AiName/match-parsed| Compare people's parsed names and attributes. Uses options for comparing instructions. +[**parse**](AiNameApi.md#parse)| **GET** /email/AiName/parse| Parse name to components. +[**parse_email_address**](AiNameApi.md#parse_email_address)| **GET** /email/AiName/parse-email-address| Parse person's name out of an email address. diff --git a/sdk/docs/AiNameComponent.md b/sdk/docs/AiNameComponent.md index 8cfd939..ef86a69 100644 --- a/sdk/docs/AiNameComponent.md +++ b/sdk/docs/AiNameComponent.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameComponentList.md b/sdk/docs/AiNameComponentList.md index 0c4c5ba..7bd4050 100644 --- a/sdk/docs/AiNameComponentList.md +++ b/sdk/docs/AiNameComponentList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfAiNameComponent](ListResponseOfAiNameComponent.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameCulturalContext.md b/sdk/docs/AiNameCulturalContext.md index c797fd7..d2d78da 100644 --- a/sdk/docs/AiNameCulturalContext.md +++ b/sdk/docs/AiNameCulturalContext.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameExtracted.md b/sdk/docs/AiNameExtracted.md index 36aa307..a207eee 100644 --- a/sdk/docs/AiNameExtracted.md +++ b/sdk/docs/AiNameExtracted.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameExtractedComponent.md b/sdk/docs/AiNameExtractedComponent.md index 1db13c5..348367d 100644 --- a/sdk/docs/AiNameExtractedComponent.md +++ b/sdk/docs/AiNameExtractedComponent.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameExtractedList.md b/sdk/docs/AiNameExtractedList.md index 8bbd8d2..f28f7ce 100644 --- a/sdk/docs/AiNameExtractedList.md +++ b/sdk/docs/AiNameExtractedList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfAiNameExtracted](ListResponseOfAiNameExtracted.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameFormatted.md b/sdk/docs/AiNameFormatted.md index 6ff1246..4b7ee82 100644 --- a/sdk/docs/AiNameFormatted.md +++ b/sdk/docs/AiNameFormatted.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameGenderHypothesis.md b/sdk/docs/AiNameGenderHypothesis.md index 9d7ec2a..9c64d76 100644 --- a/sdk/docs/AiNameGenderHypothesis.md +++ b/sdk/docs/AiNameGenderHypothesis.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameGenderHypothesisList.md b/sdk/docs/AiNameGenderHypothesisList.md index 4341b0b..8870c28 100644 --- a/sdk/docs/AiNameGenderHypothesisList.md +++ b/sdk/docs/AiNameGenderHypothesisList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfAiNameGenderHypothesis](ListResponseOfAiNameGenderHypothesis.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameMatchResult.md b/sdk/docs/AiNameMatchResult.md index b7aa86a..32072a1 100644 --- a/sdk/docs/AiNameMatchResult.md +++ b/sdk/docs/AiNameMatchResult.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameMismatch.md b/sdk/docs/AiNameMismatch.md index 9d98d63..5e21bce 100644 --- a/sdk/docs/AiNameMismatch.md +++ b/sdk/docs/AiNameMismatch.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameParsedMatchRequest.md b/sdk/docs/AiNameParsedMatchRequest.md index 268db08..5b8a444 100644 --- a/sdk/docs/AiNameParsedMatchRequest.md +++ b/sdk/docs/AiNameParsedMatchRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [AiNameParsedRequest](AiNameParsedRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameParsedRequest.md b/sdk/docs/AiNameParsedRequest.md index 5012e6b..cd9df85 100644 --- a/sdk/docs/AiNameParsedRequest.md +++ b/sdk/docs/AiNameParsedRequest.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameWeighted.md b/sdk/docs/AiNameWeighted.md index 5f496bf..b947371 100644 --- a/sdk/docs/AiNameWeighted.md +++ b/sdk/docs/AiNameWeighted.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameWeightedVariants.md b/sdk/docs/AiNameWeightedVariants.md index 038d834..753d4c1 100644 --- a/sdk/docs/AiNameWeightedVariants.md +++ b/sdk/docs/AiNameWeightedVariants.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AlternateView.md b/sdk/docs/AlternateView.md index 7110ff7..d43a2f9 100644 --- a/sdk/docs/AlternateView.md +++ b/sdk/docs/AlternateView.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes Parent class: [AttachmentBase](AttachmentBase.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AssociatedPerson.md b/sdk/docs/AssociatedPerson.md index f9103ea..046dbd8 100644 --- a/sdk/docs/AssociatedPerson.md +++ b/sdk/docs/AssociatedPerson.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/Attachment.md b/sdk/docs/Attachment.md index eb77db0..0f0856c 100644 --- a/sdk/docs/Attachment.md +++ b/sdk/docs/Attachment.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes Parent class: [AttachmentBase](AttachmentBase.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AttachmentBase.md b/sdk/docs/AttachmentBase.md index a2847ff..fffefad 100644 --- a/sdk/docs/AttachmentBase.md +++ b/sdk/docs/AttachmentBase.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CalendarApi.md b/sdk/docs/CalendarApi.md index 5ff8b50..8a4d12a 100644 --- a/sdk/docs/CalendarApi.md +++ b/sdk/docs/CalendarApi.md @@ -1,710 +1,256 @@ -# AsposeEmailCloudSdk.CalendarApi - - -# **calendar_as_alternate** -> calendar_as_alternate(self, calendar_as_alternate_request) - -Convert iCalendar to AlternateView -### Return type - -[**AlternateView**](AlternateView.md) +# AsposeEmailCloudSdk.CalendarApi -### Request Parameters -```python -__init__(self, - request) -``` + + +# as_alternate -### Usage ```python -CalendarApi.calendar_as_alternate( - cakePrefix_calendar_as_alternate_request_cakeCodePostProcessor( - request)) +as_alternate(self, CalendarAsAlternateRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**CalendarAsAlternateRequest**](CalendarAsAlternateRequest.md)| iCalendar to AlternateView request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_as_alternate_async** -> calendar_as_alternate_async(self, calendar_as_alternate_request) - Convert iCalendar to AlternateView -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_as_alternate_async(request).get() returns [**AlternateView**](AlternateView.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -CalendarApi.calendar_as_alternate_async( - cakePrefix_calendar_as_alternate_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**CalendarAsAlternateRequest**](CalendarAsAlternateRequest.md)| iCalendar to AlternateView request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_as_file** -> calendar_as_file(self, calendar_as_file_request) +[**AlternateView**](AlternateView.md) -Converts calendar model to specified format and returns as file. +### request Parameter -### Return type +See parameter model documentation at [CalendarAsAlternateRequest](CalendarAsAlternateRequest.md) -**file** - -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# as_file -### Usage ```python -CalendarApi.calendar_as_file( - cakePrefix_calendar_as_file_request_cakeCodePostProcessor( - request)) +as_file(self, CalendarAsFileRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**CalendarAsFileRequest**](CalendarAsFileRequest.md)| Calendar model and format to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_as_file_async** -> calendar_as_file_async(self, calendar_as_file_request) - Converts calendar model to specified format and returns as file. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_as_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -CalendarApi.calendar_as_file_async( - cakePrefix_calendar_as_file_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**CalendarAsFileRequest**](CalendarAsFileRequest.md)| Calendar model and format to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_as_mapi** -> calendar_as_mapi(self, calendar_as_mapi_request) - -Converts CalendarDto to MapiCalendarDto. +**Stream** -### Return type +### request Parameter -[**MapiCalendarDto**](MapiCalendarDto.md) +See parameter model documentation at [CalendarAsFileRequest](CalendarAsFileRequest.md) -### Request Parameters -```python -__init__(self, - calendar_dto) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# as_mapi -### Usage ```python -CalendarApi.calendar_as_mapi( - cakePrefix_calendar_as_mapi_request_cakeCodePostProcessor( - calendar_dto)) +as_mapi(self, CalendarDto calendar_dto) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **calendar_dto** | [**CalendarDto**](CalendarDto.md)| iCalendar model calendar representation. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_as_mapi_async** -> calendar_as_mapi_async(self, calendar_as_mapi_request) - Converts CalendarDto to MapiCalendarDto. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_as_mapi_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - calendar_dto) -``` - -### Usage -```python -CalendarApi.calendar_as_mapi_async( - cakePrefix_calendar_as_mapi_request_cakeCodePostProcessor( - calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **calendar_dto** | [**CalendarDto**](CalendarDto.md)| iCalendar model calendar representation. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_convert** -> calendar_convert(self, calendar_convert_request) - -Converts calendar document to specified format and returns as file. +[**MapiCalendarDto**](MapiCalendarDto.md) -### Return type +### calendar_dto Parameter -**file** +See parameter model documentation at [CalendarDto](CalendarDto.md) -### Request Parameters -```python -__init__(self, - format, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# convert -### Usage ```python -CalendarApi.calendar_convert( - cakePrefix_calendar_convert_request_cakeCodePostProcessor( - format, - file)) +convert(self, request: CalendarConvertRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format. Enum, available values: Ics, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_convert_async** -> calendar_convert_async(self, calendar_convert_request) - Converts calendar document to specified format and returns as file. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_convert_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - format, - file) -``` +str -### Usage +### request Parameter ```python -CalendarApi.calendar_convert_async( - cakePrefix_calendar_convert_request_cakeCodePostProcessor( - format, - file)) +CalendarConvertRequest( + format: str, + file: str) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| File format. Enum, available values: Ics, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_from_file** -> calendar_from_file(self, calendar_from_file_request) + **format** | **str** | File format. Enum, available values: Ics, Msg | + **file** | **str** | File to convert | -Converts calendar document to a model representation. - -### Return type - -[**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# from_file -### Usage ```python -CalendarApi.calendar_from_file( - cakePrefix_calendar_from_file_request_cakeCodePostProcessor( - file)) +from_file(self, request: CalendarFromFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_from_file_async** -> calendar_from_file_async(self, calendar_from_file_request) - Converts calendar document to a model representation. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_from_file_async(request).get() returns [**CalendarDto**](CalendarDto.md) +CalendarDto -### Request Parameters +### request Parameter ```python -__init__(self, - file) +CalendarFromFileRequest( + file: str) ``` -### Usage -```python -CalendarApi.calendar_from_file_async( - cakePrefix_calendar_from_file_request_cakeCodePostProcessor( - file)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_get** -> calendar_get(self, calendar_get_request) - -Get calendar file from storage. - -### Return type + **file** | **str** | File to convert | -[**CalendarDto**](CalendarDto.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get -### Request Parameters ```python -__init__(self, - file_name, - folder=folder, - storage=storage) +get(self, request: CalendarGetRequest) ``` -### Usage -```python -CalendarApi.calendar_get( - cakePrefix_calendar_get_request_cakeCodePostProcessor( - file_name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| iCalendar file name in storage. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_get_async** -> calendar_get_async(self, calendar_get_request) - Get calendar file from storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_get_async(request).get() returns [**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - file_name, - folder=folder, - storage=storage) -``` +CalendarDto -### Usage +### request Parameter ```python -CalendarApi.calendar_get_async( - cakePrefix_calendar_get_request_cakeCodePostProcessor( - file_name, - folder=folder, - storage=storage)) +CalendarGetRequest( + file_name: str, + folder: str = None, + storage: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_name** | **str**| iCalendar file name in storage. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_get_as_alternate** -> calendar_get_as_alternate(self, calendar_get_as_alternate_request) - -Get iCalendar from storage as AlternateView + **file_name** | **str** | iCalendar file name in storage. | + **folder** | **str** | Path to folder in storage. | [optional] + **storage** | **str** | Storage name. | [optional] -### Return type - -[**AlternateView**](AlternateView.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_as_alternate -### Request Parameters ```python -__init__(self, - file_name, - calendar_action, - sequence_id=sequence_id, - folder=folder, - storage=storage) +get_as_alternate(self, request: CalendarGetAsAlternateRequest) ``` -### Usage -```python -CalendarApi.calendar_get_as_alternate( - cakePrefix_calendar_get_as_alternate_request_cakeCodePostProcessor( - file_name, - calendar_action, - sequence_id=sequence_id, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| iCalendar file name in storage | - **calendar_action** | **str**| iCalendar method type Enum, available values: Create, Update, Cancel | - **sequence_id** | **str**| The sequence id | [optional] - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_get_as_alternate_async** -> calendar_get_as_alternate_async(self, calendar_get_as_alternate_request) - Get iCalendar from storage as AlternateView -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_get_as_alternate_async(request).get() returns [**AlternateView**](AlternateView.md) - -### Request Parameters -```python -__init__(self, - file_name, - calendar_action, - sequence_id=sequence_id, - folder=folder, - storage=storage) -``` +AlternateView -### Usage +### request Parameter ```python -CalendarApi.calendar_get_as_alternate_async( - cakePrefix_calendar_get_as_alternate_request_cakeCodePostProcessor( - file_name, - calendar_action, - sequence_id=sequence_id, - folder=folder, - storage=storage)) +CalendarGetAsAlternateRequest( + file_name: str, + calendar_action: str, + sequence_id: str = None, + folder: str = None, + storage: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_name** | **str**| iCalendar file name in storage | - **calendar_action** | **str**| iCalendar method type Enum, available values: Create, Update, Cancel | - **sequence_id** | **str**| The sequence id | [optional] - **folder** | **str**| Path to folder in storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_get_as_file** -> calendar_get_as_file(self, calendar_get_as_file_request) - -Converts calendar document from storage to specified format and returns as file. + **file_name** | **str** | iCalendar file name in storage | + **calendar_action** | **str** | iCalendar method type Enum, available values: Create, Update, Cancel | + **sequence_id** | **str** | The sequence id | [optional] + **folder** | **str** | Path to folder in storage | [optional] + **storage** | **str** | Storage name | [optional] -### Return type - -**file** +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_as_file -### Request Parameters ```python -__init__(self, - file_name, - format, - storage=storage, - folder=folder) +get_as_file(self, request: CalendarGetAsFileRequest) ``` -### Usage -```python -CalendarApi.calendar_get_as_file( - cakePrefix_calendar_get_as_file_request_cakeCodePostProcessor( - file_name, - format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar document file name. | - **format** | **str**| File format. Enum, available values: Ics, Msg | - **storage** | **str**| Storage name. | [optional] - **folder** | **str**| Path to folder in storage. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_get_as_file_async** -> calendar_get_as_file_async(self, calendar_get_as_file_request) - Converts calendar document from storage to specified format and returns as file. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_get_as_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - file_name, - format, - storage=storage, - folder=folder) -``` +str -### Usage +### request Parameter ```python -CalendarApi.calendar_get_as_file_async( - cakePrefix_calendar_get_as_file_request_cakeCodePostProcessor( - file_name, - format, - storage=storage, - folder=folder)) +CalendarGetAsFileRequest( + file_name: str, + format: str, + storage: str = None, + folder: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar document file name. | - **format** | **str**| File format. Enum, available values: Ics, Msg | - **storage** | **str**| Storage name. | [optional] - **folder** | **str**| Path to folder in storage. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_get_list** -> calendar_get_list(self, calendar_get_list_request) - -Get iCalendar list from storage folder. - -### Return type - -[**CalendarStorageList**](CalendarStorageList.md) + **file_name** | **str** | Calendar document file name. | + **format** | **str** | File format. Enum, available values: Ics, Msg | + **storage** | **str** | Storage name. | [optional] + **folder** | **str** | Path to folder in storage. | [optional] -### Request Parameters -```python -__init__(self, - folder, - items_per_page=items_per_page, - page_number=page_number, - storage=storage) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_list -### Usage ```python -CalendarApi.calendar_get_list( - cakePrefix_calendar_get_list_request_cakeCodePostProcessor( - folder, - items_per_page=items_per_page, - page_number=page_number, - storage=storage)) +get_list(self, request: CalendarGetListRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| Path to folder in storage. | - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_get_list_async** -> calendar_get_list_async(self, calendar_get_list_request) - Get iCalendar list from storage folder. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_get_list_async(request).get() returns [**CalendarStorageList**](CalendarStorageList.md) - -### Request Parameters -```python -__init__(self, - folder, - items_per_page=items_per_page, - page_number=page_number, - storage=storage) -``` +CalendarStorageList -### Usage +### request Parameter ```python -CalendarApi.calendar_get_list_async( - cakePrefix_calendar_get_list_request_cakeCodePostProcessor( - folder, - items_per_page=items_per_page, - page_number=page_number, - storage=storage)) +CalendarGetListRequest( + folder: str, + items_per_page: int = None, + page_number: int = None, + storage: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **folder** | **str**| Path to folder in storage. | - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_save** -> calendar_save(self, calendar_save_request) - -Save iCalendar - -### Return type + **folder** | **str** | Path to folder in storage. | + **items_per_page** | **int** | Count of items on page. | [optional] [default to 10] + **page_number** | **int** | Page number. | [optional] [default to 0] + **storage** | **str** | Storage name. | [optional] -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# save -### Usage ```python -CalendarApi.calendar_save( - cakePrefix_calendar_save_request_cakeCodePostProcessor( - request)) +save(self, CalendarSaveRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**CalendarSaveRequest**](CalendarSaveRequest.md)| iCalendar create/update request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **calendar_save_async** -> calendar_save_async(self, calendar_save_request) - Save iCalendar -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -calendar_save_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -CalendarApi.calendar_save_async( - cakePrefix_calendar_save_request_cakeCodePostProcessor( - request)) -``` +void (empty response body) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**CalendarSaveRequest**](CalendarSaveRequest.md)| iCalendar create/update request | +See parameter model documentation at [CalendarSaveRequest](CalendarSaveRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CalendarApi_list.md b/sdk/docs/CalendarApi_list.md new file mode 100644 index 0000000..11ae5d3 --- /dev/null +++ b/sdk/docs/CalendarApi_list.md @@ -0,0 +1,20 @@ + + +## Documentation for CalendarApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**as_alternate**](CalendarApi.md#as_alternate)| **PUT** /email/Calendar/as-alternate| Convert iCalendar to AlternateView +[**as_file**](CalendarApi.md#as_file)| **PUT** /email/Calendar/as-file| Converts calendar model to specified format and returns as file. +[**as_mapi**](CalendarApi.md#as_mapi)| **PUT** /email/Calendar/as-mapi| Converts CalendarDto to MapiCalendarDto. +[**convert**](CalendarApi.md#convert)| **PUT** /email/Calendar/convert| Converts calendar document to specified format and returns as file. +[**from_file**](CalendarApi.md#from_file)| **PUT** /email/Calendar/from-file| Converts calendar document to a model representation. +[**get**](CalendarApi.md#get)| **GET** /email/Calendar| Get calendar file from storage. +[**get_as_alternate**](CalendarApi.md#get_as_alternate)| **GET** /email/Calendar/as-alternate| Get iCalendar from storage as AlternateView +[**get_as_file**](CalendarApi.md#get_as_file)| **GET** /email/Calendar/as-file| Converts calendar document from storage to specified format and returns as file. +[**get_list**](CalendarApi.md#get_list)| **GET** /email/Calendar/list| Get iCalendar list from storage folder. +[**save**](CalendarApi.md#save)| **PUT** /email/Calendar| Save iCalendar diff --git a/sdk/docs/CalendarAsAlternateRequest.md b/sdk/docs/CalendarAsAlternateRequest.md index ae618dd..ca5e7e4 100644 --- a/sdk/docs/CalendarAsAlternateRequest.md +++ b/sdk/docs/CalendarAsAlternateRequest.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CalendarAsFileRequest.md b/sdk/docs/CalendarAsFileRequest.md index eba3a7f..6dec9cf 100644 --- a/sdk/docs/CalendarAsFileRequest.md +++ b/sdk/docs/CalendarAsFileRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CalendarDto.md b/sdk/docs/CalendarDto.md index 0e460c8..aa51a94 100644 --- a/sdk/docs/CalendarDto.md +++ b/sdk/docs/CalendarDto.md @@ -27,6 +27,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CalendarReminder.md b/sdk/docs/CalendarReminder.md index b1b1b81..e54dd7a 100644 --- a/sdk/docs/CalendarReminder.md +++ b/sdk/docs/CalendarReminder.md @@ -13,6 +13,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CalendarSaveRequest.md b/sdk/docs/CalendarSaveRequest.md index 819a4d0..263beb5 100644 --- a/sdk/docs/CalendarSaveRequest.md +++ b/sdk/docs/CalendarSaveRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [StorageModelOfCalendarDto](StorageModelOfCalendarDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CalendarStorageList.md b/sdk/docs/CalendarStorageList.md index 8192269..ab303a7 100644 --- a/sdk/docs/CalendarStorageList.md +++ b/sdk/docs/CalendarStorageList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfStorageModelOfCalendarDto](ListResponseOfStorageModelOfCalendarDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientAccountApi.md b/sdk/docs/ClientAccountApi.md index 2c5b4fc..5f456f9 100644 --- a/sdk/docs/ClientAccountApi.md +++ b/sdk/docs/ClientAccountApi.md @@ -1,278 +1,100 @@ -# AsposeEmailCloudSdk.ClientAccountApi - - -# **client_account_get** -> client_account_get(self, client_account_get_request) - -Get email client account from storage. - -### Return type -[**EmailClientAccount**](EmailClientAccount.md) +# AsposeEmailCloudSdk.ClientAccountApi -### Request Parameters -```python -__init__(self, - file_name, - folder=folder, - storage=storage) -``` + + +# get -### Usage ```python -ClientAccountApi.client_account_get( - cakePrefix_client_account_get_request_cakeCodePostProcessor( - file_name, - folder=folder, - storage=storage)) +get(self, request: ClientAccountGetRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| File name on storage. | - **folder** | **str**| Folder on storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_account_get_async** -> client_account_get_async(self, client_account_get_request) - Get email client account from storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_account_get_async(request).get() returns [**EmailClientAccount**](EmailClientAccount.md) +EmailClientAccount -### Request Parameters +### request Parameter ```python -__init__(self, - file_name, - folder=folder, - storage=storage) +ClientAccountGetRequest( + file_name: str, + folder: str = None, + storage: str = None) ``` -### Usage -```python -ClientAccountApi.client_account_get_async( - cakePrefix_client_account_get_request_cakeCodePostProcessor( - file_name, - folder=folder, - storage=storage)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_name** | **str**| File name on storage. | - **folder** | **str**| Folder on storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_account_get_multi** -> client_account_get_multi(self, client_account_get_multi_request) - -Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". - -### Return type + **file_name** | **str** | File name on storage. | + **folder** | **str** | Folder on storage. | [optional] + **storage** | **str** | Storage name. | [optional] -[**EmailClientMultiAccount**](EmailClientMultiAccount.md) - -### Request Parameters -```python -__init__(self, - file_name, - folder=folder, - storage=storage) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_multi -### Usage ```python -ClientAccountApi.client_account_get_multi( - cakePrefix_client_account_get_multi_request_cakeCodePostProcessor( - file_name, - folder=folder, - storage=storage)) +get_multi(self, request: ClientAccountGetMultiRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| File name on storage | - **folder** | **str**| Folder on storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_account_get_multi_async** -> client_account_get_multi_async(self, client_account_get_multi_request) - Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_account_get_multi_async(request).get() returns [**EmailClientMultiAccount**](EmailClientMultiAccount.md) - -### Request Parameters -```python -__init__(self, - file_name, - folder=folder, - storage=storage) -``` +EmailClientMultiAccount -### Usage +### request Parameter ```python -ClientAccountApi.client_account_get_multi_async( - cakePrefix_client_account_get_multi_request_cakeCodePostProcessor( - file_name, - folder=folder, - storage=storage)) +ClientAccountGetMultiRequest( + file_name: str, + folder: str = None, + storage: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_name** | **str**| File name on storage | - **folder** | **str**| Folder on storage | [optional] - **storage** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_account_save** -> client_account_save(self, client_account_save_request) - -Create/update email client account file (*.account) with credentials - -### Return type + **file_name** | **str** | File name on storage | + **folder** | **str** | Folder on storage | [optional] + **storage** | **str** | Storage name | [optional] -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# save -### Usage ```python -ClientAccountApi.client_account_save( - cakePrefix_client_account_save_request_cakeCodePostProcessor( - request)) +save(self, EmailClientAccountSaveRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**EmailClientAccountSaveRequest**](EmailClientAccountSaveRequest.md)| Email account information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_account_save_async** -> client_account_save_async(self, client_account_save_request) - Create/update email client account file (*.account) with credentials -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_account_save_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientAccountApi.client_account_save_async( - cakePrefix_client_account_save_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**EmailClientAccountSaveRequest**](EmailClientAccountSaveRequest.md)| Email account information | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_account_save_multi** -> client_account_save_multi(self, client_account_save_multi_request) - -Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". +void (empty response body) -### Return type +### request Parameter -void (empty response body) +See parameter model documentation at [EmailClientAccountSaveRequest](EmailClientAccountSaveRequest.md) -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# save_multi -### Usage ```python -ClientAccountApi.client_account_save_multi( - cakePrefix_client_account_save_multi_request_cakeCodePostProcessor( - request)) +save_multi(self, EmailClientMultiAccountSaveRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**EmailClientMultiAccountSaveRequest**](EmailClientMultiAccountSaveRequest.md)| Email accounts information. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_account_save_multi_async** -> client_account_save_multi_async(self, client_account_save_multi_request) - Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_account_save_multi_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientAccountApi.client_account_save_multi_async( - cakePrefix_client_account_save_multi_request_cakeCodePostProcessor( - request)) -``` +void (empty response body) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**EmailClientMultiAccountSaveRequest**](EmailClientMultiAccountSaveRequest.md)| Email accounts information. | +See parameter model documentation at [EmailClientMultiAccountSaveRequest](EmailClientMultiAccountSaveRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientAccountApi_list.md b/sdk/docs/ClientAccountApi_list.md new file mode 100644 index 0000000..3a2a19f --- /dev/null +++ b/sdk/docs/ClientAccountApi_list.md @@ -0,0 +1,14 @@ + + +## Documentation for ClientAccountApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get**](ClientAccountApi.md#get)| **GET** /email/client/account| Get email client account from storage. +[**get_multi**](ClientAccountApi.md#get_multi)| **GET** /email/client/account/multi| Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". +[**save**](ClientAccountApi.md#save)| **PUT** /email/client/account| Create/update email client account file (*.account) with credentials +[**save_multi**](ClientAccountApi.md#save_multi)| **PUT** /email/client/account/multi| Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". diff --git a/sdk/docs/ClientAccountBaseRequest.md b/sdk/docs/ClientAccountBaseRequest.md index 7a638c6..1c689cc 100644 --- a/sdk/docs/ClientAccountBaseRequest.md +++ b/sdk/docs/ClientAccountBaseRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientFolderApi.md b/sdk/docs/ClientFolderApi.md index 2e08ecd..5ef7062 100644 --- a/sdk/docs/ClientFolderApi.md +++ b/sdk/docs/ClientFolderApi.md @@ -1,209 +1,73 @@ -# AsposeEmailCloudSdk.ClientFolderApi - - -# **client_folder_create** -> client_folder_create(self, client_folder_create_request) -Create new folder in email account - -### Return type - -void (empty response body) +# AsposeEmailCloudSdk.ClientFolderApi -### Request Parameters -```python -__init__(self, - request) -``` + + +# create -### Usage ```python -ClientFolderApi.client_folder_create( - cakePrefix_client_folder_create_request_cakeCodePostProcessor( - request)) +create(self, ClientFolderCreateRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientFolderCreateRequest**](ClientFolderCreateRequest.md)| Create folder request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_folder_create_async** -> client_folder_create_async(self, client_folder_create_request) - Create new folder in email account -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_folder_create_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientFolderApi.client_folder_create_async( - cakePrefix_client_folder_create_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientFolderCreateRequest**](ClientFolderCreateRequest.md)| Create folder request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +void (empty response body) - -# **client_folder_delete** -> client_folder_delete(self, client_folder_delete_request) +### request Parameter -Delete a folder in email account - -### Return type +See parameter model documentation at [ClientFolderCreateRequest](ClientFolderCreateRequest.md) -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# delete -### Usage ```python -ClientFolderApi.client_folder_delete( - cakePrefix_client_folder_delete_request_cakeCodePostProcessor( - request)) +delete(self, ClientFolderDeleteRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientFolderDeleteRequest**](ClientFolderDeleteRequest.md)| Delete folder request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_folder_delete_async** -> client_folder_delete_async(self, client_folder_delete_request) - Delete a folder in email account -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_folder_delete_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientFolderApi.client_folder_delete_async( - cakePrefix_client_folder_delete_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientFolderDeleteRequest**](ClientFolderDeleteRequest.md)| Delete folder request | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +void (empty response body) - -# **client_folder_get_list** -> client_folder_get_list(self, client_folder_get_list_request) +### request Parameter -Get folders list in email account +See parameter model documentation at [ClientFolderDeleteRequest](ClientFolderDeleteRequest.md) -### Return type +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_list -[**MailServerFolderList**](MailServerFolderList.md) - -### Request Parameters ```python -__init__(self, - account, - storage=storage, - account_storage_folder=account_storage_folder, - parent_folder=parent_folder) +get_list(self, request: ClientFolderGetListRequest) ``` -### Usage -```python -ClientFolderApi.client_folder_get_list( - cakePrefix_client_folder_get_list_request_cakeCodePostProcessor( - account, - storage=storage, - account_storage_folder=account_storage_folder, - parent_folder=parent_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account** | **str**| Email account | - **storage** | **str**| Storage name where account file located | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located | [optional] - **parent_folder** | **str**| Folder in which subfolders should be listed | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_folder_get_list_async** -> client_folder_get_list_async(self, client_folder_get_list_request) - Get folders list in email account -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_folder_get_list_async(request).get() returns [**MailServerFolderList**](MailServerFolderList.md) +MailServerFolderList -### Request Parameters +### request Parameter ```python -__init__(self, - account, - storage=storage, - account_storage_folder=account_storage_folder, - parent_folder=parent_folder) +ClientFolderGetListRequest( + account: str, + storage: str = None, + account_storage_folder: str = None, + parent_folder: str = None) ``` -### Usage -```python -ClientFolderApi.client_folder_get_list_async( - cakePrefix_client_folder_get_list_request_cakeCodePostProcessor( - account, - storage=storage, - account_storage_folder=account_storage_folder, - parent_folder=parent_folder)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account** | **str**| Email account | - **storage** | **str**| Storage name where account file located | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located | [optional] - **parent_folder** | **str**| Folder in which subfolders should be listed | [optional] + **account** | **str** | Email account | + **storage** | **str** | Storage name where account file located | [optional] + **account_storage_folder** | **str** | Folder in storage where account file located | [optional] + **parent_folder** | **str** | Folder in which subfolders should be listed | [optional] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientFolderApi_list.md b/sdk/docs/ClientFolderApi_list.md new file mode 100644 index 0000000..994f364 --- /dev/null +++ b/sdk/docs/ClientFolderApi_list.md @@ -0,0 +1,13 @@ + + +## Documentation for ClientFolderApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create**](ClientFolderApi.md#create)| **PUT** /email/client/folder| Create new folder in email account +[**delete**](ClientFolderApi.md#delete)| **DELETE** /email/client/folder| Delete a folder in email account +[**get_list**](ClientFolderApi.md#get_list)| **GET** /email/client/folder/list| Get folders list in email account diff --git a/sdk/docs/ClientFolderCreateRequest.md b/sdk/docs/ClientFolderCreateRequest.md index 53cbf77..39f2a10 100644 --- a/sdk/docs/ClientFolderCreateRequest.md +++ b/sdk/docs/ClientFolderCreateRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientFolderDeleteRequest.md b/sdk/docs/ClientFolderDeleteRequest.md index d79091e..4fac1fd 100644 --- a/sdk/docs/ClientFolderDeleteRequest.md +++ b/sdk/docs/ClientFolderDeleteRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientGroup.md b/sdk/docs/ClientGroup.md index 6518376..b50055b 100644 --- a/sdk/docs/ClientGroup.md +++ b/sdk/docs/ClientGroup.md @@ -1,9 +1,9 @@ -# EmailCloud.Client +# EmailCloud.Client Builtin Email client operations. API | Description --- | ----------- -[EmailCloud.client().**account()**](ClientAccountApi_list.md) | Email server account for built-in client operations. -[EmailCloud.client().**folder()**](ClientFolderApi_list.md) | Email client folder operations. -[EmailCloud.client().**message()**](ClientMessageApi_list.md) | Email client message operations. -[EmailCloud.client().**thread()**](ClientThreadApi_list.md) | Email client thread operations. +[EmailCloud.client.**account**](ClientAccountApi_list.md) | Email server account for built-in client operations. +[EmailCloud.client.**folder**](ClientFolderApi_list.md) | Email client folder operations. +[EmailCloud.client.**message**](ClientMessageApi_list.md) | Email client message operations. +[EmailCloud.client.**thread**](ClientThreadApi_list.md) | Email client thread operations. diff --git a/sdk/docs/ClientMessageApi.md b/sdk/docs/ClientMessageApi.md index 881a4c1..0186726 100644 --- a/sdk/docs/ClientMessageApi.md +++ b/sdk/docs/ClientMessageApi.md @@ -1,170 +1,69 @@ -# AsposeEmailCloudSdk.ClientMessageApi - - -# **client_message_append** -> client_message_append(self, client_message_append_request) - -Add email message to specified folder in email account. -### Return type +# AsposeEmailCloudSdk.ClientMessageApi -[**ValueTOfString**](ValueTOfString.md) + + +# append -### Request Parameters ```python -__init__(self, - request) +append(self, ClientMessageAppendRequest request) ``` -### Usage -```python -ClientMessageApi.client_message_append( - cakePrefix_client_message_append_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageAppendRequest**](ClientMessageAppendRequest.md)| Append email request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_append_async** -> client_message_append_async(self, client_message_append_request) - Add email message to specified folder in email account. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_message_append_async(request).get() returns [**ValueTOfString**](ValueTOfString.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientMessageApi.client_message_append_async( - cakePrefix_client_message_append_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageAppendRequest**](ClientMessageAppendRequest.md)| Append email request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_append_file** -> client_message_append_file(self, client_message_append_file_request) - -Add email message from file to specified folder in email account. +[**ValueTOfString**](ValueTOfString.md) -### Return type +### request Parameter -[**ValueTOfString**](ValueTOfString.md) +See parameter model documentation at [ClientMessageAppendRequest](ClientMessageAppendRequest.md) -### Request Parameters -```python -__init__(self, - account, - file, - storage=storage, - account_storage_folder=account_storage_folder, - format=format, - folder=folder, - mark_as_sent=mark_as_sent) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# append_file -### Usage ```python -ClientMessageApi.client_message_append_file( - cakePrefix_client_message_append_file_request_cakeCodePostProcessor( - account, - file, - storage=storage, - account_storage_folder=account_storage_folder, - format=format, - folder=folder, - mark_as_sent=mark_as_sent)) +append_file(self, request: ClientMessageAppendFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account** | **str**| Email account. | - **file** | **file**| Message file to append. | - **storage** | **str**| Storage name where account file located. | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] - **format** | **str**| Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - **folder** | **str**| Path to folder on email server to append message to. | [optional] - **mark_as_sent** | **bool**| Determines that appended message should be market as sent or not. | [optional] [default to true] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_append_file_async** -> client_message_append_file_async(self, client_message_append_file_request) - Add email message from file to specified folder in email account. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_message_append_file_async(request).get() returns [**ValueTOfString**](ValueTOfString.md) +ValueTOfString -### Request Parameters +### request Parameter ```python -__init__(self, - account, - file, - storage=storage, - account_storage_folder=account_storage_folder, - format=format, - folder=folder, - mark_as_sent=mark_as_sent) +ClientMessageAppendFileRequest( + account: str, + file: str, + storage: str = None, + account_storage_folder: str = None, + format: str = None, + folder: str = None, + mark_as_sent: bool = None) ``` -### Usage -```python -ClientMessageApi.client_message_append_file_async( - cakePrefix_client_message_append_file_request_cakeCodePostProcessor( - account, - file, - storage=storage, - account_storage_folder=account_storage_folder, - format=format, - folder=folder, - mark_as_sent=mark_as_sent)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account** | **str**| Email account. | - **file** | **file**| Message file to append. | - **storage** | **str**| Storage name where account file located. | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] - **format** | **str**| Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - **folder** | **str**| Path to folder on email server to append message to. | [optional] - **mark_as_sent** | **bool**| Determines that appended message should be market as sent or not. | [optional] [default to true] + **account** | **str** | Email account. | + **file** | **str** | Message file to append. | + **storage** | **str** | Storage name where account file located. | [optional] + **account_storage_folder** | **str** | Folder in storage where account file located. | [optional] + **format** | **str** | Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **folder** | **str** | Path to folder on email server to append message to. | [optional] + **mark_as_sent** | **bool** | Determines that appended message should be market as sent or not. | [optional] [default to true] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# delete - -# **client_message_delete** -> client_message_delete(self, client_message_delete_request) +```python +delete(self, ClientMessageDeleteRequest request) +``` Delete message. @@ -172,633 +71,212 @@ Delete message. void (empty response body) -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientMessageApi.client_message_delete( - cakePrefix_client_message_delete_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageDeleteRequest**](ClientMessageDeleteRequest.md)| Delete message request. | +### request Parameter -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +See parameter model documentation at [ClientMessageDeleteRequest](ClientMessageDeleteRequest.md) - -# **client_message_delete_async** -> client_message_delete_async(self, client_message_delete_request) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# fetch -Delete message. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -client_message_delete_async(request).get() returns void (empty response body) - -### Request Parameters ```python -__init__(self, - request) +fetch(self, request: ClientMessageFetchRequest) ``` -### Usage -```python -ClientMessageApi.client_message_delete_async( - cakePrefix_client_message_delete_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageDeleteRequest**](ClientMessageDeleteRequest.md)| Delete message request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_fetch** -> client_message_fetch(self, client_message_fetch_request) - Fetch message from email account ### Return type -[**MailMessageBase**](MailMessageBase.md) +MailMessageBase -### Request Parameters +### request Parameter ```python -__init__(self, - message_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder, - type=type, - format=format) +ClientMessageFetchRequest( + message_id: str, + account: str, + folder: str = None, + storage: str = None, + account_storage_folder: str = None, + type: str = None, + format: str = None) ``` -### Usage -```python -ClientMessageApi.client_message_fetch( - cakePrefix_client_message_fetch_request_cakeCodePostProcessor( - message_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder, - type=type, - format=format)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **message_id** | **str**| Message identifier | - **account** | **str**| Email account | - **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] - **storage** | **str**| Storage name where account file located. | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] - **type** | **str**| MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] - **format** | **str**| Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_fetch_async** -> client_message_fetch_async(self, client_message_fetch_request) - -Fetch message from email account - -Performs operation asynchronously. - -### Return type + **message_id** | **str** | Message identifier | + **account** | **str** | Email account | + **folder** | **str** | Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] + **storage** | **str** | Storage name where account file located. | [optional] + **account_storage_folder** | **str** | Folder in storage where account file located. | [optional] + **type** | **str** | MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] + **format** | **str** | Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] -Returns multiprocessing.pool.AsyncResult. -client_message_fetch_async(request).get() returns [**MailMessageBase**](MailMessageBase.md) - -### Request Parameters -```python -__init__(self, - message_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder, - type=type, - format=format) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# fetch_file -### Usage ```python -ClientMessageApi.client_message_fetch_async( - cakePrefix_client_message_fetch_request_cakeCodePostProcessor( - message_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder, - type=type, - format=format)) +fetch_file(self, request: ClientMessageFetchFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **message_id** | **str**| Message identifier | - **account** | **str**| Email account | - **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] - **storage** | **str**| Storage name where account file located. | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] - **type** | **str**| MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] - **format** | **str**| Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_fetch_file** -> client_message_fetch_file(self, client_message_fetch_file_request) - Fetch message as file from email account ### Return type -**file** - -### Request Parameters -```python -__init__(self, - message_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder, - format=format) -``` +str -### Usage +### request Parameter ```python -ClientMessageApi.client_message_fetch_file( - cakePrefix_client_message_fetch_file_request_cakeCodePostProcessor( - message_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder, - format=format)) +ClientMessageFetchFileRequest( + message_id: str, + account: str, + folder: str = None, + storage: str = None, + account_storage_folder: str = None, + format: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **message_id** | **str**| Message identifier | - **account** | **str**| Email account | - **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] - **storage** | **str**| Storage name where account file located. | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] - **format** | **str**| Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_fetch_file_async** -> client_message_fetch_file_async(self, client_message_fetch_file_request) - -Fetch message as file from email account + **message_id** | **str** | Message identifier | + **account** | **str** | Email account | + **folder** | **str** | Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] + **storage** | **str** | Storage name where account file located. | [optional] + **account_storage_folder** | **str** | Folder in storage where account file located. | [optional] + **format** | **str** | Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] -Performs operation asynchronously. +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# list -### Return type - -Returns multiprocessing.pool.AsyncResult. -client_message_fetch_file_async(request).get() returns **file** - -### Request Parameters ```python -__init__(self, - message_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder, - format=format) +list(self, request: ClientMessageListRequest) ``` -### Usage -```python -ClientMessageApi.client_message_fetch_file_async( - cakePrefix_client_message_fetch_file_request_cakeCodePostProcessor( - message_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder, - format=format)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **message_id** | **str**| Message identifier | - **account** | **str**| Email account | - **folder** | **str**| Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] - **storage** | **str**| Storage name where account file located. | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] - **format** | **str**| Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_list** -> client_message_list(self, client_message_list_request) - Get messages from folder, filtered by query The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" ### Return type -[**MailMessageBaseList**](MailMessageBaseList.md) - -### Request Parameters -```python -__init__(self, - folder, - account, - query_string=query_string, - storage=storage, - account_storage_folder=account_storage_folder, - recursive=recursive, - type=type, - format=format) -``` +MailMessageBaseList -### Usage +### request Parameter ```python -ClientMessageApi.client_message_list( - cakePrefix_client_message_list_request_cakeCodePostProcessor( - folder, - account, - query_string=query_string, - storage=storage, - account_storage_folder=account_storage_folder, - recursive=recursive, - type=type, - format=format)) +ClientMessageListRequest( + folder: str, + account: str, + query_string: str = None, + storage: str = None, + account_storage_folder: str = None, + recursive: bool = None, + type: str = None, + format: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account | - **account** | **str**| Email account | - **query_string** | **str**| A MailQuery search string | [optional] - **storage** | **str**| Storage name where account file located | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located | [optional] - **recursive** | **bool**| Specifies that should message be searched in subfolders recursively | [optional] [default to false] - **type** | **str**| MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] - **format** | **str**| Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_list_async** -> client_message_list_async(self, client_message_list_request) + **folder** | **str** | A folder in email account | + **account** | **str** | Email account | + **query_string** | **str** | A MailQuery search string | [optional] + **storage** | **str** | Storage name where account file located | [optional] + **account_storage_folder** | **str** | Folder in storage where account file located | [optional] + **recursive** | **bool** | Specifies that should message be searched in subfolders recursively | [optional] [default to false] + **type** | **str** | MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] + **format** | **str** | Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] -Get messages from folder, filtered by query - -Performs operation asynchronously. - -The query string should have the following view. The example of a simple expression: '' '', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: ( & ) | , where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value () can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\" +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# move -### Return type - -Returns multiprocessing.pool.AsyncResult. -client_message_list_async(request).get() returns [**MailMessageBaseList**](MailMessageBaseList.md) - -### Request Parameters ```python -__init__(self, - folder, - account, - query_string=query_string, - storage=storage, - account_storage_folder=account_storage_folder, - recursive=recursive, - type=type, - format=format) +move(self, ClientMessageMoveRequest request) ``` -### Usage -```python -ClientMessageApi.client_message_list_async( - cakePrefix_client_message_list_request_cakeCodePostProcessor( - folder, - account, - query_string=query_string, - storage=storage, - account_storage_folder=account_storage_folder, - recursive=recursive, - type=type, - format=format)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account | - **account** | **str**| Email account | - **query_string** | **str**| A MailQuery search string | [optional] - **storage** | **str**| Storage name where account file located | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located | [optional] - **recursive** | **bool**| Specifies that should message be searched in subfolders recursively | [optional] [default to false] - **type** | **str**| MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] - **format** | **str**| Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_move** -> client_message_move(self, client_message_move_request) - Move message to another folder. ### Return type void (empty response body) -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientMessageApi.client_message_move( - cakePrefix_client_message_move_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageMoveRequest**](ClientMessageMoveRequest.md)| Move message request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_move_async** -> client_message_move_async(self, client_message_move_request) - -Move message to another folder. - -Performs operation asynchronously. +### request Parameter -### Return type +See parameter model documentation at [ClientMessageMoveRequest](ClientMessageMoveRequest.md) -Returns multiprocessing.pool.AsyncResult. -client_message_move_async(request).get() returns void (empty response body) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# send -### Request Parameters ```python -__init__(self, - request) +send(self, ClientMessageSendRequest request) ``` -### Usage -```python -ClientMessageApi.client_message_move_async( - cakePrefix_client_message_move_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageMoveRequest**](ClientMessageMoveRequest.md)| Move message request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_send** -> client_message_send(self, client_message_send_request) - Send an email specified by model in request. ### Return type void (empty response body) -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientMessageApi.client_message_send( - cakePrefix_client_message_send_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageSendRequest**](ClientMessageSendRequest.md)| Send email request. | +### request Parameter -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +See parameter model documentation at [ClientMessageSendRequest](ClientMessageSendRequest.md) - -# **client_message_send_async** -> client_message_send_async(self, client_message_send_request) - -Send an email specified by model in request. - -Performs operation asynchronously. - -### Return type +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# send_file -Returns multiprocessing.pool.AsyncResult. -client_message_send_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage ```python -ClientMessageApi.client_message_send_async( - cakePrefix_client_message_send_request_cakeCodePostProcessor( - request)) +send_file(self, request: ClientMessageSendFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageSendRequest**](ClientMessageSendRequest.md)| Send email request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_send_file** -> client_message_send_file(self, client_message_send_file_request) - Send an email file. ### Return type -void (empty response body) +None -### Request Parameters +### request Parameter ```python -__init__(self, - account, - file, - storage=storage, - account_storage_folder=account_storage_folder, - format=format) +ClientMessageSendFileRequest( + account: str, + file: str, + storage: str = None, + account_storage_folder: str = None, + format: str = None) ``` -### Usage -```python -ClientMessageApi.client_message_send_file( - cakePrefix_client_message_send_file_request_cakeCodePostProcessor( - account, - file, - storage=storage, - account_storage_folder=account_storage_folder, - format=format)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account** | **str**| Email account | - **file** | **file**| File to send | - **storage** | **str**| Storage name where account file located. | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] - **format** | **str**| Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **account** | **str** | Email account | + **file** | **str** | File to send | + **storage** | **str** | Storage name where account file located. | [optional] + **account_storage_folder** | **str** | Folder in storage where account file located. | [optional] + **format** | **str** | Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# set_is_read - -# **client_message_send_file_async** -> client_message_send_file_async(self, client_message_send_file_request) - -Send an email file. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -client_message_send_file_async(request).get() returns void (empty response body) - -### Request Parameters ```python -__init__(self, - account, - file, - storage=storage, - account_storage_folder=account_storage_folder, - format=format) +set_is_read(self, ClientMessageSetIsReadRequest request) ``` -### Usage -```python -ClientMessageApi.client_message_send_file_async( - cakePrefix_client_message_send_file_request_cakeCodePostProcessor( - account, - file, - storage=storage, - account_storage_folder=account_storage_folder, - format=format)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account** | **str**| Email account | - **file** | **file**| File to send | - **storage** | **str**| Storage name where account file located. | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located. | [optional] - **format** | **str**| Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_set_is_read** -> client_message_set_is_read(self, client_message_set_is_read_request) - Mark message as read or unread. ### Return type void (empty response body) -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientMessageApi.client_message_set_is_read( - cakePrefix_client_message_set_is_read_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageSetIsReadRequest**](ClientMessageSetIsReadRequest.md)| Delete message request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_message_set_is_read_async** -> client_message_set_is_read_async(self, client_message_set_is_read_request) - -Mark message as read or unread. - -Performs operation asynchronously. - -### Return type - -Returns multiprocessing.pool.AsyncResult. -client_message_set_is_read_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientMessageApi.client_message_set_is_read_async( - cakePrefix_client_message_set_is_read_request_cakeCodePostProcessor( - request)) -``` +### request Parameter +See parameter model documentation at [ClientMessageSetIsReadRequest](ClientMessageSetIsReadRequest.md) -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientMessageSetIsReadRequest**](ClientMessageSetIsReadRequest.md)| Delete message request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientMessageApi_list.md b/sdk/docs/ClientMessageApi_list.md new file mode 100644 index 0000000..015b2d4 --- /dev/null +++ b/sdk/docs/ClientMessageApi_list.md @@ -0,0 +1,20 @@ + + +## Documentation for ClientMessageApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**append**](ClientMessageApi.md#append)| **POST** /email/client/message/append| Add email message to specified folder in email account. +[**append_file**](ClientMessageApi.md#append_file)| **POST** /email/client/message/file/append| Add email message from file to specified folder in email account. +[**delete**](ClientMessageApi.md#delete)| **DELETE** /email/client/message| Delete message. +[**fetch**](ClientMessageApi.md#fetch)| **GET** /email/client/message| Fetch message from email account +[**fetch_file**](ClientMessageApi.md#fetch_file)| **GET** /email/client/message/file| Fetch message as file from email account +[**list**](ClientMessageApi.md#list)| **GET** /email/client/message/list| Get messages from folder, filtered by query +[**move**](ClientMessageApi.md#move)| **PUT** /email/client/message/move| Move message to another folder. +[**send**](ClientMessageApi.md#send)| **POST** /email/client/message| Send an email specified by model in request. +[**send_file**](ClientMessageApi.md#send_file)| **POST** /email/client/message/file| Send an email file. +[**set_is_read**](ClientMessageApi.md#set_is_read)| **PUT** /email/client/message/set-is-read| Mark message as read or unread. diff --git a/sdk/docs/ClientMessageAppendRequest.md b/sdk/docs/ClientMessageAppendRequest.md index 06fffc7..7d92a06 100644 --- a/sdk/docs/ClientMessageAppendRequest.md +++ b/sdk/docs/ClientMessageAppendRequest.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientMessageBaseRequest.md b/sdk/docs/ClientMessageBaseRequest.md index 5e392da..907ebd9 100644 --- a/sdk/docs/ClientMessageBaseRequest.md +++ b/sdk/docs/ClientMessageBaseRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientMessageDeleteRequest.md b/sdk/docs/ClientMessageDeleteRequest.md index 56b0a0c..ed546fa 100644 --- a/sdk/docs/ClientMessageDeleteRequest.md +++ b/sdk/docs/ClientMessageDeleteRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [ClientMessageBaseRequest](ClientMessageBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientMessageMoveRequest.md b/sdk/docs/ClientMessageMoveRequest.md index 3f60c12..fa70267 100644 --- a/sdk/docs/ClientMessageMoveRequest.md +++ b/sdk/docs/ClientMessageMoveRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes Parent class: [ClientMessageBaseRequest](ClientMessageBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientMessageSendRequest.md b/sdk/docs/ClientMessageSendRequest.md index de8b0bd..c724626 100644 --- a/sdk/docs/ClientMessageSendRequest.md +++ b/sdk/docs/ClientMessageSendRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientMessageSetIsReadRequest.md b/sdk/docs/ClientMessageSetIsReadRequest.md index 6d8ec45..f1069c8 100644 --- a/sdk/docs/ClientMessageSetIsReadRequest.md +++ b/sdk/docs/ClientMessageSetIsReadRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [ClientMessageBaseRequest](ClientMessageBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientThreadApi.md b/sdk/docs/ClientThreadApi.md index c118786..89080a5 100644 --- a/sdk/docs/ClientThreadApi.md +++ b/sdk/docs/ClientThreadApi.md @@ -1,371 +1,129 @@ -# AsposeEmailCloudSdk.ClientThreadApi - - -# **client_thread_delete** -> client_thread_delete(self, client_thread_delete_request) - -Delete thread by id. All messages from thread will also be deleted. -### Return type +# AsposeEmailCloudSdk.ClientThreadApi -void (empty response body) + + +# delete -### Request Parameters ```python -__init__(self, - request) +delete(self, ClientThreadDeleteRequest request) ``` -### Usage -```python -ClientThreadApi.client_thread_delete( - cakePrefix_client_thread_delete_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientThreadDeleteRequest**](ClientThreadDeleteRequest.md)| Delete email thread request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_delete_async** -> client_thread_delete_async(self, client_thread_delete_request) - Delete thread by id. All messages from thread will also be deleted. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_thread_delete_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientThreadApi.client_thread_delete_async( - cakePrefix_client_thread_delete_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientThreadDeleteRequest**](ClientThreadDeleteRequest.md)| Delete email thread request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_get_list** -> client_thread_get_list(self, client_thread_get_list_request) - -Get message threads from folder. All messages are partly fetched (without email body and some other fields). +void (empty response body) -### Return type +### request Parameter -[**EmailThreadList**](EmailThreadList.md) +See parameter model documentation at [ClientThreadDeleteRequest](ClientThreadDeleteRequest.md) -### Request Parameters -```python -__init__(self, - folder, - account, - storage=storage, - account_storage_folder=account_storage_folder, - update_folder_cache=update_folder_cache, - messages_cache_limit=messages_cache_limit) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_list -### Usage ```python -ClientThreadApi.client_thread_get_list( - cakePrefix_client_thread_get_list_request_cakeCodePostProcessor( - folder, - account, - storage=storage, - account_storage_folder=account_storage_folder, - update_folder_cache=update_folder_cache, - messages_cache_limit=messages_cache_limit)) +get_list(self, request: ClientThreadGetListRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account. | - **account** | **str**| Email account | - **storage** | **str**| Storage name where account file located | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located | [optional] - **update_folder_cache** | **bool**| This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account | [optional] [default to true] - **messages_cache_limit** | **int**| Limit messages cache size if CacheFile is used. Ignored in accounts without limits support | [optional] [default to 200] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_get_list_async** -> client_thread_get_list_async(self, client_thread_get_list_request) - Get message threads from folder. All messages are partly fetched (without email body and some other fields). -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_thread_get_list_async(request).get() returns [**EmailThreadList**](EmailThreadList.md) - -### Request Parameters -```python -__init__(self, - folder, - account, - storage=storage, - account_storage_folder=account_storage_folder, - update_folder_cache=update_folder_cache, - messages_cache_limit=messages_cache_limit) -``` +EmailThreadList -### Usage +### request Parameter ```python -ClientThreadApi.client_thread_get_list_async( - cakePrefix_client_thread_get_list_request_cakeCodePostProcessor( - folder, - account, - storage=storage, - account_storage_folder=account_storage_folder, - update_folder_cache=update_folder_cache, - messages_cache_limit=messages_cache_limit)) +ClientThreadGetListRequest( + folder: str, + account: str, + storage: str = None, + account_storage_folder: str = None, + update_folder_cache: bool = None, + messages_cache_limit: int = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **folder** | **str**| A folder in email account. | - **account** | **str**| Email account | - **storage** | **str**| Storage name where account file located | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located | [optional] - **update_folder_cache** | **bool**| This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account | [optional] [default to true] - **messages_cache_limit** | **int**| Limit messages cache size if CacheFile is used. Ignored in accounts without limits support | [optional] [default to 200] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_get_messages** -> client_thread_get_messages(self, client_thread_get_messages_request) - -Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. - -### Return type + **folder** | **str** | A folder in email account. | + **account** | **str** | Email account | + **storage** | **str** | Storage name where account file located | [optional] + **account_storage_folder** | **str** | Folder in storage where account file located | [optional] + **update_folder_cache** | **bool** | This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account | [optional] [default to true] + **messages_cache_limit** | **int** | Limit messages cache size if CacheFile is used. Ignored in accounts without limits support | [optional] [default to 200] -[**EmailList**](EmailList.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_messages -### Request Parameters ```python -__init__(self, - thread_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder) +get_messages(self, request: ClientThreadGetMessagesRequest) ``` -### Usage -```python -ClientThreadApi.client_thread_get_messages( - cakePrefix_client_thread_get_messages_request_cakeCodePostProcessor( - thread_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread identifier | - **account** | **str**| Email account | - **folder** | **str**| Specifies account folder to get thread from | [optional] - **storage** | **str**| Storage name where account file located | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_get_messages_async** -> client_thread_get_messages_async(self, client_thread_get_messages_request) - Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_thread_get_messages_async(request).get() returns [**EmailList**](EmailList.md) - -### Request Parameters -```python -__init__(self, - thread_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder) -``` +EmailList -### Usage +### request Parameter ```python -ClientThreadApi.client_thread_get_messages_async( - cakePrefix_client_thread_get_messages_request_cakeCodePostProcessor( - thread_id, - account, - folder=folder, - storage=storage, - account_storage_folder=account_storage_folder)) +ClientThreadGetMessagesRequest( + thread_id: str, + account: str, + folder: str = None, + storage: str = None, + account_storage_folder: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **thread_id** | **str**| Thread identifier | - **account** | **str**| Email account | - **folder** | **str**| Specifies account folder to get thread from | [optional] - **storage** | **str**| Storage name where account file located | [optional] - **account_storage_folder** | **str**| Folder in storage where account file located | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_move** -> client_thread_move(self, client_thread_move_request) - -Move thread to another folder. - -### Return type - -void (empty response body) + **thread_id** | **str** | Thread identifier | + **account** | **str** | Email account | + **folder** | **str** | Specifies account folder to get thread from | [optional] + **storage** | **str** | Storage name where account file located | [optional] + **account_storage_folder** | **str** | Folder in storage where account file located | [optional] -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# move -### Usage ```python -ClientThreadApi.client_thread_move( - cakePrefix_client_thread_move_request_cakeCodePostProcessor( - request)) +move(self, ClientThreadMoveRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientThreadMoveRequest**](ClientThreadMoveRequest.md)| Move thread request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_move_async** -> client_thread_move_async(self, client_thread_move_request) - Move thread to another folder. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_thread_move_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientThreadApi.client_thread_move_async( - cakePrefix_client_thread_move_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientThreadMoveRequest**](ClientThreadMoveRequest.md)| Move thread request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_set_is_read** -> client_thread_set_is_read(self, client_thread_set_is_read_request) - -Mark all messages in thread as read or unread. +void (empty response body) -### Return type +### request Parameter -void (empty response body) +See parameter model documentation at [ClientThreadMoveRequest](ClientThreadMoveRequest.md) -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# set_is_read -### Usage ```python -ClientThreadApi.client_thread_set_is_read( - cakePrefix_client_thread_set_is_read_request_cakeCodePostProcessor( - request)) +set_is_read(self, ClientThreadSetIsReadRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientThreadSetIsReadRequest**](ClientThreadSetIsReadRequest.md)| Email account specifier and IsRead flag. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **client_thread_set_is_read_async** -> client_thread_set_is_read_async(self, client_thread_set_is_read_request) - Mark all messages in thread as read or unread. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -client_thread_set_is_read_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ClientThreadApi.client_thread_set_is_read_async( - cakePrefix_client_thread_set_is_read_request_cakeCodePostProcessor( - request)) -``` +void (empty response body) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ClientThreadSetIsReadRequest**](ClientThreadSetIsReadRequest.md)| Email account specifier and IsRead flag. | +See parameter model documentation at [ClientThreadSetIsReadRequest](ClientThreadSetIsReadRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientThreadApi_list.md b/sdk/docs/ClientThreadApi_list.md new file mode 100644 index 0000000..e89af79 --- /dev/null +++ b/sdk/docs/ClientThreadApi_list.md @@ -0,0 +1,15 @@ + + +## Documentation for ClientThreadApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**delete**](ClientThreadApi.md#delete)| **DELETE** /email/client/thread| Delete thread by id. All messages from thread will also be deleted. +[**get_list**](ClientThreadApi.md#get_list)| **GET** /email/client/thread/list| Get message threads from folder. All messages are partly fetched (without email body and some other fields). +[**get_messages**](ClientThreadApi.md#get_messages)| **GET** /email/client/thread/messages| Get messages from thread by id. All messages are fully fetched. For accounts with CacheFile only cached messages will be returned. +[**move**](ClientThreadApi.md#move)| **PUT** /email/client/thread/move| Move thread to another folder. +[**set_is_read**](ClientThreadApi.md#set_is_read)| **PUT** /email/client/thread/set-is-read| Mark all messages in thread as read or unread. diff --git a/sdk/docs/ClientThreadBaseRequest.md b/sdk/docs/ClientThreadBaseRequest.md index 7ee5fb8..bef719b 100644 --- a/sdk/docs/ClientThreadBaseRequest.md +++ b/sdk/docs/ClientThreadBaseRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [ClientAccountBaseRequest](ClientAccountBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientThreadDeleteRequest.md b/sdk/docs/ClientThreadDeleteRequest.md index 4c5f8ff..d443480 100644 --- a/sdk/docs/ClientThreadDeleteRequest.md +++ b/sdk/docs/ClientThreadDeleteRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [ClientThreadBaseRequest](ClientThreadBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientThreadMoveRequest.md b/sdk/docs/ClientThreadMoveRequest.md index 1c902a3..b84791e 100644 --- a/sdk/docs/ClientThreadMoveRequest.md +++ b/sdk/docs/ClientThreadMoveRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [ClientThreadBaseRequest](ClientThreadBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ClientThreadSetIsReadRequest.md b/sdk/docs/ClientThreadSetIsReadRequest.md index 83c0277..e6845dc 100644 --- a/sdk/docs/ClientThreadSetIsReadRequest.md +++ b/sdk/docs/ClientThreadSetIsReadRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes Parent class: [ClientThreadBaseRequest](ClientThreadBaseRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CloudStorageGroup.md b/sdk/docs/CloudStorageGroup.md index 43e4947..e3d7fbd 100644 --- a/sdk/docs/CloudStorageGroup.md +++ b/sdk/docs/CloudStorageGroup.md @@ -1,8 +1,8 @@ -# EmailCloud.CloudStorage +# EmailCloud.CloudStorage Cloud file storage operations. API | Description --- | ----------- -[EmailCloud.cloudStorage().**file()**](FileApi_list.md) | File operations controller -[EmailCloud.cloudStorage().**folder()**](FolderApi_list.md) | Folder operations controller -[EmailCloud.cloudStorage().**storage()**](StorageApi_list.md) | Storage operations controller +[EmailCloud.cloud_storage.**file**](FileApi_list.md) | File operations controller +[EmailCloud.cloud_storage.**folder**](FolderApi_list.md) | Folder operations controller +[EmailCloud.cloud_storage.**storage**](StorageApi_list.md) | Storage operations controller diff --git a/sdk/docs/ContactApi.md b/sdk/docs/ContactApi.md index 31c2706..a6d4a68 100644 --- a/sdk/docs/ContactApi.md +++ b/sdk/docs/ContactApi.md @@ -1,590 +1,214 @@ -# AsposeEmailCloudSdk.ContactApi - - -# **contact_as_file** -> contact_as_file(self, contact_as_file_request) - -Converts contact model to specified format and returns as file - -### Return type -**file** +# AsposeEmailCloudSdk.ContactApi -### Request Parameters -```python -__init__(self, - request) -``` + + +# as_file -### Usage ```python -ContactApi.contact_as_file( - cakePrefix_contact_as_file_request_cakeCodePostProcessor( - request)) +as_file(self, ContactAsFileRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ContactAsFileRequest**](ContactAsFileRequest.md)| Contact model and format to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_as_file_async** -> contact_as_file_async(self, contact_as_file_request) - Converts contact model to specified format and returns as file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -contact_as_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ContactApi.contact_as_file_async( - cakePrefix_contact_as_file_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ContactAsFileRequest**](ContactAsFileRequest.md)| Contact model and format to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +**Stream** - -# **contact_as_mapi** -> contact_as_mapi(self, contact_as_mapi_request) +### request Parameter -Converts ContactDto to MapiContactDto. +See parameter model documentation at [ContactAsFileRequest](ContactAsFileRequest.md) -### Return type - -[**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - contact_dto) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# as_mapi -### Usage ```python -ContactApi.contact_as_mapi( - cakePrefix_contact_as_mapi_request_cakeCodePostProcessor( - contact_dto)) +as_mapi(self, ContactDto contact_dto) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contact_dto** | [**ContactDto**](ContactDto.md)| Contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_as_mapi_async** -> contact_as_mapi_async(self, contact_as_mapi_request) - Converts ContactDto to MapiContactDto. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -contact_as_mapi_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - contact_dto) -``` - -### Usage -```python -ContactApi.contact_as_mapi_async( - cakePrefix_contact_as_mapi_request_cakeCodePostProcessor( - contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contact_dto** | [**ContactDto**](ContactDto.md)| Contact model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_convert** -> contact_convert(self, contact_convert_request) - -Converts contact document to specified format and returns as file +[**MapiContactDto**](MapiContactDto.md) -### Return type +### contact_dto Parameter -**file** +See parameter model documentation at [ContactDto](ContactDto.md) -### Request Parameters -```python -__init__(self, - to_format, - from_format, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# convert -### Usage ```python -ContactApi.contact_convert( - cakePrefix_contact_convert_request_cakeCodePostProcessor( - to_format, - from_format, - file)) +convert(self, request: ContactConvertRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **to_format** | **str**| File format to convert to Enum, available values: VCard, WebDav, Msg | - **from_format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_convert_async** -> contact_convert_async(self, contact_convert_request) - Converts contact document to specified format and returns as file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -contact_convert_async(request).get() returns **file** +str -### Request Parameters +### request Parameter ```python -__init__(self, - to_format, - from_format, - file) +ContactConvertRequest( + to_format: str, + from_format: str, + file: str) ``` -### Usage -```python -ContactApi.contact_convert_async( - cakePrefix_contact_convert_request_cakeCodePostProcessor( - to_format, - from_format, - file)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **to_format** | **str**| File format to convert to Enum, available values: VCard, WebDav, Msg | - **from_format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_from_file** -> contact_from_file(self, contact_from_file_request) - -Converts contact document to a model representation - -### Return type - -[**ContactDto**](ContactDto.md) + **to_format** | **str** | File format to convert to Enum, available values: VCard, WebDav, Msg | + **from_format** | **str** | File format to convert from Enum, available values: VCard, WebDav, Msg | + **file** | **str** | File to convert | -### Request Parameters -```python -__init__(self, - format, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# from_file -### Usage ```python -ContactApi.contact_from_file( - cakePrefix_contact_from_file_request_cakeCodePostProcessor( - format, - file)) +from_file(self, request: ContactFromFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_from_file_async** -> contact_from_file_async(self, contact_from_file_request) - Converts contact document to a model representation -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -contact_from_file_async(request).get() returns [**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - file) -``` +ContactDto -### Usage +### request Parameter ```python -ContactApi.contact_from_file_async( - cakePrefix_contact_from_file_request_cakeCodePostProcessor( - format, - file)) +ContactFromFileRequest( + format: str, + file: str) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_get** -> contact_get(self, contact_get_request) - -Get contact document from storage. + **format** | **str** | File format Enum, available values: VCard, WebDav, Msg | + **file** | **str** | File to convert | -### Return type - -[**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - file_name, - folder=folder, - storage=storage) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get -### Usage ```python -ContactApi.contact_get( - cakePrefix_contact_get_request_cakeCodePostProcessor( - format, - file_name, - folder=folder, - storage=storage)) +get(self, request: ContactGetRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **file_name** | **str**| Contact document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_get_async** -> contact_get_async(self, contact_get_request) - Get contact document from storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -contact_get_async(request).get() returns [**ContactDto**](ContactDto.md) +ContactDto -### Request Parameters +### request Parameter ```python -__init__(self, - format, - file_name, - folder=folder, - storage=storage) +ContactGetRequest( + format: str, + file_name: str, + folder: str = None, + storage: str = None) ``` -### Usage -```python -ContactApi.contact_get_async( - cakePrefix_contact_get_request_cakeCodePostProcessor( - format, - file_name, - folder=folder, - storage=storage)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **file_name** | **str**| Contact document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] + **format** | **str** | Contact document format. Enum, available values: VCard, WebDav, Msg | + **file_name** | **str** | Contact document file name. | + **folder** | **str** | Path to folder in storage. | [optional] + **storage** | **str** | Storage name. | [optional] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_as_file - -# **contact_get_as_file** -> contact_get_as_file(self, contact_get_as_file_request) - -Converts contact document from storage to specified format and returns as file - -### Return type - -**file** - -### Request Parameters ```python -__init__(self, - file_name, - to_format, - from_format, - storage=storage, - folder=folder) +get_as_file(self, request: ContactGetAsFileRequest) ``` -### Usage -```python -ContactApi.contact_get_as_file( - cakePrefix_contact_get_as_file_request_cakeCodePostProcessor( - file_name, - to_format, - from_format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar document file name | - **to_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **from_format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_get_as_file_async** -> contact_get_as_file_async(self, contact_get_as_file_request) - Converts contact document from storage to specified format and returns as file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -contact_get_as_file_async(request).get() returns **file** +str -### Request Parameters +### request Parameter ```python -__init__(self, - file_name, - to_format, - from_format, - storage=storage, - folder=folder) +ContactGetAsFileRequest( + file_name: str, + to_format: str, + from_format: str, + storage: str = None, + folder: str = None) ``` -### Usage -```python -ContactApi.contact_get_as_file_async( - cakePrefix_contact_get_as_file_request_cakeCodePostProcessor( - file_name, - to_format, - from_format, - storage=storage, - folder=folder)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar document file name | - **to_format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **from_format** | **str**| File format to convert from Enum, available values: VCard, WebDav, Msg | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_get_list** -> contact_get_list(self, contact_get_list_request) + **file_name** | **str** | Calendar document file name | + **to_format** | **str** | File format Enum, available values: VCard, WebDav, Msg | + **from_format** | **str** | File format to convert from Enum, available values: VCard, WebDav, Msg | + **storage** | **str** | Storage name | [optional] + **folder** | **str** | Path to folder in storage | [optional] -Get contact list from storage folder. - -### Return type +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_list -[**ContactStorageList**](ContactStorageList.md) - -### Request Parameters ```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) +get_list(self, request: ContactGetListRequest) ``` -### Usage -```python -ContactApi.contact_get_list( - cakePrefix_contact_get_list_request_cakeCodePostProcessor( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_get_list_async** -> contact_get_list_async(self, contact_get_list_request) - Get contact list from storage folder. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -contact_get_list_async(request).get() returns [**ContactStorageList**](ContactStorageList.md) - -### Request Parameters -```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` +ContactStorageList -### Usage +### request Parameter ```python -ContactApi.contact_get_list_async( - cakePrefix_contact_get_list_request_cakeCodePostProcessor( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) +ContactGetListRequest( + format: str, + folder: str = None, + storage: str = None, + items_per_page: int = None, + page_number: int = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_save** -> contact_save(self, contact_save_request) - -Save contact to storage. + **format** | **str** | Contact document format. Enum, available values: VCard, WebDav, Msg | + **folder** | **str** | Path to folder in storage. | [optional] + **storage** | **str** | Storage name. | [optional] + **items_per_page** | **int** | Count of items on page. | [optional] [default to 10] + **page_number** | **int** | Page number. | [optional] [default to 0] -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# save -### Usage ```python -ContactApi.contact_save( - cakePrefix_contact_save_request_cakeCodePostProcessor( - request)) +save(self, ContactSaveRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ContactSaveRequest**](ContactSaveRequest.md)| Create/Update contact request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **contact_save_async** -> contact_save_async(self, contact_save_request) - Save contact to storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -contact_save_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -ContactApi.contact_save_async( - cakePrefix_contact_save_request_cakeCodePostProcessor( - request)) -``` +void (empty response body) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**ContactSaveRequest**](ContactSaveRequest.md)| Create/Update contact request. | +See parameter model documentation at [ContactSaveRequest](ContactSaveRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ContactApi_list.md b/sdk/docs/ContactApi_list.md new file mode 100644 index 0000000..b539d5b --- /dev/null +++ b/sdk/docs/ContactApi_list.md @@ -0,0 +1,18 @@ + + +## Documentation for ContactApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**as_file**](ContactApi.md#as_file)| **PUT** /email/Contact/as-file| Converts contact model to specified format and returns as file +[**as_mapi**](ContactApi.md#as_mapi)| **PUT** /email/Contact/as-mapi| Converts ContactDto to MapiContactDto. +[**convert**](ContactApi.md#convert)| **PUT** /email/Contact/convert| Converts contact document to specified format and returns as file +[**from_file**](ContactApi.md#from_file)| **PUT** /email/Contact/from-file| Converts contact document to a model representation +[**get**](ContactApi.md#get)| **GET** /email/Contact| Get contact document from storage. +[**get_as_file**](ContactApi.md#get_as_file)| **GET** /email/Contact/as-file| Converts contact document from storage to specified format and returns as file +[**get_list**](ContactApi.md#get_list)| **GET** /email/Contact/list| Get contact list from storage folder. +[**save**](ContactApi.md#save)| **PUT** /email/Contact| Save contact to storage. diff --git a/sdk/docs/ContactAsFileRequest.md b/sdk/docs/ContactAsFileRequest.md index 8aa13ef..b45c45e 100644 --- a/sdk/docs/ContactAsFileRequest.md +++ b/sdk/docs/ContactAsFileRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ContactDto.md b/sdk/docs/ContactDto.md index 689bdf1..33d189e 100644 --- a/sdk/docs/ContactDto.md +++ b/sdk/docs/ContactDto.md @@ -41,6 +41,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ContactList.md b/sdk/docs/ContactList.md index ddea646..e5b7df8 100644 --- a/sdk/docs/ContactList.md +++ b/sdk/docs/ContactList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfContactDto](ListResponseOfContactDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ContactPhoto.md b/sdk/docs/ContactPhoto.md index 69c0617..e721135 100644 --- a/sdk/docs/ContactPhoto.md +++ b/sdk/docs/ContactPhoto.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ContactSaveRequest.md b/sdk/docs/ContactSaveRequest.md index 34fb93d..684bbbe 100644 --- a/sdk/docs/ContactSaveRequest.md +++ b/sdk/docs/ContactSaveRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [StorageModelOfContactDto](StorageModelOfContactDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ContactStorageList.md b/sdk/docs/ContactStorageList.md index ebe463a..7dbc545 100644 --- a/sdk/docs/ContactStorageList.md +++ b/sdk/docs/ContactStorageList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfStorageModelOfContactDto](ListResponseOfStorageModelOfContactDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ContentType.md b/sdk/docs/ContentType.md index a5eb506..a5f1b26 100644 --- a/sdk/docs/ContentType.md +++ b/sdk/docs/ContentType.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ContentTypeParameter.md b/sdk/docs/ContentTypeParameter.md index 3916f61..2950aca 100644 --- a/sdk/docs/ContentTypeParameter.md +++ b/sdk/docs/ContentTypeParameter.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/CustomerEvent.md b/sdk/docs/CustomerEvent.md index 59f18ba..4464b16 100644 --- a/sdk/docs/CustomerEvent.md +++ b/sdk/docs/CustomerEvent.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/DailyRecurrencePatternDto.md b/sdk/docs/DailyRecurrencePatternDto.md index b5df339..bb29a97 100644 --- a/sdk/docs/DailyRecurrencePatternDto.md +++ b/sdk/docs/DailyRecurrencePatternDto.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [RecurrencePatternDto](RecurrencePatternDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/DiscUsage.md b/sdk/docs/DiscUsage.md index 1d5bc3d..08c52aa 100644 --- a/sdk/docs/DiscUsage.md +++ b/sdk/docs/DiscUsage.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/DiscoverEmailConfigOauth.md b/sdk/docs/DiscoverEmailConfigOauth.md index 89ccc2c..99f5cbf 100644 --- a/sdk/docs/DiscoverEmailConfigOauth.md +++ b/sdk/docs/DiscoverEmailConfigOauth.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes Parent class: [DiscoverEmailConfigRequest](DiscoverEmailConfigRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/DiscoverEmailConfigPassword.md b/sdk/docs/DiscoverEmailConfigPassword.md index edc0edf..708c2ef 100644 --- a/sdk/docs/DiscoverEmailConfigPassword.md +++ b/sdk/docs/DiscoverEmailConfigPassword.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [DiscoverEmailConfigRequest](DiscoverEmailConfigRequest.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/DiscoverEmailConfigRequest.md b/sdk/docs/DiscoverEmailConfigRequest.md index d37a6fa..43fe086 100644 --- a/sdk/docs/DiscoverEmailConfigRequest.md +++ b/sdk/docs/DiscoverEmailConfigRequest.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/DisposableEmailApi.md b/sdk/docs/DisposableEmailApi.md index 94ed7d2..db2698f 100644 --- a/sdk/docs/DisposableEmailApi.md +++ b/sdk/docs/DisposableEmailApi.md @@ -1,65 +1,29 @@ -# AsposeEmailCloudSdk.DisposableEmailApi - - -# **disposable_email_is_disposable** -> disposable_email_is_disposable(self, disposable_email_is_disposable_request) - -Check email address is disposable - -### Return type -[**ValueTOfBoolean**](ValueTOfBoolean.md) +# AsposeEmailCloudSdk.DisposableEmailApi -### Request Parameters -```python -__init__(self, - address) -``` + + +# is_disposable -### Usage ```python -DisposableEmailApi.disposable_email_is_disposable( - cakePrefix_disposable_email_is_disposable_request_cakeCodePostProcessor( - address)) +is_disposable(self, request: DisposableEmailIsDisposableRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **address** | **str**| An email address to check | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **disposable_email_is_disposable_async** -> disposable_email_is_disposable_async(self, disposable_email_is_disposable_request) - Check email address is disposable -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -disposable_email_is_disposable_async(request).get() returns [**ValueTOfBoolean**](ValueTOfBoolean.md) +ValueTOfBoolean -### Request Parameters +### request Parameter ```python -__init__(self, - address) +DisposableEmailIsDisposableRequest( + address: str) ``` -### Usage -```python -DisposableEmailApi.disposable_email_is_disposable_async( - cakePrefix_disposable_email_is_disposable_request_cakeCodePostProcessor( - address)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **address** | **str**| An email address to check | + **address** | **str** | An email address to check | -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/DisposableEmailApi_list.md b/sdk/docs/DisposableEmailApi_list.md new file mode 100644 index 0000000..c383e8b --- /dev/null +++ b/sdk/docs/DisposableEmailApi_list.md @@ -0,0 +1,11 @@ + + +## Documentation for DisposableEmailApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**is_disposable**](DisposableEmailApi.md#is_disposable)| **GET** /email/disposable/is-disposable| Check email address is disposable diff --git a/sdk/docs/EmailAccountConfig.md b/sdk/docs/EmailAccountConfig.md index 5b219a9..e808a42 100644 --- a/sdk/docs/EmailAccountConfig.md +++ b/sdk/docs/EmailAccountConfig.md @@ -13,6 +13,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailAccountConfigList.md b/sdk/docs/EmailAccountConfigList.md index 405dadb..b0b5bb9 100644 --- a/sdk/docs/EmailAccountConfigList.md +++ b/sdk/docs/EmailAccountConfigList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfEmailAccountConfig](ListResponseOfEmailAccountConfig.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailAddress.md b/sdk/docs/EmailAddress.md index b570907..3100c38 100644 --- a/sdk/docs/EmailAddress.md +++ b/sdk/docs/EmailAddress.md @@ -11,6 +11,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailApi.md b/sdk/docs/EmailApi.md index a601553..ee2244e 100644 --- a/sdk/docs/EmailApi.md +++ b/sdk/docs/EmailApi.md @@ -1,578 +1,210 @@ -# AsposeEmailCloudSdk.EmailApi - - -# **email_as_file** -> email_as_file(self, email_as_file_request) - -Converts Email model to specified format and returns as file. - -### Return type -**file** +# AsposeEmailCloudSdk.EmailApi -### Request Parameters -```python -__init__(self, - request) -``` + + +# as_file -### Usage ```python -EmailApi.email_as_file( - cakePrefix_email_as_file_request_cakeCodePostProcessor( - request)) +as_file(self, EmailAsFileRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**EmailAsFileRequest**](EmailAsFileRequest.md)| Email model and format to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_as_file_async** -> email_as_file_async(self, email_as_file_request) - Converts Email model to specified format and returns as file. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_as_file_async(request).get() returns **file** - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.email_as_file_async( - cakePrefix_email_as_file_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**EmailAsFileRequest**](EmailAsFileRequest.md)| Email model and format to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +**Stream** - -# **email_as_mapi** -> email_as_mapi(self, email_as_mapi_request) +### request Parameter -Converts EmailDto to MapiMessageDto. +See parameter model documentation at [EmailAsFileRequest](EmailAsFileRequest.md) -### Return type - -[**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - email_dto) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# as_mapi -### Usage ```python -EmailApi.email_as_mapi( - cakePrefix_email_as_mapi_request_cakeCodePostProcessor( - email_dto)) +as_mapi(self, EmailDto email_dto) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email_dto** | [**EmailDto**](EmailDto.md)| Email model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_as_mapi_async** -> email_as_mapi_async(self, email_as_mapi_request) - Converts EmailDto to MapiMessageDto. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_as_mapi_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - email_dto) -``` - -### Usage -```python -EmailApi.email_as_mapi_async( - cakePrefix_email_as_mapi_request_cakeCodePostProcessor( - email_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email_dto** | [**EmailDto**](EmailDto.md)| Email model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_convert** -> email_convert(self, email_convert_request) - -Converts email document to specified format and returns as file +[**MapiMessageDto**](MapiMessageDto.md) -### Return type +### email_dto Parameter -**file** +See parameter model documentation at [EmailDto](EmailDto.md) -### Request Parameters -```python -__init__(self, - format, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# convert -### Usage ```python -EmailApi.email_convert( - cakePrefix_email_convert_request_cakeCodePostProcessor( - format, - file)) +convert(self, request: EmailConvertRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_convert_async** -> email_convert_async(self, email_convert_request) - Converts email document to specified format and returns as file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_convert_async(request).get() returns **file** +str -### Request Parameters +### request Parameter ```python -__init__(self, - format, - file) +EmailConvertRequest( + format: str, + file: str) ``` -### Usage -```python -EmailApi.email_convert_async( - cakePrefix_email_convert_request_cakeCodePostProcessor( - format, - file)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_from_file** -> email_from_file(self, email_from_file_request) - -Converts email document to a model representation - -### Return type - -[**EmailDto**](EmailDto.md) + **format** | **str** | File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **str** | File to convert | -### Request Parameters -```python -__init__(self, - format, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# from_file -### Usage ```python -EmailApi.email_from_file( - cakePrefix_email_from_file_request_cakeCodePostProcessor( - format, - file)) +from_file(self, request: EmailFromFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_from_file_async** -> email_from_file_async(self, email_from_file_request) - Converts email document to a model representation -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_from_file_async(request).get() returns [**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - format, - file) -``` +EmailDto -### Usage +### request Parameter ```python -EmailApi.email_from_file_async( - cakePrefix_email_from_file_request_cakeCodePostProcessor( - format, - file)) +EmailFromFileRequest( + format: str, + file: str) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_get** -> email_get(self, email_get_request) - -Get email document from storage. + **format** | **str** | Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **str** | File to convert | -### Return type - -[**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - format, - file_name, - folder=folder, - storage=storage) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get -### Usage ```python -EmailApi.email_get( - cakePrefix_email_get_request_cakeCodePostProcessor( - format, - file_name, - folder=folder, - storage=storage)) +get(self, request: EmailGetRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file_name** | **str**| Email document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_get_async** -> email_get_async(self, email_get_request) - Get email document from storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_get_async(request).get() returns [**EmailDto**](EmailDto.md) +EmailDto -### Request Parameters +### request Parameter ```python -__init__(self, - format, - file_name, - folder=folder, - storage=storage) +EmailGetRequest( + format: str, + file_name: str, + folder: str = None, + storage: str = None) ``` -### Usage -```python -EmailApi.email_get_async( - cakePrefix_email_get_request_cakeCodePostProcessor( - format, - file_name, - folder=folder, - storage=storage)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file_name** | **str**| Email document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] + **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file_name** | **str** | Email document file name. | + **folder** | **str** | Path to folder in storage. | [optional] + **storage** | **str** | Storage name. | [optional] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_as_file - -# **email_get_as_file** -> email_get_as_file(self, email_get_as_file_request) - -Converts email document from storage to specified format and returns as file - -### Return type - -**file** - -### Request Parameters ```python -__init__(self, - file_name, - format, - storage=storage, - folder=folder) +get_as_file(self, request: EmailGetAsFileRequest) ``` -### Usage -```python -EmailApi.email_get_as_file( - cakePrefix_email_get_as_file_request_cakeCodePostProcessor( - file_name, - format, - storage=storage, - folder=folder)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Email document file name | - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_get_as_file_async** -> email_get_as_file_async(self, email_get_as_file_request) - Converts email document from storage to specified format and returns as file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_get_as_file_async(request).get() returns **file** +str -### Request Parameters +### request Parameter ```python -__init__(self, - file_name, - format, - storage=storage, - folder=folder) +EmailGetAsFileRequest( + file_name: str, + format: str, + storage: str = None, + folder: str = None) ``` -### Usage -```python -EmailApi.email_get_as_file_async( - cakePrefix_email_get_as_file_request_cakeCodePostProcessor( - file_name, - format, - storage=storage, - folder=folder)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Email document file name | - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **storage** | **str**| Storage name | [optional] - **folder** | **str**| Path to folder in storage | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_get_list** -> email_get_list(self, email_get_list_request) + **file_name** | **str** | Email document file name | + **format** | **str** | File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **storage** | **str** | Storage name | [optional] + **folder** | **str** | Path to folder in storage | [optional] -Get email list from storage folder. - -### Return type +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get_list -[**EmailStorageList**](EmailStorageList.md) - -### Request Parameters ```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) +get_list(self, request: EmailGetListRequest) ``` -### Usage -```python -EmailApi.email_get_list( - cakePrefix_email_get_list_request_cakeCodePostProcessor( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_get_list_async** -> email_get_list_async(self, email_get_list_request) - Get email list from storage folder. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_get_list_async(request).get() returns [**EmailStorageList**](EmailStorageList.md) - -### Request Parameters -```python -__init__(self, - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number) -``` +EmailStorageList -### Usage +### request Parameter ```python -EmailApi.email_get_list_async( - cakePrefix_email_get_list_request_cakeCodePostProcessor( - format, - folder=folder, - storage=storage, - items_per_page=items_per_page, - page_number=page_number)) +EmailGetListRequest( + format: str, + folder: str = None, + storage: str = None, + items_per_page: int = None, + page_number: int = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - **items_per_page** | **int**| Count of items on page. | [optional] [default to 10] - **page_number** | **int**| Page number. | [optional] [default to 0] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_save** -> email_save(self, email_save_request) - -Save email document to storage. + **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **folder** | **str** | Path to folder in storage. | [optional] + **storage** | **str** | Storage name. | [optional] + **items_per_page** | **int** | Count of items on page. | [optional] [default to 10] + **page_number** | **int** | Page number. | [optional] [default to 0] -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# save -### Usage ```python -EmailApi.email_save( - cakePrefix_email_save_request_cakeCodePostProcessor( - request)) +save(self, EmailSaveRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**EmailSaveRequest**](EmailSaveRequest.md)| Email document create/update request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_save_async** -> email_save_async(self, email_save_request) - Save email document to storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_save_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailApi.email_save_async( - cakePrefix_email_save_request_cakeCodePostProcessor( - request)) -``` +void (empty response body) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**EmailSaveRequest**](EmailSaveRequest.md)| Email document create/update request. | +See parameter model documentation at [EmailSaveRequest](EmailSaveRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailApi_list.md b/sdk/docs/EmailApi_list.md new file mode 100644 index 0000000..384f3d5 --- /dev/null +++ b/sdk/docs/EmailApi_list.md @@ -0,0 +1,18 @@ + + +## Documentation for EmailApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**as_file**](EmailApi.md#as_file)| **PUT** /email/as-file| Converts Email model to specified format and returns as file. +[**as_mapi**](EmailApi.md#as_mapi)| **PUT** /email/as-mapi| Converts EmailDto to MapiMessageDto. +[**convert**](EmailApi.md#convert)| **PUT** /email/convert| Converts email document to specified format and returns as file +[**from_file**](EmailApi.md#from_file)| **PUT** /email/from-file| Converts email document to a model representation +[**get**](EmailApi.md#get)| **GET** /email| Get email document from storage. +[**get_as_file**](EmailApi.md#get_as_file)| **GET** /email/as-file| Converts email document from storage to specified format and returns as file +[**get_list**](EmailApi.md#get_list)| **GET** /email/list| Get email list from storage folder. +[**save**](EmailApi.md#save)| **PUT** /email| Save email document to storage. diff --git a/sdk/docs/EmailAsFileRequest.md b/sdk/docs/EmailAsFileRequest.md index e3b0232..474108a 100644 --- a/sdk/docs/EmailAsFileRequest.md +++ b/sdk/docs/EmailAsFileRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailClientAccount.md b/sdk/docs/EmailClientAccount.md index defea7d..1c01756 100644 --- a/sdk/docs/EmailClientAccount.md +++ b/sdk/docs/EmailClientAccount.md @@ -11,6 +11,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailClientAccountCredentials.md b/sdk/docs/EmailClientAccountCredentials.md index 722a589..7f320a2 100644 --- a/sdk/docs/EmailClientAccountCredentials.md +++ b/sdk/docs/EmailClientAccountCredentials.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailClientAccountOauthCredentials.md b/sdk/docs/EmailClientAccountOauthCredentials.md index 48b307f..6a9c2a4 100644 --- a/sdk/docs/EmailClientAccountOauthCredentials.md +++ b/sdk/docs/EmailClientAccountOauthCredentials.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes Parent class: [EmailClientAccountCredentials](EmailClientAccountCredentials.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailClientAccountPasswordCredentials.md b/sdk/docs/EmailClientAccountPasswordCredentials.md index 6a8d21a..5b68f02 100644 --- a/sdk/docs/EmailClientAccountPasswordCredentials.md +++ b/sdk/docs/EmailClientAccountPasswordCredentials.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [EmailClientAccountCredentials](EmailClientAccountCredentials.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailClientAccountSaveRequest.md b/sdk/docs/EmailClientAccountSaveRequest.md index cb1b5d8..b4d8c2a 100644 --- a/sdk/docs/EmailClientAccountSaveRequest.md +++ b/sdk/docs/EmailClientAccountSaveRequest.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [StorageModelOfEmailClientAccount](StorageModelOfEmailClientAccount.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailClientMultiAccount.md b/sdk/docs/EmailClientMultiAccount.md index 1a7329b..e46dd80 100644 --- a/sdk/docs/EmailClientMultiAccount.md +++ b/sdk/docs/EmailClientMultiAccount.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailClientMultiAccountSaveRequest.md b/sdk/docs/EmailClientMultiAccountSaveRequest.md index 8997ad3..46a78f1 100644 --- a/sdk/docs/EmailClientMultiAccountSaveRequest.md +++ b/sdk/docs/EmailClientMultiAccountSaveRequest.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [StorageModelOfEmailClientMultiAccount](StorageModelOfEmailClientMultiAccount.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailConfigApi.md b/sdk/docs/EmailConfigApi.md index c93f216..8079ae6 100644 --- a/sdk/docs/EmailConfigApi.md +++ b/sdk/docs/EmailConfigApi.md @@ -1,197 +1,69 @@ -# AsposeEmailCloudSdk.EmailConfigApi - - -# **email_config_discover** -> email_config_discover(self, email_config_discover_request) - -Discover email accounts by email address. Does not validate discovered accounts. - -### Return type -[**EmailAccountConfigList**](EmailAccountConfigList.md) +# AsposeEmailCloudSdk.EmailConfigApi -### Request Parameters -```python -__init__(self, - address, - fast_processing=fast_processing) -``` + + +# discover -### Usage ```python -EmailConfigApi.email_config_discover( - cakePrefix_email_config_discover_request_cakeCodePostProcessor( - address, - fast_processing=fast_processing)) +discover(self, request: EmailConfigDiscoverRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **address** | **str**| Email address. | - **fast_processing** | **bool**| Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_config_discover_async** -> email_config_discover_async(self, email_config_discover_request) - Discover email accounts by email address. Does not validate discovered accounts. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_config_discover_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) +EmailAccountConfigList -### Request Parameters +### request Parameter ```python -__init__(self, - address, - fast_processing=fast_processing) +EmailConfigDiscoverRequest( + address: str, + fast_processing: bool = None) ``` -### Usage -```python -EmailConfigApi.email_config_discover_async( - cakePrefix_email_config_discover_request_cakeCodePostProcessor( - address, - fast_processing=fast_processing)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **address** | **str**| Email address. | - **fast_processing** | **bool**| Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_config_discover_oauth** -> email_config_discover_oauth(self, email_config_discover_oauth_request) - -Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. - -### Return type - -[**EmailAccountConfigList**](EmailAccountConfigList.md) + **address** | **str** | Email address. | + **fast_processing** | **bool** | Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. | [optional] [default to false] -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# discover_oauth -### Usage ```python -EmailConfigApi.email_config_discover_oauth( - cakePrefix_email_config_discover_oauth_request_cakeCodePostProcessor( - request)) +discover_oauth(self, DiscoverEmailConfigOauth request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**DiscoverEmailConfigOauth**](DiscoverEmailConfigOauth.md)| Discover email configuration request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_config_discover_oauth_async** -> email_config_discover_oauth_async(self, email_config_discover_oauth_request) - Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_config_discover_oauth_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailConfigApi.email_config_discover_oauth_async( - cakePrefix_email_config_discover_oauth_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**DiscoverEmailConfigOauth**](DiscoverEmailConfigOauth.md)| Discover email configuration request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_config_discover_password** -> email_config_discover_password(self, email_config_discover_password_request) - -Discover email accounts by email address. Validates discovered accounts using login and password. +[**EmailAccountConfigList**](EmailAccountConfigList.md) -### Return type +### request Parameter -[**EmailAccountConfigList**](EmailAccountConfigList.md) +See parameter model documentation at [DiscoverEmailConfigOauth](DiscoverEmailConfigOauth.md) -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# discover_password -### Usage ```python -EmailConfigApi.email_config_discover_password( - cakePrefix_email_config_discover_password_request_cakeCodePostProcessor( - request)) +discover_password(self, DiscoverEmailConfigPassword request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**DiscoverEmailConfigPassword**](DiscoverEmailConfigPassword.md)| Discover email configuration request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **email_config_discover_password_async** -> email_config_discover_password_async(self, email_config_discover_password_request) - Discover email accounts by email address. Validates discovered accounts using login and password. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -email_config_discover_password_async(request).get() returns [**EmailAccountConfigList**](EmailAccountConfigList.md) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -EmailConfigApi.email_config_discover_password_async( - cakePrefix_email_config_discover_password_request_cakeCodePostProcessor( - request)) -``` +[**EmailAccountConfigList**](EmailAccountConfigList.md) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**DiscoverEmailConfigPassword**](DiscoverEmailConfigPassword.md)| Discover email configuration request. | +See parameter model documentation at [DiscoverEmailConfigPassword](DiscoverEmailConfigPassword.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailConfigApi_list.md b/sdk/docs/EmailConfigApi_list.md new file mode 100644 index 0000000..34158cf --- /dev/null +++ b/sdk/docs/EmailConfigApi_list.md @@ -0,0 +1,13 @@ + + +## Documentation for EmailConfigApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**discover**](EmailConfigApi.md#discover)| **GET** /email/config/discover| Discover email accounts by email address. Does not validate discovered accounts. +[**discover_oauth**](EmailConfigApi.md#discover_oauth)| **PUT** /email/config/discover/oauth| Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. +[**discover_password**](EmailConfigApi.md#discover_password)| **PUT** /email/config/discover/password| Discover email accounts by email address. Validates discovered accounts using login and password. diff --git a/sdk/docs/EmailDto.md b/sdk/docs/EmailDto.md index 7bda8fc..7e65eaa 100644 --- a/sdk/docs/EmailDto.md +++ b/sdk/docs/EmailDto.md @@ -37,6 +37,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailList.md b/sdk/docs/EmailList.md index 220d83d..3aba2c9 100644 --- a/sdk/docs/EmailList.md +++ b/sdk/docs/EmailList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfEmailDto](ListResponseOfEmailDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailSaveRequest.md b/sdk/docs/EmailSaveRequest.md index eb1e0a7..163b05d 100644 --- a/sdk/docs/EmailSaveRequest.md +++ b/sdk/docs/EmailSaveRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [StorageModelOfEmailDto](StorageModelOfEmailDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailStorageList.md b/sdk/docs/EmailStorageList.md index f7374ef..334f48d 100644 --- a/sdk/docs/EmailStorageList.md +++ b/sdk/docs/EmailStorageList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfStorageModelOfEmailDto](ListResponseOfStorageModelOfEmailDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailThread.md b/sdk/docs/EmailThread.md index d2546b1..f6efa48 100644 --- a/sdk/docs/EmailThread.md +++ b/sdk/docs/EmailThread.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailThreadList.md b/sdk/docs/EmailThreadList.md index 48ac793..ddfa99c 100644 --- a/sdk/docs/EmailThreadList.md +++ b/sdk/docs/EmailThreadList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfEmailThread](ListResponseOfEmailThread.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EnumWithCustomOfAssociatedPersonCategory.md b/sdk/docs/EnumWithCustomOfAssociatedPersonCategory.md index e9a1071..7295f97 100644 --- a/sdk/docs/EnumWithCustomOfAssociatedPersonCategory.md +++ b/sdk/docs/EnumWithCustomOfAssociatedPersonCategory.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EnumWithCustomOfEmailAddressCategory.md b/sdk/docs/EnumWithCustomOfEmailAddressCategory.md index 33ac4d7..38dcfe0 100644 --- a/sdk/docs/EnumWithCustomOfEmailAddressCategory.md +++ b/sdk/docs/EnumWithCustomOfEmailAddressCategory.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EnumWithCustomOfEventCategory.md b/sdk/docs/EnumWithCustomOfEventCategory.md index fce57e4..bf22230 100644 --- a/sdk/docs/EnumWithCustomOfEventCategory.md +++ b/sdk/docs/EnumWithCustomOfEventCategory.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EnumWithCustomOfInstantMessengerCategory.md b/sdk/docs/EnumWithCustomOfInstantMessengerCategory.md index 02000b2..e434653 100644 --- a/sdk/docs/EnumWithCustomOfInstantMessengerCategory.md +++ b/sdk/docs/EnumWithCustomOfInstantMessengerCategory.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EnumWithCustomOfPhoneNumberCategory.md b/sdk/docs/EnumWithCustomOfPhoneNumberCategory.md index ca1b993..0e2d77c 100644 --- a/sdk/docs/EnumWithCustomOfPhoneNumberCategory.md +++ b/sdk/docs/EnumWithCustomOfPhoneNumberCategory.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EnumWithCustomOfPostalAddressCategory.md b/sdk/docs/EnumWithCustomOfPostalAddressCategory.md index c2c0581..53c44e2 100644 --- a/sdk/docs/EnumWithCustomOfPostalAddressCategory.md +++ b/sdk/docs/EnumWithCustomOfPostalAddressCategory.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EnumWithCustomOfUrlCategory.md b/sdk/docs/EnumWithCustomOfUrlCategory.md index a2f6a24..622c093 100644 --- a/sdk/docs/EnumWithCustomOfUrlCategory.md +++ b/sdk/docs/EnumWithCustomOfUrlCategory.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/Error.md b/sdk/docs/Error.md index e1576b1..14b3763 100644 --- a/sdk/docs/Error.md +++ b/sdk/docs/Error.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ErrorDetails.md b/sdk/docs/ErrorDetails.md index 7372c87..bd0524f 100644 --- a/sdk/docs/ErrorDetails.md +++ b/sdk/docs/ErrorDetails.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FileApi.md b/sdk/docs/FileApi.md index 452fbdd..03c203d 100644 --- a/sdk/docs/FileApi.md +++ b/sdk/docs/FileApi.md @@ -1,401 +1,157 @@ + # AsposeEmailCloudSdk.FileApi + -# **copy_file** -> copy_file(self, copy_file_request) - -Copy file +# copy_file -### Return type - -void (empty response body) - -### Request Parameters ```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id) +copy_file(self, request: CopyFileRequest) ``` -### Usage -```python -FileApi.copy_file( - cakePrefix_copy_file_request_cakeCodePostProcessor( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| Source file path e.g. '/folder/file.ext' | - **dest_path** | **str**| Destination file path | - **src_storage_name** | **str**| Source storage name | [optional] - **dest_storage_name** | **str**| Destination storage name | [optional] - **version_id** | **str**| File version ID to copy | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **copy_file_async** -> copy_file_async(self, copy_file_request) - Copy file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -copy_file_async(request).get() returns void (empty response body) +None -### Request Parameters +### request Parameter ```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id) +CopyFileRequest( + src_path: str, + dest_path: str, + src_storage_name: str = None, + dest_storage_name: str = None, + version_id: str = None) ``` -### Usage -```python -FileApi.copy_file_async( - cakePrefix_copy_file_request_cakeCodePostProcessor( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str**| Source file path e.g. '/folder/file.ext' | - **dest_path** | **str**| Destination file path | - **src_storage_name** | **str**| Source storage name | [optional] - **dest_storage_name** | **str**| Destination storage name | [optional] - **version_id** | **str**| File version ID to copy | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - + **src_path** | **str** | Source file path e.g. '/folder/file.ext' | + **dest_path** | **str** | Destination file path | + **src_storage_name** | **str** | Source storage name | [optional] + **dest_storage_name** | **str** | Destination storage name | [optional] + **version_id** | **str** | File version ID to copy | [optional] + +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **delete_file** -> delete_file(self, delete_file_request) - -Delete file - -### Return type +# delete_file -void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) -``` - -### Usage ```python -FileApi.delete_file( - cakePrefix_delete_file_request_cakeCodePostProcessor( - path, - storage_name=storage_name, - version_id=version_id)) +delete_file(self, request: DeleteFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| File path e.g. '/folder/file.ext' | - **storage_name** | **str**| Storage name | [optional] - **version_id** | **str**| File version ID to delete | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_file_async** -> delete_file_async(self, delete_file_request) - Delete file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -delete_file_async(request).get() returns void (empty response body) +None -### Request Parameters +### request Parameter ```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) +DeleteFileRequest( + path: str, + storage_name: str = None, + version_id: str = None) ``` -### Usage -```python -FileApi.delete_file_async( - cakePrefix_delete_file_request_cakeCodePostProcessor( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str**| File path e.g. '/folder/file.ext' | - **storage_name** | **str**| Storage name | [optional] - **version_id** | **str**| File version ID to delete | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **path** | **str** | File path e.g. '/folder/file.ext' | + **storage_name** | **str** | Storage name | [optional] + **version_id** | **str** | File version ID to delete | [optional] +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **download_file** -> download_file(self, download_file_request) - -Download file - -### Return type - -**file** - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) -``` +# download_file -### Usage ```python -FileApi.download_file( - cakePrefix_download_file_request_cakeCodePostProcessor( - path, - storage_name=storage_name, - version_id=version_id)) +download_file(self, request: DownloadFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| File path e.g. '/folder/file.ext' | - **storage_name** | **str**| Storage name | [optional] - **version_id** | **str**| File version ID to download | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **download_file_async** -> download_file_async(self, download_file_request) - Download file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -download_file_async(request).get() returns **file** +str -### Request Parameters +### request Parameter ```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) +DownloadFileRequest( + path: str, + storage_name: str = None, + version_id: str = None) ``` -### Usage -```python -FileApi.download_file_async( - cakePrefix_download_file_request_cakeCodePostProcessor( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str**| File path e.g. '/folder/file.ext' | - **storage_name** | **str**| Storage name | [optional] - **version_id** | **str**| File version ID to download | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **path** | **str** | File path e.g. '/folder/file.ext' | + **storage_name** | **str** | Storage name | [optional] + **version_id** | **str** | File version ID to download | [optional] +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **move_file** -> move_file(self, move_file_request) - -Move file +# move_file -### Return type - -void (empty response body) - -### Request Parameters ```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id) +move_file(self, request: MoveFileRequest) ``` -### Usage -```python -FileApi.move_file( - cakePrefix_move_file_request_cakeCodePostProcessor( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| Source file path e.g. '/src.ext' | - **dest_path** | **str**| Destination file path e.g. '/dest.ext' | - **src_storage_name** | **str**| Source storage name | [optional] - **dest_storage_name** | **str**| Destination storage name | [optional] - **version_id** | **str**| File version ID to move | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_file_async** -> move_file_async(self, move_file_request) - Move file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -move_file_async(request).get() returns void (empty response body) +None -### Request Parameters +### request Parameter ```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id) +MoveFileRequest( + src_path: str, + dest_path: str, + src_storage_name: str = None, + dest_storage_name: str = None, + version_id: str = None) ``` -### Usage -```python -FileApi.move_file_async( - cakePrefix_move_file_request_cakeCodePostProcessor( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name, - version_id=version_id)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str**| Source file path e.g. '/src.ext' | - **dest_path** | **str**| Destination file path e.g. '/dest.ext' | - **src_storage_name** | **str**| Source storage name | [optional] - **dest_storage_name** | **str**| Destination storage name | [optional] - **version_id** | **str**| File version ID to move | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - + **src_path** | **str** | Source file path e.g. '/src.ext' | + **dest_path** | **str** | Destination file path e.g. '/dest.ext' | + **src_storage_name** | **str** | Source storage name | [optional] + **dest_storage_name** | **str** | Destination storage name | [optional] + **version_id** | **str** | File version ID to move | [optional] + +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **upload_file** -> upload_file(self, upload_file_request) +# upload_file -Upload file - -### Return type - -[**FilesUploadResult**](FilesUploadResult.md) - -### Request Parameters ```python -__init__(self, - path, - file, - storage_name=storage_name) +upload_file(self, request: UploadFileRequest) ``` -### Usage -```python -FileApi.upload_file( - cakePrefix_upload_file_request_cakeCodePostProcessor( - path, - file, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. | - **file** | **file**| File to upload | - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **upload_file_async** -> upload_file_async(self, upload_file_request) - Upload file -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -upload_file_async(request).get() returns [**FilesUploadResult**](FilesUploadResult.md) - -### Request Parameters -```python -__init__(self, - path, - file, - storage_name=storage_name) -``` +FilesUploadResult -### Usage +### request Parameter ```python -FileApi.upload_file_async( - cakePrefix_upload_file_request_cakeCodePostProcessor( - path, - file, - storage_name=storage_name)) +UploadFileRequest( + path: str, + file: str, + storage_name: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str**| Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. | - **file** | **file**| File to upload | - **storage_name** | **str**| Storage name | [optional] + **path** | **str** | Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. | + **file** | **str** | File to upload | + **storage_name** | **str** | Storage name | [optional] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FileApi_list.md b/sdk/docs/FileApi_list.md new file mode 100644 index 0000000..52f5f2d --- /dev/null +++ b/sdk/docs/FileApi_list.md @@ -0,0 +1,15 @@ + + +## Documentation for FileApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**copy_file**](FileApi.md#copy_file)| **PUT** /email/storage/file/copy/{srcPath}| Copy file +[**delete_file**](FileApi.md#delete_file)| **DELETE** /email/storage/file/{path}| Delete file +[**download_file**](FileApi.md#download_file)| **GET** /email/storage/file/{path}| Download file +[**move_file**](FileApi.md#move_file)| **PUT** /email/storage/file/move/{srcPath}| Move file +[**upload_file**](FileApi.md#upload_file)| **PUT** /email/storage/file/{path}| Upload file diff --git a/sdk/docs/FileVersion.md b/sdk/docs/FileVersion.md index aacacd8..33cad68 100644 --- a/sdk/docs/FileVersion.md +++ b/sdk/docs/FileVersion.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes Parent class: [StorageFile](StorageFile.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FileVersions.md b/sdk/docs/FileVersions.md index 46d9c23..2155024 100644 --- a/sdk/docs/FileVersions.md +++ b/sdk/docs/FileVersions.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FilesList.md b/sdk/docs/FilesList.md index e25bd40..e306967 100644 --- a/sdk/docs/FilesList.md +++ b/sdk/docs/FilesList.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FilesUploadResult.md b/sdk/docs/FilesUploadResult.md index 9a075d3..64c161a 100644 --- a/sdk/docs/FilesUploadResult.md +++ b/sdk/docs/FilesUploadResult.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FolderApi.md b/sdk/docs/FolderApi.md index 22147a4..70e0182 100644 --- a/sdk/docs/FolderApi.md +++ b/sdk/docs/FolderApi.md @@ -1,377 +1,149 @@ + # AsposeEmailCloudSdk.FolderApi + -# **copy_folder** -> copy_folder(self, copy_folder_request) - -Copy folder +# copy_folder -### Return type - -void (empty response body) - -### Request Parameters ```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name) +copy_folder(self, request: CopyFolderRequest) ``` -### Usage -```python -FolderApi.copy_folder( - cakePrefix_copy_folder_request_cakeCodePostProcessor( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| Source folder path e.g. '/src' | - **dest_path** | **str**| Destination folder path e.g. '/dst' | - **src_storage_name** | **str**| Source storage name | [optional] - **dest_storage_name** | **str**| Destination storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **copy_folder_async** -> copy_folder_async(self, copy_folder_request) - Copy folder -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -copy_folder_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name) -``` +None -### Usage +### request Parameter ```python -FolderApi.copy_folder_async( - cakePrefix_copy_folder_request_cakeCodePostProcessor( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name)) +CopyFolderRequest( + src_path: str, + dest_path: str, + src_storage_name: str = None, + dest_storage_name: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str**| Source folder path e.g. '/src' | - **dest_path** | **str**| Destination folder path e.g. '/dst' | - **src_storage_name** | **str**| Source storage name | [optional] - **dest_storage_name** | **str**| Destination storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **src_path** | **str** | Source folder path e.g. '/src' | + **dest_path** | **str** | Destination folder path e.g. '/dst' | + **src_storage_name** | **str** | Source storage name | [optional] + **dest_storage_name** | **str** | Destination storage name | [optional] +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **create_folder** -> create_folder(self, create_folder_request) - -Create the folder - -### Return type +# create_folder -void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` - -### Usage ```python -FolderApi.create_folder( - cakePrefix_create_folder_request_cakeCodePostProcessor( - path, - storage_name=storage_name)) +create_folder(self, request: CreateFolderRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| Folder path to create e.g. 'folder_1/folder_2/' | - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **create_folder_async** -> create_folder_async(self, create_folder_request) - Create the folder -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -create_folder_async(request).get() returns void (empty response body) +None -### Request Parameters +### request Parameter ```python -__init__(self, - path, - storage_name=storage_name) +CreateFolderRequest( + path: str, + storage_name: str = None) ``` -### Usage -```python -FolderApi.create_folder_async( - cakePrefix_create_folder_request_cakeCodePostProcessor( - path, - storage_name=storage_name)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str**| Folder path to create e.g. 'folder_1/folder_2/' | - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **path** | **str** | Folder path to create e.g. 'folder_1/folder_2/' | + **storage_name** | **str** | Storage name | [optional] +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **delete_folder** -> delete_folder(self, delete_folder_request) - -Delete folder - -### Return type - -void (empty response body) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name, - recursive=recursive) -``` +# delete_folder -### Usage ```python -FolderApi.delete_folder( - cakePrefix_delete_folder_request_cakeCodePostProcessor( - path, - storage_name=storage_name, - recursive=recursive)) +delete_folder(self, request: DeleteFolderRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| Folder path e.g. '/folder' | - **storage_name** | **str**| Storage name | [optional] - **recursive** | **bool**| Enable to delete folders, subfolders and files | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **delete_folder_async** -> delete_folder_async(self, delete_folder_request) - Delete folder -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -delete_folder_async(request).get() returns void (empty response body) +None -### Request Parameters +### request Parameter ```python -__init__(self, - path, - storage_name=storage_name, - recursive=recursive) +DeleteFolderRequest( + path: str, + storage_name: str = None, + recursive: bool = None) ``` -### Usage -```python -FolderApi.delete_folder_async( - cakePrefix_delete_folder_request_cakeCodePostProcessor( - path, - storage_name=storage_name, - recursive=recursive)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str**| Folder path e.g. '/folder' | - **storage_name** | **str**| Storage name | [optional] - **recursive** | **bool**| Enable to delete folders, subfolders and files | [optional] [default to false] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **path** | **str** | Folder path e.g. '/folder' | + **storage_name** | **str** | Storage name | [optional] + **recursive** | **bool** | Enable to delete folders, subfolders and files | [optional] [default to false] +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **get_files_list** -> get_files_list(self, get_files_list_request) - -Get all files and folders within a folder +# get_files_list -### Return type - -[**FilesList**](FilesList.md) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` - -### Usage ```python -FolderApi.get_files_list( - cakePrefix_get_files_list_request_cakeCodePostProcessor( - path, - storage_name=storage_name)) +get_files_list(self, request: GetFilesListRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| Folder path e.g. '/folder' | - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_files_list_async** -> get_files_list_async(self, get_files_list_request) - Get all files and folders within a folder -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -get_files_list_async(request).get() returns [**FilesList**](FilesList.md) - -### Request Parameters -```python -__init__(self, - path, - storage_name=storage_name) -``` +FilesList -### Usage +### request Parameter ```python -FolderApi.get_files_list_async( - cakePrefix_get_files_list_request_cakeCodePostProcessor( - path, - storage_name=storage_name)) +GetFilesListRequest( + path: str, + storage_name: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str**| Folder path e.g. '/folder' | - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **path** | **str** | Folder path e.g. '/folder' | + **storage_name** | **str** | Storage name | [optional] +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **move_folder** -> move_folder(self, move_folder_request) +# move_folder -Move folder - -### Return type - -void (empty response body) - -### Request Parameters ```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name) +move_folder(self, request: MoveFolderRequest) ``` -### Usage -```python -FolderApi.move_folder( - cakePrefix_move_folder_request_cakeCodePostProcessor( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **src_path** | **str**| Folder path to move e.g. '/folder' | - **dest_path** | **str**| Destination folder path to move to e.g '/dst' | - **src_storage_name** | **str**| Source storage name | [optional] - **dest_storage_name** | **str**| Destination storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **move_folder_async** -> move_folder_async(self, move_folder_request) - Move folder -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -move_folder_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name) -``` +None -### Usage +### request Parameter ```python -FolderApi.move_folder_async( - cakePrefix_move_folder_request_cakeCodePostProcessor( - src_path, - dest_path, - src_storage_name=src_storage_name, - dest_storage_name=dest_storage_name)) +MoveFolderRequest( + src_path: str, + dest_path: str, + src_storage_name: str = None, + dest_storage_name: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str**| Folder path to move e.g. '/folder' | - **dest_path** | **str**| Destination folder path to move to e.g '/dst' | - **src_storage_name** | **str**| Source storage name | [optional] - **dest_storage_name** | **str**| Destination storage name | [optional] + **src_path** | **str** | Folder path to move e.g. '/folder' | + **dest_path** | **str** | Destination folder path to move to e.g '/dst' | + **src_storage_name** | **str** | Source storage name | [optional] + **dest_storage_name** | **str** | Destination storage name | [optional] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FolderApi_list.md b/sdk/docs/FolderApi_list.md new file mode 100644 index 0000000..e9ee361 --- /dev/null +++ b/sdk/docs/FolderApi_list.md @@ -0,0 +1,15 @@ + + +## Documentation for FolderApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**copy_folder**](FolderApi.md#copy_folder)| **PUT** /email/storage/folder/copy/{srcPath}| Copy folder +[**create_folder**](FolderApi.md#create_folder)| **PUT** /email/storage/folder/{path}| Create the folder +[**delete_folder**](FolderApi.md#delete_folder)| **DELETE** /email/storage/folder/{path}| Delete folder +[**get_files_list**](FolderApi.md#get_files_list)| **GET** /email/storage/folder/{path}| Get all files and folders within a folder +[**move_folder**](FolderApi.md#move_folder)| **PUT** /email/storage/folder/move/{srcPath}| Move folder diff --git a/sdk/docs/InstantMessengerAddress.md b/sdk/docs/InstantMessengerAddress.md index b898d18..23b740b 100644 --- a/sdk/docs/InstantMessengerAddress.md +++ b/sdk/docs/InstantMessengerAddress.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/LinkedResource.md b/sdk/docs/LinkedResource.md index 17e4e5d..ee3f1de 100644 --- a/sdk/docs/LinkedResource.md +++ b/sdk/docs/LinkedResource.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [AttachmentBase](AttachmentBase.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfAiNameComponent.md b/sdk/docs/ListResponseOfAiNameComponent.md index 098a615..43d5c39 100644 --- a/sdk/docs/ListResponseOfAiNameComponent.md +++ b/sdk/docs/ListResponseOfAiNameComponent.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfAiNameExtracted.md b/sdk/docs/ListResponseOfAiNameExtracted.md index a560115..9a14381 100644 --- a/sdk/docs/ListResponseOfAiNameExtracted.md +++ b/sdk/docs/ListResponseOfAiNameExtracted.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfAiNameGenderHypothesis.md b/sdk/docs/ListResponseOfAiNameGenderHypothesis.md index b54cae7..8286c32 100644 --- a/sdk/docs/ListResponseOfAiNameGenderHypothesis.md +++ b/sdk/docs/ListResponseOfAiNameGenderHypothesis.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfContactDto.md b/sdk/docs/ListResponseOfContactDto.md index 42b308c..528716f 100644 --- a/sdk/docs/ListResponseOfContactDto.md +++ b/sdk/docs/ListResponseOfContactDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfEmailAccountConfig.md b/sdk/docs/ListResponseOfEmailAccountConfig.md index 3e77112..6995300 100644 --- a/sdk/docs/ListResponseOfEmailAccountConfig.md +++ b/sdk/docs/ListResponseOfEmailAccountConfig.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfEmailDto.md b/sdk/docs/ListResponseOfEmailDto.md index c3a6cc5..160735d 100644 --- a/sdk/docs/ListResponseOfEmailDto.md +++ b/sdk/docs/ListResponseOfEmailDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfEmailThread.md b/sdk/docs/ListResponseOfEmailThread.md index c3b853d..9aacdd3 100644 --- a/sdk/docs/ListResponseOfEmailThread.md +++ b/sdk/docs/ListResponseOfEmailThread.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfMailMessageBase.md b/sdk/docs/ListResponseOfMailMessageBase.md index 9e9d127..0e7e190 100644 --- a/sdk/docs/ListResponseOfMailMessageBase.md +++ b/sdk/docs/ListResponseOfMailMessageBase.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfMailServerFolder.md b/sdk/docs/ListResponseOfMailServerFolder.md index 823efee..b5e4c13 100644 --- a/sdk/docs/ListResponseOfMailServerFolder.md +++ b/sdk/docs/ListResponseOfMailServerFolder.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfStorageFileLocation.md b/sdk/docs/ListResponseOfStorageFileLocation.md index c1fb1b6..0929da2 100644 --- a/sdk/docs/ListResponseOfStorageFileLocation.md +++ b/sdk/docs/ListResponseOfStorageFileLocation.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfStorageModelOfCalendarDto.md b/sdk/docs/ListResponseOfStorageModelOfCalendarDto.md index c148bc0..cd24561 100644 --- a/sdk/docs/ListResponseOfStorageModelOfCalendarDto.md +++ b/sdk/docs/ListResponseOfStorageModelOfCalendarDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfStorageModelOfContactDto.md b/sdk/docs/ListResponseOfStorageModelOfContactDto.md index ca518bb..442ebe5 100644 --- a/sdk/docs/ListResponseOfStorageModelOfContactDto.md +++ b/sdk/docs/ListResponseOfStorageModelOfContactDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ListResponseOfStorageModelOfEmailDto.md b/sdk/docs/ListResponseOfStorageModelOfEmailDto.md index 4b89f88..9182970 100644 --- a/sdk/docs/ListResponseOfStorageModelOfEmailDto.md +++ b/sdk/docs/ListResponseOfStorageModelOfEmailDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MailAddress.md b/sdk/docs/MailAddress.md index 133317c..5ff0c36 100644 --- a/sdk/docs/MailAddress.md +++ b/sdk/docs/MailAddress.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MailMessageBase.md b/sdk/docs/MailMessageBase.md index 109c873..0419d53 100644 --- a/sdk/docs/MailMessageBase.md +++ b/sdk/docs/MailMessageBase.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MailMessageBase64.md b/sdk/docs/MailMessageBase64.md index 5f04bee..00b6978 100644 --- a/sdk/docs/MailMessageBase64.md +++ b/sdk/docs/MailMessageBase64.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes Parent class: [MailMessageBase](MailMessageBase.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MailMessageBaseList.md b/sdk/docs/MailMessageBaseList.md index 9f93449..c03810b 100644 --- a/sdk/docs/MailMessageBaseList.md +++ b/sdk/docs/MailMessageBaseList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfMailMessageBase](ListResponseOfMailMessageBase.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MailMessageDto.md b/sdk/docs/MailMessageDto.md index f46f22e..ae283c7 100644 --- a/sdk/docs/MailMessageDto.md +++ b/sdk/docs/MailMessageDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MailMessageBase](MailMessageBase.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MailMessageMapi.md b/sdk/docs/MailMessageMapi.md index 0cae5e8..cbc1fa8 100644 --- a/sdk/docs/MailMessageMapi.md +++ b/sdk/docs/MailMessageMapi.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MailMessageBase](MailMessageBase.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MailServerFolder.md b/sdk/docs/MailServerFolder.md index 054c306..3cc961e 100644 --- a/sdk/docs/MailServerFolder.md +++ b/sdk/docs/MailServerFolder.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MailServerFolderList.md b/sdk/docs/MailServerFolderList.md index 8efee56..f1e10bd 100644 --- a/sdk/docs/MailServerFolderList.md +++ b/sdk/docs/MailServerFolderList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfMailServerFolder](ListResponseOfMailServerFolder.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiAttachmentDto.md b/sdk/docs/MapiAttachmentDto.md index 3d04103..c1a866a 100644 --- a/sdk/docs/MapiAttachmentDto.md +++ b/sdk/docs/MapiAttachmentDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiBinaryPropertyDto.md b/sdk/docs/MapiBinaryPropertyDto.md index 60d3181..548f194 100644 --- a/sdk/docs/MapiBinaryPropertyDto.md +++ b/sdk/docs/MapiBinaryPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiBooleanPropertyDto.md b/sdk/docs/MapiBooleanPropertyDto.md index 84fb830..1c15750 100644 --- a/sdk/docs/MapiBooleanPropertyDto.md +++ b/sdk/docs/MapiBooleanPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarApi.md b/sdk/docs/MapiCalendarApi.md index 56ecc64..8775de3 100644 --- a/sdk/docs/MapiCalendarApi.md +++ b/sdk/docs/MapiCalendarApi.md @@ -1,329 +1,115 @@ -# AsposeEmailCloudSdk.MapiCalendarApi - - -# **mapi_calendar_as_calendar_dto** -> mapi_calendar_as_calendar_dto(self, mapi_calendar_as_calendar_dto_request) - -Converts MAPI calendar model to CalendarDto model. -### Return type +# AsposeEmailCloudSdk.MapiCalendarApi -[**CalendarDto**](CalendarDto.md) + + +# as_calendar_dto -### Request Parameters ```python -__init__(self, - mapi_calendar_dto) +as_calendar_dto(self, MapiCalendarDto mapi_calendar_dto) ``` -### Usage -```python -MapiCalendarApi.mapi_calendar_as_calendar_dto( - cakePrefix_mapi_calendar_as_calendar_dto_request_cakeCodePostProcessor( - mapi_calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_calendar_dto** | [**MapiCalendarDto**](MapiCalendarDto.md)| MAPI calendar model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_calendar_as_calendar_dto_async** -> mapi_calendar_as_calendar_dto_async(self, mapi_calendar_as_calendar_dto_request) - Converts MAPI calendar model to CalendarDto model. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_calendar_as_calendar_dto_async(request).get() returns [**CalendarDto**](CalendarDto.md) - -### Request Parameters -```python -__init__(self, - mapi_calendar_dto) -``` - -### Usage -```python -MapiCalendarApi.mapi_calendar_as_calendar_dto_async( - cakePrefix_mapi_calendar_as_calendar_dto_request_cakeCodePostProcessor( - mapi_calendar_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_calendar_dto** | [**MapiCalendarDto**](MapiCalendarDto.md)| MAPI calendar model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_calendar_as_file** -> mapi_calendar_as_file(self, mapi_calendar_as_file_request) - -Converts MAPI calendar model to specified format and returns as file. +[**CalendarDto**](CalendarDto.md) -### Return type +### mapi_calendar_dto Parameter -**file** +See parameter model documentation at [MapiCalendarDto](MapiCalendarDto.md) -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# as_file -### Usage ```python -MapiCalendarApi.mapi_calendar_as_file( - cakePrefix_mapi_calendar_as_file_request_cakeCodePostProcessor( - request)) +as_file(self, MapiCalendarAsFileRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiCalendarAsFileRequest**](MapiCalendarAsFileRequest.md)| MAPI calendar model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_calendar_as_file_async** -> mapi_calendar_as_file_async(self, mapi_calendar_as_file_request) - Converts MAPI calendar model to specified format and returns as file. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_calendar_as_file_async(request).get() returns **file** +**Stream** -### Request Parameters -```python -__init__(self, - request) -``` +### request Parameter -### Usage -```python -MapiCalendarApi.mapi_calendar_as_file_async( - cakePrefix_mapi_calendar_as_file_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiCalendarAsFileRequest**](MapiCalendarAsFileRequest.md)| MAPI calendar model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +See parameter model documentation at [MapiCalendarAsFileRequest](MapiCalendarAsFileRequest.md) - -# **mapi_calendar_from_file** -> mapi_calendar_from_file(self, mapi_calendar_from_file_request) - -Converts calendar file to a MAPI model representation. - -### Return type - -[**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# from_file -### Usage ```python -MapiCalendarApi.mapi_calendar_from_file( - cakePrefix_mapi_calendar_from_file_request_cakeCodePostProcessor( - file)) +from_file(self, request: MapiCalendarFromFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_calendar_from_file_async** -> mapi_calendar_from_file_async(self, mapi_calendar_from_file_request) - Converts calendar file to a MAPI model representation. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_calendar_from_file_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) +MapiCalendarDto -### Request Parameters +### request Parameter ```python -__init__(self, - file) +MapiCalendarFromFileRequest( + file: str) ``` -### Usage -```python -MapiCalendarApi.mapi_calendar_from_file_async( - cakePrefix_mapi_calendar_from_file_request_cakeCodePostProcessor( - file)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file** | **file**| File to convert | + **file** | **str** | File to convert | -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_calendar_get** -> mapi_calendar_get(self, mapi_calendar_get_request) - -Get MAPI calendar document. +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get -### Return type - -[**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters ```python -__init__(self, - file_name, - folder=folder, - storage=storage) +get(self, request: MapiCalendarGetRequest) ``` -### Usage -```python -MapiCalendarApi.mapi_calendar_get( - cakePrefix_mapi_calendar_get_request_cakeCodePostProcessor( - file_name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar file name in storage. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_calendar_get_async** -> mapi_calendar_get_async(self, mapi_calendar_get_request) - Get MAPI calendar document. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_calendar_get_async(request).get() returns [**MapiCalendarDto**](MapiCalendarDto.md) - -### Request Parameters -```python -__init__(self, - file_name, - folder=folder, - storage=storage) -``` +MapiCalendarDto -### Usage +### request Parameter ```python -MapiCalendarApi.mapi_calendar_get_async( - cakePrefix_mapi_calendar_get_request_cakeCodePostProcessor( - file_name, - folder=folder, - storage=storage)) +MapiCalendarGetRequest( + file_name: str, + folder: str = None, + storage: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **file_name** | **str**| Calendar file name in storage. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **file_name** | **str** | Calendar file name in storage. | + **folder** | **str** | Path to folder in storage. | [optional] + **storage** | **str** | Storage name. | [optional] - -# **mapi_calendar_save** -> mapi_calendar_save(self, mapi_calendar_save_request) - -Save MAPI Calendar to storage. - -### Return type +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# save -void (empty response body) - -### Request Parameters ```python -__init__(self, - request) +save(self, MapiCalendarSaveRequest request) ``` -### Usage -```python -MapiCalendarApi.mapi_calendar_save( - cakePrefix_mapi_calendar_save_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiCalendarSaveRequest**](MapiCalendarSaveRequest.md)| Calendar create/update request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_calendar_save_async** -> mapi_calendar_save_async(self, mapi_calendar_save_request) - Save MAPI Calendar to storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_calendar_save_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -MapiCalendarApi.mapi_calendar_save_async( - cakePrefix_mapi_calendar_save_request_cakeCodePostProcessor( - request)) -``` +void (empty response body) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiCalendarSaveRequest**](MapiCalendarSaveRequest.md)| Calendar create/update request. | +See parameter model documentation at [MapiCalendarSaveRequest](MapiCalendarSaveRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarApi_list.md b/sdk/docs/MapiCalendarApi_list.md new file mode 100644 index 0000000..d41979a --- /dev/null +++ b/sdk/docs/MapiCalendarApi_list.md @@ -0,0 +1,15 @@ + + +## Documentation for MapiCalendarApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**as_calendar_dto**](MapiCalendarApi.md#as_calendar_dto)| **PUT** /email/MapiCalendar/as-calendar-dto| Converts MAPI calendar model to CalendarDto model. +[**as_file**](MapiCalendarApi.md#as_file)| **PUT** /email/MapiCalendar/as-file| Converts MAPI calendar model to specified format and returns as file. +[**from_file**](MapiCalendarApi.md#from_file)| **PUT** /email/MapiCalendar/from-file| Converts calendar file to a MAPI model representation. +[**get**](MapiCalendarApi.md#get)| **GET** /email/MapiCalendar| Get MAPI calendar document. +[**save**](MapiCalendarApi.md#save)| **PUT** /email/MapiCalendar| Save MAPI Calendar to storage. diff --git a/sdk/docs/MapiCalendarAsFileRequest.md b/sdk/docs/MapiCalendarAsFileRequest.md index 432e90c..b40c711 100644 --- a/sdk/docs/MapiCalendarAsFileRequest.md +++ b/sdk/docs/MapiCalendarAsFileRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarAttendeesDto.md b/sdk/docs/MapiCalendarAttendeesDto.md index 01c3511..c833692 100644 --- a/sdk/docs/MapiCalendarAttendeesDto.md +++ b/sdk/docs/MapiCalendarAttendeesDto.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarDailyRecurrencePatternDto.md b/sdk/docs/MapiCalendarDailyRecurrencePatternDto.md index 9d94bd7..f4f2527 100644 --- a/sdk/docs/MapiCalendarDailyRecurrencePatternDto.md +++ b/sdk/docs/MapiCalendarDailyRecurrencePatternDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiCalendarRecurrencePatternDto](MapiCalendarRecurrencePatternDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarDto.md b/sdk/docs/MapiCalendarDto.md index 445c0de..839d4e9 100644 --- a/sdk/docs/MapiCalendarDto.md +++ b/sdk/docs/MapiCalendarDto.md @@ -23,6 +23,6 @@ Name | Type | Description | Notes Parent class: [MapiMessageItemBaseDto](MapiMessageItemBaseDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarEventRecurrenceDto.md b/sdk/docs/MapiCalendarEventRecurrenceDto.md index 658592c..e5b2e6e 100644 --- a/sdk/docs/MapiCalendarEventRecurrenceDto.md +++ b/sdk/docs/MapiCalendarEventRecurrenceDto.md @@ -11,6 +11,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarExceptionInfoDto.md b/sdk/docs/MapiCalendarExceptionInfoDto.md index aa0b533..9b601b5 100644 --- a/sdk/docs/MapiCalendarExceptionInfoDto.md +++ b/sdk/docs/MapiCalendarExceptionInfoDto.md @@ -19,6 +19,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarRecurrencePatternDto.md b/sdk/docs/MapiCalendarRecurrencePatternDto.md index c7e6840..c426931 100644 --- a/sdk/docs/MapiCalendarRecurrencePatternDto.md +++ b/sdk/docs/MapiCalendarRecurrencePatternDto.md @@ -19,6 +19,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarSaveRequest.md b/sdk/docs/MapiCalendarSaveRequest.md index ee4fd52..8479da6 100644 --- a/sdk/docs/MapiCalendarSaveRequest.md +++ b/sdk/docs/MapiCalendarSaveRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [StorageModelOfMapiCalendarDto](StorageModelOfMapiCalendarDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarTimeZoneDto.md b/sdk/docs/MapiCalendarTimeZoneDto.md index b904e4e..a3a2283 100644 --- a/sdk/docs/MapiCalendarTimeZoneDto.md +++ b/sdk/docs/MapiCalendarTimeZoneDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarTimeZoneInfoDto.md b/sdk/docs/MapiCalendarTimeZoneInfoDto.md index 4104c95..30e3f0c 100644 --- a/sdk/docs/MapiCalendarTimeZoneInfoDto.md +++ b/sdk/docs/MapiCalendarTimeZoneInfoDto.md @@ -12,6 +12,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarTimeZoneRuleDto.md b/sdk/docs/MapiCalendarTimeZoneRuleDto.md index 7aac43e..fb7799a 100644 --- a/sdk/docs/MapiCalendarTimeZoneRuleDto.md +++ b/sdk/docs/MapiCalendarTimeZoneRuleDto.md @@ -14,6 +14,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarWeeklyRecurrencePatternDto.md b/sdk/docs/MapiCalendarWeeklyRecurrencePatternDto.md index dfffa01..824cef8 100644 --- a/sdk/docs/MapiCalendarWeeklyRecurrencePatternDto.md +++ b/sdk/docs/MapiCalendarWeeklyRecurrencePatternDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiCalendarRecurrencePatternDto](MapiCalendarRecurrencePatternDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiCalendarYearlyAndMonthlyRecurrencePatternDto.md b/sdk/docs/MapiCalendarYearlyAndMonthlyRecurrencePatternDto.md index 7a52b79..81bff96 100644 --- a/sdk/docs/MapiCalendarYearlyAndMonthlyRecurrencePatternDto.md +++ b/sdk/docs/MapiCalendarYearlyAndMonthlyRecurrencePatternDto.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes Parent class: [MapiCalendarRecurrencePatternDto](MapiCalendarRecurrencePatternDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactApi.md b/sdk/docs/MapiContactApi.md index 7899d95..421bb34 100644 --- a/sdk/docs/MapiContactApi.md +++ b/sdk/docs/MapiContactApi.md @@ -1,341 +1,119 @@ -# AsposeEmailCloudSdk.MapiContactApi - - -# **mapi_contact_as_contact_dto** -> mapi_contact_as_contact_dto(self, mapi_contact_as_contact_dto_request) - -Converts MAPI contact model to ContactDto model. -### Return type +# AsposeEmailCloudSdk.MapiContactApi -[**ContactDto**](ContactDto.md) + + +# as_contact_dto -### Request Parameters ```python -__init__(self, - mapi_contact_dto) +as_contact_dto(self, MapiContactDto mapi_contact_dto) ``` -### Usage -```python -MapiContactApi.mapi_contact_as_contact_dto( - cakePrefix_mapi_contact_as_contact_dto_request_cakeCodePostProcessor( - mapi_contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_contact_dto** | [**MapiContactDto**](MapiContactDto.md)| MAPI contact model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_contact_as_contact_dto_async** -> mapi_contact_as_contact_dto_async(self, mapi_contact_as_contact_dto_request) - Converts MAPI contact model to ContactDto model. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_contact_as_contact_dto_async(request).get() returns [**ContactDto**](ContactDto.md) - -### Request Parameters -```python -__init__(self, - mapi_contact_dto) -``` - -### Usage -```python -MapiContactApi.mapi_contact_as_contact_dto_async( - cakePrefix_mapi_contact_as_contact_dto_request_cakeCodePostProcessor( - mapi_contact_dto)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_contact_dto** | [**MapiContactDto**](MapiContactDto.md)| MAPI contact model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_contact_as_file** -> mapi_contact_as_file(self, mapi_contact_as_file_request) - -Converts MAPI contact model to specified format and returns as file. +[**ContactDto**](ContactDto.md) -### Return type +### mapi_contact_dto Parameter -**file** +See parameter model documentation at [MapiContactDto](MapiContactDto.md) -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# as_file -### Usage ```python -MapiContactApi.mapi_contact_as_file( - cakePrefix_mapi_contact_as_file_request_cakeCodePostProcessor( - request)) +as_file(self, MapiContactAsFileRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiContactAsFileRequest**](MapiContactAsFileRequest.md)| MAPI contact model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_contact_as_file_async** -> mapi_contact_as_file_async(self, mapi_contact_as_file_request) - Converts MAPI contact model to specified format and returns as file. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_contact_as_file_async(request).get() returns **file** +**Stream** -### Request Parameters -```python -__init__(self, - request) -``` +### request Parameter -### Usage -```python -MapiContactApi.mapi_contact_as_file_async( - cakePrefix_mapi_contact_as_file_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiContactAsFileRequest**](MapiContactAsFileRequest.md)| MAPI contact model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +See parameter model documentation at [MapiContactAsFileRequest](MapiContactAsFileRequest.md) - -# **mapi_contact_from_file** -> mapi_contact_from_file(self, mapi_contact_from_file_request) - -Converts contact file to a MAPI model representation. - -### Return type - -[**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# from_file -### Usage ```python -MapiContactApi.mapi_contact_from_file( - cakePrefix_mapi_contact_from_file_request_cakeCodePostProcessor( - format, - file)) +from_file(self, request: MapiContactFromFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_contact_from_file_async** -> mapi_contact_from_file_async(self, mapi_contact_from_file_request) - Converts contact file to a MAPI model representation. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_contact_from_file_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) +MapiContactDto -### Request Parameters +### request Parameter ```python -__init__(self, - format, - file) +MapiContactFromFileRequest( + format: str, + file: str) ``` -### Usage -```python -MapiContactApi.mapi_contact_from_file_async( - cakePrefix_mapi_contact_from_file_request_cakeCodePostProcessor( - format, - file)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: VCard, WebDav, Msg | - **file** | **file**| File to convert | + **format** | **str** | File format Enum, available values: VCard, WebDav, Msg | + **file** | **str** | File to convert | -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_contact_get** -> mapi_contact_get(self, mapi_contact_get_request) - -Get MAPI contact document. +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get -### Return type - -[**MapiContactDto**](MapiContactDto.md) - -### Request Parameters ```python -__init__(self, - format, - file_name, - folder=folder, - storage=storage) +get(self, request: MapiContactGetRequest) ``` -### Usage -```python -MapiContactApi.mapi_contact_get( - cakePrefix_mapi_contact_get_request_cakeCodePostProcessor( - format, - file_name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **file_name** | **str**| Contact document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_contact_get_async** -> mapi_contact_get_async(self, mapi_contact_get_request) - Get MAPI contact document. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_contact_get_async(request).get() returns [**MapiContactDto**](MapiContactDto.md) - -### Request Parameters -```python -__init__(self, - format, - file_name, - folder=folder, - storage=storage) -``` +MapiContactDto -### Usage +### request Parameter ```python -MapiContactApi.mapi_contact_get_async( - cakePrefix_mapi_contact_get_request_cakeCodePostProcessor( - format, - file_name, - folder=folder, - storage=storage)) +MapiContactGetRequest( + format: str, + file_name: str, + folder: str = None, + storage: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Contact document format. Enum, available values: VCard, WebDav, Msg | - **file_name** | **str**| Contact document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **format** | **str** | Contact document format. Enum, available values: VCard, WebDav, Msg | + **file_name** | **str** | Contact document file name. | + **folder** | **str** | Path to folder in storage. | [optional] + **storage** | **str** | Storage name. | [optional] - -# **mapi_contact_save** -> mapi_contact_save(self, mapi_contact_save_request) - -Save MAPI Contact to storage. - -### Return type +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# save -void (empty response body) - -### Request Parameters ```python -__init__(self, - request) +save(self, MapiContactSaveRequest request) ``` -### Usage -```python -MapiContactApi.mapi_contact_save( - cakePrefix_mapi_contact_save_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiContactSaveRequest**](MapiContactSaveRequest.md)| Create/Update contact request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_contact_save_async** -> mapi_contact_save_async(self, mapi_contact_save_request) - Save MAPI Contact to storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_contact_save_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -MapiContactApi.mapi_contact_save_async( - cakePrefix_mapi_contact_save_request_cakeCodePostProcessor( - request)) -``` +void (empty response body) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiContactSaveRequest**](MapiContactSaveRequest.md)| Create/Update contact request. | +See parameter model documentation at [MapiContactSaveRequest](MapiContactSaveRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactApi_list.md b/sdk/docs/MapiContactApi_list.md new file mode 100644 index 0000000..c7898f7 --- /dev/null +++ b/sdk/docs/MapiContactApi_list.md @@ -0,0 +1,15 @@ + + +## Documentation for MapiContactApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**as_contact_dto**](MapiContactApi.md#as_contact_dto)| **PUT** /email/MapiContact/as-contact-dto| Converts MAPI contact model to ContactDto model. +[**as_file**](MapiContactApi.md#as_file)| **PUT** /email/MapiContact/as-file| Converts MAPI contact model to specified format and returns as file. +[**from_file**](MapiContactApi.md#from_file)| **PUT** /email/MapiContact/from-file| Converts contact file to a MAPI model representation. +[**get**](MapiContactApi.md#get)| **GET** /email/MapiContact| Get MAPI contact document. +[**save**](MapiContactApi.md#save)| **PUT** /email/MapiContact| Save MAPI Contact to storage. diff --git a/sdk/docs/MapiContactAsFileRequest.md b/sdk/docs/MapiContactAsFileRequest.md index b35cbfc..0cc927c 100644 --- a/sdk/docs/MapiContactAsFileRequest.md +++ b/sdk/docs/MapiContactAsFileRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactDto.md b/sdk/docs/MapiContactDto.md index d0c819f..56b7328 100644 --- a/sdk/docs/MapiContactDto.md +++ b/sdk/docs/MapiContactDto.md @@ -14,6 +14,6 @@ Name | Type | Description | Notes Parent class: [MapiMessageItemBaseDto](MapiMessageItemBaseDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactElectronicAddressDto.md b/sdk/docs/MapiContactElectronicAddressDto.md index b31d313..8e5d7e3 100644 --- a/sdk/docs/MapiContactElectronicAddressDto.md +++ b/sdk/docs/MapiContactElectronicAddressDto.md @@ -11,6 +11,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactElectronicAddressPropertySetDto.md b/sdk/docs/MapiContactElectronicAddressPropertySetDto.md index 9fe4951..1a97e36 100644 --- a/sdk/docs/MapiContactElectronicAddressPropertySetDto.md +++ b/sdk/docs/MapiContactElectronicAddressPropertySetDto.md @@ -14,6 +14,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactEventPropertySetDto.md b/sdk/docs/MapiContactEventPropertySetDto.md index 26365f8..f84af56 100644 --- a/sdk/docs/MapiContactEventPropertySetDto.md +++ b/sdk/docs/MapiContactEventPropertySetDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactNamePropertySetDto.md b/sdk/docs/MapiContactNamePropertySetDto.md index 591da1a..495b9cb 100644 --- a/sdk/docs/MapiContactNamePropertySetDto.md +++ b/sdk/docs/MapiContactNamePropertySetDto.md @@ -15,6 +15,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactOtherPropertySetDto.md b/sdk/docs/MapiContactOtherPropertySetDto.md index bf0e901..3518c97 100644 --- a/sdk/docs/MapiContactOtherPropertySetDto.md +++ b/sdk/docs/MapiContactOtherPropertySetDto.md @@ -13,6 +13,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactPersonalInfoPropertySetDto.md b/sdk/docs/MapiContactPersonalInfoPropertySetDto.md index e25e50c..fdb4172 100644 --- a/sdk/docs/MapiContactPersonalInfoPropertySetDto.md +++ b/sdk/docs/MapiContactPersonalInfoPropertySetDto.md @@ -24,6 +24,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactPhotoDto.md b/sdk/docs/MapiContactPhotoDto.md index 7f0433e..19c4d83 100644 --- a/sdk/docs/MapiContactPhotoDto.md +++ b/sdk/docs/MapiContactPhotoDto.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ContactPhoto](ContactPhoto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactPhysicalAddressDto.md b/sdk/docs/MapiContactPhysicalAddressDto.md index 4ae8d33..94ed620 100644 --- a/sdk/docs/MapiContactPhysicalAddressDto.md +++ b/sdk/docs/MapiContactPhysicalAddressDto.md @@ -14,6 +14,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactPhysicalAddressPropertySetDto.md b/sdk/docs/MapiContactPhysicalAddressPropertySetDto.md index e418e5a..02ae863 100644 --- a/sdk/docs/MapiContactPhysicalAddressPropertySetDto.md +++ b/sdk/docs/MapiContactPhysicalAddressPropertySetDto.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactProfessionalPropertySetDto.md b/sdk/docs/MapiContactProfessionalPropertySetDto.md index 08eeaa6..1851e32 100644 --- a/sdk/docs/MapiContactProfessionalPropertySetDto.md +++ b/sdk/docs/MapiContactProfessionalPropertySetDto.md @@ -12,6 +12,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactSaveRequest.md b/sdk/docs/MapiContactSaveRequest.md index 4e8ce76..796e771 100644 --- a/sdk/docs/MapiContactSaveRequest.md +++ b/sdk/docs/MapiContactSaveRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [StorageModelOfMapiContactDto](StorageModelOfMapiContactDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiContactTelephonePropertySetDto.md b/sdk/docs/MapiContactTelephonePropertySetDto.md index f008bc8..ad74ab3 100644 --- a/sdk/docs/MapiContactTelephonePropertySetDto.md +++ b/sdk/docs/MapiContactTelephonePropertySetDto.md @@ -24,6 +24,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiDateTimePropertyDto.md b/sdk/docs/MapiDateTimePropertyDto.md index da996a0..0e1bfb0 100644 --- a/sdk/docs/MapiDateTimePropertyDto.md +++ b/sdk/docs/MapiDateTimePropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiElectronicAddressDto.md b/sdk/docs/MapiElectronicAddressDto.md index 90f767f..cab2657 100644 --- a/sdk/docs/MapiElectronicAddressDto.md +++ b/sdk/docs/MapiElectronicAddressDto.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiFileAsPropertyDto.md b/sdk/docs/MapiFileAsPropertyDto.md index ed29cc9..ec53dac 100644 --- a/sdk/docs/MapiFileAsPropertyDto.md +++ b/sdk/docs/MapiFileAsPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiGroup.md b/sdk/docs/MapiGroup.md index 8b16d1b..9b75e53 100644 --- a/sdk/docs/MapiGroup.md +++ b/sdk/docs/MapiGroup.md @@ -1,8 +1,8 @@ -# EmailCloud.Mapi +# EmailCloud.Mapi MAPI operations. API | Description --- | ----------- -[EmailCloud.mapi().**calendar()**](MapiCalendarApi_list.md) | MAPI calendar operations. -[EmailCloud.mapi().**contact()**](MapiContactApi_list.md) | MAPI contact operations -[EmailCloud.mapi().**message()**](MapiMessageApi_list.md) | MAPI message operations +[EmailCloud.mapi.**calendar**](MapiCalendarApi_list.md) | MAPI calendar operations. +[EmailCloud.mapi.**contact**](MapiContactApi_list.md) | MAPI contact operations +[EmailCloud.mapi.**message**](MapiMessageApi_list.md) | MAPI message operations diff --git a/sdk/docs/MapiImportancePropertyDto.md b/sdk/docs/MapiImportancePropertyDto.md index 1a16667..06c7b5a 100644 --- a/sdk/docs/MapiImportancePropertyDto.md +++ b/sdk/docs/MapiImportancePropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiIntPropertyDto.md b/sdk/docs/MapiIntPropertyDto.md index 362967f..3fb9e25 100644 --- a/sdk/docs/MapiIntPropertyDto.md +++ b/sdk/docs/MapiIntPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiKnownPropertyDescriptor.md b/sdk/docs/MapiKnownPropertyDescriptor.md index 9b26e61..83ccafe 100644 --- a/sdk/docs/MapiKnownPropertyDescriptor.md +++ b/sdk/docs/MapiKnownPropertyDescriptor.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDescriptor](MapiPropertyDescriptor.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiLegacyFreeBusyPropertyDto.md b/sdk/docs/MapiLegacyFreeBusyPropertyDto.md index afb7aba..0e716d6 100644 --- a/sdk/docs/MapiLegacyFreeBusyPropertyDto.md +++ b/sdk/docs/MapiLegacyFreeBusyPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiMessageApi.md b/sdk/docs/MapiMessageApi.md index daa3eb5..f93da78 100644 --- a/sdk/docs/MapiMessageApi.md +++ b/sdk/docs/MapiMessageApi.md @@ -1,341 +1,119 @@ -# AsposeEmailCloudSdk.MapiMessageApi - - -# **mapi_message_as_email_dto** -> mapi_message_as_email_dto(self, mapi_message_as_email_dto_request) - -Converts MAPI message model to EmailDto model -### Return type +# AsposeEmailCloudSdk.MapiMessageApi -[**EmailDto**](EmailDto.md) + + +# as_email_dto -### Request Parameters ```python -__init__(self, - mapi_message) +as_email_dto(self, MapiMessageDto mapi_message) ``` -### Usage -```python -MapiMessageApi.mapi_message_as_email_dto( - cakePrefix_mapi_message_as_email_dto_request_cakeCodePostProcessor( - mapi_message)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_message** | [**MapiMessageDto**](MapiMessageDto.md)| MAPI message model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_message_as_email_dto_async** -> mapi_message_as_email_dto_async(self, mapi_message_as_email_dto_request) - Converts MAPI message model to EmailDto model -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_message_as_email_dto_async(request).get() returns [**EmailDto**](EmailDto.md) - -### Request Parameters -```python -__init__(self, - mapi_message) -``` - -### Usage -```python -MapiMessageApi.mapi_message_as_email_dto_async( - cakePrefix_mapi_message_as_email_dto_request_cakeCodePostProcessor( - mapi_message)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapi_message** | [**MapiMessageDto**](MapiMessageDto.md)| MAPI message model to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_message_as_file** -> mapi_message_as_file(self, mapi_message_as_file_request) - -Converts MAPI message model to specified format and returns as file. +[**EmailDto**](EmailDto.md) -### Return type +### mapi_message Parameter -**file** +See parameter model documentation at [MapiMessageDto](MapiMessageDto.md) -### Request Parameters -```python -__init__(self, - request) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# as_file -### Usage ```python -MapiMessageApi.mapi_message_as_file( - cakePrefix_mapi_message_as_file_request_cakeCodePostProcessor( - request)) +as_file(self, MapiMessageAsFileRequest request) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiMessageAsFileRequest**](MapiMessageAsFileRequest.md)| MAPI message model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_message_as_file_async** -> mapi_message_as_file_async(self, mapi_message_as_file_request) - Converts MAPI message model to specified format and returns as file. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_message_as_file_async(request).get() returns **file** +**Stream** -### Request Parameters -```python -__init__(self, - request) -``` +### request Parameter -### Usage -```python -MapiMessageApi.mapi_message_as_file_async( - cakePrefix_mapi_message_as_file_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiMessageAsFileRequest**](MapiMessageAsFileRequest.md)| MAPI message model to convert. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +See parameter model documentation at [MapiMessageAsFileRequest](MapiMessageAsFileRequest.md) - -# **mapi_message_from_file** -> mapi_message_from_file(self, mapi_message_from_file_request) - -Converts email file to a MAPI model representation - -### Return type - -[**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - format, - file) -``` +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# from_file -### Usage ```python -MapiMessageApi.mapi_message_from_file( - cakePrefix_mapi_message_from_file_request_cakeCodePostProcessor( - format, - file)) +from_file(self, request: MapiMessageFromFileRequest) ``` - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_message_from_file_async** -> mapi_message_from_file_async(self, mapi_message_from_file_request) - Converts email file to a MAPI model representation -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_message_from_file_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) +MapiMessageDto -### Request Parameters +### request Parameter ```python -__init__(self, - format, - file) +MapiMessageFromFileRequest( + format: str, + file: str) ``` -### Usage -```python -MapiMessageApi.mapi_message_from_file_async( - cakePrefix_mapi_message_from_file_request_cakeCodePostProcessor( - format, - file)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file** | **file**| File to convert | + **format** | **str** | File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file** | **str** | File to convert | -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_message_get** -> mapi_message_get(self, mapi_message_get_request) - -Get MAPI message document. +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# get -### Return type - -[**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters ```python -__init__(self, - format, - file_name, - folder=folder, - storage=storage) +get(self, request: MapiMessageGetRequest) ``` -### Usage -```python -MapiMessageApi.mapi_message_get( - cakePrefix_mapi_message_get_request_cakeCodePostProcessor( - format, - file_name, - folder=folder, - storage=storage)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file_name** | **str**| Email document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_message_get_async** -> mapi_message_get_async(self, mapi_message_get_request) - Get MAPI message document. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_message_get_async(request).get() returns [**MapiMessageDto**](MapiMessageDto.md) - -### Request Parameters -```python -__init__(self, - format, - file_name, - folder=folder, - storage=storage) -``` +MapiMessageDto -### Usage +### request Parameter ```python -MapiMessageApi.mapi_message_get_async( - cakePrefix_mapi_message_get_request_cakeCodePostProcessor( - format, - file_name, - folder=folder, - storage=storage)) +MapiMessageGetRequest( + format: str, + file_name: str, + folder: str = None, + storage: str = None) ``` - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str**| Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **file_name** | **str**| Email document file name. | - **folder** | **str**| Path to folder in storage. | [optional] - **storage** | **str**| Storage name. | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **file_name** | **str** | Email document file name. | + **folder** | **str** | Path to folder in storage. | [optional] + **storage** | **str** | Storage name. | [optional] - -# **mapi_message_save** -> mapi_message_save(self, mapi_message_save_request) - -Save MAPI message to storage. - -### Return type +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# save -void (empty response body) - -### Request Parameters ```python -__init__(self, - request) +save(self, MapiMessageSaveRequest request) ``` -### Usage -```python -MapiMessageApi.mapi_message_save( - cakePrefix_mapi_message_save_request_cakeCodePostProcessor( - request)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiMessageSaveRequest**](MapiMessageSaveRequest.md)| Message create/update request. | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **mapi_message_save_async** -> mapi_message_save_async(self, mapi_message_save_request) - Save MAPI message to storage. -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -mapi_message_save_async(request).get() returns void (empty response body) - -### Request Parameters -```python -__init__(self, - request) -``` - -### Usage -```python -MapiMessageApi.mapi_message_save_async( - cakePrefix_mapi_message_save_request_cakeCodePostProcessor( - request)) -``` +void (empty response body) +### request Parameter -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request** | [**MapiMessageSaveRequest**](MapiMessageSaveRequest.md)| Message create/update request. | +See parameter model documentation at [MapiMessageSaveRequest](MapiMessageSaveRequest.md) -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiMessageApi_list.md b/sdk/docs/MapiMessageApi_list.md new file mode 100644 index 0000000..9aad6a4 --- /dev/null +++ b/sdk/docs/MapiMessageApi_list.md @@ -0,0 +1,15 @@ + + +## Documentation for MapiMessageApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**as_email_dto**](MapiMessageApi.md#as_email_dto)| **PUT** /email/MapiMessage/as-email-dto| Converts MAPI message model to EmailDto model +[**as_file**](MapiMessageApi.md#as_file)| **PUT** /email/MapiMessage/as-file| Converts MAPI message model to specified format and returns as file. +[**from_file**](MapiMessageApi.md#from_file)| **PUT** /email/MapiMessage/from-file| Converts email file to a MAPI model representation +[**get**](MapiMessageApi.md#get)| **GET** /email/MapiMessage| Get MAPI message document. +[**save**](MapiMessageApi.md#save)| **PUT** /email/MapiMessage| Save MAPI message to storage. diff --git a/sdk/docs/MapiMessageAsFileRequest.md b/sdk/docs/MapiMessageAsFileRequest.md index 5ed94b0..52efd2a 100644 --- a/sdk/docs/MapiMessageAsFileRequest.md +++ b/sdk/docs/MapiMessageAsFileRequest.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiMessageDto.md b/sdk/docs/MapiMessageDto.md index b2db712..272a49d 100644 --- a/sdk/docs/MapiMessageDto.md +++ b/sdk/docs/MapiMessageDto.md @@ -30,6 +30,6 @@ Name | Type | Description | Notes Parent class: [MapiMessageItemBaseDto](MapiMessageItemBaseDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiMessageItemBaseDto.md b/sdk/docs/MapiMessageItemBaseDto.md index 4a47f13..1f49066 100644 --- a/sdk/docs/MapiMessageItemBaseDto.md +++ b/sdk/docs/MapiMessageItemBaseDto.md @@ -22,6 +22,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiMessageSaveRequest.md b/sdk/docs/MapiMessageSaveRequest.md index 50f60f0..3a7430e 100644 --- a/sdk/docs/MapiMessageSaveRequest.md +++ b/sdk/docs/MapiMessageSaveRequest.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [StorageModelOfMapiMessageDto](StorageModelOfMapiMessageDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiMultiIntPropertyDto.md b/sdk/docs/MapiMultiIntPropertyDto.md index f46a4fd..24fd3c3 100644 --- a/sdk/docs/MapiMultiIntPropertyDto.md +++ b/sdk/docs/MapiMultiIntPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiMultiStringPropertyDto.md b/sdk/docs/MapiMultiStringPropertyDto.md index 948ab68..fd0bea0 100644 --- a/sdk/docs/MapiMultiStringPropertyDto.md +++ b/sdk/docs/MapiMultiStringPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiPhysicalAddressIndexPropertyDto.md b/sdk/docs/MapiPhysicalAddressIndexPropertyDto.md index 4037c01..9d83145 100644 --- a/sdk/docs/MapiPhysicalAddressIndexPropertyDto.md +++ b/sdk/docs/MapiPhysicalAddressIndexPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiPidLidPropertyDescriptor.md b/sdk/docs/MapiPidLidPropertyDescriptor.md index c8f1ca4..5cdba65 100644 --- a/sdk/docs/MapiPidLidPropertyDescriptor.md +++ b/sdk/docs/MapiPidLidPropertyDescriptor.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes Parent class: [MapiPidPropertyDescriptor](MapiPidPropertyDescriptor.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiPidNamePropertyDescriptor.md b/sdk/docs/MapiPidNamePropertyDescriptor.md index f3af50d..a78c33f 100644 --- a/sdk/docs/MapiPidNamePropertyDescriptor.md +++ b/sdk/docs/MapiPidNamePropertyDescriptor.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPidPropertyDescriptor](MapiPidPropertyDescriptor.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiPidPropertyDescriptor.md b/sdk/docs/MapiPidPropertyDescriptor.md index c3ee9a7..c794a2f 100644 --- a/sdk/docs/MapiPidPropertyDescriptor.md +++ b/sdk/docs/MapiPidPropertyDescriptor.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDescriptor](MapiPropertyDescriptor.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiPidTagPropertyDescriptor.md b/sdk/docs/MapiPidTagPropertyDescriptor.md index ea303ba..f94b00b 100644 --- a/sdk/docs/MapiPidTagPropertyDescriptor.md +++ b/sdk/docs/MapiPidTagPropertyDescriptor.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes Parent class: [MapiPidPropertyDescriptor](MapiPidPropertyDescriptor.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiPropertyDescriptor.md b/sdk/docs/MapiPropertyDescriptor.md index 9de5601..97e09cc 100644 --- a/sdk/docs/MapiPropertyDescriptor.md +++ b/sdk/docs/MapiPropertyDescriptor.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiPropertyDto.md b/sdk/docs/MapiPropertyDto.md index 371199c..90fc72f 100644 --- a/sdk/docs/MapiPropertyDto.md +++ b/sdk/docs/MapiPropertyDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiRecipientDto.md b/sdk/docs/MapiRecipientDto.md index f8d3619..9021f46 100644 --- a/sdk/docs/MapiRecipientDto.md +++ b/sdk/docs/MapiRecipientDto.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiResponseTypePropertyDto.md b/sdk/docs/MapiResponseTypePropertyDto.md index 34698ec..723a50e 100644 --- a/sdk/docs/MapiResponseTypePropertyDto.md +++ b/sdk/docs/MapiResponseTypePropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/MapiStringPropertyDto.md b/sdk/docs/MapiStringPropertyDto.md index 9baf2ed..68fc718 100644 --- a/sdk/docs/MapiStringPropertyDto.md +++ b/sdk/docs/MapiStringPropertyDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [MapiPropertyDto](MapiPropertyDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/Models.md b/sdk/docs/Models.md new file mode 100644 index 0000000..c3232fe --- /dev/null +++ b/sdk/docs/Models.md @@ -0,0 +1,193 @@ + +## Documentation for Models + + - [AsposeEmailCloudSdk.models.AiBcrImage](AiBcrImage.md) + - [AsposeEmailCloudSdk.models.AiBcrOptions](AiBcrOptions.md) + - [AsposeEmailCloudSdk.models.AiBcrParseStorageRequest](AiBcrParseStorageRequest.md) + - [AsposeEmailCloudSdk.models.AiNameComponent](AiNameComponent.md) + - [AsposeEmailCloudSdk.models.AiNameCulturalContext](AiNameCulturalContext.md) + - [AsposeEmailCloudSdk.models.AiNameExtracted](AiNameExtracted.md) + - [AsposeEmailCloudSdk.models.AiNameExtractedComponent](AiNameExtractedComponent.md) + - [AsposeEmailCloudSdk.models.AiNameFormatted](AiNameFormatted.md) + - [AsposeEmailCloudSdk.models.AiNameGenderHypothesis](AiNameGenderHypothesis.md) + - [AsposeEmailCloudSdk.models.AiNameMatchResult](AiNameMatchResult.md) + - [AsposeEmailCloudSdk.models.AiNameMismatch](AiNameMismatch.md) + - [AsposeEmailCloudSdk.models.AiNameParsedRequest](AiNameParsedRequest.md) + - [AsposeEmailCloudSdk.models.AiNameWeighted](AiNameWeighted.md) + - [AsposeEmailCloudSdk.models.AiNameWeightedVariants](AiNameWeightedVariants.md) + - [AsposeEmailCloudSdk.models.AssociatedPerson](AssociatedPerson.md) + - [AsposeEmailCloudSdk.models.AttachmentBase](AttachmentBase.md) + - [AsposeEmailCloudSdk.models.CalendarAsAlternateRequest](CalendarAsAlternateRequest.md) + - [AsposeEmailCloudSdk.models.CalendarAsFileRequest](CalendarAsFileRequest.md) + - [AsposeEmailCloudSdk.models.CalendarDto](CalendarDto.md) + - [AsposeEmailCloudSdk.models.CalendarReminder](CalendarReminder.md) + - [AsposeEmailCloudSdk.models.ClientAccountBaseRequest](ClientAccountBaseRequest.md) + - [AsposeEmailCloudSdk.models.ContactAsFileRequest](ContactAsFileRequest.md) + - [AsposeEmailCloudSdk.models.ContactDto](ContactDto.md) + - [AsposeEmailCloudSdk.models.ContactPhoto](ContactPhoto.md) + - [AsposeEmailCloudSdk.models.ContentType](ContentType.md) + - [AsposeEmailCloudSdk.models.ContentTypeParameter](ContentTypeParameter.md) + - [AsposeEmailCloudSdk.models.CustomerEvent](CustomerEvent.md) + - [AsposeEmailCloudSdk.models.DiscUsage](DiscUsage.md) + - [AsposeEmailCloudSdk.models.DiscoverEmailConfigRequest](DiscoverEmailConfigRequest.md) + - [AsposeEmailCloudSdk.models.EmailAccountConfig](EmailAccountConfig.md) + - [AsposeEmailCloudSdk.models.EmailAddress](EmailAddress.md) + - [AsposeEmailCloudSdk.models.EmailAsFileRequest](EmailAsFileRequest.md) + - [AsposeEmailCloudSdk.models.EmailClientAccount](EmailClientAccount.md) + - [AsposeEmailCloudSdk.models.EmailClientAccountCredentials](EmailClientAccountCredentials.md) + - [AsposeEmailCloudSdk.models.EmailClientMultiAccount](EmailClientMultiAccount.md) + - [AsposeEmailCloudSdk.models.EmailDto](EmailDto.md) + - [AsposeEmailCloudSdk.models.EmailThread](EmailThread.md) + - [AsposeEmailCloudSdk.models.EnumWithCustomOfAssociatedPersonCategory](EnumWithCustomOfAssociatedPersonCategory.md) + - [AsposeEmailCloudSdk.models.EnumWithCustomOfEmailAddressCategory](EnumWithCustomOfEmailAddressCategory.md) + - [AsposeEmailCloudSdk.models.EnumWithCustomOfEventCategory](EnumWithCustomOfEventCategory.md) + - [AsposeEmailCloudSdk.models.EnumWithCustomOfInstantMessengerCategory](EnumWithCustomOfInstantMessengerCategory.md) + - [AsposeEmailCloudSdk.models.EnumWithCustomOfPhoneNumberCategory](EnumWithCustomOfPhoneNumberCategory.md) + - [AsposeEmailCloudSdk.models.EnumWithCustomOfPostalAddressCategory](EnumWithCustomOfPostalAddressCategory.md) + - [AsposeEmailCloudSdk.models.EnumWithCustomOfUrlCategory](EnumWithCustomOfUrlCategory.md) + - [AsposeEmailCloudSdk.models.Error](Error.md) + - [AsposeEmailCloudSdk.models.ErrorDetails](ErrorDetails.md) + - [AsposeEmailCloudSdk.models.FileVersions](FileVersions.md) + - [AsposeEmailCloudSdk.models.FilesList](FilesList.md) + - [AsposeEmailCloudSdk.models.FilesUploadResult](FilesUploadResult.md) + - [AsposeEmailCloudSdk.models.InstantMessengerAddress](InstantMessengerAddress.md) + - [AsposeEmailCloudSdk.models.ListResponseOfAiNameComponent](ListResponseOfAiNameComponent.md) + - [AsposeEmailCloudSdk.models.ListResponseOfAiNameExtracted](ListResponseOfAiNameExtracted.md) + - [AsposeEmailCloudSdk.models.ListResponseOfAiNameGenderHypothesis](ListResponseOfAiNameGenderHypothesis.md) + - [AsposeEmailCloudSdk.models.ListResponseOfContactDto](ListResponseOfContactDto.md) + - [AsposeEmailCloudSdk.models.ListResponseOfEmailAccountConfig](ListResponseOfEmailAccountConfig.md) + - [AsposeEmailCloudSdk.models.ListResponseOfEmailDto](ListResponseOfEmailDto.md) + - [AsposeEmailCloudSdk.models.ListResponseOfEmailThread](ListResponseOfEmailThread.md) + - [AsposeEmailCloudSdk.models.ListResponseOfMailMessageBase](ListResponseOfMailMessageBase.md) + - [AsposeEmailCloudSdk.models.ListResponseOfMailServerFolder](ListResponseOfMailServerFolder.md) + - [AsposeEmailCloudSdk.models.ListResponseOfStorageFileLocation](ListResponseOfStorageFileLocation.md) + - [AsposeEmailCloudSdk.models.ListResponseOfStorageModelOfCalendarDto](ListResponseOfStorageModelOfCalendarDto.md) + - [AsposeEmailCloudSdk.models.ListResponseOfStorageModelOfContactDto](ListResponseOfStorageModelOfContactDto.md) + - [AsposeEmailCloudSdk.models.ListResponseOfStorageModelOfEmailDto](ListResponseOfStorageModelOfEmailDto.md) + - [AsposeEmailCloudSdk.models.MailAddress](MailAddress.md) + - [AsposeEmailCloudSdk.models.MailMessageBase](MailMessageBase.md) + - [AsposeEmailCloudSdk.models.MailServerFolder](MailServerFolder.md) + - [AsposeEmailCloudSdk.models.MapiAttachmentDto](MapiAttachmentDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarAsFileRequest](MapiCalendarAsFileRequest.md) + - [AsposeEmailCloudSdk.models.MapiCalendarAttendeesDto](MapiCalendarAttendeesDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarEventRecurrenceDto](MapiCalendarEventRecurrenceDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarExceptionInfoDto](MapiCalendarExceptionInfoDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarRecurrencePatternDto](MapiCalendarRecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarTimeZoneDto](MapiCalendarTimeZoneDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarTimeZoneInfoDto](MapiCalendarTimeZoneInfoDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarTimeZoneRuleDto](MapiCalendarTimeZoneRuleDto.md) + - [AsposeEmailCloudSdk.models.MapiContactAsFileRequest](MapiContactAsFileRequest.md) + - [AsposeEmailCloudSdk.models.MapiContactElectronicAddressDto](MapiContactElectronicAddressDto.md) + - [AsposeEmailCloudSdk.models.MapiContactElectronicAddressPropertySetDto](MapiContactElectronicAddressPropertySetDto.md) + - [AsposeEmailCloudSdk.models.MapiContactEventPropertySetDto](MapiContactEventPropertySetDto.md) + - [AsposeEmailCloudSdk.models.MapiContactNamePropertySetDto](MapiContactNamePropertySetDto.md) + - [AsposeEmailCloudSdk.models.MapiContactOtherPropertySetDto](MapiContactOtherPropertySetDto.md) + - [AsposeEmailCloudSdk.models.MapiContactPersonalInfoPropertySetDto](MapiContactPersonalInfoPropertySetDto.md) + - [AsposeEmailCloudSdk.models.MapiContactPhysicalAddressDto](MapiContactPhysicalAddressDto.md) + - [AsposeEmailCloudSdk.models.MapiContactPhysicalAddressPropertySetDto](MapiContactPhysicalAddressPropertySetDto.md) + - [AsposeEmailCloudSdk.models.MapiContactProfessionalPropertySetDto](MapiContactProfessionalPropertySetDto.md) + - [AsposeEmailCloudSdk.models.MapiContactTelephonePropertySetDto](MapiContactTelephonePropertySetDto.md) + - [AsposeEmailCloudSdk.models.MapiElectronicAddressDto](MapiElectronicAddressDto.md) + - [AsposeEmailCloudSdk.models.MapiMessageAsFileRequest](MapiMessageAsFileRequest.md) + - [AsposeEmailCloudSdk.models.MapiMessageItemBaseDto](MapiMessageItemBaseDto.md) + - [AsposeEmailCloudSdk.models.MapiPropertyDescriptor](MapiPropertyDescriptor.md) + - [AsposeEmailCloudSdk.models.MapiPropertyDto](MapiPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiRecipientDto](MapiRecipientDto.md) + - [AsposeEmailCloudSdk.models.NameValuePair](NameValuePair.md) + - [AsposeEmailCloudSdk.models.ObjectExist](ObjectExist.md) + - [AsposeEmailCloudSdk.models.PhoneNumber](PhoneNumber.md) + - [AsposeEmailCloudSdk.models.PostalAddress](PostalAddress.md) + - [AsposeEmailCloudSdk.models.RecurrencePatternDto](RecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.ReminderAttendee](ReminderAttendee.md) + - [AsposeEmailCloudSdk.models.ReminderTrigger](ReminderTrigger.md) + - [AsposeEmailCloudSdk.models.StorageExist](StorageExist.md) + - [AsposeEmailCloudSdk.models.StorageFile](StorageFile.md) + - [AsposeEmailCloudSdk.models.StorageFolderLocation](StorageFolderLocation.md) + - [AsposeEmailCloudSdk.models.StorageModelOfCalendarDto](StorageModelOfCalendarDto.md) + - [AsposeEmailCloudSdk.models.StorageModelOfContactDto](StorageModelOfContactDto.md) + - [AsposeEmailCloudSdk.models.StorageModelOfEmailClientAccount](StorageModelOfEmailClientAccount.md) + - [AsposeEmailCloudSdk.models.StorageModelOfEmailClientMultiAccount](StorageModelOfEmailClientMultiAccount.md) + - [AsposeEmailCloudSdk.models.StorageModelOfEmailDto](StorageModelOfEmailDto.md) + - [AsposeEmailCloudSdk.models.StorageModelOfMapiCalendarDto](StorageModelOfMapiCalendarDto.md) + - [AsposeEmailCloudSdk.models.StorageModelOfMapiContactDto](StorageModelOfMapiContactDto.md) + - [AsposeEmailCloudSdk.models.StorageModelOfMapiMessageDto](StorageModelOfMapiMessageDto.md) + - [AsposeEmailCloudSdk.models.Url](Url.md) + - [AsposeEmailCloudSdk.models.ValueTOfBoolean](ValueTOfBoolean.md) + - [AsposeEmailCloudSdk.models.ValueTOfString](ValueTOfString.md) + - [AsposeEmailCloudSdk.models.AiBcrImageStorageFile](AiBcrImageStorageFile.md) + - [AsposeEmailCloudSdk.models.AiNameComponentList](AiNameComponentList.md) + - [AsposeEmailCloudSdk.models.AiNameExtractedList](AiNameExtractedList.md) + - [AsposeEmailCloudSdk.models.AiNameGenderHypothesisList](AiNameGenderHypothesisList.md) + - [AsposeEmailCloudSdk.models.AiNameParsedMatchRequest](AiNameParsedMatchRequest.md) + - [AsposeEmailCloudSdk.models.AlternateView](AlternateView.md) + - [AsposeEmailCloudSdk.models.Attachment](Attachment.md) + - [AsposeEmailCloudSdk.models.CalendarSaveRequest](CalendarSaveRequest.md) + - [AsposeEmailCloudSdk.models.CalendarStorageList](CalendarStorageList.md) + - [AsposeEmailCloudSdk.models.ClientFolderCreateRequest](ClientFolderCreateRequest.md) + - [AsposeEmailCloudSdk.models.ClientFolderDeleteRequest](ClientFolderDeleteRequest.md) + - [AsposeEmailCloudSdk.models.ClientMessageAppendRequest](ClientMessageAppendRequest.md) + - [AsposeEmailCloudSdk.models.ClientMessageBaseRequest](ClientMessageBaseRequest.md) + - [AsposeEmailCloudSdk.models.ClientMessageSendRequest](ClientMessageSendRequest.md) + - [AsposeEmailCloudSdk.models.ClientThreadBaseRequest](ClientThreadBaseRequest.md) + - [AsposeEmailCloudSdk.models.ContactList](ContactList.md) + - [AsposeEmailCloudSdk.models.ContactSaveRequest](ContactSaveRequest.md) + - [AsposeEmailCloudSdk.models.ContactStorageList](ContactStorageList.md) + - [AsposeEmailCloudSdk.models.DailyRecurrencePatternDto](DailyRecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.DiscoverEmailConfigOauth](DiscoverEmailConfigOauth.md) + - [AsposeEmailCloudSdk.models.DiscoverEmailConfigPassword](DiscoverEmailConfigPassword.md) + - [AsposeEmailCloudSdk.models.EmailAccountConfigList](EmailAccountConfigList.md) + - [AsposeEmailCloudSdk.models.EmailClientAccountOauthCredentials](EmailClientAccountOauthCredentials.md) + - [AsposeEmailCloudSdk.models.EmailClientAccountPasswordCredentials](EmailClientAccountPasswordCredentials.md) + - [AsposeEmailCloudSdk.models.EmailClientAccountSaveRequest](EmailClientAccountSaveRequest.md) + - [AsposeEmailCloudSdk.models.EmailClientMultiAccountSaveRequest](EmailClientMultiAccountSaveRequest.md) + - [AsposeEmailCloudSdk.models.EmailList](EmailList.md) + - [AsposeEmailCloudSdk.models.EmailSaveRequest](EmailSaveRequest.md) + - [AsposeEmailCloudSdk.models.EmailStorageList](EmailStorageList.md) + - [AsposeEmailCloudSdk.models.EmailThreadList](EmailThreadList.md) + - [AsposeEmailCloudSdk.models.FileVersion](FileVersion.md) + - [AsposeEmailCloudSdk.models.LinkedResource](LinkedResource.md) + - [AsposeEmailCloudSdk.models.MailMessageBase64](MailMessageBase64.md) + - [AsposeEmailCloudSdk.models.MailMessageBaseList](MailMessageBaseList.md) + - [AsposeEmailCloudSdk.models.MailMessageDto](MailMessageDto.md) + - [AsposeEmailCloudSdk.models.MailMessageMapi](MailMessageMapi.md) + - [AsposeEmailCloudSdk.models.MailServerFolderList](MailServerFolderList.md) + - [AsposeEmailCloudSdk.models.MapiBinaryPropertyDto](MapiBinaryPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiBooleanPropertyDto](MapiBooleanPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarDailyRecurrencePatternDto](MapiCalendarDailyRecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarDto](MapiCalendarDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarSaveRequest](MapiCalendarSaveRequest.md) + - [AsposeEmailCloudSdk.models.MapiCalendarWeeklyRecurrencePatternDto](MapiCalendarWeeklyRecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.MapiCalendarYearlyAndMonthlyRecurrencePatternDto](MapiCalendarYearlyAndMonthlyRecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.MapiContactDto](MapiContactDto.md) + - [AsposeEmailCloudSdk.models.MapiContactPhotoDto](MapiContactPhotoDto.md) + - [AsposeEmailCloudSdk.models.MapiContactSaveRequest](MapiContactSaveRequest.md) + - [AsposeEmailCloudSdk.models.MapiDateTimePropertyDto](MapiDateTimePropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiFileAsPropertyDto](MapiFileAsPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiImportancePropertyDto](MapiImportancePropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiIntPropertyDto](MapiIntPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiKnownPropertyDescriptor](MapiKnownPropertyDescriptor.md) + - [AsposeEmailCloudSdk.models.MapiLegacyFreeBusyPropertyDto](MapiLegacyFreeBusyPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiMessageDto](MapiMessageDto.md) + - [AsposeEmailCloudSdk.models.MapiMessageSaveRequest](MapiMessageSaveRequest.md) + - [AsposeEmailCloudSdk.models.MapiMultiIntPropertyDto](MapiMultiIntPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiMultiStringPropertyDto](MapiMultiStringPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiPhysicalAddressIndexPropertyDto](MapiPhysicalAddressIndexPropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiPidPropertyDescriptor](MapiPidPropertyDescriptor.md) + - [AsposeEmailCloudSdk.models.MapiResponseTypePropertyDto](MapiResponseTypePropertyDto.md) + - [AsposeEmailCloudSdk.models.MapiStringPropertyDto](MapiStringPropertyDto.md) + - [AsposeEmailCloudSdk.models.MonthlyRecurrencePatternDto](MonthlyRecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.StorageFileLocation](StorageFileLocation.md) + - [AsposeEmailCloudSdk.models.StorageFileLocationList](StorageFileLocationList.md) + - [AsposeEmailCloudSdk.models.TaskRegeneratingPatternDto](TaskRegeneratingPatternDto.md) + - [AsposeEmailCloudSdk.models.WeeklyRecurrencePatternDto](WeeklyRecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.YearlyRecurrencePatternDto](YearlyRecurrencePatternDto.md) + - [AsposeEmailCloudSdk.models.ClientMessageDeleteRequest](ClientMessageDeleteRequest.md) + - [AsposeEmailCloudSdk.models.ClientMessageMoveRequest](ClientMessageMoveRequest.md) + - [AsposeEmailCloudSdk.models.ClientMessageSetIsReadRequest](ClientMessageSetIsReadRequest.md) + - [AsposeEmailCloudSdk.models.ClientThreadDeleteRequest](ClientThreadDeleteRequest.md) + - [AsposeEmailCloudSdk.models.ClientThreadMoveRequest](ClientThreadMoveRequest.md) + - [AsposeEmailCloudSdk.models.ClientThreadSetIsReadRequest](ClientThreadSetIsReadRequest.md) + - [AsposeEmailCloudSdk.models.MapiPidLidPropertyDescriptor](MapiPidLidPropertyDescriptor.md) + - [AsposeEmailCloudSdk.models.MapiPidNamePropertyDescriptor](MapiPidNamePropertyDescriptor.md) + - [AsposeEmailCloudSdk.models.MapiPidTagPropertyDescriptor](MapiPidTagPropertyDescriptor.md) + diff --git a/sdk/docs/MonthlyRecurrencePatternDto.md b/sdk/docs/MonthlyRecurrencePatternDto.md index 3ba0707..d25b503 100644 --- a/sdk/docs/MonthlyRecurrencePatternDto.md +++ b/sdk/docs/MonthlyRecurrencePatternDto.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes Parent class: [RecurrencePatternDto](RecurrencePatternDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/NameValuePair.md b/sdk/docs/NameValuePair.md index 2838c4a..eee0cee 100644 --- a/sdk/docs/NameValuePair.md +++ b/sdk/docs/NameValuePair.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ObjectExist.md b/sdk/docs/ObjectExist.md index ffab9cc..b9d7c55 100644 --- a/sdk/docs/ObjectExist.md +++ b/sdk/docs/ObjectExist.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/PhoneNumber.md b/sdk/docs/PhoneNumber.md index f0a961a..a98e2d5 100644 --- a/sdk/docs/PhoneNumber.md +++ b/sdk/docs/PhoneNumber.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/PostalAddress.md b/sdk/docs/PostalAddress.md index 41cb981..8f4be87 100644 --- a/sdk/docs/PostalAddress.md +++ b/sdk/docs/PostalAddress.md @@ -16,6 +16,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/README.md b/sdk/docs/README.md index f6a332d..6709a1d 100644 --- a/sdk/docs/README.md +++ b/sdk/docs/README.md @@ -1,28 +1,28 @@ -# Reference documentation for Aspose.Email Cloud API +# Reference documentation for Aspose.Email Cloud API `EmailCloud` is the main API class. It provides an access to all of Aspose.Email Cloud functions. -`AppKey` and `AppSid` credentials should be obtained from [dashboard](https://dashboard.aspose.cloud/#/) to use `EmailCloud`: +`app_key` and `app_sid` credentials should be obtained from [dashboard](https://dashboard.aspose.cloud/#/) to use `EmailCloud`: -```java -String appKey = "Your App Key"; -String appSid = "Your App SID"; +```python +app_key = 'Your App Key'; +app_sid = 'Your App SID'; -EmailCloud api = new EmailCloud(appKey, appSid); +api = EmailCloud(app_key, app_sid); ``` All Aspose.Email Cloud functions are divided into groups and represented as `EmailCloud` fields: API | Description --- | ----------- -[EmailCloud.**mapi()**](MapiGroup.md) | MAPI operations. -[EmailCloud.**client()**](ClientGroup.md) | Builtin Email client operations. -[EmailCloud.**ai()**](AiGroup.md) | AI powered operations. -[EmailCloud.**cloudStorage()**](CloudStorageGroup.md) | Cloud file storage operations. -[EmailCloud.**calendar()**](CalendarApi_list.md) | iCalendar document operations. -[EmailCloud.**contact()**](ContactApi_list.md) | Contact document operations. Supported formats: VCard, MSG, WebDav -[EmailCloud.**email()**](EmailApi_list.md) | Email document (*.eml) operations. -[EmailCloud.**disposableEmail()**](DisposableEmailApi_list.md) | Check email address is disposable operations -[EmailCloud.**emailConfig()**](EmailConfigApi_list.md) | Email server configuration discovery. +[EmailCloud.**mapi**](MapiGroup.md) | MAPI operations. +[EmailCloud.**client**](ClientGroup.md) | Builtin Email client operations. +[EmailCloud.**ai**](AiGroup.md) | AI powered operations. +[EmailCloud.**cloud_storage**](CloudStorageGroup.md) | Cloud file storage operations. +[EmailCloud.**calendar**](CalendarApi_list.md) | iCalendar document operations. +[EmailCloud.**contact**](ContactApi_list.md) | Contact document operations. Supported formats: VCard, MSG, WebDav +[EmailCloud.**email**](EmailApi_list.md) | Email document (*.eml) operations. +[EmailCloud.**disposable_email**](DisposableEmailApi_list.md) | Check email address is disposable operations +[EmailCloud.**email_config**](EmailConfigApi_list.md) | Email server configuration discovery. List of all available models is available in [Models.md](Models.md) file. \ No newline at end of file diff --git a/sdk/docs/RecurrencePatternDto.md b/sdk/docs/RecurrencePatternDto.md index 375bff2..3450928 100644 --- a/sdk/docs/RecurrencePatternDto.md +++ b/sdk/docs/RecurrencePatternDto.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ReminderAttendee.md b/sdk/docs/ReminderAttendee.md index bb72424..4986565 100644 --- a/sdk/docs/ReminderAttendee.md +++ b/sdk/docs/ReminderAttendee.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ReminderTrigger.md b/sdk/docs/ReminderTrigger.md index 9c552b5..2dfdc9c 100644 --- a/sdk/docs/ReminderTrigger.md +++ b/sdk/docs/ReminderTrigger.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageApi.md b/sdk/docs/StorageApi.md index 94e7ca7..dfeeb76 100644 --- a/sdk/docs/StorageApi.md +++ b/sdk/docs/StorageApi.md @@ -1,272 +1,110 @@ + # AsposeEmailCloudSdk.StorageApi + -# **get_disc_usage** -> get_disc_usage(self, get_disc_usage_request) - -Get disc usage - -### Return type +# get_disc_usage -[**DiscUsage**](DiscUsage.md) - -### Request Parameters ```python -__init__(self, - storage_name=storage_name) +get_disc_usage(self, request: GetDiscUsageRequest) ``` -### Usage -```python -StorageApi.get_disc_usage( - cakePrefix_get_disc_usage_request_cakeCodePostProcessor( - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_disc_usage_async** -> get_disc_usage_async(self, get_disc_usage_request) - Get disc usage -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -get_disc_usage_async(request).get() returns [**DiscUsage**](DiscUsage.md) +DiscUsage -### Request Parameters +### request Parameter ```python -__init__(self, - storage_name=storage_name) +GetDiscUsageRequest( + storage_name: str = None) ``` -### Usage -```python -StorageApi.get_disc_usage_async( - cakePrefix_get_disc_usage_request_cakeCodePostProcessor( - storage_name=storage_name)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **storage_name** | **str** | Storage name | [optional] +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **get_file_versions** -> get_file_versions(self, get_file_versions_request) - -Get file versions - -### Return type +# get_file_versions -[**FileVersions**](FileVersions.md) - -### Request Parameters ```python -__init__(self, - path, - storage_name=storage_name) +get_file_versions(self, request: GetFileVersionsRequest) ``` -### Usage -```python -StorageApi.get_file_versions( - cakePrefix_get_file_versions_request_cakeCodePostProcessor( - path, - storage_name=storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| File path e.g. '/file.ext' | - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **get_file_versions_async** -> get_file_versions_async(self, get_file_versions_request) - Get file versions -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -get_file_versions_async(request).get() returns [**FileVersions**](FileVersions.md) +FileVersions -### Request Parameters +### request Parameter ```python -__init__(self, - path, - storage_name=storage_name) +GetFileVersionsRequest( + path: str, + storage_name: str = None) ``` -### Usage -```python -StorageApi.get_file_versions_async( - cakePrefix_get_file_versions_request_cakeCodePostProcessor( - path, - storage_name=storage_name)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str**| File path e.g. '/file.ext' | - **storage_name** | **str**| Storage name | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + **path** | **str** | File path e.g. '/file.ext' | + **storage_name** | **str** | Storage name | [optional] +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + -# **object_exists** -> object_exists(self, object_exists_request) - -Check if file or folder exists - -### Return type +# object_exists -[**ObjectExist**](ObjectExist.md) - -### Request Parameters ```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) +object_exists(self, request: ObjectExistsRequest) ``` -### Usage -```python -StorageApi.object_exists( - cakePrefix_object_exists_request_cakeCodePostProcessor( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **str**| File or folder path e.g. '/file.ext' or '/folder' | - **storage_name** | **str**| Storage name | [optional] - **version_id** | **str**| File version ID | [optional] - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **object_exists_async** -> object_exists_async(self, object_exists_request) - Check if file or folder exists -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -object_exists_async(request).get() returns [**ObjectExist**](ObjectExist.md) +ObjectExist -### Request Parameters +### request Parameter ```python -__init__(self, - path, - storage_name=storage_name, - version_id=version_id) +ObjectExistsRequest( + path: str, + storage_name: str = None, + version_id: str = None) ``` -### Usage -```python -StorageApi.object_exists_async( - cakePrefix_object_exists_request_cakeCodePostProcessor( - path, - storage_name=storage_name, - version_id=version_id)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str**| File or folder path e.g. '/file.ext' or '/folder' | - **storage_name** | **str**| Storage name | [optional] - **version_id** | **str**| File version ID | [optional] + **path** | **str** | File or folder path e.g. '/file.ext' or '/folder' | + **storage_name** | **str** | Storage name | [optional] + **version_id** | **str** | File version ID | [optional] -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) + + +# exists - -# **storage_exists** -> storage_exists(self, storage_exists_request) - -Check if storage exists - -### Return type - -[**StorageExist**](StorageExist.md) - -### Request Parameters ```python -__init__(self, - storage_name) +exists(self, request: StorageExistsRequest) ``` -### Usage -```python -StorageApi.storage_exists( - cakePrefix_storage_exists_request_cakeCodePostProcessor( - storage_name)) -``` - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **storage_name** | **str**| Storage name | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - - -# **storage_exists_async** -> storage_exists_async(self, storage_exists_request) - Check if storage exists -Performs operation asynchronously. - ### Return type -Returns multiprocessing.pool.AsyncResult. -storage_exists_async(request).get() returns [**StorageExist**](StorageExist.md) +StorageExist -### Request Parameters +### request Parameter ```python -__init__(self, - storage_name) +StorageExistsRequest( + storage_name: str) ``` -### Usage -```python -StorageApi.storage_exists_async( - cakePrefix_storage_exists_request_cakeCodePostProcessor( - storage_name)) -``` - - Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage_name** | **str**| Storage name | + **storage_name** | **str** | Storage name | -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) +[[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageApi_list.md b/sdk/docs/StorageApi_list.md new file mode 100644 index 0000000..7c9d1e4 --- /dev/null +++ b/sdk/docs/StorageApi_list.md @@ -0,0 +1,14 @@ + + +## Documentation for StorageApi operations + +All URIs are relative to *https://api.aspose.cloud/v4.0* + +All methods have Async versions. These async versions are not available on .NETFramework v2.0. + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_disc_usage**](StorageApi.md#get_disc_usage)| **GET** /email/storage/disc| Get disc usage +[**get_file_versions**](StorageApi.md#get_file_versions)| **GET** /email/storage/version/{path}| Get file versions +[**object_exists**](StorageApi.md#object_exists)| **GET** /email/storage/exist/{path}| Check if file or folder exists +[**exists**](StorageApi.md#exists)| **GET** /email/storage/{storageName}/exist| Check if storage exists diff --git a/sdk/docs/StorageExist.md b/sdk/docs/StorageExist.md index f3ca6a0..6b55561 100644 --- a/sdk/docs/StorageExist.md +++ b/sdk/docs/StorageExist.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageFile.md b/sdk/docs/StorageFile.md index eeccddc..cd85f6f 100644 --- a/sdk/docs/StorageFile.md +++ b/sdk/docs/StorageFile.md @@ -10,6 +10,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageFileLocation.md b/sdk/docs/StorageFileLocation.md index 29633ef..8b4b640 100644 --- a/sdk/docs/StorageFileLocation.md +++ b/sdk/docs/StorageFileLocation.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [StorageFolderLocation](StorageFolderLocation.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageFileLocationList.md b/sdk/docs/StorageFileLocationList.md index 40f82fb..6ec1d8f 100644 --- a/sdk/docs/StorageFileLocationList.md +++ b/sdk/docs/StorageFileLocationList.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes Parent class: [ListResponseOfStorageFileLocation](ListResponseOfStorageFileLocation.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageFolderLocation.md b/sdk/docs/StorageFolderLocation.md index f601913..002cb01 100644 --- a/sdk/docs/StorageFolderLocation.md +++ b/sdk/docs/StorageFolderLocation.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageModelOfCalendarDto.md b/sdk/docs/StorageModelOfCalendarDto.md index 65fb1df..82b547b 100644 --- a/sdk/docs/StorageModelOfCalendarDto.md +++ b/sdk/docs/StorageModelOfCalendarDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageModelOfContactDto.md b/sdk/docs/StorageModelOfContactDto.md index c5418cd..31cd362 100644 --- a/sdk/docs/StorageModelOfContactDto.md +++ b/sdk/docs/StorageModelOfContactDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageModelOfEmailClientAccount.md b/sdk/docs/StorageModelOfEmailClientAccount.md index 46eeffd..e92102e 100644 --- a/sdk/docs/StorageModelOfEmailClientAccount.md +++ b/sdk/docs/StorageModelOfEmailClientAccount.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageModelOfEmailClientMultiAccount.md b/sdk/docs/StorageModelOfEmailClientMultiAccount.md index 1393c1f..d972b8a 100644 --- a/sdk/docs/StorageModelOfEmailClientMultiAccount.md +++ b/sdk/docs/StorageModelOfEmailClientMultiAccount.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageModelOfEmailDto.md b/sdk/docs/StorageModelOfEmailDto.md index b74e325..9ecce13 100644 --- a/sdk/docs/StorageModelOfEmailDto.md +++ b/sdk/docs/StorageModelOfEmailDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageModelOfMapiCalendarDto.md b/sdk/docs/StorageModelOfMapiCalendarDto.md index dfdc3d9..c8acf3f 100644 --- a/sdk/docs/StorageModelOfMapiCalendarDto.md +++ b/sdk/docs/StorageModelOfMapiCalendarDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageModelOfMapiContactDto.md b/sdk/docs/StorageModelOfMapiContactDto.md index 8db4375..1b1d6df 100644 --- a/sdk/docs/StorageModelOfMapiContactDto.md +++ b/sdk/docs/StorageModelOfMapiContactDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageModelOfMapiMessageDto.md b/sdk/docs/StorageModelOfMapiMessageDto.md index 8f1adc7..da95392 100644 --- a/sdk/docs/StorageModelOfMapiMessageDto.md +++ b/sdk/docs/StorageModelOfMapiMessageDto.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/TaskRegeneratingPatternDto.md b/sdk/docs/TaskRegeneratingPatternDto.md index f9b0bf6..349e3f4 100644 --- a/sdk/docs/TaskRegeneratingPatternDto.md +++ b/sdk/docs/TaskRegeneratingPatternDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [RecurrencePatternDto](RecurrencePatternDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/Url.md b/sdk/docs/Url.md index 93ec09c..c1f8b60 100644 --- a/sdk/docs/Url.md +++ b/sdk/docs/Url.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ValueTOfBoolean.md b/sdk/docs/ValueTOfBoolean.md index 379c179..32f991e 100644 --- a/sdk/docs/ValueTOfBoolean.md +++ b/sdk/docs/ValueTOfBoolean.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/ValueTOfString.md b/sdk/docs/ValueTOfString.md index ce71683..51c36d5 100644 --- a/sdk/docs/ValueTOfString.md +++ b/sdk/docs/ValueTOfString.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/WeeklyRecurrencePatternDto.md b/sdk/docs/WeeklyRecurrencePatternDto.md index afbeb58..4d9e1b6 100644 --- a/sdk/docs/WeeklyRecurrencePatternDto.md +++ b/sdk/docs/WeeklyRecurrencePatternDto.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes Parent class: [RecurrencePatternDto](RecurrencePatternDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/YearlyRecurrencePatternDto.md b/sdk/docs/YearlyRecurrencePatternDto.md index bdc0c2e..6a1832d 100644 --- a/sdk/docs/YearlyRecurrencePatternDto.md +++ b/sdk/docs/YearlyRecurrencePatternDto.md @@ -9,6 +9,6 @@ Name | Type | Description | Notes Parent class: [RecurrencePatternDto](RecurrencePatternDto.md) -[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md) +[[Back to Model list]](Models.md) [[Back to README]](README.md) From ad1570c6637d744287811d4494c53fc417bcef60 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Tue, 4 Aug 2020 18:56:19 +0400 Subject: [PATCH 10/20] Code example corrected --- sdk/docs/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/docs/README.md b/sdk/docs/README.md index 6709a1d..d62a43f 100644 --- a/sdk/docs/README.md +++ b/sdk/docs/README.md @@ -4,10 +4,10 @@ `app_key` and `app_sid` credentials should be obtained from [dashboard](https://dashboard.aspose.cloud/#/) to use `EmailCloud`: ```python -app_key = 'Your App Key'; -app_sid = 'Your App SID'; +app_key = 'Your App Key' +app_sid = 'Your App SID' -api = EmailCloud(app_key, app_sid); +api = EmailCloud(app_key, app_sid) ``` All Aspose.Email Cloud functions are divided into groups and represented as `EmailCloud` fields: From 10c90cd0b2d3a729002f353c171df8456d6e31dc Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Tue, 4 Aug 2020 19:00:54 +0400 Subject: [PATCH 11/20] Code examples corrected --- sdk/docs/AiBcrApi.md | 8 ++-- sdk/docs/AiNameApi.md | 88 +++++++++++++++++----------------- sdk/docs/CalendarApi.md | 38 +++++++-------- sdk/docs/ClientAccountApi.md | 12 ++--- sdk/docs/ClientFolderApi.md | 8 ++-- sdk/docs/ClientMessageApi.md | 66 ++++++++++++------------- sdk/docs/ClientThreadApi.md | 22 ++++----- sdk/docs/ContactApi.md | 38 +++++++-------- sdk/docs/DisposableEmailApi.md | 2 +- sdk/docs/EmailApi.md | 34 ++++++------- sdk/docs/EmailConfigApi.md | 4 +- sdk/docs/FileApi.md | 38 +++++++-------- sdk/docs/FolderApi.md | 30 ++++++------ sdk/docs/MapiCalendarApi.md | 8 ++-- sdk/docs/MapiContactApi.md | 12 ++--- sdk/docs/MapiMessageApi.md | 12 ++--- sdk/docs/StorageApi.md | 14 +++--- 17 files changed, 217 insertions(+), 217 deletions(-) diff --git a/sdk/docs/AiBcrApi.md b/sdk/docs/AiBcrApi.md index 14e21ba..3007a2e 100644 --- a/sdk/docs/AiBcrApi.md +++ b/sdk/docs/AiBcrApi.md @@ -18,10 +18,10 @@ ContactList ### request Parameter ```python AiBcrParseRequest( - file: str, - countries: str = None, - languages: str = None, - is_single: bool = None) + file, + countries, + languages, + is_single) ``` Name | Type | Description | Notes diff --git a/sdk/docs/AiNameApi.md b/sdk/docs/AiNameApi.md index 2981374..30f6e76 100644 --- a/sdk/docs/AiNameApi.md +++ b/sdk/docs/AiNameApi.md @@ -18,12 +18,12 @@ AiNameWeightedVariants ### request Parameter ```python AiNameCompleteRequest( - name: str, - language: str = None, - location: str = None, - encoding: str = None, - script: str = None, - style: str = None) + name, + language, + location, + encoding, + script, + style) ``` Name | Type | Description | Notes @@ -53,12 +53,12 @@ AiNameWeightedVariants ### request Parameter ```python AiNameExpandRequest( - name: str, - language: str = None, - location: str = None, - encoding: str = None, - script: str = None, - style: str = None) + name, + language, + location, + encoding, + script, + style) ``` Name | Type | Description | Notes @@ -107,13 +107,13 @@ AiNameFormatted ### request Parameter ```python AiNameFormatRequest( - name: str, - language: str = None, - location: str = None, - encoding: str = None, - script: str = None, - format: str = None, - style: str = None) + name, + language, + location, + encoding, + script, + format, + style) ``` Name | Type | Description | Notes @@ -163,12 +163,12 @@ AiNameGenderHypothesisList ### request Parameter ```python AiNameGenderizeRequest( - name: str, - language: str = None, - location: str = None, - encoding: str = None, - script: str = None, - style: str = None) + name, + language, + location, + encoding, + script, + style) ``` Name | Type | Description | Notes @@ -217,13 +217,13 @@ AiNameMatchResult ### request Parameter ```python AiNameMatchRequest( - name: str, - other_name: str, - language: str = None, - location: str = None, - encoding: str = None, - script: str = None, - style: str = None) + name, + other_name, + language, + location, + encoding, + script, + style) ``` Name | Type | Description | Notes @@ -273,12 +273,12 @@ AiNameComponentList ### request Parameter ```python AiNameParseRequest( - name: str, - language: str = None, - location: str = None, - encoding: str = None, - script: str = None, - style: str = None) + name, + language, + location, + encoding, + script, + style) ``` Name | Type | Description | Notes @@ -308,12 +308,12 @@ AiNameExtractedList ### request Parameter ```python AiNameParseEmailAddressRequest( - email_address: str, - language: str = None, - location: str = None, - encoding: str = None, - script: str = None, - style: str = None) + email_address, + language, + location, + encoding, + script, + style) ``` Name | Type | Description | Notes diff --git a/sdk/docs/CalendarApi.md b/sdk/docs/CalendarApi.md index 8a4d12a..e6cd1e9 100644 --- a/sdk/docs/CalendarApi.md +++ b/sdk/docs/CalendarApi.md @@ -75,8 +75,8 @@ str ### request Parameter ```python CalendarConvertRequest( - format: str, - file: str) + format, + file) ``` Name | Type | Description | Notes @@ -102,7 +102,7 @@ CalendarDto ### request Parameter ```python CalendarFromFileRequest( - file: str) + file) ``` Name | Type | Description | Notes @@ -127,9 +127,9 @@ CalendarDto ### request Parameter ```python CalendarGetRequest( - file_name: str, - folder: str = None, - storage: str = None) + file_name, + folder, + storage) ``` Name | Type | Description | Notes @@ -156,11 +156,11 @@ AlternateView ### request Parameter ```python CalendarGetAsAlternateRequest( - file_name: str, - calendar_action: str, - sequence_id: str = None, - folder: str = None, - storage: str = None) + file_name, + calendar_action, + sequence_id, + folder, + storage) ``` Name | Type | Description | Notes @@ -189,10 +189,10 @@ str ### request Parameter ```python CalendarGetAsFileRequest( - file_name: str, - format: str, - storage: str = None, - folder: str = None) + file_name, + format, + storage, + folder) ``` Name | Type | Description | Notes @@ -220,10 +220,10 @@ CalendarStorageList ### request Parameter ```python CalendarGetListRequest( - folder: str, - items_per_page: int = None, - page_number: int = None, - storage: str = None) + folder, + items_per_page, + page_number, + storage) ``` Name | Type | Description | Notes diff --git a/sdk/docs/ClientAccountApi.md b/sdk/docs/ClientAccountApi.md index 5f456f9..315798a 100644 --- a/sdk/docs/ClientAccountApi.md +++ b/sdk/docs/ClientAccountApi.md @@ -18,9 +18,9 @@ EmailClientAccount ### request Parameter ```python ClientAccountGetRequest( - file_name: str, - folder: str = None, - storage: str = None) + file_name, + folder, + storage) ``` Name | Type | Description | Notes @@ -47,9 +47,9 @@ EmailClientMultiAccount ### request Parameter ```python ClientAccountGetMultiRequest( - file_name: str, - folder: str = None, - storage: str = None) + file_name, + folder, + storage) ``` Name | Type | Description | Notes diff --git a/sdk/docs/ClientFolderApi.md b/sdk/docs/ClientFolderApi.md index 5ef7062..c0f3049 100644 --- a/sdk/docs/ClientFolderApi.md +++ b/sdk/docs/ClientFolderApi.md @@ -56,10 +56,10 @@ MailServerFolderList ### request Parameter ```python ClientFolderGetListRequest( - account: str, - storage: str = None, - account_storage_folder: str = None, - parent_folder: str = None) + account, + storage, + account_storage_folder, + parent_folder) ``` Name | Type | Description | Notes diff --git a/sdk/docs/ClientMessageApi.md b/sdk/docs/ClientMessageApi.md index 0186726..d4f99e4 100644 --- a/sdk/docs/ClientMessageApi.md +++ b/sdk/docs/ClientMessageApi.md @@ -37,13 +37,13 @@ ValueTOfString ### request Parameter ```python ClientMessageAppendFileRequest( - account: str, - file: str, - storage: str = None, - account_storage_folder: str = None, - format: str = None, - folder: str = None, - mark_as_sent: bool = None) + account, + file, + storage, + account_storage_folder, + format, + folder, + mark_as_sent) ``` Name | Type | Description | Notes @@ -93,13 +93,13 @@ MailMessageBase ### request Parameter ```python ClientMessageFetchRequest( - message_id: str, - account: str, - folder: str = None, - storage: str = None, - account_storage_folder: str = None, - type: str = None, - format: str = None) + message_id, + account, + folder, + storage, + account_storage_folder, + type, + format) ``` Name | Type | Description | Notes @@ -130,12 +130,12 @@ str ### request Parameter ```python ClientMessageFetchFileRequest( - message_id: str, - account: str, - folder: str = None, - storage: str = None, - account_storage_folder: str = None, - format: str = None) + message_id, + account, + folder, + storage, + account_storage_folder, + format) ``` Name | Type | Description | Notes @@ -167,14 +167,14 @@ MailMessageBaseList ### request Parameter ```python ClientMessageListRequest( - folder: str, - account: str, - query_string: str = None, - storage: str = None, - account_storage_folder: str = None, - recursive: bool = None, - type: str = None, - format: str = None) + folder, + account, + query_string, + storage, + account_storage_folder, + recursive, + type, + format) ``` Name | Type | Description | Notes @@ -244,11 +244,11 @@ None ### request Parameter ```python ClientMessageSendFileRequest( - account: str, - file: str, - storage: str = None, - account_storage_folder: str = None, - format: str = None) + account, + file, + storage, + account_storage_folder, + format) ``` Name | Type | Description | Notes diff --git a/sdk/docs/ClientThreadApi.md b/sdk/docs/ClientThreadApi.md index 89080a5..548b54d 100644 --- a/sdk/docs/ClientThreadApi.md +++ b/sdk/docs/ClientThreadApi.md @@ -37,12 +37,12 @@ EmailThreadList ### request Parameter ```python ClientThreadGetListRequest( - folder: str, - account: str, - storage: str = None, - account_storage_folder: str = None, - update_folder_cache: bool = None, - messages_cache_limit: int = None) + folder, + account, + storage, + account_storage_folder, + update_folder_cache, + messages_cache_limit) ``` Name | Type | Description | Notes @@ -72,11 +72,11 @@ EmailList ### request Parameter ```python ClientThreadGetMessagesRequest( - thread_id: str, - account: str, - folder: str = None, - storage: str = None, - account_storage_folder: str = None) + thread_id, + account, + folder, + storage, + account_storage_folder) ``` Name | Type | Description | Notes diff --git a/sdk/docs/ContactApi.md b/sdk/docs/ContactApi.md index a6d4a68..3a20693 100644 --- a/sdk/docs/ContactApi.md +++ b/sdk/docs/ContactApi.md @@ -56,9 +56,9 @@ str ### request Parameter ```python ContactConvertRequest( - to_format: str, - from_format: str, - file: str) + to_format, + from_format, + file) ``` Name | Type | Description | Notes @@ -85,8 +85,8 @@ ContactDto ### request Parameter ```python ContactFromFileRequest( - format: str, - file: str) + format, + file) ``` Name | Type | Description | Notes @@ -112,10 +112,10 @@ ContactDto ### request Parameter ```python ContactGetRequest( - format: str, - file_name: str, - folder: str = None, - storage: str = None) + format, + file_name, + folder, + storage) ``` Name | Type | Description | Notes @@ -143,11 +143,11 @@ str ### request Parameter ```python ContactGetAsFileRequest( - file_name: str, - to_format: str, - from_format: str, - storage: str = None, - folder: str = None) + file_name, + to_format, + from_format, + storage, + folder) ``` Name | Type | Description | Notes @@ -176,11 +176,11 @@ ContactStorageList ### request Parameter ```python ContactGetListRequest( - format: str, - folder: str = None, - storage: str = None, - items_per_page: int = None, - page_number: int = None) + format, + folder, + storage, + items_per_page, + page_number) ``` Name | Type | Description | Notes diff --git a/sdk/docs/DisposableEmailApi.md b/sdk/docs/DisposableEmailApi.md index db2698f..7c85145 100644 --- a/sdk/docs/DisposableEmailApi.md +++ b/sdk/docs/DisposableEmailApi.md @@ -18,7 +18,7 @@ ValueTOfBoolean ### request Parameter ```python DisposableEmailIsDisposableRequest( - address: str) + address) ``` Name | Type | Description | Notes diff --git a/sdk/docs/EmailApi.md b/sdk/docs/EmailApi.md index ee2244e..3364506 100644 --- a/sdk/docs/EmailApi.md +++ b/sdk/docs/EmailApi.md @@ -56,8 +56,8 @@ str ### request Parameter ```python EmailConvertRequest( - format: str, - file: str) + format, + file) ``` Name | Type | Description | Notes @@ -83,8 +83,8 @@ EmailDto ### request Parameter ```python EmailFromFileRequest( - format: str, - file: str) + format, + file) ``` Name | Type | Description | Notes @@ -110,10 +110,10 @@ EmailDto ### request Parameter ```python EmailGetRequest( - format: str, - file_name: str, - folder: str = None, - storage: str = None) + format, + file_name, + folder, + storage) ``` Name | Type | Description | Notes @@ -141,10 +141,10 @@ str ### request Parameter ```python EmailGetAsFileRequest( - file_name: str, - format: str, - storage: str = None, - folder: str = None) + file_name, + format, + storage, + folder) ``` Name | Type | Description | Notes @@ -172,11 +172,11 @@ EmailStorageList ### request Parameter ```python EmailGetListRequest( - format: str, - folder: str = None, - storage: str = None, - items_per_page: int = None, - page_number: int = None) + format, + folder, + storage, + items_per_page, + page_number) ``` Name | Type | Description | Notes diff --git a/sdk/docs/EmailConfigApi.md b/sdk/docs/EmailConfigApi.md index 8079ae6..242c00d 100644 --- a/sdk/docs/EmailConfigApi.md +++ b/sdk/docs/EmailConfigApi.md @@ -18,8 +18,8 @@ EmailAccountConfigList ### request Parameter ```python EmailConfigDiscoverRequest( - address: str, - fast_processing: bool = None) + address, + fast_processing) ``` Name | Type | Description | Notes diff --git a/sdk/docs/FileApi.md b/sdk/docs/FileApi.md index 03c203d..01cd7a1 100644 --- a/sdk/docs/FileApi.md +++ b/sdk/docs/FileApi.md @@ -18,11 +18,11 @@ None ### request Parameter ```python CopyFileRequest( - src_path: str, - dest_path: str, - src_storage_name: str = None, - dest_storage_name: str = None, - version_id: str = None) + src_path, + dest_path, + src_storage_name, + dest_storage_name, + version_id) ``` Name | Type | Description | Notes @@ -51,9 +51,9 @@ None ### request Parameter ```python DeleteFileRequest( - path: str, - storage_name: str = None, - version_id: str = None) + path, + storage_name, + version_id) ``` Name | Type | Description | Notes @@ -80,9 +80,9 @@ str ### request Parameter ```python DownloadFileRequest( - path: str, - storage_name: str = None, - version_id: str = None) + path, + storage_name, + version_id) ``` Name | Type | Description | Notes @@ -109,11 +109,11 @@ None ### request Parameter ```python MoveFileRequest( - src_path: str, - dest_path: str, - src_storage_name: str = None, - dest_storage_name: str = None, - version_id: str = None) + src_path, + dest_path, + src_storage_name, + dest_storage_name, + version_id) ``` Name | Type | Description | Notes @@ -142,9 +142,9 @@ FilesUploadResult ### request Parameter ```python UploadFileRequest( - path: str, - file: str, - storage_name: str = None) + path, + file, + storage_name) ``` Name | Type | Description | Notes diff --git a/sdk/docs/FolderApi.md b/sdk/docs/FolderApi.md index 70e0182..db44f22 100644 --- a/sdk/docs/FolderApi.md +++ b/sdk/docs/FolderApi.md @@ -18,10 +18,10 @@ None ### request Parameter ```python CopyFolderRequest( - src_path: str, - dest_path: str, - src_storage_name: str = None, - dest_storage_name: str = None) + src_path, + dest_path, + src_storage_name, + dest_storage_name) ``` Name | Type | Description | Notes @@ -49,8 +49,8 @@ None ### request Parameter ```python CreateFolderRequest( - path: str, - storage_name: str = None) + path, + storage_name) ``` Name | Type | Description | Notes @@ -76,9 +76,9 @@ None ### request Parameter ```python DeleteFolderRequest( - path: str, - storage_name: str = None, - recursive: bool = None) + path, + storage_name, + recursive) ``` Name | Type | Description | Notes @@ -105,8 +105,8 @@ FilesList ### request Parameter ```python GetFilesListRequest( - path: str, - storage_name: str = None) + path, + storage_name) ``` Name | Type | Description | Notes @@ -132,10 +132,10 @@ None ### request Parameter ```python MoveFolderRequest( - src_path: str, - dest_path: str, - src_storage_name: str = None, - dest_storage_name: str = None) + src_path, + dest_path, + src_storage_name, + dest_storage_name) ``` Name | Type | Description | Notes diff --git a/sdk/docs/MapiCalendarApi.md b/sdk/docs/MapiCalendarApi.md index 8775de3..3861588 100644 --- a/sdk/docs/MapiCalendarApi.md +++ b/sdk/docs/MapiCalendarApi.md @@ -56,7 +56,7 @@ MapiCalendarDto ### request Parameter ```python MapiCalendarFromFileRequest( - file: str) + file) ``` Name | Type | Description | Notes @@ -81,9 +81,9 @@ MapiCalendarDto ### request Parameter ```python MapiCalendarGetRequest( - file_name: str, - folder: str = None, - storage: str = None) + file_name, + folder, + storage) ``` Name | Type | Description | Notes diff --git a/sdk/docs/MapiContactApi.md b/sdk/docs/MapiContactApi.md index 421bb34..84d4352 100644 --- a/sdk/docs/MapiContactApi.md +++ b/sdk/docs/MapiContactApi.md @@ -56,8 +56,8 @@ MapiContactDto ### request Parameter ```python MapiContactFromFileRequest( - format: str, - file: str) + format, + file) ``` Name | Type | Description | Notes @@ -83,10 +83,10 @@ MapiContactDto ### request Parameter ```python MapiContactGetRequest( - format: str, - file_name: str, - folder: str = None, - storage: str = None) + format, + file_name, + folder, + storage) ``` Name | Type | Description | Notes diff --git a/sdk/docs/MapiMessageApi.md b/sdk/docs/MapiMessageApi.md index f93da78..a97f617 100644 --- a/sdk/docs/MapiMessageApi.md +++ b/sdk/docs/MapiMessageApi.md @@ -56,8 +56,8 @@ MapiMessageDto ### request Parameter ```python MapiMessageFromFileRequest( - format: str, - file: str) + format, + file) ``` Name | Type | Description | Notes @@ -83,10 +83,10 @@ MapiMessageDto ### request Parameter ```python MapiMessageGetRequest( - format: str, - file_name: str, - folder: str = None, - storage: str = None) + format, + file_name, + folder, + storage) ``` Name | Type | Description | Notes diff --git a/sdk/docs/StorageApi.md b/sdk/docs/StorageApi.md index dfeeb76..0ceb580 100644 --- a/sdk/docs/StorageApi.md +++ b/sdk/docs/StorageApi.md @@ -18,7 +18,7 @@ DiscUsage ### request Parameter ```python GetDiscUsageRequest( - storage_name: str = None) + storage_name) ``` Name | Type | Description | Notes @@ -43,8 +43,8 @@ FileVersions ### request Parameter ```python GetFileVersionsRequest( - path: str, - storage_name: str = None) + path, + storage_name) ``` Name | Type | Description | Notes @@ -70,9 +70,9 @@ ObjectExist ### request Parameter ```python ObjectExistsRequest( - path: str, - storage_name: str = None, - version_id: str = None) + path, + storage_name, + version_id) ``` Name | Type | Description | Notes @@ -99,7 +99,7 @@ StorageExist ### request Parameter ```python StorageExistsRequest( - storage_name: str) + storage_name) ``` Name | Type | Description | Notes From 433fc8775de41d3cbc3b714c6b477b2c60eebfea Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Tue, 4 Aug 2020 19:07:14 +0400 Subject: [PATCH 12/20] Deserializer corrected --- sdk/AsposeEmailCloudSdk/rest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/AsposeEmailCloudSdk/rest.py b/sdk/AsposeEmailCloudSdk/rest.py index 848dd9e..9d25ae4 100644 --- a/sdk/AsposeEmailCloudSdk/rest.py +++ b/sdk/AsposeEmailCloudSdk/rest.py @@ -659,6 +659,7 @@ def __deserialize_model(data, klass): if klass.swagger_types is not None: for attr, attr_type in six.iteritems(klass.swagger_types): if (data is not None and + not attr == 'discriminator' and klass.attribute_map[attr][0].lower() + klass.attribute_map[attr][1:] in data and isinstance(data, (list, dict))): From 747c9801906c27b1d42f92d54992d4557aaf673e Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Tue, 4 Aug 2020 19:10:52 +0400 Subject: [PATCH 13/20] Deserializer corrected --- sdk/AsposeEmailCloudSdk/rest.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/rest.py b/sdk/AsposeEmailCloudSdk/rest.py index 9d25ae4..1c5cc7b 100644 --- a/sdk/AsposeEmailCloudSdk/rest.py +++ b/sdk/AsposeEmailCloudSdk/rest.py @@ -646,9 +646,7 @@ def __deserialize_model(data, klass): return data #try get derived class by type field - type_attribute = 'type' - if (not hasattr(klass, type_attribute)): - type_attribute = 'discriminator' + type_attribute = 'discriminator' if (hasattr(klass, type_attribute) and type_attribute in data): type_name = data[type_attribute] sub_klass = getattr(AsposeEmailCloudSdk.models, type_name, None) @@ -659,7 +657,7 @@ def __deserialize_model(data, klass): if klass.swagger_types is not None: for attr, attr_type in six.iteritems(klass.swagger_types): if (data is not None and - not attr == 'discriminator' and + not attr == type_attribute and klass.attribute_map[attr][0].lower() + klass.attribute_map[attr][1:] in data and isinstance(data, (list, dict))): From 0cf8e86ba3fe60aeb27b975528199a592b70c6c8 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Tue, 4 Aug 2020 19:51:30 +0400 Subject: [PATCH 14/20] Some models renamed --- sdk/AsposeEmailCloudSdk/__init__.py | 10 ++++---- sdk/AsposeEmailCloudSdk/api/ai_name_api.py | 4 ++-- .../api/client_account_api.py | 8 +++---- .../api/email_config_api.py | 8 +++---- sdk/AsposeEmailCloudSdk/models/__init__.py | 10 ++++---- ...est.py => ai_name_match_parsed_request.py} | 12 +++++----- ...y => client_account_save_multi_request.py} | 8 +++---- ...uest.py => client_account_save_request.py} | 8 +++---- ...=> email_config_discover_oauth_request.py} | 24 +++++++++---------- ...email_config_discover_password_request.py} | 12 +++++----- sdk/docs/AiNameApi.md | 4 ++-- ...Request.md => AiNameMatchParsedRequest.md} | 2 +- sdk/docs/ClientAccountApi.md | 8 +++---- ...st.md => ClientAccountSaveMultiRequest.md} | 2 +- ...Request.md => ClientAccountSaveRequest.md} | 2 +- sdk/docs/EmailConfigApi.md | 8 +++---- ....md => EmailConfigDiscoverOauthRequest.md} | 2 +- ... => EmailConfigDiscoverPasswordRequest.md} | 2 +- sdk/docs/Models.md | 10 ++++---- tests/tests/other_test.py | 4 ++-- 20 files changed, 74 insertions(+), 74 deletions(-) rename sdk/AsposeEmailCloudSdk/models/{ai_name_parsed_match_request.py => ai_name_match_parsed_request.py} (95%) rename sdk/AsposeEmailCloudSdk/models/{email_client_multi_account_save_request.py => client_account_save_multi_request.py} (93%) rename sdk/AsposeEmailCloudSdk/models/{email_client_account_save_request.py => client_account_save_request.py} (93%) rename sdk/AsposeEmailCloudSdk/models/{discover_email_config_oauth.py => email_config_discover_oauth_request.py} (89%) rename sdk/AsposeEmailCloudSdk/models/{discover_email_config_password.py => email_config_discover_password_request.py} (92%) rename sdk/docs/{AiNameParsedMatchRequest.md => AiNameMatchParsedRequest.md} (86%) rename sdk/docs/{EmailClientMultiAccountSaveRequest.md => ClientAccountSaveMultiRequest.md} (81%) rename sdk/docs/{EmailClientAccountSaveRequest.md => ClientAccountSaveRequest.md} (81%) rename sdk/docs/{DiscoverEmailConfigOauth.md => EmailConfigDiscoverOauthRequest.md} (90%) rename sdk/docs/{DiscoverEmailConfigPassword.md => EmailConfigDiscoverPasswordRequest.md} (83%) diff --git a/sdk/AsposeEmailCloudSdk/__init__.py b/sdk/AsposeEmailCloudSdk/__init__.py index 321ab53..7217a7d 100644 --- a/sdk/AsposeEmailCloudSdk/__init__.py +++ b/sdk/AsposeEmailCloudSdk/__init__.py @@ -166,11 +166,13 @@ from AsposeEmailCloudSdk.models.ai_name_component_list import AiNameComponentList from AsposeEmailCloudSdk.models.ai_name_extracted_list import AiNameExtractedList from AsposeEmailCloudSdk.models.ai_name_gender_hypothesis_list import AiNameGenderHypothesisList -from AsposeEmailCloudSdk.models.ai_name_parsed_match_request import AiNameParsedMatchRequest +from AsposeEmailCloudSdk.models.ai_name_match_parsed_request import AiNameMatchParsedRequest from AsposeEmailCloudSdk.models.alternate_view import AlternateView from AsposeEmailCloudSdk.models.attachment import Attachment from AsposeEmailCloudSdk.models.calendar_save_request import CalendarSaveRequest from AsposeEmailCloudSdk.models.calendar_storage_list import CalendarStorageList +from AsposeEmailCloudSdk.models.client_account_save_multi_request import ClientAccountSaveMultiRequest +from AsposeEmailCloudSdk.models.client_account_save_request import ClientAccountSaveRequest from AsposeEmailCloudSdk.models.client_folder_create_request import ClientFolderCreateRequest from AsposeEmailCloudSdk.models.client_folder_delete_request import ClientFolderDeleteRequest from AsposeEmailCloudSdk.models.client_message_append_request import ClientMessageAppendRequest @@ -181,13 +183,11 @@ from AsposeEmailCloudSdk.models.contact_save_request import ContactSaveRequest from AsposeEmailCloudSdk.models.contact_storage_list import ContactStorageList from AsposeEmailCloudSdk.models.daily_recurrence_pattern_dto import DailyRecurrencePatternDto -from AsposeEmailCloudSdk.models.discover_email_config_oauth import DiscoverEmailConfigOauth -from AsposeEmailCloudSdk.models.discover_email_config_password import DiscoverEmailConfigPassword from AsposeEmailCloudSdk.models.email_account_config_list import EmailAccountConfigList from AsposeEmailCloudSdk.models.email_client_account_oauth_credentials import EmailClientAccountOauthCredentials from AsposeEmailCloudSdk.models.email_client_account_password_credentials import EmailClientAccountPasswordCredentials -from AsposeEmailCloudSdk.models.email_client_account_save_request import EmailClientAccountSaveRequest -from AsposeEmailCloudSdk.models.email_client_multi_account_save_request import EmailClientMultiAccountSaveRequest +from AsposeEmailCloudSdk.models.email_config_discover_oauth_request import EmailConfigDiscoverOauthRequest +from AsposeEmailCloudSdk.models.email_config_discover_password_request import EmailConfigDiscoverPasswordRequest from AsposeEmailCloudSdk.models.email_list import EmailList from AsposeEmailCloudSdk.models.email_save_request import EmailSaveRequest from AsposeEmailCloudSdk.models.email_storage_list import EmailStorageList diff --git a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py index 420cad9..9603d53 100644 --- a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py +++ b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py @@ -512,11 +512,11 @@ def match(self, request: AiNameMatchRequest) -> AiNameMatchResult: return self._make_request(http_request_object, 'GET', 'AiNameMatchResult') - def match_parsed(self, request: AiNameParsedMatchRequest) -> AiNameMatchResult: + def match_parsed(self, request: AiNameMatchParsedRequest) -> AiNameMatchResult: """Compare people's parsed names and attributes. Uses options for comparing instructions. :param request: Parsed names to match. - :type request: AiNameParsedMatchRequest + :type request: AiNameMatchParsedRequest :return: AiNameMatchResult """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/client_account_api.py b/sdk/AsposeEmailCloudSdk/api/client_account_api.py index 7cc3174..2601be4 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_account_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_account_api.py @@ -152,11 +152,11 @@ def get_multi(self, request: ClientAccountGetMultiRequest) -> EmailClientMultiAc return self._make_request(http_request_object, 'GET', 'EmailClientMultiAccount') - def save(self, request: EmailClientAccountSaveRequest): + def save(self, request: ClientAccountSaveRequest): """Create/update email client account file (*.account) with credentials :param request: Email account information - :type request: EmailClientAccountSaveRequest + :type request: ClientAccountSaveRequest :return: None """ # verify the required parameter 'request' is set @@ -181,11 +181,11 @@ def save(self, request: EmailClientAccountSaveRequest): return self._make_request(http_request_object, 'PUT', None) - def save_multi(self, request: EmailClientMultiAccountSaveRequest): + def save_multi(self, request: ClientAccountSaveMultiRequest): """Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". :param request: Email accounts information. - :type request: EmailClientMultiAccountSaveRequest + :type request: ClientAccountSaveMultiRequest :return: None """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/api/email_config_api.py b/sdk/AsposeEmailCloudSdk/api/email_config_api.py index 9e80380..c3769a3 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_config_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_config_api.py @@ -90,11 +90,11 @@ def discover(self, request: EmailConfigDiscoverRequest) -> EmailAccountConfigLis return self._make_request(http_request_object, 'GET', 'EmailAccountConfigList') - def discover_oauth(self, request: DiscoverEmailConfigOauth) -> EmailAccountConfigList: + def discover_oauth(self, request: EmailConfigDiscoverOauthRequest) -> EmailAccountConfigList: """Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. :param request: Discover email configuration request. - :type request: DiscoverEmailConfigOauth + :type request: EmailConfigDiscoverOauthRequest :return: EmailAccountConfigList """ # verify the required parameter 'request' is set @@ -119,11 +119,11 @@ def discover_oauth(self, request: DiscoverEmailConfigOauth) -> EmailAccountConfi return self._make_request(http_request_object, 'PUT', 'EmailAccountConfigList') - def discover_password(self, request: DiscoverEmailConfigPassword) -> EmailAccountConfigList: + def discover_password(self, request: EmailConfigDiscoverPasswordRequest) -> EmailAccountConfigList: """Discover email accounts by email address. Validates discovered accounts using login and password. :param request: Discover email configuration request. - :type request: DiscoverEmailConfigPassword + :type request: EmailConfigDiscoverPasswordRequest :return: EmailAccountConfigList """ # verify the required parameter 'request' is set diff --git a/sdk/AsposeEmailCloudSdk/models/__init__.py b/sdk/AsposeEmailCloudSdk/models/__init__.py index 4204bce..8f6812c 100644 --- a/sdk/AsposeEmailCloudSdk/models/__init__.py +++ b/sdk/AsposeEmailCloudSdk/models/__init__.py @@ -144,11 +144,13 @@ from AsposeEmailCloudSdk.models.ai_name_component_list import AiNameComponentList from AsposeEmailCloudSdk.models.ai_name_extracted_list import AiNameExtractedList from AsposeEmailCloudSdk.models.ai_name_gender_hypothesis_list import AiNameGenderHypothesisList -from AsposeEmailCloudSdk.models.ai_name_parsed_match_request import AiNameParsedMatchRequest +from AsposeEmailCloudSdk.models.ai_name_match_parsed_request import AiNameMatchParsedRequest from AsposeEmailCloudSdk.models.alternate_view import AlternateView from AsposeEmailCloudSdk.models.attachment import Attachment from AsposeEmailCloudSdk.models.calendar_save_request import CalendarSaveRequest from AsposeEmailCloudSdk.models.calendar_storage_list import CalendarStorageList +from AsposeEmailCloudSdk.models.client_account_save_multi_request import ClientAccountSaveMultiRequest +from AsposeEmailCloudSdk.models.client_account_save_request import ClientAccountSaveRequest from AsposeEmailCloudSdk.models.client_folder_create_request import ClientFolderCreateRequest from AsposeEmailCloudSdk.models.client_folder_delete_request import ClientFolderDeleteRequest from AsposeEmailCloudSdk.models.client_message_append_request import ClientMessageAppendRequest @@ -159,13 +161,11 @@ from AsposeEmailCloudSdk.models.contact_save_request import ContactSaveRequest from AsposeEmailCloudSdk.models.contact_storage_list import ContactStorageList from AsposeEmailCloudSdk.models.daily_recurrence_pattern_dto import DailyRecurrencePatternDto -from AsposeEmailCloudSdk.models.discover_email_config_oauth import DiscoverEmailConfigOauth -from AsposeEmailCloudSdk.models.discover_email_config_password import DiscoverEmailConfigPassword from AsposeEmailCloudSdk.models.email_account_config_list import EmailAccountConfigList from AsposeEmailCloudSdk.models.email_client_account_oauth_credentials import EmailClientAccountOauthCredentials from AsposeEmailCloudSdk.models.email_client_account_password_credentials import EmailClientAccountPasswordCredentials -from AsposeEmailCloudSdk.models.email_client_account_save_request import EmailClientAccountSaveRequest -from AsposeEmailCloudSdk.models.email_client_multi_account_save_request import EmailClientMultiAccountSaveRequest +from AsposeEmailCloudSdk.models.email_config_discover_oauth_request import EmailConfigDiscoverOauthRequest +from AsposeEmailCloudSdk.models.email_config_discover_password_request import EmailConfigDiscoverPasswordRequest from AsposeEmailCloudSdk.models.email_list import EmailList from AsposeEmailCloudSdk.models.email_save_request import EmailSaveRequest from AsposeEmailCloudSdk.models.email_storage_list import EmailStorageList diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_match_parsed_request.py similarity index 95% rename from sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py rename to sdk/AsposeEmailCloudSdk/models/ai_name_match_parsed_request.py index 5834000..ada6984 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parsed_match_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_match_parsed_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -35,7 +35,7 @@ from AsposeEmailCloudSdk.models.ai_name_parsed_request import AiNameParsedRequest -class AiNameParsedMatchRequest(AiNameParsedRequest): +class AiNameMatchParsedRequest(AiNameParsedRequest): """Two parsed names to match request """ @@ -72,7 +72,7 @@ def __init__(self, cultural_context: AiNameCulturalContext = None, format: str = :param other_parsed_name: Other parsed name to match :type other_parsed_name: List[AiNameComponent] """ - super(AiNameParsedMatchRequest, self).__init__() + super(AiNameMatchParsedRequest, self).__init__() self._other_parsed_name = None @@ -91,7 +91,7 @@ def other_parsed_name(self) -> List[AiNameComponent]: """ Other parsed name to match - :return: The other_parsed_name of this AiNameParsedMatchRequest. + :return: The other_parsed_name of this AiNameMatchParsedRequest. :rtype: list[AiNameComponent] """ return self._other_parsed_name @@ -101,7 +101,7 @@ def other_parsed_name(self, other_parsed_name: List[AiNameComponent]): """ Other parsed name to match - :param other_parsed_name: The other_parsed_name of this AiNameParsedMatchRequest. + :param other_parsed_name: The other_parsed_name of this AiNameMatchParsedRequest. :type: list[AiNameComponent] """ if other_parsed_name is None: @@ -142,7 +142,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AiNameParsedMatchRequest): + if not isinstance(other, AiNameMatchParsedRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_save_multi_request.py similarity index 93% rename from sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py rename to sdk/AsposeEmailCloudSdk/models/client_account_save_multi_request.py index 68d26a5..cf77a10 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_multi_account_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_save_multi_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -35,7 +35,7 @@ from AsposeEmailCloudSdk.models.storage_model_of_email_client_multi_account import StorageModelOfEmailClientMultiAccount -class EmailClientMultiAccountSaveRequest(StorageModelOfEmailClientMultiAccount): +class ClientAccountSaveMultiRequest(StorageModelOfEmailClientMultiAccount): """Email client multi account save request. """ @@ -64,7 +64,7 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientM :param value: :type value: EmailClientMultiAccount """ - super(EmailClientMultiAccountSaveRequest, self).__init__() + super(ClientAccountSaveMultiRequest, self).__init__() if storage_file is not None: self.storage_file = storage_file @@ -106,7 +106,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, EmailClientMultiAccountSaveRequest): + if not isinstance(other, ClientAccountSaveMultiRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_save_request.py similarity index 93% rename from sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py rename to sdk/AsposeEmailCloudSdk/models/client_account_save_request.py index 7ab3cc9..c341e38 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_client_account_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_save_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -35,7 +35,7 @@ from AsposeEmailCloudSdk.models.storage_model_of_email_client_account import StorageModelOfEmailClientAccount -class EmailClientAccountSaveRequest(StorageModelOfEmailClientAccount): +class ClientAccountSaveRequest(StorageModelOfEmailClientAccount): """Email client account save request """ @@ -64,7 +64,7 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailClientA :param value: :type value: EmailClientAccount """ - super(EmailClientAccountSaveRequest, self).__init__() + super(ClientAccountSaveRequest, self).__init__() if storage_file is not None: self.storage_file = storage_file @@ -106,7 +106,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, EmailClientAccountSaveRequest): + if not isinstance(other, ClientAccountSaveRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py b/sdk/AsposeEmailCloudSdk/models/email_config_discover_oauth_request.py similarity index 89% rename from sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py rename to sdk/AsposeEmailCloudSdk/models/email_config_discover_oauth_request.py index eb1afcb..84596d4 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_oauth.py +++ b/sdk/AsposeEmailCloudSdk/models/email_config_discover_oauth_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -33,7 +33,7 @@ from AsposeEmailCloudSdk.models.discover_email_config_request import DiscoverEmailConfigRequest -class DiscoverEmailConfigOauth(DiscoverEmailConfigRequest): +class EmailConfigDiscoverOauthRequest(DiscoverEmailConfigRequest): """ """ @@ -82,7 +82,7 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str :param request_url: The url to obtain access token. If not specified, will be discovered from email configuration. :type request_url: str """ - super(DiscoverEmailConfigOauth, self).__init__() + super(EmailConfigDiscoverOauthRequest, self).__init__() self._client_id = None self._client_secret = None @@ -110,7 +110,7 @@ def client_id(self) -> str: """ OAuth client id. - :return: The client_id of this DiscoverEmailConfigOauth. + :return: The client_id of this EmailConfigDiscoverOauthRequest. :rtype: str """ return self._client_id @@ -120,7 +120,7 @@ def client_id(self, client_id: str): """ OAuth client id. - :param client_id: The client_id of this DiscoverEmailConfigOauth. + :param client_id: The client_id of this EmailConfigDiscoverOauthRequest. :type: str """ if client_id is None: @@ -134,7 +134,7 @@ def client_secret(self) -> str: """ OAuth client secret. - :return: The client_secret of this DiscoverEmailConfigOauth. + :return: The client_secret of this EmailConfigDiscoverOauthRequest. :rtype: str """ return self._client_secret @@ -144,7 +144,7 @@ def client_secret(self, client_secret: str): """ OAuth client secret. - :param client_secret: The client_secret of this DiscoverEmailConfigOauth. + :param client_secret: The client_secret of this EmailConfigDiscoverOauthRequest. :type: str """ if client_secret is None: @@ -158,7 +158,7 @@ def refresh_token(self) -> str: """ OAuth refresh token. - :return: The refresh_token of this DiscoverEmailConfigOauth. + :return: The refresh_token of this EmailConfigDiscoverOauthRequest. :rtype: str """ return self._refresh_token @@ -168,7 +168,7 @@ def refresh_token(self, refresh_token: str): """ OAuth refresh token. - :param refresh_token: The refresh_token of this DiscoverEmailConfigOauth. + :param refresh_token: The refresh_token of this EmailConfigDiscoverOauthRequest. :type: str """ if refresh_token is None: @@ -182,7 +182,7 @@ def request_url(self) -> str: """ The url to obtain access token. If not specified, will be discovered from email configuration. - :return: The request_url of this DiscoverEmailConfigOauth. + :return: The request_url of this EmailConfigDiscoverOauthRequest. :rtype: str """ return self._request_url @@ -192,7 +192,7 @@ def request_url(self, request_url: str): """ The url to obtain access token. If not specified, will be discovered from email configuration. - :param request_url: The request_url of this DiscoverEmailConfigOauth. + :param request_url: The request_url of this EmailConfigDiscoverOauthRequest. :type: str """ self._request_url = request_url @@ -231,7 +231,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DiscoverEmailConfigOauth): + if not isinstance(other, EmailConfigDiscoverOauthRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py b/sdk/AsposeEmailCloudSdk/models/email_config_discover_password_request.py similarity index 92% rename from sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py rename to sdk/AsposeEmailCloudSdk/models/email_config_discover_password_request.py index 19c0710..9963ce0 100644 --- a/sdk/AsposeEmailCloudSdk/models/discover_email_config_password.py +++ b/sdk/AsposeEmailCloudSdk/models/email_config_discover_password_request.py @@ -1,6 +1,6 @@ # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -33,7 +33,7 @@ from AsposeEmailCloudSdk.models.discover_email_config_request import DiscoverEmailConfigRequest -class DiscoverEmailConfigPassword(DiscoverEmailConfigRequest): +class EmailConfigDiscoverPasswordRequest(DiscoverEmailConfigRequest): """ """ @@ -70,7 +70,7 @@ def __init__(self, address: str = None, fast_processing: bool = None, login: str :param password: Email account password. :type password: str """ - super(DiscoverEmailConfigPassword, self).__init__() + super(EmailConfigDiscoverPasswordRequest, self).__init__() self._password = None @@ -89,7 +89,7 @@ def password(self) -> str: """ Email account password. - :return: The password of this DiscoverEmailConfigPassword. + :return: The password of this EmailConfigDiscoverPasswordRequest. :rtype: str """ return self._password @@ -99,7 +99,7 @@ def password(self, password: str): """ Email account password. - :param password: The password of this DiscoverEmailConfigPassword. + :param password: The password of this EmailConfigDiscoverPasswordRequest. :type: str """ if password is None: @@ -142,7 +142,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DiscoverEmailConfigPassword): + if not isinstance(other, EmailConfigDiscoverPasswordRequest): return False return self.__dict__ == other.__dict__ diff --git a/sdk/docs/AiNameApi.md b/sdk/docs/AiNameApi.md index 30f6e76..080387e 100644 --- a/sdk/docs/AiNameApi.md +++ b/sdk/docs/AiNameApi.md @@ -242,7 +242,7 @@ Name | Type | Description | Notes # match_parsed ```python -match_parsed(self, AiNameParsedMatchRequest request) +match_parsed(self, AiNameMatchParsedRequest request) ``` Compare people's parsed names and attributes. Uses options for comparing instructions. @@ -253,7 +253,7 @@ Compare people's parsed names and attributes. Uses options for comparing instruc ### request Parameter -See parameter model documentation at [AiNameParsedMatchRequest](AiNameParsedMatchRequest.md) +See parameter model documentation at [AiNameMatchParsedRequest](AiNameMatchParsedRequest.md) [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/AiNameParsedMatchRequest.md b/sdk/docs/AiNameMatchParsedRequest.md similarity index 86% rename from sdk/docs/AiNameParsedMatchRequest.md rename to sdk/docs/AiNameMatchParsedRequest.md index 5b8a444..fb2c475 100644 --- a/sdk/docs/AiNameParsedMatchRequest.md +++ b/sdk/docs/AiNameMatchParsedRequest.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.AiNameParsedMatchRequest +# AsposeEmailCloudSdk.models.AiNameMatchParsedRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/ClientAccountApi.md b/sdk/docs/ClientAccountApi.md index 315798a..5285a3c 100644 --- a/sdk/docs/ClientAccountApi.md +++ b/sdk/docs/ClientAccountApi.md @@ -64,7 +64,7 @@ Name | Type | Description | Notes # save ```python -save(self, EmailClientAccountSaveRequest request) +save(self, ClientAccountSaveRequest request) ``` Create/update email client account file (*.account) with credentials @@ -75,7 +75,7 @@ void (empty response body) ### request Parameter -See parameter model documentation at [EmailClientAccountSaveRequest](EmailClientAccountSaveRequest.md) +See parameter model documentation at [ClientAccountSaveRequest](ClientAccountSaveRequest.md) [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -83,7 +83,7 @@ See parameter model documentation at [EmailClientAccountSaveRequest](EmailClient # save_multi ```python -save_multi(self, EmailClientMultiAccountSaveRequest request) +save_multi(self, ClientAccountSaveMultiRequest request) ``` Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\". @@ -94,7 +94,7 @@ void (empty response body) ### request Parameter -See parameter model documentation at [EmailClientMultiAccountSaveRequest](EmailClientMultiAccountSaveRequest.md) +See parameter model documentation at [ClientAccountSaveMultiRequest](ClientAccountSaveMultiRequest.md) [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailClientMultiAccountSaveRequest.md b/sdk/docs/ClientAccountSaveMultiRequest.md similarity index 81% rename from sdk/docs/EmailClientMultiAccountSaveRequest.md rename to sdk/docs/ClientAccountSaveMultiRequest.md index 46a78f1..9ed8102 100644 --- a/sdk/docs/EmailClientMultiAccountSaveRequest.md +++ b/sdk/docs/ClientAccountSaveMultiRequest.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.EmailClientMultiAccountSaveRequest +# AsposeEmailCloudSdk.models.ClientAccountSaveMultiRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/EmailClientAccountSaveRequest.md b/sdk/docs/ClientAccountSaveRequest.md similarity index 81% rename from sdk/docs/EmailClientAccountSaveRequest.md rename to sdk/docs/ClientAccountSaveRequest.md index b4d8c2a..f016831 100644 --- a/sdk/docs/EmailClientAccountSaveRequest.md +++ b/sdk/docs/ClientAccountSaveRequest.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.EmailClientAccountSaveRequest +# AsposeEmailCloudSdk.models.ClientAccountSaveRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/EmailConfigApi.md b/sdk/docs/EmailConfigApi.md index 242c00d..774d889 100644 --- a/sdk/docs/EmailConfigApi.md +++ b/sdk/docs/EmailConfigApi.md @@ -33,7 +33,7 @@ Name | Type | Description | Notes # discover_oauth ```python -discover_oauth(self, DiscoverEmailConfigOauth request) +discover_oauth(self, EmailConfigDiscoverOauthRequest request) ``` Discover email accounts by email address. Validates discovered accounts using OAuth 2.0. @@ -44,7 +44,7 @@ Discover email accounts by email address. Validates discovered accounts using OA ### request Parameter -See parameter model documentation at [DiscoverEmailConfigOauth](DiscoverEmailConfigOauth.md) +See parameter model documentation at [EmailConfigDiscoverOauthRequest](EmailConfigDiscoverOauthRequest.md) [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -52,7 +52,7 @@ See parameter model documentation at [DiscoverEmailConfigOauth](DiscoverEmailCon # discover_password ```python -discover_password(self, DiscoverEmailConfigPassword request) +discover_password(self, EmailConfigDiscoverPasswordRequest request) ``` Discover email accounts by email address. Validates discovered accounts using login and password. @@ -63,7 +63,7 @@ Discover email accounts by email address. Validates discovered accounts using lo ### request Parameter -See parameter model documentation at [DiscoverEmailConfigPassword](DiscoverEmailConfigPassword.md) +See parameter model documentation at [EmailConfigDiscoverPasswordRequest](EmailConfigDiscoverPasswordRequest.md) [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/DiscoverEmailConfigOauth.md b/sdk/docs/EmailConfigDiscoverOauthRequest.md similarity index 90% rename from sdk/docs/DiscoverEmailConfigOauth.md rename to sdk/docs/EmailConfigDiscoverOauthRequest.md index 99f5cbf..a4c37e9 100644 --- a/sdk/docs/DiscoverEmailConfigOauth.md +++ b/sdk/docs/EmailConfigDiscoverOauthRequest.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.DiscoverEmailConfigOauth +# AsposeEmailCloudSdk.models.EmailConfigDiscoverOauthRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/DiscoverEmailConfigPassword.md b/sdk/docs/EmailConfigDiscoverPasswordRequest.md similarity index 83% rename from sdk/docs/DiscoverEmailConfigPassword.md rename to sdk/docs/EmailConfigDiscoverPasswordRequest.md index 708c2ef..cb0b555 100644 --- a/sdk/docs/DiscoverEmailConfigPassword.md +++ b/sdk/docs/EmailConfigDiscoverPasswordRequest.md @@ -1,4 +1,4 @@ -# AsposeEmailCloudSdk.models.DiscoverEmailConfigPassword +# AsposeEmailCloudSdk.models.EmailConfigDiscoverPasswordRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/sdk/docs/Models.md b/sdk/docs/Models.md index c3232fe..69907d7 100644 --- a/sdk/docs/Models.md +++ b/sdk/docs/Models.md @@ -118,11 +118,13 @@ - [AsposeEmailCloudSdk.models.AiNameComponentList](AiNameComponentList.md) - [AsposeEmailCloudSdk.models.AiNameExtractedList](AiNameExtractedList.md) - [AsposeEmailCloudSdk.models.AiNameGenderHypothesisList](AiNameGenderHypothesisList.md) - - [AsposeEmailCloudSdk.models.AiNameParsedMatchRequest](AiNameParsedMatchRequest.md) + - [AsposeEmailCloudSdk.models.AiNameMatchParsedRequest](AiNameMatchParsedRequest.md) - [AsposeEmailCloudSdk.models.AlternateView](AlternateView.md) - [AsposeEmailCloudSdk.models.Attachment](Attachment.md) - [AsposeEmailCloudSdk.models.CalendarSaveRequest](CalendarSaveRequest.md) - [AsposeEmailCloudSdk.models.CalendarStorageList](CalendarStorageList.md) + - [AsposeEmailCloudSdk.models.ClientAccountSaveMultiRequest](ClientAccountSaveMultiRequest.md) + - [AsposeEmailCloudSdk.models.ClientAccountSaveRequest](ClientAccountSaveRequest.md) - [AsposeEmailCloudSdk.models.ClientFolderCreateRequest](ClientFolderCreateRequest.md) - [AsposeEmailCloudSdk.models.ClientFolderDeleteRequest](ClientFolderDeleteRequest.md) - [AsposeEmailCloudSdk.models.ClientMessageAppendRequest](ClientMessageAppendRequest.md) @@ -133,13 +135,11 @@ - [AsposeEmailCloudSdk.models.ContactSaveRequest](ContactSaveRequest.md) - [AsposeEmailCloudSdk.models.ContactStorageList](ContactStorageList.md) - [AsposeEmailCloudSdk.models.DailyRecurrencePatternDto](DailyRecurrencePatternDto.md) - - [AsposeEmailCloudSdk.models.DiscoverEmailConfigOauth](DiscoverEmailConfigOauth.md) - - [AsposeEmailCloudSdk.models.DiscoverEmailConfigPassword](DiscoverEmailConfigPassword.md) - [AsposeEmailCloudSdk.models.EmailAccountConfigList](EmailAccountConfigList.md) - [AsposeEmailCloudSdk.models.EmailClientAccountOauthCredentials](EmailClientAccountOauthCredentials.md) - [AsposeEmailCloudSdk.models.EmailClientAccountPasswordCredentials](EmailClientAccountPasswordCredentials.md) - - [AsposeEmailCloudSdk.models.EmailClientAccountSaveRequest](EmailClientAccountSaveRequest.md) - - [AsposeEmailCloudSdk.models.EmailClientMultiAccountSaveRequest](EmailClientMultiAccountSaveRequest.md) + - [AsposeEmailCloudSdk.models.EmailConfigDiscoverOauthRequest](EmailConfigDiscoverOauthRequest.md) + - [AsposeEmailCloudSdk.models.EmailConfigDiscoverPasswordRequest](EmailConfigDiscoverPasswordRequest.md) - [AsposeEmailCloudSdk.models.EmailList](EmailList.md) - [AsposeEmailCloudSdk.models.EmailSaveRequest](EmailSaveRequest.md) - [AsposeEmailCloudSdk.models.EmailStorageList](EmailStorageList.md) diff --git a/tests/tests/other_test.py b/tests/tests/other_test.py index e1d8bbe..969fb24 100644 --- a/tests/tests/other_test.py +++ b/tests/tests/other_test.py @@ -51,7 +51,7 @@ def test_email_client_account(td: EmailApiData): models.EmailClientAccountPasswordCredentials( 'login', 'password')) name = str(uuid.uuid4()) + '.account' - td.api.client.account.save(models.EmailClientAccountSaveRequest( + td.api.client.account.save(models.ClientAccountSaveRequest( models.StorageFileLocation(td.storage, td.folder, name), account)) result = td.api.client.account.get(models.ClientAccountGetRequest(name, td.folder, td.storage)) @@ -79,7 +79,7 @@ def test_email_client_multi_account(td: EmailApiData): 'example@gmail.com', 'password'))) file_name = str(uuid.uuid4()) + '.multi.account' # Save multi account - td.api.client.account.save_multi(models.EmailClientMultiAccountSaveRequest( + td.api.client.account.save_multi(models.ClientAccountSaveMultiRequest( models.StorageFileLocation(td.storage, td.folder, file_name), multi_account)) # Get multi account object from storage From 7e8dcc8a1cbfa7cab9a71a426afb0b90de7a897e Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Fri, 7 Aug 2020 19:47:30 +0400 Subject: [PATCH 15/20] Unnecessary empty lines removed --- sdk/AsposeEmailCloudSdk/api/__init__.py | 1 - sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py | 1 - sdk/AsposeEmailCloudSdk/api/ai_name_api.py | 1 - sdk/AsposeEmailCloudSdk/api/api_base.py | 1 - sdk/AsposeEmailCloudSdk/api/calendar_api.py | 1 - sdk/AsposeEmailCloudSdk/api/client_account_api.py | 1 - sdk/AsposeEmailCloudSdk/api/client_folder_api.py | 1 - sdk/AsposeEmailCloudSdk/api/client_message_api.py | 1 - sdk/AsposeEmailCloudSdk/api/client_thread_api.py | 1 - sdk/AsposeEmailCloudSdk/api/contact_api.py | 1 - sdk/AsposeEmailCloudSdk/api/disposable_email_api.py | 1 - sdk/AsposeEmailCloudSdk/api/email_api.py | 1 - sdk/AsposeEmailCloudSdk/api/email_config_api.py | 1 - sdk/AsposeEmailCloudSdk/api/file_api.py | 1 - sdk/AsposeEmailCloudSdk/api/folder_api.py | 1 - sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py | 1 - sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py | 1 - sdk/AsposeEmailCloudSdk/api/mapi_message_api.py | 1 - sdk/AsposeEmailCloudSdk/api/storage_api.py | 1 - sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py | 1 - sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py | 1 - sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py | 1 - sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py | 1 - sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py | 1 - sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py | 1 - .../models/ai_name_parse_email_address_request.py | 1 - sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py | 1 - sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py | 1 - sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py | 1 - .../models/calendar_get_as_alternate_request.py | 1 - sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py | 1 - sdk/AsposeEmailCloudSdk/models/calendar_get_request.py | 1 - .../models/client_account_get_multi_request.py | 1 - sdk/AsposeEmailCloudSdk/models/client_account_get_request.py | 1 - sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py | 1 - .../models/client_message_append_file_request.py | 1 - .../models/client_message_fetch_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py | 1 - sdk/AsposeEmailCloudSdk/models/client_message_list_request.py | 1 - .../models/client_message_send_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py | 1 - .../models/client_thread_get_messages_request.py | 1 - sdk/AsposeEmailCloudSdk/models/contact_convert_request.py | 1 - sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py | 1 - sdk/AsposeEmailCloudSdk/models/contact_get_request.py | 1 - sdk/AsposeEmailCloudSdk/models/copy_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/copy_folder_request.py | 1 - sdk/AsposeEmailCloudSdk/models/create_folder_request.py | 1 - sdk/AsposeEmailCloudSdk/models/delete_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/delete_folder_request.py | 1 - .../models/disposable_email_is_disposable_request.py | 1 - sdk/AsposeEmailCloudSdk/models/download_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py | 1 - sdk/AsposeEmailCloudSdk/models/email_convert_request.py | 1 - sdk/AsposeEmailCloudSdk/models/email_from_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/email_get_list_request.py | 1 - sdk/AsposeEmailCloudSdk/models/email_get_request.py | 1 - sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py | 1 - sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py | 1 - sdk/AsposeEmailCloudSdk/models/get_files_list_request.py | 1 - sdk/AsposeEmailCloudSdk/models/http_request.py | 1 - .../models/mapi_calendar_from_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py | 1 - sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py | 1 - sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py | 1 - sdk/AsposeEmailCloudSdk/models/move_file_request.py | 1 - sdk/AsposeEmailCloudSdk/models/move_folder_request.py | 1 - sdk/AsposeEmailCloudSdk/models/object_exists_request.py | 1 - sdk/AsposeEmailCloudSdk/models/storage_exists_request.py | 1 - sdk/AsposeEmailCloudSdk/models/upload_file_request.py | 1 - sdk/docs/AiBcrApi.md | 1 - sdk/docs/AiBcrApi_list.md | 1 - sdk/docs/AiNameApi.md | 1 - sdk/docs/AiNameApi_list.md | 1 - sdk/docs/CalendarApi.md | 1 - sdk/docs/CalendarApi_list.md | 1 - sdk/docs/ClientAccountApi.md | 1 - sdk/docs/ClientAccountApi_list.md | 1 - sdk/docs/ClientFolderApi.md | 1 - sdk/docs/ClientFolderApi_list.md | 1 - sdk/docs/ClientMessageApi.md | 1 - sdk/docs/ClientMessageApi_list.md | 1 - sdk/docs/ClientThreadApi.md | 1 - sdk/docs/ClientThreadApi_list.md | 1 - sdk/docs/ContactApi.md | 1 - sdk/docs/ContactApi_list.md | 1 - sdk/docs/DisposableEmailApi.md | 1 - sdk/docs/DisposableEmailApi_list.md | 1 - sdk/docs/EmailApi.md | 1 - sdk/docs/EmailApi_list.md | 1 - sdk/docs/EmailConfigApi.md | 1 - sdk/docs/EmailConfigApi_list.md | 1 - sdk/docs/FileApi.md | 1 - sdk/docs/FileApi_list.md | 1 - sdk/docs/FolderApi.md | 1 - sdk/docs/FolderApi_list.md | 1 - sdk/docs/MapiCalendarApi.md | 1 - sdk/docs/MapiCalendarApi_list.md | 1 - sdk/docs/MapiContactApi.md | 1 - sdk/docs/MapiContactApi_list.md | 1 - sdk/docs/MapiMessageApi.md | 1 - sdk/docs/MapiMessageApi_list.md | 1 - sdk/docs/Models.md | 1 - sdk/docs/StorageApi.md | 1 - sdk/docs/StorageApi_list.md | 1 - 111 files changed, 111 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/api/__init__.py b/sdk/AsposeEmailCloudSdk/api/__init__.py index 0225d2c..4121bb9 100644 --- a/sdk/AsposeEmailCloudSdk/api/__init__.py +++ b/sdk/AsposeEmailCloudSdk/api/__init__.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py b/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py index e93dd1f..624ee6b 100644 --- a/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py +++ b/sdk/AsposeEmailCloudSdk/api/ai_bcr_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py index 9603d53..e1c09ae 100644 --- a/sdk/AsposeEmailCloudSdk/api/ai_name_api.py +++ b/sdk/AsposeEmailCloudSdk/api/ai_name_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/api_base.py b/sdk/AsposeEmailCloudSdk/api/api_base.py index e098306..b10eddf 100644 --- a/sdk/AsposeEmailCloudSdk/api/api_base.py +++ b/sdk/AsposeEmailCloudSdk/api/api_base.py @@ -1,4 +1,3 @@ - import six from AsposeEmailCloudSdk.api_client import ApiClient diff --git a/sdk/AsposeEmailCloudSdk/api/calendar_api.py b/sdk/AsposeEmailCloudSdk/api/calendar_api.py index f3c6f12..00d385e 100644 --- a/sdk/AsposeEmailCloudSdk/api/calendar_api.py +++ b/sdk/AsposeEmailCloudSdk/api/calendar_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/client_account_api.py b/sdk/AsposeEmailCloudSdk/api/client_account_api.py index 2601be4..cdd11fb 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_account_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_account_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/client_folder_api.py b/sdk/AsposeEmailCloudSdk/api/client_folder_api.py index cb3d0c5..ea881cd 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_folder_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_folder_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/client_message_api.py b/sdk/AsposeEmailCloudSdk/api/client_message_api.py index 8351d0c..98ddd73 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_message_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_message_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/client_thread_api.py b/sdk/AsposeEmailCloudSdk/api/client_thread_api.py index 493bb53..29ada7c 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_thread_api.py +++ b/sdk/AsposeEmailCloudSdk/api/client_thread_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/contact_api.py b/sdk/AsposeEmailCloudSdk/api/contact_api.py index 4ccbbe2..eed2a5e 100644 --- a/sdk/AsposeEmailCloudSdk/api/contact_api.py +++ b/sdk/AsposeEmailCloudSdk/api/contact_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py b/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py index 21f36fd..ec509b2 100644 --- a/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py +++ b/sdk/AsposeEmailCloudSdk/api/disposable_email_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/email_api.py b/sdk/AsposeEmailCloudSdk/api/email_api.py index cf40e40..60b4f19 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/email_config_api.py b/sdk/AsposeEmailCloudSdk/api/email_config_api.py index c3769a3..8264b50 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_config_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_config_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/file_api.py b/sdk/AsposeEmailCloudSdk/api/file_api.py index 62ff217..7157871 100644 --- a/sdk/AsposeEmailCloudSdk/api/file_api.py +++ b/sdk/AsposeEmailCloudSdk/api/file_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/folder_api.py b/sdk/AsposeEmailCloudSdk/api/folder_api.py index e4df896..bb53fd9 100644 --- a/sdk/AsposeEmailCloudSdk/api/folder_api.py +++ b/sdk/AsposeEmailCloudSdk/api/folder_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py index 8ca383b..6577a65 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_calendar_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py index 1750a42..9109831 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_contact_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py b/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py index 4a99899..a37a04d 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_message_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/api/storage_api.py b/sdk/AsposeEmailCloudSdk/api/storage_api.py index 3795ba8..aa230b1 100644 --- a/sdk/AsposeEmailCloudSdk/api/storage_api.py +++ b/sdk/AsposeEmailCloudSdk/api/storage_api.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py index e446008..f70e377 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_bcr_parse_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py index 162195c..ef99d6b 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_complete_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py index 0f3a5bf..b4f7079 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_expand_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py index a03102d..e4a8181 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_format_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py index 4dfffdc..4889b3f 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_genderize_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py index b102624..cd7d12a 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_match_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py index d0d02c8..ef4c385 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_email_address_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py index 9f4a5fd..72733db 100644 --- a/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py +++ b/sdk/AsposeEmailCloudSdk/models/ai_name_parse_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py index 1fc575e..bb127d9 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_convert_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py index a253892..9d0cb05 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_from_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py index bbfc8cf..8d42022 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_alternate_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py index 7c02b94..8ac78b6 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_as_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py index 20751aa..5c2a614 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_list_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py b/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py index 200a4a6..293080e 100644 --- a/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/calendar_get_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py index aa56862..35ea9de 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_get_multi_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py b/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py index 6b6fc38..a50b082 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_account_get_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py index a325ac6..9bb5149 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_folder_get_list_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py index b31b567..c0e1e4d 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py index 16e65ca..5158de8 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py index 13a6cd4..663fc9c 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py index c6efbd3..48ad8dd 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py index f4cec16..0232a8e 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py index d722382..9373a96 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_get_list_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py b/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py index ddd5099..c265a79 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_thread_get_messages_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py b/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py index 90b672a..84e8646 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_convert_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py index f00a0d4..de0145b 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_from_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py index a8ccd1b..231ddf6 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_as_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py index c4cf6dc..4076045 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_list_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/contact_get_request.py b/sdk/AsposeEmailCloudSdk/models/contact_get_request.py index 5b04a43..8bdc6fc 100644 --- a/sdk/AsposeEmailCloudSdk/models/contact_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/contact_get_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py index dadd716..37f890b 100644 --- a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py index d1eca81..4e4cf1c 100644 --- a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py index c440d4e..10bb3c3 100644 --- a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py index 590efdc..8584eae 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py index b08dd92..8d4bfe4 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py b/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py index 561eb75..7f96ff3 100644 --- a/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py +++ b/sdk/AsposeEmailCloudSdk/models/disposable_email_is_disposable_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/download_file_request.py b/sdk/AsposeEmailCloudSdk/models/download_file_request.py index e631d56..d276ce8 100644 --- a/sdk/AsposeEmailCloudSdk/models/download_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/download_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py b/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py index 243fed4..884e84e 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_config_discover_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py index b5e9c32..006bffe 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py index fe1a52c..15aadd9 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py index a889669..2726c32 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py index 1d0464c..95a4dfb 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_request.py index c3df4e9..3eebe48 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py index 845c5fc..837d42e 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py index 7bb8955..a635dd1 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py index 84a14c6..5148542 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/http_request.py b/sdk/AsposeEmailCloudSdk/models/http_request.py index a1a03d3..a61f0f8 100644 --- a/sdk/AsposeEmailCloudSdk/models/http_request.py +++ b/sdk/AsposeEmailCloudSdk/models/http_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py index c067e2a..d47785c 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_from_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py index 8f2278b..0a67e9e 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_calendar_get_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py index 48ee773..764240e 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_from_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py index 7e48c7a..fd60cfb 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_contact_get_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py index 59f0dd5..c5b2ef1 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py index 0aec8dc..04228f8 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/move_file_request.py b/sdk/AsposeEmailCloudSdk/models/move_file_request.py index 122eafd..779fca4 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/move_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py index 1d89f28..77c6c23 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py index 5fc9871..7944ce2 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py index 982e91d..0437cba 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py index 23bda8c..172c469 100644 --- a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py @@ -1,4 +1,3 @@ - # coding: utf-8 # ---------------------------------------------------------------------------- # diff --git a/sdk/docs/AiBcrApi.md b/sdk/docs/AiBcrApi.md index 3007a2e..9bb3801 100644 --- a/sdk/docs/AiBcrApi.md +++ b/sdk/docs/AiBcrApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.AiBcrApi diff --git a/sdk/docs/AiBcrApi_list.md b/sdk/docs/AiBcrApi_list.md index 71f49a4..d7f4dab 100644 --- a/sdk/docs/AiBcrApi_list.md +++ b/sdk/docs/AiBcrApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for AiBcrApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/AiNameApi.md b/sdk/docs/AiNameApi.md index 080387e..1c12a1b 100644 --- a/sdk/docs/AiNameApi.md +++ b/sdk/docs/AiNameApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.AiNameApi diff --git a/sdk/docs/AiNameApi_list.md b/sdk/docs/AiNameApi_list.md index aed0893..026bb06 100644 --- a/sdk/docs/AiNameApi_list.md +++ b/sdk/docs/AiNameApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for AiNameApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/CalendarApi.md b/sdk/docs/CalendarApi.md index e6cd1e9..80eb3a1 100644 --- a/sdk/docs/CalendarApi.md +++ b/sdk/docs/CalendarApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.CalendarApi diff --git a/sdk/docs/CalendarApi_list.md b/sdk/docs/CalendarApi_list.md index 11ae5d3..d13e53a 100644 --- a/sdk/docs/CalendarApi_list.md +++ b/sdk/docs/CalendarApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for CalendarApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/ClientAccountApi.md b/sdk/docs/ClientAccountApi.md index 5285a3c..3480e12 100644 --- a/sdk/docs/ClientAccountApi.md +++ b/sdk/docs/ClientAccountApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.ClientAccountApi diff --git a/sdk/docs/ClientAccountApi_list.md b/sdk/docs/ClientAccountApi_list.md index 3a2a19f..9a03e5d 100644 --- a/sdk/docs/ClientAccountApi_list.md +++ b/sdk/docs/ClientAccountApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for ClientAccountApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/ClientFolderApi.md b/sdk/docs/ClientFolderApi.md index c0f3049..bff40dc 100644 --- a/sdk/docs/ClientFolderApi.md +++ b/sdk/docs/ClientFolderApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.ClientFolderApi diff --git a/sdk/docs/ClientFolderApi_list.md b/sdk/docs/ClientFolderApi_list.md index 994f364..b28a4ff 100644 --- a/sdk/docs/ClientFolderApi_list.md +++ b/sdk/docs/ClientFolderApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for ClientFolderApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/ClientMessageApi.md b/sdk/docs/ClientMessageApi.md index d4f99e4..cbeea28 100644 --- a/sdk/docs/ClientMessageApi.md +++ b/sdk/docs/ClientMessageApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.ClientMessageApi diff --git a/sdk/docs/ClientMessageApi_list.md b/sdk/docs/ClientMessageApi_list.md index 015b2d4..77dd852 100644 --- a/sdk/docs/ClientMessageApi_list.md +++ b/sdk/docs/ClientMessageApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for ClientMessageApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/ClientThreadApi.md b/sdk/docs/ClientThreadApi.md index 548b54d..f1aacb0 100644 --- a/sdk/docs/ClientThreadApi.md +++ b/sdk/docs/ClientThreadApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.ClientThreadApi diff --git a/sdk/docs/ClientThreadApi_list.md b/sdk/docs/ClientThreadApi_list.md index e89af79..a56fe48 100644 --- a/sdk/docs/ClientThreadApi_list.md +++ b/sdk/docs/ClientThreadApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for ClientThreadApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/ContactApi.md b/sdk/docs/ContactApi.md index 3a20693..c642662 100644 --- a/sdk/docs/ContactApi.md +++ b/sdk/docs/ContactApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.ContactApi diff --git a/sdk/docs/ContactApi_list.md b/sdk/docs/ContactApi_list.md index b539d5b..9d831a0 100644 --- a/sdk/docs/ContactApi_list.md +++ b/sdk/docs/ContactApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for ContactApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/DisposableEmailApi.md b/sdk/docs/DisposableEmailApi.md index 7c85145..9ca0647 100644 --- a/sdk/docs/DisposableEmailApi.md +++ b/sdk/docs/DisposableEmailApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.DisposableEmailApi diff --git a/sdk/docs/DisposableEmailApi_list.md b/sdk/docs/DisposableEmailApi_list.md index c383e8b..93b9bf2 100644 --- a/sdk/docs/DisposableEmailApi_list.md +++ b/sdk/docs/DisposableEmailApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for DisposableEmailApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/EmailApi.md b/sdk/docs/EmailApi.md index 3364506..a611001 100644 --- a/sdk/docs/EmailApi.md +++ b/sdk/docs/EmailApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.EmailApi diff --git a/sdk/docs/EmailApi_list.md b/sdk/docs/EmailApi_list.md index 384f3d5..af8da6e 100644 --- a/sdk/docs/EmailApi_list.md +++ b/sdk/docs/EmailApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for EmailApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/EmailConfigApi.md b/sdk/docs/EmailConfigApi.md index 774d889..49c6e5f 100644 --- a/sdk/docs/EmailConfigApi.md +++ b/sdk/docs/EmailConfigApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.EmailConfigApi diff --git a/sdk/docs/EmailConfigApi_list.md b/sdk/docs/EmailConfigApi_list.md index 34158cf..6db909c 100644 --- a/sdk/docs/EmailConfigApi_list.md +++ b/sdk/docs/EmailConfigApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for EmailConfigApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/FileApi.md b/sdk/docs/FileApi.md index 01cd7a1..8244d76 100644 --- a/sdk/docs/FileApi.md +++ b/sdk/docs/FileApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.FileApi diff --git a/sdk/docs/FileApi_list.md b/sdk/docs/FileApi_list.md index 52f5f2d..5ad9e2c 100644 --- a/sdk/docs/FileApi_list.md +++ b/sdk/docs/FileApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for FileApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/FolderApi.md b/sdk/docs/FolderApi.md index db44f22..bbb8d2c 100644 --- a/sdk/docs/FolderApi.md +++ b/sdk/docs/FolderApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.FolderApi diff --git a/sdk/docs/FolderApi_list.md b/sdk/docs/FolderApi_list.md index e9ee361..4a8b48b 100644 --- a/sdk/docs/FolderApi_list.md +++ b/sdk/docs/FolderApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for FolderApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/MapiCalendarApi.md b/sdk/docs/MapiCalendarApi.md index 3861588..718c98a 100644 --- a/sdk/docs/MapiCalendarApi.md +++ b/sdk/docs/MapiCalendarApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.MapiCalendarApi diff --git a/sdk/docs/MapiCalendarApi_list.md b/sdk/docs/MapiCalendarApi_list.md index d41979a..3c583a9 100644 --- a/sdk/docs/MapiCalendarApi_list.md +++ b/sdk/docs/MapiCalendarApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for MapiCalendarApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/MapiContactApi.md b/sdk/docs/MapiContactApi.md index 84d4352..67eabb5 100644 --- a/sdk/docs/MapiContactApi.md +++ b/sdk/docs/MapiContactApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.MapiContactApi diff --git a/sdk/docs/MapiContactApi_list.md b/sdk/docs/MapiContactApi_list.md index c7898f7..76b3c07 100644 --- a/sdk/docs/MapiContactApi_list.md +++ b/sdk/docs/MapiContactApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for MapiContactApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/MapiMessageApi.md b/sdk/docs/MapiMessageApi.md index a97f617..49898ce 100644 --- a/sdk/docs/MapiMessageApi.md +++ b/sdk/docs/MapiMessageApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.MapiMessageApi diff --git a/sdk/docs/MapiMessageApi_list.md b/sdk/docs/MapiMessageApi_list.md index 9aad6a4..7f8c321 100644 --- a/sdk/docs/MapiMessageApi_list.md +++ b/sdk/docs/MapiMessageApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for MapiMessageApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* diff --git a/sdk/docs/Models.md b/sdk/docs/Models.md index 69907d7..2b3bf48 100644 --- a/sdk/docs/Models.md +++ b/sdk/docs/Models.md @@ -1,4 +1,3 @@ - ## Documentation for Models - [AsposeEmailCloudSdk.models.AiBcrImage](AiBcrImage.md) diff --git a/sdk/docs/StorageApi.md b/sdk/docs/StorageApi.md index 0ceb580..b5d10de 100644 --- a/sdk/docs/StorageApi.md +++ b/sdk/docs/StorageApi.md @@ -1,4 +1,3 @@ - # AsposeEmailCloudSdk.StorageApi diff --git a/sdk/docs/StorageApi_list.md b/sdk/docs/StorageApi_list.md index 7c9d1e4..88f692d 100644 --- a/sdk/docs/StorageApi_list.md +++ b/sdk/docs/StorageApi_list.md @@ -1,5 +1,4 @@ - ## Documentation for StorageApi operations All URIs are relative to *https://api.aspose.cloud/v4.0* From caa768eec583a8102e1fdbbb2a3a0e2862027041 Mon Sep 17 00:00:00 2001 From: Marat Gumerov Date: Wed, 26 Aug 2020 15:46:10 +0400 Subject: [PATCH 16/20] Added format parameter to email file converter --- sdk/AsposeEmailCloudSdk/api/__init__.py | 2 +- sdk/AsposeEmailCloudSdk/api/ai_group.py | 10 ++++---- sdk/AsposeEmailCloudSdk/api/client_group.py | 14 +++++------ .../api/cloud_storage_group.py | 6 ++--- sdk/AsposeEmailCloudSdk/api/email_api.py | 23 +++++++++++++------ sdk/AsposeEmailCloudSdk/api/email_cloud.py | 18 +++++++-------- sdk/AsposeEmailCloudSdk/api/mapi_group.py | 12 +++++----- .../models/email_convert_request.py | 17 +++++++++----- sdk/docs/AiBcrApi_list.md | 2 -- sdk/docs/AiGroup.md | 6 ++--- sdk/docs/AiNameApi_list.md | 2 -- sdk/docs/CalendarApi_list.md | 2 -- sdk/docs/ClientAccountApi_list.md | 2 -- sdk/docs/ClientFolderApi_list.md | 2 -- sdk/docs/ClientGroup.md | 10 ++++---- sdk/docs/ClientMessageApi_list.md | 2 -- sdk/docs/ClientThreadApi_list.md | 2 -- sdk/docs/CloudStorageGroup.md | 2 +- sdk/docs/ContactApi_list.md | 2 -- sdk/docs/DisposableEmailApi_list.md | 2 -- sdk/docs/EmailApi.md | 6 +++-- sdk/docs/EmailApi_list.md | 2 -- sdk/docs/EmailConfigApi_list.md | 2 -- sdk/docs/FileApi_list.md | 2 -- sdk/docs/FolderApi_list.md | 2 -- sdk/docs/MapiCalendarApi_list.md | 2 -- sdk/docs/MapiContactApi_list.md | 2 -- sdk/docs/MapiGroup.md | 8 +++---- sdk/docs/MapiMessageApi_list.md | 2 -- sdk/docs/README.md | 18 +++++++-------- sdk/docs/StorageApi_list.md | 2 -- sdk/setup.py | 2 +- tests/tests/email_test.py | 2 +- 33 files changed, 86 insertions(+), 104 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/api/__init__.py b/sdk/AsposeEmailCloudSdk/api/__init__.py index 4121bb9..891e952 100644 --- a/sdk/AsposeEmailCloudSdk/api/__init__.py +++ b/sdk/AsposeEmailCloudSdk/api/__init__.py @@ -57,4 +57,4 @@ from AsposeEmailCloudSdk.api.cloud_storage_group import CloudStorageGroup -from AsposeEmailCloudSdk.api.email_cloud import EmailCloud \ No newline at end of file +from AsposeEmailCloudSdk.api.email_cloud import EmailCloud diff --git a/sdk/AsposeEmailCloudSdk/api/ai_group.py b/sdk/AsposeEmailCloudSdk/api/ai_group.py index 2e99074..409071f 100644 --- a/sdk/AsposeEmailCloudSdk/api/ai_group.py +++ b/sdk/AsposeEmailCloudSdk/api/ai_group.py @@ -1,6 +1,7 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -27,10 +28,9 @@ from __future__ import absolute_import from AsposeEmailCloudSdk.api import * - class AiGroup(object): """ - AI powered operations. + AI powered operations. """ def __init__(self, api_client): @@ -42,14 +42,14 @@ def __init__(self, api_client): @property def bcr(self) -> AiBcrApi: """ - AI Business card recognition operations. + AI Business card recognition operations. """ return self._bcr @property def name(self) -> AiNameApi: """ - AI Name operations. + AI Name operations. """ return self._name diff --git a/sdk/AsposeEmailCloudSdk/api/client_group.py b/sdk/AsposeEmailCloudSdk/api/client_group.py index 8352a30..4cb5bf8 100644 --- a/sdk/AsposeEmailCloudSdk/api/client_group.py +++ b/sdk/AsposeEmailCloudSdk/api/client_group.py @@ -1,6 +1,7 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -27,10 +28,9 @@ from __future__ import absolute_import from AsposeEmailCloudSdk.api import * - class ClientGroup(object): """ - Builtin Email client operations. + Builtin Email client operations. """ def __init__(self, api_client): @@ -46,28 +46,28 @@ def __init__(self, api_client): @property def account(self) -> ClientAccountApi: """ - Email server account for built-in client operations. + Email server account for built-in client operations. """ return self._account @property def folder(self) -> ClientFolderApi: """ - Email client folder operations. + Email client folder operations. """ return self._folder @property def message(self) -> ClientMessageApi: """ - Email client message operations. + Email client message operations. """ return self._message @property def thread(self) -> ClientThreadApi: """ - Email client thread operations. + Email client thread operations. """ return self._thread diff --git a/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py b/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py index 3081efe..9cde578 100644 --- a/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py +++ b/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py @@ -1,6 +1,7 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -27,10 +28,9 @@ from __future__ import absolute_import from AsposeEmailCloudSdk.api import * - class CloudStorageGroup(object): """ - Cloud file storage operations. + Cloud file storage operations. """ def __init__(self, api_client): diff --git a/sdk/AsposeEmailCloudSdk/api/email_api.py b/sdk/AsposeEmailCloudSdk/api/email_api.py index 60b4f19..0071ea5 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_api.py +++ b/sdk/AsposeEmailCloudSdk/api/email_api.py @@ -105,9 +105,12 @@ def convert(self, request: EmailConvertRequest) -> str: :type request: EmailConvertRequest :return: str """ - # verify the required parameter 'format' is set - if request.format is None: - raise ValueError("Missing the required parameter `format` when calling `convert`") + # verify the required parameter 'from_format' is set + if request.from_format is None: + raise ValueError("Missing the required parameter `from_format` when calling `convert`") + # verify the required parameter 'to_format' is set + if request.to_format is None: + raise ValueError("Missing the required parameter `to_format` when calling `convert`") # verify the required parameter 'file' is set if request.file is None: raise ValueError("Missing the required parameter `file` when calling `convert`") @@ -117,12 +120,18 @@ def convert(self, request: EmailConvertRequest) -> str: path_params = {} query_params = [] - path_parameter = '{' + self._lowercase_first_letter('format') + '}' + path_parameter = '{' + self._lowercase_first_letter('fromFormat') + '}' if path_parameter in path: - path = path.replace(path_parameter, request.format if request.format is not None else '') + path = path.replace(path_parameter, request.from_format if request.from_format is not None else '') else: - if request.format is not None: - query_params.append((self._lowercase_first_letter('format'), request.format)) + if request.from_format is not None: + query_params.append((self._lowercase_first_letter('fromFormat'), request.from_format)) + path_parameter = '{' + self._lowercase_first_letter('toFormat') + '}' + if path_parameter in path: + path = path.replace(path_parameter, request.to_format if request.to_format is not None else '') + else: + if request.to_format is not None: + query_params.append((self._lowercase_first_letter('toFormat'), request.to_format)) form_params = [] local_var_files = [] diff --git a/sdk/AsposeEmailCloudSdk/api/email_cloud.py b/sdk/AsposeEmailCloudSdk/api/email_cloud.py index fe9d97d..ca79165 100644 --- a/sdk/AsposeEmailCloudSdk/api/email_cloud.py +++ b/sdk/AsposeEmailCloudSdk/api/email_cloud.py @@ -84,35 +84,35 @@ def __init__(self, app_key=None, app_sid=None, base_url=None, @property def calendar(self) -> CalendarApi: """ - iCalendar document operations. + iCalendar document operations. """ return self._calendar @property def contact(self) -> ContactApi: """ - Contact document operations. Supported formats: VCard, MSG, WebDav + Contact document operations. Supported formats: VCard, MSG, WebDav """ return self._contact @property def email(self) -> EmailApi: """ - Email document (*.eml) operations. + Email document (*.eml) operations. """ return self._email @property def disposable_email(self) -> DisposableEmailApi: """ - Check email address is disposable operations + Check email address is disposable operations """ return self._disposable_email @property def email_config(self) -> EmailConfigApi: """ - Email server configuration discovery. + Email server configuration discovery. """ return self._email_config @@ -121,28 +121,28 @@ def email_config(self) -> EmailConfigApi: @property def mapi(self) -> MapiGroup: """ - MAPI operations. + MAPI operations. """ return self._mapi @property def client(self) -> ClientGroup: """ - Builtin Email client operations. + Builtin Email client operations. """ return self._client @property def ai(self) -> AiGroup: """ - AI powered operations. + AI powered operations. """ return self._ai @property def cloud_storage(self) -> CloudStorageGroup: """ - Cloud file storage operations. + Cloud file storage operations. """ return self._cloud_storage diff --git a/sdk/AsposeEmailCloudSdk/api/mapi_group.py b/sdk/AsposeEmailCloudSdk/api/mapi_group.py index 1b2b2a3..312ac11 100644 --- a/sdk/AsposeEmailCloudSdk/api/mapi_group.py +++ b/sdk/AsposeEmailCloudSdk/api/mapi_group.py @@ -1,6 +1,7 @@ + # coding: utf-8 # ---------------------------------------------------------------------------- -# +# # Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved. # # @@ -27,10 +28,9 @@ from __future__ import absolute_import from AsposeEmailCloudSdk.api import * - class MapiGroup(object): """ - MAPI operations. + MAPI operations. """ def __init__(self, api_client): @@ -44,21 +44,21 @@ def __init__(self, api_client): @property def calendar(self) -> MapiCalendarApi: """ - MAPI calendar operations. + MAPI calendar operations. """ return self._calendar @property def contact(self) -> MapiContactApi: """ - MAPI contact operations + MAPI contact operations """ return self._contact @property def message(self) -> MapiMessageApi: """ - MAPI message operations + MAPI message operations """ return self._message diff --git a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py index 006bffe..fdda7ab 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py @@ -32,22 +32,27 @@ class EmailConvertRequest(object): Request model for email_convert operation. Initializes a new instance. - :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :type format: str + :param from_format: File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type from_format: str + :param to_format: File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type to_format: str :param file: File to convert :type file: str """ - def __init__(self, format: str, file: str): + def __init__(self, from_format: str, to_format: str, file: str): """ Request model for email_convert operation. Initializes a new instance. - :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef - :type format: str + :param from_format: File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type from_format: str + :param to_format: File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :type to_format: str :param file: File to convert :type file: str """ - self.format = format + self.from_format = from_format + self.to_format = to_format self.file = file diff --git a/sdk/docs/AiBcrApi_list.md b/sdk/docs/AiBcrApi_list.md index d7f4dab..26db5a6 100644 --- a/sdk/docs/AiBcrApi_list.md +++ b/sdk/docs/AiBcrApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**parse**](AiBcrApi.md#parse)| **PUT** /email/AiBcr/parse| Parse images to vCard document models diff --git a/sdk/docs/AiGroup.md b/sdk/docs/AiGroup.md index ea69666..ca00df8 100644 --- a/sdk/docs/AiGroup.md +++ b/sdk/docs/AiGroup.md @@ -1,7 +1,7 @@ # EmailCloud.Ai -AI powered operations. +AI powered operations. API | Description --- | ----------- -[EmailCloud.ai.**bcr**](AiBcrApi_list.md) | AI Business card recognition operations. -[EmailCloud.ai.**name**](AiNameApi_list.md) | AI Name operations. +[EmailCloud.ai.**bcr**](AiBcrApi_list.md) | AI Business card recognition operations. +[EmailCloud.ai.**name**](AiNameApi_list.md) | AI Name operations. diff --git a/sdk/docs/AiNameApi_list.md b/sdk/docs/AiNameApi_list.md index 026bb06..a740780 100644 --- a/sdk/docs/AiNameApi_list.md +++ b/sdk/docs/AiNameApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**complete**](AiNameApi.md#complete)| **GET** /email/AiName/complete| The call proposes k most probable names for given starting characters. diff --git a/sdk/docs/CalendarApi_list.md b/sdk/docs/CalendarApi_list.md index d13e53a..2b58338 100644 --- a/sdk/docs/CalendarApi_list.md +++ b/sdk/docs/CalendarApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**as_alternate**](CalendarApi.md#as_alternate)| **PUT** /email/Calendar/as-alternate| Convert iCalendar to AlternateView diff --git a/sdk/docs/ClientAccountApi_list.md b/sdk/docs/ClientAccountApi_list.md index 9a03e5d..a0ef72d 100644 --- a/sdk/docs/ClientAccountApi_list.md +++ b/sdk/docs/ClientAccountApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**get**](ClientAccountApi.md#get)| **GET** /email/client/account| Get email client account from storage. diff --git a/sdk/docs/ClientFolderApi_list.md b/sdk/docs/ClientFolderApi_list.md index b28a4ff..c5188a4 100644 --- a/sdk/docs/ClientFolderApi_list.md +++ b/sdk/docs/ClientFolderApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**create**](ClientFolderApi.md#create)| **PUT** /email/client/folder| Create new folder in email account diff --git a/sdk/docs/ClientGroup.md b/sdk/docs/ClientGroup.md index b50055b..31b93be 100644 --- a/sdk/docs/ClientGroup.md +++ b/sdk/docs/ClientGroup.md @@ -1,9 +1,9 @@ # EmailCloud.Client -Builtin Email client operations. +Builtin Email client operations. API | Description --- | ----------- -[EmailCloud.client.**account**](ClientAccountApi_list.md) | Email server account for built-in client operations. -[EmailCloud.client.**folder**](ClientFolderApi_list.md) | Email client folder operations. -[EmailCloud.client.**message**](ClientMessageApi_list.md) | Email client message operations. -[EmailCloud.client.**thread**](ClientThreadApi_list.md) | Email client thread operations. +[EmailCloud.client.**account**](ClientAccountApi_list.md) | Email server account for built-in client operations. +[EmailCloud.client.**folder**](ClientFolderApi_list.md) | Email client folder operations. +[EmailCloud.client.**message**](ClientMessageApi_list.md) | Email client message operations. +[EmailCloud.client.**thread**](ClientThreadApi_list.md) | Email client thread operations. diff --git a/sdk/docs/ClientMessageApi_list.md b/sdk/docs/ClientMessageApi_list.md index 77dd852..2e310c8 100644 --- a/sdk/docs/ClientMessageApi_list.md +++ b/sdk/docs/ClientMessageApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**append**](ClientMessageApi.md#append)| **POST** /email/client/message/append| Add email message to specified folder in email account. diff --git a/sdk/docs/ClientThreadApi_list.md b/sdk/docs/ClientThreadApi_list.md index a56fe48..a96ba1f 100644 --- a/sdk/docs/ClientThreadApi_list.md +++ b/sdk/docs/ClientThreadApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**delete**](ClientThreadApi.md#delete)| **DELETE** /email/client/thread| Delete thread by id. All messages from thread will also be deleted. diff --git a/sdk/docs/CloudStorageGroup.md b/sdk/docs/CloudStorageGroup.md index e3d7fbd..5ffdedb 100644 --- a/sdk/docs/CloudStorageGroup.md +++ b/sdk/docs/CloudStorageGroup.md @@ -1,5 +1,5 @@ # EmailCloud.CloudStorage -Cloud file storage operations. +Cloud file storage operations. API | Description --- | ----------- diff --git a/sdk/docs/ContactApi_list.md b/sdk/docs/ContactApi_list.md index 9d831a0..0f083e3 100644 --- a/sdk/docs/ContactApi_list.md +++ b/sdk/docs/ContactApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**as_file**](ContactApi.md#as_file)| **PUT** /email/Contact/as-file| Converts contact model to specified format and returns as file diff --git a/sdk/docs/DisposableEmailApi_list.md b/sdk/docs/DisposableEmailApi_list.md index 93b9bf2..3b00b7c 100644 --- a/sdk/docs/DisposableEmailApi_list.md +++ b/sdk/docs/DisposableEmailApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**is_disposable**](DisposableEmailApi.md#is_disposable)| **GET** /email/disposable/is-disposable| Check email address is disposable diff --git a/sdk/docs/EmailApi.md b/sdk/docs/EmailApi.md index a611001..867975b 100644 --- a/sdk/docs/EmailApi.md +++ b/sdk/docs/EmailApi.md @@ -55,13 +55,15 @@ str ### request Parameter ```python EmailConvertRequest( - format, + from_format, + to_format, file) ``` Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str** | File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **from_format** | **str** | File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **to_format** | **str** | File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | **file** | **str** | File to convert | [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailApi_list.md b/sdk/docs/EmailApi_list.md index af8da6e..e765293 100644 --- a/sdk/docs/EmailApi_list.md +++ b/sdk/docs/EmailApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**as_file**](EmailApi.md#as_file)| **PUT** /email/as-file| Converts Email model to specified format and returns as file. diff --git a/sdk/docs/EmailConfigApi_list.md b/sdk/docs/EmailConfigApi_list.md index 6db909c..b9864ac 100644 --- a/sdk/docs/EmailConfigApi_list.md +++ b/sdk/docs/EmailConfigApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**discover**](EmailConfigApi.md#discover)| **GET** /email/config/discover| Discover email accounts by email address. Does not validate discovered accounts. diff --git a/sdk/docs/FileApi_list.md b/sdk/docs/FileApi_list.md index 5ad9e2c..2e5ba59 100644 --- a/sdk/docs/FileApi_list.md +++ b/sdk/docs/FileApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**copy_file**](FileApi.md#copy_file)| **PUT** /email/storage/file/copy/{srcPath}| Copy file diff --git a/sdk/docs/FolderApi_list.md b/sdk/docs/FolderApi_list.md index 4a8b48b..942da5b 100644 --- a/sdk/docs/FolderApi_list.md +++ b/sdk/docs/FolderApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**copy_folder**](FolderApi.md#copy_folder)| **PUT** /email/storage/folder/copy/{srcPath}| Copy folder diff --git a/sdk/docs/MapiCalendarApi_list.md b/sdk/docs/MapiCalendarApi_list.md index 3c583a9..3de251c 100644 --- a/sdk/docs/MapiCalendarApi_list.md +++ b/sdk/docs/MapiCalendarApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**as_calendar_dto**](MapiCalendarApi.md#as_calendar_dto)| **PUT** /email/MapiCalendar/as-calendar-dto| Converts MAPI calendar model to CalendarDto model. diff --git a/sdk/docs/MapiContactApi_list.md b/sdk/docs/MapiContactApi_list.md index 76b3c07..a9ba54b 100644 --- a/sdk/docs/MapiContactApi_list.md +++ b/sdk/docs/MapiContactApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**as_contact_dto**](MapiContactApi.md#as_contact_dto)| **PUT** /email/MapiContact/as-contact-dto| Converts MAPI contact model to ContactDto model. diff --git a/sdk/docs/MapiGroup.md b/sdk/docs/MapiGroup.md index 9b75e53..1e8aa05 100644 --- a/sdk/docs/MapiGroup.md +++ b/sdk/docs/MapiGroup.md @@ -1,8 +1,8 @@ # EmailCloud.Mapi -MAPI operations. +MAPI operations. API | Description --- | ----------- -[EmailCloud.mapi.**calendar**](MapiCalendarApi_list.md) | MAPI calendar operations. -[EmailCloud.mapi.**contact**](MapiContactApi_list.md) | MAPI contact operations -[EmailCloud.mapi.**message**](MapiMessageApi_list.md) | MAPI message operations +[EmailCloud.mapi.**calendar**](MapiCalendarApi_list.md) | MAPI calendar operations. +[EmailCloud.mapi.**contact**](MapiContactApi_list.md) | MAPI contact operations +[EmailCloud.mapi.**message**](MapiMessageApi_list.md) | MAPI message operations diff --git a/sdk/docs/MapiMessageApi_list.md b/sdk/docs/MapiMessageApi_list.md index 7f8c321..9df24f4 100644 --- a/sdk/docs/MapiMessageApi_list.md +++ b/sdk/docs/MapiMessageApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**as_email_dto**](MapiMessageApi.md#as_email_dto)| **PUT** /email/MapiMessage/as-email-dto| Converts MAPI message model to EmailDto model diff --git a/sdk/docs/README.md b/sdk/docs/README.md index d62a43f..4b009fe 100644 --- a/sdk/docs/README.md +++ b/sdk/docs/README.md @@ -14,15 +14,15 @@ All Aspose.Email Cloud functions are divided into groups and represented as `Ema API | Description --- | ----------- -[EmailCloud.**mapi**](MapiGroup.md) | MAPI operations. -[EmailCloud.**client**](ClientGroup.md) | Builtin Email client operations. -[EmailCloud.**ai**](AiGroup.md) | AI powered operations. -[EmailCloud.**cloud_storage**](CloudStorageGroup.md) | Cloud file storage operations. -[EmailCloud.**calendar**](CalendarApi_list.md) | iCalendar document operations. -[EmailCloud.**contact**](ContactApi_list.md) | Contact document operations. Supported formats: VCard, MSG, WebDav -[EmailCloud.**email**](EmailApi_list.md) | Email document (*.eml) operations. -[EmailCloud.**disposable_email**](DisposableEmailApi_list.md) | Check email address is disposable operations -[EmailCloud.**email_config**](EmailConfigApi_list.md) | Email server configuration discovery. +[EmailCloud.**mapi**](MapiGroup.md) | MAPI operations. +[EmailCloud.**client**](ClientGroup.md) | Builtin Email client operations. +[EmailCloud.**ai**](AiGroup.md) | AI powered operations. +[EmailCloud.**cloud_storage**](CloudStorageGroup.md) | Cloud file storage operations. +[EmailCloud.**calendar**](CalendarApi_list.md) | iCalendar document operations. +[EmailCloud.**contact**](ContactApi_list.md) | Contact document operations. Supported formats: VCard, MSG, WebDav +[EmailCloud.**email**](EmailApi_list.md) | Email document (*.eml) operations. +[EmailCloud.**disposable_email**](DisposableEmailApi_list.md) | Check email address is disposable operations +[EmailCloud.**email_config**](EmailConfigApi_list.md) | Email server configuration discovery. List of all available models is available in [Models.md](Models.md) file. \ No newline at end of file diff --git a/sdk/docs/StorageApi_list.md b/sdk/docs/StorageApi_list.md index 88f692d..29212a2 100644 --- a/sdk/docs/StorageApi_list.md +++ b/sdk/docs/StorageApi_list.md @@ -3,8 +3,6 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* -All methods have Async versions. These async versions are not available on .NETFramework v2.0. - Method | HTTP request | Description ------------- | ------------- | ------------- [**get_disc_usage**](StorageApi.md#get_disc_usage)| **GET** /email/storage/disc| Get disc usage diff --git a/sdk/setup.py b/sdk/setup.py index a7c216e..cba9445 100644 --- a/sdk/setup.py +++ b/sdk/setup.py @@ -8,7 +8,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "aspose-email-cloud" -VERSION = "20.7.0.0" +VERSION = "20.9.0.0" # To install the library, run the following # # python setup.py install diff --git a/tests/tests/email_test.py b/tests/tests/email_test.py index 216743a..19c43e5 100644 --- a/tests/tests/email_test.py +++ b/tests/tests/email_test.py @@ -13,7 +13,7 @@ def test_email_converter(td: EmailApiData): email_document = email_dto() mapi = td.api.email.as_file(models.EmailAsFileRequest('Msg', email_document)) - eml = td.api.email.convert(models.EmailConvertRequest('Eml', mapi)) + eml = td.api.email.convert(models.EmailConvertRequest('Msg', 'Eml', mapi)) with open(eml, 'r') as f: file_data = f.read() assert email_document._from.address in file_data From d2c41bc917d43f137c2288e808392872a70f3733 Mon Sep 17 00:00:00 2001 From: "Aspose.Email Team" Date: Wed, 26 Aug 2020 16:01:36 -0500 Subject: [PATCH 17/20] SDK version 20.9.0.136 generated --- .../api/cloud_storage_group.py | 6 +-- sdk/AsposeEmailCloudSdk/api/file_api.py | 10 ++-- sdk/AsposeEmailCloudSdk/api/folder_api.py | 10 ++-- sdk/AsposeEmailCloudSdk/api/storage_api.py | 8 ++-- .../models/copy_file_request.py | 20 ++++---- .../models/copy_folder_request.py | 16 +++---- .../models/create_folder_request.py | 8 ++-- .../models/delete_file_request.py | 12 ++--- .../models/delete_folder_request.py | 12 ++--- sdk/AsposeEmailCloudSdk/models/disc_usage.py | 16 +++---- .../models/download_file_request.py | 12 ++--- sdk/AsposeEmailCloudSdk/models/error.py | 28 +++++------ .../models/error_details.py | 16 +++---- .../models/file_version.py | 26 +++++------ .../models/file_versions.py | 10 ++-- sdk/AsposeEmailCloudSdk/models/files_list.py | 10 ++-- .../models/files_upload_result.py | 16 +++---- .../models/get_disc_usage_request.py | 4 +- .../models/get_file_versions_request.py | 8 ++-- .../models/get_files_list_request.py | 8 ++-- .../models/move_file_request.py | 20 ++++---- .../models/move_folder_request.py | 16 +++---- .../models/object_exist.py | 16 +++---- .../models/object_exists_request.py | 12 ++--- .../models/storage_exist.py | 10 ++-- .../models/storage_exists_request.py | 4 +- .../models/storage_file.py | 34 +++++++------- .../models/upload_file_request.py | 8 ++-- sdk/docs/CloudStorageGroup.md | 6 +-- sdk/docs/DiscUsage.md | 4 +- sdk/docs/Error.md | 8 ++-- sdk/docs/ErrorDetails.md | 4 +- sdk/docs/FileApi.md | 46 +++++++++---------- sdk/docs/FileApi_list.md | 10 ++-- sdk/docs/FileVersion.md | 4 +- sdk/docs/FileVersions.md | 2 +- sdk/docs/FilesList.md | 2 +- sdk/docs/FilesUploadResult.md | 4 +- sdk/docs/FolderApi.md | 40 ++++++++-------- sdk/docs/FolderApi_list.md | 10 ++-- sdk/docs/ObjectExist.md | 4 +- sdk/docs/StorageApi.md | 22 ++++----- sdk/docs/StorageApi_list.md | 8 ++-- sdk/docs/StorageExist.md | 2 +- sdk/docs/StorageFile.md | 10 ++-- sdk/setup.py | 2 +- 46 files changed, 282 insertions(+), 282 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py b/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py index 9cde578..918fea6 100644 --- a/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py +++ b/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py @@ -44,21 +44,21 @@ def __init__(self, api_client): @property def file(self) -> FileApi: """ - File operations controller + """ return self._file @property def folder(self) -> FolderApi: """ - Folder operations controller + """ return self._folder @property def storage(self) -> StorageApi: """ - Storage operations controller + """ return self._storage diff --git a/sdk/AsposeEmailCloudSdk/api/file_api.py b/sdk/AsposeEmailCloudSdk/api/file_api.py index 7157871..2ee9d6e 100644 --- a/sdk/AsposeEmailCloudSdk/api/file_api.py +++ b/sdk/AsposeEmailCloudSdk/api/file_api.py @@ -40,7 +40,7 @@ def __init__(self, api_client): super(FileApi, self).__init__(api_client) def copy_file(self, request: CopyFileRequest): - """Copy file + """copy_file :param request: CopyFileRequest object with parameters @@ -107,7 +107,7 @@ def copy_file(self, request: CopyFileRequest): return self._make_request(http_request_object, 'PUT', None) def delete_file(self, request: DeleteFileRequest): - """Delete file + """delete_file :param request: DeleteFileRequest object with parameters @@ -159,7 +159,7 @@ def delete_file(self, request: DeleteFileRequest): return self._make_request(http_request_object, 'DELETE', None) def download_file(self, request: DownloadFileRequest) -> str: - """Download file + """download_file :param request: DownloadFileRequest object with parameters @@ -211,7 +211,7 @@ def download_file(self, request: DownloadFileRequest) -> str: return self._make_request(http_request_object, 'GET', 'file') def move_file(self, request: MoveFileRequest): - """Move file + """move_file :param request: MoveFileRequest object with parameters @@ -278,7 +278,7 @@ def move_file(self, request: MoveFileRequest): return self._make_request(http_request_object, 'PUT', None) def upload_file(self, request: UploadFileRequest) -> FilesUploadResult: - """Upload file + """upload_file :param request: UploadFileRequest object with parameters diff --git a/sdk/AsposeEmailCloudSdk/api/folder_api.py b/sdk/AsposeEmailCloudSdk/api/folder_api.py index bb53fd9..2e5206a 100644 --- a/sdk/AsposeEmailCloudSdk/api/folder_api.py +++ b/sdk/AsposeEmailCloudSdk/api/folder_api.py @@ -40,7 +40,7 @@ def __init__(self, api_client): super(FolderApi, self).__init__(api_client) def copy_folder(self, request: CopyFolderRequest): - """Copy folder + """copy_folder :param request: CopyFolderRequest object with parameters @@ -101,7 +101,7 @@ def copy_folder(self, request: CopyFolderRequest): return self._make_request(http_request_object, 'PUT', None) def create_folder(self, request: CreateFolderRequest): - """Create the folder + """create_folder :param request: CreateFolderRequest object with parameters @@ -147,7 +147,7 @@ def create_folder(self, request: CreateFolderRequest): return self._make_request(http_request_object, 'PUT', None) def delete_folder(self, request: DeleteFolderRequest): - """Delete folder + """delete_folder :param request: DeleteFolderRequest object with parameters @@ -199,7 +199,7 @@ def delete_folder(self, request: DeleteFolderRequest): return self._make_request(http_request_object, 'DELETE', None) def get_files_list(self, request: GetFilesListRequest) -> FilesList: - """Get all files and folders within a folder + """get_files_list :param request: GetFilesListRequest object with parameters @@ -245,7 +245,7 @@ def get_files_list(self, request: GetFilesListRequest) -> FilesList: return self._make_request(http_request_object, 'GET', 'FilesList') def move_folder(self, request: MoveFolderRequest): - """Move folder + """move_folder :param request: MoveFolderRequest object with parameters diff --git a/sdk/AsposeEmailCloudSdk/api/storage_api.py b/sdk/AsposeEmailCloudSdk/api/storage_api.py index aa230b1..6203ff2 100644 --- a/sdk/AsposeEmailCloudSdk/api/storage_api.py +++ b/sdk/AsposeEmailCloudSdk/api/storage_api.py @@ -40,7 +40,7 @@ def __init__(self, api_client): super(StorageApi, self).__init__(api_client) def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: - """Get disc usage + """get_disc_usage :param request: GetDiscUsageRequest object with parameters @@ -81,7 +81,7 @@ def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: return self._make_request(http_request_object, 'GET', 'DiscUsage') def get_file_versions(self, request: GetFileVersionsRequest) -> FileVersions: - """Get file versions + """get_file_versions :param request: GetFileVersionsRequest object with parameters @@ -127,7 +127,7 @@ def get_file_versions(self, request: GetFileVersionsRequest) -> FileVersions: return self._make_request(http_request_object, 'GET', 'FileVersions') def object_exists(self, request: ObjectExistsRequest) -> ObjectExist: - """Check if file or folder exists + """object_exists :param request: ObjectExistsRequest object with parameters @@ -179,7 +179,7 @@ def object_exists(self, request: ObjectExistsRequest) -> ObjectExist: return self._make_request(http_request_object, 'GET', 'ObjectExist') def exists(self, request: StorageExistsRequest) -> StorageExist: - """Check if storage exists + """exists :param request: StorageExistsRequest object with parameters diff --git a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py index 37f890b..f7acd09 100644 --- a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py @@ -32,15 +32,15 @@ class CopyFileRequest(object): Request model for copy_file operation. Initializes a new instance. - :param src_path: Source file path e.g. '/folder/file.ext' + :param src_path: :type src_path: str - :param dest_path: Destination file path + :param dest_path: :type dest_path: str - :param src_storage_name: Source storage name + :param src_storage_name: :type src_storage_name: str - :param dest_storage_name: Destination storage name + :param dest_storage_name: :type dest_storage_name: str - :param version_id: File version ID to copy + :param version_id: :type version_id: str """ @@ -49,15 +49,15 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for copy_file operation. Initializes a new instance. - :param src_path: Source file path e.g. '/folder/file.ext' + :param src_path: :type src_path: str - :param dest_path: Destination file path + :param dest_path: :type dest_path: str - :param src_storage_name: Source storage name + :param src_storage_name: :type src_storage_name: str - :param dest_storage_name: Destination storage name + :param dest_storage_name: :type dest_storage_name: str - :param version_id: File version ID to copy + :param version_id: :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py index 4e4cf1c..4cb9916 100644 --- a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py @@ -32,13 +32,13 @@ class CopyFolderRequest(object): Request model for copy_folder operation. Initializes a new instance. - :param src_path: Source folder path e.g. '/src' + :param src_path: :type src_path: str - :param dest_path: Destination folder path e.g. '/dst' + :param dest_path: :type dest_path: str - :param src_storage_name: Source storage name + :param src_storage_name: :type src_storage_name: str - :param dest_storage_name: Destination storage name + :param dest_storage_name: :type dest_storage_name: str """ @@ -47,13 +47,13 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for copy_folder operation. Initializes a new instance. - :param src_path: Source folder path e.g. '/src' + :param src_path: :type src_path: str - :param dest_path: Destination folder path e.g. '/dst' + :param dest_path: :type dest_path: str - :param src_storage_name: Source storage name + :param src_storage_name: :type src_storage_name: str - :param dest_storage_name: Destination storage name + :param dest_storage_name: :type dest_storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py index 10bb3c3..8bdd3bb 100644 --- a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py @@ -32,9 +32,9 @@ class CreateFolderRequest(object): Request model for create_folder operation. Initializes a new instance. - :param path: Folder path to create e.g. 'folder_1/folder_2/' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ @@ -43,9 +43,9 @@ def __init__(self, path: str, storage_name: str = None): Request model for create_folder operation. Initializes a new instance. - :param path: Folder path to create e.g. 'folder_1/folder_2/' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py index 8584eae..9fcc927 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py @@ -32,11 +32,11 @@ class DeleteFileRequest(object): Request model for delete_file operation. Initializes a new instance. - :param path: File path e.g. '/folder/file.ext' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str - :param version_id: File version ID to delete + :param version_id: :type version_id: str """ @@ -45,11 +45,11 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for delete_file operation. Initializes a new instance. - :param path: File path e.g. '/folder/file.ext' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str - :param version_id: File version ID to delete + :param version_id: :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py index 8d4bfe4..ff5afa0 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py @@ -32,11 +32,11 @@ class DeleteFolderRequest(object): Request model for delete_folder operation. Initializes a new instance. - :param path: Folder path e.g. '/folder' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str - :param recursive: Enable to delete folders, subfolders and files + :param recursive: :type recursive: bool """ @@ -45,11 +45,11 @@ def __init__(self, path: str, storage_name: str = None, recursive: bool = None): Request model for delete_folder operation. Initializes a new instance. - :param path: Folder path e.g. '/folder' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str - :param recursive: Enable to delete folders, subfolders and files + :param recursive: :type recursive: bool """ diff --git a/sdk/AsposeEmailCloudSdk/models/disc_usage.py b/sdk/AsposeEmailCloudSdk/models/disc_usage.py index 3e5e53b..8717dc7 100644 --- a/sdk/AsposeEmailCloudSdk/models/disc_usage.py +++ b/sdk/AsposeEmailCloudSdk/models/disc_usage.py @@ -32,7 +32,7 @@ class DiscUsage(object): - """Class for disc space information. + """ """ """ @@ -54,10 +54,10 @@ class DiscUsage(object): def __init__(self, used_size: int = None, total_size: int = None): """ - Class for disc space information. - :param used_size: Application used disc space. + + :param used_size: :type used_size: int - :param total_size: Total disc space. + :param total_size: :type total_size: int """ @@ -73,7 +73,7 @@ def __init__(self, used_size: int = None, total_size: int = None): @property def used_size(self) -> int: """ - Application used disc space. + Gets the used_size of this DiscUsage. :return: The used_size of this DiscUsage. :rtype: int @@ -83,7 +83,7 @@ def used_size(self) -> int: @used_size.setter def used_size(self, used_size: int): """ - Application used disc space. + Sets the used_size of this DiscUsage. :param used_size: The used_size of this DiscUsage. :type: int @@ -95,7 +95,7 @@ def used_size(self, used_size: int): @property def total_size(self) -> int: """ - Total disc space. + Gets the total_size of this DiscUsage. :return: The total_size of this DiscUsage. :rtype: int @@ -105,7 +105,7 @@ def total_size(self) -> int: @total_size.setter def total_size(self, total_size: int): """ - Total disc space. + Sets the total_size of this DiscUsage. :param total_size: The total_size of this DiscUsage. :type: int diff --git a/sdk/AsposeEmailCloudSdk/models/download_file_request.py b/sdk/AsposeEmailCloudSdk/models/download_file_request.py index d276ce8..9fb63ec 100644 --- a/sdk/AsposeEmailCloudSdk/models/download_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/download_file_request.py @@ -32,11 +32,11 @@ class DownloadFileRequest(object): Request model for download_file operation. Initializes a new instance. - :param path: File path e.g. '/folder/file.ext' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str - :param version_id: File version ID to download + :param version_id: :type version_id: str """ @@ -45,11 +45,11 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for download_file operation. Initializes a new instance. - :param path: File path e.g. '/folder/file.ext' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str - :param version_id: File version ID to download + :param version_id: :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/error.py b/sdk/AsposeEmailCloudSdk/models/error.py index f522337..aea30ae 100644 --- a/sdk/AsposeEmailCloudSdk/models/error.py +++ b/sdk/AsposeEmailCloudSdk/models/error.py @@ -34,7 +34,7 @@ class Error(object): - """Error + """ """ """ @@ -60,14 +60,14 @@ class Error(object): def __init__(self, code: str = None, message: str = None, description: str = None, inner_error: ErrorDetails = None): """ - Error - :param code: Code + + :param code: :type code: str - :param message: Message + :param message: :type message: str - :param description: Description + :param description: :type description: str - :param inner_error: Inner Error + :param inner_error: :type inner_error: ErrorDetails """ @@ -89,7 +89,7 @@ def __init__(self, code: str = None, message: str = None, description: str = Non @property def code(self) -> str: """ - Code + Gets the code of this Error. :return: The code of this Error. :rtype: str @@ -99,7 +99,7 @@ def code(self) -> str: @code.setter def code(self, code: str): """ - Code + Sets the code of this Error. :param code: The code of this Error. :type: str @@ -109,7 +109,7 @@ def code(self, code: str): @property def message(self) -> str: """ - Message + Gets the message of this Error. :return: The message of this Error. :rtype: str @@ -119,7 +119,7 @@ def message(self) -> str: @message.setter def message(self, message: str): """ - Message + Sets the message of this Error. :param message: The message of this Error. :type: str @@ -129,7 +129,7 @@ def message(self, message: str): @property def description(self) -> str: """ - Description + Gets the description of this Error. :return: The description of this Error. :rtype: str @@ -139,7 +139,7 @@ def description(self) -> str: @description.setter def description(self, description: str): """ - Description + Sets the description of this Error. :param description: The description of this Error. :type: str @@ -149,7 +149,7 @@ def description(self, description: str): @property def inner_error(self) -> ErrorDetails: """ - Inner Error + Gets the inner_error of this Error. :return: The inner_error of this Error. :rtype: ErrorDetails @@ -159,7 +159,7 @@ def inner_error(self) -> ErrorDetails: @inner_error.setter def inner_error(self, inner_error: ErrorDetails): """ - Inner Error + Sets the inner_error of this Error. :param inner_error: The inner_error of this Error. :type: ErrorDetails diff --git a/sdk/AsposeEmailCloudSdk/models/error_details.py b/sdk/AsposeEmailCloudSdk/models/error_details.py index c3d4b26..6165401 100644 --- a/sdk/AsposeEmailCloudSdk/models/error_details.py +++ b/sdk/AsposeEmailCloudSdk/models/error_details.py @@ -32,7 +32,7 @@ class ErrorDetails(object): - """The error details + """ """ """ @@ -54,10 +54,10 @@ class ErrorDetails(object): def __init__(self, request_id: str = None, _date: datetime = None): """ - The error details - :param request_id: The request id + + :param request_id: :type request_id: str - :param _date: Date + :param _date: :type _date: datetime """ @@ -73,7 +73,7 @@ def __init__(self, request_id: str = None, _date: datetime = None): @property def request_id(self) -> str: """ - The request id + Gets the request_id of this ErrorDetails. :return: The request_id of this ErrorDetails. :rtype: str @@ -83,7 +83,7 @@ def request_id(self) -> str: @request_id.setter def request_id(self, request_id: str): """ - The request id + Sets the request_id of this ErrorDetails. :param request_id: The request_id of this ErrorDetails. :type: str @@ -93,7 +93,7 @@ def request_id(self, request_id: str): @property def _date(self) -> datetime: """ - Date + Gets the _date of this ErrorDetails. :return: The _date of this ErrorDetails. :rtype: datetime @@ -103,7 +103,7 @@ def _date(self) -> datetime: @_date.setter def _date(self, _date: datetime): """ - Date + Sets the _date of this ErrorDetails. :param _date: The _date of this ErrorDetails. :type: datetime diff --git a/sdk/AsposeEmailCloudSdk/models/file_version.py b/sdk/AsposeEmailCloudSdk/models/file_version.py index 72254eb..5191fb5 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_version.py +++ b/sdk/AsposeEmailCloudSdk/models/file_version.py @@ -34,7 +34,7 @@ class FileVersion(StorageFile): - """File Version + """ """ """ @@ -66,20 +66,20 @@ class FileVersion(StorageFile): def __init__(self, name: str = None, is_folder: bool = None, modified_date: datetime = None, size: int = None, path: str = None, version_id: str = None, is_latest: bool = None): """ - File Version - :param name: File or folder name. + + :param name: :type name: str - :param is_folder: True if it is a folder. + :param is_folder: :type is_folder: bool - :param modified_date: File or folder last modified DateTime. + :param modified_date: :type modified_date: datetime - :param size: File or folder size. + :param size: :type size: int - :param path: File or folder path. + :param path: :type path: str - :param version_id: File Version ID. + :param version_id: :type version_id: str - :param is_latest: Specifies whether the file is (true) or is not (false) the latest version of an file. + :param is_latest: :type is_latest: bool """ super(FileVersion, self).__init__() @@ -106,7 +106,7 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date @property def version_id(self) -> str: """ - File Version ID. + Gets the version_id of this FileVersion. :return: The version_id of this FileVersion. :rtype: str @@ -116,7 +116,7 @@ def version_id(self) -> str: @version_id.setter def version_id(self, version_id: str): """ - File Version ID. + Sets the version_id of this FileVersion. :param version_id: The version_id of this FileVersion. :type: str @@ -126,7 +126,7 @@ def version_id(self, version_id: str): @property def is_latest(self) -> bool: """ - Specifies whether the file is (true) or is not (false) the latest version of an file. + Gets the is_latest of this FileVersion. :return: The is_latest of this FileVersion. :rtype: bool @@ -136,7 +136,7 @@ def is_latest(self) -> bool: @is_latest.setter def is_latest(self, is_latest: bool): """ - Specifies whether the file is (true) or is not (false) the latest version of an file. + Sets the is_latest of this FileVersion. :param is_latest: The is_latest of this FileVersion. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/file_versions.py b/sdk/AsposeEmailCloudSdk/models/file_versions.py index 6bb92a0..a218d90 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_versions.py +++ b/sdk/AsposeEmailCloudSdk/models/file_versions.py @@ -34,7 +34,7 @@ class FileVersions(object): - """File versions FileVersion. + """ """ """ @@ -54,8 +54,8 @@ class FileVersions(object): def __init__(self, value: List[FileVersion] = None): """ - File versions FileVersion. - :param value: File versions FileVersion. + + :param value: :type value: List[FileVersion] """ @@ -68,7 +68,7 @@ def __init__(self, value: List[FileVersion] = None): @property def value(self) -> List[FileVersion]: """ - File versions FileVersion. + Gets the value of this FileVersions. :return: The value of this FileVersions. :rtype: list[FileVersion] @@ -78,7 +78,7 @@ def value(self) -> List[FileVersion]: @value.setter def value(self, value: List[FileVersion]): """ - File versions FileVersion. + Sets the value of this FileVersions. :param value: The value of this FileVersions. :type: list[FileVersion] diff --git a/sdk/AsposeEmailCloudSdk/models/files_list.py b/sdk/AsposeEmailCloudSdk/models/files_list.py index 04560f8..f00702a 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_list.py +++ b/sdk/AsposeEmailCloudSdk/models/files_list.py @@ -34,7 +34,7 @@ class FilesList(object): - """Files list + """ """ """ @@ -54,8 +54,8 @@ class FilesList(object): def __init__(self, value: List[StorageFile] = None): """ - Files list - :param value: Files and folders contained by folder StorageFile. + + :param value: :type value: List[StorageFile] """ @@ -68,7 +68,7 @@ def __init__(self, value: List[StorageFile] = None): @property def value(self) -> List[StorageFile]: """ - Files and folders contained by folder StorageFile. + Gets the value of this FilesList. :return: The value of this FilesList. :rtype: list[StorageFile] @@ -78,7 +78,7 @@ def value(self) -> List[StorageFile]: @value.setter def value(self, value: List[StorageFile]): """ - Files and folders contained by folder StorageFile. + Sets the value of this FilesList. :param value: The value of this FilesList. :type: list[StorageFile] diff --git a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py index 5eaa38c..38236c7 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py +++ b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py @@ -34,7 +34,7 @@ class FilesUploadResult(object): - """File upload result + """ """ """ @@ -56,10 +56,10 @@ class FilesUploadResult(object): def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): """ - File upload result - :param uploaded: List of uploaded file names + + :param uploaded: :type uploaded: List[str] - :param errors: List of errors. + :param errors: :type errors: List[Error] """ @@ -75,7 +75,7 @@ def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): @property def uploaded(self) -> List[str]: """ - List of uploaded file names + Gets the uploaded of this FilesUploadResult. :return: The uploaded of this FilesUploadResult. :rtype: list[str] @@ -85,7 +85,7 @@ def uploaded(self) -> List[str]: @uploaded.setter def uploaded(self, uploaded: List[str]): """ - List of uploaded file names + Sets the uploaded of this FilesUploadResult. :param uploaded: The uploaded of this FilesUploadResult. :type: list[str] @@ -95,7 +95,7 @@ def uploaded(self, uploaded: List[str]): @property def errors(self) -> List[Error]: """ - List of errors. + Gets the errors of this FilesUploadResult. :return: The errors of this FilesUploadResult. :rtype: list[Error] @@ -105,7 +105,7 @@ def errors(self) -> List[Error]: @errors.setter def errors(self, errors: List[Error]): """ - List of errors. + Sets the errors of this FilesUploadResult. :param errors: The errors of this FilesUploadResult. :type: list[Error] diff --git a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py index 837d42e..121d3ef 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py @@ -32,7 +32,7 @@ class GetDiscUsageRequest(object): Request model for get_disc_usage operation. Initializes a new instance. - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ @@ -41,7 +41,7 @@ def __init__(self, storage_name: str = None): Request model for get_disc_usage operation. Initializes a new instance. - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py index a635dd1..e51291f 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py @@ -32,9 +32,9 @@ class GetFileVersionsRequest(object): Request model for get_file_versions operation. Initializes a new instance. - :param path: File path e.g. '/file.ext' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ @@ -43,9 +43,9 @@ def __init__(self, path: str, storage_name: str = None): Request model for get_file_versions operation. Initializes a new instance. - :param path: File path e.g. '/file.ext' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py index 5148542..625d8b1 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py @@ -32,9 +32,9 @@ class GetFilesListRequest(object): Request model for get_files_list operation. Initializes a new instance. - :param path: Folder path e.g. '/folder' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ @@ -43,9 +43,9 @@ def __init__(self, path: str, storage_name: str = None): Request model for get_files_list operation. Initializes a new instance. - :param path: Folder path e.g. '/folder' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/move_file_request.py b/sdk/AsposeEmailCloudSdk/models/move_file_request.py index 779fca4..aa3a456 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/move_file_request.py @@ -32,15 +32,15 @@ class MoveFileRequest(object): Request model for move_file operation. Initializes a new instance. - :param src_path: Source file path e.g. '/src.ext' + :param src_path: :type src_path: str - :param dest_path: Destination file path e.g. '/dest.ext' + :param dest_path: :type dest_path: str - :param src_storage_name: Source storage name + :param src_storage_name: :type src_storage_name: str - :param dest_storage_name: Destination storage name + :param dest_storage_name: :type dest_storage_name: str - :param version_id: File version ID to move + :param version_id: :type version_id: str """ @@ -49,15 +49,15 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for move_file operation. Initializes a new instance. - :param src_path: Source file path e.g. '/src.ext' + :param src_path: :type src_path: str - :param dest_path: Destination file path e.g. '/dest.ext' + :param dest_path: :type dest_path: str - :param src_storage_name: Source storage name + :param src_storage_name: :type src_storage_name: str - :param dest_storage_name: Destination storage name + :param dest_storage_name: :type dest_storage_name: str - :param version_id: File version ID to move + :param version_id: :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py index 77c6c23..b180f39 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py @@ -32,13 +32,13 @@ class MoveFolderRequest(object): Request model for move_folder operation. Initializes a new instance. - :param src_path: Folder path to move e.g. '/folder' + :param src_path: :type src_path: str - :param dest_path: Destination folder path to move to e.g '/dst' + :param dest_path: :type dest_path: str - :param src_storage_name: Source storage name + :param src_storage_name: :type src_storage_name: str - :param dest_storage_name: Destination storage name + :param dest_storage_name: :type dest_storage_name: str """ @@ -47,13 +47,13 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for move_folder operation. Initializes a new instance. - :param src_path: Folder path to move e.g. '/folder' + :param src_path: :type src_path: str - :param dest_path: Destination folder path to move to e.g '/dst' + :param dest_path: :type dest_path: str - :param src_storage_name: Source storage name + :param src_storage_name: :type src_storage_name: str - :param dest_storage_name: Destination storage name + :param dest_storage_name: :type dest_storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/object_exist.py b/sdk/AsposeEmailCloudSdk/models/object_exist.py index 1c47b9f..e21ef46 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exist.py @@ -32,7 +32,7 @@ class ObjectExist(object): - """Object exists + """ """ """ @@ -54,10 +54,10 @@ class ObjectExist(object): def __init__(self, exists: bool = None, is_folder: bool = None): """ - Object exists - :param exists: Indicates that the file or folder exists. + + :param exists: :type exists: bool - :param is_folder: True if it is a folder, false if it is a file. + :param is_folder: :type is_folder: bool """ @@ -73,7 +73,7 @@ def __init__(self, exists: bool = None, is_folder: bool = None): @property def exists(self) -> bool: """ - Indicates that the file or folder exists. + Gets the exists of this ObjectExist. :return: The exists of this ObjectExist. :rtype: bool @@ -83,7 +83,7 @@ def exists(self) -> bool: @exists.setter def exists(self, exists: bool): """ - Indicates that the file or folder exists. + Sets the exists of this ObjectExist. :param exists: The exists of this ObjectExist. :type: bool @@ -95,7 +95,7 @@ def exists(self, exists: bool): @property def is_folder(self) -> bool: """ - True if it is a folder, false if it is a file. + Gets the is_folder of this ObjectExist. :return: The is_folder of this ObjectExist. :rtype: bool @@ -105,7 +105,7 @@ def is_folder(self) -> bool: @is_folder.setter def is_folder(self, is_folder: bool): """ - True if it is a folder, false if it is a file. + Sets the is_folder of this ObjectExist. :param is_folder: The is_folder of this ObjectExist. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py index 7944ce2..4b852b4 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py @@ -32,11 +32,11 @@ class ObjectExistsRequest(object): Request model for object_exists operation. Initializes a new instance. - :param path: File or folder path e.g. '/file.ext' or '/folder' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str - :param version_id: File version ID + :param version_id: :type version_id: str """ @@ -45,11 +45,11 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for object_exists operation. Initializes a new instance. - :param path: File or folder path e.g. '/file.ext' or '/folder' + :param path: :type path: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str - :param version_id: File version ID + :param version_id: :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exist.py b/sdk/AsposeEmailCloudSdk/models/storage_exist.py index b27b610..27ef618 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exist.py @@ -32,7 +32,7 @@ class StorageExist(object): - """Storage exists + """ """ """ @@ -52,8 +52,8 @@ class StorageExist(object): def __init__(self, exists: bool = None): """ - Storage exists - :param exists: Shows that the storage exists. + + :param exists: :type exists: bool """ @@ -66,7 +66,7 @@ def __init__(self, exists: bool = None): @property def exists(self) -> bool: """ - Shows that the storage exists. + Gets the exists of this StorageExist. :return: The exists of this StorageExist. :rtype: bool @@ -76,7 +76,7 @@ def exists(self) -> bool: @exists.setter def exists(self, exists: bool): """ - Shows that the storage exists. + Sets the exists of this StorageExist. :param exists: The exists of this StorageExist. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py index 0437cba..bb9b69b 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py @@ -32,7 +32,7 @@ class StorageExistsRequest(object): Request model for storage_exists operation. Initializes a new instance. - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ @@ -41,7 +41,7 @@ def __init__(self, storage_name: str): Request model for storage_exists operation. Initializes a new instance. - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file.py b/sdk/AsposeEmailCloudSdk/models/storage_file.py index c280d17..5048585 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file.py @@ -32,7 +32,7 @@ class StorageFile(object): - """File or folder information + """ """ """ @@ -60,16 +60,16 @@ class StorageFile(object): def __init__(self, name: str = None, is_folder: bool = None, modified_date: datetime = None, size: int = None, path: str = None): """ - File or folder information - :param name: File or folder name. + + :param name: :type name: str - :param is_folder: True if it is a folder. + :param is_folder: :type is_folder: bool - :param modified_date: File or folder last modified DateTime. + :param modified_date: :type modified_date: datetime - :param size: File or folder size. + :param size: :type size: int - :param path: File or folder path. + :param path: :type path: str """ @@ -94,7 +94,7 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date @property def name(self) -> str: """ - File or folder name. + Gets the name of this StorageFile. :return: The name of this StorageFile. :rtype: str @@ -104,7 +104,7 @@ def name(self) -> str: @name.setter def name(self, name: str): """ - File or folder name. + Sets the name of this StorageFile. :param name: The name of this StorageFile. :type: str @@ -114,7 +114,7 @@ def name(self, name: str): @property def is_folder(self) -> bool: """ - True if it is a folder. + Gets the is_folder of this StorageFile. :return: The is_folder of this StorageFile. :rtype: bool @@ -124,7 +124,7 @@ def is_folder(self) -> bool: @is_folder.setter def is_folder(self, is_folder: bool): """ - True if it is a folder. + Sets the is_folder of this StorageFile. :param is_folder: The is_folder of this StorageFile. :type: bool @@ -136,7 +136,7 @@ def is_folder(self, is_folder: bool): @property def modified_date(self) -> datetime: """ - File or folder last modified DateTime. + Gets the modified_date of this StorageFile. :return: The modified_date of this StorageFile. :rtype: datetime @@ -146,7 +146,7 @@ def modified_date(self) -> datetime: @modified_date.setter def modified_date(self, modified_date: datetime): """ - File or folder last modified DateTime. + Sets the modified_date of this StorageFile. :param modified_date: The modified_date of this StorageFile. :type: datetime @@ -156,7 +156,7 @@ def modified_date(self, modified_date: datetime): @property def size(self) -> int: """ - File or folder size. + Gets the size of this StorageFile. :return: The size of this StorageFile. :rtype: int @@ -166,7 +166,7 @@ def size(self) -> int: @size.setter def size(self, size: int): """ - File or folder size. + Sets the size of this StorageFile. :param size: The size of this StorageFile. :type: int @@ -178,7 +178,7 @@ def size(self, size: int): @property def path(self) -> str: """ - File or folder path. + Gets the path of this StorageFile. :return: The path of this StorageFile. :rtype: str @@ -188,7 +188,7 @@ def path(self) -> str: @path.setter def path(self, path: str): """ - File or folder path. + Sets the path of this StorageFile. :param path: The path of this StorageFile. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py index 172c469..aefddc1 100644 --- a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py @@ -32,11 +32,11 @@ class UploadFileRequest(object): Request model for upload_file operation. Initializes a new instance. - :param path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. + :param path: :type path: str :param file: File to upload :type file: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ @@ -45,11 +45,11 @@ def __init__(self, path: str, file: str, storage_name: str = None): Request model for upload_file operation. Initializes a new instance. - :param path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. + :param path: :type path: str :param file: File to upload :type file: str - :param storage_name: Storage name + :param storage_name: :type storage_name: str """ diff --git a/sdk/docs/CloudStorageGroup.md b/sdk/docs/CloudStorageGroup.md index 5ffdedb..c2cffe8 100644 --- a/sdk/docs/CloudStorageGroup.md +++ b/sdk/docs/CloudStorageGroup.md @@ -3,6 +3,6 @@ Cloud file storage operations. API | Description --- | ----------- -[EmailCloud.cloud_storage.**file**](FileApi_list.md) | File operations controller -[EmailCloud.cloud_storage.**folder**](FolderApi_list.md) | Folder operations controller -[EmailCloud.cloud_storage.**storage**](StorageApi_list.md) | Storage operations controller +[EmailCloud.cloud_storage.**file**](FileApi_list.md) | +[EmailCloud.cloud_storage.**folder**](FolderApi_list.md) | +[EmailCloud.cloud_storage.**storage**](StorageApi_list.md) | diff --git a/sdk/docs/DiscUsage.md b/sdk/docs/DiscUsage.md index 08c52aa..d834bee 100644 --- a/sdk/docs/DiscUsage.md +++ b/sdk/docs/DiscUsage.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**used_size** | **int** | Application used disc space. | -**total_size** | **int** | Total disc space. | +**used_size** | **int** | | +**total_size** | **int** | | diff --git a/sdk/docs/Error.md b/sdk/docs/Error.md index 14b3763..c5e9e63 100644 --- a/sdk/docs/Error.md +++ b/sdk/docs/Error.md @@ -2,10 +2,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**code** | **str** | Code | [optional] -**message** | **str** | Message | [optional] -**description** | **str** | Description | [optional] -**inner_error** | [**ErrorDetails**](ErrorDetails.md) | Inner Error | [optional] +**code** | **str** | | [optional] +**message** | **str** | | [optional] +**description** | **str** | | [optional] +**inner_error** | [**ErrorDetails**](ErrorDetails.md) | | [optional] diff --git a/sdk/docs/ErrorDetails.md b/sdk/docs/ErrorDetails.md index bd0524f..84ec28f 100644 --- a/sdk/docs/ErrorDetails.md +++ b/sdk/docs/ErrorDetails.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**request_id** | **str** | The request id | [optional] -**_date** | **datetime** | Date | +**request_id** | **str** | | [optional] +**_date** | **datetime** | | diff --git a/sdk/docs/FileApi.md b/sdk/docs/FileApi.md index 8244d76..d9d45af 100644 --- a/sdk/docs/FileApi.md +++ b/sdk/docs/FileApi.md @@ -8,7 +8,7 @@ copy_file(self, request: CopyFileRequest) ``` -Copy file + ### Return type @@ -26,11 +26,11 @@ CopyFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str** | Source file path e.g. '/folder/file.ext' | - **dest_path** | **str** | Destination file path | - **src_storage_name** | **str** | Source storage name | [optional] - **dest_storage_name** | **str** | Destination storage name | [optional] - **version_id** | **str** | File version ID to copy | [optional] + **src_path** | **str** | | + **dest_path** | **str** | | + **src_storage_name** | **str** | | [optional] + **dest_storage_name** | **str** | | [optional] + **version_id** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -41,7 +41,7 @@ Name | Type | Description | Notes delete_file(self, request: DeleteFileRequest) ``` -Delete file + ### Return type @@ -57,9 +57,9 @@ DeleteFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | File path e.g. '/folder/file.ext' | - **storage_name** | **str** | Storage name | [optional] - **version_id** | **str** | File version ID to delete | [optional] + **path** | **str** | | + **storage_name** | **str** | | [optional] + **version_id** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -70,7 +70,7 @@ Name | Type | Description | Notes download_file(self, request: DownloadFileRequest) ``` -Download file + ### Return type @@ -86,9 +86,9 @@ DownloadFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | File path e.g. '/folder/file.ext' | - **storage_name** | **str** | Storage name | [optional] - **version_id** | **str** | File version ID to download | [optional] + **path** | **str** | | + **storage_name** | **str** | | [optional] + **version_id** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -99,7 +99,7 @@ Name | Type | Description | Notes move_file(self, request: MoveFileRequest) ``` -Move file + ### Return type @@ -117,11 +117,11 @@ MoveFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str** | Source file path e.g. '/src.ext' | - **dest_path** | **str** | Destination file path e.g. '/dest.ext' | - **src_storage_name** | **str** | Source storage name | [optional] - **dest_storage_name** | **str** | Destination storage name | [optional] - **version_id** | **str** | File version ID to move | [optional] + **src_path** | **str** | | + **dest_path** | **str** | | + **src_storage_name** | **str** | | [optional] + **dest_storage_name** | **str** | | [optional] + **version_id** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -132,7 +132,7 @@ Name | Type | Description | Notes upload_file(self, request: UploadFileRequest) ``` -Upload file + ### Return type @@ -148,9 +148,9 @@ UploadFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. | + **path** | **str** | | **file** | **str** | File to upload | - **storage_name** | **str** | Storage name | [optional] + **storage_name** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FileApi_list.md b/sdk/docs/FileApi_list.md index 2e5ba59..d07e8e2 100644 --- a/sdk/docs/FileApi_list.md +++ b/sdk/docs/FileApi_list.md @@ -5,8 +5,8 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* Method | HTTP request | Description ------------- | ------------- | ------------- -[**copy_file**](FileApi.md#copy_file)| **PUT** /email/storage/file/copy/{srcPath}| Copy file -[**delete_file**](FileApi.md#delete_file)| **DELETE** /email/storage/file/{path}| Delete file -[**download_file**](FileApi.md#download_file)| **GET** /email/storage/file/{path}| Download file -[**move_file**](FileApi.md#move_file)| **PUT** /email/storage/file/move/{srcPath}| Move file -[**upload_file**](FileApi.md#upload_file)| **PUT** /email/storage/file/{path}| Upload file +[**copy_file**](FileApi.md#copy_file)| **PUT** /email/storage/file/copy/{srcPath}| +[**delete_file**](FileApi.md#delete_file)| **DELETE** /email/storage/file/{path}| +[**download_file**](FileApi.md#download_file)| **GET** /email/storage/file/{path}| +[**move_file**](FileApi.md#move_file)| **PUT** /email/storage/file/move/{srcPath}| +[**upload_file**](FileApi.md#upload_file)| **PUT** /email/storage/file/{path}| diff --git a/sdk/docs/FileVersion.md b/sdk/docs/FileVersion.md index 33cad68..d9e198c 100644 --- a/sdk/docs/FileVersion.md +++ b/sdk/docs/FileVersion.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version_id** | **str** | File Version ID. | [optional] -**is_latest** | **bool** | Specifies whether the file is (true) or is not (false) the latest version of an file. | +**version_id** | **str** | | [optional] +**is_latest** | **bool** | | Parent class: [StorageFile](StorageFile.md) diff --git a/sdk/docs/FileVersions.md b/sdk/docs/FileVersions.md index 2155024..2bdeb6d 100644 --- a/sdk/docs/FileVersions.md +++ b/sdk/docs/FileVersions.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**list[FileVersion]**](FileVersion.md) | File versions FileVersion. | [optional] +**value** | [**list[FileVersion]**](FileVersion.md) | | [optional] diff --git a/sdk/docs/FilesList.md b/sdk/docs/FilesList.md index e306967..3a60d4e 100644 --- a/sdk/docs/FilesList.md +++ b/sdk/docs/FilesList.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**list[StorageFile]**](StorageFile.md) | Files and folders contained by folder StorageFile. | [optional] +**value** | [**list[StorageFile]**](StorageFile.md) | | [optional] diff --git a/sdk/docs/FilesUploadResult.md b/sdk/docs/FilesUploadResult.md index 64c161a..089ddab 100644 --- a/sdk/docs/FilesUploadResult.md +++ b/sdk/docs/FilesUploadResult.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**uploaded** | **list[str]** | List of uploaded file names | [optional] -**errors** | [**list[Error]**](Error.md) | List of errors. | [optional] +**uploaded** | **list[str]** | | [optional] +**errors** | [**list[Error]**](Error.md) | | [optional] diff --git a/sdk/docs/FolderApi.md b/sdk/docs/FolderApi.md index bbb8d2c..1c682a8 100644 --- a/sdk/docs/FolderApi.md +++ b/sdk/docs/FolderApi.md @@ -8,7 +8,7 @@ copy_folder(self, request: CopyFolderRequest) ``` -Copy folder + ### Return type @@ -25,10 +25,10 @@ CopyFolderRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str** | Source folder path e.g. '/src' | - **dest_path** | **str** | Destination folder path e.g. '/dst' | - **src_storage_name** | **str** | Source storage name | [optional] - **dest_storage_name** | **str** | Destination storage name | [optional] + **src_path** | **str** | | + **dest_path** | **str** | | + **src_storage_name** | **str** | | [optional] + **dest_storage_name** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -39,7 +39,7 @@ Name | Type | Description | Notes create_folder(self, request: CreateFolderRequest) ``` -Create the folder + ### Return type @@ -54,8 +54,8 @@ CreateFolderRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | Folder path to create e.g. 'folder_1/folder_2/' | - **storage_name** | **str** | Storage name | [optional] + **path** | **str** | | + **storage_name** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -66,7 +66,7 @@ Name | Type | Description | Notes delete_folder(self, request: DeleteFolderRequest) ``` -Delete folder + ### Return type @@ -82,9 +82,9 @@ DeleteFolderRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | Folder path e.g. '/folder' | - **storage_name** | **str** | Storage name | [optional] - **recursive** | **bool** | Enable to delete folders, subfolders and files | [optional] [default to false] + **path** | **str** | | + **storage_name** | **str** | | [optional] + **recursive** | **bool** | | [optional] [default to false] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -95,7 +95,7 @@ Name | Type | Description | Notes get_files_list(self, request: GetFilesListRequest) ``` -Get all files and folders within a folder + ### Return type @@ -110,8 +110,8 @@ GetFilesListRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | Folder path e.g. '/folder' | - **storage_name** | **str** | Storage name | [optional] + **path** | **str** | | + **storage_name** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -122,7 +122,7 @@ Name | Type | Description | Notes move_folder(self, request: MoveFolderRequest) ``` -Move folder + ### Return type @@ -139,10 +139,10 @@ MoveFolderRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str** | Folder path to move e.g. '/folder' | - **dest_path** | **str** | Destination folder path to move to e.g '/dst' | - **src_storage_name** | **str** | Source storage name | [optional] - **dest_storage_name** | **str** | Destination storage name | [optional] + **src_path** | **str** | | + **dest_path** | **str** | | + **src_storage_name** | **str** | | [optional] + **dest_storage_name** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FolderApi_list.md b/sdk/docs/FolderApi_list.md index 942da5b..1a7ca12 100644 --- a/sdk/docs/FolderApi_list.md +++ b/sdk/docs/FolderApi_list.md @@ -5,8 +5,8 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* Method | HTTP request | Description ------------- | ------------- | ------------- -[**copy_folder**](FolderApi.md#copy_folder)| **PUT** /email/storage/folder/copy/{srcPath}| Copy folder -[**create_folder**](FolderApi.md#create_folder)| **PUT** /email/storage/folder/{path}| Create the folder -[**delete_folder**](FolderApi.md#delete_folder)| **DELETE** /email/storage/folder/{path}| Delete folder -[**get_files_list**](FolderApi.md#get_files_list)| **GET** /email/storage/folder/{path}| Get all files and folders within a folder -[**move_folder**](FolderApi.md#move_folder)| **PUT** /email/storage/folder/move/{srcPath}| Move folder +[**copy_folder**](FolderApi.md#copy_folder)| **PUT** /email/storage/folder/copy/{srcPath}| +[**create_folder**](FolderApi.md#create_folder)| **PUT** /email/storage/folder/{path}| +[**delete_folder**](FolderApi.md#delete_folder)| **DELETE** /email/storage/folder/{path}| +[**get_files_list**](FolderApi.md#get_files_list)| **GET** /email/storage/folder/{path}| +[**move_folder**](FolderApi.md#move_folder)| **PUT** /email/storage/folder/move/{srcPath}| diff --git a/sdk/docs/ObjectExist.md b/sdk/docs/ObjectExist.md index b9d7c55..c8c39bc 100644 --- a/sdk/docs/ObjectExist.md +++ b/sdk/docs/ObjectExist.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**exists** | **bool** | Indicates that the file or folder exists. | -**is_folder** | **bool** | True if it is a folder, false if it is a file. | +**exists** | **bool** | | +**is_folder** | **bool** | | diff --git a/sdk/docs/StorageApi.md b/sdk/docs/StorageApi.md index b5d10de..eb7a673 100644 --- a/sdk/docs/StorageApi.md +++ b/sdk/docs/StorageApi.md @@ -8,7 +8,7 @@ get_disc_usage(self, request: GetDiscUsageRequest) ``` -Get disc usage + ### Return type @@ -22,7 +22,7 @@ GetDiscUsageRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage_name** | **str** | Storage name | [optional] + **storage_name** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -33,7 +33,7 @@ Name | Type | Description | Notes get_file_versions(self, request: GetFileVersionsRequest) ``` -Get file versions + ### Return type @@ -48,8 +48,8 @@ GetFileVersionsRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | File path e.g. '/file.ext' | - **storage_name** | **str** | Storage name | [optional] + **path** | **str** | | + **storage_name** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -60,7 +60,7 @@ Name | Type | Description | Notes object_exists(self, request: ObjectExistsRequest) ``` -Check if file or folder exists + ### Return type @@ -76,9 +76,9 @@ ObjectExistsRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | File or folder path e.g. '/file.ext' or '/folder' | - **storage_name** | **str** | Storage name | [optional] - **version_id** | **str** | File version ID | [optional] + **path** | **str** | | + **storage_name** | **str** | | [optional] + **version_id** | **str** | | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -89,7 +89,7 @@ Name | Type | Description | Notes exists(self, request: StorageExistsRequest) ``` -Check if storage exists + ### Return type @@ -103,7 +103,7 @@ StorageExistsRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage_name** | **str** | Storage name | + **storage_name** | **str** | | [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageApi_list.md b/sdk/docs/StorageApi_list.md index 29212a2..e8978f7 100644 --- a/sdk/docs/StorageApi_list.md +++ b/sdk/docs/StorageApi_list.md @@ -5,7 +5,7 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_disc_usage**](StorageApi.md#get_disc_usage)| **GET** /email/storage/disc| Get disc usage -[**get_file_versions**](StorageApi.md#get_file_versions)| **GET** /email/storage/version/{path}| Get file versions -[**object_exists**](StorageApi.md#object_exists)| **GET** /email/storage/exist/{path}| Check if file or folder exists -[**exists**](StorageApi.md#exists)| **GET** /email/storage/{storageName}/exist| Check if storage exists +[**get_disc_usage**](StorageApi.md#get_disc_usage)| **GET** /email/storage/disc| +[**get_file_versions**](StorageApi.md#get_file_versions)| **GET** /email/storage/version/{path}| +[**object_exists**](StorageApi.md#object_exists)| **GET** /email/storage/exist/{path}| +[**exists**](StorageApi.md#exists)| **GET** /email/storage/{storageName}/exist| diff --git a/sdk/docs/StorageExist.md b/sdk/docs/StorageExist.md index 6b55561..e231e53 100644 --- a/sdk/docs/StorageExist.md +++ b/sdk/docs/StorageExist.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**exists** | **bool** | Shows that the storage exists. | +**exists** | **bool** | | diff --git a/sdk/docs/StorageFile.md b/sdk/docs/StorageFile.md index cd85f6f..044a462 100644 --- a/sdk/docs/StorageFile.md +++ b/sdk/docs/StorageFile.md @@ -2,11 +2,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | File or folder name. | [optional] -**is_folder** | **bool** | True if it is a folder. | -**modified_date** | **datetime** | File or folder last modified DateTime. | [optional] -**size** | **int** | File or folder size. | -**path** | **str** | File or folder path. | [optional] +**name** | **str** | | [optional] +**is_folder** | **bool** | | +**modified_date** | **datetime** | | [optional] +**size** | **int** | | +**path** | **str** | | [optional] diff --git a/sdk/setup.py b/sdk/setup.py index cba9445..8800839 100644 --- a/sdk/setup.py +++ b/sdk/setup.py @@ -8,7 +8,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "aspose-email-cloud" -VERSION = "20.9.0.0" +VERSION = "20.9.0.136" # To install the library, run the following # # python setup.py install From 166d11304482da215a2ed08c1f7a63513d9f586f Mon Sep 17 00:00:00 2001 From: "Aspose.Email Team" Date: Fri, 28 Aug 2020 13:20:48 -0500 Subject: [PATCH 18/20] SDK version 20.9.0.137 generated --- README.md | 41 +++++++++-------- .../api/cloud_storage_group.py | 6 +-- sdk/AsposeEmailCloudSdk/api/file_api.py | 10 ++-- sdk/AsposeEmailCloudSdk/api/folder_api.py | 10 ++-- sdk/AsposeEmailCloudSdk/api/storage_api.py | 8 ++-- .../models/copy_file_request.py | 20 ++++---- .../models/copy_folder_request.py | 16 +++---- .../models/create_folder_request.py | 8 ++-- .../models/delete_file_request.py | 12 ++--- .../models/delete_folder_request.py | 12 ++--- sdk/AsposeEmailCloudSdk/models/disc_usage.py | 16 +++---- .../models/download_file_request.py | 12 ++--- sdk/AsposeEmailCloudSdk/models/error.py | 28 +++++------ .../models/error_details.py | 16 +++---- .../models/file_version.py | 26 +++++------ .../models/file_versions.py | 10 ++-- sdk/AsposeEmailCloudSdk/models/files_list.py | 10 ++-- .../models/files_upload_result.py | 16 +++---- .../models/get_disc_usage_request.py | 4 +- .../models/get_file_versions_request.py | 8 ++-- .../models/get_files_list_request.py | 8 ++-- .../models/move_file_request.py | 20 ++++---- .../models/move_folder_request.py | 16 +++---- .../models/object_exist.py | 16 +++---- .../models/object_exists_request.py | 12 ++--- .../models/storage_exist.py | 10 ++-- .../models/storage_exists_request.py | 4 +- .../models/storage_file.py | 34 +++++++------- .../models/upload_file_request.py | 8 ++-- sdk/docs/CloudStorageGroup.md | 6 +-- sdk/docs/DiscUsage.md | 4 +- sdk/docs/Error.md | 8 ++-- sdk/docs/ErrorDetails.md | 4 +- sdk/docs/FileApi.md | 46 +++++++++---------- sdk/docs/FileApi_list.md | 10 ++-- sdk/docs/FileVersion.md | 4 +- sdk/docs/FileVersions.md | 2 +- sdk/docs/FilesList.md | 2 +- sdk/docs/FilesUploadResult.md | 4 +- sdk/docs/FolderApi.md | 40 ++++++++-------- sdk/docs/FolderApi_list.md | 10 ++-- sdk/docs/ObjectExist.md | 4 +- sdk/docs/StorageApi.md | 22 ++++----- sdk/docs/StorageApi_list.md | 8 ++-- sdk/docs/StorageExist.md | 2 +- sdk/docs/StorageFile.md | 10 ++-- sdk/setup.py | 2 +- 47 files changed, 304 insertions(+), 301 deletions(-) diff --git a/README.md b/README.md index 15a5fc9..a8634e9 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# Aspose.Email Cloud SDK for Python +# Aspose.Email Cloud SDK for Python [![PYPI](https://img.shields.io/pypi/v/aspose-email-cloud)](https://pypi.org/project/aspose-email-cloud/) [![License](https://img.shields.io/github/license/aspose-email-cloud/aspose-email-cloud-python)](https://pypi.org/project/aspose-email-cloud/) ![tests](https://github.com/aspose-email-cloud/aspose-email-cloud-python/workflows/tests/badge.svg) This repository contains Aspose.Email Cloud SDK for Python source code. This SDK allows you to work with Aspose.Email Cloud REST APIs in your Python applications quickly and easily, with zero initial cost. -[Aspose.Email Cloud home](https://products.aspose.cloud/email/family "Aspose.Email Cloud") +[Aspose.Email Cloud home](https://products.aspose.cloud/email/family "Aspose.Email Cloud") [API Reference](https://apireference.aspose.cloud/email/) # Key features @@ -11,26 +11,29 @@ Aspose.Email Cloud is a REST API for creating email applications that work with - Lets developers manipulate different emails’ formats such as Outlook MSG, EML, VCard, and iCalendar files - Lets developers manipulate different emails' formats such as Outlook MSG, EML, VCard, and iCalendar files - Supports AI functions: - - The Business card recognition - - The Name API for parsing and handling personal names +- The Business card recognition +- The Name API for parsing and handling personal names - Has a built-in email client. This client provides: - - Unified REST API for different email protocols: IMAP, POP3, SMTP, EWS, WebDav - - Virtual multi-account - - Message threads (POP3 accounts are also supported) +- Unified REST API for different email protocols: IMAP, POP3, SMTP, EWS, WebDav +- Virtual multi-account +- Message threads (POP3 accounts are also supported) - Email configuration discovery - Disposable email address detection -## New features in version 20.7 -- New MAPI message files API with models: - - `MapiMessageDto` - represents the Microsoft Outlook message. - - `MapiCalendarDto` - represents the Microsoft Outlook calendar object. - - `MapiContactDto` - represents the Microsoft Outlook contact information. -- Improved Recurrence pattern support for CalendarDto. +## New features in version 20.9 -See [Release notes](https://docs.aspose.cloud/display/emailcloud/Aspose.Email+Cloud+20.7+Release+Notes) +Aspose.Email Cloud SDK 20.9.0 is based on a new v4.0 REST API. + +- All SDK functions are divided into groups (Email, Calendar, Contact, Client, Ai, Mapi, etc.). +- Unified file API provided for supported file types (Save, Get, Convert, AsFile, FromFile, AsMapi/AsDto). +- HierarchicalObject based API is removed. +- All models are stored in one folder/namespace. +- The request models are simplified. + +See [Release notes](https://docs.aspose.cloud/display/emailcloud/Aspose.Email+Cloud+20.9+Release+Notes). ## How to use the SDK? -The complete source code is available in the GIT repository. +The complete source code is available in the GIT repository. Use [SDK tutorials](https://docs.aspose.cloud/display/emailcloud/SDK+Tutorials): - [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup) - installation, account setup, first API calls @@ -53,7 +56,7 @@ To use this SDK, you need an App SID and an App Key; they can be looked up at [A You can use it directly in your project via the source code or get a [PYPI Package](https://pypi.org/project/aspose-email-cloud/): - pip install aspose-email-cloud +pip install aspose-email-cloud See more details about SDK installation in this tutorial: [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup) @@ -76,10 +79,10 @@ Use `AiBcrParseModel` method to parse business card image to VCard DTO: ```python image_data = None with open('/tmp/alex.png', 'rb') as f: - filedata = f.read() - image_data = str(base64.b64encode(filedata), 'utf-8') +filedata = f.read() +image_data = str(base64.b64encode(filedata), 'utf-8') result = email_api.ai_bcr_parse_model(requests.AiBcrParseModelRequest( - models.AiBcrBase64Rq(images=[models.AiBcrBase64Image(True, image_data)]))) +models.AiBcrBase64Rq(images=[models.AiBcrBase64Image(True, image_data)]))) contact = result.value[0] ``` See more details [here](https://docs.aspose.cloud/display/emailcloud/Parse+Image+To+VCard+File) and [here](https://docs.aspose.cloud/display/emailcloud/Business+Cards+Recognition+API) diff --git a/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py b/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py index 918fea6..9cde578 100644 --- a/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py +++ b/sdk/AsposeEmailCloudSdk/api/cloud_storage_group.py @@ -44,21 +44,21 @@ def __init__(self, api_client): @property def file(self) -> FileApi: """ - + File operations controller """ return self._file @property def folder(self) -> FolderApi: """ - + Folder operations controller """ return self._folder @property def storage(self) -> StorageApi: """ - + Storage operations controller """ return self._storage diff --git a/sdk/AsposeEmailCloudSdk/api/file_api.py b/sdk/AsposeEmailCloudSdk/api/file_api.py index 2ee9d6e..7157871 100644 --- a/sdk/AsposeEmailCloudSdk/api/file_api.py +++ b/sdk/AsposeEmailCloudSdk/api/file_api.py @@ -40,7 +40,7 @@ def __init__(self, api_client): super(FileApi, self).__init__(api_client) def copy_file(self, request: CopyFileRequest): - """copy_file + """Copy file :param request: CopyFileRequest object with parameters @@ -107,7 +107,7 @@ def copy_file(self, request: CopyFileRequest): return self._make_request(http_request_object, 'PUT', None) def delete_file(self, request: DeleteFileRequest): - """delete_file + """Delete file :param request: DeleteFileRequest object with parameters @@ -159,7 +159,7 @@ def delete_file(self, request: DeleteFileRequest): return self._make_request(http_request_object, 'DELETE', None) def download_file(self, request: DownloadFileRequest) -> str: - """download_file + """Download file :param request: DownloadFileRequest object with parameters @@ -211,7 +211,7 @@ def download_file(self, request: DownloadFileRequest) -> str: return self._make_request(http_request_object, 'GET', 'file') def move_file(self, request: MoveFileRequest): - """move_file + """Move file :param request: MoveFileRequest object with parameters @@ -278,7 +278,7 @@ def move_file(self, request: MoveFileRequest): return self._make_request(http_request_object, 'PUT', None) def upload_file(self, request: UploadFileRequest) -> FilesUploadResult: - """upload_file + """Upload file :param request: UploadFileRequest object with parameters diff --git a/sdk/AsposeEmailCloudSdk/api/folder_api.py b/sdk/AsposeEmailCloudSdk/api/folder_api.py index 2e5206a..bb53fd9 100644 --- a/sdk/AsposeEmailCloudSdk/api/folder_api.py +++ b/sdk/AsposeEmailCloudSdk/api/folder_api.py @@ -40,7 +40,7 @@ def __init__(self, api_client): super(FolderApi, self).__init__(api_client) def copy_folder(self, request: CopyFolderRequest): - """copy_folder + """Copy folder :param request: CopyFolderRequest object with parameters @@ -101,7 +101,7 @@ def copy_folder(self, request: CopyFolderRequest): return self._make_request(http_request_object, 'PUT', None) def create_folder(self, request: CreateFolderRequest): - """create_folder + """Create the folder :param request: CreateFolderRequest object with parameters @@ -147,7 +147,7 @@ def create_folder(self, request: CreateFolderRequest): return self._make_request(http_request_object, 'PUT', None) def delete_folder(self, request: DeleteFolderRequest): - """delete_folder + """Delete folder :param request: DeleteFolderRequest object with parameters @@ -199,7 +199,7 @@ def delete_folder(self, request: DeleteFolderRequest): return self._make_request(http_request_object, 'DELETE', None) def get_files_list(self, request: GetFilesListRequest) -> FilesList: - """get_files_list + """Get all files and folders within a folder :param request: GetFilesListRequest object with parameters @@ -245,7 +245,7 @@ def get_files_list(self, request: GetFilesListRequest) -> FilesList: return self._make_request(http_request_object, 'GET', 'FilesList') def move_folder(self, request: MoveFolderRequest): - """move_folder + """Move folder :param request: MoveFolderRequest object with parameters diff --git a/sdk/AsposeEmailCloudSdk/api/storage_api.py b/sdk/AsposeEmailCloudSdk/api/storage_api.py index 6203ff2..aa230b1 100644 --- a/sdk/AsposeEmailCloudSdk/api/storage_api.py +++ b/sdk/AsposeEmailCloudSdk/api/storage_api.py @@ -40,7 +40,7 @@ def __init__(self, api_client): super(StorageApi, self).__init__(api_client) def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: - """get_disc_usage + """Get disc usage :param request: GetDiscUsageRequest object with parameters @@ -81,7 +81,7 @@ def get_disc_usage(self, request: GetDiscUsageRequest) -> DiscUsage: return self._make_request(http_request_object, 'GET', 'DiscUsage') def get_file_versions(self, request: GetFileVersionsRequest) -> FileVersions: - """get_file_versions + """Get file versions :param request: GetFileVersionsRequest object with parameters @@ -127,7 +127,7 @@ def get_file_versions(self, request: GetFileVersionsRequest) -> FileVersions: return self._make_request(http_request_object, 'GET', 'FileVersions') def object_exists(self, request: ObjectExistsRequest) -> ObjectExist: - """object_exists + """Check if file or folder exists :param request: ObjectExistsRequest object with parameters @@ -179,7 +179,7 @@ def object_exists(self, request: ObjectExistsRequest) -> ObjectExist: return self._make_request(http_request_object, 'GET', 'ObjectExist') def exists(self, request: StorageExistsRequest) -> StorageExist: - """exists + """Check if storage exists :param request: StorageExistsRequest object with parameters diff --git a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py index f7acd09..37f890b 100644 --- a/sdk/AsposeEmailCloudSdk/models/copy_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/copy_file_request.py @@ -32,15 +32,15 @@ class CopyFileRequest(object): Request model for copy_file operation. Initializes a new instance. - :param src_path: + :param src_path: Source file path e.g. '/folder/file.ext' :type src_path: str - :param dest_path: + :param dest_path: Destination file path :type dest_path: str - :param src_storage_name: + :param src_storage_name: Source storage name :type src_storage_name: str - :param dest_storage_name: + :param dest_storage_name: Destination storage name :type dest_storage_name: str - :param version_id: + :param version_id: File version ID to copy :type version_id: str """ @@ -49,15 +49,15 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for copy_file operation. Initializes a new instance. - :param src_path: + :param src_path: Source file path e.g. '/folder/file.ext' :type src_path: str - :param dest_path: + :param dest_path: Destination file path :type dest_path: str - :param src_storage_name: + :param src_storage_name: Source storage name :type src_storage_name: str - :param dest_storage_name: + :param dest_storage_name: Destination storage name :type dest_storage_name: str - :param version_id: + :param version_id: File version ID to copy :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py index 4cb9916..4e4cf1c 100644 --- a/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/copy_folder_request.py @@ -32,13 +32,13 @@ class CopyFolderRequest(object): Request model for copy_folder operation. Initializes a new instance. - :param src_path: + :param src_path: Source folder path e.g. '/src' :type src_path: str - :param dest_path: + :param dest_path: Destination folder path e.g. '/dst' :type dest_path: str - :param src_storage_name: + :param src_storage_name: Source storage name :type src_storage_name: str - :param dest_storage_name: + :param dest_storage_name: Destination storage name :type dest_storage_name: str """ @@ -47,13 +47,13 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for copy_folder operation. Initializes a new instance. - :param src_path: + :param src_path: Source folder path e.g. '/src' :type src_path: str - :param dest_path: + :param dest_path: Destination folder path e.g. '/dst' :type dest_path: str - :param src_storage_name: + :param src_storage_name: Source storage name :type src_storage_name: str - :param dest_storage_name: + :param dest_storage_name: Destination storage name :type dest_storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py index 8bdd3bb..10bb3c3 100644 --- a/sdk/AsposeEmailCloudSdk/models/create_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/create_folder_request.py @@ -32,9 +32,9 @@ class CreateFolderRequest(object): Request model for create_folder operation. Initializes a new instance. - :param path: + :param path: Folder path to create e.g. 'folder_1/folder_2/' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ @@ -43,9 +43,9 @@ def __init__(self, path: str, storage_name: str = None): Request model for create_folder operation. Initializes a new instance. - :param path: + :param path: Folder path to create e.g. 'folder_1/folder_2/' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py index 9fcc927..8584eae 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/delete_file_request.py @@ -32,11 +32,11 @@ class DeleteFileRequest(object): Request model for delete_file operation. Initializes a new instance. - :param path: + :param path: File path e.g. '/folder/file.ext' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str - :param version_id: + :param version_id: File version ID to delete :type version_id: str """ @@ -45,11 +45,11 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for delete_file operation. Initializes a new instance. - :param path: + :param path: File path e.g. '/folder/file.ext' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str - :param version_id: + :param version_id: File version ID to delete :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py index ff5afa0..8d4bfe4 100644 --- a/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/delete_folder_request.py @@ -32,11 +32,11 @@ class DeleteFolderRequest(object): Request model for delete_folder operation. Initializes a new instance. - :param path: + :param path: Folder path e.g. '/folder' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str - :param recursive: + :param recursive: Enable to delete folders, subfolders and files :type recursive: bool """ @@ -45,11 +45,11 @@ def __init__(self, path: str, storage_name: str = None, recursive: bool = None): Request model for delete_folder operation. Initializes a new instance. - :param path: + :param path: Folder path e.g. '/folder' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str - :param recursive: + :param recursive: Enable to delete folders, subfolders and files :type recursive: bool """ diff --git a/sdk/AsposeEmailCloudSdk/models/disc_usage.py b/sdk/AsposeEmailCloudSdk/models/disc_usage.py index 8717dc7..3e5e53b 100644 --- a/sdk/AsposeEmailCloudSdk/models/disc_usage.py +++ b/sdk/AsposeEmailCloudSdk/models/disc_usage.py @@ -32,7 +32,7 @@ class DiscUsage(object): - """ + """Class for disc space information. """ """ @@ -54,10 +54,10 @@ class DiscUsage(object): def __init__(self, used_size: int = None, total_size: int = None): """ - - :param used_size: + Class for disc space information. + :param used_size: Application used disc space. :type used_size: int - :param total_size: + :param total_size: Total disc space. :type total_size: int """ @@ -73,7 +73,7 @@ def __init__(self, used_size: int = None, total_size: int = None): @property def used_size(self) -> int: """ - Gets the used_size of this DiscUsage. + Application used disc space. :return: The used_size of this DiscUsage. :rtype: int @@ -83,7 +83,7 @@ def used_size(self) -> int: @used_size.setter def used_size(self, used_size: int): """ - Sets the used_size of this DiscUsage. + Application used disc space. :param used_size: The used_size of this DiscUsage. :type: int @@ -95,7 +95,7 @@ def used_size(self, used_size: int): @property def total_size(self) -> int: """ - Gets the total_size of this DiscUsage. + Total disc space. :return: The total_size of this DiscUsage. :rtype: int @@ -105,7 +105,7 @@ def total_size(self) -> int: @total_size.setter def total_size(self, total_size: int): """ - Sets the total_size of this DiscUsage. + Total disc space. :param total_size: The total_size of this DiscUsage. :type: int diff --git a/sdk/AsposeEmailCloudSdk/models/download_file_request.py b/sdk/AsposeEmailCloudSdk/models/download_file_request.py index 9fb63ec..d276ce8 100644 --- a/sdk/AsposeEmailCloudSdk/models/download_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/download_file_request.py @@ -32,11 +32,11 @@ class DownloadFileRequest(object): Request model for download_file operation. Initializes a new instance. - :param path: + :param path: File path e.g. '/folder/file.ext' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str - :param version_id: + :param version_id: File version ID to download :type version_id: str """ @@ -45,11 +45,11 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for download_file operation. Initializes a new instance. - :param path: + :param path: File path e.g. '/folder/file.ext' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str - :param version_id: + :param version_id: File version ID to download :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/error.py b/sdk/AsposeEmailCloudSdk/models/error.py index aea30ae..f522337 100644 --- a/sdk/AsposeEmailCloudSdk/models/error.py +++ b/sdk/AsposeEmailCloudSdk/models/error.py @@ -34,7 +34,7 @@ class Error(object): - """ + """Error """ """ @@ -60,14 +60,14 @@ class Error(object): def __init__(self, code: str = None, message: str = None, description: str = None, inner_error: ErrorDetails = None): """ - - :param code: + Error + :param code: Code :type code: str - :param message: + :param message: Message :type message: str - :param description: + :param description: Description :type description: str - :param inner_error: + :param inner_error: Inner Error :type inner_error: ErrorDetails """ @@ -89,7 +89,7 @@ def __init__(self, code: str = None, message: str = None, description: str = Non @property def code(self) -> str: """ - Gets the code of this Error. + Code :return: The code of this Error. :rtype: str @@ -99,7 +99,7 @@ def code(self) -> str: @code.setter def code(self, code: str): """ - Sets the code of this Error. + Code :param code: The code of this Error. :type: str @@ -109,7 +109,7 @@ def code(self, code: str): @property def message(self) -> str: """ - Gets the message of this Error. + Message :return: The message of this Error. :rtype: str @@ -119,7 +119,7 @@ def message(self) -> str: @message.setter def message(self, message: str): """ - Sets the message of this Error. + Message :param message: The message of this Error. :type: str @@ -129,7 +129,7 @@ def message(self, message: str): @property def description(self) -> str: """ - Gets the description of this Error. + Description :return: The description of this Error. :rtype: str @@ -139,7 +139,7 @@ def description(self) -> str: @description.setter def description(self, description: str): """ - Sets the description of this Error. + Description :param description: The description of this Error. :type: str @@ -149,7 +149,7 @@ def description(self, description: str): @property def inner_error(self) -> ErrorDetails: """ - Gets the inner_error of this Error. + Inner Error :return: The inner_error of this Error. :rtype: ErrorDetails @@ -159,7 +159,7 @@ def inner_error(self) -> ErrorDetails: @inner_error.setter def inner_error(self, inner_error: ErrorDetails): """ - Sets the inner_error of this Error. + Inner Error :param inner_error: The inner_error of this Error. :type: ErrorDetails diff --git a/sdk/AsposeEmailCloudSdk/models/error_details.py b/sdk/AsposeEmailCloudSdk/models/error_details.py index 6165401..c3d4b26 100644 --- a/sdk/AsposeEmailCloudSdk/models/error_details.py +++ b/sdk/AsposeEmailCloudSdk/models/error_details.py @@ -32,7 +32,7 @@ class ErrorDetails(object): - """ + """The error details """ """ @@ -54,10 +54,10 @@ class ErrorDetails(object): def __init__(self, request_id: str = None, _date: datetime = None): """ - - :param request_id: + The error details + :param request_id: The request id :type request_id: str - :param _date: + :param _date: Date :type _date: datetime """ @@ -73,7 +73,7 @@ def __init__(self, request_id: str = None, _date: datetime = None): @property def request_id(self) -> str: """ - Gets the request_id of this ErrorDetails. + The request id :return: The request_id of this ErrorDetails. :rtype: str @@ -83,7 +83,7 @@ def request_id(self) -> str: @request_id.setter def request_id(self, request_id: str): """ - Sets the request_id of this ErrorDetails. + The request id :param request_id: The request_id of this ErrorDetails. :type: str @@ -93,7 +93,7 @@ def request_id(self, request_id: str): @property def _date(self) -> datetime: """ - Gets the _date of this ErrorDetails. + Date :return: The _date of this ErrorDetails. :rtype: datetime @@ -103,7 +103,7 @@ def _date(self) -> datetime: @_date.setter def _date(self, _date: datetime): """ - Sets the _date of this ErrorDetails. + Date :param _date: The _date of this ErrorDetails. :type: datetime diff --git a/sdk/AsposeEmailCloudSdk/models/file_version.py b/sdk/AsposeEmailCloudSdk/models/file_version.py index 5191fb5..72254eb 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_version.py +++ b/sdk/AsposeEmailCloudSdk/models/file_version.py @@ -34,7 +34,7 @@ class FileVersion(StorageFile): - """ + """File Version """ """ @@ -66,20 +66,20 @@ class FileVersion(StorageFile): def __init__(self, name: str = None, is_folder: bool = None, modified_date: datetime = None, size: int = None, path: str = None, version_id: str = None, is_latest: bool = None): """ - - :param name: + File Version + :param name: File or folder name. :type name: str - :param is_folder: + :param is_folder: True if it is a folder. :type is_folder: bool - :param modified_date: + :param modified_date: File or folder last modified DateTime. :type modified_date: datetime - :param size: + :param size: File or folder size. :type size: int - :param path: + :param path: File or folder path. :type path: str - :param version_id: + :param version_id: File Version ID. :type version_id: str - :param is_latest: + :param is_latest: Specifies whether the file is (true) or is not (false) the latest version of an file. :type is_latest: bool """ super(FileVersion, self).__init__() @@ -106,7 +106,7 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date @property def version_id(self) -> str: """ - Gets the version_id of this FileVersion. + File Version ID. :return: The version_id of this FileVersion. :rtype: str @@ -116,7 +116,7 @@ def version_id(self) -> str: @version_id.setter def version_id(self, version_id: str): """ - Sets the version_id of this FileVersion. + File Version ID. :param version_id: The version_id of this FileVersion. :type: str @@ -126,7 +126,7 @@ def version_id(self, version_id: str): @property def is_latest(self) -> bool: """ - Gets the is_latest of this FileVersion. + Specifies whether the file is (true) or is not (false) the latest version of an file. :return: The is_latest of this FileVersion. :rtype: bool @@ -136,7 +136,7 @@ def is_latest(self) -> bool: @is_latest.setter def is_latest(self, is_latest: bool): """ - Sets the is_latest of this FileVersion. + Specifies whether the file is (true) or is not (false) the latest version of an file. :param is_latest: The is_latest of this FileVersion. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/file_versions.py b/sdk/AsposeEmailCloudSdk/models/file_versions.py index a218d90..6bb92a0 100644 --- a/sdk/AsposeEmailCloudSdk/models/file_versions.py +++ b/sdk/AsposeEmailCloudSdk/models/file_versions.py @@ -34,7 +34,7 @@ class FileVersions(object): - """ + """File versions FileVersion. """ """ @@ -54,8 +54,8 @@ class FileVersions(object): def __init__(self, value: List[FileVersion] = None): """ - - :param value: + File versions FileVersion. + :param value: File versions FileVersion. :type value: List[FileVersion] """ @@ -68,7 +68,7 @@ def __init__(self, value: List[FileVersion] = None): @property def value(self) -> List[FileVersion]: """ - Gets the value of this FileVersions. + File versions FileVersion. :return: The value of this FileVersions. :rtype: list[FileVersion] @@ -78,7 +78,7 @@ def value(self) -> List[FileVersion]: @value.setter def value(self, value: List[FileVersion]): """ - Sets the value of this FileVersions. + File versions FileVersion. :param value: The value of this FileVersions. :type: list[FileVersion] diff --git a/sdk/AsposeEmailCloudSdk/models/files_list.py b/sdk/AsposeEmailCloudSdk/models/files_list.py index f00702a..04560f8 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_list.py +++ b/sdk/AsposeEmailCloudSdk/models/files_list.py @@ -34,7 +34,7 @@ class FilesList(object): - """ + """Files list """ """ @@ -54,8 +54,8 @@ class FilesList(object): def __init__(self, value: List[StorageFile] = None): """ - - :param value: + Files list + :param value: Files and folders contained by folder StorageFile. :type value: List[StorageFile] """ @@ -68,7 +68,7 @@ def __init__(self, value: List[StorageFile] = None): @property def value(self) -> List[StorageFile]: """ - Gets the value of this FilesList. + Files and folders contained by folder StorageFile. :return: The value of this FilesList. :rtype: list[StorageFile] @@ -78,7 +78,7 @@ def value(self) -> List[StorageFile]: @value.setter def value(self, value: List[StorageFile]): """ - Sets the value of this FilesList. + Files and folders contained by folder StorageFile. :param value: The value of this FilesList. :type: list[StorageFile] diff --git a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py index 38236c7..5eaa38c 100644 --- a/sdk/AsposeEmailCloudSdk/models/files_upload_result.py +++ b/sdk/AsposeEmailCloudSdk/models/files_upload_result.py @@ -34,7 +34,7 @@ class FilesUploadResult(object): - """ + """File upload result """ """ @@ -56,10 +56,10 @@ class FilesUploadResult(object): def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): """ - - :param uploaded: + File upload result + :param uploaded: List of uploaded file names :type uploaded: List[str] - :param errors: + :param errors: List of errors. :type errors: List[Error] """ @@ -75,7 +75,7 @@ def __init__(self, uploaded: List[str] = None, errors: List[Error] = None): @property def uploaded(self) -> List[str]: """ - Gets the uploaded of this FilesUploadResult. + List of uploaded file names :return: The uploaded of this FilesUploadResult. :rtype: list[str] @@ -85,7 +85,7 @@ def uploaded(self) -> List[str]: @uploaded.setter def uploaded(self, uploaded: List[str]): """ - Sets the uploaded of this FilesUploadResult. + List of uploaded file names :param uploaded: The uploaded of this FilesUploadResult. :type: list[str] @@ -95,7 +95,7 @@ def uploaded(self, uploaded: List[str]): @property def errors(self) -> List[Error]: """ - Gets the errors of this FilesUploadResult. + List of errors. :return: The errors of this FilesUploadResult. :rtype: list[Error] @@ -105,7 +105,7 @@ def errors(self) -> List[Error]: @errors.setter def errors(self, errors: List[Error]): """ - Sets the errors of this FilesUploadResult. + List of errors. :param errors: The errors of this FilesUploadResult. :type: list[Error] diff --git a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py index 121d3ef..837d42e 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_disc_usage_request.py @@ -32,7 +32,7 @@ class GetDiscUsageRequest(object): Request model for get_disc_usage operation. Initializes a new instance. - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ @@ -41,7 +41,7 @@ def __init__(self, storage_name: str = None): Request model for get_disc_usage operation. Initializes a new instance. - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py index e51291f..a635dd1 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_file_versions_request.py @@ -32,9 +32,9 @@ class GetFileVersionsRequest(object): Request model for get_file_versions operation. Initializes a new instance. - :param path: + :param path: File path e.g. '/file.ext' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ @@ -43,9 +43,9 @@ def __init__(self, path: str, storage_name: str = None): Request model for get_file_versions operation. Initializes a new instance. - :param path: + :param path: File path e.g. '/file.ext' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py index 625d8b1..5148542 100644 --- a/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/get_files_list_request.py @@ -32,9 +32,9 @@ class GetFilesListRequest(object): Request model for get_files_list operation. Initializes a new instance. - :param path: + :param path: Folder path e.g. '/folder' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ @@ -43,9 +43,9 @@ def __init__(self, path: str, storage_name: str = None): Request model for get_files_list operation. Initializes a new instance. - :param path: + :param path: Folder path e.g. '/folder' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/move_file_request.py b/sdk/AsposeEmailCloudSdk/models/move_file_request.py index aa3a456..779fca4 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/move_file_request.py @@ -32,15 +32,15 @@ class MoveFileRequest(object): Request model for move_file operation. Initializes a new instance. - :param src_path: + :param src_path: Source file path e.g. '/src.ext' :type src_path: str - :param dest_path: + :param dest_path: Destination file path e.g. '/dest.ext' :type dest_path: str - :param src_storage_name: + :param src_storage_name: Source storage name :type src_storage_name: str - :param dest_storage_name: + :param dest_storage_name: Destination storage name :type dest_storage_name: str - :param version_id: + :param version_id: File version ID to move :type version_id: str """ @@ -49,15 +49,15 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for move_file operation. Initializes a new instance. - :param src_path: + :param src_path: Source file path e.g. '/src.ext' :type src_path: str - :param dest_path: + :param dest_path: Destination file path e.g. '/dest.ext' :type dest_path: str - :param src_storage_name: + :param src_storage_name: Source storage name :type src_storage_name: str - :param dest_storage_name: + :param dest_storage_name: Destination storage name :type dest_storage_name: str - :param version_id: + :param version_id: File version ID to move :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py index b180f39..77c6c23 100644 --- a/sdk/AsposeEmailCloudSdk/models/move_folder_request.py +++ b/sdk/AsposeEmailCloudSdk/models/move_folder_request.py @@ -32,13 +32,13 @@ class MoveFolderRequest(object): Request model for move_folder operation. Initializes a new instance. - :param src_path: + :param src_path: Folder path to move e.g. '/folder' :type src_path: str - :param dest_path: + :param dest_path: Destination folder path to move to e.g '/dst' :type dest_path: str - :param src_storage_name: + :param src_storage_name: Source storage name :type src_storage_name: str - :param dest_storage_name: + :param dest_storage_name: Destination storage name :type dest_storage_name: str """ @@ -47,13 +47,13 @@ def __init__(self, src_path: str, dest_path: str, src_storage_name: str = None, Request model for move_folder operation. Initializes a new instance. - :param src_path: + :param src_path: Folder path to move e.g. '/folder' :type src_path: str - :param dest_path: + :param dest_path: Destination folder path to move to e.g '/dst' :type dest_path: str - :param src_storage_name: + :param src_storage_name: Source storage name :type src_storage_name: str - :param dest_storage_name: + :param dest_storage_name: Destination storage name :type dest_storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/object_exist.py b/sdk/AsposeEmailCloudSdk/models/object_exist.py index e21ef46..1c47b9f 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exist.py @@ -32,7 +32,7 @@ class ObjectExist(object): - """ + """Object exists """ """ @@ -54,10 +54,10 @@ class ObjectExist(object): def __init__(self, exists: bool = None, is_folder: bool = None): """ - - :param exists: + Object exists + :param exists: Indicates that the file or folder exists. :type exists: bool - :param is_folder: + :param is_folder: True if it is a folder, false if it is a file. :type is_folder: bool """ @@ -73,7 +73,7 @@ def __init__(self, exists: bool = None, is_folder: bool = None): @property def exists(self) -> bool: """ - Gets the exists of this ObjectExist. + Indicates that the file or folder exists. :return: The exists of this ObjectExist. :rtype: bool @@ -83,7 +83,7 @@ def exists(self) -> bool: @exists.setter def exists(self, exists: bool): """ - Sets the exists of this ObjectExist. + Indicates that the file or folder exists. :param exists: The exists of this ObjectExist. :type: bool @@ -95,7 +95,7 @@ def exists(self, exists: bool): @property def is_folder(self) -> bool: """ - Gets the is_folder of this ObjectExist. + True if it is a folder, false if it is a file. :return: The is_folder of this ObjectExist. :rtype: bool @@ -105,7 +105,7 @@ def is_folder(self) -> bool: @is_folder.setter def is_folder(self, is_folder: bool): """ - Sets the is_folder of this ObjectExist. + True if it is a folder, false if it is a file. :param is_folder: The is_folder of this ObjectExist. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py index 4b852b4..7944ce2 100644 --- a/sdk/AsposeEmailCloudSdk/models/object_exists_request.py +++ b/sdk/AsposeEmailCloudSdk/models/object_exists_request.py @@ -32,11 +32,11 @@ class ObjectExistsRequest(object): Request model for object_exists operation. Initializes a new instance. - :param path: + :param path: File or folder path e.g. '/file.ext' or '/folder' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str - :param version_id: + :param version_id: File version ID :type version_id: str """ @@ -45,11 +45,11 @@ def __init__(self, path: str, storage_name: str = None, version_id: str = None): Request model for object_exists operation. Initializes a new instance. - :param path: + :param path: File or folder path e.g. '/file.ext' or '/folder' :type path: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str - :param version_id: + :param version_id: File version ID :type version_id: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exist.py b/sdk/AsposeEmailCloudSdk/models/storage_exist.py index 27ef618..b27b610 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exist.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exist.py @@ -32,7 +32,7 @@ class StorageExist(object): - """ + """Storage exists """ """ @@ -52,8 +52,8 @@ class StorageExist(object): def __init__(self, exists: bool = None): """ - - :param exists: + Storage exists + :param exists: Shows that the storage exists. :type exists: bool """ @@ -66,7 +66,7 @@ def __init__(self, exists: bool = None): @property def exists(self) -> bool: """ - Gets the exists of this StorageExist. + Shows that the storage exists. :return: The exists of this StorageExist. :rtype: bool @@ -76,7 +76,7 @@ def exists(self) -> bool: @exists.setter def exists(self, exists: bool): """ - Sets the exists of this StorageExist. + Shows that the storage exists. :param exists: The exists of this StorageExist. :type: bool diff --git a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py index bb9b69b..0437cba 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_exists_request.py @@ -32,7 +32,7 @@ class StorageExistsRequest(object): Request model for storage_exists operation. Initializes a new instance. - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ @@ -41,7 +41,7 @@ def __init__(self, storage_name: str): Request model for storage_exists operation. Initializes a new instance. - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/storage_file.py b/sdk/AsposeEmailCloudSdk/models/storage_file.py index 5048585..c280d17 100644 --- a/sdk/AsposeEmailCloudSdk/models/storage_file.py +++ b/sdk/AsposeEmailCloudSdk/models/storage_file.py @@ -32,7 +32,7 @@ class StorageFile(object): - """ + """File or folder information """ """ @@ -60,16 +60,16 @@ class StorageFile(object): def __init__(self, name: str = None, is_folder: bool = None, modified_date: datetime = None, size: int = None, path: str = None): """ - - :param name: + File or folder information + :param name: File or folder name. :type name: str - :param is_folder: + :param is_folder: True if it is a folder. :type is_folder: bool - :param modified_date: + :param modified_date: File or folder last modified DateTime. :type modified_date: datetime - :param size: + :param size: File or folder size. :type size: int - :param path: + :param path: File or folder path. :type path: str """ @@ -94,7 +94,7 @@ def __init__(self, name: str = None, is_folder: bool = None, modified_date: date @property def name(self) -> str: """ - Gets the name of this StorageFile. + File or folder name. :return: The name of this StorageFile. :rtype: str @@ -104,7 +104,7 @@ def name(self) -> str: @name.setter def name(self, name: str): """ - Sets the name of this StorageFile. + File or folder name. :param name: The name of this StorageFile. :type: str @@ -114,7 +114,7 @@ def name(self, name: str): @property def is_folder(self) -> bool: """ - Gets the is_folder of this StorageFile. + True if it is a folder. :return: The is_folder of this StorageFile. :rtype: bool @@ -124,7 +124,7 @@ def is_folder(self) -> bool: @is_folder.setter def is_folder(self, is_folder: bool): """ - Sets the is_folder of this StorageFile. + True if it is a folder. :param is_folder: The is_folder of this StorageFile. :type: bool @@ -136,7 +136,7 @@ def is_folder(self, is_folder: bool): @property def modified_date(self) -> datetime: """ - Gets the modified_date of this StorageFile. + File or folder last modified DateTime. :return: The modified_date of this StorageFile. :rtype: datetime @@ -146,7 +146,7 @@ def modified_date(self) -> datetime: @modified_date.setter def modified_date(self, modified_date: datetime): """ - Sets the modified_date of this StorageFile. + File or folder last modified DateTime. :param modified_date: The modified_date of this StorageFile. :type: datetime @@ -156,7 +156,7 @@ def modified_date(self, modified_date: datetime): @property def size(self) -> int: """ - Gets the size of this StorageFile. + File or folder size. :return: The size of this StorageFile. :rtype: int @@ -166,7 +166,7 @@ def size(self) -> int: @size.setter def size(self, size: int): """ - Sets the size of this StorageFile. + File or folder size. :param size: The size of this StorageFile. :type: int @@ -178,7 +178,7 @@ def size(self, size: int): @property def path(self) -> str: """ - Gets the path of this StorageFile. + File or folder path. :return: The path of this StorageFile. :rtype: str @@ -188,7 +188,7 @@ def path(self) -> str: @path.setter def path(self, path: str): """ - Sets the path of this StorageFile. + File or folder path. :param path: The path of this StorageFile. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py index aefddc1..172c469 100644 --- a/sdk/AsposeEmailCloudSdk/models/upload_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/upload_file_request.py @@ -32,11 +32,11 @@ class UploadFileRequest(object): Request model for upload_file operation. Initializes a new instance. - :param path: + :param path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. :type path: str :param file: File to upload :type file: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ @@ -45,11 +45,11 @@ def __init__(self, path: str, file: str, storage_name: str = None): Request model for upload_file operation. Initializes a new instance. - :param path: + :param path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. :type path: str :param file: File to upload :type file: str - :param storage_name: + :param storage_name: Storage name :type storage_name: str """ diff --git a/sdk/docs/CloudStorageGroup.md b/sdk/docs/CloudStorageGroup.md index c2cffe8..5ffdedb 100644 --- a/sdk/docs/CloudStorageGroup.md +++ b/sdk/docs/CloudStorageGroup.md @@ -3,6 +3,6 @@ Cloud file storage operations. API | Description --- | ----------- -[EmailCloud.cloud_storage.**file**](FileApi_list.md) | -[EmailCloud.cloud_storage.**folder**](FolderApi_list.md) | -[EmailCloud.cloud_storage.**storage**](StorageApi_list.md) | +[EmailCloud.cloud_storage.**file**](FileApi_list.md) | File operations controller +[EmailCloud.cloud_storage.**folder**](FolderApi_list.md) | Folder operations controller +[EmailCloud.cloud_storage.**storage**](StorageApi_list.md) | Storage operations controller diff --git a/sdk/docs/DiscUsage.md b/sdk/docs/DiscUsage.md index d834bee..08c52aa 100644 --- a/sdk/docs/DiscUsage.md +++ b/sdk/docs/DiscUsage.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**used_size** | **int** | | -**total_size** | **int** | | +**used_size** | **int** | Application used disc space. | +**total_size** | **int** | Total disc space. | diff --git a/sdk/docs/Error.md b/sdk/docs/Error.md index c5e9e63..14b3763 100644 --- a/sdk/docs/Error.md +++ b/sdk/docs/Error.md @@ -2,10 +2,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**code** | **str** | | [optional] -**message** | **str** | | [optional] -**description** | **str** | | [optional] -**inner_error** | [**ErrorDetails**](ErrorDetails.md) | | [optional] +**code** | **str** | Code | [optional] +**message** | **str** | Message | [optional] +**description** | **str** | Description | [optional] +**inner_error** | [**ErrorDetails**](ErrorDetails.md) | Inner Error | [optional] diff --git a/sdk/docs/ErrorDetails.md b/sdk/docs/ErrorDetails.md index 84ec28f..bd0524f 100644 --- a/sdk/docs/ErrorDetails.md +++ b/sdk/docs/ErrorDetails.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**request_id** | **str** | | [optional] -**_date** | **datetime** | | +**request_id** | **str** | The request id | [optional] +**_date** | **datetime** | Date | diff --git a/sdk/docs/FileApi.md b/sdk/docs/FileApi.md index d9d45af..8244d76 100644 --- a/sdk/docs/FileApi.md +++ b/sdk/docs/FileApi.md @@ -8,7 +8,7 @@ copy_file(self, request: CopyFileRequest) ``` - +Copy file ### Return type @@ -26,11 +26,11 @@ CopyFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str** | | - **dest_path** | **str** | | - **src_storage_name** | **str** | | [optional] - **dest_storage_name** | **str** | | [optional] - **version_id** | **str** | | [optional] + **src_path** | **str** | Source file path e.g. '/folder/file.ext' | + **dest_path** | **str** | Destination file path | + **src_storage_name** | **str** | Source storage name | [optional] + **dest_storage_name** | **str** | Destination storage name | [optional] + **version_id** | **str** | File version ID to copy | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -41,7 +41,7 @@ Name | Type | Description | Notes delete_file(self, request: DeleteFileRequest) ``` - +Delete file ### Return type @@ -57,9 +57,9 @@ DeleteFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | | - **storage_name** | **str** | | [optional] - **version_id** | **str** | | [optional] + **path** | **str** | File path e.g. '/folder/file.ext' | + **storage_name** | **str** | Storage name | [optional] + **version_id** | **str** | File version ID to delete | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -70,7 +70,7 @@ Name | Type | Description | Notes download_file(self, request: DownloadFileRequest) ``` - +Download file ### Return type @@ -86,9 +86,9 @@ DownloadFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | | - **storage_name** | **str** | | [optional] - **version_id** | **str** | | [optional] + **path** | **str** | File path e.g. '/folder/file.ext' | + **storage_name** | **str** | Storage name | [optional] + **version_id** | **str** | File version ID to download | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -99,7 +99,7 @@ Name | Type | Description | Notes move_file(self, request: MoveFileRequest) ``` - +Move file ### Return type @@ -117,11 +117,11 @@ MoveFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str** | | - **dest_path** | **str** | | - **src_storage_name** | **str** | | [optional] - **dest_storage_name** | **str** | | [optional] - **version_id** | **str** | | [optional] + **src_path** | **str** | Source file path e.g. '/src.ext' | + **dest_path** | **str** | Destination file path e.g. '/dest.ext' | + **src_storage_name** | **str** | Source storage name | [optional] + **dest_storage_name** | **str** | Destination storage name | [optional] + **version_id** | **str** | File version ID to move | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -132,7 +132,7 @@ Name | Type | Description | Notes upload_file(self, request: UploadFileRequest) ``` - +Upload file ### Return type @@ -148,9 +148,9 @@ UploadFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | | + **path** | **str** | Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. | **file** | **str** | File to upload | - **storage_name** | **str** | | [optional] + **storage_name** | **str** | Storage name | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FileApi_list.md b/sdk/docs/FileApi_list.md index d07e8e2..2e5ba59 100644 --- a/sdk/docs/FileApi_list.md +++ b/sdk/docs/FileApi_list.md @@ -5,8 +5,8 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* Method | HTTP request | Description ------------- | ------------- | ------------- -[**copy_file**](FileApi.md#copy_file)| **PUT** /email/storage/file/copy/{srcPath}| -[**delete_file**](FileApi.md#delete_file)| **DELETE** /email/storage/file/{path}| -[**download_file**](FileApi.md#download_file)| **GET** /email/storage/file/{path}| -[**move_file**](FileApi.md#move_file)| **PUT** /email/storage/file/move/{srcPath}| -[**upload_file**](FileApi.md#upload_file)| **PUT** /email/storage/file/{path}| +[**copy_file**](FileApi.md#copy_file)| **PUT** /email/storage/file/copy/{srcPath}| Copy file +[**delete_file**](FileApi.md#delete_file)| **DELETE** /email/storage/file/{path}| Delete file +[**download_file**](FileApi.md#download_file)| **GET** /email/storage/file/{path}| Download file +[**move_file**](FileApi.md#move_file)| **PUT** /email/storage/file/move/{srcPath}| Move file +[**upload_file**](FileApi.md#upload_file)| **PUT** /email/storage/file/{path}| Upload file diff --git a/sdk/docs/FileVersion.md b/sdk/docs/FileVersion.md index d9e198c..33cad68 100644 --- a/sdk/docs/FileVersion.md +++ b/sdk/docs/FileVersion.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version_id** | **str** | | [optional] -**is_latest** | **bool** | | +**version_id** | **str** | File Version ID. | [optional] +**is_latest** | **bool** | Specifies whether the file is (true) or is not (false) the latest version of an file. | Parent class: [StorageFile](StorageFile.md) diff --git a/sdk/docs/FileVersions.md b/sdk/docs/FileVersions.md index 2bdeb6d..2155024 100644 --- a/sdk/docs/FileVersions.md +++ b/sdk/docs/FileVersions.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**list[FileVersion]**](FileVersion.md) | | [optional] +**value** | [**list[FileVersion]**](FileVersion.md) | File versions FileVersion. | [optional] diff --git a/sdk/docs/FilesList.md b/sdk/docs/FilesList.md index 3a60d4e..e306967 100644 --- a/sdk/docs/FilesList.md +++ b/sdk/docs/FilesList.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**list[StorageFile]**](StorageFile.md) | | [optional] +**value** | [**list[StorageFile]**](StorageFile.md) | Files and folders contained by folder StorageFile. | [optional] diff --git a/sdk/docs/FilesUploadResult.md b/sdk/docs/FilesUploadResult.md index 089ddab..64c161a 100644 --- a/sdk/docs/FilesUploadResult.md +++ b/sdk/docs/FilesUploadResult.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**uploaded** | **list[str]** | | [optional] -**errors** | [**list[Error]**](Error.md) | | [optional] +**uploaded** | **list[str]** | List of uploaded file names | [optional] +**errors** | [**list[Error]**](Error.md) | List of errors. | [optional] diff --git a/sdk/docs/FolderApi.md b/sdk/docs/FolderApi.md index 1c682a8..bbb8d2c 100644 --- a/sdk/docs/FolderApi.md +++ b/sdk/docs/FolderApi.md @@ -8,7 +8,7 @@ copy_folder(self, request: CopyFolderRequest) ``` - +Copy folder ### Return type @@ -25,10 +25,10 @@ CopyFolderRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str** | | - **dest_path** | **str** | | - **src_storage_name** | **str** | | [optional] - **dest_storage_name** | **str** | | [optional] + **src_path** | **str** | Source folder path e.g. '/src' | + **dest_path** | **str** | Destination folder path e.g. '/dst' | + **src_storage_name** | **str** | Source storage name | [optional] + **dest_storage_name** | **str** | Destination storage name | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -39,7 +39,7 @@ Name | Type | Description | Notes create_folder(self, request: CreateFolderRequest) ``` - +Create the folder ### Return type @@ -54,8 +54,8 @@ CreateFolderRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | | - **storage_name** | **str** | | [optional] + **path** | **str** | Folder path to create e.g. 'folder_1/folder_2/' | + **storage_name** | **str** | Storage name | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -66,7 +66,7 @@ Name | Type | Description | Notes delete_folder(self, request: DeleteFolderRequest) ``` - +Delete folder ### Return type @@ -82,9 +82,9 @@ DeleteFolderRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | | - **storage_name** | **str** | | [optional] - **recursive** | **bool** | | [optional] [default to false] + **path** | **str** | Folder path e.g. '/folder' | + **storage_name** | **str** | Storage name | [optional] + **recursive** | **bool** | Enable to delete folders, subfolders and files | [optional] [default to false] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -95,7 +95,7 @@ Name | Type | Description | Notes get_files_list(self, request: GetFilesListRequest) ``` - +Get all files and folders within a folder ### Return type @@ -110,8 +110,8 @@ GetFilesListRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | | - **storage_name** | **str** | | [optional] + **path** | **str** | Folder path e.g. '/folder' | + **storage_name** | **str** | Storage name | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -122,7 +122,7 @@ Name | Type | Description | Notes move_folder(self, request: MoveFolderRequest) ``` - +Move folder ### Return type @@ -139,10 +139,10 @@ MoveFolderRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src_path** | **str** | | - **dest_path** | **str** | | - **src_storage_name** | **str** | | [optional] - **dest_storage_name** | **str** | | [optional] + **src_path** | **str** | Folder path to move e.g. '/folder' | + **dest_path** | **str** | Destination folder path to move to e.g '/dst' | + **src_storage_name** | **str** | Source storage name | [optional] + **dest_storage_name** | **str** | Destination storage name | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/FolderApi_list.md b/sdk/docs/FolderApi_list.md index 1a7ca12..942da5b 100644 --- a/sdk/docs/FolderApi_list.md +++ b/sdk/docs/FolderApi_list.md @@ -5,8 +5,8 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* Method | HTTP request | Description ------------- | ------------- | ------------- -[**copy_folder**](FolderApi.md#copy_folder)| **PUT** /email/storage/folder/copy/{srcPath}| -[**create_folder**](FolderApi.md#create_folder)| **PUT** /email/storage/folder/{path}| -[**delete_folder**](FolderApi.md#delete_folder)| **DELETE** /email/storage/folder/{path}| -[**get_files_list**](FolderApi.md#get_files_list)| **GET** /email/storage/folder/{path}| -[**move_folder**](FolderApi.md#move_folder)| **PUT** /email/storage/folder/move/{srcPath}| +[**copy_folder**](FolderApi.md#copy_folder)| **PUT** /email/storage/folder/copy/{srcPath}| Copy folder +[**create_folder**](FolderApi.md#create_folder)| **PUT** /email/storage/folder/{path}| Create the folder +[**delete_folder**](FolderApi.md#delete_folder)| **DELETE** /email/storage/folder/{path}| Delete folder +[**get_files_list**](FolderApi.md#get_files_list)| **GET** /email/storage/folder/{path}| Get all files and folders within a folder +[**move_folder**](FolderApi.md#move_folder)| **PUT** /email/storage/folder/move/{srcPath}| Move folder diff --git a/sdk/docs/ObjectExist.md b/sdk/docs/ObjectExist.md index c8c39bc..b9d7c55 100644 --- a/sdk/docs/ObjectExist.md +++ b/sdk/docs/ObjectExist.md @@ -2,8 +2,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**exists** | **bool** | | -**is_folder** | **bool** | | +**exists** | **bool** | Indicates that the file or folder exists. | +**is_folder** | **bool** | True if it is a folder, false if it is a file. | diff --git a/sdk/docs/StorageApi.md b/sdk/docs/StorageApi.md index eb7a673..b5d10de 100644 --- a/sdk/docs/StorageApi.md +++ b/sdk/docs/StorageApi.md @@ -8,7 +8,7 @@ get_disc_usage(self, request: GetDiscUsageRequest) ``` - +Get disc usage ### Return type @@ -22,7 +22,7 @@ GetDiscUsageRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage_name** | **str** | | [optional] + **storage_name** | **str** | Storage name | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -33,7 +33,7 @@ Name | Type | Description | Notes get_file_versions(self, request: GetFileVersionsRequest) ``` - +Get file versions ### Return type @@ -48,8 +48,8 @@ GetFileVersionsRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | | - **storage_name** | **str** | | [optional] + **path** | **str** | File path e.g. '/file.ext' | + **storage_name** | **str** | Storage name | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -60,7 +60,7 @@ Name | Type | Description | Notes object_exists(self, request: ObjectExistsRequest) ``` - +Check if file or folder exists ### Return type @@ -76,9 +76,9 @@ ObjectExistsRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **str** | | - **storage_name** | **str** | | [optional] - **version_id** | **str** | | [optional] + **path** | **str** | File or folder path e.g. '/file.ext' or '/folder' | + **storage_name** | **str** | Storage name | [optional] + **version_id** | **str** | File version ID | [optional] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -89,7 +89,7 @@ Name | Type | Description | Notes exists(self, request: StorageExistsRequest) ``` - +Check if storage exists ### Return type @@ -103,7 +103,7 @@ StorageExistsRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage_name** | **str** | | + **storage_name** | **str** | Storage name | [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/StorageApi_list.md b/sdk/docs/StorageApi_list.md index e8978f7..29212a2 100644 --- a/sdk/docs/StorageApi_list.md +++ b/sdk/docs/StorageApi_list.md @@ -5,7 +5,7 @@ All URIs are relative to *https://api.aspose.cloud/v4.0* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_disc_usage**](StorageApi.md#get_disc_usage)| **GET** /email/storage/disc| -[**get_file_versions**](StorageApi.md#get_file_versions)| **GET** /email/storage/version/{path}| -[**object_exists**](StorageApi.md#object_exists)| **GET** /email/storage/exist/{path}| -[**exists**](StorageApi.md#exists)| **GET** /email/storage/{storageName}/exist| +[**get_disc_usage**](StorageApi.md#get_disc_usage)| **GET** /email/storage/disc| Get disc usage +[**get_file_versions**](StorageApi.md#get_file_versions)| **GET** /email/storage/version/{path}| Get file versions +[**object_exists**](StorageApi.md#object_exists)| **GET** /email/storage/exist/{path}| Check if file or folder exists +[**exists**](StorageApi.md#exists)| **GET** /email/storage/{storageName}/exist| Check if storage exists diff --git a/sdk/docs/StorageExist.md b/sdk/docs/StorageExist.md index e231e53..6b55561 100644 --- a/sdk/docs/StorageExist.md +++ b/sdk/docs/StorageExist.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**exists** | **bool** | | +**exists** | **bool** | Shows that the storage exists. | diff --git a/sdk/docs/StorageFile.md b/sdk/docs/StorageFile.md index 044a462..cd85f6f 100644 --- a/sdk/docs/StorageFile.md +++ b/sdk/docs/StorageFile.md @@ -2,11 +2,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**is_folder** | **bool** | | -**modified_date** | **datetime** | | [optional] -**size** | **int** | | -**path** | **str** | | [optional] +**name** | **str** | File or folder name. | [optional] +**is_folder** | **bool** | True if it is a folder. | +**modified_date** | **datetime** | File or folder last modified DateTime. | [optional] +**size** | **int** | File or folder size. | +**path** | **str** | File or folder path. | [optional] diff --git a/sdk/setup.py b/sdk/setup.py index 8800839..f0eb98c 100644 --- a/sdk/setup.py +++ b/sdk/setup.py @@ -8,7 +8,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "aspose-email-cloud" -VERSION = "20.9.0.136" +VERSION = "20.9.0.137" # To install the library, run the following # # python setup.py install From a7a02d651f0938c01dd26869e339b5d6844f5f7b Mon Sep 17 00:00:00 2001 From: "Aspose.Email Team" Date: Fri, 28 Aug 2020 14:59:10 -0500 Subject: [PATCH 19/20] SDK version 20.9.0.138 generated --- README.md | 84 +++++++++++++++++----------------------------------- sdk/setup.py | 2 +- 2 files changed, 28 insertions(+), 58 deletions(-) diff --git a/README.md b/README.md index a8634e9..3a27e63 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,25 @@ -# Aspose.Email Cloud SDK for Python +# Manage Emails in Cloud via Python REST SDK [![PYPI](https://img.shields.io/pypi/v/aspose-email-cloud)](https://pypi.org/project/aspose-email-cloud/) [![License](https://img.shields.io/github/license/aspose-email-cloud/aspose-email-cloud-python)](https://pypi.org/project/aspose-email-cloud/) ![tests](https://github.com/aspose-email-cloud/aspose-email-cloud-python/workflows/tests/badge.svg) -This repository contains Aspose.Email Cloud SDK for Python source code. This SDK allows you to work with Aspose.Email Cloud REST APIs in your Python applications quickly and easily, with zero initial cost. +[Aspose.Email Cloud SDK for Python](https://products.aspose.cloud/email/python) is a REST API SDK for creating email applications that work with standard email file formats such as Outlook MSG, EML, iCalendar files and VCard. -[Aspose.Email Cloud home](https://products.aspose.cloud/email/family "Aspose.Email Cloud") +This SDK allows you to work with Aspose.Email Cloud REST APIs in your Python applications quickly and easily, with zero initial cost. + +[Aspose.Email Cloud home](https://products.aspose.cloud/email/family) [API Reference](https://apireference.aspose.cloud/email/) -# Key features +# Cloud Email Processing Features Aspose.Email Cloud is a REST API for creating email applications that work with standard email file formats. This SDK: -- Lets developers manipulate different emails’ formats such as Outlook MSG, EML, VCard, and iCalendar files -- Lets developers manipulate different emails' formats such as Outlook MSG, EML, VCard, and iCalendar files +- Lets developers manipulate different emails' formats such as Outlook MSG, EML, VCard, and iCalendar files. - Supports AI functions: -- The Business card recognition -- The Name API for parsing and handling personal names + - The Business card recognition. + - The Name API for parsing and handling personal names. - Has a built-in email client. This client provides: -- Unified REST API for different email protocols: IMAP, POP3, SMTP, EWS, WebDav -- Virtual multi-account -- Message threads (POP3 accounts are also supported) -- Email configuration discovery -- Disposable email address detection + - Unified REST API for different email protocols: IMAP, POP3, SMTP, EWS, WebDav. + - Virtual multi-account. + - Message threads (POP3 accounts are also supported). +- Email configuration discovery. +- Disposable email address detection. ## New features in version 20.9 @@ -33,20 +34,11 @@ Aspose.Email Cloud SDK 20.9.0 is based on a new v4.0 REST API. See [Release notes](https://docs.aspose.cloud/display/emailcloud/Aspose.Email+Cloud+20.9+Release+Notes). ## How to use the SDK? -The complete source code is available in the GIT repository. +The complete source code is available in the [GIT repository](https://github.com/aspose-email-cloud/aspose-email-cloud-python/tree/master/sdk/AsposeEmailCloudSdk). -Use [SDK tutorials](https://docs.aspose.cloud/display/emailcloud/SDK+Tutorials): -- [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup) - installation, account setup, first API calls -- [Business Cards Recognition API](https://docs.aspose.cloud/display/emailcloud/Business+Cards+Recognition+API) - convert captured business cards and name card images, into a vCard format -- [Working with Name API](https://docs.aspose.cloud/display/emailcloud/Working+with+Name+API) - format, genderize, compare, parse, autocomplete names -- [Email Message Files](https://docs.aspose.cloud/display/emailcloud/Email+Message+Files) - Convert EML to MSG and back, edit EML files, etc. -- [Quick Start With iCalendar API](https://docs.aspose.cloud/display/emailcloud/Quick+Start+With+iCalendar+API) - Crate and edit iCalendar files -- [Quick Start With VCard API](https://docs.aspose.cloud/display/emailcloud/Quick+Start+With+VCard+API) - Create and edit VCard files, business card recognition -- [Quick Start With Email Client](https://docs.aspose.cloud/display/emailcloud/Quick+Start+With+Email+Client) - Setup builtin email client, search/fetch/send/move/delete messages -- [Email Client Threads](https://docs.aspose.cloud/display/emailcloud/Email+Client+Threads) - Fetch/Move/Delete email message threads using builtin email client -- [File converters](https://docs.aspose.cloud/display/emailcloud/Convert+Email%2C+Calendar+and+Contact+Files) +Use [SDK tutorials](https://docs.aspose.cloud/display/emailcloud/SDK+Tutorials). -SDK reference documentation is available in [this README](sdk/docs/README.md) +SDK reference documentation is available in [this README](https://github.com/aspose-email-cloud/aspose-email-cloud-python/blob/master/sdk/docs/README.md). ### Prerequisites @@ -56,52 +48,30 @@ To use this SDK, you need an App SID and an App Key; they can be looked up at [A You can use it directly in your project via the source code or get a [PYPI Package](https://pypi.org/project/aspose-email-cloud/): -pip install aspose-email-cloud + pip install aspose-email-cloud -See more details about SDK installation in this tutorial: [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup) +See more details about SDK installation in this tutorial: [SDK setup](https://docs.aspose.cloud/display/emailcloud/SDK+setup). ### Usage examples -To use the API, you should create an EmailApi object: +To use the API, you should create an EmailCloud object: ```python from AsposeEmailCloudSdk import api #EmailApi class is here from AsposeEmailCloudSdk import models #REST API models are here -from AsposeEmailCloudSdk.models import requests #Request models are here (all API calls use corresponding request model class) #... app_sid = 'Your App SID' app_key = 'Your App Key' -email_api = api.EmailApi(app_key, app_sid) +email_cloud = api.EmailCloud(app_key, app_sid) ``` #### Business cards recognition API -Use `AiBcrParseModel` method to parse business card image to VCard DTO: +Use `AiBcrApi.parse` method to parse business card image to VCard DTO: ```python -image_data = None -with open('/tmp/alex.png', 'rb') as f: -filedata = f.read() -image_data = str(base64.b64encode(filedata), 'utf-8') -result = email_api.ai_bcr_parse_model(requests.AiBcrParseModelRequest( -models.AiBcrBase64Rq(images=[models.AiBcrBase64Image(True, image_data)]))) +path = 'path/to/image/to/parse.png' +result = email_cloud.ai.bcr.parse(models.AiBcrParseRequest(image_file)) contact = result.value[0] +assert 'Parsed Display Name' in contact.display_name ``` -See more details [here](https://docs.aspose.cloud/display/emailcloud/Parse+Image+To+VCard+File) and [here](https://docs.aspose.cloud/display/emailcloud/Business+Cards+Recognition+API) - -# Licensing -All Aspose.Email Cloud SDKs, helper scripts and templates are licensed under [MIT License](LICENSE). - -# Resources -+ [**SDK Reference documentation**](sdk/docs/README.md) -+ [**Website**](https://www.aspose.cloud) -+ [**Product Home**](https://products.aspose.cloud/Email/cloud) -+ [**Documentation**](https://docs.aspose.cloud/display/Emailcloud/Home) -+ [**API Reference**](https://apireference.aspose.cloud/email/) -+ [**Free Support Forum**](https://forum.aspose.cloud/c/email) -+ [**Paid Support Helpdesk**](https://helpdesk.aspose.cloud/) -+ [**Blog**](https://blog.aspose.cloud/category/aspose-products/aspose-email-cloud/) -+ [**Git repository: Aspose.Email Cloud SDK for .Net**](https://github.com/aspose-email-cloud/aspose-email-cloud-dotnet) -+ [**Git repository: Aspose.Email Cloud SDK for Ruby**](https://github.com/aspose-email-cloud/aspose-email-cloud-ruby) -+ [**Git repository: Aspose.Email Cloud SDK for Python**](https://github.com/aspose-email-cloud/aspose-email-cloud-python) -+ [**Git repository: Aspose.Email Cloud SDK for PHP**](https://github.com/aspose-email-cloud/aspose-email-cloud-php) -+ [**Git repository: Aspose.Email Cloud SDK for Typescript**](https://github.com/aspose-email-cloud/aspose-email-cloud-node) -+ [**Git repository: Aspose.Email Cloud SDK for Java**](https://github.com/aspose-email-cloud/aspose-email-cloud-java) + +[Product Page](https://products.aspose.cloud/email/python) | [Documentation](https://docs.aspose.cloud/display/Emailcloud/Home) | [Demo](https://products.aspose.app/email/family) | [API Reference](https://apireference.aspose.cloud/email/) | [Blog](https://blog.aspose.cloud/category/email/) | [Free support](https://forum.aspose.cloud/c/email) | [Free trial](https://dashboard.aspose.cloud/#/apps) \ No newline at end of file diff --git a/sdk/setup.py b/sdk/setup.py index f0eb98c..4977c92 100644 --- a/sdk/setup.py +++ b/sdk/setup.py @@ -8,7 +8,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "aspose-email-cloud" -VERSION = "20.9.0.137" +VERSION = "20.9.0.138" # To install the library, run the following # # python setup.py install From 235ab6b69c34805b0121e33f957e9068df029ac1 Mon Sep 17 00:00:00 2001 From: "Aspose.Email Team" Date: Mon, 7 Sep 2020 10:43:41 -0500 Subject: [PATCH 20/20] SDK version 20.9.0.139 generated --- .../models/client_message_append_file_request.py | 4 ++-- .../models/client_message_fetch_file_request.py | 4 ++-- .../models/client_message_fetch_request.py | 4 ++-- .../models/client_message_list_request.py | 4 ++-- .../models/client_message_send_file_request.py | 4 ++-- .../models/email_as_file_request.py | 6 +++--- .../models/email_convert_request.py | 8 ++++---- .../models/email_from_file_request.py | 4 ++-- .../models/email_get_as_file_request.py | 4 ++-- .../models/email_get_list_request.py | 4 ++-- sdk/AsposeEmailCloudSdk/models/email_get_request.py | 4 ++-- sdk/AsposeEmailCloudSdk/models/email_save_request.py | 6 +++--- .../models/mail_message_base64.py | 6 +++--- .../models/mapi_message_as_file_request.py | 6 +++--- .../models/mapi_message_from_file_request.py | 4 ++-- .../models/mapi_message_get_request.py | 4 ++-- .../models/mapi_message_save_request.py | 6 +++--- sdk/docs/ClientMessageApi.md | 10 +++++----- sdk/docs/EmailApi.md | 12 ++++++------ sdk/docs/EmailAsFileRequest.md | 2 +- sdk/docs/EmailSaveRequest.md | 2 +- sdk/docs/MailMessageBase64.md | 2 +- sdk/docs/MapiMessageApi.md | 4 ++-- sdk/docs/MapiMessageAsFileRequest.md | 2 +- sdk/docs/MapiMessageSaveRequest.md | 2 +- sdk/setup.py | 2 +- 26 files changed, 60 insertions(+), 60 deletions(-) diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py index c0e1e4d..4beb7e1 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_append_file_request.py @@ -40,7 +40,7 @@ class ClientMessageAppendFileRequest(object): :type storage: str :param account_storage_folder: Folder in storage where account file located. :type account_storage_folder: str - :param format: Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param folder: Path to folder on email server to append message to. :type folder: str @@ -61,7 +61,7 @@ def __init__(self, account: str, file: str, storage: str = None, account_storage :type storage: str :param account_storage_folder: Folder in storage where account file located. :type account_storage_folder: str - :param format: Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param folder: Path to folder on email server to append message to. :type folder: str diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py index 5158de8..9cae2ce 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_file_request.py @@ -42,7 +42,7 @@ class ClientMessageFetchFileRequest(object): :type storage: str :param account_storage_folder: Folder in storage where account file located. :type account_storage_folder: str - :param format: Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ @@ -61,7 +61,7 @@ def __init__(self, message_id: str, account: str, folder: str = None, storage: s :type storage: str :param account_storage_folder: Folder in storage where account file located. :type account_storage_folder: str - :param format: Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py index 663fc9c..cc81310 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_fetch_request.py @@ -44,7 +44,7 @@ class ClientMessageFetchRequest(object): :type account_storage_folder: str :param type: MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 :type type: str - :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ @@ -65,7 +65,7 @@ def __init__(self, message_id: str, account: str, folder: str = None, storage: s :type account_storage_folder: str :param type: MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 :type type: str - :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py index 48ad8dd..87939a1 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_list_request.py @@ -46,7 +46,7 @@ class ClientMessageListRequest(object): :type recursive: bool :param type: MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 :type type: str - :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ @@ -69,7 +69,7 @@ def __init__(self, folder: str, account: str, query_string: str = None, storage: :type recursive: bool :param type: MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 :type type: str - :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py b/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py index 0232a8e..7a2f860 100644 --- a/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/client_message_send_file_request.py @@ -40,7 +40,7 @@ class ClientMessageSendFileRequest(object): :type storage: str :param account_storage_folder: Folder in storage where account file located. :type account_storage_folder: str - :param format: Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ @@ -57,7 +57,7 @@ def __init__(self, account: str, file: str, storage: str = None, account_storage :type storage: str :param account_storage_folder: Folder in storage where account file located. :type account_storage_folder: str - :param format: Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ diff --git a/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py index 9f2cf1a..938c9fa 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_as_file_request.py @@ -57,7 +57,7 @@ class EmailAsFileRequest(object): def __init__(self, format: str = None, value: EmailDto = None): """ Convert email model to file request. - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param value: Email model. :type value: EmailDto @@ -75,7 +75,7 @@ def __init__(self, format: str = None, value: EmailDto = None): @property def format(self) -> str: """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :return: The format of this EmailAsFileRequest. :rtype: str @@ -85,7 +85,7 @@ def format(self) -> str: @format.setter def format(self, format: str): """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :param format: The format of this EmailAsFileRequest. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py index fdda7ab..e96834c 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_convert_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_convert_request.py @@ -32,9 +32,9 @@ class EmailConvertRequest(object): Request model for email_convert operation. Initializes a new instance. - :param from_format: File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param from_format: File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type from_format: str - :param to_format: File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param to_format: File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type to_format: str :param file: File to convert :type file: str @@ -45,9 +45,9 @@ def __init__(self, from_format: str, to_format: str, file: str): Request model for email_convert operation. Initializes a new instance. - :param from_format: File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param from_format: File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type from_format: str - :param to_format: File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param to_format: File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type to_format: str :param file: File to convert :type file: str diff --git a/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py index 15aadd9..9f08f23 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_from_file_request.py @@ -32,7 +32,7 @@ class EmailFromFileRequest(object): Request model for email_from_file operation. Initializes a new instance. - :param format: Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param file: File to convert :type file: str @@ -43,7 +43,7 @@ def __init__(self, format: str, file: str): Request model for email_from_file operation. Initializes a new instance. - :param format: Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param file: File to convert :type file: str diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py index 2726c32..2bb38ad 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_as_file_request.py @@ -34,7 +34,7 @@ class EmailGetAsFileRequest(object): :param file_name: Email document file name :type file_name: str - :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param storage: Storage name :type storage: str @@ -49,7 +49,7 @@ def __init__(self, file_name: str, format: str, storage: str = None, folder: str :param file_name: Email document file name :type file_name: str - :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param storage: Storage name :type storage: str diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py index 95a4dfb..e9caecb 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_list_request.py @@ -32,7 +32,7 @@ class EmailGetListRequest(object): Request model for email_get_list operation. Initializes a new instance. - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param folder: Path to folder in storage. :type folder: str @@ -49,7 +49,7 @@ def __init__(self, format: str, folder: str = None, storage: str = None, items_p Request model for email_get_list operation. Initializes a new instance. - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param folder: Path to folder in storage. :type folder: str diff --git a/sdk/AsposeEmailCloudSdk/models/email_get_request.py b/sdk/AsposeEmailCloudSdk/models/email_get_request.py index 3eebe48..30c2065 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_get_request.py @@ -32,7 +32,7 @@ class EmailGetRequest(object): Request model for email_get operation. Initializes a new instance. - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param file_name: Email document file name. :type file_name: str @@ -47,7 +47,7 @@ def __init__(self, format: str, file_name: str, folder: str = None, storage: str Request model for email_get operation. Initializes a new instance. - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param file_name: Email document file name. :type file_name: str diff --git a/sdk/AsposeEmailCloudSdk/models/email_save_request.py b/sdk/AsposeEmailCloudSdk/models/email_save_request.py index a4ea87b..c93ecf2 100644 --- a/sdk/AsposeEmailCloudSdk/models/email_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/email_save_request.py @@ -65,7 +65,7 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = N :type storage_file: StorageFileLocation :param value: :type value: EmailDto - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ super(EmailSaveRequest, self).__init__() @@ -83,7 +83,7 @@ def __init__(self, storage_file: StorageFileLocation = None, value: EmailDto = N @property def format(self) -> str: """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :return: The format of this EmailSaveRequest. :rtype: str @@ -93,7 +93,7 @@ def format(self) -> str: @format.setter def format(self, format: str): """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :param format: The format of this EmailSaveRequest. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py index 821dbdc..e5e9df0 100644 --- a/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py +++ b/sdk/AsposeEmailCloudSdk/models/mail_message_base64.py @@ -61,7 +61,7 @@ def __init__(self, value_base64: str = None, format: str = None): Email message represented as file, encoded to Base64 format. :param value_base64: Email message file data encoded to Base64 string. :type value_base64: str - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ super(MailMessageBase64, self).__init__() @@ -101,7 +101,7 @@ def value_base64(self, value_base64: str): @property def format(self) -> str: """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :return: The format of this MailMessageBase64. :rtype: str @@ -111,7 +111,7 @@ def format(self) -> str: @format.setter def format(self, format: str): """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :param format: The format of this MailMessageBase64. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py index 68f36e0..c7ab3eb 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_as_file_request.py @@ -57,7 +57,7 @@ class MapiMessageAsFileRequest(object): def __init__(self, format: str = None, value: MapiMessageDto = None): """ Convert MapiMessage to file request. - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param value: MAPI message model. :type value: MapiMessageDto @@ -75,7 +75,7 @@ def __init__(self, format: str = None, value: MapiMessageDto = None): @property def format(self) -> str: """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :return: The format of this MapiMessageAsFileRequest. :rtype: str @@ -85,7 +85,7 @@ def format(self) -> str: @format.setter def format(self, format: str): """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :param format: The format of this MapiMessageAsFileRequest. :type: str diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py index c5b2ef1..e651751 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_from_file_request.py @@ -32,7 +32,7 @@ class MapiMessageFromFileRequest(object): Request model for mapi_message_from_file operation. Initializes a new instance. - :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param file: File to convert :type file: str @@ -43,7 +43,7 @@ def __init__(self, format: str, file: str): Request model for mapi_message_from_file operation. Initializes a new instance. - :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param file: File to convert :type file: str diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py index 04228f8..dfa1e88 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_get_request.py @@ -32,7 +32,7 @@ class MapiMessageGetRequest(object): Request model for mapi_message_get operation. Initializes a new instance. - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param file_name: Email document file name. :type file_name: str @@ -47,7 +47,7 @@ def __init__(self, format: str, file_name: str, folder: str = None, storage: str Request model for mapi_message_get operation. Initializes a new instance. - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str :param file_name: Email document file name. :type file_name: str diff --git a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py index 18c6430..badb119 100644 --- a/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py +++ b/sdk/AsposeEmailCloudSdk/models/mapi_message_save_request.py @@ -65,7 +65,7 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageD :type storage_file: StorageFileLocation :param value: :type value: MapiMessageDto - :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + :param format: Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :type format: str """ super(MapiMessageSaveRequest, self).__init__() @@ -83,7 +83,7 @@ def __init__(self, storage_file: StorageFileLocation = None, value: MapiMessageD @property def format(self) -> str: """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :return: The format of this MapiMessageSaveRequest. :rtype: str @@ -93,7 +93,7 @@ def format(self) -> str: @format.setter def format(self, format: str): """ - Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef + Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft :param format: The format of this MapiMessageSaveRequest. :type: str diff --git a/sdk/docs/ClientMessageApi.md b/sdk/docs/ClientMessageApi.md index cbeea28..275bcbc 100644 --- a/sdk/docs/ClientMessageApi.md +++ b/sdk/docs/ClientMessageApi.md @@ -51,7 +51,7 @@ Name | Type | Description | Notes **file** | **str** | Message file to append. | **storage** | **str** | Storage name where account file located. | [optional] **account_storage_folder** | **str** | Folder in storage where account file located. | [optional] - **format** | **str** | Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **format** | **str** | Email file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | [optional] [default to 0] **folder** | **str** | Path to folder on email server to append message to. | [optional] **mark_as_sent** | **bool** | Determines that appended message should be market as sent or not. | [optional] [default to true] @@ -109,7 +109,7 @@ Name | Type | Description | Notes **storage** | **str** | Storage name where account file located. | [optional] **account_storage_folder** | **str** | Folder in storage where account file located. | [optional] **type** | **str** | MailMessageBase type. Using this property you can fetch message in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] - **format** | **str** | Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **format** | **str** | Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | [optional] [default to 0] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -144,7 +144,7 @@ Name | Type | Description | Notes **folder** | **str** | Account folder to fetch from (should be specified for some protocols such as IMAP) | [optional] **storage** | **str** | Storage name where account file located. | [optional] **account_storage_folder** | **str** | Folder in storage where account file located. | [optional] - **format** | **str** | Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **format** | **str** | Fetched message file format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | [optional] [default to 0] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -185,7 +185,7 @@ Name | Type | Description | Notes **account_storage_folder** | **str** | Folder in storage where account file located | [optional] **recursive** | **bool** | Specifies that should message be searched in subfolders recursively | [optional] [default to false] **type** | **str** | MailMessageBase type. Using this property you can get messages in different formats (as EmailDto, MapiMessageDto or a file represented as Base64 string). Enum, available values: Dto, Mapi, Base64 | [optional] [default to 0] - **format** | **str** | Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **format** | **str** | Base64 data format. Used only if type is set to Base64. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | [optional] [default to 0] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -256,7 +256,7 @@ Name | Type | Description | Notes **file** | **str** | File to send | **storage** | **str** | Storage name where account file located. | [optional] **account_storage_folder** | **str** | Folder in storage where account file located. | [optional] - **format** | **str** | Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | [optional] [default to 0] + **format** | **str** | Email file format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | [optional] [default to 0] [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) diff --git a/sdk/docs/EmailApi.md b/sdk/docs/EmailApi.md index 867975b..735278d 100644 --- a/sdk/docs/EmailApi.md +++ b/sdk/docs/EmailApi.md @@ -62,8 +62,8 @@ EmailConvertRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **from_format** | **str** | File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | - **to_format** | **str** | File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **from_format** | **str** | File format to convert to Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | + **to_format** | **str** | File format to convert from Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **file** | **str** | File to convert | [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -90,7 +90,7 @@ EmailFromFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str** | Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **format** | **str** | Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **file** | **str** | File to convert | [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -119,7 +119,7 @@ EmailGetRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **file_name** | **str** | Email document file name. | **folder** | **str** | Path to folder in storage. | [optional] **storage** | **str** | Storage name. | [optional] @@ -151,7 +151,7 @@ EmailGetAsFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **file_name** | **str** | Email document file name | - **format** | **str** | File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **format** | **str** | File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **storage** | **str** | Storage name | [optional] **folder** | **str** | Path to folder in storage | [optional] @@ -182,7 +182,7 @@ EmailGetListRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **folder** | **str** | Path to folder in storage. | [optional] **storage** | **str** | Storage name. | [optional] **items_per_page** | **int** | Count of items on page. | [optional] [default to 10] diff --git a/sdk/docs/EmailAsFileRequest.md b/sdk/docs/EmailAsFileRequest.md index 474108a..9453e34 100644 --- a/sdk/docs/EmailAsFileRequest.md +++ b/sdk/docs/EmailAsFileRequest.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **value** | [**EmailDto**](EmailDto.md) | Email model. | diff --git a/sdk/docs/EmailSaveRequest.md b/sdk/docs/EmailSaveRequest.md index 163b05d..45c00bf 100644 --- a/sdk/docs/EmailSaveRequest.md +++ b/sdk/docs/EmailSaveRequest.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | Parent class: [StorageModelOfEmailDto](StorageModelOfEmailDto.md) diff --git a/sdk/docs/MailMessageBase64.md b/sdk/docs/MailMessageBase64.md index 00b6978..8c151ae 100644 --- a/sdk/docs/MailMessageBase64.md +++ b/sdk/docs/MailMessageBase64.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **value_base64** | **str** | Email message file data encoded to Base64 string. | -**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | Parent class: [MailMessageBase](MailMessageBase.md) diff --git a/sdk/docs/MapiMessageApi.md b/sdk/docs/MapiMessageApi.md index 49898ce..243e341 100644 --- a/sdk/docs/MapiMessageApi.md +++ b/sdk/docs/MapiMessageApi.md @@ -61,7 +61,7 @@ MapiMessageFromFileRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str** | File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **format** | **str** | File format Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **file** | **str** | File to convert | [[Back to top]](#) [[Back to Model list]](Models.md) [[Back to README]](README.md) @@ -90,7 +90,7 @@ MapiMessageGetRequest( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | + **format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **file_name** | **str** | Email document file name. | **folder** | **str** | Path to folder in storage. | [optional] **storage** | **str** | Storage name. | [optional] diff --git a/sdk/docs/MapiMessageAsFileRequest.md b/sdk/docs/MapiMessageAsFileRequest.md index 52efd2a..1df6425 100644 --- a/sdk/docs/MapiMessageAsFileRequest.md +++ b/sdk/docs/MapiMessageAsFileRequest.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | **value** | [**MapiMessageDto**](MapiMessageDto.md) | MAPI message model. | diff --git a/sdk/docs/MapiMessageSaveRequest.md b/sdk/docs/MapiMessageSaveRequest.md index 3a7430e..f81ec4d 100644 --- a/sdk/docs/MapiMessageSaveRequest.md +++ b/sdk/docs/MapiMessageSaveRequest.md @@ -2,7 +2,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef | +**format** | **str** | Email document format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html, Tnef, Oft | Parent class: [StorageModelOfMapiMessageDto](StorageModelOfMapiMessageDto.md) diff --git a/sdk/setup.py b/sdk/setup.py index 4977c92..fb72982 100644 --- a/sdk/setup.py +++ b/sdk/setup.py @@ -8,7 +8,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "aspose-email-cloud" -VERSION = "20.9.0.138" +VERSION = "20.9.0.139" # To install the library, run the following # # python setup.py install