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.
697 698 699 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 697 def caption @caption end |
#image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent? (readonly)
Returns the value of attribute image.
698 699 700 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 698 def image @image end |
Class Method Details
.[](caption:, image:) ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock .[](arg0, arg1) ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
690 691 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 690
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 ]
693 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 693
def self.members: () -> [ :caption, :image ]
|
.new(caption:, image:) ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock .new(arg0, arg1) ⇒ Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
688 689 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 688
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
695 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 695
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AplusContent20201101::StandardImageCaptionBlock
|
Instance Method Details
#members ⇒ [ :caption, :image ]
700 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 700
def members: () -> [ :caption, :image ]
|
#to_h ⇒ { caption: Peddler::APIs::AplusContent20201101::TextComponent?, image: Peddler::APIs::AplusContent20201101::ImageComponent? }
701 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 701
def to_h: () -> { caption: Peddler::APIs::AplusContent20201101::TextComponent?, image: Peddler::APIs::AplusContent20201101::ImageComponent? }
|