Class: Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
- Defined in:
- sig/peddler/apis/aplus_content_2020_11_01.rbs
Instance Attribute Summary collapse
-
#asin ⇒ String?
readonly
Returns the value of attribute asin.
-
#highlight ⇒ Boolean?
readonly
Returns the value of attribute highlight.
-
#image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent?
readonly
Returns the value of attribute image.
-
#metrics ⇒ Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?
readonly
Returns the value of attribute metrics.
-
#position ⇒ Integer
readonly
Returns the value of attribute position.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :position, :asin, :highlight, :image, :metrics, :title ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
Instance Method Summary collapse
-
#highlight? ⇒ Boolean
-
#members ⇒ [ :position, :asin, :highlight, :image, :metrics, :title ]
-
#to_h ⇒ { position: Integer, asin: String?, highlight: bool?, image: Peddler::APIs::AplusContent20201101::ImageComponent?, metrics: Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?, title: String? }
Instance Attribute Details
#asin ⇒ String? (readonly)
Returns the value of attribute asin.
585 586 587 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 585 def asin @asin end |
#highlight ⇒ Boolean? (readonly)
Returns the value of attribute highlight.
586 587 588 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 586 def highlight @highlight end |
#image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent? (readonly)
Returns the value of attribute image.
587 588 589 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 587 def image @image end |
#metrics ⇒ Array[Peddler::APIs::AplusContent20201101::PlainTextItem]? (readonly)
Returns the value of attribute metrics.
588 589 590 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 588 def metrics @metrics end |
#position ⇒ Integer (readonly)
Returns the value of attribute position.
589 590 591 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 589 def position @position end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
590 591 592 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 590 def title @title end |
Class Method Details
.[](position:, asin:, highlight:, image:, metrics:, title:) ⇒ Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
578 579 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 578
def self.[]: (position: Integer, ?asin: String?, ?highlight: bool?, ?image: Peddler::APIs::AplusContent20201101::ImageComponent?, ?metrics: Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?, ?title: String?) -> Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
| (Integer, String?, bool?, Peddler::APIs::AplusContent20201101::ImageComponent?, Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?, String?) -> Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
|
.members ⇒ [ :position, :asin, :highlight, :image, :metrics, :title ]
581 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 581
def self.members: () -> [ :position, :asin, :highlight, :image, :metrics, :title ]
|
.new(position:, asin:, highlight:, image:, metrics:, title:) ⇒ Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
576 577 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 576
def self.new: (position: Integer, ?asin: String?, ?highlight: bool?, ?image: Peddler::APIs::AplusContent20201101::ImageComponent?, ?metrics: Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?, ?title: String?) -> Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
| (Integer, String?, bool?, Peddler::APIs::AplusContent20201101::ImageComponent?, Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?, String?) -> Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
|
.parse ⇒ Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
583 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 583
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
|
Instance Method Details
#highlight? ⇒ Boolean
592 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 592
def highlight?: () -> bool
|
#members ⇒ [ :position, :asin, :highlight, :image, :metrics, :title ]
593 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 593
def members: () -> [ :position, :asin, :highlight, :image, :metrics, :title ]
|
#to_h ⇒ { position: Integer, asin: String?, highlight: bool?, image: Peddler::APIs::AplusContent20201101::ImageComponent?, metrics: Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?, title: String? }
594 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 594
def to_h: () -> { position: Integer, asin: String?, highlight: bool?, image: Peddler::APIs::AplusContent20201101::ImageComponent?, metrics: Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?, title: String? }
|