Module: Peddler::Types::CustomerFeedback20240601

Defined in:
lib/peddler/types/customer_feedback_2024_06_01/error.rb,
lib/peddler/types/customer_feedback_2024_06_01/date_range.rb,
lib/peddler/types/customer_feedback_2024_06_01/error_list.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_topic.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_trend.rb,
lib/peddler/types/customer_feedback_2024_06_01/child_asin_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_topics.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_trends.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_response.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_subtopic.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_subtopic.rb,
lib/peddler/types/customer_feedback_2024_06_01/review_trend_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_occurrence.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_trend_point.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_return_trend.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_topic.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_trend.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_return_topics.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_topics.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_trends.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_trend_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_topic_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_all_occurrence.rb,
lib/peddler/types/customer_feedback_2024_06_01/child_asin_mention_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_topics_response.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_trends_response.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_subtopic_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_return_trend_point.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_trend_point.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_star_rating_impact.rb,
lib/peddler/types/customer_feedback_2024_06_01/item_review_browse_node_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_topic_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_trend_metrics.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_all_star_rating_impact.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_return_topics_response.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_return_trends_response.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_topics_response.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_trends_response.rb,
lib/peddler/types/customer_feedback_2024_06_01/browse_node_review_subtopic_metrics.rb

Constant Summary collapse

Error =

Error response returned when the request is unsuccessful.

Structure.new do
  # @return [String] An error code that identifies the type of error that occurred.
  attribute(:code, String)

  # @return [String] A message that describes the error condition.
  attribute(:message, String)

  # @return [String] Additional details that can help the caller understand or fix the issue.
  attribute(:details, String)
end
DateRange =

A date range.

Structure.new do
  # @return [String] The start date of the date range in ISO-8601 date/time format.
  attribute(:start_date, String, from: "startDate")

  # @return [String] The end date of the date range in ISO-8601 date/time format.
  attribute(:end_date, String, from: "endDate")
end
ErrorList =

A list of error responses returned when a request is unsuccessful.

Structure.new do
  # @return [Array<Error>] List of errors.
  attribute(:errors, [Error])
end
ItemReviewTopic =

Details of item review topic.

Structure.new do
  # @return [String] The name of the item review topic.
  attribute(:topic, String)

  # @return [ItemReviewTopicMetrics] The ASIN's review topic metrics.
  attribute(:asin_metrics, ItemReviewTopicMetrics, from: "asinMetrics")

  # @return [ItemReviewTopicMetrics] The parent ASIN's review topic metrics. This value is `null` if there isn't
  # enough topic data for the parent ASIN.
  attribute(:parent_asin_metrics, ItemReviewTopicMetrics, from: "parentAsinMetrics")

  # @return [ItemReviewBrowseNodeMetrics] The browse node's review topic metrics. This value is `null` if there
  # isn't enough topic data for the browse node.
  attribute(:browse_node_metrics, ItemReviewBrowseNodeMetrics, from: "browseNodeMetrics")

  # @return [ChildAsinMetrics] The review topic metrics for other child ASINs that have the same parent ASIN. This
  # value is `null` if there isn't any child ASIN metric data.
  attribute(:child_asin_metrics, ChildAsinMetrics, from: "childAsinMetrics")

  # @return [Array<String>] A list of up to three snippets from reviews that contain the topic. This value is
  # `null` if there aren't enough review snippets for the topic.
  attribute(:review_snippets, [String], from: "reviewSnippets")

  # @return [Array<ItemReviewSubtopic>] A list of up to five top subtopics for the topic. The percentage of
  # customer reviews that mention the subtopic determine the topic's placement in the list. This value is `null`
  # if there are no subtopics.
  attribute(:subtopics, [ItemReviewSubtopic])
end
ItemReviewTrend =

The trend of review topic metrics for the requested item.

Structure.new do
  # @return [String] The name of the item review topic.
  attribute(:topic, String)

  # @return [Array<ItemReviewTrendPoint>] The item's review trend metrics for the past six months.
  attribute(:trend_metrics, [ItemReviewTrendPoint], from: "trendMetrics")
end
ChildAsinMetrics =

