Class: NameValueListType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsNameValueListType

Constant Summary collapse

@@schema_type =
"NameValueListType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["value", ["SOAP::SOAPString[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Value")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = []) ⇒ NameValueListType

Returns a new instance of NameValueListType.



17592
17593
17594
17595
17596
# File 'lib/eBay.rb', line 17592

def initialize(name = nil, value = [])
  @name = name
  @value = value
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



17586
17587
17588
# File 'lib/eBay.rb', line 17586

def __xmlele_any
  @__xmlele_any
end

#nameObject

Returns the value of attribute name.



17584
17585
17586
# File 'lib/eBay.rb', line 17584

def name
  @name
end

#valueObject

Returns the value of attribute value.



17585
17586
17587
# File 'lib/eBay.rb', line 17585

def value
  @value
end

Instance Method Details

#set_any(elements) ⇒ Object



17588
17589
17590
# File 'lib/eBay.rb', line 17588

def set_any(elements)
  @__xmlele_any = elements
end