Class: Google::Apis::MerchantapiReviewsV1beta::ListMerchantReviewsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiReviewsV1beta::ListMerchantReviewsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_reviews_v1beta/classes.rb,
lib/google/apis/merchantapi_reviews_v1beta/representations.rb,
lib/google/apis/merchantapi_reviews_v1beta/representations.rb
Overview
Response message for the ListMerchantsReview
method.
Instance Attribute Summary collapse
-
#merchant_reviews ⇒ Array<Google::Apis::MerchantapiReviewsV1beta::MerchantReview>
The merchant review.
-
#next_page_token ⇒ String
The token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListMerchantReviewsResponse
constructor
A new instance of ListMerchantReviewsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListMerchantReviewsResponse
Returns a new instance of ListMerchantReviewsResponse.
89 90 91 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 89 def initialize(**args) update!(**args) end |
Instance Attribute Details
#merchant_reviews ⇒ Array<Google::Apis::MerchantapiReviewsV1beta::MerchantReview>
The merchant review.
Corresponds to the JSON property merchantReviews
82 83 84 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 82 def merchant_reviews @merchant_reviews end |
#next_page_token ⇒ String
The token to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
87 88 89 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 87 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
94 95 96 97 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 94 def update!(**args) @merchant_reviews = args[:merchant_reviews] if args.key?(:merchant_reviews) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |