Class: PictureDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsPictureDetailsType

Constant Summary collapse

@@schema_type =
"PictureDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["galleryType", ["GalleryTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "GalleryType")]],
  ["galleryURL", ["SOAP::SOAPAnyURI", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "GalleryURL")]],
  ["photoDisplay", ["PhotoDisplayCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PhotoDisplay")]],
  ["pictureURL", ["SOAP::SOAPAnyURI[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PictureURL")]],
  ["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(galleryType = nil, galleryURL = nil, photoDisplay = nil, pictureURL = [], pictureSource = nil) ⇒ PictureDetailsType

Returns a new instance of PictureDetailsType.



20636
20637
20638
20639
20640
20641
20642
20643
# File 'lib/eBay.rb', line 20636

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20630
20631
20632
# File 'lib/eBay.rb', line 20630

def __xmlele_any
  @__xmlele_any
end

#galleryTypeObject

Returns the value of attribute galleryType.



20625
20626
20627
# File 'lib/eBay.rb', line 20625

def galleryType
  @galleryType
end

#galleryURLObject

Returns the value of attribute galleryURL.



20626
20627
20628
# File 'lib/eBay.rb', line 20626

def galleryURL
  @galleryURL
end

#photoDisplayObject

Returns the value of attribute photoDisplay.



20627
20628
20629
# File 'lib/eBay.rb', line 20627

def photoDisplay
  @photoDisplay
end

#pictureSourceObject

Returns the value of attribute pictureSource.



20629
20630
20631
# File 'lib/eBay.rb', line 20629

def pictureSource
  @pictureSource
end

#pictureURLObject

Returns the value of attribute pictureURL.



20628
20629
20630
# File 'lib/eBay.rb', line 20628

def pictureURL
  @pictureURL
end

Instance Method Details

#set_any(elements) ⇒ Object



20632
20633
20634
# File 'lib/eBay.rb', line 20632

def set_any(elements)
  @__xmlele_any = elements
end