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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/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.



3873
3874
3875
# File 'generated/google/apis/content_v2_1/classes.rb', line 3873

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)


3866
3867
3868
# File 'generated/google/apis/content_v2_1/classes.rb', line 3866

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



3871
3872
3873
# File 'generated/google/apis/content_v2_1/classes.rb', line 3871

def repricing_rules
  @repricing_rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3878
3879
3880
3881
# File 'generated/google/apis/content_v2_1/classes.rb', line 3878

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