aspose_email_cloud 19.11.0 → 19.12.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 +43 -1
- data/lib/aspose-email-cloud/api/email_api.rb +221 -100
- data/lib/aspose-email-cloud/api_client.rb +4 -3
- data/lib/aspose-email-cloud/configuration.rb +4 -0
- data/lib/aspose-email-cloud/models/account_base_request.rb +123 -113
- data/lib/aspose-email-cloud/models/add_attachment_request.rb +86 -82
- data/lib/aspose-email-cloud/models/ai_bcr_base64_image.rb +228 -0
- data/lib/aspose-email-cloud/models/ai_bcr_base64_rq.rb +225 -0
- data/lib/aspose-email-cloud/models/ai_bcr_image.rb +215 -0
- data/lib/aspose-email-cloud/models/ai_bcr_image_storage_file.rb +228 -0
- data/lib/aspose-email-cloud/models/ai_bcr_ocr_data.rb +253 -0
- data/lib/aspose-email-cloud/models/ai_bcr_ocr_data_part.rb +297 -0
- data/lib/aspose-email-cloud/models/ai_bcr_options.rb +223 -0
- data/lib/aspose-email-cloud/models/ai_bcr_parse_storage_rq.rb +248 -0
- data/lib/aspose-email-cloud/models/ai_bcr_rq.rb +210 -0
- data/lib/aspose-email-cloud/models/ai_bcr_storage_image_rq.rb +230 -0
- data/lib/aspose-email-cloud/models/ai_name_component.rb +264 -0
- data/lib/aspose-email-cloud/models/ai_name_cultural_context.rb +267 -0
- data/lib/aspose-email-cloud/models/ai_name_extracted.rb +230 -0
- data/lib/aspose-email-cloud/models/ai_name_extracted_component.rb +228 -0
- data/lib/aspose-email-cloud/models/ai_name_formatted.rb +223 -0
- data/lib/aspose-email-cloud/models/ai_name_gender_hypothesis.rb +233 -0
- data/lib/aspose-email-cloud/models/ai_name_match_result.rb +230 -0
- data/lib/aspose-email-cloud/models/ai_name_mismatch.rb +246 -0
- data/lib/aspose-email-cloud/models/ai_name_parsed_match_rq.rb +263 -0
- data/lib/aspose-email-cloud/models/ai_name_parsed_rq.rb +243 -0
- data/lib/aspose-email-cloud/models/ai_name_weighted.rb +228 -0
- data/lib/aspose-email-cloud/models/ai_name_weighted_variants.rb +225 -0
- data/lib/aspose-email-cloud/models/append_email_account_base_request.rb +178 -163
- data/lib/aspose-email-cloud/models/append_email_base_request.rb +196 -179
- data/lib/aspose-email-cloud/models/append_email_mime_base_request.rb +215 -198
- data/lib/aspose-email-cloud/models/base_object.rb +9 -5
- data/lib/aspose-email-cloud/models/create_email_request.rb +91 -87
- data/lib/aspose-email-cloud/models/create_folder_base_request.rb +173 -160
- data/lib/aspose-email-cloud/models/delete_folder_base_request.rb +178 -165
- data/lib/aspose-email-cloud/models/delete_message_base_request.rb +178 -165
- data/lib/aspose-email-cloud/models/disc_usage.rb +96 -92
- data/lib/aspose-email-cloud/models/email_account_request.rb +257 -205
- data/lib/aspose-email-cloud/models/email_document.rb +93 -89
- data/lib/aspose-email-cloud/models/email_document_response.rb +73 -71
- data/lib/aspose-email-cloud/models/email_properties.rb +93 -88
- data/lib/aspose-email-cloud/models/email_property.rb +128 -119
- data/lib/aspose-email-cloud/models/email_property_response.rb +73 -71
- data/lib/aspose-email-cloud/models/error.rb +112 -104
- data/lib/aspose-email-cloud/models/error_details.rb +91 -87
- data/lib/aspose-email-cloud/models/file_version.rb +166 -152
- data/lib/aspose-email-cloud/models/file_versions.rb +75 -73
- data/lib/aspose-email-cloud/models/files_list.rb +75 -73
- data/lib/aspose-email-cloud/models/files_upload_result.rb +90 -86
- data/lib/aspose-email-cloud/models/hierarchical_object.rb +13 -7
- data/lib/aspose-email-cloud/models/hierarchical_object_request.rb +91 -87
- data/lib/aspose-email-cloud/models/hierarchical_object_response.rb +86 -82
- data/lib/aspose-email-cloud/models/indexed_hierarchical_object.rb +17 -9
- data/lib/aspose-email-cloud/models/indexed_primitive_object.rb +17 -9
- data/lib/aspose-email-cloud/models/link.rb +112 -104
- data/lib/aspose-email-cloud/models/list_response_of_ai_bcr_ocr_data.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_component.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_extracted.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_gender_hypothesis.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_hierarchical_object.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_hierarchical_object_response.rb +74 -71
- data/lib/aspose-email-cloud/models/list_response_of_mail_server_folder.rb +74 -71
- data/lib/aspose-email-cloud/models/list_response_of_storage_file_location.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_string.rb +74 -71
- data/lib/aspose-email-cloud/models/mail_server_folder.rb +86 -82
- data/lib/aspose-email-cloud/models/mime_response.rb +73 -71
- data/lib/aspose-email-cloud/models/object_exist.rb +96 -92
- data/lib/aspose-email-cloud/models/primitive_object.rb +13 -7
- data/lib/aspose-email-cloud/models/requests/add_calendar_attachment_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/add_contact_attachment_request_data.rb +6 -11
- data/lib/aspose-email-cloud/models/requests/add_email_attachment_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/add_mapi_attachment_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/ai_bcr_ocr_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_bcr_ocr_storage_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_bcr_parse_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_bcr_parse_storage_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_complete_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_expand_parsed_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_expand_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_format_parsed_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_format_request_data.rb +94 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_genderize_parsed_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_genderize_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_match_parsed_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_match_request_data.rb +99 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_parse_email_address_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_parse_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/append_email_message_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/append_mime_message_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/copy_file_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/copy_folder_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/create_calendar_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/create_contact_request_data.rb +5 -10
- data/lib/aspose-email-cloud/models/requests/create_email_folder_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/create_email_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/create_folder_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/create_mapi_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/delete_calendar_property_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/delete_contact_property_request_data.rb +7 -12
- data/lib/aspose-email-cloud/models/requests/delete_email_folder_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/delete_email_message_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/delete_file_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/delete_folder_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/delete_mapi_attachment_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/delete_mapi_properties_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/download_file_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/fetch_email_message_request_data.rb +7 -7
- data/lib/aspose-email-cloud/models/requests/get_calendar_attachment_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_calendar_list_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_calendar_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/get_contact_attachment_request_data.rb +7 -12
- data/lib/aspose-email-cloud/models/requests/get_contact_list_request_data.rb +7 -12
- data/lib/aspose-email-cloud/models/requests/get_contact_properties_request_data.rb +6 -11
- data/lib/aspose-email-cloud/models/requests/get_disc_usage_request_data.rb +1 -1
- data/lib/aspose-email-cloud/models/requests/get_email_attachment_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_email_property_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_email_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/get_file_versions_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/get_files_list_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/get_mapi_attachment_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_mapi_attachments_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/get_mapi_list_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_mapi_properties_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/list_email_folders_request_data.rb +7 -7
- data/lib/aspose-email-cloud/models/requests/list_email_messages_request_data.rb +10 -10
- data/lib/aspose-email-cloud/models/requests/move_file_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/move_folder_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/object_exists_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/save_mail_account_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/save_mail_o_auth_account_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/send_email_mime_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/send_email_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/set_email_property_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/set_email_read_flag_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/storage_exists_request_data.rb +1 -1
- data/lib/aspose-email-cloud/models/requests/update_calendar_properties_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/update_contact_properties_request_data.rb +5 -10
- data/lib/aspose-email-cloud/models/requests/update_mapi_properties_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/upload_file_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/save_email_account_request.rb +294 -240
- data/lib/aspose-email-cloud/models/save_o_auth_email_account_request.rb +368 -310
- data/lib/aspose-email-cloud/models/send_email_base_request.rb +141 -130
- data/lib/aspose-email-cloud/models/send_email_mime_base_request.rb +160 -149
- data/lib/aspose-email-cloud/models/set_email_property_request.rb +91 -87
- data/lib/aspose-email-cloud/models/set_message_read_flag_account_base_request.rb +178 -165
- data/lib/aspose-email-cloud/models/storage_exist.rb +78 -76
- data/lib/aspose-email-cloud/models/storage_file.rb +135 -125
- data/lib/aspose-email-cloud/models/storage_file_location.rb +123 -117
- data/lib/aspose-email-cloud/models/storage_folder_location.rb +86 -82
- data/lib/aspose-email-cloud/models/value_response.rb +73 -71
- data/lib/aspose-email-cloud/version.rb +1 -1
- metadata +45 -3
- data/lib/aspose-email-cloud/models/contact_format.rb +0 -45
@@ -27,87 +27,91 @@
|
|
27
27
|
require 'date'
|
28
28
|
|
29
29
|
module AsposeEmailCloud
|
30
|
-
# A storage folder location information
|
31
|
-
class StorageFolderLocation
|
32
|
-
# A storage name
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
30
|
+
# A storage folder location information
|
31
|
+
class StorageFolderLocation
|
32
|
+
# A storage name
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :storage
|
35
|
+
|
36
|
+
# A path to a folder in specified storage
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :folder_path
|
39
|
+
|
40
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
41
|
+
def self.attribute_map
|
42
|
+
{
|
43
|
+
:'storage' => :'storage',
|
44
|
+
:'folder_path' => :'folderPath'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Attribute type mapping.
|
49
|
+
def self.swagger_types
|
50
|
+
{
|
51
|
+
:'storage' => :'String',
|
52
|
+
:'folder_path' => :'String'
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
# Initializes the object
|
57
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
58
|
+
def initialize(attributes = {})
|
59
|
+
return unless attributes.is_a?(Hash)
|
60
|
+
|
61
|
+
# convert string to symbol for hash key
|
62
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
63
|
+
|
64
|
+
if attributes.has_key?(:'storage')
|
65
|
+
self.storage = attributes[:'storage']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.has_key?(:'folderPath')
|
69
|
+
self.folder_path = attributes[:'folderPath']
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Initializes the object
|
74
|
+
# @param [String] storage A storage name
|
75
|
+
# @param [String] folder_path A path to a folder in specified storage
|
76
|
+
def initialize(storage=nil, folder_path=nil)
|
77
|
+
self.storage = storage if storage
|
78
|
+
self.folder_path = folder_path if folder_path
|
79
|
+
end
|
80
|
+
|
81
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
82
|
+
# @return Array for valid properties with the reasons
|
83
|
+
def list_invalid_properties
|
84
|
+
invalid_properties = Array.new
|
85
|
+
invalid_properties
|
86
|
+
end
|
87
|
+
|
88
|
+
# Check to see if the all the properties in the model are valid
|
89
|
+
# @return true if the model is valid
|
90
|
+
def valid?
|
91
|
+
true
|
92
|
+
end
|
93
|
+
|
94
|
+
# Checks equality by comparing each attribute.
|
95
|
+
# @param [Object] Object to be compared
|
96
|
+
def ==(o)
|
97
|
+
return true if self.equal?(o)
|
98
|
+
self.class == o.class &&
|
99
|
+
storage == o.storage &&
|
100
|
+
folder_path == o.folder_path
|
101
|
+
end
|
102
|
+
|
103
|
+
# @see the `==` method
|
104
|
+
# @param [Object] Object to be compared
|
105
|
+
def eql?(o)
|
106
|
+
self == o
|
107
|
+
end
|
108
|
+
|
109
|
+
# Calculates hash code according to all attributes.
|
110
|
+
# @return [Fixnum] Hash code
|
111
|
+
def hash
|
112
|
+
[storage, folder_path].hash
|
113
|
+
end
|
114
|
+
|
111
115
|
# Builds the object from hash
|
112
116
|
# @param [Hash] attributes Model attributes in the form of hash
|
113
117
|
# @return [Object] Returns the model itself
|
@@ -214,6 +218,6 @@ module AsposeEmailCloud
|
|
214
218
|
value
|
215
219
|
end
|
216
220
|
end
|
217
|
-
|
221
|
+
|
218
222
|
end
|
219
223
|
end
|
@@ -27,76 +27,78 @@
|
|
27
27
|
require 'date'
|
28
28
|
|
29
29
|
module AsposeEmailCloud
|
30
|
-
# Email document property DTO.
|
31
|
-
class ValueResponse
|
32
|
-
# Gets or sets string content.
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
#
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
30
|
+
# Email document property DTO.
|
31
|
+
class ValueResponse
|
32
|
+
# Gets or sets string content.
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :value
|
35
|
+
|
36
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
37
|
+
def self.attribute_map
|
38
|
+
{
|
39
|
+
:'value' => :'value'
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# Attribute type mapping.
|
44
|
+
def self.swagger_types
|
45
|
+
{
|
46
|
+
:'value' => :'String'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
return unless attributes.is_a?(Hash)
|
54
|
+
|
55
|
+
# convert string to symbol for hash key
|
56
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
57
|
+
|
58
|
+
if attributes.has_key?(:'value')
|
59
|
+
self.value = attributes[:'value']
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# Initializes the object
|
64
|
+
# @param [String] value Gets or sets string content.
|
65
|
+
def initialize(value=nil)
|
66
|
+
self.value = value if value
|
67
|
+
end
|
68
|
+
|
69
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
70
|
+
# @return Array for valid properties with the reasons
|
71
|
+
def list_invalid_properties
|
72
|
+
invalid_properties = Array.new
|
73
|
+
invalid_properties
|
74
|
+
end
|
75
|
+
|
76
|
+
# Check to see if the all the properties in the model are valid
|
77
|
+
# @return true if the model is valid
|
78
|
+
def valid?
|
79
|
+
true
|
80
|
+
end
|
81
|
+
|
82
|
+
# Checks equality by comparing each attribute.
|
83
|
+
# @param [Object] Object to be compared
|
84
|
+
def ==(o)
|
85
|
+
return true if self.equal?(o)
|
86
|
+
self.class == o.class &&
|
87
|
+
value == o.value
|
88
|
+
end
|
89
|
+
|
90
|
+
# @see the `==` method
|
91
|
+
# @param [Object] Object to be compared
|
92
|
+
def eql?(o)
|
93
|
+
self == o
|
94
|
+
end
|
95
|
+
|
96
|
+
# Calculates hash code according to all attributes.
|
97
|
+
# @return [Fixnum] Hash code
|
98
|
+
def hash
|
99
|
+
[value].hash
|
100
|
+
end
|
101
|
+
|
100
102
|
# Builds the object from hash
|
101
103
|
# @param [Hash] attributes Model attributes in the form of hash
|
102
104
|
# @return [Object] Returns the model itself
|
@@ -203,6 +205,6 @@ module AsposeEmailCloud
|
|
203
205
|
value
|
204
206
|
end
|
205
207
|
end
|
206
|
-
|
208
|
+
|
207
209
|
end
|
208
210
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_email_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 19.
|
4
|
+
version: 19.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aspose.Email team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -212,11 +212,32 @@ files:
|
|
212
212
|
- lib/aspose-email-cloud/configuration.rb
|
213
213
|
- lib/aspose-email-cloud/models/account_base_request.rb
|
214
214
|
- lib/aspose-email-cloud/models/add_attachment_request.rb
|
215
|
+
- lib/aspose-email-cloud/models/ai_bcr_base64_image.rb
|
216
|
+
- lib/aspose-email-cloud/models/ai_bcr_base64_rq.rb
|
217
|
+
- lib/aspose-email-cloud/models/ai_bcr_image.rb
|
218
|
+
- lib/aspose-email-cloud/models/ai_bcr_image_storage_file.rb
|
219
|
+
- lib/aspose-email-cloud/models/ai_bcr_ocr_data.rb
|
220
|
+
- lib/aspose-email-cloud/models/ai_bcr_ocr_data_part.rb
|
221
|
+
- lib/aspose-email-cloud/models/ai_bcr_options.rb
|
222
|
+
- lib/aspose-email-cloud/models/ai_bcr_parse_storage_rq.rb
|
223
|
+
- lib/aspose-email-cloud/models/ai_bcr_rq.rb
|
224
|
+
- lib/aspose-email-cloud/models/ai_bcr_storage_image_rq.rb
|
225
|
+
- lib/aspose-email-cloud/models/ai_name_component.rb
|
226
|
+
- lib/aspose-email-cloud/models/ai_name_cultural_context.rb
|
227
|
+
- lib/aspose-email-cloud/models/ai_name_extracted.rb
|
228
|
+
- lib/aspose-email-cloud/models/ai_name_extracted_component.rb
|
229
|
+
- lib/aspose-email-cloud/models/ai_name_formatted.rb
|
230
|
+
- lib/aspose-email-cloud/models/ai_name_gender_hypothesis.rb
|
231
|
+
- lib/aspose-email-cloud/models/ai_name_match_result.rb
|
232
|
+
- lib/aspose-email-cloud/models/ai_name_mismatch.rb
|
233
|
+
- lib/aspose-email-cloud/models/ai_name_parsed_match_rq.rb
|
234
|
+
- lib/aspose-email-cloud/models/ai_name_parsed_rq.rb
|
235
|
+
- lib/aspose-email-cloud/models/ai_name_weighted.rb
|
236
|
+
- lib/aspose-email-cloud/models/ai_name_weighted_variants.rb
|
215
237
|
- lib/aspose-email-cloud/models/append_email_account_base_request.rb
|
216
238
|
- lib/aspose-email-cloud/models/append_email_base_request.rb
|
217
239
|
- lib/aspose-email-cloud/models/append_email_mime_base_request.rb
|
218
240
|
- lib/aspose-email-cloud/models/base_object.rb
|
219
|
-
- lib/aspose-email-cloud/models/contact_format.rb
|
220
241
|
- lib/aspose-email-cloud/models/create_email_request.rb
|
221
242
|
- lib/aspose-email-cloud/models/create_folder_base_request.rb
|
222
243
|
- lib/aspose-email-cloud/models/delete_folder_base_request.rb
|
@@ -240,8 +261,14 @@ files:
|
|
240
261
|
- lib/aspose-email-cloud/models/indexed_hierarchical_object.rb
|
241
262
|
- lib/aspose-email-cloud/models/indexed_primitive_object.rb
|
242
263
|
- lib/aspose-email-cloud/models/link.rb
|
264
|
+
- lib/aspose-email-cloud/models/list_response_of_ai_bcr_ocr_data.rb
|
265
|
+
- lib/aspose-email-cloud/models/list_response_of_ai_name_component.rb
|
266
|
+
- lib/aspose-email-cloud/models/list_response_of_ai_name_extracted.rb
|
267
|
+
- lib/aspose-email-cloud/models/list_response_of_ai_name_gender_hypothesis.rb
|
268
|
+
- lib/aspose-email-cloud/models/list_response_of_hierarchical_object.rb
|
243
269
|
- lib/aspose-email-cloud/models/list_response_of_hierarchical_object_response.rb
|
244
270
|
- lib/aspose-email-cloud/models/list_response_of_mail_server_folder.rb
|
271
|
+
- lib/aspose-email-cloud/models/list_response_of_storage_file_location.rb
|
245
272
|
- lib/aspose-email-cloud/models/list_response_of_string.rb
|
246
273
|
- lib/aspose-email-cloud/models/mail_server_folder.rb
|
247
274
|
- lib/aspose-email-cloud/models/mime_response.rb
|
@@ -251,6 +278,21 @@ files:
|
|
251
278
|
- lib/aspose-email-cloud/models/requests/add_contact_attachment_request_data.rb
|
252
279
|
- lib/aspose-email-cloud/models/requests/add_email_attachment_request_data.rb
|
253
280
|
- lib/aspose-email-cloud/models/requests/add_mapi_attachment_request_data.rb
|
281
|
+
- lib/aspose-email-cloud/models/requests/ai_bcr_ocr_request_data.rb
|
282
|
+
- lib/aspose-email-cloud/models/requests/ai_bcr_ocr_storage_request_data.rb
|
283
|
+
- lib/aspose-email-cloud/models/requests/ai_bcr_parse_request_data.rb
|
284
|
+
- lib/aspose-email-cloud/models/requests/ai_bcr_parse_storage_request_data.rb
|
285
|
+
- lib/aspose-email-cloud/models/requests/ai_name_complete_request_data.rb
|
286
|
+
- lib/aspose-email-cloud/models/requests/ai_name_expand_parsed_request_data.rb
|
287
|
+
- lib/aspose-email-cloud/models/requests/ai_name_expand_request_data.rb
|
288
|
+
- lib/aspose-email-cloud/models/requests/ai_name_format_parsed_request_data.rb
|
289
|
+
- lib/aspose-email-cloud/models/requests/ai_name_format_request_data.rb
|
290
|
+
- lib/aspose-email-cloud/models/requests/ai_name_genderize_parsed_request_data.rb
|
291
|
+
- lib/aspose-email-cloud/models/requests/ai_name_genderize_request_data.rb
|
292
|
+
- lib/aspose-email-cloud/models/requests/ai_name_match_parsed_request_data.rb
|
293
|
+
- lib/aspose-email-cloud/models/requests/ai_name_match_request_data.rb
|
294
|
+
- lib/aspose-email-cloud/models/requests/ai_name_parse_email_address_request_data.rb
|
295
|
+
- lib/aspose-email-cloud/models/requests/ai_name_parse_request_data.rb
|
254
296
|
- lib/aspose-email-cloud/models/requests/append_email_message_request_data.rb
|
255
297
|
- lib/aspose-email-cloud/models/requests/append_mime_message_request_data.rb
|
256
298
|
- lib/aspose-email-cloud/models/requests/copy_file_request_data.rb
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# ----------------------------------------------------------------------------
|
2
|
-
# <copyright company="Aspose" file="ContactFormat.rb">
|
3
|
-
# Copyright (c) 2018-2019 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
|
-
class ContactFormat
|
31
|
-
|
32
|
-
V_CARD = 'VCard'.freeze
|
33
|
-
WEB_DAV = 'WebDav'.freeze
|
34
|
-
MSG = 'Msg'.freeze
|
35
|
-
|
36
|
-
# Builds the enum from string
|
37
|
-
# @param [String] The enum value in the form of the string
|
38
|
-
# @return [String] The enum value
|
39
|
-
def build_from_hash(value)
|
40
|
-
constantValues = ContactFormat.constants.select { |c| ContactFormat::const_get(c) == value }
|
41
|
-
raise "Invalid ENUM value #{value} for class #ContactFormat" if constantValues.empty?
|
42
|
-
value
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|