Class: HistogramEntryType

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

Overview

urn:ebay:apis:eBLBaseComponentsHistogramEntryType

count - SOAP::SOAPInt
xmlattr_id - SOAP::SOAPString
xmlattr_name - SOAP::SOAPString

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrName =
XSD::QName.new(nil, "name")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil) ⇒ HistogramEntryType

Returns a new instance of HistogramEntryType.



19869
19870
19871
19872
19873
# File 'lib/eBay.rb', line 19869

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



19843
19844
19845
# File 'lib/eBay.rb', line 19843

def __xmlele_any
  @__xmlele_any
end

#countObject

Returns the value of attribute count.



19842
19843
19844
# File 'lib/eBay.rb', line 19842

def count
  @count
end

Instance Method Details

#__xmlattrObject



19849
19850
19851
# File 'lib/eBay.rb', line 19849

def __xmlattr
  @__xmlattr ||= {}
end

#set_any(elements) ⇒ Object



19845
19846
19847
# File 'lib/eBay.rb', line 19845

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_idObject



19853
19854
19855
# File 'lib/eBay.rb', line 19853

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



19857
19858
19859
# File 'lib/eBay.rb', line 19857

def xmlattr_id=(value)
  __xmlattr[AttrId] = value
end

#xmlattr_nameObject



19861
19862
19863
# File 'lib/eBay.rb', line 19861

def xmlattr_name
  __xmlattr[AttrName]
end

#xmlattr_name=(value) ⇒ Object



19865
19866
19867
# File 'lib/eBay.rb', line 19865

def xmlattr_name=(value)
  __xmlattr[AttrName] = value
end