The review topic metrics for other child ASINs that have the same parent ASIN. This value is null if there isn't any child ASIN metric data.

Structure.new do
  # @return [ChildAsinMentionMetrics] The child ASIN for which reviews mention the topic the greatest number of
  # times, and the number of times reviews mention the topic. This value is `null` if there are no child ASIN
  # metrics.
  attribute(:most_mentions, ChildAsinMentionMetrics, from: "mostMentions")

  # @return [ChildAsinMentionMetrics] The child ASIN for which reviews mention the topic the least number of
  # times, and the number of times reviews mention the topic. This value is `null` if there are no child ASIN
  # metrics.
  attribute(:least_mentions, ChildAsinMentionMetrics, from: "leastMentions")
end
ItemReviewTopics =

The top 10 positive and negative item review topics.

Structure.new do
  # @return [Array<ItemReviewTopic>] A list of the most positive review topics. When the `sortBy` query parameter
  # is set to `MENTIONS`, the number of reviews that mention the topic determines the topic's placement in the
  # list. When `sortBy` is set to `STAR_RATING_IMPACT`, the effect that the topic has on the star rating of the
  # item determines placement in the list. This value is `null` if there are not enough positive reviews for the
  # specified ASIN.
  #
  # **Max length:** 10
  attribute(:positive_topics, [ItemReviewTopic], from: "positiveTopics")

  # @return [Array<ItemReviewTopic>] A list of the most negative review topics. When the `sortBy` query parameter
  # is set to `MENTIONS`, the number of reviews that mention the topic determines the topic's placement in the
  # list. When `sortBy` is set to `STAR_RATING_IMPACT`, the effect that the topic has on the star rating of the
  # item determines placement in the list. This value is `null` if there are not enough negative reviews for the
  # specified ASIN.
  #
  # **Max length:** 10
  attribute(:negative_topics, [ItemReviewTopic], from: "negativeTopics")
end
ItemReviewTrends =

The 10 most positive and most negative review topics for all items in a browse node.

Structure.new do
  # @return [Array<ItemReviewTrend>] A list of the most positive review topics. The percentage of reviews that
  # contain the topic determines the topic's placement in the list. This value is `null` if there are not enough
  # positive reviews for the specified ASIN.
  #
  # **Max length:** 10
  attribute(:positive_topics, [ItemReviewTrend], from: "positiveTopics")

  # @return [Array<ItemReviewTrend>] A list of the most negative review topics. The percentage of reviews that
  # contain the topic determines the topic's placement in the list. This value is `null` if there are not enough
  # negative reviews for the specified ASIN.
  #
  # **Max length:** 10
  attribute(:negative_topics, [ItemReviewTrend], from: "negativeTopics")
end
BrowseNodeResponse =

The response for the getItemBrowseNode operation.

Structure.new do
  # @return [String] A browse node id is the unique identifier of a given browse node. A browse node is a location
  # in a browse tree that is used for navigation, product classification, and website content.
  attribute(:browse_node_id, String, from: "browseNodeId")

  # @return [String] The display name of the browse node as visible on the Amazon retail website.
  attribute(:display_name, String, from: "displayName")
end
BrowseNodeSubtopic =

The browse node review subtopic.

Structure.new do
  # @return [String] The name of the browse node review subtopic.
  attribute(:subtopic, String)

  # @return [BrowseNodeReviewSubtopicMetrics] The browse node review subtopic metrics.
  attribute(:metrics, BrowseNodeReviewSubtopicMetrics)

  # @return [Array<String>] A list of up to three snippets from reviews that contain the topic. This value is
  # `null` if there aren't enough review snippets for the subtopic.
  attribute(:review_snippets, [String], from: "reviewSnippets")
end
ItemReviewSubtopic =

Details of the subtopic for an item review topic.

Structure.new do
  # @return [String] The name of the subtopic.
  attribute(:subtopic, String)

  # @return [ItemReviewSubtopicMetrics] The subtopic metrics.
  attribute(:metrics, ItemReviewSubtopicMetrics)

  # @return [Array<String>] A list of up to three snippets from reviews that contain the subtopic. This value is
  # `null` if there aren't enough review snippets for the subtopic.
  attribute(:review_snippets, [String], from: "reviewSnippets")
