aspose_email_cloud 19.12.0 → 20.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose-email-cloud.rb +186 -1
- data/lib/aspose-email-cloud/api/email_api.rb +1186 -698
- data/lib/aspose-email-cloud/api_client.rb +385 -382
- data/lib/aspose-email-cloud/api_error.rb +41 -41
- data/lib/aspose-email-cloud/configuration.rb +240 -240
- data/lib/aspose-email-cloud/models/account_base_request.rb +263 -260
- data/lib/aspose-email-cloud/models/add_attachment_request.rb +226 -223
- data/lib/aspose-email-cloud/models/ai_bcr_base64_image.rb +231 -228
- data/lib/aspose-email-cloud/models/ai_bcr_base64_rq.rb +228 -225
- data/lib/aspose-email-cloud/models/ai_bcr_image.rb +218 -215
- data/lib/aspose-email-cloud/models/ai_bcr_image_storage_file.rb +231 -228
- data/lib/aspose-email-cloud/models/ai_bcr_ocr_data.rb +256 -253
- data/lib/aspose-email-cloud/models/ai_bcr_ocr_data_part.rb +300 -297
- data/lib/aspose-email-cloud/models/ai_bcr_options.rb +226 -223
- data/lib/aspose-email-cloud/models/ai_bcr_parse_ocr_data_rq.rb +233 -0
- data/lib/aspose-email-cloud/models/ai_bcr_parse_storage_rq.rb +251 -248
- data/lib/aspose-email-cloud/models/ai_bcr_rq.rb +213 -210
- data/lib/aspose-email-cloud/models/ai_bcr_storage_image_rq.rb +233 -230
- data/lib/aspose-email-cloud/models/ai_name_component.rb +267 -264
- data/lib/aspose-email-cloud/models/ai_name_cultural_context.rb +270 -267
- data/lib/aspose-email-cloud/models/ai_name_extracted.rb +233 -230
- data/lib/aspose-email-cloud/models/ai_name_extracted_component.rb +231 -228
- data/lib/aspose-email-cloud/models/ai_name_formatted.rb +226 -223
- data/lib/aspose-email-cloud/models/ai_name_gender_hypothesis.rb +236 -233
- data/lib/aspose-email-cloud/models/ai_name_match_result.rb +233 -230
- data/lib/aspose-email-cloud/models/ai_name_mismatch.rb +249 -246
- data/lib/aspose-email-cloud/models/ai_name_parsed_match_rq.rb +266 -263
- data/lib/aspose-email-cloud/models/ai_name_parsed_rq.rb +246 -243
- data/lib/aspose-email-cloud/models/ai_name_weighted.rb +231 -228
- data/lib/aspose-email-cloud/models/ai_name_weighted_variants.rb +228 -225
- data/lib/aspose-email-cloud/models/alternate_view.rb +282 -0
- data/lib/aspose-email-cloud/models/append_email_account_base_request.rb +318 -315
- data/lib/aspose-email-cloud/models/append_email_base_request.rb +336 -333
- data/lib/aspose-email-cloud/models/append_email_mime_base_request.rb +355 -352
- data/lib/aspose-email-cloud/models/append_email_model_rq.rb +336 -0
- data/lib/aspose-email-cloud/models/associated_person.rb +244 -0
- data/lib/aspose-email-cloud/models/attachment.rb +324 -0
- data/lib/aspose-email-cloud/models/attachment_base.rb +254 -0
- data/lib/aspose-email-cloud/models/base_object.rb +91 -88
- data/lib/aspose-email-cloud/models/calendar_dto.rb +570 -0
- data/lib/aspose-email-cloud/models/calendar_dto_alternate_rq.rb +268 -0
- data/lib/aspose-email-cloud/models/calendar_dto_list.rb +215 -0
- data/lib/aspose-email-cloud/models/calendar_reminder.rb +318 -0
- data/lib/aspose-email-cloud/models/contact_dto.rb +699 -0
- data/lib/aspose-email-cloud/models/contact_dto_list.rb +215 -0
- data/lib/aspose-email-cloud/models/contact_photo.rb +255 -0
- data/lib/aspose-email-cloud/models/content_type.rb +267 -0
- data/lib/aspose-email-cloud/models/content_type_parameter.rb +226 -0
- data/lib/aspose-email-cloud/models/create_email_request.rb +231 -228
- data/lib/aspose-email-cloud/models/create_folder_base_request.rb +313 -310
- data/lib/aspose-email-cloud/models/customer_event.rb +231 -0
- data/lib/aspose-email-cloud/models/daily_recurrence_pattern_dto.rb +296 -0
- data/lib/aspose-email-cloud/models/delete_email_thread_account_rq.rb +276 -0
- data/lib/aspose-email-cloud/models/delete_folder_base_request.rb +318 -315
- data/lib/aspose-email-cloud/models/delete_message_base_request.rb +331 -315
- data/lib/aspose-email-cloud/models/disc_usage.rb +235 -233
- data/lib/aspose-email-cloud/models/discover_email_config_oauth.rb +391 -0
- data/lib/aspose-email-cloud/models/discover_email_config_password.rb +304 -0
- data/lib/aspose-email-cloud/models/discover_email_config_rq.rb +268 -0
- data/lib/aspose-email-cloud/models/email_account_config.rb +323 -0
- data/lib/aspose-email-cloud/models/email_account_config_list.rb +215 -0
- data/lib/aspose-email-cloud/models/email_account_request.rb +397 -394
- data/lib/aspose-email-cloud/models/email_address.rb +283 -0
- data/lib/aspose-email-cloud/models/email_client_account.rb +350 -0
- data/lib/aspose-email-cloud/models/email_client_account_credentials.rb +261 -0
- data/lib/aspose-email-cloud/models/email_client_account_oauth_credentials.rb +385 -0
- data/lib/aspose-email-cloud/models/email_client_account_password_credentials.rb +298 -0
- data/lib/aspose-email-cloud/models/email_client_multi_account.rb +233 -0
- data/lib/aspose-email-cloud/models/email_document.rb +233 -230
- data/lib/aspose-email-cloud/models/email_document_response.rb +213 -210
- data/lib/aspose-email-cloud/models/email_dto.rb +681 -0
- data/lib/aspose-email-cloud/models/email_dto_list.rb +215 -0
- data/lib/aspose-email-cloud/models/email_properties.rb +233 -230
- data/lib/aspose-email-cloud/models/email_property.rb +268 -265
- data/lib/aspose-email-cloud/models/email_property_response.rb +213 -210
- data/lib/aspose-email-cloud/models/email_thread.rb +254 -0
- data/lib/aspose-email-cloud/models/email_thread_list.rb +215 -0
- data/lib/aspose-email-cloud/models/email_thread_read_flag_rq.rb +294 -0
- data/lib/aspose-email-cloud/models/enum_with_custom_of_associated_person_category.rb +230 -0
- data/lib/aspose-email-cloud/models/enum_with_custom_of_email_address_category.rb +230 -0
- data/lib/aspose-email-cloud/models/enum_with_custom_of_event_category.rb +230 -0
- data/lib/aspose-email-cloud/models/enum_with_custom_of_instant_messenger_category.rb +230 -0
- data/lib/aspose-email-cloud/models/enum_with_custom_of_phone_number_category.rb +230 -0
- data/lib/aspose-email-cloud/models/enum_with_custom_of_postal_address_category.rb +230 -0
- data/lib/aspose-email-cloud/models/enum_with_custom_of_url_category.rb +230 -0
- data/lib/aspose-email-cloud/models/error.rb +251 -249
- data/lib/aspose-email-cloud/models/error_details.rb +230 -228
- data/lib/aspose-email-cloud/models/file_version.rb +305 -303
- data/lib/aspose-email-cloud/models/file_versions.rb +214 -212
- data/lib/aspose-email-cloud/models/files_list.rb +214 -212
- data/lib/aspose-email-cloud/models/files_upload_result.rb +229 -227
- data/lib/aspose-email-cloud/models/hierarchical_object.rb +106 -103
- data/lib/aspose-email-cloud/models/hierarchical_object_request.rb +231 -228
- data/lib/aspose-email-cloud/models/hierarchical_object_response.rb +226 -223
- data/lib/aspose-email-cloud/models/indexed_hierarchical_object.rb +124 -121
- data/lib/aspose-email-cloud/models/indexed_primitive_object.rb +122 -119
- data/lib/aspose-email-cloud/models/instant_messenger_address.rb +244 -0
- data/lib/aspose-email-cloud/models/link.rb +252 -249
- data/lib/aspose-email-cloud/models/linked_resource.rb +267 -0
- data/lib/aspose-email-cloud/models/list_response_of_ai_bcr_ocr_data.rb +214 -211
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_component.rb +214 -211
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_extracted.rb +214 -211
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_gender_hypothesis.rb +214 -211
- data/lib/aspose-email-cloud/models/list_response_of_contact_dto.rb +214 -0
- data/lib/aspose-email-cloud/models/list_response_of_email_account_config.rb +214 -0
- data/lib/aspose-email-cloud/models/list_response_of_email_dto.rb +214 -0
- data/lib/aspose-email-cloud/models/list_response_of_email_thread.rb +214 -0
- data/lib/aspose-email-cloud/models/list_response_of_hierarchical_object.rb +214 -211
- data/lib/aspose-email-cloud/models/list_response_of_hierarchical_object_response.rb +214 -211
- data/lib/aspose-email-cloud/models/list_response_of_mail_server_folder.rb +214 -211
- data/lib/aspose-email-cloud/models/list_response_of_storage_file_location.rb +214 -211
- data/lib/aspose-email-cloud/models/list_response_of_storage_model_of_calendar_dto.rb +214 -0
- data/lib/aspose-email-cloud/models/list_response_of_storage_model_of_contact_dto.rb +214 -0
- data/lib/aspose-email-cloud/models/list_response_of_storage_model_of_email_dto.rb +214 -0
- data/lib/aspose-email-cloud/models/list_response_of_string.rb +214 -211
- data/lib/aspose-email-cloud/models/mail_address.rb +257 -0
- data/lib/aspose-email-cloud/models/mail_server_folder.rb +226 -223
- data/lib/aspose-email-cloud/models/mapi_attachment_dto.rb +226 -0
- data/lib/aspose-email-cloud/models/mapi_binary_property_dto.rb +250 -0
- data/lib/aspose-email-cloud/models/mapi_boolean_property_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_attendees_dto.rb +266 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_daily_recurrence_pattern_dto.rb +464 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_dto.rb +728 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_event_recurrence_dto.rb +293 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_exception_info_dto.rb +431 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_recurrence_pattern_dto.rb +449 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_time_zone_dto.rb +228 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_time_zone_info_dto.rb +313 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_time_zone_rule_dto.rb +362 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_weekly_recurrence_pattern_dto.rb +464 -0
- data/lib/aspose-email-cloud/models/mapi_calendar_yearly_and_monthly_recurrence_pattern_dto.rb +500 -0
- data/lib/aspose-email-cloud/models/mapi_contact_dto.rb +569 -0
- data/lib/aspose-email-cloud/models/mapi_contact_electronic_address_dto.rb +283 -0
- data/lib/aspose-email-cloud/models/mapi_contact_electronic_address_property_set_dto.rb +327 -0
- data/lib/aspose-email-cloud/models/mapi_contact_event_property_set_dto.rb +236 -0
- data/lib/aspose-email-cloud/models/mapi_contact_name_property_set_dto.rb +335 -0
- data/lib/aspose-email-cloud/models/mapi_contact_other_property_set_dto.rb +319 -0
- data/lib/aspose-email-cloud/models/mapi_contact_personal_info_property_set_dto.rb +454 -0
- data/lib/aspose-email-cloud/models/mapi_contact_photo_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_contact_physical_address_dto.rb +322 -0
- data/lib/aspose-email-cloud/models/mapi_contact_physical_address_property_set_dto.rb +239 -0
- data/lib/aspose-email-cloud/models/mapi_contact_professional_property_set_dto.rb +291 -0
- data/lib/aspose-email-cloud/models/mapi_contact_telephone_property_set_dto.rb +457 -0
- data/lib/aspose-email-cloud/models/mapi_date_time_property_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_electronic_address_dto.rb +265 -0
- data/lib/aspose-email-cloud/models/mapi_file_as_property_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_importance_property_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_int_property_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_known_property_descriptor.rb +237 -0
- data/lib/aspose-email-cloud/models/mapi_legacy_free_busy_property_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_message_dto.rb +801 -0
- data/lib/aspose-email-cloud/models/mapi_message_item_base_dto.rb +452 -0
- data/lib/aspose-email-cloud/models/mapi_multi_int_property_dto.rb +252 -0
- data/lib/aspose-email-cloud/models/mapi_multi_string_property_dto.rb +252 -0
- data/lib/aspose-email-cloud/models/mapi_physical_address_index_property_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_pid_lid_property_descriptor.rb +322 -0
- data/lib/aspose-email-cloud/models/mapi_pid_name_property_descriptor.rb +304 -0
- data/lib/aspose-email-cloud/models/mapi_pid_property_descriptor.rb +286 -0
- data/lib/aspose-email-cloud/models/mapi_pid_tag_property_descriptor.rb +322 -0
- data/lib/aspose-email-cloud/models/mapi_property_descriptor.rb +224 -0
- data/lib/aspose-email-cloud/models/mapi_property_dto.rb +237 -0
- data/lib/aspose-email-cloud/models/mapi_recipient_dto.rb +257 -0
- data/lib/aspose-email-cloud/models/mapi_response_type_property_dto.rb +255 -0
- data/lib/aspose-email-cloud/models/mapi_string_property_dto.rb +250 -0
- data/lib/aspose-email-cloud/models/mime_response.rb +213 -210
- data/lib/aspose-email-cloud/models/monthly_recurrence_pattern_dto.rb +350 -0
- data/lib/aspose-email-cloud/models/move_email_message_rq.rb +302 -0
- data/lib/aspose-email-cloud/models/move_email_thread_rq.rb +276 -0
- data/lib/aspose-email-cloud/models/name_value_pair.rb +226 -0
- data/lib/aspose-email-cloud/models/object_exist.rb +235 -233
- data/lib/aspose-email-cloud/models/phone_number.rb +244 -0
- data/lib/aspose-email-cloud/models/postal_address.rb +353 -0
- data/lib/aspose-email-cloud/models/primitive_object.rb +104 -101
- data/lib/aspose-email-cloud/models/recurrence_pattern_dto.rb +296 -0
- data/lib/aspose-email-cloud/models/reminder_attendee.rb +213 -0
- data/lib/aspose-email-cloud/models/reminder_trigger.rb +249 -0
- data/lib/aspose-email-cloud/models/requests/add_calendar_attachment_request_data.rb +99 -89
- data/lib/aspose-email-cloud/models/requests/add_contact_attachment_request_data.rb +109 -96
- data/lib/aspose-email-cloud/models/requests/add_email_attachment_request_data.rb +99 -89
- data/lib/aspose-email-cloud/models/requests/add_mapi_attachment_request_data.rb +99 -89
- data/lib/aspose-email-cloud/models/requests/ai_bcr_ocr_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/ai_bcr_ocr_storage_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/ai_bcr_parse_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/ai_bcr_parse_ocr_data_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/ai_bcr_parse_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/ai_bcr_parse_storage_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/ai_name_complete_request_data.rb +110 -91
- data/lib/aspose-email-cloud/models/requests/ai_name_expand_parsed_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/ai_name_expand_request_data.rb +110 -91
- data/lib/aspose-email-cloud/models/requests/ai_name_format_parsed_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/ai_name_format_request_data.rb +116 -94
- data/lib/aspose-email-cloud/models/requests/ai_name_genderize_parsed_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/ai_name_genderize_request_data.rb +110 -91
- data/lib/aspose-email-cloud/models/requests/ai_name_match_parsed_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/ai_name_match_request_data.rb +121 -99
- data/lib/aspose-email-cloud/models/requests/ai_name_parse_email_address_request_data.rb +110 -91
- data/lib/aspose-email-cloud/models/requests/ai_name_parse_request_data.rb +110 -91
- data/lib/aspose-email-cloud/models/requests/append_email_message_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/append_email_model_message_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/append_mime_message_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/convert_calendar_model_to_alternate_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/convert_calendar_model_to_file_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/convert_calendar_model_to_mapi_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/convert_calendar_request_data.rb +90 -0
- data/lib/aspose-email-cloud/models/requests/convert_contact_model_to_file_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/convert_contact_model_to_mapi_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/convert_contact_request_data.rb +100 -0
- data/lib/aspose-email-cloud/models/requests/convert_email_model_to_file_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/convert_email_model_to_mapi_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/convert_email_request_data.rb +90 -0
- data/lib/aspose-email-cloud/models/requests/convert_mapi_calendar_model_to_calendar_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/convert_mapi_calendar_model_to_file_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/convert_mapi_contact_model_to_contact_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/convert_mapi_contact_model_to_file_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/convert_mapi_message_model_to_email_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/convert_mapi_message_model_to_file_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/copy_file_request_data.rb +107 -92
- data/lib/aspose-email-cloud/models/requests/copy_folder_request_data.rb +101 -89
- data/lib/aspose-email-cloud/models/requests/create_calendar_request_data.rb +89 -82
- data/lib/aspose-email-cloud/models/requests/create_contact_request_data.rb +99 -89
- data/lib/aspose-email-cloud/models/requests/create_email_folder_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/create_email_request_data.rb +89 -82
- data/lib/aspose-email-cloud/models/requests/create_folder_request_data.rb +84 -78
- data/lib/aspose-email-cloud/models/requests/create_mapi_request_data.rb +89 -82
- data/lib/aspose-email-cloud/models/requests/delete_calendar_property_request_data.rb +109 -96
- data/lib/aspose-email-cloud/models/requests/delete_contact_property_request_data.rb +119 -103
- data/lib/aspose-email-cloud/models/requests/delete_email_folder_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/delete_email_message_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/delete_email_thread_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/delete_file_request_data.rb +90 -81
- data/lib/aspose-email-cloud/models/requests/delete_folder_request_data.rb +90 -81
- data/lib/aspose-email-cloud/models/requests/delete_mapi_attachment_request_data.rb +99 -89
- data/lib/aspose-email-cloud/models/requests/delete_mapi_properties_request_data.rb +89 -82
- data/lib/aspose-email-cloud/models/requests/discover_email_config_oauth_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/discover_email_config_password_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/discover_email_config_request_data.rb +86 -0
- data/lib/aspose-email-cloud/models/requests/download_file_request_data.rb +90 -81
- data/lib/aspose-email-cloud/models/requests/email_request.rb +75 -75
- data/lib/aspose-email-cloud/models/requests/fetch_email_message_request_data.rb +115 -93
- data/lib/aspose-email-cloud/models/requests/fetch_email_model_request_data.rb +115 -0
- data/lib/aspose-email-cloud/models/requests/fetch_email_thread_messages_request_data.rb +114 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_as_file_request_data.rb +101 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_attachment_request_data.rb +101 -88
- data/lib/aspose-email-cloud/models/requests/get_calendar_file_as_mapi_model_request_data.rb +80 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_file_as_model_request_data.rb +80 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_list_request_data.rb +108 -95
- data/lib/aspose-email-cloud/models/requests/get_calendar_model_as_alternate_request_data.rb +107 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_model_list_request_data.rb +98 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_model_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_request_data.rb +91 -81
- data/lib/aspose-email-cloud/models/requests/get_contact_as_file_request_data.rb +111 -0
- data/lib/aspose-email-cloud/models/requests/get_contact_attachment_request_data.rb +111 -95
- data/lib/aspose-email-cloud/models/requests/get_contact_file_as_mapi_model_request_data.rb +90 -0
- data/lib/aspose-email-cloud/models/requests/get_contact_file_as_model_request_data.rb +90 -0
- data/lib/aspose-email-cloud/models/requests/get_contact_list_request_data.rb +103 -87
- data/lib/aspose-email-cloud/models/requests/get_contact_model_list_request_data.rb +103 -0
- data/lib/aspose-email-cloud/models/requests/get_contact_model_request_data.rb +101 -0
- data/lib/aspose-email-cloud/models/requests/get_contact_properties_request_data.rb +101 -88
- data/lib/aspose-email-cloud/models/requests/get_disc_usage_request_data.rb +74 -71
- data/lib/aspose-email-cloud/models/requests/get_email_as_file_request_data.rb +101 -0
- data/lib/aspose-email-cloud/models/requests/get_email_attachment_request_data.rb +101 -88
- data/lib/aspose-email-cloud/models/requests/get_email_client_account_request_data.rb +102 -0
- data/lib/aspose-email-cloud/models/requests/get_email_client_multi_account_request_data.rb +102 -0
- data/lib/aspose-email-cloud/models/requests/get_email_file_as_mapi_model_request_data.rb +90 -0
- data/lib/aspose-email-cloud/models/requests/get_email_file_as_model_request_data.rb +80 -0
- data/lib/aspose-email-cloud/models/requests/get_email_model_list_request_data.rb +103 -0
- data/lib/aspose-email-cloud/models/requests/get_email_model_request_data.rb +101 -0
- data/lib/aspose-email-cloud/models/requests/get_email_property_request_data.rb +101 -88
- data/lib/aspose-email-cloud/models/requests/get_email_request_data.rb +91 -81
- data/lib/aspose-email-cloud/models/requests/get_file_versions_request_data.rb +84 -78
- data/lib/aspose-email-cloud/models/requests/get_files_list_request_data.rb +84 -78
- data/lib/aspose-email-cloud/models/requests/get_mapi_attachment_request_data.rb +101 -88
- data/lib/aspose-email-cloud/models/requests/get_mapi_attachments_request_data.rb +91 -81
- data/lib/aspose-email-cloud/models/requests/get_mapi_calendar_model_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/get_mapi_contact_model_request_data.rb +101 -0
- data/lib/aspose-email-cloud/models/requests/get_mapi_list_request_data.rb +93 -80
- data/lib/aspose-email-cloud/models/requests/get_mapi_message_model_request_data.rb +101 -0
- data/lib/aspose-email-cloud/models/requests/get_mapi_properties_request_data.rb +91 -81
- data/lib/aspose-email-cloud/models/requests/http_request.rb +51 -51
- data/lib/aspose-email-cloud/models/requests/is_email_address_disposable_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/list_email_folders_request_data.rb +104 -88
- data/lib/aspose-email-cloud/models/requests/list_email_messages_request_data.rb +127 -105
- data/lib/aspose-email-cloud/models/requests/list_email_models_request_data.rb +122 -0
- data/lib/aspose-email-cloud/models/requests/list_email_threads_request_data.rb +121 -0
- data/lib/aspose-email-cloud/models/requests/move_email_message_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/move_email_thread_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/move_file_request_data.rb +107 -92
- data/lib/aspose-email-cloud/models/requests/move_folder_request_data.rb +101 -89
- data/lib/aspose-email-cloud/models/requests/object_exists_request_data.rb +90 -81
- data/lib/aspose-email-cloud/models/requests/save_calendar_model_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/save_contact_model_request_data.rb +99 -0
- data/lib/aspose-email-cloud/models/requests/save_email_client_account_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/save_email_client_multi_account_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/save_email_model_request_data.rb +99 -0
- data/lib/aspose-email-cloud/models/requests/save_mail_account_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/save_mail_o_auth_account_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/save_mapi_calendar_model_request_data.rb +99 -0
- data/lib/aspose-email-cloud/models/requests/save_mapi_contact_model_request_data.rb +99 -0
- data/lib/aspose-email-cloud/models/requests/save_mapi_message_model_request_data.rb +99 -0
- data/lib/aspose-email-cloud/models/requests/send_email_mime_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/send_email_model_request_data.rb +79 -0
- data/lib/aspose-email-cloud/models/requests/send_email_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/set_email_property_request_data.rb +99 -89
- data/lib/aspose-email-cloud/models/requests/set_email_read_flag_request_data.rb +79 -75
- data/lib/aspose-email-cloud/models/requests/set_email_thread_read_flag_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/storage_exists_request_data.rb +78 -75
- data/lib/aspose-email-cloud/models/requests/update_calendar_properties_request_data.rb +89 -82
- data/lib/aspose-email-cloud/models/requests/update_contact_properties_request_data.rb +99 -89
- data/lib/aspose-email-cloud/models/requests/update_mapi_properties_request_data.rb +89 -82
- data/lib/aspose-email-cloud/models/requests/upload_file_request_data.rb +96 -87
- data/lib/aspose-email-cloud/models/save_email_account_request.rb +434 -431
- data/lib/aspose-email-cloud/models/save_o_auth_email_account_request.rb +521 -505
- data/lib/aspose-email-cloud/models/send_email_base_request.rb +281 -278
- data/lib/aspose-email-cloud/models/send_email_mime_base_request.rb +300 -297
- data/lib/aspose-email-cloud/models/send_email_model_rq.rb +276 -0
- data/lib/aspose-email-cloud/models/set_email_property_request.rb +231 -228
- data/lib/aspose-email-cloud/models/set_message_read_flag_account_base_request.rb +318 -315
- data/lib/aspose-email-cloud/models/storage_exist.rb +217 -215
- data/lib/aspose-email-cloud/models/storage_file.rb +274 -272
- data/lib/aspose-email-cloud/models/storage_file_location.rb +263 -260
- data/lib/aspose-email-cloud/models/storage_file_rq_of_email_client_account.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_file_rq_of_email_client_multi_account.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_folder_location.rb +226 -223
- data/lib/aspose-email-cloud/models/storage_model_of_calendar_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_model_of_contact_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_model_of_email_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_model_rq_of_calendar_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_model_rq_of_contact_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_model_rq_of_email_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_model_rq_of_mapi_calendar_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_model_rq_of_mapi_contact_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/storage_model_rq_of_mapi_message_dto.rb +225 -0
- data/lib/aspose-email-cloud/models/task_regenerating_pattern_dto.rb +314 -0
- data/lib/aspose-email-cloud/models/url.rb +244 -0
- data/lib/aspose-email-cloud/models/value_response.rb +213 -210
- data/lib/aspose-email-cloud/models/value_t_of_boolean.rb +217 -0
- data/lib/aspose-email-cloud/models/weekly_recurrence_pattern_dto.rb +311 -0
- data/lib/aspose-email-cloud/models/yearly_recurrence_pattern_dto.rb +368 -0
- data/lib/aspose-email-cloud/version.rb +15 -15
- metadata +237 -52
@@ -0,0 +1,728 @@
|
|
1
|
+
# ----------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="MapiCalendarDto.rb">
|
3
|
+
# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved.
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a
|
7
|
+
# copy of this software and associated documentation files (the "Software"),
|
8
|
+
# to deal in the Software without restriction, including without limitation
|
9
|
+
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
10
|
+
# and/or sell copies of the Software, and to permit persons to whom the
|
11
|
+
# Software is furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
14
|
+
# all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
22
|
+
# DEALINGS IN THE SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ----------------------------------------------------------------------------
|
25
|
+
|
26
|
+
|
27
|
+
require 'date'
|
28
|
+
|
29
|
+
module AsposeEmailCloud
|
30
|
+
# Represents the mapi calendar object
|
31
|
+
class MapiCalendarDto
|
32
|
+
# Message item attachments.
|
33
|
+
# @return [Array<MapiAttachmentDto>]
|
34
|
+
attr_accessor :attachments
|
35
|
+
|
36
|
+
# Billing information associated with an item.
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :billing
|
39
|
+
|
40
|
+
# Message text.
|
41
|
+
# @return [String]
|
42
|
+
attr_accessor :body
|
43
|
+
|
44
|
+
# Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
|
45
|
+
# @return [String]
|
46
|
+
attr_accessor :body_html
|
47
|
+
|
48
|
+
# RTF formatted message text.
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :body_rtf
|
51
|
+
|
52
|
+
# The content type of message body. Enum, available values: PlainText, Html, Rtf
|
53
|
+
# @return [String]
|
54
|
+
attr_accessor :body_type
|
55
|
+
|
56
|
+
# Contains keywords or categories for the message object.
|
57
|
+
# @return [Array<String>]
|
58
|
+
attr_accessor :categories
|
59
|
+
|
60
|
+
# Contains the names of the companies that are associated with an item.
|
61
|
+
# @return [Array<String>]
|
62
|
+
attr_accessor :companies
|
63
|
+
|
64
|
+
# The item id, uses with a server.
|
65
|
+
# @return [String]
|
66
|
+
attr_accessor :item_id
|
67
|
+
|
68
|
+
# 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.
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :message_class
|
71
|
+
|
72
|
+
# Contains the mileage information that is associated with an item.
|
73
|
+
# @return [String]
|
74
|
+
attr_accessor :mileage
|
75
|
+
|
76
|
+
# Recipients of the message.
|
77
|
+
# @return [Array<MapiRecipientDto>]
|
78
|
+
attr_accessor :recipients
|
79
|
+
|
80
|
+
# Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential
|
81
|
+
# @return [String]
|
82
|
+
attr_accessor :sensitivity
|
83
|
+
|
84
|
+
# Subject of the message.
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :subject
|
87
|
+
|
88
|
+
# Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.
|
89
|
+
# @return [String]
|
90
|
+
attr_accessor :subject_prefix
|
91
|
+
|
92
|
+
# List of MAPI properties
|
93
|
+
# @return [Array<MapiPropertyDto>]
|
94
|
+
attr_accessor :properties
|
95
|
+
|
96
|
+
|
97
|
+
# @return [String]
|
98
|
+
def discriminator #getter method
|
99
|
+
self.class.name.split('::').last
|
100
|
+
end
|
101
|
+
|
102
|
+
def discriminator=(discriminator) #setter method, parameter ignored
|
103
|
+
@discriminator = self.class.name.split('::').last
|
104
|
+
end
|
105
|
+
|
106
|
+
# Value indicating whether a Meeting Response object is a counter proposal.
|
107
|
+
# @return [BOOLEAN]
|
108
|
+
attr_accessor :appointment_counter_proposal
|
109
|
+
|
110
|
+
# Attendees
|
111
|
+
# @return [MapiCalendarAttendeesDto]
|
112
|
+
attr_accessor :attendees
|
113
|
+
|
114
|
+
# Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :busy_status
|
117
|
+
|
118
|
+
# 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
|
119
|
+
# @return [Array<String>]
|
120
|
+
attr_accessor :client_intent
|
121
|
+
|
122
|
+
# End date and time of the event. If the date is not set, default value for DateTime is returned.
|
123
|
+
# @return [DateTime]
|
124
|
+
attr_accessor :end_date
|
125
|
+
|
126
|
+
# Time zone information that indicates the time zone of the EndDate property.
|
127
|
+
# @return [MapiCalendarTimeZoneDto]
|
128
|
+
attr_accessor :end_date_time_zone
|
129
|
+
|
130
|
+
# Value indicating whether the event is an all-day event.
|
131
|
+
# @return [BOOLEAN]
|
132
|
+
attr_accessor :is_all_day
|
133
|
+
|
134
|
+
# Categories of the calendar object.
|
135
|
+
# @return [String]
|
136
|
+
attr_accessor :key_words
|
137
|
+
|
138
|
+
# Location of the event.
|
139
|
+
# @return [String]
|
140
|
+
attr_accessor :location
|
141
|
+
|
142
|
+
# Recurrence properties.
|
143
|
+
# @return [MapiCalendarEventRecurrenceDto]
|
144
|
+
attr_accessor :recurrence
|
145
|
+
|
146
|
+
# Interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object.
|
147
|
+
# @return [Integer]
|
148
|
+
attr_accessor :reminder_delta
|
149
|
+
|
150
|
+
# Full path of the sound that a client SHOULD play when the reminder becomes overdue.
|
151
|
+
# @return [String]
|
152
|
+
attr_accessor :reminder_file_parameter
|
153
|
+
|
154
|
+
# Value indicating whether a reminder is set on the object.
|
155
|
+
# @return [BOOLEAN]
|
156
|
+
attr_accessor :reminder_set
|
157
|
+
|
158
|
+
# Sequence number.
|
159
|
+
# @return [Integer]
|
160
|
+
attr_accessor :sequence
|
161
|
+
|
162
|
+
# Start date and time of the event. If the date is not set, default value for DateTime is returned.
|
163
|
+
# @return [DateTime]
|
164
|
+
attr_accessor :start_date
|
165
|
+
|
166
|
+
# Time zone information that indicates the time zone of the StartDate property.
|
167
|
+
# @return [MapiCalendarTimeZoneDto]
|
168
|
+
attr_accessor :start_date_time_zone
|
169
|
+
|
170
|
+
# Unique identifier.
|
171
|
+
# @return [String]
|
172
|
+
attr_accessor :uid
|
173
|
+
|
174
|
+
# Organizer
|
175
|
+
# @return [MapiElectronicAddressDto]
|
176
|
+
attr_accessor :organizer
|
177
|
+
|
178
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
179
|
+
def self.attribute_map
|
180
|
+
{
|
181
|
+
:'attachments' => :'attachments',
|
182
|
+
:'billing' => :'billing',
|
183
|
+
:'body' => :'body',
|
184
|
+
:'body_html' => :'bodyHtml',
|
185
|
+
:'body_rtf' => :'bodyRtf',
|
186
|
+
:'body_type' => :'bodyType',
|
187
|
+
:'categories' => :'categories',
|
188
|
+
:'companies' => :'companies',
|
189
|
+
:'item_id' => :'itemId',
|
190
|
+
:'message_class' => :'messageClass',
|
191
|
+
:'mileage' => :'mileage',
|
192
|
+
:'recipients' => :'recipients',
|
193
|
+
:'sensitivity' => :'sensitivity',
|
194
|
+
:'subject' => :'subject',
|
195
|
+
:'subject_prefix' => :'subjectPrefix',
|
196
|
+
:'properties' => :'properties',
|
197
|
+
:'discriminator' => :'discriminator',
|
198
|
+
:'appointment_counter_proposal' => :'appointmentCounterProposal',
|
199
|
+
:'attendees' => :'attendees',
|
200
|
+
:'busy_status' => :'busyStatus',
|
201
|
+
:'client_intent' => :'clientIntent',
|
202
|
+
:'end_date' => :'endDate',
|
203
|
+
:'end_date_time_zone' => :'endDateTimeZone',
|
204
|
+
:'is_all_day' => :'isAllDay',
|
205
|
+
:'key_words' => :'keyWords',
|
206
|
+
:'location' => :'location',
|
207
|
+
:'recurrence' => :'recurrence',
|
208
|
+
:'reminder_delta' => :'reminderDelta',
|
209
|
+
:'reminder_file_parameter' => :'reminderFileParameter',
|
210
|
+
:'reminder_set' => :'reminderSet',
|
211
|
+
:'sequence' => :'sequence',
|
212
|
+
:'start_date' => :'startDate',
|
213
|
+
:'start_date_time_zone' => :'startDateTimeZone',
|
214
|
+
:'uid' => :'uid',
|
215
|
+
:'organizer' => :'organizer'
|
216
|
+
}
|
217
|
+
end
|
218
|
+
|
219
|
+
# Attribute type mapping.
|
220
|
+
def self.swagger_types
|
221
|
+
{
|
222
|
+
:'attachments' => :'Array<MapiAttachmentDto>',
|
223
|
+
:'billing' => :'String',
|
224
|
+
:'body' => :'String',
|
225
|
+
:'body_html' => :'String',
|
226
|
+
:'body_rtf' => :'String',
|
227
|
+
:'body_type' => :'String',
|
228
|
+
:'categories' => :'Array<String>',
|
229
|
+
:'companies' => :'Array<String>',
|
230
|
+
:'item_id' => :'String',
|
231
|
+
:'message_class' => :'String',
|
232
|
+
:'mileage' => :'String',
|
233
|
+
:'recipients' => :'Array<MapiRecipientDto>',
|
234
|
+
:'sensitivity' => :'String',
|
235
|
+
:'subject' => :'String',
|
236
|
+
:'subject_prefix' => :'String',
|
237
|
+
:'properties' => :'Array<MapiPropertyDto>',
|
238
|
+
:'discriminator' => :'String',
|
239
|
+
:'appointment_counter_proposal' => :'BOOLEAN',
|
240
|
+
:'attendees' => :'MapiCalendarAttendeesDto',
|
241
|
+
:'busy_status' => :'String',
|
242
|
+
:'client_intent' => :'Array<String>',
|
243
|
+
:'end_date' => :'DateTime',
|
244
|
+
:'end_date_time_zone' => :'MapiCalendarTimeZoneDto',
|
245
|
+
:'is_all_day' => :'BOOLEAN',
|
246
|
+
:'key_words' => :'String',
|
247
|
+
:'location' => :'String',
|
248
|
+
:'recurrence' => :'MapiCalendarEventRecurrenceDto',
|
249
|
+
:'reminder_delta' => :'Integer',
|
250
|
+
:'reminder_file_parameter' => :'String',
|
251
|
+
:'reminder_set' => :'BOOLEAN',
|
252
|
+
:'sequence' => :'Integer',
|
253
|
+
:'start_date' => :'DateTime',
|
254
|
+
:'start_date_time_zone' => :'MapiCalendarTimeZoneDto',
|
255
|
+
:'uid' => :'String',
|
256
|
+
:'organizer' => :'MapiElectronicAddressDto'
|
257
|
+
}
|
258
|
+
end
|
259
|
+
|
260
|
+
# Initializes the object
|
261
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
262
|
+
def initialize(attributes = {})
|
263
|
+
return unless attributes.is_a?(Hash)
|
264
|
+
|
265
|
+
# convert string to symbol for hash key
|
266
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
267
|
+
|
268
|
+
if attributes.has_key?(:'attachments')
|
269
|
+
if (value = attributes[:'attachments']).is_a?(Array)
|
270
|
+
self.attachments = value
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
if attributes.has_key?(:'billing')
|
275
|
+
self.billing = attributes[:'billing']
|
276
|
+
end
|
277
|
+
|
278
|
+
if attributes.has_key?(:'body')
|
279
|
+
self.body = attributes[:'body']
|
280
|
+
end
|
281
|
+
|
282
|
+
if attributes.has_key?(:'bodyHtml')
|
283
|
+
self.body_html = attributes[:'bodyHtml']
|
284
|
+
end
|
285
|
+
|
286
|
+
if attributes.has_key?(:'bodyRtf')
|
287
|
+
self.body_rtf = attributes[:'bodyRtf']
|
288
|
+
end
|
289
|
+
|
290
|
+
if attributes.has_key?(:'bodyType')
|
291
|
+
self.body_type = attributes[:'bodyType']
|
292
|
+
end
|
293
|
+
|
294
|
+
if attributes.has_key?(:'categories')
|
295
|
+
if (value = attributes[:'categories']).is_a?(Array)
|
296
|
+
self.categories = value
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
if attributes.has_key?(:'companies')
|
301
|
+
if (value = attributes[:'companies']).is_a?(Array)
|
302
|
+
self.companies = value
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
if attributes.has_key?(:'itemId')
|
307
|
+
self.item_id = attributes[:'itemId']
|
308
|
+
end
|
309
|
+
|
310
|
+
if attributes.has_key?(:'messageClass')
|
311
|
+
self.message_class = attributes[:'messageClass']
|
312
|
+
end
|
313
|
+
|
314
|
+
if attributes.has_key?(:'mileage')
|
315
|
+
self.mileage = attributes[:'mileage']
|
316
|
+
end
|
317
|
+
|
318
|
+
if attributes.has_key?(:'recipients')
|
319
|
+
if (value = attributes[:'recipients']).is_a?(Array)
|
320
|
+
self.recipients = value
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
if attributes.has_key?(:'sensitivity')
|
325
|
+
self.sensitivity = attributes[:'sensitivity']
|
326
|
+
end
|
327
|
+
|
328
|
+
if attributes.has_key?(:'subject')
|
329
|
+
self.subject = attributes[:'subject']
|
330
|
+
end
|
331
|
+
|
332
|
+
if attributes.has_key?(:'subjectPrefix')
|
333
|
+
self.subject_prefix = attributes[:'subjectPrefix']
|
334
|
+
end
|
335
|
+
|
336
|
+
if attributes.has_key?(:'properties')
|
337
|
+
if (value = attributes[:'properties']).is_a?(Array)
|
338
|
+
self.properties = value
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
if attributes.has_key?(:'discriminator')
|
343
|
+
@discriminator = self.class.name.split('::').last
|
344
|
+
end
|
345
|
+
|
346
|
+
if attributes.has_key?(:'appointmentCounterProposal')
|
347
|
+
self.appointment_counter_proposal = attributes[:'appointmentCounterProposal']
|
348
|
+
end
|
349
|
+
|
350
|
+
if attributes.has_key?(:'attendees')
|
351
|
+
self.attendees = attributes[:'attendees']
|
352
|
+
end
|
353
|
+
|
354
|
+
if attributes.has_key?(:'busyStatus')
|
355
|
+
self.busy_status = attributes[:'busyStatus']
|
356
|
+
end
|
357
|
+
|
358
|
+
if attributes.has_key?(:'clientIntent')
|
359
|
+
if (value = attributes[:'clientIntent']).is_a?(Array)
|
360
|
+
self.client_intent = value
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
if attributes.has_key?(:'endDate')
|
365
|
+
self.end_date = attributes[:'endDate']
|
366
|
+
end
|
367
|
+
|
368
|
+
if attributes.has_key?(:'endDateTimeZone')
|
369
|
+
self.end_date_time_zone = attributes[:'endDateTimeZone']
|
370
|
+
end
|
371
|
+
|
372
|
+
if attributes.has_key?(:'isAllDay')
|
373
|
+
self.is_all_day = attributes[:'isAllDay']
|
374
|
+
end
|
375
|
+
|
376
|
+
if attributes.has_key?(:'keyWords')
|
377
|
+
self.key_words = attributes[:'keyWords']
|
378
|
+
end
|
379
|
+
|
380
|
+
if attributes.has_key?(:'location')
|
381
|
+
self.location = attributes[:'location']
|
382
|
+
end
|
383
|
+
|
384
|
+
if attributes.has_key?(:'recurrence')
|
385
|
+
self.recurrence = attributes[:'recurrence']
|
386
|
+
end
|
387
|
+
|
388
|
+
if attributes.has_key?(:'reminderDelta')
|
389
|
+
self.reminder_delta = attributes[:'reminderDelta']
|
390
|
+
end
|
391
|
+
|
392
|
+
if attributes.has_key?(:'reminderFileParameter')
|
393
|
+
self.reminder_file_parameter = attributes[:'reminderFileParameter']
|
394
|
+
end
|
395
|
+
|
396
|
+
if attributes.has_key?(:'reminderSet')
|
397
|
+
self.reminder_set = attributes[:'reminderSet']
|
398
|
+
end
|
399
|
+
|
400
|
+
if attributes.has_key?(:'sequence')
|
401
|
+
self.sequence = attributes[:'sequence']
|
402
|
+
end
|
403
|
+
|
404
|
+
if attributes.has_key?(:'startDate')
|
405
|
+
self.start_date = attributes[:'startDate']
|
406
|
+
end
|
407
|
+
|
408
|
+
if attributes.has_key?(:'startDateTimeZone')
|
409
|
+
self.start_date_time_zone = attributes[:'startDateTimeZone']
|
410
|
+
end
|
411
|
+
|
412
|
+
if attributes.has_key?(:'uid')
|
413
|
+
self.uid = attributes[:'uid']
|
414
|
+
end
|
415
|
+
|
416
|
+
if attributes.has_key?(:'organizer')
|
417
|
+
self.organizer = attributes[:'organizer']
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
# Initializes the object
|
422
|
+
# @param [Array<MapiAttachmentDto>] attachments Message item attachments.
|
423
|
+
# @param [String] billing Billing information associated with an item.
|
424
|
+
# @param [String] body Message text.
|
425
|
+
# @param [String] body_html Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
|
426
|
+
# @param [String] body_rtf RTF formatted message text.
|
427
|
+
# @param [String] body_type The content type of message body. Enum, available values: PlainText, Html, Rtf
|
428
|
+
# @param [Array<String>] categories Contains keywords or categories for the message object.
|
429
|
+
# @param [Array<String>] companies Contains the names of the companies that are associated with an item.
|
430
|
+
# @param [String] item_id The item id, uses with a server.
|
431
|
+
# @param [String] 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.
|
432
|
+
# @param [String] mileage Contains the mileage information that is associated with an item.
|
433
|
+
# @param [Array<MapiRecipientDto>] recipients Recipients of the message.
|
434
|
+
# @param [String] sensitivity Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidential
|
435
|
+
# @param [String] subject Subject of the message.
|
436
|
+
# @param [String] subject_prefix Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.
|
437
|
+
# @param [Array<MapiPropertyDto>] properties List of MAPI properties
|
438
|
+
# @param [String] discriminator
|
439
|
+
# @param [BOOLEAN] appointment_counter_proposal Value indicating whether a Meeting Response object is a counter proposal.
|
440
|
+
# @param [MapiCalendarAttendeesDto] attendees Attendees
|
441
|
+
# @param [String] busy_status Enumerates the mapi calendar possible busy status Enum, available values: Free, Tentative, Busy, OutOfOffice
|
442
|
+
# @param [Array<String>] client_intent 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
|
443
|
+
# @param [DateTime] end_date End date and time of the event. If the date is not set, default value for DateTime is returned.
|
444
|
+
# @param [MapiCalendarTimeZoneDto] end_date_time_zone Time zone information that indicates the time zone of the EndDate property.
|
445
|
+
# @param [BOOLEAN] is_all_day Value indicating whether the event is an all-day event.
|
446
|
+
# @param [String] key_words Categories of the calendar object.
|
447
|
+
# @param [String] location Location of the event.
|
448
|
+
# @param [MapiCalendarEventRecurrenceDto] recurrence Recurrence properties.
|
449
|
+
# @param [Integer] reminder_delta Interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object.
|
450
|
+
# @param [String] reminder_file_parameter Full path of the sound that a client SHOULD play when the reminder becomes overdue.
|
451
|
+
# @param [BOOLEAN] reminder_set Value indicating whether a reminder is set on the object.
|
452
|
+
# @param [Integer] sequence Sequence number.
|
453
|
+
# @param [DateTime] start_date Start date and time of the event. If the date is not set, default value for DateTime is returned.
|
454
|
+
# @param [MapiCalendarTimeZoneDto] start_date_time_zone Time zone information that indicates the time zone of the StartDate property.
|
455
|
+
# @param [String] uid Unique identifier.
|
456
|
+
# @param [MapiElectronicAddressDto] organizer Organizer
|
457
|
+
def initialize(attachments=nil, billing=nil, body=nil, body_html=nil, body_rtf=nil, body_type=nil, categories=nil, companies=nil, item_id=nil, message_class=nil, mileage=nil, recipients=nil, sensitivity=nil, subject=nil, subject_prefix=nil, properties=nil, discriminator=nil, appointment_counter_proposal=nil, attendees=nil, busy_status=nil, client_intent=nil, end_date=nil, end_date_time_zone=nil, is_all_day=nil, key_words=nil, location=nil, recurrence=nil, reminder_delta=nil, reminder_file_parameter=nil, reminder_set=nil, sequence=nil, start_date=nil, start_date_time_zone=nil, uid=nil, organizer=nil)
|
458
|
+
self.attachments = attachments if attachments
|
459
|
+
self.billing = billing if billing
|
460
|
+
self.body = body if body
|
461
|
+
self.body_html = body_html if body_html
|
462
|
+
self.body_rtf = body_rtf if body_rtf
|
463
|
+
self.body_type = body_type if body_type
|
464
|
+
self.categories = categories if categories
|
465
|
+
self.companies = companies if companies
|
466
|
+
self.item_id = item_id if item_id
|
467
|
+
self.message_class = message_class if message_class
|
468
|
+
self.mileage = mileage if mileage
|
469
|
+
self.recipients = recipients if recipients
|
470
|
+
self.sensitivity = sensitivity if sensitivity
|
471
|
+
self.subject = subject if subject
|
472
|
+
self.subject_prefix = subject_prefix if subject_prefix
|
473
|
+
self.properties = properties if properties
|
474
|
+
@discriminator = self.class.name.split('::').last
|
475
|
+
self.appointment_counter_proposal = appointment_counter_proposal if appointment_counter_proposal
|
476
|
+
self.attendees = attendees if attendees
|
477
|
+
self.busy_status = busy_status if busy_status
|
478
|
+
self.client_intent = client_intent if client_intent
|
479
|
+
self.end_date = end_date if end_date
|
480
|
+
self.end_date_time_zone = end_date_time_zone if end_date_time_zone
|
481
|
+
self.is_all_day = is_all_day if is_all_day
|
482
|
+
self.key_words = key_words if key_words
|
483
|
+
self.location = location if location
|
484
|
+
self.recurrence = recurrence if recurrence
|
485
|
+
self.reminder_delta = reminder_delta if reminder_delta
|
486
|
+
self.reminder_file_parameter = reminder_file_parameter if reminder_file_parameter
|
487
|
+
self.reminder_set = reminder_set if reminder_set
|
488
|
+
self.sequence = sequence if sequence
|
489
|
+
self.start_date = start_date if start_date
|
490
|
+
self.start_date_time_zone = start_date_time_zone if start_date_time_zone
|
491
|
+
self.uid = uid if uid
|
492
|
+
self.organizer = organizer if organizer
|
493
|
+
end
|
494
|
+
|
495
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
496
|
+
# @return Array for valid properties with the reasons
|
497
|
+
def list_invalid_properties
|
498
|
+
invalid_properties = Array.new
|
499
|
+
if @body_type.nil?
|
500
|
+
invalid_properties.push('invalid value for "body_type", body_type cannot be nil.')
|
501
|
+
end
|
502
|
+
|
503
|
+
if @sensitivity.nil?
|
504
|
+
invalid_properties.push('invalid value for "sensitivity", sensitivity cannot be nil.')
|
505
|
+
end
|
506
|
+
|
507
|
+
if @discriminator.nil?
|
508
|
+
invalid_properties.push('invalid value for "discriminator", discriminator cannot be nil.')
|
509
|
+
end
|
510
|
+
|
511
|
+
if @appointment_counter_proposal.nil?
|
512
|
+
invalid_properties.push('invalid value for "appointment_counter_proposal", appointment_counter_proposal cannot be nil.')
|
513
|
+
end
|
514
|
+
|
515
|
+
if @busy_status.nil?
|
516
|
+
invalid_properties.push('invalid value for "busy_status", busy_status cannot be nil.')
|
517
|
+
end
|
518
|
+
|
519
|
+
if @end_date.nil?
|
520
|
+
invalid_properties.push('invalid value for "end_date", end_date cannot be nil.')
|
521
|
+
end
|
522
|
+
|
523
|
+
if @is_all_day.nil?
|
524
|
+
invalid_properties.push('invalid value for "is_all_day", is_all_day cannot be nil.')
|
525
|
+
end
|
526
|
+
|
527
|
+
if @reminder_delta.nil?
|
528
|
+
invalid_properties.push('invalid value for "reminder_delta", reminder_delta cannot be nil.')
|
529
|
+
end
|
530
|
+
|
531
|
+
if @reminder_set.nil?
|
532
|
+
invalid_properties.push('invalid value for "reminder_set", reminder_set cannot be nil.')
|
533
|
+
end
|
534
|
+
|
535
|
+
if @sequence.nil?
|
536
|
+
invalid_properties.push('invalid value for "sequence", sequence cannot be nil.')
|
537
|
+
end
|
538
|
+
|
539
|
+
if @start_date.nil?
|
540
|
+
invalid_properties.push('invalid value for "start_date", start_date cannot be nil.')
|
541
|
+
end
|
542
|
+
|
543
|
+
invalid_properties
|
544
|
+
end
|
545
|
+
|
546
|
+
# Check to see if the all the properties in the model are valid
|
547
|
+
# @return true if the model is valid
|
548
|
+
def valid?
|
549
|
+
return false if @body_type.nil?
|
550
|
+
return false if @sensitivity.nil?
|
551
|
+
return false if @discriminator.nil?
|
552
|
+
return false if @appointment_counter_proposal.nil?
|
553
|
+
return false if @busy_status.nil?
|
554
|
+
return false if @end_date.nil?
|
555
|
+
return false if @is_all_day.nil?
|
556
|
+
return false if @reminder_delta.nil?
|
557
|
+
return false if @reminder_set.nil?
|
558
|
+
return false if @sequence.nil?
|
559
|
+
return false if @start_date.nil?
|
560
|
+
true
|
561
|
+
end
|
562
|
+
|
563
|
+
# Checks equality by comparing each attribute.
|
564
|
+
# @param [Object] Object to be compared
|
565
|
+
def ==(o)
|
566
|
+
return true if self.equal?(o)
|
567
|
+
self.class == o.class &&
|
568
|
+
attachments == o.attachments &&
|
569
|
+
billing == o.billing &&
|
570
|
+
body == o.body &&
|
571
|
+
body_html == o.body_html &&
|
572
|
+
body_rtf == o.body_rtf &&
|
573
|
+
body_type == o.body_type &&
|
574
|
+
categories == o.categories &&
|
575
|
+
companies == o.companies &&
|
576
|
+
item_id == o.item_id &&
|
577
|
+
message_class == o.message_class &&
|
578
|
+
mileage == o.mileage &&
|
579
|
+
recipients == o.recipients &&
|
580
|
+
sensitivity == o.sensitivity &&
|
581
|
+
subject == o.subject &&
|
582
|
+
subject_prefix == o.subject_prefix &&
|
583
|
+
properties == o.properties &&
|
584
|
+
discriminator == o.discriminator &&
|
585
|
+
appointment_counter_proposal == o.appointment_counter_proposal &&
|
586
|
+
attendees == o.attendees &&
|
587
|
+
busy_status == o.busy_status &&
|
588
|
+
client_intent == o.client_intent &&
|
589
|
+
end_date == o.end_date &&
|
590
|
+
end_date_time_zone == o.end_date_time_zone &&
|
591
|
+
is_all_day == o.is_all_day &&
|
592
|
+
key_words == o.key_words &&
|
593
|
+
location == o.location &&
|
594
|
+
recurrence == o.recurrence &&
|
595
|
+
reminder_delta == o.reminder_delta &&
|
596
|
+
reminder_file_parameter == o.reminder_file_parameter &&
|
597
|
+
reminder_set == o.reminder_set &&
|
598
|
+
sequence == o.sequence &&
|
599
|
+
start_date == o.start_date &&
|
600
|
+
start_date_time_zone == o.start_date_time_zone &&
|
601
|
+
uid == o.uid &&
|
602
|
+
organizer == o.organizer
|
603
|
+
end
|
604
|
+
|
605
|
+
# @see the `==` method
|
606
|
+
# @param [Object] Object to be compared
|
607
|
+
def eql?(o)
|
608
|
+
self == o
|
609
|
+
end
|
610
|
+
|
611
|
+
# Calculates hash code according to all attributes.
|
612
|
+
# @return [Fixnum] Hash code
|
613
|
+
def hash
|
614
|
+
[attachments, billing, body, body_html, body_rtf, body_type, categories, companies, item_id, message_class, mileage, recipients, sensitivity, subject, subject_prefix, properties, discriminator, appointment_counter_proposal, attendees, busy_status, client_intent, end_date, end_date_time_zone, is_all_day, key_words, location, recurrence, reminder_delta, reminder_file_parameter, reminder_set, sequence, start_date, start_date_time_zone, uid, organizer].hash
|
615
|
+
end
|
616
|
+
|
617
|
+
# Builds the object from hash
|
618
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
619
|
+
# @return [Object] Returns the model itself
|
620
|
+
def build_from_hash(attributes)
|
621
|
+
return nil unless attributes.is_a?(Hash)
|
622
|
+
self.class.swagger_types.each_pair do |key, type|
|
623
|
+
attribute_key = self.class.attribute_map[key]
|
624
|
+
attribute_key = (attribute_key[0, 1].downcase + attribute_key[1..-1]).to_sym
|
625
|
+
if type =~ /\AArray<(.*)>/i
|
626
|
+
# check to ensure the input is an array given that the the attribute
|
627
|
+
# is documented as an array but the input is not
|
628
|
+
if attributes[attribute_key].is_a?(Array)
|
629
|
+
self.send("#{key}=", attributes[attribute_key].map { |v| _deserialize($1, v) })
|
630
|
+
end
|
631
|
+
elsif !attributes[attribute_key].nil?
|
632
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_key]))
|
633
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
634
|
+
end
|
635
|
+
|
636
|
+
self
|
637
|
+
end
|
638
|
+
|
639
|
+
# Deserializes the data based on type
|
640
|
+
# @param string type Data type
|
641
|
+
# @param string value Value to be deserialized
|
642
|
+
# @return [Object] Deserialized data
|
643
|
+
def _deserialize(type, value)
|
644
|
+
case type.to_sym
|
645
|
+
when :DateTime
|
646
|
+
DateTime.parse(value)
|
647
|
+
when :Date
|
648
|
+
Date.parse(value)
|
649
|
+
when :String
|
650
|
+
value.to_s
|
651
|
+
when :Integer
|
652
|
+
value.to_i
|
653
|
+
when :Float
|
654
|
+
value.to_f
|
655
|
+
when :BOOLEAN
|
656
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
657
|
+
true
|
658
|
+
else
|
659
|
+
false
|
660
|
+
end
|
661
|
+
when :Object
|
662
|
+
# generic object (usually a Hash), return directly
|
663
|
+
value
|
664
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
665
|
+
inner_type = Regexp.last_match[:inner_type]
|
666
|
+
value.map { |v| _deserialize(inner_type, v) }
|
667
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
668
|
+
k_type = Regexp.last_match[:k_type]
|
669
|
+
v_type = Regexp.last_match[:v_type]
|
670
|
+
{}.tap do |hash|
|
671
|
+
value.each do |k, v|
|
672
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
673
|
+
end
|
674
|
+
end
|
675
|
+
else # model
|
676
|
+
sub_type = value[:type] || value[:discriminator] || type
|
677
|
+
if AsposeEmailCloud.const_defined?(sub_type)
|
678
|
+
type = sub_type
|
679
|
+
end
|
680
|
+
temp_model = AsposeEmailCloud.const_get(type).new
|
681
|
+
temp_model.build_from_hash(value)
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
# Returns the string representation of the object
|
686
|
+
# @return [String] String presentation of the object
|
687
|
+
def to_s
|
688
|
+
to_hash.to_s
|
689
|
+
end
|
690
|
+
|
691
|
+
# to_body is an alias to to_hash (backward compatibility)
|
692
|
+
# @return [Hash] Returns the object in the form of hash
|
693
|
+
def to_body
|
694
|
+
to_hash
|
695
|
+
end
|
696
|
+
|
697
|
+
# Returns the object in the form of hash
|
698
|
+
# @return [Hash] Returns the object in the form of hash
|
699
|
+
def to_hash
|
700
|
+
hash = {}
|
701
|
+
self.class.attribute_map.each_pair do |attr, param|
|
702
|
+
value = self.send(attr)
|
703
|
+
next if value.nil?
|
704
|
+
hash[param] = _to_hash(value)
|
705
|
+
end
|
706
|
+
hash
|
707
|
+
end
|
708
|
+
|
709
|
+
# Outputs non-array value in the form of hash
|
710
|
+
# For object, use to_hash. Otherwise, just return the value
|
711
|
+
# @param [Object] value Any valid value
|
712
|
+
# @return [Hash] Returns the value in the form of hash
|
713
|
+
def _to_hash(value)
|
714
|
+
if value.is_a?(Array)
|
715
|
+
value.compact.map { |v| _to_hash(v) }
|
716
|
+
elsif value.is_a?(Hash)
|
717
|
+
{}.tap do |hash|
|
718
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
719
|
+
end
|
720
|
+
elsif value.respond_to? :to_hash
|
721
|
+
value.to_hash
|
722
|
+
else
|
723
|
+
value
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
end
|
728
|
+
end
|