Class: Peddler::APIs::AplusContent20201101::PremiumVideoTextModule

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

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

Returns the value of attribute description.



1469
1470
1471
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1469

def description
  @description
end

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

Returns the value of attribute headline.



1470
1471
1472
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1470

def headline
  @headline
end

#position_type ⇒ String (readonly)

Returns the value of attribute position_type.

Returns:

  • (String)


1471
1472
1473
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1471

def position_type
  @position_type
end

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

Returns the value of attribute title.



1472
1473
1474
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1472

def title
  @title
end

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

Returns the value of attribute video.



1473
1474
1475
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1473

def video
  @video
end

Class Method Details

.[](headline:, position_type:, video:, description:, title:) ⇒ Peddler::APIs::AplusContent20201101::PremiumVideoTextModule .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::AplusContent20201101::PremiumVideoTextModule



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

def self.[]: (headline: Peddler::APIs::AplusContent20201101::TextComponent, position_type: String, video: Peddler::APIs::AplusContent20201101::VideoComponent, ?description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?title: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumVideoTextModule
| (Peddler::APIs::AplusContent20201101::TextComponent, String, Peddler::APIs::AplusContent20201101::VideoComponent, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumVideoTextModule

.members ⇒ [ :headline, :position_type, :video, :description, :title ]

Returns:

  • ([ :headline, :position_type, :video, :description, :title ])


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

def self.members: () -> [ :headline, :position_type, :video, :description, :title ]

.new(headline:, position_type:, video:, description:, title:) ⇒ Peddler::APIs::AplusContent20201101::PremiumVideoTextModule .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::AplusContent20201101::PremiumVideoTextModule



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

def self.new: (headline: Peddler::APIs::AplusContent20201101::TextComponent, position_type: String, video: Peddler::APIs::AplusContent20201101::VideoComponent, ?description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?title: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumVideoTextModule
| (Peddler::APIs::AplusContent20201101::TextComponent, String, Peddler::APIs::AplusContent20201101::VideoComponent, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumVideoTextModule

.parse ⇒ Peddler::APIs::AplusContent20201101::PremiumVideoTextModule

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :headline, :position_type, :video, :description, :title ]

Returns:

  • ([ :headline, :position_type, :video, :description, :title ])


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

def members: () -> [ :headline, :position_type, :video, :description, :title ]

#to_h ⇒ { headline: Peddler::APIs::AplusContent20201101::TextComponent, position_type: String, video: Peddler::APIs::AplusContent20201101::VideoComponent, description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, title: Peddler::APIs::AplusContent20201101::TextComponent? }



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

def to_h: () -> { headline: Peddler::APIs::AplusContent20201101::TextComponent, position_type: String, video: Peddler::APIs::AplusContent20201101::VideoComponent, description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, title: Peddler::APIs::AplusContent20201101::TextComponent? }