Class: Peddler::APIs::AplusContent20201101::StandardTextBlock

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.



1991
1992
1993
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1991

def body
  @body
end

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

Returns the value of attribute headline.



1992
1993
1994
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1992

def headline
  @headline
end

Class Method Details

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



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

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

.members ⇒ [ :body, :headline ]

Returns:

  • ([ :body, :headline ])


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

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

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



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

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

.parse ⇒ Peddler::APIs::AplusContent20201101::StandardTextBlock

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :body, :headline ]

Returns:

  • ([ :body, :headline ])


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

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

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



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

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