Class: DescriptionTemplateType

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

Overview

urn:ebay:apis:eBLBaseComponentsDescriptionTemplateType

Constant Summary collapse

@@schema_type =
"DescriptionTemplateType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["groupID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "GroupID")]],
  ["iD", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ID")]],
  ["imageURL", ["SOAP::SOAPAnyURI", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ImageURL")]],
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["templateXML", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TemplateXML")]],
  ["type", ["DescriptionTemplateCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Type")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupID = nil, iD = nil, imageURL = nil, name = nil, templateXML = nil, type = nil) ⇒ DescriptionTemplateType

Returns a new instance of DescriptionTemplateType.



16841
16842
16843
16844
16845
16846
16847
16848
16849
# File 'lib/eBay.rb', line 16841

def initialize(groupID = nil, iD = nil, imageURL = nil, name = nil, templateXML = nil, type = nil)
  @groupID = groupID
  @iD = iD
  @imageURL = imageURL
  @name = name
  @templateXML = templateXML
  @type = type
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16835
16836
16837
# File 'lib/eBay.rb', line 16835

def __xmlele_any
  @__xmlele_any
end

#groupIDObject

Returns the value of attribute groupID.



16829
16830
16831
# File 'lib/eBay.rb', line 16829

def groupID
  @groupID
end

#iDObject

Returns the value of attribute iD.



16830
16831
16832
# File 'lib/eBay.rb', line 16830

def iD
  @iD
end

#imageURLObject

Returns the value of attribute imageURL.



16831
16832
16833
# File 'lib/eBay.rb', line 16831

def imageURL
  @imageURL
end

#nameObject

Returns the value of attribute name.



16832
16833
16834
# File 'lib/eBay.rb', line 16832

def name
  @name
end

#templateXMLObject

Returns the value of attribute templateXML.



16833
16834
16835
# File 'lib/eBay.rb', line 16833

def templateXML
  @templateXML
end

#typeObject

Returns the value of attribute type.



16834
16835
16836
# File 'lib/eBay.rb', line 16834

def type
  @type
end

Instance Method Details

#set_any(elements) ⇒ Object



16837
16838
16839
# File 'lib/eBay.rb', line 16837

def set_any(elements)
  @__xmlele_any = elements
end