Class: DataElementSetType

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

Overview

urn:ebay:apis:eBLBaseComponentsDataElementSetType

Constant Summary collapse

@@schema_type =
"DataElementSetType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "attributeSetID") => "SOAP::SOAPInt"
}
@@schema_element =
[
  ["dataElement", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DataElement")]],
  ["dataElementID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DataElementID")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dataElement = nil, dataElementID = nil) ⇒ DataElementSetType

Returns a new instance of DataElementSetType.



16807
16808
16809
16810
16811
16812
# File 'lib/eBay.rb', line 16807

def initialize(dataElement = nil, dataElementID = nil)
  @dataElement = dataElement
  @dataElementID = dataElementID
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16793
16794
16795
# File 'lib/eBay.rb', line 16793

def __xmlele_any
  @__xmlele_any
end

#dataElementObject

Returns the value of attribute dataElement.



16791
16792
16793
# File 'lib/eBay.rb', line 16791

def dataElement
  @dataElement
end

#dataElementIDObject

Returns the value of attribute dataElementID.



16792
16793
16794
# File 'lib/eBay.rb', line 16792

def dataElementID
  @dataElementID
end

Instance Method Details

#set_any(elements) ⇒ Object



16795
16796
16797
# File 'lib/eBay.rb', line 16795

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_attributeSetIDObject



16799
16800
16801
# File 'lib/eBay.rb', line 16799

def xmlattr_attributeSetID
  (@__xmlattr ||= {})[XSD::QName.new(nil, "attributeSetID")]
end

#xmlattr_attributeSetID=(value) ⇒ Object



16803
16804
16805
# File 'lib/eBay.rb', line 16803

def xmlattr_attributeSetID=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "attributeSetID")] = value
end