Class: Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
- Defined in:
- sig/peddler/apis/aplus_content_2020_11_01.rbs
Instance Attribute Summary collapse
-
#caption ⇒ Peddler::APIs::AplusContent20201101::TextComponent?
readonly
Returns the value of attribute caption.
-
#image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent?
readonly
Returns the value of attribute image.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :caption, :image ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
Instance Method Summary collapse
-
#members ⇒ [ :caption, :image ]
-
#to_h ⇒ { caption: Peddler::APIs::AplusContent20201101::TextComponent?, image: Peddler::APIs::AplusContent20201101::ImageComponent? }
Instance Attribute Details
#caption ⇒ Peddler::APIs::AplusContent20201101::TextComponent? (readonly)
Returns the value of attribute caption.
1790 1791 1792 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1790 def caption @caption end |
#image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent? (readonly)
Returns the value of attribute image.
1791 1792 1793 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1791 def image @image end |
Class Method Details
.[](caption:, image:) ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock .[](arg0, arg1) ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
1783 1784 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1783
def self.[]: (?caption: Peddler::APIs::AplusContent20201101::TextComponent?, ?image: Peddler::APIs::AplusContent20201101::ImageComponent?) -> Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
| (Peddler::APIs::AplusContent20201101::TextComponent?, Peddler::APIs::AplusContent20201101::ImageComponent?) -> Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
|
.members ⇒ [ :caption, :image ]
1786 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1786
def self.members: () -> [ :caption, :image ]
|
.new(caption:, image:) ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock .new(arg0, arg1) ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
1781 1782 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1781
def self.new: (?caption: Peddler::APIs::AplusContent20201101::TextComponent?, ?image: Peddler::APIs::AplusContent20201101::ImageComponent?) -> Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
| (Peddler::APIs::AplusContent20201101::TextComponent?, Peddler::APIs::AplusContent20201101::ImageComponent?) -> Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
|
.parse ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
1788 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1788
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
|
Instance Method Details
#members ⇒ [ :caption, :image ]
1793 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1793
def members: () -> [ :caption, :image ]
|
#to_h ⇒ { caption: Peddler::APIs::AplusContent20201101::TextComponent?, image: Peddler::APIs::AplusContent20201101::ImageComponent? }
1794 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1794
def to_h: () -> { caption: Peddler::APIs::AplusContent20201101::TextComponent?, image: Peddler::APIs::AplusContent20201101::ImageComponent? }
|