Class: EBay::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.



24938
24939
24940
24941
24942
# File 'lib/eBay.rb', line 24938

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



24912
24913
24914
# File 'lib/eBay.rb', line 24912

def __xmlele_any
  @__xmlele_any
end

#countObject

Returns the value of attribute count.



24911
24912
24913
# File 'lib/eBay.rb', line 24911

def count
  @count
end

Instance Method Details

#__xmlattrObject



24918
24919
24920
# File 'lib/eBay.rb', line 24918

def __xmlattr
  @__xmlattr ||= {}
end

#set_any(elements) ⇒ Object



24914
24915
24916
# File 'lib/eBay.rb', line 24914

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_idObject



24922
24923
24924
# File 'lib/eBay.rb', line 24922

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



24926
24927
24928
# File 'lib/eBay.rb', line 24926

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

#xmlattr_nameObject



24930
24931
24932
# File 'lib/eBay.rb', line 24930

def xmlattr_name
  __xmlattr[AttrName]
end

#xmlattr_name=(value) ⇒ Object



24934
24935
24936
# File 'lib/eBay.rb', line 24934

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