Class: Google::Apis::ContentV2_1::ListRepricingRulesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Response message for the ListRepricingRules method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRepricingRulesResponse

Returns a new instance of ListRepricingRulesResponse.



4566
4567
4568
# File 'lib/google/apis/content_v2_1/classes.rb', line 4566

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4559
4560
4561
# File 'lib/google/apis/content_v2_1/classes.rb', line 4559

def next_page_token
  @next_page_token
end

#repricing_rulesArray<Google::Apis::ContentV2_1::RepricingRule>

The rules from the specified merchant. Corresponds to the JSON property repricingRules



4564
4565
4566
# File 'lib/google/apis/content_v2_1/classes.rb', line 4564

def repricing_rules
  @repricing_rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4571
4572
4573
4574
# File 'lib/google/apis/content_v2_1/classes.rb', line 4571

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @repricing_rules = args[:repricing_rules] if args.key?(:repricing_rules)
end