Class: Peddler::APIs::CatalogItems20201201::Pagination

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/catalog_items_2020_12_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#next_tokenString? (readonly)

Returns the value of attribute next_token.

Returns:

  • (String, nil)


341
342
343
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 341

def next_token
  @next_token
end

#previous_tokenString? (readonly)

Returns the value of attribute previous_token.

Returns:

  • (String, nil)


342
343
344
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 342

def previous_token
  @previous_token
end

Class Method Details

.[](next_token:, previous_token:) ⇒ Peddler::APIs::CatalogItems20201201::Pagination .[](arg0, arg1) ⇒ Peddler::APIs::CatalogItems20201201::Pagination

Overloads:



334
335
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 334

def self.[]: (?next_token: String?, ?previous_token: String?) -> Peddler::APIs::CatalogItems20201201::Pagination
| (String?, String?) -> Peddler::APIs::CatalogItems20201201::Pagination

.members[ :next_token, :previous_token ]

Returns:

  • ([ :next_token, :previous_token ])


337
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 337

def self.members: () -> [ :next_token, :previous_token ]

.new(next_token:, previous_token:) ⇒ Peddler::APIs::CatalogItems20201201::Pagination .new(arg0, arg1) ⇒ Peddler::APIs::CatalogItems20201201::Pagination

Overloads:



332
333
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 332

def self.new: (?next_token: String?, ?previous_token: String?) -> Peddler::APIs::CatalogItems20201201::Pagination
| (String?, String?) -> Peddler::APIs::CatalogItems20201201::Pagination

.parsePeddler::APIs::CatalogItems20201201::Pagination

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



339
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 339

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::CatalogItems20201201::Pagination

Instance Method Details

#members[ :next_token, :previous_token ]

Returns:

  • ([ :next_token, :previous_token ])


344
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 344

def members: () -> [ :next_token, :previous_token ]

#to_h{ next_token: String?, previous_token: String? }

Returns:

  • ({ next_token: String?, previous_token: String? })


345
# File 'sig/peddler/apis/catalog_items_2020_12_01.rbs', line 345

def to_h: () -> { next_token: String?, previous_token: String? }