Class: Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule

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

Returns the value of attribute footer.



1274
1275
1276
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1274

def footer
  @footer
end

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

Returns the value of attribute headline.



1275
1276
1277
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1275

def headline
  @headline
end

#hero_video ⇒ Peddler::APIs::AplusContent20201101::VideoComponent (readonly)

Returns the value of attribute hero_video.



1276
1277
1278
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1276

def hero_video
  @hero_video
end

Class Method Details

.[](hero_video:, footer:, headline:) ⇒ Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule .[](arg0, arg1, arg2) ⇒ Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule



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

def self.[]: (hero_video: Peddler::APIs::AplusContent20201101::VideoComponent, ?footer: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?headline: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule
| (Peddler::APIs::AplusContent20201101::VideoComponent, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule

.members ⇒ [ :hero_video, :footer, :headline ]

Returns:

  • ([ :hero_video, :footer, :headline ])


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

def self.members: () -> [ :hero_video, :footer, :headline ]

.new(hero_video:, footer:, headline:) ⇒ Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule .new(arg0, arg1, arg2) ⇒ Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule



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

def self.new: (hero_video: Peddler::APIs::AplusContent20201101::VideoComponent, ?footer: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?headline: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule
| (Peddler::APIs::AplusContent20201101::VideoComponent, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule

.parse ⇒ Peddler::APIs::AplusContent20201101::PremiumHeroVideoModule

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :hero_video, :footer, :headline ]

Returns:

  • ([ :hero_video, :footer, :headline ])


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

def members: () -> [ :hero_video, :footer, :headline ]

#to_h ⇒ { hero_video: Peddler::APIs::AplusContent20201101::VideoComponent, footer: Peddler::APIs::AplusContent20201101::ParagraphComponent?, headline: Peddler::APIs::AplusContent20201101::TextComponent? }



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

def to_h: () -> { hero_video: Peddler::APIs::AplusContent20201101::VideoComponent, footer: Peddler::APIs::AplusContent20201101::ParagraphComponent?, headline: Peddler::APIs::AplusContent20201101::TextComponent? }