Class: SiteHostedPictureType

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

Overview

urn:ebay:apis:eBLBaseComponentsSiteHostedPictureType

Constant Summary collapse

@@schema_type =
"SiteHostedPictureType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["pictureURL", ["SOAP::SOAPAnyURI[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PictureURL")]],
  ["photoDisplay", ["PhotoDisplayCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PhotoDisplay")]],
  ["galleryType", ["GalleryTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "GalleryType")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pictureURL = [], photoDisplay = nil, galleryType = nil) ⇒ SiteHostedPictureType

Returns a new instance of SiteHostedPictureType.



20203
20204
20205
20206
20207
20208
# File 'lib/eBay.rb', line 20203

def initialize(pictureURL = [], photoDisplay = nil, galleryType = nil)
  @pictureURL = pictureURL
  @photoDisplay = photoDisplay
  @galleryType = galleryType
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20197
20198
20199
# File 'lib/eBay.rb', line 20197

def __xmlele_any
  @__xmlele_any
end

#galleryTypeObject

Returns the value of attribute galleryType.



20196
20197
20198
# File 'lib/eBay.rb', line 20196

def galleryType
  @galleryType
end

#photoDisplayObject

Returns the value of attribute photoDisplay.



20195
20196
20197
# File 'lib/eBay.rb', line 20195

def photoDisplay
  @photoDisplay
end

#pictureURLObject

Returns the value of attribute pictureURL.



20194
20195
20196
# File 'lib/eBay.rb', line 20194

def pictureURL
  @pictureURL
end

Instance Method Details

#set_any(elements) ⇒ Object



20199
20200
20201
# File 'lib/eBay.rb', line 20199

def set_any(elements)
  @__xmlele_any = elements
end