Class: LabelType
- Inherits:
-
Object
- Object
- LabelType
- 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
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name = nil) ⇒ LabelType
constructor
A new instance of LabelType.
- #set_any(elements) ⇒ Object
- #xmlattr_visible ⇒ Object
- #xmlattr_visible=(value) ⇒ Object
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_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
14549 14550 14551 |
# File 'lib/eBay.rb', line 14549 def __xmlele_any @__xmlele_any end |
#name ⇒ Object
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_visible ⇒ Object
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 |