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.



15300
15301
15302
15303
15304
# File 'lib/eBay.rb', line 15300

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



15278
15279
15280
# File 'lib/eBay.rb', line 15278

def __xmlele_any
  @__xmlele_any
end

#attributeObject

Returns the value of attribute attribute.



15277
15278
15279
# File 'lib/eBay.rb', line 15277

def attribute
  @attribute
end

Instance Method Details

#set_any(elements) ⇒ Object



15280
15281
15282
# File 'lib/eBay.rb', line 15280

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_attributeSetIDObject



15284
15285
15286
# File 'lib/eBay.rb', line 15284

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

#xmlattr_attributeSetID=(value) ⇒ Object



15288
15289
15290
# File 'lib/eBay.rb', line 15288

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

#xmlattr_attributeSetVersionObject



15292
15293
15294
# File 'lib/eBay.rb', line 15292

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

#xmlattr_attributeSetVersion=(value) ⇒ Object



15296
15297
15298
# File 'lib/eBay.rb', line 15296

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