Class: SpellingSuggestionType

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

Overview

urn:ebay:apis:eBLBaseComponentsSpellingSuggestionType

Constant Summary collapse

@@schema_type =
"SpellingSuggestionType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["matchingItemCount", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MatchingItemCount")]],
  ["text", ["SOAP::SOAPString[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Text")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(matchingItemCount = nil, text = []) ⇒ SpellingSuggestionType

Returns a new instance of SpellingSuggestionType.



20276
20277
20278
20279
20280
# File 'lib/eBay.rb', line 20276

def initialize(matchingItemCount = nil, text = [])
  @matchingItemCount = matchingItemCount
  @text = text
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20270
20271
20272
# File 'lib/eBay.rb', line 20270

def __xmlele_any
  @__xmlele_any
end

#matchingItemCountObject

Returns the value of attribute matchingItemCount.



20268
20269
20270
# File 'lib/eBay.rb', line 20268

def matchingItemCount
  @matchingItemCount
end

#textObject

Returns the value of attribute text.



20269
20270
20271
# File 'lib/eBay.rb', line 20269

def text
  @text
end

Instance Method Details

#set_any(elements) ⇒ Object



20272
20273
20274
# File 'lib/eBay.rb', line 20272

def set_any(elements)
  @__xmlele_any = elements
end