end
ReviewTrendMetrics =

The item review trend metrics.

Structure.new do
  # @return [Float] The percentage of reviews that mention the topic.
  attribute(:occurrence_percentage, Float, from: "occurrencePercentage")
end
BrowseNodeOccurrence =

The browse node review trend occurrence metrics.

Structure.new do
  # @return [Float] The percentage of reviews of products in the browse node that mention a topic.
  attribute(:all_products, Float, from: "allProducts")
end
ItemReviewTrendPoint =

The review metrics for a certain month.

Structure.new do
  # @return [DateRange] The date range of the item review trend metric.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [ReviewTrendMetrics] The ASIN's review trend metrics.
  attribute(:asin_metrics, ReviewTrendMetrics, from: "asinMetrics")

  # @return [ReviewTrendMetrics] The parent ASIN's review trend metrics. This value is `null` if there isn't
  # enough topic data for the parent ASIN.
  attribute(:parent_asin_metrics, ReviewTrendMetrics, from: "parentAsinMetrics")

  # @return [BrowseNodeTrendMetrics] The browse node's review trend metrics. This value is `null` if there isn't
  # enough topic data for the browse node.
  attribute(:browse_node_metrics, BrowseNodeTrendMetrics, from: "browseNodeMetrics")
end
BrowseNodeReturnTrend =

The trend of return topic metrics for all items in the requested browse node.

Structure.new do
  # @return [String] The name of the topic.
  attribute(:topic, String)

  # @return [Array<BrowseNodeReturnTrendPoint>] The browse node return trend metrics.
  attribute(:trend_metrics, [BrowseNodeReturnTrendPoint], from: "trendMetrics")
end
BrowseNodeReviewTopic =

The browse node review topic.

Structure.new do
  # @return [String] The name browse node review topic.
  attribute(:topic, String)

  # @return [BrowseNodeReviewTopicMetrics] The percentage of browse node reviews that mention the topic, and the
  # effect the topic has on the star rating.
  attribute(:browse_node_metrics, BrowseNodeReviewTopicMetrics, from: "browseNodeMetrics")

  # @return [Array<String>] A list of up to three snippets from reviews that contain the topic. This value is
  # `null` if there aren't enough review snippets for the topic.
  attribute(:review_snippets, [String], from: "reviewSnippets")

  # @return [Array<BrowseNodeSubtopic>] A list of the five subtopics that occur most frequently. This value is
  # `null` if there are no subtopics.
  attribute(:subtopics, [BrowseNodeSubtopic])
end
BrowseNodeReviewTrend =

The trend of review topic metrics for all items in the requested browse node.

Structure.new do
  # @return [String] The name of the topic.
  attribute(:topic, String)

  # @return [Array<BrowseNodeReviewTrendPoint>] The browse node's review trend metrics for the past six months.
  attribute(:trend_metrics, [BrowseNodeReviewTrendPoint], from: "trendMetrics")
end
BrowseNodeReturnTopics =

Topics from returns for all items in a browse node.

Structure.new do
  # @return [String] The name of the return feedback topic .
  attribute(:topic, String)

  # @return [BrowseNodeTrendMetrics] The browse node return topic metrics.
  attribute(:browse_node_metrics, BrowseNodeTrendMetrics, from: "browseNodeMetrics")
end
BrowseNodeReviewTopics =

The 10 most positive and most negative review topics for all items in a browse node.

Structure.new do
  # @return [Array<BrowseNodeReviewTopic>] A list of the most positive review topics. When the `sortBy` query
  # parameter is set to `MENTIONS`, the number of reviews of items within the requested browse node that mention
  # the topic determine the topic's placement in the list. When `sortBy` is set to `STAR_RATING_IMPACT`, the
  # effect that the topic has on the star rating of items within the requested browse node determine placement in
  # the list. This value is `null` if there are not enough positive reviews for the requested browse node.
  #
  # **Max length:** 10
  attribute(:positive_topics, [BrowseNodeReviewTopic], from: "positiveTopics")

  # @return [Array<BrowseNodeReviewTopic>] A list of the most negative review topics. When the `sortBy` query
  # parameter is set to `MENTIONS`, the number of reviews of items within the requested browse node that mention
  # the topic determine the topic's placement in the list. When `sortBy` is set to `STAR_RATING_IMPACT`, the
  # effect that the topic has on the star rating of items within the requested browse node determine placement in
  # the list. This value is `null` if there are not enough negative reviews for the requested browse node.
  #
  # **Max length:** 10
  attribute(:negative_topics, [BrowseNodeReviewTopic], from: "negativeTopics")
