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.



13689
13690
13691
13692
13693
# File 'lib/eBay.rb', line 13689

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



13667
13668
13669
# File 'lib/eBay.rb', line 13667

def __xmlele_any
  @__xmlele_any
end

#valueObject

Returns the value of attribute value.



13666
13667
13668
# File 'lib/eBay.rb', line 13666

def value
  @value
end

Instance Method Details

#set_any(elements) ⇒ Object



13669
13670
13671
# File 'lib/eBay.rb', line 13669

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_attributeIDObject



13673
13674
13675
# File 'lib/eBay.rb', line 13673

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

#xmlattr_attributeID=(value) ⇒ Object



13677
13678
13679
# File 'lib/eBay.rb', line 13677

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

#xmlattr_attributeLabelObject



13681
13682
13683
# File 'lib/eBay.rb', line 13681

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

#xmlattr_attributeLabel=(value) ⇒ Object



13685
13686
13687
# File 'lib/eBay.rb', line 13685

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