Class: Peddler::APIs::AplusContent20201101::PremiumImageTextModule

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

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

Returns the value of attribute body_text.



1346
1347
1348
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1346

def body_text
  @body_text
end

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

Returns the value of attribute headline.



1347
1348
1349
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1347

def headline
  @headline
end

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

Returns the value of attribute image.



1348
1349
1350
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1348

def image
  @image
end

#position_type ⇒ String (readonly)

Returns the value of attribute position_type.

Returns:

  • (String)


1349
1350
1351
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1349

def position_type
  @position_type
end

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

Returns the value of attribute subheadline.



1350
1351
1352
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1350

def subheadline
  @subheadline
end

Class Method Details

.[](headline:, image:, position_type:, body_text:, subheadline:) ⇒ Peddler::APIs::AplusContent20201101::PremiumImageTextModule .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::AplusContent20201101::PremiumImageTextModule



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

def self.[]: (headline: Peddler::APIs::AplusContent20201101::TextComponent, image: Peddler::APIs::AplusContent20201101::ImageComponent, position_type: String, ?body_text: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?subheadline: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumImageTextModule
| (Peddler::APIs::AplusContent20201101::TextComponent, Peddler::APIs::AplusContent20201101::ImageComponent, String, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumImageTextModule

.members ⇒ [ :headline, :image, :position_type, :body_text, :subheadline ]

Returns:

  • ([ :headline, :image, :position_type, :body_text, :subheadline ])


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

def self.members: () -> [ :headline, :image, :position_type, :body_text, :subheadline ]

.new(headline:, image:, position_type:, body_text:, subheadline:) ⇒ Peddler::APIs::AplusContent20201101::PremiumImageTextModule .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::AplusContent20201101::PremiumImageTextModule



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

def self.new: (headline: Peddler::APIs::AplusContent20201101::TextComponent, image: Peddler::APIs::AplusContent20201101::ImageComponent, position_type: String, ?body_text: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?subheadline: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumImageTextModule
| (Peddler::APIs::AplusContent20201101::TextComponent, Peddler::APIs::AplusContent20201101::ImageComponent, String, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumImageTextModule

.parse ⇒ Peddler::APIs::AplusContent20201101::PremiumImageTextModule

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :headline, :image, :position_type, :body_text, :subheadline ]

Returns:

  • ([ :headline, :image, :position_type, :body_text, :subheadline ])


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

def members: () -> [ :headline, :image, :position_type, :body_text, :subheadline ]

#to_h ⇒ { headline: Peddler::APIs::AplusContent20201101::TextComponent, image: Peddler::APIs::AplusContent20201101::ImageComponent, position_type: String, body_text: Peddler::APIs::AplusContent20201101::ParagraphComponent?, subheadline: Peddler::APIs::AplusContent20201101::TextComponent? }



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

def to_h: () -> { headline: Peddler::APIs::AplusContent20201101::TextComponent, image: Peddler::APIs::AplusContent20201101::ImageComponent, position_type: String, body_text: Peddler::APIs::AplusContent20201101::ParagraphComponent?, subheadline: Peddler::APIs::AplusContent20201101::TextComponent? }