end
BrowseNodeReviewTrends =

The 10 most positive and most negative review topics for all items in a browse node.

Structure.new do
  # @return [Array<BrowseNodeReviewTrend>] The trends of the most positive review topics. The percentage of
  # reviews that contain the topic across all products in the requested browse node determine the topic's
  # placement in the list. This value is `null` if there aren't enough positive reviews for the requested browse
  # node.
  #
  # **Max length:** 10
  attribute(:positive_topics, [BrowseNodeReviewTrend], from: "positiveTopics")

  # @return [Array<BrowseNodeReviewTrend>] The trends of the most negative review topics. The percentage of
  # reviews that contain the topic across all products in the requested browse node determine the topic's
  # placement in the list. This value is `null` if there aren't enough positive reviews for the requested browse
  # node.
  #
  # **Max length:** 10
  attribute(:negative_topics, [BrowseNodeReviewTrend], from: "negativeTopics")
end
BrowseNodeTrendMetrics =

A single browse node review or return trend metric.

Structure.new do
  # @return [BrowseNodeOccurrence] The percentage of feedback that mentions the topic.
  attribute(:occurrence_percentage, BrowseNodeOccurrence, from: "occurrencePercentage")
end
ItemReviewTopicMetrics =

The item review topic metrics.

Structure.new do
  # @return [Integer] The number of times that reviews mention the topic. This value is `null` if reviews do not
  # mention the topic frequently enough.
  attribute(:number_of_mentions, Integer, from: "numberOfMentions")

  # @return [Float] The percentage of customer reviews that mention the topic. This value is `null` if reviews do
  # not mention the topic frequently enough.
  attribute(:occurrence_percentage, Float, from: "occurrencePercentage")

  # @return [Float] The effect of the topic on the star rating of the ASIN. This value can be positive or
  # negative. This value is `null` if the topic does't affect the star rating of the ASIN.
  attribute(:star_rating_impact, Float, from: "starRatingImpact")
end
BrowseNodeAllOccurrence =

The browse node review occurrence metrics.

Structure.new do
  # @return [Float] The percentage of reviews of the top 25 percent of products in the browse node that mention
  # the topic.
  attribute(:top_twenty_five_percent_products, Float, from: "topTwentyFivePercentProducts")

  # @return [Float] The percentage of reviews of products in the browse node that mention the topic.
  attribute(:all_products, Float, from: "allProducts")
end
ChildAsinMentionMetrics =

The child ASIN review topic mention metrics.

Structure.new do
  # @return [String] The child ASIN of the requested item.
  attribute(:asin, String)

  # @return [Integer] The number of times reviews of the child ASIN mention the topic.
  attribute(:number_of_mentions, Integer, from: "numberOfMentions")
end
ItemReviewTopicsResponse =

The response for the getItemReviewTopics operation.

Structure.new do
  # @return [String] The requested ASIN. The Amazon Standard Identification Number (ASIN) is the unique identifier
  # of a product within a marketplace.
  attribute(:asin, String)

  # @return [String] The product title of the requested ASIN.
  attribute(:item_name, String, from: "itemName")

  # @return [String] The requested marketplace id.
  attribute(:marketplace_id, String, from: "marketplaceId")

  # @return [String] The two digit country code of the requested marketplace id, in ISO 3166-1 alpha-2 format.
  attribute(:country_code, String, from: "countryCode")

  # @return [DateRange] The date range of the item review topics.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [ItemReviewTopics] The item review topics for the requested ASIN.
  attribute(:topics, ItemReviewTopics)
