Class: Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/customer_feedback_2024_06_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#occurrence_percentagePeddler::APIs::CustomerFeedback20240601::BrowseNodeOccurrence? (readonly)

Returns the value of attribute occurrence_percentage.



487
488
489
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 487

def occurrence_percentage
  @occurrence_percentage
end

#star_rating_impactPeddler::APIs::CustomerFeedback20240601::BrowseNodeStarRatingImpact? (readonly)

Returns the value of attribute star_rating_impact.



488
489
490
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 488

def star_rating_impact
  @star_rating_impact
end

Class Method Details

.[](occurrence_percentage:, star_rating_impact:) ⇒ Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics .[](arg0, arg1) ⇒ Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics



480
481
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 480

def self.[]: (?occurrence_percentage: Peddler::APIs::CustomerFeedback20240601::BrowseNodeOccurrence?, ?star_rating_impact: Peddler::APIs::CustomerFeedback20240601::BrowseNodeStarRatingImpact?) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics
| (Peddler::APIs::CustomerFeedback20240601::BrowseNodeOccurrence?, Peddler::APIs::CustomerFeedback20240601::BrowseNodeStarRatingImpact?) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics

.members[ :occurrence_percentage, :star_rating_impact ]

Returns:

  • ([ :occurrence_percentage, :star_rating_impact ])


483
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 483

def self.members: () -> [ :occurrence_percentage, :star_rating_impact ]

.new(occurrence_percentage:, star_rating_impact:) ⇒ Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics .new(arg0, arg1) ⇒ Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics



478
479
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 478

def self.new: (?occurrence_percentage: Peddler::APIs::CustomerFeedback20240601::BrowseNodeOccurrence?, ?star_rating_impact: Peddler::APIs::CustomerFeedback20240601::BrowseNodeStarRatingImpact?) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics
| (Peddler::APIs::CustomerFeedback20240601::BrowseNodeOccurrence?, Peddler::APIs::CustomerFeedback20240601::BrowseNodeStarRatingImpact?) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics

.parsePeddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics

Parameters:

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

Returns:



485
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 485

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::CustomerFeedback20240601::ItemReviewBrowseNodeMetrics

Instance Method Details

#members[ :occurrence_percentage, :star_rating_impact ]

Returns:

  • ([ :occurrence_percentage, :star_rating_impact ])


490
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 490

def members: () -> [ :occurrence_percentage, :star_rating_impact ]

#to_h{ occurrence_percentage: Peddler::APIs::CustomerFeedback20240601::BrowseNodeOccurrence?, star_rating_impact: Peddler::APIs::CustomerFeedback20240601::BrowseNodeStarRatingImpact? }



491
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 491

def to_h: () -> { occurrence_percentage: Peddler::APIs::CustomerFeedback20240601::BrowseNodeOccurrence?, star_rating_impact: Peddler::APIs::CustomerFeedback20240601::BrowseNodeStarRatingImpact? }