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.



15555
15556
15557
15558
15559
# File 'lib/eBay.rb', line 15555

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.



15549
15550
15551
# File 'lib/eBay.rb', line 15549

def __xmlele_any
  @__xmlele_any
end

#nameObject

Returns the value of attribute name.



15547
15548
15549
# File 'lib/eBay.rb', line 15547

def name
  @name
end

#valueObject

Returns the value of attribute value.



15548
15549
15550
# File 'lib/eBay.rb', line 15548

def value
  @value
end

Instance Method Details

#set_any(elements) ⇒ Object



15551
15552
15553
# File 'lib/eBay.rb', line 15551

def set_any(elements)
  @__xmlele_any = elements
end