Class: Peddler::APIs::AplusContent20201101::StandardImageTextBlock

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.



735
736
737
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 735

def body
  @body
end

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

Returns the value of attribute headline.



736
737
738
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 736

def headline
  @headline
end

#imagePeddler::APIs::AplusContent20201101::ImageComponent? (readonly)

Returns the value of attribute image.



737
738
739
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 737

def image
  @image
end

Class Method Details

.[](body:, headline:, image:) ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextBlock .[](arg0, arg1, arg2) ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextBlock



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

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

.members[ :body, :headline, :image ]

Returns:

  • ([ :body, :headline, :image ])


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

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

.new(body:, headline:, image:) ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextBlock .new(arg0, arg1, arg2) ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextBlock



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

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

.parsePeddler::APIs::AplusContent20201101::StandardImageTextBlock

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :body, :headline, :image ]

Returns:

  • ([ :body, :headline, :image ])


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

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

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



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

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