Class: Peddler::APIs::CatalogItems20220401::Pagination

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/catalog_items_2022_04_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)


564
565
566
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 564

def next_token
  @next_token
end

#previous_tokenString? (readonly)

Returns the value of attribute previous_token.

Returns:

  • (String, nil)


565
566
567
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 565

def previous_token
  @previous_token
end

Class Method Details

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

Overloads:



557
558
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 557

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

.members[ :next_token, :previous_token ]

Returns:

  • ([ :next_token, :previous_token ])


560
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 560

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

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

Overloads:



555
556
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 555

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

.parsePeddler::APIs::CatalogItems20220401::Pagination

Parameters:

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

Returns:



562
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 562

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

Instance Method Details

#members[ :next_token, :previous_token ]

Returns:

  • ([ :next_token, :previous_token ])


567
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 567

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

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

Returns:

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


568
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 568

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