Class: Email::Domain
- Inherits:
-
Object
- Object
- Email::Domain
- Defined in:
- lib/ovh-api/api/email/domain.rb
Instance Method Summary collapse
- #delegated_account_email_change_password_post(email:, body:) ⇒ Object
- #delegated_account_email_filter_get(email:) ⇒ Object
- #delegated_account_email_filter_name_change_activity_post(email:, name:, body:) ⇒ Object
- #delegated_account_email_filter_name_change_priority_post(email:, name:, body:) ⇒ Object
- #delegated_account_email_filter_name_delete(email:, name:) ⇒ Object
- #delegated_account_email_filter_name_get(email:, name:) ⇒ Object
- #delegated_account_email_filter_name_rule_get(email:, name:) ⇒ Object
- #delegated_account_email_filter_name_rule_id_delete(email:, id:, name:) ⇒ Object
- #delegated_account_email_filter_name_rule_id_get(email:, id:, name:) ⇒ Object
- #delegated_account_email_filter_name_rule_post(email:, name:, email_domain_delegated_account_email_filter_name_rule_post_request:) ⇒ Object
- #delegated_account_email_filter_post(email:, email_domain_delegated_account_email_filter_post_request:) ⇒ Object
- #delegated_account_email_get(email:) ⇒ Object
- #delegated_account_email_put(email:, email_domain_account_delegated:) ⇒ Object
- #delegated_account_email_responder_delete(email:) ⇒ Object
- #delegated_account_email_responder_get(email:) ⇒ Object
- #delegated_account_email_responder_post(email:, email_domain_delegated_account_email_responder_post_request:) ⇒ Object
- #delegated_account_email_responder_put(email:, email_domain_responder_account:) ⇒ Object
- #delegated_account_email_update_usage_post(email:) ⇒ Object
- #delegated_account_email_usage_post(email:) ⇒ Object
- #delegated_account_get(account_name: nil, domain: nil) ⇒ Object
- #domain_account_account_name_change_password_post(account_name:, domain:, body:) ⇒ Object
- #domain_account_account_name_delegation_account_id_delete(account_id:, account_name:, domain:) ⇒ Object
- #domain_account_account_name_delegation_account_id_get(account_id:, account_name:, domain:) ⇒ Object
- #domain_account_account_name_delegation_get(account_name:, domain:) ⇒ Object
- #domain_account_account_name_delegation_post(account_name:, domain:, body:) ⇒ Object
- #domain_account_account_name_delete(account_name:, domain:) ⇒ Object
- #domain_account_account_name_filter_get(account_name:, domain:) ⇒ Object
- #domain_account_account_name_filter_name_change_activity_post(account_name:, domain:, name:, body:) ⇒ Object
- #domain_account_account_name_filter_name_change_priority_post(account_name:, domain:, name:, body:) ⇒ Object
- #domain_account_account_name_filter_name_delete(account_name:, domain:, name:) ⇒ Object
- #domain_account_account_name_filter_name_get(account_name:, domain:, name:) ⇒ Object
- #domain_account_account_name_filter_name_rule_get(account_name:, domain:, name:) ⇒ Object
- #domain_account_account_name_filter_name_rule_id_delete(account_name:, domain:, id:, name:) ⇒ Object
- #domain_account_account_name_filter_name_rule_id_get(account_name:, domain:, id:, name:) ⇒ Object
- #domain_account_account_name_filter_name_rule_post(account_name:, domain:, name:, email_domain_delegated_account_email_filter_name_rule_post_request:) ⇒ Object
- #domain_account_account_name_filter_post(account_name:, domain:, email_domain_delegated_account_email_filter_post_request:) ⇒ Object
- #domain_account_account_name_get(account_name:, domain:) ⇒ Object
- #domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_check_migrate_get(account_name:, destination_email_address:, destination_service_name:, domain:) ⇒ Object
- #domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_get(account_name:, destination_email_address:, destination_service_name:, domain:) ⇒ Object
- #domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_migrate_post(account_name:, destination_email_address:, destination_service_name:, domain:, body:) ⇒ Object
- #domain_account_account_name_migrate_destination_service_name_destination_email_address_get(account_name:, destination_service_name:, domain:, quota: nil) ⇒ Object
- #domain_account_account_name_migrate_destination_service_name_get(account_name:, destination_service_name:, domain:) ⇒ Object
- #domain_account_account_name_migrate_get(account_name:, domain:, type: nil) ⇒ Object
- #domain_account_account_name_put(account_name:, domain:, email_domain_account:) ⇒ Object
- #domain_account_account_name_update_usage_post(account_name:, domain:) ⇒ Object
- #domain_account_account_name_usage_get(account_name:, domain:) ⇒ Object
- #domain_account_get(domain:, account_name: nil, description: nil) ⇒ Object
- #domain_account_post(domain:, email_domain_domain_account_post_request:) ⇒ Object
- #domain_acl_account_id_delete(account_id:, domain:) ⇒ Object
- #domain_acl_account_id_get(account_id:, domain:) ⇒ Object
- #domain_acl_get(domain:) ⇒ Object
- #domain_acl_post(domain:, body:) ⇒ Object
- #domain_change_contact_post(domain:, cdn_dedicated_service_name_change_contact_post_request: nil) ⇒ Object
- #domain_change_dns_mx_filter_post(domain:, email_domain_domain_change_dns_mx_filter_post_request:) ⇒ Object
- #domain_confirm_termination_post(domain:, email_domain_domain_confirm_termination_post_request:) ⇒ Object
- #domain_dkim_disable_put(domain:) ⇒ Object
- #domain_dkim_enable_put(domain:) ⇒ Object
- #domain_dkim_get(domain:) ⇒ Object
- #domain_dns_mx_filter_get(domain:, sub_domain: nil) ⇒ Object
- #domain_dns_mx_records_get(domain:, sub_domain: nil) ⇒ Object
- #domain_get(domain:) ⇒ Object
- #domain_mailing_list_get(domain:, name: nil) ⇒ Object
- #domain_mailing_list_name_change_options_post(domain:, name:, domain_domain_ml_options_struct:) ⇒ Object
- #domain_mailing_list_name_delete(domain:, name:) ⇒ Object
- #domain_mailing_list_name_get(domain:, name:) ⇒ Object
- #domain_mailing_list_name_moderator_email_delete(domain:, email:, name:) ⇒ Object
- #domain_mailing_list_name_moderator_email_get(domain:, email:, name:) ⇒ Object
- #domain_mailing_list_name_moderator_get(domain:, name:, email: nil) ⇒ Object
- #domain_mailing_list_name_moderator_post(domain:, name:, body:) ⇒ Object
- #domain_mailing_list_name_put(domain:, name:, email_domain_mailing_list:) ⇒ Object
- #domain_mailing_list_name_send_list_by_email_post(domain:, name:, body:) ⇒ Object
- #domain_mailing_list_name_subscriber_email_delete(domain:, email:, name:) ⇒ Object
- #domain_mailing_list_name_subscriber_email_get(domain:, email:, name:) ⇒ Object
- #domain_mailing_list_name_subscriber_get(domain:, name:, email: nil) ⇒ Object
- #domain_mailing_list_name_subscriber_post(domain:, name:, body:) ⇒ Object
- #domain_mailing_list_post(domain:, email_domain_domain_mailing_list_post_request:) ⇒ Object
- #domain_migrate_delegation_v3to_v6_post(domain:) ⇒ Object
- #domain_quota_get(domain:) ⇒ Object
- #domain_recommended_dns_records_get(domain:) ⇒ Object
- #domain_redirection_get(domain:, from: nil, to: nil) ⇒ Object
- #domain_redirection_id_change_redirection_post(domain:, id:, email_domain_redirection_change_redirection_creation:) ⇒ Object
- #domain_redirection_id_delete(domain:, id:) ⇒ Object
- #domain_redirection_id_get(domain:, id:) ⇒ Object
- #domain_redirection_post(domain:, email_domain_redirection_creation:) ⇒ Object
- #domain_responder_account_delete(account:, domain:) ⇒ Object
- #domain_responder_account_get(account:, domain:) ⇒ Object
- #domain_responder_account_put(account:, domain:, email_domain_responder:) ⇒ Object
- #domain_responder_get(domain:, account: nil) ⇒ Object
- #domain_responder_post(domain:, email_domain_domain_responder_post_request:) ⇒ Object
- #domain_service_infos_get(domain:) ⇒ Object
- #domain_service_infos_put(domain:, services_service:) ⇒ Object
- #domain_summary_get(domain:) ⇒ Object
- #domain_task_account_get(domain:, name: nil) ⇒ Object
- #domain_task_account_id_get(domain:, id:) ⇒ Object
- #domain_task_all_get(domain:) ⇒ Object
- #domain_task_all_id_get(domain:, id:) ⇒ Object
- #domain_task_filter_get(domain:, account: nil) ⇒ Object
- #domain_task_filter_id_get(domain:, id:) ⇒ Object
- #domain_task_mailinglist_get(domain:, account: nil) ⇒ Object
- #domain_task_mailinglist_id_get(domain:, id:) ⇒ Object
- #domain_task_redirection_get(domain:, account: nil) ⇒ Object
- #domain_task_redirection_id_get(domain:, id:) ⇒ Object
- #domain_task_responder_get(domain:, account: nil) ⇒ Object
- #domain_task_responder_id_get(domain:, id:) ⇒ Object
- #domain_terminate_post(domain:) ⇒ Object
- #get(iam_tags: nil) ⇒ Object
-
#initialize(connection) ⇒ Domain
constructor
A new instance of Domain.
- #mailing_list_limits_get(moderator_message:) ⇒ Object
Constructor Details
#initialize(connection) ⇒ Domain
Returns a new instance of Domain.
6 7 8 |
# File 'lib/ovh-api/api/email/domain.rb', line 6 def initialize(connection) @connection = connection end |
Instance Method Details
#delegated_account_email_change_password_post(email:, body:) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/ovh-api/api/email/domain.rb', line 10 def delegated_account_email_change_password_post(email:, body:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/delegatedAccount/{email}/changePassword' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [], body: body ) end |
#delegated_account_email_filter_get(email:) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/ovh-api/api/email/domain.rb', line 24 def delegated_account_email_filter_get(email:) raise ArgumentError, 'email is required' if email.nil? @connection.call( :GET, '/email/domain/delegatedAccount/{email}/filter' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_filter_name_change_activity_post(email:, name:, body:) ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/ovh-api/api/email/domain.rb', line 36 def delegated_account_email_filter_name_change_activity_post(email:, name:, body:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/delegatedAccount/{email}/filter/{name}/changeActivity' .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: body ) end |
#delegated_account_email_filter_name_change_priority_post(email:, name:, body:) ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/ovh-api/api/email/domain.rb', line 52 def delegated_account_email_filter_name_change_priority_post(email:, name:, body:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/delegatedAccount/{email}/filter/{name}/changePriority' .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: body ) end |
#delegated_account_email_filter_name_delete(email:, name:) ⇒ Object
68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/ovh-api/api/email/domain.rb', line 68 def delegated_account_email_filter_name_delete(email:, name:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :DELETE, '/email/domain/delegatedAccount/{email}/filter/{name}' .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_filter_name_get(email:, name:) ⇒ Object
82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/ovh-api/api/email/domain.rb', line 82 def delegated_account_email_filter_name_get(email:, name:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/delegatedAccount/{email}/filter/{name}' .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_filter_name_rule_get(email:, name:) ⇒ Object
96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/ovh-api/api/email/domain.rb', line 96 def delegated_account_email_filter_name_rule_get(email:, name:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/delegatedAccount/{email}/filter/{name}/rule' .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_filter_name_rule_id_delete(email:, id:, name:) ⇒ Object
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/ovh-api/api/email/domain.rb', line 110 def delegated_account_email_filter_name_rule_id_delete(email:, id:, name:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'id is required' if id.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :DELETE, '/email/domain/delegatedAccount/{email}/filter/{name}/rule/{id}' .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_filter_name_rule_id_get(email:, id:, name:) ⇒ Object
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'lib/ovh-api/api/email/domain.rb', line 126 def delegated_account_email_filter_name_rule_id_get(email:, id:, name:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'id is required' if id.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/delegatedAccount/{email}/filter/{name}/rule/{id}' .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_filter_name_rule_post(email:, name:, email_domain_delegated_account_email_filter_name_rule_post_request:) ⇒ Object
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
# File 'lib/ovh-api/api/email/domain.rb', line 142 def delegated_account_email_filter_name_rule_post(email:, name:, email_domain_delegated_account_email_filter_name_rule_post_request:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'email_domain_delegated_account_email_filter_name_rule_post_request is required' if email_domain_delegated_account_email_filter_name_rule_post_request.nil? @connection.call( :POST, '/email/domain/delegatedAccount/{email}/filter/{name}/rule' .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: email_domain_delegated_account_email_filter_name_rule_post_request ) end |
#delegated_account_email_filter_post(email:, email_domain_delegated_account_email_filter_post_request:) ⇒ Object
158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/ovh-api/api/email/domain.rb', line 158 def delegated_account_email_filter_post(email:, email_domain_delegated_account_email_filter_post_request:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'email_domain_delegated_account_email_filter_post_request is required' if email_domain_delegated_account_email_filter_post_request.nil? @connection.call( :POST, '/email/domain/delegatedAccount/{email}/filter' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [], body: email_domain_delegated_account_email_filter_post_request ) end |
#delegated_account_email_get(email:) ⇒ Object
172 173 174 175 176 177 178 179 180 181 182 |
# File 'lib/ovh-api/api/email/domain.rb', line 172 def delegated_account_email_get(email:) raise ArgumentError, 'email is required' if email.nil? @connection.call( :GET, '/email/domain/delegatedAccount/{email}' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_put(email:, email_domain_account_delegated:) ⇒ Object
184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'lib/ovh-api/api/email/domain.rb', line 184 def delegated_account_email_put(email:, email_domain_account_delegated:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'email_domain_account_delegated is required' if email_domain_account_delegated.nil? @connection.call( :PUT, '/email/domain/delegatedAccount/{email}' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [], body: email_domain_account_delegated ) end |
#delegated_account_email_responder_delete(email:) ⇒ Object
198 199 200 201 202 203 204 205 206 207 208 |
# File 'lib/ovh-api/api/email/domain.rb', line 198 def delegated_account_email_responder_delete(email:) raise ArgumentError, 'email is required' if email.nil? @connection.call( :DELETE, '/email/domain/delegatedAccount/{email}/responder' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_responder_get(email:) ⇒ Object
210 211 212 213 214 215 216 217 218 219 220 |
# File 'lib/ovh-api/api/email/domain.rb', line 210 def delegated_account_email_responder_get(email:) raise ArgumentError, 'email is required' if email.nil? @connection.call( :GET, '/email/domain/delegatedAccount/{email}/responder' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_responder_post(email:, email_domain_delegated_account_email_responder_post_request:) ⇒ Object
222 223 224 225 226 227 228 229 230 231 232 233 234 |
# File 'lib/ovh-api/api/email/domain.rb', line 222 def delegated_account_email_responder_post(email:, email_domain_delegated_account_email_responder_post_request:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'email_domain_delegated_account_email_responder_post_request is required' if email_domain_delegated_account_email_responder_post_request.nil? @connection.call( :POST, '/email/domain/delegatedAccount/{email}/responder' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [], body: email_domain_delegated_account_email_responder_post_request ) end |
#delegated_account_email_responder_put(email:, email_domain_responder_account:) ⇒ Object
236 237 238 239 240 241 242 243 244 245 246 247 248 |
# File 'lib/ovh-api/api/email/domain.rb', line 236 def delegated_account_email_responder_put(email:, email_domain_responder_account:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'email_domain_responder_account is required' if email_domain_responder_account.nil? @connection.call( :PUT, '/email/domain/delegatedAccount/{email}/responder' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [], body: email_domain_responder_account ) end |
#delegated_account_email_update_usage_post(email:) ⇒ Object
250 251 252 253 254 255 256 257 258 259 260 |
# File 'lib/ovh-api/api/email/domain.rb', line 250 def delegated_account_email_update_usage_post(email:) raise ArgumentError, 'email is required' if email.nil? @connection.call( :POST, '/email/domain/delegatedAccount/{email}/updateUsage' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [] ) end |
#delegated_account_email_usage_post(email:) ⇒ Object
262 263 264 265 266 267 268 269 270 271 272 |
# File 'lib/ovh-api/api/email/domain.rb', line 262 def delegated_account_email_usage_post(email:) raise ArgumentError, 'email is required' if email.nil? @connection.call( :POST, '/email/domain/delegatedAccount/{email}/usage' .gsub('{email}', ERB::Util.url_encode(email.to_s)), type: nil, auth: [] ) end |
#delegated_account_get(account_name: nil, domain: nil) ⇒ Object
274 275 276 277 278 279 280 281 282 |
# File 'lib/ovh-api/api/email/domain.rb', line 274 def delegated_account_get(account_name: nil, domain: nil) @connection.call( :GET, '/email/domain/delegatedAccount', type: nil, auth: [], query: { 'accountName' => account_name, 'domain' => domain } ) end |
#domain_account_account_name_change_password_post(account_name:, domain:, body:) ⇒ Object
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 |
# File 'lib/ovh-api/api/email/domain.rb', line 284 def domain_account_account_name_change_password_post(account_name:, domain:, body:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/account/{accountName}/changePassword' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: body ) end |
#domain_account_account_name_delegation_account_id_delete(account_id:, account_name:, domain:) ⇒ Object
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
# File 'lib/ovh-api/api/email/domain.rb', line 300 def domain_account_account_name_delegation_account_id_delete(account_id:, account_name:, domain:) raise ArgumentError, 'account_id is required' if account_id.nil? raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :DELETE, '/email/domain/{domain}/account/{accountName}/delegation/{accountId}' .gsub('{accountId}', ERB::Util.url_encode(account_id.to_s)) .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_delegation_account_id_get(account_id:, account_name:, domain:) ⇒ Object
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 |
# File 'lib/ovh-api/api/email/domain.rb', line 316 def domain_account_account_name_delegation_account_id_get(account_id:, account_name:, domain:) raise ArgumentError, 'account_id is required' if account_id.nil? raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/delegation/{accountId}' .gsub('{accountId}', ERB::Util.url_encode(account_id.to_s)) .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_delegation_get(account_name:, domain:) ⇒ Object
332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'lib/ovh-api/api/email/domain.rb', line 332 def domain_account_account_name_delegation_get(account_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/delegation' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_delegation_post(account_name:, domain:, body:) ⇒ Object
346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 |
# File 'lib/ovh-api/api/email/domain.rb', line 346 def domain_account_account_name_delegation_post(account_name:, domain:, body:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/account/{accountName}/delegation' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: body ) end |
#domain_account_account_name_delete(account_name:, domain:) ⇒ Object
362 363 364 365 366 367 368 369 370 371 372 373 374 |
# File 'lib/ovh-api/api/email/domain.rb', line 362 def domain_account_account_name_delete(account_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :DELETE, '/email/domain/{domain}/account/{accountName}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_filter_get(account_name:, domain:) ⇒ Object
376 377 378 379 380 381 382 383 384 385 386 387 388 |
# File 'lib/ovh-api/api/email/domain.rb', line 376 def domain_account_account_name_filter_get(account_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/filter' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_filter_name_change_activity_post(account_name:, domain:, name:, body:) ⇒ Object
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 |
# File 'lib/ovh-api/api/email/domain.rb', line 390 def domain_account_account_name_filter_name_change_activity_post(account_name:, domain:, name:, body:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/account/{accountName}/filter/{name}/changeActivity' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: body ) end |
#domain_account_account_name_filter_name_change_priority_post(account_name:, domain:, name:, body:) ⇒ Object
408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 |
# File 'lib/ovh-api/api/email/domain.rb', line 408 def domain_account_account_name_filter_name_change_priority_post(account_name:, domain:, name:, body:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/account/{accountName}/filter/{name}/changePriority' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: body ) end |
#domain_account_account_name_filter_name_delete(account_name:, domain:, name:) ⇒ Object
426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/ovh-api/api/email/domain.rb', line 426 def domain_account_account_name_filter_name_delete(account_name:, domain:, name:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :DELETE, '/email/domain/{domain}/account/{accountName}/filter/{name}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_filter_name_get(account_name:, domain:, name:) ⇒ Object
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'lib/ovh-api/api/email/domain.rb', line 442 def domain_account_account_name_filter_name_get(account_name:, domain:, name:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/filter/{name}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_filter_name_rule_get(account_name:, domain:, name:) ⇒ Object
458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 |
# File 'lib/ovh-api/api/email/domain.rb', line 458 def domain_account_account_name_filter_name_rule_get(account_name:, domain:, name:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/filter/{name}/rule' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_filter_name_rule_id_delete(account_name:, domain:, id:, name:) ⇒ Object
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 |
# File 'lib/ovh-api/api/email/domain.rb', line 474 def domain_account_account_name_filter_name_rule_id_delete(account_name:, domain:, id:, name:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :DELETE, '/email/domain/{domain}/account/{accountName}/filter/{name}/rule/{id}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_filter_name_rule_id_get(account_name:, domain:, id:, name:) ⇒ Object
492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 |
# File 'lib/ovh-api/api/email/domain.rb', line 492 def domain_account_account_name_filter_name_rule_id_get(account_name:, domain:, id:, name:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/filter/{name}/rule/{id}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_filter_name_rule_post(account_name:, domain:, name:, email_domain_delegated_account_email_filter_name_rule_post_request:) ⇒ Object
510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 |
# File 'lib/ovh-api/api/email/domain.rb', line 510 def domain_account_account_name_filter_name_rule_post(account_name:, domain:, name:, email_domain_delegated_account_email_filter_name_rule_post_request:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'email_domain_delegated_account_email_filter_name_rule_post_request is required' if email_domain_delegated_account_email_filter_name_rule_post_request.nil? @connection.call( :POST, '/email/domain/{domain}/account/{accountName}/filter/{name}/rule' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: email_domain_delegated_account_email_filter_name_rule_post_request ) end |
#domain_account_account_name_filter_post(account_name:, domain:, email_domain_delegated_account_email_filter_post_request:) ⇒ Object
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 |
# File 'lib/ovh-api/api/email/domain.rb', line 528 def domain_account_account_name_filter_post(account_name:, domain:, email_domain_delegated_account_email_filter_post_request:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_delegated_account_email_filter_post_request is required' if email_domain_delegated_account_email_filter_post_request.nil? @connection.call( :POST, '/email/domain/{domain}/account/{accountName}/filter' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_delegated_account_email_filter_post_request ) end |
#domain_account_account_name_get(account_name:, domain:) ⇒ Object
544 545 546 547 548 549 550 551 552 553 554 555 556 |
# File 'lib/ovh-api/api/email/domain.rb', line 544 def domain_account_account_name_get(account_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_check_migrate_get(account_name:, destination_email_address:, destination_service_name:, domain:) ⇒ Object
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'lib/ovh-api/api/email/domain.rb', line 558 def domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_check_migrate_get(account_name:, destination_email_address:, destination_service_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'destination_email_address is required' if destination_email_address.nil? raise ArgumentError, 'destination_service_name is required' if destination_service_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}/destinationEmailAddress/{destinationEmailAddress}/checkMigrate' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{destinationEmailAddress}', ERB::Util.url_encode(destination_email_address.to_s)) .gsub('{destinationServiceName}', ERB::Util.url_encode(destination_service_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_get(account_name:, destination_email_address:, destination_service_name:, domain:) ⇒ Object
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'lib/ovh-api/api/email/domain.rb', line 576 def domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_get(account_name:, destination_email_address:, destination_service_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'destination_email_address is required' if destination_email_address.nil? raise ArgumentError, 'destination_service_name is required' if destination_service_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}/destinationEmailAddress/{destinationEmailAddress}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{destinationEmailAddress}', ERB::Util.url_encode(destination_email_address.to_s)) .gsub('{destinationServiceName}', ERB::Util.url_encode(destination_service_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_migrate_post(account_name:, destination_email_address:, destination_service_name:, domain:, body:) ⇒ Object
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 |
# File 'lib/ovh-api/api/email/domain.rb', line 594 def domain_account_account_name_migrate_destination_service_name_destination_email_address_destination_email_address_migrate_post(account_name:, destination_email_address:, destination_service_name:, domain:, body:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'destination_email_address is required' if destination_email_address.nil? raise ArgumentError, 'destination_service_name is required' if destination_service_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}/destinationEmailAddress/{destinationEmailAddress}/migrate' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{destinationEmailAddress}', ERB::Util.url_encode(destination_email_address.to_s)) .gsub('{destinationServiceName}', ERB::Util.url_encode(destination_service_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: body ) end |
#domain_account_account_name_migrate_destination_service_name_destination_email_address_get(account_name:, destination_service_name:, domain:, quota: nil) ⇒ Object
614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 |
# File 'lib/ovh-api/api/email/domain.rb', line 614 def domain_account_account_name_migrate_destination_service_name_destination_email_address_get(account_name:, destination_service_name:, domain:, quota: nil) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'destination_service_name is required' if destination_service_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}/destinationEmailAddress' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{destinationServiceName}', ERB::Util.url_encode(destination_service_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'quota' => quota } ) end |
#domain_account_account_name_migrate_destination_service_name_get(account_name:, destination_service_name:, domain:) ⇒ Object
631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'lib/ovh-api/api/email/domain.rb', line 631 def domain_account_account_name_migrate_destination_service_name_get(account_name:, destination_service_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'destination_service_name is required' if destination_service_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{destinationServiceName}', ERB::Util.url_encode(destination_service_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_migrate_get(account_name:, domain:, type: nil) ⇒ Object
647 648 649 650 651 652 653 654 655 656 657 658 659 660 |
# File 'lib/ovh-api/api/email/domain.rb', line 647 def domain_account_account_name_migrate_get(account_name:, domain:, type: nil) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/migrate' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'type' => type } ) end |
#domain_account_account_name_put(account_name:, domain:, email_domain_account:) ⇒ Object
662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 |
# File 'lib/ovh-api/api/email/domain.rb', line 662 def domain_account_account_name_put(account_name:, domain:, email_domain_account:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_account is required' if email_domain_account.nil? @connection.call( :PUT, '/email/domain/{domain}/account/{accountName}' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_account ) end |
#domain_account_account_name_update_usage_post(account_name:, domain:) ⇒ Object
678 679 680 681 682 683 684 685 686 687 688 689 690 |
# File 'lib/ovh-api/api/email/domain.rb', line 678 def domain_account_account_name_update_usage_post(account_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :POST, '/email/domain/{domain}/account/{accountName}/updateUsage' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_account_name_usage_get(account_name:, domain:) ⇒ Object
692 693 694 695 696 697 698 699 700 701 702 703 704 |
# File 'lib/ovh-api/api/email/domain.rb', line 692 def domain_account_account_name_usage_get(account_name:, domain:) raise ArgumentError, 'account_name is required' if account_name.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account/{accountName}/usage' .gsub('{accountName}', ERB::Util.url_encode(account_name.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_account_get(domain:, account_name: nil, description: nil) ⇒ Object
706 707 708 709 710 711 712 713 714 715 716 717 |
# File 'lib/ovh-api/api/email/domain.rb', line 706 def domain_account_get(domain:, account_name: nil, description: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/account' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'accountName' => account_name, 'description' => description } ) end |
#domain_account_post(domain:, email_domain_domain_account_post_request:) ⇒ Object
719 720 721 722 723 724 725 726 727 728 729 730 731 |
# File 'lib/ovh-api/api/email/domain.rb', line 719 def domain_account_post(domain:, email_domain_domain_account_post_request:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_domain_account_post_request is required' if email_domain_domain_account_post_request.nil? @connection.call( :POST, '/email/domain/{domain}/account' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_domain_account_post_request ) end |
#domain_acl_account_id_delete(account_id:, domain:) ⇒ Object
733 734 735 736 737 738 739 740 741 742 743 744 745 |
# File 'lib/ovh-api/api/email/domain.rb', line 733 def domain_acl_account_id_delete(account_id:, domain:) raise ArgumentError, 'account_id is required' if account_id.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :DELETE, '/email/domain/{domain}/acl/{accountId}' .gsub('{accountId}', ERB::Util.url_encode(account_id.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_acl_account_id_get(account_id:, domain:) ⇒ Object
747 748 749 750 751 752 753 754 755 756 757 758 759 |
# File 'lib/ovh-api/api/email/domain.rb', line 747 def domain_acl_account_id_get(account_id:, domain:) raise ArgumentError, 'account_id is required' if account_id.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/acl/{accountId}' .gsub('{accountId}', ERB::Util.url_encode(account_id.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_acl_get(domain:) ⇒ Object
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/ovh-api/api/email/domain.rb', line 761 def domain_acl_get(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/acl' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_acl_post(domain:, body:) ⇒ Object
773 774 775 776 777 778 779 780 781 782 783 784 785 |
# File 'lib/ovh-api/api/email/domain.rb', line 773 def domain_acl_post(domain:, body:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/acl' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: body ) end |
#domain_change_contact_post(domain:, cdn_dedicated_service_name_change_contact_post_request: nil) ⇒ Object
787 788 789 790 791 792 793 794 795 796 797 798 |
# File 'lib/ovh-api/api/email/domain.rb', line 787 def domain_change_contact_post(domain:, cdn_dedicated_service_name_change_contact_post_request: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :POST, '/email/domain/{domain}/changeContact' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: cdn_dedicated_service_name_change_contact_post_request ) end |
#domain_change_dns_mx_filter_post(domain:, email_domain_domain_change_dns_mx_filter_post_request:) ⇒ Object
800 801 802 803 804 805 806 807 808 809 810 811 812 |
# File 'lib/ovh-api/api/email/domain.rb', line 800 def domain_change_dns_mx_filter_post(domain:, email_domain_domain_change_dns_mx_filter_post_request:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_domain_change_dns_mx_filter_post_request is required' if email_domain_domain_change_dns_mx_filter_post_request.nil? @connection.call( :POST, '/email/domain/{domain}/changeDnsMXFilter' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_domain_change_dns_mx_filter_post_request ) end |
#domain_confirm_termination_post(domain:, email_domain_domain_confirm_termination_post_request:) ⇒ Object
814 815 816 817 818 819 820 821 822 823 824 825 826 |
# File 'lib/ovh-api/api/email/domain.rb', line 814 def domain_confirm_termination_post(domain:, email_domain_domain_confirm_termination_post_request:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_domain_confirm_termination_post_request is required' if email_domain_domain_confirm_termination_post_request.nil? @connection.call( :POST, '/email/domain/{domain}/confirmTermination' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_domain_confirm_termination_post_request ) end |
#domain_dkim_disable_put(domain:) ⇒ Object
828 829 830 831 832 833 834 835 836 837 838 |
# File 'lib/ovh-api/api/email/domain.rb', line 828 def domain_dkim_disable_put(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :PUT, '/email/domain/{domain}/dkim/disable' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_dkim_enable_put(domain:) ⇒ Object
840 841 842 843 844 845 846 847 848 849 850 |
# File 'lib/ovh-api/api/email/domain.rb', line 840 def domain_dkim_enable_put(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :PUT, '/email/domain/{domain}/dkim/enable' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_dkim_get(domain:) ⇒ Object
852 853 854 855 856 857 858 859 860 861 862 |
# File 'lib/ovh-api/api/email/domain.rb', line 852 def domain_dkim_get(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/dkim' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_dns_mx_filter_get(domain:, sub_domain: nil) ⇒ Object
864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'lib/ovh-api/api/email/domain.rb', line 864 def domain_dns_mx_filter_get(domain:, sub_domain: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/dnsMXFilter' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'subDomain' => sub_domain } ) end |
#domain_dns_mx_records_get(domain:, sub_domain: nil) ⇒ Object
877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'lib/ovh-api/api/email/domain.rb', line 877 def domain_dns_mx_records_get(domain:, sub_domain: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/dnsMXRecords' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'subDomain' => sub_domain } ) end |
#domain_get(domain:) ⇒ Object
890 891 892 893 894 895 896 897 898 899 900 |
# File 'lib/ovh-api/api/email/domain.rb', line 890 def domain_get(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_mailing_list_get(domain:, name: nil) ⇒ Object
902 903 904 905 906 907 908 909 910 911 912 913 |
# File 'lib/ovh-api/api/email/domain.rb', line 902 def domain_mailing_list_get(domain:, name: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/mailingList' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'name' => name } ) end |
#domain_mailing_list_name_change_options_post(domain:, name:, domain_domain_ml_options_struct:) ⇒ Object
915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 |
# File 'lib/ovh-api/api/email/domain.rb', line 915 def (domain:, name:, domain_domain_ml_options_struct:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'domain_domain_ml_options_struct is required' if .nil? @connection.call( :POST, '/email/domain/{domain}/mailingList/{name}/changeOptions' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: ) end |
#domain_mailing_list_name_delete(domain:, name:) ⇒ Object
931 932 933 934 935 936 937 938 939 940 941 942 943 |
# File 'lib/ovh-api/api/email/domain.rb', line 931 def domain_mailing_list_name_delete(domain:, name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :DELETE, '/email/domain/{domain}/mailingList/{name}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_mailing_list_name_get(domain:, name:) ⇒ Object
945 946 947 948 949 950 951 952 953 954 955 956 957 |
# File 'lib/ovh-api/api/email/domain.rb', line 945 def domain_mailing_list_name_get(domain:, name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/{domain}/mailingList/{name}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_mailing_list_name_moderator_email_delete(domain:, email:, name:) ⇒ Object
959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 |
# File 'lib/ovh-api/api/email/domain.rb', line 959 def domain_mailing_list_name_moderator_email_delete(domain:, email:, name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :DELETE, '/email/domain/{domain}/mailingList/{name}/moderator/{email}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_mailing_list_name_moderator_email_get(domain:, email:, name:) ⇒ Object
975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 |
# File 'lib/ovh-api/api/email/domain.rb', line 975 def domain_mailing_list_name_moderator_email_get(domain:, email:, name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/{domain}/mailingList/{name}/moderator/{email}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_mailing_list_name_moderator_get(domain:, name:, email: nil) ⇒ Object
991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 |
# File 'lib/ovh-api/api/email/domain.rb', line 991 def domain_mailing_list_name_moderator_get(domain:, name:, email: nil) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/{domain}/mailingList/{name}/moderator' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], query: { 'email' => email } ) end |
#domain_mailing_list_name_moderator_post(domain:, name:, body:) ⇒ Object
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 |
# File 'lib/ovh-api/api/email/domain.rb', line 1006 def domain_mailing_list_name_moderator_post(domain:, name:, body:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/mailingList/{name}/moderator' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: body ) end |
#domain_mailing_list_name_put(domain:, name:, email_domain_mailing_list:) ⇒ Object
1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/ovh-api/api/email/domain.rb', line 1022 def domain_mailing_list_name_put(domain:, name:, email_domain_mailing_list:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'email_domain_mailing_list is required' if email_domain_mailing_list.nil? @connection.call( :PUT, '/email/domain/{domain}/mailingList/{name}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: email_domain_mailing_list ) end |
#domain_mailing_list_name_send_list_by_email_post(domain:, name:, body:) ⇒ Object
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 |
# File 'lib/ovh-api/api/email/domain.rb', line 1038 def domain_mailing_list_name_send_list_by_email_post(domain:, name:, body:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/mailingList/{name}/sendListByEmail' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: body ) end |
#domain_mailing_list_name_subscriber_email_delete(domain:, email:, name:) ⇒ Object
1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'lib/ovh-api/api/email/domain.rb', line 1054 def domain_mailing_list_name_subscriber_email_delete(domain:, email:, name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :DELETE, '/email/domain/{domain}/mailingList/{name}/subscriber/{email}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_mailing_list_name_subscriber_email_get(domain:, email:, name:) ⇒ Object
1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 |
# File 'lib/ovh-api/api/email/domain.rb', line 1070 def domain_mailing_list_name_subscriber_email_get(domain:, email:, name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/{domain}/mailingList/{name}/subscriber/{email}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{email}', ERB::Util.url_encode(email.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [] ) end |
#domain_mailing_list_name_subscriber_get(domain:, name:, email: nil) ⇒ Object
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 |
# File 'lib/ovh-api/api/email/domain.rb', line 1086 def domain_mailing_list_name_subscriber_get(domain:, name:, email: nil) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? @connection.call( :GET, '/email/domain/{domain}/mailingList/{name}/subscriber' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], query: { 'email' => email } ) end |
#domain_mailing_list_name_subscriber_post(domain:, name:, body:) ⇒ Object
1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/ovh-api/api/email/domain.rb', line 1101 def domain_mailing_list_name_subscriber_post(domain:, name:, body:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'name is required' if name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/email/domain/{domain}/mailingList/{name}/subscriber' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{name}', ERB::Util.url_encode(name.to_s)), type: nil, auth: [], body: body ) end |
#domain_mailing_list_post(domain:, email_domain_domain_mailing_list_post_request:) ⇒ Object
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'lib/ovh-api/api/email/domain.rb', line 1117 def domain_mailing_list_post(domain:, email_domain_domain_mailing_list_post_request:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_domain_mailing_list_post_request is required' if email_domain_domain_mailing_list_post_request.nil? @connection.call( :POST, '/email/domain/{domain}/mailingList' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_domain_mailing_list_post_request ) end |
#domain_migrate_delegation_v3to_v6_post(domain:) ⇒ Object
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 |
# File 'lib/ovh-api/api/email/domain.rb', line 1131 def domain_migrate_delegation_v3to_v6_post(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :POST, '/email/domain/{domain}/migrateDelegationV3toV6' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_quota_get(domain:) ⇒ Object
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 |
# File 'lib/ovh-api/api/email/domain.rb', line 1143 def domain_quota_get(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/quota' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_recommended_dns_records_get(domain:) ⇒ Object
1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/ovh-api/api/email/domain.rb', line 1155 def domain_recommended_dns_records_get(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/recommendedDNSRecords' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_redirection_get(domain:, from: nil, to: nil) ⇒ Object
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/ovh-api/api/email/domain.rb', line 1167 def domain_redirection_get(domain:, from: nil, to: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/redirection' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'from' => from, 'to' => to } ) end |
#domain_redirection_id_change_redirection_post(domain:, id:, email_domain_redirection_change_redirection_creation:) ⇒ Object
1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 |
# File 'lib/ovh-api/api/email/domain.rb', line 1180 def domain_redirection_id_change_redirection_post(domain:, id:, email_domain_redirection_change_redirection_creation:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? raise ArgumentError, 'email_domain_redirection_change_redirection_creation is required' if email_domain_redirection_change_redirection_creation.nil? @connection.call( :POST, '/email/domain/{domain}/redirection/{id}/changeRedirection' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [], body: email_domain_redirection_change_redirection_creation ) end |
#domain_redirection_id_delete(domain:, id:) ⇒ Object
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/ovh-api/api/email/domain.rb', line 1196 def domain_redirection_id_delete(domain:, id:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? @connection.call( :DELETE, '/email/domain/{domain}/redirection/{id}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [] ) end |
#domain_redirection_id_get(domain:, id:) ⇒ Object
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 |
# File 'lib/ovh-api/api/email/domain.rb', line 1210 def domain_redirection_id_get(domain:, id:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? @connection.call( :GET, '/email/domain/{domain}/redirection/{id}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [] ) end |
#domain_redirection_post(domain:, email_domain_redirection_creation:) ⇒ Object
1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 |
# File 'lib/ovh-api/api/email/domain.rb', line 1224 def domain_redirection_post(domain:, email_domain_redirection_creation:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_redirection_creation is required' if email_domain_redirection_creation.nil? @connection.call( :POST, '/email/domain/{domain}/redirection' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_redirection_creation ) end |
#domain_responder_account_delete(account:, domain:) ⇒ Object
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 |
# File 'lib/ovh-api/api/email/domain.rb', line 1238 def domain_responder_account_delete(account:, domain:) raise ArgumentError, 'account is required' if account.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :DELETE, '/email/domain/{domain}/responder/{account}' .gsub('{account}', ERB::Util.url_encode(account.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_responder_account_get(account:, domain:) ⇒ Object
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'lib/ovh-api/api/email/domain.rb', line 1252 def domain_responder_account_get(account:, domain:) raise ArgumentError, 'account is required' if account.nil? raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/responder/{account}' .gsub('{account}', ERB::Util.url_encode(account.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_responder_account_put(account:, domain:, email_domain_responder:) ⇒ Object
1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 |
# File 'lib/ovh-api/api/email/domain.rb', line 1266 def domain_responder_account_put(account:, domain:, email_domain_responder:) raise ArgumentError, 'account is required' if account.nil? raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_responder is required' if email_domain_responder.nil? @connection.call( :PUT, '/email/domain/{domain}/responder/{account}' .gsub('{account}', ERB::Util.url_encode(account.to_s)) .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_responder ) end |
#domain_responder_get(domain:, account: nil) ⇒ Object
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 |
# File 'lib/ovh-api/api/email/domain.rb', line 1282 def domain_responder_get(domain:, account: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/responder' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'account' => account } ) end |
#domain_responder_post(domain:, email_domain_domain_responder_post_request:) ⇒ Object
1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 |
# File 'lib/ovh-api/api/email/domain.rb', line 1295 def domain_responder_post(domain:, email_domain_domain_responder_post_request:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'email_domain_domain_responder_post_request is required' if email_domain_domain_responder_post_request.nil? @connection.call( :POST, '/email/domain/{domain}/responder' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: email_domain_domain_responder_post_request ) end |
#domain_service_infos_get(domain:) ⇒ Object
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 |
# File 'lib/ovh-api/api/email/domain.rb', line 1309 def domain_service_infos_get(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/serviceInfos' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_service_infos_put(domain:, services_service:) ⇒ Object
1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 |
# File 'lib/ovh-api/api/email/domain.rb', line 1321 def domain_service_infos_put(domain:, services_service:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'services_service is required' if services_service.nil? @connection.call( :PUT, '/email/domain/{domain}/serviceInfos' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], body: services_service ) end |
#domain_summary_get(domain:) ⇒ Object
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 |
# File 'lib/ovh-api/api/email/domain.rb', line 1335 def domain_summary_get(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/summary' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_task_account_get(domain:, name: nil) ⇒ Object
1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 |
# File 'lib/ovh-api/api/email/domain.rb', line 1347 def domain_task_account_get(domain:, name: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/task/account' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'name' => name } ) end |
#domain_task_account_id_get(domain:, id:) ⇒ Object
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 |
# File 'lib/ovh-api/api/email/domain.rb', line 1360 def domain_task_account_id_get(domain:, id:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? @connection.call( :GET, '/email/domain/{domain}/task/account/{id}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [] ) end |
#domain_task_all_get(domain:) ⇒ Object
1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 |
# File 'lib/ovh-api/api/email/domain.rb', line 1374 def domain_task_all_get(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/task/all' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#domain_task_all_id_get(domain:, id:) ⇒ Object
1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 |
# File 'lib/ovh-api/api/email/domain.rb', line 1386 def domain_task_all_id_get(domain:, id:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? @connection.call( :GET, '/email/domain/{domain}/task/all/{id}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [] ) end |
#domain_task_filter_get(domain:, account: nil) ⇒ Object
1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 |
# File 'lib/ovh-api/api/email/domain.rb', line 1400 def domain_task_filter_get(domain:, account: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/task/filter' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'account' => account } ) end |
#domain_task_filter_id_get(domain:, id:) ⇒ Object
1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 |
# File 'lib/ovh-api/api/email/domain.rb', line 1413 def domain_task_filter_id_get(domain:, id:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? @connection.call( :GET, '/email/domain/{domain}/task/filter/{id}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [] ) end |
#domain_task_mailinglist_get(domain:, account: nil) ⇒ Object
1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 |
# File 'lib/ovh-api/api/email/domain.rb', line 1427 def domain_task_mailinglist_get(domain:, account: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/task/mailinglist' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'account' => account } ) end |
#domain_task_mailinglist_id_get(domain:, id:) ⇒ Object
1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 |
# File 'lib/ovh-api/api/email/domain.rb', line 1440 def domain_task_mailinglist_id_get(domain:, id:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? @connection.call( :GET, '/email/domain/{domain}/task/mailinglist/{id}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [] ) end |
#domain_task_redirection_get(domain:, account: nil) ⇒ Object
1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 |
# File 'lib/ovh-api/api/email/domain.rb', line 1454 def domain_task_redirection_get(domain:, account: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/task/redirection' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'account' => account } ) end |
#domain_task_redirection_id_get(domain:, id:) ⇒ Object
1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 |
# File 'lib/ovh-api/api/email/domain.rb', line 1467 def domain_task_redirection_id_get(domain:, id:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? @connection.call( :GET, '/email/domain/{domain}/task/redirection/{id}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [] ) end |
#domain_task_responder_get(domain:, account: nil) ⇒ Object
1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 |
# File 'lib/ovh-api/api/email/domain.rb', line 1481 def domain_task_responder_get(domain:, account: nil) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :GET, '/email/domain/{domain}/task/responder' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [], query: { 'account' => account } ) end |
#domain_task_responder_id_get(domain:, id:) ⇒ Object
1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'lib/ovh-api/api/email/domain.rb', line 1494 def domain_task_responder_id_get(domain:, id:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'id is required' if id.nil? @connection.call( :GET, '/email/domain/{domain}/task/responder/{id}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{id}', ERB::Util.url_encode(id.to_s)), type: nil, auth: [] ) end |
#domain_terminate_post(domain:) ⇒ Object
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/ovh-api/api/email/domain.rb', line 1508 def domain_terminate_post(domain:) raise ArgumentError, 'domain is required' if domain.nil? @connection.call( :POST, '/email/domain/{domain}/terminate' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)), type: nil, auth: [] ) end |
#get(iam_tags: nil) ⇒ Object
1520 1521 1522 1523 1524 1525 1526 1527 1528 |
# File 'lib/ovh-api/api/email/domain.rb', line 1520 def get(iam_tags: nil) @connection.call( :GET, '/email/domain', type: nil, auth: [], query: { 'iamTags' => } ) end |
#mailing_list_limits_get(moderator_message:) ⇒ Object
1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 |
# File 'lib/ovh-api/api/email/domain.rb', line 1530 def mailing_list_limits_get(moderator_message:) raise ArgumentError, 'moderator_message is required' if .nil? @connection.call( :GET, '/email/domain/mailingListLimits', type: nil, auth: [], query: { 'moderatorMessage' => } ) end |