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.



12246
12247
12248
12249
12250
# File 'lib/eBay.rb', line 12246

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



12224
12225
12226
# File 'lib/eBay.rb', line 12224

def __xmlele_any
  @__xmlele_any
end

#valueObject

Returns the value of attribute value.



12223
12224
12225
# File 'lib/eBay.rb', line 12223

def value
  @value
end

Instance Method Details

#set_any(elements) ⇒ Object



12226
12227
12228
# File 'lib/eBay.rb', line 12226

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_attributeIDObject



12230
12231
12232
# File 'lib/eBay.rb', line 12230

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

#xmlattr_attributeID=(value) ⇒ Object



12234
12235
12236
# File 'lib/eBay.rb', line 12234

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

#xmlattr_attributeLabelObject



12238
12239
12240
# File 'lib/eBay.rb', line 12238

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

#xmlattr_attributeLabel=(value) ⇒ Object



12242
12243
12244
# File 'lib/eBay.rb', line 12242

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