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.
1678 1679 1680 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1678 def asin @asin end |
#highlight ⇒ Boolean? (readonly)
Returns the value of attribute highlight.
1679 1680 1681 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1679 def highlight @highlight end |
#image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent? (readonly)
Returns the value of attribute image.
1680 1681 1682 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1680 def image @image end |
#metrics ⇒ Array[Peddler::APIs::AplusContent20201101::PlainTextItem]? (readonly)
Returns the value of attribute metrics.
1681 1682 1683 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1681 def metrics @metrics end |
#position ⇒ Integer (readonly)
Returns the value of attribute position.
1682 1683 1684 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1682 def position @position end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
1683 1684 1685 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1683 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
1671 1672 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1671
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 ]
1674 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1674
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
1669 1670 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1669
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
1676 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1676
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock
|
Instance Method Details
#highlight? ⇒ Boolean
1685 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1685
def highlight?: () -> bool
|
#members ⇒ [ :position, :asin, :highlight, :image, :metrics, :title ]
1686 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1686
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? }
1687 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1687
def to_h: () -> { position: Integer, asin: String?, highlight: bool?, image: Peddler::APIs::AplusContent20201101::ImageComponent?, metrics: Array[Peddler::APIs::AplusContent20201101::PlainTextItem]?, title: String? }
|