Class: Google::Apis::WalletobjectsV1::Pagination
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::Pagination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#next_page_token ⇒ String
Page token to send to fetch the next page.
-
#results_per_page ⇒ Fixnum
Number of results returned in this page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pagination
constructor
A new instance of Pagination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pagination
Returns a new instance of Pagination.
6812 6813 6814 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
walletobjects#pagination"
.
Corresponds to the JSON property kind
6800 6801 6802 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6800 def kind @kind end |
#next_page_token ⇒ String
Page token to send to fetch the next page.
Corresponds to the JSON property nextPageToken
6805 6806 6807 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6805 def next_page_token @next_page_token end |
#results_per_page ⇒ Fixnum
Number of results returned in this page.
Corresponds to the JSON property resultsPerPage
6810 6811 6812 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6810 def results_per_page @results_per_page end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6817 6818 6819 6820 6821 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6817 def update!(**args) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @results_per_page = args[:results_per_page] if args.key?(:results_per_page) end |