Class: Peddler::APIs::AplusContent20201101::StandardComparisonProductBlock

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

#asin ⇒ String? (readonly)

Returns the value of attribute asin.

Returns:

  • (String, nil)


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.

Returns:

  • (Boolean, nil)


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.

Returns:

  • (Integer)


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.

Returns:

  • (String, nil)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

Parameters:

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

Returns:



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

Returns:

  • (Boolean)


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

def highlight?: () -> bool

#members ⇒ [ :position, :asin, :highlight, :image, :metrics, :title ]

Returns:

  • ([ :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? }

Returns:



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? }