end
ItemReviewTrendsResponse =

The response for the getItemReviewTrends operation.

Structure.new do
  # @return [String] The requested ASIN. The Amazon Standard Identification Number (ASIN) is the unique identifier
  # of a product within a marketplace.
  attribute(:asin, String)

  # @return [String] The product title of the requested ASIN.
  attribute(:item_name, String, from: "itemName")

  # @return [String] The requested marketplace id.
  attribute(:marketplace_id, String, from: "marketplaceId")

  # @return [String] The two digit country code of the requested marketplace id, in ISO 3166-1 alpha-2 format.
  attribute(:country_code, String, from: "countryCode")

  # @return [DateRange] The range of dates in which the reviews were made.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [ItemReviewTrends] The item review trends.
  attribute(:review_trends, ItemReviewTrends, from: "reviewTrends")
end
ItemReviewSubtopicMetrics =

The item review subtopic metrics.

Structure.new do
  # @return [Integer] The number of times that reviews mention the subtopic.
  attribute(:number_of_mentions, Integer, from: "numberOfMentions")

  # @return [Float] The percentage of reviews that mention the subtopic.
  attribute(:occurrence_percentage, Float, from: "occurrencePercentage")
end
BrowseNodeReturnTrendPoint =

The return metrics for a certain month.

Structure.new do
  # @return [DateRange] The range of dates during which the returns were made.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [BrowseNodeTrendMetrics] The browse node return metrics.
  attribute(:browse_node_metrics, BrowseNodeTrendMetrics, from: "browseNodeMetrics")
end
BrowseNodeReviewTrendPoint =

The browse node's review metrics for a certain month.

Structure.new do
  # @return [DateRange] The date range of the browse node review trend metric.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [BrowseNodeReviewTrendMetrics] The browse node review trend metrics.
  attribute(:browse_node_metrics, BrowseNodeReviewTrendMetrics, from: "browseNodeMetrics")
end
BrowseNodeStarRatingImpact =

The effects of a topic on a browse node's star rating.

Structure.new do
  # @return [Float] The effect of the topic on the star rating for all products in this browse node. This value
  # can be positive or negative.
  attribute(:all_products, Float, from: "allProducts")
end
ItemReviewBrowseNodeMetrics =

The browse node review topic metrics.

Structure.new do
  # @return [BrowseNodeOccurrence] The percentage of reviews that mention the topic. This value is `null` if
  # reviews do not mention the topic frequently enough.
  attribute(:occurrence_percentage, BrowseNodeOccurrence, from: "occurrencePercentage")

  # @return [BrowseNodeStarRatingImpact] The effect of the topic on the star rating of items in the browse node.
  # This value is `null` if the topic does not affect the star rating of the browse node.
  attribute(:star_rating_impact, BrowseNodeStarRatingImpact, from: "starRatingImpact")
end
BrowseNodeReviewTopicMetrics =

The browse node review topic metrics.

Structure.new do
  # @return [BrowseNodeAllOccurrence] The percentage of reviews that mention a topic. This value is `null` if the
  # topic isn't mentioned enough in the reviews.
  attribute(:occurrence_percentage, BrowseNodeAllOccurrence, from: "occurrencePercentage")

  # @return [BrowseNodeAllStarRatingImpact] The effect a topic has on the browse node's star rating. This value is
  # `null` if the topic doesn't affect the star rating of the browse node.
  attribute(:star_rating_impact, BrowseNodeAllStarRatingImpact, from: "starRatingImpact")
end
BrowseNodeReviewTrendMetrics =

The browse node review topic metrics.

Structure.new do
  # @return [BrowseNodeAllOccurrence] The percent of reviews that mention the topic.
  attribute(:occurrence_percentage, BrowseNodeAllOccurrence, from: "occurrencePercentage")
end
BrowseNodeAllStarRatingImpact =

The effects of a topic on the star ratings in a browse node.

Structure.new do
  # @return [Float] The effect of the topic on the star rating of the top 25 percent of products in the browse
  # node. This value can be positive or negative.
  attribute(:top_twenty_five_percent_products, Float, from: "topTwentyFivePercentProducts")

  # @return [Float] The effect of the topic on the star rating of all products in the browse node. This value can
  # be positive or negative.
  attribute(:all_products, Float, from: "allProducts")
