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.



17865
17866
17867
17868
17869
# File 'lib/eBay.rb', line 17865

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.



17859
17860
17861
# File 'lib/eBay.rb', line 17859

def __xmlele_any
  @__xmlele_any
end

#matchingItemCountObject

Returns the value of attribute matchingItemCount.



17857
17858
17859
# File 'lib/eBay.rb', line 17857

def matchingItemCount
  @matchingItemCount
end

#textObject

Returns the value of attribute text.



17858
17859
17860
# File 'lib/eBay.rb', line 17858

def text
  @text
end

Instance Method Details

#set_any(elements) ⇒ Object



17861
17862
17863
# File 'lib/eBay.rb', line 17861

def set_any(elements)
  @__xmlele_any = elements
end