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

#bodyPeddler::APIs::AplusContent20201101::ParagraphComponent? (readonly)

Returns the value of attribute body.



898
899
900
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 898

def body
  @body
end

#headlinePeddler::APIs::AplusContent20201101::TextComponent? (readonly)

Returns the value of attribute headline.



899
900
901
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 899

def headline
  @headline
end

Class Method Details

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



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

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 ])


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

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

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



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

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

.parsePeddler::APIs::AplusContent20201101::StandardTextBlock

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :body, :headline ]

Returns:

  • ([ :body, :headline ])


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

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

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



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

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