Class: Bandwidth::Bxml::CustomParam

Inherits:
Verb
  • Object
show all
Defined in:
lib/bandwidth-sdk/models/bxml/verbs/custom_param.rb

Instance Method Summary collapse

Methods inherited from Verb

#generate_xml, #set_attributes, #to_bxml

Constructor Details

#initialize(attributes = {}) ⇒ CustomParam

Initializer

Parameters:

  • attributes (Hash) (defaults to: {})

    The attributes to add to the element. Defaults to an empty hash.



6
7
8
9
10
11
12
13
# File 'lib/bandwidth-sdk/models/bxml/verbs/custom_param.rb', line 6

def initialize(attributes = {})
  super('CustomParam', nil, attributes)
  
  @attribute_map = {
    name: 'name',   # [String]: The name of this parameter, up to 256 characters.
    value: 'value', # [String]: The value of this parameter, up to 2048 characters.
  }
end