Class: LabelType

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

Overview

urn:ebay:apis:eBLBaseComponentsLabelType

Constant Summary collapse

@@schema_type =
"LabelType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "visible") => "SOAP::SOAPBoolean"
}
@@schema_element =
[
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil) ⇒ LabelType

Returns a new instance of LabelType.



16455
16456
16457
16458
16459
# File 'lib/eBay.rb', line 16455

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16441
16442
16443
# File 'lib/eBay.rb', line 16441

def __xmlele_any
  @__xmlele_any
end

#nameObject

Returns the value of attribute name.



16440
16441
16442
# File 'lib/eBay.rb', line 16440

def name
  @name
end

Instance Method Details

#set_any(elements) ⇒ Object



16443
16444
16445
# File 'lib/eBay.rb', line 16443

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_visibleObject



16447
16448
16449
# File 'lib/eBay.rb', line 16447

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

#xmlattr_visible=(value) ⇒ Object



16451
16452
16453
# File 'lib/eBay.rb', line 16451

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