Class: Google::Apis::CoordinateV1::TokenPagination
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::TokenPagination
- Defined in:
- generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb
Overview
Pagination information.
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies this object as pagination information.
-
#next_page_token ⇒ String
A token to provide to get the next page of results.
-
#previous_page_token ⇒ String
A token to provide to get the previous page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TokenPagination
constructor
A new instance of TokenPagination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ TokenPagination
Returns a new instance of TokenPagination
605 606 607 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 605 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies this object as pagination information.
Corresponds to the JSON property kind
593 594 595 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 593 def kind @kind end |
#next_page_token ⇒ String
A token to provide to get the next page of results.
Corresponds to the JSON property nextPageToken
598 599 600 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 598 def next_page_token @next_page_token end |
#previous_page_token ⇒ String
A token to provide to get the previous page of results.
Corresponds to the JSON property previousPageToken
603 604 605 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 603 def previous_page_token @previous_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
610 611 612 613 614 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 610 def update!(**args) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token) end |