Class: Pack::Xdsl
- Inherits:
-
Object
- Object
- Pack::Xdsl
- Defined in:
- lib/ovh-api/api/pack/xdsl.rb
Instance Method Summary collapse
- #get(iam_tags: nil) ⇒ Object
-
#initialize(connection) ⇒ Xdsl
constructor
A new instance of Xdsl.
- #pack_name_address_move_move_offer_post(pack_name:, pack_xdsl_pack_name_address_move_move_offer_post_request:) ⇒ Object
- #pack_name_address_move_offers_post(pack_name:, body:) ⇒ Object
- #pack_name_address_move_services_to_delete_unpack_terms_post(pack_name:, pack_xdsl_pack_name_address_move_services_to_delete_unpack_ter_hf6fc1f68:) ⇒ Object
- #pack_name_can_cancel_resiliation_get(pack_name:) ⇒ Object
- #pack_name_cancel_resiliation_post(pack_name:) ⇒ Object
- #pack_name_change_contact_post(pack_name:, cdn_dedicated_service_name_change_contact_post_request: nil) ⇒ Object
- #pack_name_contact_owner_get(pack_name:) ⇒ Object
- #pack_name_domain_options_tlds_get(pack_name:) ⇒ Object
- #pack_name_domain_services_get(pack_name:) ⇒ Object
- #pack_name_domain_services_post(pack_name:, pack_xdsl_pack_name_domain_services_post_request:) ⇒ Object
- #pack_name_email_pro_options_domains_get(pack_name:) ⇒ Object
- #pack_name_email_pro_options_is_email_available_get(email:, pack_name:) ⇒ Object
- #pack_name_email_pro_services_get(pack_name:) ⇒ Object
- #pack_name_email_pro_services_post(pack_name:, pack_xdsl_pack_name_email_pro_services_post_request:) ⇒ Object
- #pack_name_exchange_account_services_domain_get(domain:, pack_name:) ⇒ Object
- #pack_name_exchange_account_services_get(pack_name:) ⇒ Object
- #pack_name_exchange_individual_options_domains_get(pack_name:) ⇒ Object
- #pack_name_exchange_individual_options_is_email_available_get(email:, pack_name:) ⇒ Object
- #pack_name_exchange_organization_services_get(pack_name:) ⇒ Object
- #pack_name_get(pack_name:) ⇒ Object
- #pack_name_hosted_email_options_domains_get(pack_name:) ⇒ Object
- #pack_name_hosted_email_services_domain_account_get(domain:, pack_name:) ⇒ Object
- #pack_name_hosted_email_services_domain_change_password_post(domain:, pack_name:, body:) ⇒ Object
- #pack_name_hosted_email_services_domain_configuration_get(domain:, pack_name:) ⇒ Object
- #pack_name_hosted_email_services_domain_delete(domain:, pack_name:) ⇒ Object
- #pack_name_hosted_email_services_domain_get(domain:, pack_name:) ⇒ Object
- #pack_name_hosted_email_services_get(pack_name:) ⇒ Object
- #pack_name_hosted_email_services_post(pack_name:, pack_xdsl_pack_name_email_pro_services_post_request:) ⇒ Object
- #pack_name_migration_migrate_post(pack_name:, pack_xdsl_pack_name_migration_migrate_post_request:) ⇒ Object
- #pack_name_migration_offers_post(pack_name:, body: nil) ⇒ Object
- #pack_name_migration_services_to_delete_unpack_terms_post(pack_name:, pack_xdsl_pack_name_migration_services_to_delete_unpack_terms_ph48bc4df1:) ⇒ Object
- #pack_name_order_follow_up_get(pack_name:) ⇒ Object
- #pack_name_promotion_code_capabilities_get(pack_name:) ⇒ Object
- #pack_name_promotion_code_generate_post(pack_name:) ⇒ Object
- #pack_name_put(pack_name:, pack_xdsl_pack_adsl:) ⇒ Object
- #pack_name_resiliate_post(pack_name:, pack_xdsl_pack_name_resiliate_post_request:) ⇒ Object
- #pack_name_resiliation_follow_up_get(pack_name:) ⇒ Object
- #pack_name_resiliation_terms_get(pack_name:, resiliation_date: nil) ⇒ Object
- #pack_name_service_infos_get(pack_name:) ⇒ Object
- #pack_name_service_infos_put(pack_name:, services_service:) ⇒ Object
- #pack_name_services_get(pack_name:) ⇒ Object
- #pack_name_shipping_addresses_get(context:, pack_name:) ⇒ Object
- #pack_name_sub_services_domain_get(domain:, pack_name:) ⇒ Object
- #pack_name_sub_services_domain_keep_service_terms_get(domain:, pack_name:) ⇒ Object
- #pack_name_sub_services_get(pack_name:) ⇒ Object
- #pack_name_tasks_get(pack_name:, function: nil, status: nil) ⇒ Object
- #pack_name_tasks_id_get(id:, pack_name:) ⇒ Object
- #pack_name_voip_billing_account_services_get(pack_name:) ⇒ Object
- #pack_name_voip_ecofax_services_get(pack_name:) ⇒ Object
- #pack_name_voip_ecofax_services_post(pack_name:) ⇒ Object
- #pack_name_voip_line_options_custom_shipping_address_post(pack_name:, pack_xdsl_pack_name_voip_line_options_custom_shipping_address_ph5b5f455f:) ⇒ Object
- #pack_name_voip_line_options_hardwares_get(pack_name:) ⇒ Object
- #pack_name_voip_line_options_shipping_addresses_get(pack_name:) ⇒ Object
- #pack_name_voip_line_services_domain_get(domain:, pack_name:) ⇒ Object
- #pack_name_voip_line_services_get(pack_name:) ⇒ Object
- #pack_name_voip_line_services_post(pack_name:, pack_xdsl_pack_name_voip_line_services_post_request:) ⇒ Object
- #pack_name_xdsl_access_services_get(pack_name:) ⇒ Object
Constructor Details
#initialize(connection) ⇒ Xdsl
Returns a new instance of Xdsl.
6 7 8 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 6 def initialize(connection) @connection = connection end |
Instance Method Details
#get(iam_tags: nil) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 10 def get(iam_tags: nil) @connection.call( :GET, '/pack/xdsl', type: nil, auth: [], query: { 'iamTags' => } ) end |
#pack_name_address_move_move_offer_post(pack_name:, pack_xdsl_pack_name_address_move_move_offer_post_request:) ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 20 def pack_name_address_move_move_offer_post(pack_name:, pack_xdsl_pack_name_address_move_move_offer_post_request:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_address_move_move_offer_post_request is required' if pack_xdsl_pack_name_address_move_move_offer_post_request.nil? @connection.call( :POST, '/pack/xdsl/{packName}/addressMove/moveOffer' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_address_move_move_offer_post_request ) end |
#pack_name_address_move_offers_post(pack_name:, body:) ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 34 def pack_name_address_move_offers_post(pack_name:, body:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/pack/xdsl/{packName}/addressMove/offers' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: body ) end |
#pack_name_address_move_services_to_delete_unpack_terms_post(pack_name:, pack_xdsl_pack_name_address_move_services_to_delete_unpack_ter_hf6fc1f68:) ⇒ Object
48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 48 def pack_name_address_move_services_to_delete_unpack_terms_post(pack_name:, pack_xdsl_pack_name_address_move_services_to_delete_unpack_ter_hf6fc1f68:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_address_move_services_to_delete_unpack_ter_hf6fc1f68 is required' if pack_xdsl_pack_name_address_move_services_to_delete_unpack_ter_hf6fc1f68.nil? @connection.call( :POST, '/pack/xdsl/{packName}/addressMove/servicesToDeleteUnpackTerms' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_address_move_services_to_delete_unpack_ter_hf6fc1f68 ) end |
#pack_name_can_cancel_resiliation_get(pack_name:) ⇒ Object
62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 62 def pack_name_can_cancel_resiliation_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/canCancelResiliation' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_cancel_resiliation_post(pack_name:) ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 74 def pack_name_cancel_resiliation_post(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :POST, '/pack/xdsl/{packName}/cancelResiliation' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_change_contact_post(pack_name:, cdn_dedicated_service_name_change_contact_post_request: nil) ⇒ Object
86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 86 def pack_name_change_contact_post(pack_name:, cdn_dedicated_service_name_change_contact_post_request: nil) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :POST, '/pack/xdsl/{packName}/changeContact' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: cdn_dedicated_service_name_change_contact_post_request ) end |
#pack_name_contact_owner_get(pack_name:) ⇒ Object
99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 99 def pack_name_contact_owner_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/contactOwner' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_domain_options_tlds_get(pack_name:) ⇒ Object
111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 111 def (pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/domain/options/tlds' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_domain_services_get(pack_name:) ⇒ Object
123 124 125 126 127 128 129 130 131 132 133 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 123 def pack_name_domain_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/domain/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_domain_services_post(pack_name:, pack_xdsl_pack_name_domain_services_post_request:) ⇒ Object
135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 135 def pack_name_domain_services_post(pack_name:, pack_xdsl_pack_name_domain_services_post_request:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_domain_services_post_request is required' if pack_xdsl_pack_name_domain_services_post_request.nil? @connection.call( :POST, '/pack/xdsl/{packName}/domain/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_domain_services_post_request ) end |
#pack_name_email_pro_options_domains_get(pack_name:) ⇒ Object
149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 149 def (pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/emailPro/options/domains' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_email_pro_options_is_email_available_get(email:, pack_name:) ⇒ Object
161 162 163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 161 def (email:, pack_name:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/emailPro/options/isEmailAvailable' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], query: { 'email' => email } ) end |
#pack_name_email_pro_services_get(pack_name:) ⇒ Object
175 176 177 178 179 180 181 182 183 184 185 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 175 def pack_name_email_pro_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/emailPro/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_email_pro_services_post(pack_name:, pack_xdsl_pack_name_email_pro_services_post_request:) ⇒ Object
187 188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 187 def pack_name_email_pro_services_post(pack_name:, pack_xdsl_pack_name_email_pro_services_post_request:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_email_pro_services_post_request is required' if pack_xdsl_pack_name_email_pro_services_post_request.nil? @connection.call( :POST, '/pack/xdsl/{packName}/emailPro/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_email_pro_services_post_request ) end |
#pack_name_exchange_account_services_domain_get(domain:, pack_name:) ⇒ Object
201 202 203 204 205 206 207 208 209 210 211 212 213 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 201 def pack_name_exchange_account_services_domain_get(domain:, pack_name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/exchangeAccount/services/{domain}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_exchange_account_services_get(pack_name:) ⇒ Object
215 216 217 218 219 220 221 222 223 224 225 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 215 def pack_name_exchange_account_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/exchangeAccount/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_exchange_individual_options_domains_get(pack_name:) ⇒ Object
227 228 229 230 231 232 233 234 235 236 237 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 227 def (pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/exchangeIndividual/options/domains' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_exchange_individual_options_is_email_available_get(email:, pack_name:) ⇒ Object
239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 239 def (email:, pack_name:) raise ArgumentError, 'email is required' if email.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/exchangeIndividual/options/isEmailAvailable' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], query: { 'email' => email } ) end |
#pack_name_exchange_organization_services_get(pack_name:) ⇒ Object
253 254 255 256 257 258 259 260 261 262 263 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 253 def pack_name_exchange_organization_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/exchangeOrganization/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_get(pack_name:) ⇒ Object
265 266 267 268 269 270 271 272 273 274 275 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 265 def pack_name_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_hosted_email_options_domains_get(pack_name:) ⇒ Object
277 278 279 280 281 282 283 284 285 286 287 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 277 def (pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/hostedEmail/options/domains' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_hosted_email_services_domain_account_get(domain:, pack_name:) ⇒ Object
289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 289 def pack_name_hosted_email_services_domain_account_get(domain:, pack_name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/hostedEmail/services/{domain}/account' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_hosted_email_services_domain_change_password_post(domain:, pack_name:, body:) ⇒ Object
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 303 def pack_name_hosted_email_services_domain_change_password_post(domain:, pack_name:, body:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'body is required' if body.nil? @connection.call( :POST, '/pack/xdsl/{packName}/hostedEmail/services/{domain}/changePassword' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: body ) end |
#pack_name_hosted_email_services_domain_configuration_get(domain:, pack_name:) ⇒ Object
319 320 321 322 323 324 325 326 327 328 329 330 331 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 319 def pack_name_hosted_email_services_domain_configuration_get(domain:, pack_name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/hostedEmail/services/{domain}/configuration' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_hosted_email_services_domain_delete(domain:, pack_name:) ⇒ Object
333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 333 def pack_name_hosted_email_services_domain_delete(domain:, pack_name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :DELETE, '/pack/xdsl/{packName}/hostedEmail/services/{domain}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_hosted_email_services_domain_get(domain:, pack_name:) ⇒ Object
347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 347 def pack_name_hosted_email_services_domain_get(domain:, pack_name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/hostedEmail/services/{domain}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_hosted_email_services_get(pack_name:) ⇒ Object
361 362 363 364 365 366 367 368 369 370 371 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 361 def pack_name_hosted_email_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/hostedEmail/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_hosted_email_services_post(pack_name:, pack_xdsl_pack_name_email_pro_services_post_request:) ⇒ Object
373 374 375 376 377 378 379 380 381 382 383 384 385 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 373 def pack_name_hosted_email_services_post(pack_name:, pack_xdsl_pack_name_email_pro_services_post_request:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_email_pro_services_post_request is required' if pack_xdsl_pack_name_email_pro_services_post_request.nil? @connection.call( :POST, '/pack/xdsl/{packName}/hostedEmail/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_email_pro_services_post_request ) end |
#pack_name_migration_migrate_post(pack_name:, pack_xdsl_pack_name_migration_migrate_post_request:) ⇒ Object
387 388 389 390 391 392 393 394 395 396 397 398 399 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 387 def pack_name_migration_migrate_post(pack_name:, pack_xdsl_pack_name_migration_migrate_post_request:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_migration_migrate_post_request is required' if pack_xdsl_pack_name_migration_migrate_post_request.nil? @connection.call( :POST, '/pack/xdsl/{packName}/migration/migrate' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_migration_migrate_post_request ) end |
#pack_name_migration_offers_post(pack_name:, body: nil) ⇒ Object
401 402 403 404 405 406 407 408 409 410 411 412 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 401 def pack_name_migration_offers_post(pack_name:, body: nil) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :POST, '/pack/xdsl/{packName}/migration/offers' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: body ) end |
#pack_name_migration_services_to_delete_unpack_terms_post(pack_name:, pack_xdsl_pack_name_migration_services_to_delete_unpack_terms_ph48bc4df1:) ⇒ Object
414 415 416 417 418 419 420 421 422 423 424 425 426 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 414 def pack_name_migration_services_to_delete_unpack_terms_post(pack_name:, pack_xdsl_pack_name_migration_services_to_delete_unpack_terms_ph48bc4df1:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_migration_services_to_delete_unpack_terms_ph48bc4df1 is required' if pack_xdsl_pack_name_migration_services_to_delete_unpack_terms_ph48bc4df1.nil? @connection.call( :POST, '/pack/xdsl/{packName}/migration/servicesToDeleteUnpackTerms' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_migration_services_to_delete_unpack_terms_ph48bc4df1 ) end |
#pack_name_order_follow_up_get(pack_name:) ⇒ Object
428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 428 def pack_name_order_follow_up_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/orderFollowUp' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_promotion_code_capabilities_get(pack_name:) ⇒ Object
440 441 442 443 444 445 446 447 448 449 450 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 440 def pack_name_promotion_code_capabilities_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/promotionCode/capabilities' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_promotion_code_generate_post(pack_name:) ⇒ Object
452 453 454 455 456 457 458 459 460 461 462 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 452 def pack_name_promotion_code_generate_post(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :POST, '/pack/xdsl/{packName}/promotionCode/generate' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_put(pack_name:, pack_xdsl_pack_adsl:) ⇒ Object
464 465 466 467 468 469 470 471 472 473 474 475 476 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 464 def pack_name_put(pack_name:, pack_xdsl_pack_adsl:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_adsl is required' if pack_xdsl_pack_adsl.nil? @connection.call( :PUT, '/pack/xdsl/{packName}' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_adsl ) end |
#pack_name_resiliate_post(pack_name:, pack_xdsl_pack_name_resiliate_post_request:) ⇒ Object
478 479 480 481 482 483 484 485 486 487 488 489 490 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 478 def pack_name_resiliate_post(pack_name:, pack_xdsl_pack_name_resiliate_post_request:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_resiliate_post_request is required' if pack_xdsl_pack_name_resiliate_post_request.nil? @connection.call( :POST, '/pack/xdsl/{packName}/resiliate' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_resiliate_post_request ) end |
#pack_name_resiliation_follow_up_get(pack_name:) ⇒ Object
492 493 494 495 496 497 498 499 500 501 502 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 492 def pack_name_resiliation_follow_up_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/resiliationFollowUp' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_resiliation_terms_get(pack_name:, resiliation_date: nil) ⇒ Object
504 505 506 507 508 509 510 511 512 513 514 515 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 504 def pack_name_resiliation_terms_get(pack_name:, resiliation_date: nil) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/resiliationTerms' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], query: { 'resiliationDate' => resiliation_date } ) end |
#pack_name_service_infos_get(pack_name:) ⇒ Object
517 518 519 520 521 522 523 524 525 526 527 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 517 def pack_name_service_infos_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/serviceInfos' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_service_infos_put(pack_name:, services_service:) ⇒ Object
529 530 531 532 533 534 535 536 537 538 539 540 541 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 529 def pack_name_service_infos_put(pack_name:, services_service:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'services_service is required' if services_service.nil? @connection.call( :PUT, '/pack/xdsl/{packName}/serviceInfos' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: services_service ) end |
#pack_name_services_get(pack_name:) ⇒ Object
543 544 545 546 547 548 549 550 551 552 553 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 543 def pack_name_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_shipping_addresses_get(context:, pack_name:) ⇒ Object
555 556 557 558 559 560 561 562 563 564 565 566 567 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 555 def pack_name_shipping_addresses_get(context:, pack_name:) raise ArgumentError, 'context is required' if context.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/shippingAddresses' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], query: { 'context' => context } ) end |
#pack_name_sub_services_domain_get(domain:, pack_name:) ⇒ Object
569 570 571 572 573 574 575 576 577 578 579 580 581 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 569 def pack_name_sub_services_domain_get(domain:, pack_name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/subServices/{domain}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_sub_services_domain_keep_service_terms_get(domain:, pack_name:) ⇒ Object
583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 583 def pack_name_sub_services_domain_keep_service_terms_get(domain:, pack_name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/subServices/{domain}/keepServiceTerms' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_sub_services_get(pack_name:) ⇒ Object
597 598 599 600 601 602 603 604 605 606 607 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 597 def pack_name_sub_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/subServices' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_tasks_get(pack_name:, function: nil, status: nil) ⇒ Object
609 610 611 612 613 614 615 616 617 618 619 620 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 609 def pack_name_tasks_get(pack_name:, function: nil, status: nil) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/tasks' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], query: { 'function' => function, 'status' => status } ) end |
#pack_name_tasks_id_get(id:, pack_name:) ⇒ Object
622 623 624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 622 def pack_name_tasks_id_get(id:, pack_name:) raise ArgumentError, 'id is required' if id.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/tasks/{id}' .gsub('{id}', ERB::Util.url_encode(id.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_voip_billing_account_services_get(pack_name:) ⇒ Object
636 637 638 639 640 641 642 643 644 645 646 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 636 def pack_name_voip_billing_account_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/voipBillingAccount/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_voip_ecofax_services_get(pack_name:) ⇒ Object
648 649 650 651 652 653 654 655 656 657 658 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 648 def pack_name_voip_ecofax_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/voipEcofax/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_voip_ecofax_services_post(pack_name:) ⇒ Object
660 661 662 663 664 665 666 667 668 669 670 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 660 def pack_name_voip_ecofax_services_post(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :POST, '/pack/xdsl/{packName}/voipEcofax/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_voip_line_options_custom_shipping_address_post(pack_name:, pack_xdsl_pack_name_voip_line_options_custom_shipping_address_ph5b5f455f:) ⇒ Object
672 673 674 675 676 677 678 679 680 681 682 683 684 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 672 def (pack_name:, pack_xdsl_pack_name_voip_line_options_custom_shipping_address_ph5b5f455f:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_voip_line_options_custom_shipping_address_ph5b5f455f is required' if .nil? @connection.call( :POST, '/pack/xdsl/{packName}/voipLine/options/customShippingAddress' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: ) end |
#pack_name_voip_line_options_hardwares_get(pack_name:) ⇒ Object
686 687 688 689 690 691 692 693 694 695 696 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 686 def (pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/voipLine/options/hardwares' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_voip_line_options_shipping_addresses_get(pack_name:) ⇒ Object
698 699 700 701 702 703 704 705 706 707 708 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 698 def (pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/voipLine/options/shippingAddresses' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_voip_line_services_domain_get(domain:, pack_name:) ⇒ Object
710 711 712 713 714 715 716 717 718 719 720 721 722 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 710 def pack_name_voip_line_services_domain_get(domain:, pack_name:) raise ArgumentError, 'domain is required' if domain.nil? raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/voipLine/services/{domain}' .gsub('{domain}', ERB::Util.url_encode(domain.to_s)) .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_voip_line_services_get(pack_name:) ⇒ Object
724 725 726 727 728 729 730 731 732 733 734 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 724 def pack_name_voip_line_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/voipLine/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |
#pack_name_voip_line_services_post(pack_name:, pack_xdsl_pack_name_voip_line_services_post_request:) ⇒ Object
736 737 738 739 740 741 742 743 744 745 746 747 748 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 736 def pack_name_voip_line_services_post(pack_name:, pack_xdsl_pack_name_voip_line_services_post_request:) raise ArgumentError, 'pack_name is required' if pack_name.nil? raise ArgumentError, 'pack_xdsl_pack_name_voip_line_services_post_request is required' if pack_xdsl_pack_name_voip_line_services_post_request.nil? @connection.call( :POST, '/pack/xdsl/{packName}/voipLine/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [], body: pack_xdsl_pack_name_voip_line_services_post_request ) end |
#pack_name_xdsl_access_services_get(pack_name:) ⇒ Object
750 751 752 753 754 755 756 757 758 759 760 |
# File 'lib/ovh-api/api/pack/xdsl.rb', line 750 def pack_name_xdsl_access_services_get(pack_name:) raise ArgumentError, 'pack_name is required' if pack_name.nil? @connection.call( :GET, '/pack/xdsl/{packName}/xdslAccess/services' .gsub('{packName}', ERB::Util.url_encode(pack_name.to_s)), type: nil, auth: [] ) end |