Class: Peddler::APIs::AplusContent20201101::StandardTextModule

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 ⇒ Peddler::APIs::AplusContent20201101::ParagraphComponent (readonly)

Returns the value of attribute body.



2024
2025
2026
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 2024

def body
  @body
end

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

Returns the value of attribute headline.



2025
2026
2027
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 2025

def headline
  @headline
end

Class Method Details

.[](body:, headline:) ⇒ Peddler::APIs::AplusContent20201101::StandardTextModule .[](arg0, arg1) ⇒ Peddler::APIs::AplusContent20201101::StandardTextModule



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

def self.[]: (body: Peddler::APIs::AplusContent20201101::ParagraphComponent, ?headline: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::StandardTextModule
| (Peddler::APIs::AplusContent20201101::ParagraphComponent, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::StandardTextModule

.members ⇒ [ :body, :headline ]

Returns:

  • ([ :body, :headline ])


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

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

.new(body:, headline:) ⇒ Peddler::APIs::AplusContent20201101::StandardTextModule .new(arg0, arg1) ⇒ Peddler::APIs::AplusContent20201101::StandardTextModule



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

def self.new: (body: Peddler::APIs::AplusContent20201101::ParagraphComponent, ?headline: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::StandardTextModule
| (Peddler::APIs::AplusContent20201101::ParagraphComponent, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::StandardTextModule

.parse ⇒ Peddler::APIs::AplusContent20201101::StandardTextModule

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :body, :headline ]

Returns:

  • ([ :body, :headline ])


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

def members: () -> [ :body, :headline ]

#to_h ⇒ { body: Peddler::APIs::AplusContent20201101::ParagraphComponent, headline: Peddler::APIs::AplusContent20201101::TextComponent? }



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

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