end
BrowseNodeReturnTopicsResponse =

The response for the getBrowseNodeReturnTopics operation.

Structure.new do
  # @return [String] The requested browse node id. A browse node id is the unique identifier of a given browse
  # node.
  attribute(:browse_node_id, String, from: "browseNodeId")

  # @return [String] The display name of the browse node, as visible on the Amazon retail website.
  attribute(:display_name, String, from: "displayName")

  # @return [String] The requested marketplace id.
  attribute(:marketplace_id, String, from: "marketplaceId")

  # @return [String] The two digit country code of requested marketplace id, in ISO 3166-1 alpha-2 format.
  attribute(:country_code, String, from: "countryCode")

  # @return [DateRange] The range of dates during which the returns were made.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [Array<BrowseNodeReturnTopics>] The list of browse node return topics.
  attribute(:topics, [BrowseNodeReturnTopics])
end
BrowseNodeReturnTrendsResponse =

The response for the getBrowseNodeReturnTrends operation.

Structure.new do
  # @return [String] The requested browse node id. A browse node id is the unique identifier of a given browse
  # node.
  attribute(:browse_node_id, String, from: "browseNodeId")

  # @return [String] The display name of the browse node, as visible on the Amazon retail website.
  attribute(:display_name, String, from: "displayName")

  # @return [String] The requested marketplace id.
  attribute(:marketplace_id, String, from: "marketplaceId")

  # @return [String] The two digit country code of requested marketplace id, in ISO 3166-1 alpha-2 format.
  attribute(:country_code, String, from: "countryCode")

  # @return [DateRange] The range of dates during which the returns were made.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [Array<BrowseNodeReturnTrend>] The browse node return trends.
  attribute(:return_trends, [BrowseNodeReturnTrend], from: "returnTrends")
end
BrowseNodeReviewTopicsResponse =

The response for the getBrowseNodeReviewTopics operation.

Structure.new do
  # @return [String] The requested browse node id. A browse node id is the unique identifier of a given browse
  # node.
  attribute(:browse_node_id, String, from: "browseNodeId")

  # @return [String] The display name of the requested browse node id. The display name of the browse node as
  # visible on the Amazon retail website.
  attribute(:display_name, String, from: "displayName")

  # @return [String] The requested marketplace id.
  attribute(:marketplace_id, String, from: "marketplaceId")

  # @return [String] The two digit country code of requested marketplace id, in ISO 3166-1 alpha-2 format.
  attribute(:country_code, String, from: "countryCode")

  # @return [DateRange] The range of dates in which the reviews were made.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [BrowseNodeReviewTopics] The most positive and most negative topics for all items in the browse node.
  attribute(:topics, BrowseNodeReviewTopics)
end
BrowseNodeReviewTrendsResponse =

The response for the getBrowseNodeReviewTrends operation.

Structure.new do
  # @return [String] The requested browse node id. A browse node id is the unique identifier of a given browse
  # node.
  attribute(:browse_node_id, String, from: "browseNodeId")

  # @return [String] The display name of the requested browse node id. The display name of the browse node as
  # visible on the Amazon retail website.
  attribute(:display_name, String, from: "displayName")

  # @return [String] The requested marketplace id.
  attribute(:marketplace_id, String, from: "marketplaceId")

  # @return [String] The two digit country code of requested marketplace id, in ISO 3166-1 alpha-2 format.
  attribute(:country_code, String, from: "countryCode")

  # @return [DateRange] The range of dates during which the reviews were made.
  attribute(:date_range, DateRange, from: "dateRange")

  # @return [BrowseNodeReviewTrends] Browse Node review trends.
  attribute(:review_trends, BrowseNodeReviewTrends, from: "reviewTrends")
end
BrowseNodeReviewSubtopicMetrics =

The browse node review subtopic metrics.

Structure.new do
  # @return [Float] The percentage of reviews that mention the subtopic.
  attribute(:occurrence_percentage, Float, from: "occurrencePercentage")
end