Class: Google::Apis::CoordinateV1::TokenPagination

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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

#kindString

Identifies this object as pagination information. Corresponds to the JSON property kind

Returns:

  • (String)


593
594
595
# File 'generated/google/apis/coordinate_v1/classes.rb', line 593

def kind
  @kind
end

#next_page_tokenString

A token to provide to get the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


598
599
600
# File 'generated/google/apis/coordinate_v1/classes.rb', line 598

def next_page_token
  @next_page_token
end

#previous_page_tokenString

A token to provide to get the previous page of results. Corresponds to the JSON property previousPageToken

Returns:

  • (String)


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