Class: LabelType

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

Overview

urn:ebay:apis:eBLBaseComponentsLabelType

name - SOAP::SOAPString
xmlattr_visible - SOAP::SOAPBoolean

Constant Summary collapse

AttrVisible =
XSD::QName.new(nil, "visible")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil) ⇒ LabelType

Returns a new instance of LabelType.



20521
20522
20523
20524
20525
# File 'lib/eBay.rb', line 20521

def initialize(name = nil)
  @name = name
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20503
20504
20505
# File 'lib/eBay.rb', line 20503

def __xmlele_any
  @__xmlele_any
end

#nameObject

Returns the value of attribute name.



20502
20503
20504
# File 'lib/eBay.rb', line 20502

def name
  @name
end

Instance Method Details

#__xmlattrObject



20509
20510
20511
# File 'lib/eBay.rb', line 20509

def __xmlattr
  @__xmlattr ||= {}
end

#set_any(elements) ⇒ Object



20505
20506
20507
# File 'lib/eBay.rb', line 20505

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_visibleObject



20513
20514
20515
# File 'lib/eBay.rb', line 20513

def xmlattr_visible
  __xmlattr[AttrVisible]
end

#xmlattr_visible=(value) ⇒ Object



20517
20518
20519
# File 'lib/eBay.rb', line 20517

def xmlattr_visible=(value)
  __xmlattr[AttrVisible] = value
end