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.



18681
18682
18683
18684
18685
# File 'lib/eBay.rb', line 18681

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



18667
18668
18669
# File 'lib/eBay.rb', line 18667

def __xmlele_any
  @__xmlele_any
end

#nameObject

Returns the value of attribute name.



18666
18667
18668
# File 'lib/eBay.rb', line 18666

def name
  @name
end

Instance Method Details

#set_any(elements) ⇒ Object



18669
18670
18671
# File 'lib/eBay.rb', line 18669

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_visibleObject



18673
18674
18675
# File 'lib/eBay.rb', line 18673

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

#xmlattr_visible=(value) ⇒ Object



18677
18678
18679
# File 'lib/eBay.rb', line 18677

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