Class: Peddler::APIs::AplusContent20201101::ImageCarouselPanel

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/aplus_content_2020_11_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#asin ⇒ Peddler::APIs::AplusContent20201101::TextComponent? (readonly)

Returns the value of attribute asin.



617
618
619
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 617

def asin
  @asin
end

#button_text ⇒ Peddler::APIs::AplusContent20201101::TextComponent? (readonly)

Returns the value of attribute button_text.



618
619
620
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 618

def button_text
  @button_text
end

#description ⇒ Peddler::APIs::AplusContent20201101::ParagraphComponent? (readonly)

Returns the value of attribute description.



619
620
621
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 619

def description
  @description
end

#desktop_image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent (readonly)

Returns the value of attribute desktop_image.



620
621
622
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 620

def desktop_image
  @desktop_image
end

#mobile_image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent (readonly)

Returns the value of attribute mobile_image.



621
622
623
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 621

def mobile_image
  @mobile_image
end

#position ⇒ Integer (readonly)

Returns the value of attribute position.

Returns:

  • (Integer)


622
623
624
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 622

def position
  @position
end

#title ⇒ Peddler::APIs::AplusContent20201101::TextComponent? (readonly)

Returns the value of attribute title.



623
624
625
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 623

def title
  @title
end

Class Method Details

.[](desktop_image:, mobile_image:, position:, asin:, button_text:, description:, title:) ⇒ Peddler::APIs::AplusContent20201101::ImageCarouselPanel .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::AplusContent20201101::ImageCarouselPanel



610
611
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 610

def self.[]: (desktop_image: Peddler::APIs::AplusContent20201101::ImageComponent, mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, position: Integer, ?asin: Peddler::APIs::AplusContent20201101::TextComponent?, ?button_text: Peddler::APIs::AplusContent20201101::TextComponent?, ?description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?title: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::ImageCarouselPanel
| (Peddler::APIs::AplusContent20201101::ImageComponent, Peddler::APIs::AplusContent20201101::ImageComponent, Integer, Peddler::APIs::AplusContent20201101::TextComponent?, Peddler::APIs::AplusContent20201101::TextComponent?, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::ImageCarouselPanel

.members ⇒ [ :desktop_image, :mobile_image, :position, :asin, :button_text, :description, :title ]

Returns:

  • ([ :desktop_image, :mobile_image, :position, :asin, :button_text, :description, :title ])


613
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 613

def self.members: () -> [ :desktop_image, :mobile_image, :position, :asin, :button_text, :description, :title ]

.new(desktop_image:, mobile_image:, position:, asin:, button_text:, description:, title:) ⇒ Peddler::APIs::AplusContent20201101::ImageCarouselPanel .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::AplusContent20201101::ImageCarouselPanel



608
609
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 608

def self.new: (desktop_image: Peddler::APIs::AplusContent20201101::ImageComponent, mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, position: Integer, ?asin: Peddler::APIs::AplusContent20201101::TextComponent?, ?button_text: Peddler::APIs::AplusContent20201101::TextComponent?, ?description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?title: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::ImageCarouselPanel
| (Peddler::APIs::AplusContent20201101::ImageComponent, Peddler::APIs::AplusContent20201101::ImageComponent, Integer, Peddler::APIs::AplusContent20201101::TextComponent?, Peddler::APIs::AplusContent20201101::TextComponent?, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::ImageCarouselPanel

.parse ⇒ Peddler::APIs::AplusContent20201101::ImageCarouselPanel

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



615
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 615

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AplusContent20201101::ImageCarouselPanel

Instance Method Details

#members ⇒ [ :desktop_image, :mobile_image, :position, :asin, :button_text, :description, :title ]

Returns:

  • ([ :desktop_image, :mobile_image, :position, :asin, :button_text, :description, :title ])


625
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 625

def members: () -> [ :desktop_image, :mobile_image, :position, :asin, :button_text, :description, :title ]

#to_h ⇒ { desktop_image: Peddler::APIs::AplusContent20201101::ImageComponent, mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, position: Integer, asin: Peddler::APIs::AplusContent20201101::TextComponent?, button_text: Peddler::APIs::AplusContent20201101::TextComponent?, description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, title: Peddler::APIs::AplusContent20201101::TextComponent? }



626
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 626

def to_h: () -> { desktop_image: Peddler::APIs::AplusContent20201101::ImageComponent, mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, position: Integer, asin: Peddler::APIs::AplusContent20201101::TextComponent?, button_text: Peddler::APIs::AplusContent20201101::TextComponent?, description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, title: Peddler::APIs::AplusContent20201101::TextComponent? }