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")]],
  ["galleryURL", ["SOAP::SOAPAnyURI", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "GalleryURL")]],
  ["pictureSource", ["PictureSourceCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PictureSource")]],
  ["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, galleryURL = nil, pictureSource = nil) ⇒ SiteHostedPictureType

Returns a new instance of SiteHostedPictureType.



22805
22806
22807
22808
22809
22810
22811
22812
# File 'lib/eBay.rb', line 22805

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



22799
22800
22801
# File 'lib/eBay.rb', line 22799

def __xmlele_any
  @__xmlele_any
end

#galleryTypeObject

Returns the value of attribute galleryType.



22796
22797
22798
# File 'lib/eBay.rb', line 22796

def galleryType
  @galleryType
end

#galleryURLObject

Returns the value of attribute galleryURL.



22797
22798
22799
# File 'lib/eBay.rb', line 22797

def galleryURL
  @galleryURL
end

#photoDisplayObject

Returns the value of attribute photoDisplay.



22795
22796
22797
# File 'lib/eBay.rb', line 22795

def photoDisplay
  @photoDisplay
end

#pictureSourceObject

Returns the value of attribute pictureSource.



22798
22799
22800
# File 'lib/eBay.rb', line 22798

def pictureSource
  @pictureSource
end

#pictureURLObject

Returns the value of attribute pictureURL.



22794
22795
22796
# File 'lib/eBay.rb', line 22794

def pictureURL
  @pictureURL
end

Instance Method Details

#set_any(elements) ⇒ Object



22801
22802
22803
# File 'lib/eBay.rb', line 22801

def set_any(elements)
  @__xmlele_any = elements
end