Class: AttributeType

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

Overview

urn:ebay:apis:eBLBaseComponentsAttributeType

Constant Summary collapse

@@schema_type =
"AttributeType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "attributeID") => "SOAP::SOAPInt",
  XSD::QName.new(nil, "attributeLabel") => "SOAP::SOAPString"
}
@@schema_element =
[
  ["value", ["ValType[]", 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(value = []) ⇒ AttributeType

Returns a new instance of AttributeType.



15343
15344
15345
15346
15347
# File 'lib/eBay.rb', line 15343

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



15321
15322
15323
# File 'lib/eBay.rb', line 15321

def __xmlele_any
  @__xmlele_any
end

#valueObject

Returns the value of attribute value.



15320
15321
15322
# File 'lib/eBay.rb', line 15320

def value
  @value
end

Instance Method Details

#set_any(elements) ⇒ Object



15323
15324
15325
# File 'lib/eBay.rb', line 15323

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_attributeIDObject



15327
15328
15329
# File 'lib/eBay.rb', line 15327

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

#xmlattr_attributeID=(value) ⇒ Object



15331
15332
15333
# File 'lib/eBay.rb', line 15331

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

#xmlattr_attributeLabelObject



15335
15336
15337
# File 'lib/eBay.rb', line 15335

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

#xmlattr_attributeLabel=(value) ⇒ Object



15339
15340
15341
# File 'lib/eBay.rb', line 15339

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