Class: AttributeSetType

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

Overview

urn:ebay:apis:eBLBaseComponentsAttributeSetType

Constant Summary collapse

@@schema_type =
"AttributeSetType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "attributeSetID") => "SOAP::SOAPInt",
  XSD::QName.new(nil, "attributeSetVersion") => "SOAP::SOAPString"
}
@@schema_element =
[
  ["attribute", ["AttributeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Attribute")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute = []) ⇒ AttributeSetType

Returns a new instance of AttributeSetType.



13646
13647
13648
13649
13650
# File 'lib/eBay.rb', line 13646

def initialize(attribute = [])
  @attribute = attribute
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



13624
13625
13626
# File 'lib/eBay.rb', line 13624

def __xmlele_any
  @__xmlele_any
end

#attributeObject

Returns the value of attribute attribute.



13623
13624
13625
# File 'lib/eBay.rb', line 13623

def attribute
  @attribute
end

Instance Method Details

#set_any(elements) ⇒ Object



13626
13627
13628
# File 'lib/eBay.rb', line 13626

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_attributeSetIDObject



13630
13631
13632
# File 'lib/eBay.rb', line 13630

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

#xmlattr_attributeSetID=(value) ⇒ Object



13634
13635
13636
# File 'lib/eBay.rb', line 13634

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

#xmlattr_attributeSetVersionObject



13638
13639
13640
# File 'lib/eBay.rb', line 13638

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

#xmlattr_attributeSetVersion=(value) ⇒ Object



13642
13643
13644
# File 'lib/eBay.rb', line 13642

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