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.



14563
14564
14565
14566
14567
# File 'lib/eBay.rb', line 14563

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



14549
14550
14551
# File 'lib/eBay.rb', line 14549

def __xmlele_any
  @__xmlele_any
end

#nameObject

Returns the value of attribute name.



14548
14549
14550
# File 'lib/eBay.rb', line 14548

def name
  @name
end

Instance Method Details

#set_any(elements) ⇒ Object



14551
14552
14553
# File 'lib/eBay.rb', line 14551

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_visibleObject



14555
14556
14557
# File 'lib/eBay.rb', line 14555

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

#xmlattr_visible=(value) ⇒ Object



14559
14560
14561
# File 'lib/eBay.rb', line 14559

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