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.



20050
20051
20052
20053
20054
# File 'lib/eBay.rb', line 20050

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.



20044
20045
20046
# File 'lib/eBay.rb', line 20044

def __xmlele_any
  @__xmlele_any
end

#nameObject

Returns the value of attribute name.



20042
20043
20044
# File 'lib/eBay.rb', line 20042

def name
  @name
end

#valueObject

Returns the value of attribute value.



20043
20044
20045
# File 'lib/eBay.rb', line 20043

def value
  @value
end

Instance Method Details

#set_any(elements) ⇒ Object



20046
20047
20048
# File 'lib/eBay.rb', line 20046

def set_any(elements)
  @__xmlele_any = elements
end