Class: Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact

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

#all_productsFloat (readonly)

Returns the value of attribute all_products.

Returns:

  • (Float)


31
32
33
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 31

def all_products
  @all_products
end

#top_twenty_five_percent_productsFloat (readonly)

Returns the value of attribute top_twenty_five_percent_products.

Returns:

  • (Float)


32
33
34
# File 'sig/peddler/apis/customer_feedback_2024_06_01.rbs', line 32

def top_twenty_five_percent_products
  @top_twenty_five_percent_products
end

Class Method Details

.[](all_products:, top_twenty_five_percent_products:) ⇒ Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact .[](arg0, arg1) ⇒ Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact

Overloads:



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

def self.[]: (all_products: Float, top_twenty_five_percent_products: Float) -> Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact
| (Float, Float) -> Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact

.members[ :all_products, :top_twenty_five_percent_products ]

Returns:

  • ([ :all_products, :top_twenty_five_percent_products ])


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

def self.members: () -> [ :all_products, :top_twenty_five_percent_products ]

.new(all_products:, top_twenty_five_percent_products:) ⇒ Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact .new(arg0, arg1) ⇒ Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact

Overloads:



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

def self.new: (all_products: Float, top_twenty_five_percent_products: Float) -> Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact
| (Float, Float) -> Peddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact

.parsePeddler::APIs::CustomerFeedback20240601::BrowseNodeAllStarRatingImpact

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :all_products, :top_twenty_five_percent_products ]

Returns:

  • ([ :all_products, :top_twenty_five_percent_products ])


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

def members: () -> [ :all_products, :top_twenty_five_percent_products ]

#to_h{ all_products: Float, top_twenty_five_percent_products: Float }

Returns:

  • ({ all_products: Float, top_twenty_five_percent_products: Float })


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

def to_h: () -> { all_products: Float, top_twenty_five_percent_products: Float }