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

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

Returns the value of attribute body.



931
932
933
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 931

def body
  @body
end

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

Returns the value of attribute headline.



932
933
934
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 932

def headline
  @headline
end

Class Method Details

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



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

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


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

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

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



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

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

.parsePeddler::APIs::AplusContent20201101::StandardTextModule

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :body, :headline ]

Returns:

  • ([ :body, :headline ])


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

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

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



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

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