Class: Telnyx::Models::Storage::CloudfListResponse::Meta::Cursors

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/storage/cloudf_list_response.rb,
sig/telnyx/models/storage/cloudf_list_response.rbs

Overview

See Also:

  • Telnyx::Models::Storage::CloudfListResponse::Meta#cursors

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(after: nil, before: nil) ⇒ Cursors

Some parameter documentations has been truncated, see Telnyx::Models::Storage::CloudfListResponse::Meta::Cursors for more details.

Opaque cursors for the adjacent pages. Empty when there are no adjacent pages.

Parameters:

  • after (String) (defaults to: nil)

    Cursor for the next page; pass it as page[after]. Omitted on the last page.

  • before (String) (defaults to: nil)

    Cursor for the previous page; pass it as page[before]. Omitted on the first pa

  • after: (String) (defaults to: nil)
  • before: (String) (defaults to: nil)


# File 'lib/telnyx/models/storage/cloudf_list_response.rb', line 151

Instance Attribute Details

#afterString?

Cursor for the next page; pass it as page[after]. Omitted on the last page.

Parameters:

  • (String)

Returns:

  • (String, nil)


142
# File 'lib/telnyx/models/storage/cloudf_list_response.rb', line 142

optional :after, String

#beforeString?

Cursor for the previous page; pass it as page[before]. Omitted on the first page.

Parameters:

  • (String)

Returns:

  • (String, nil)


149
# File 'lib/telnyx/models/storage/cloudf_list_response.rb', line 149

optional :before, String

Instance Method Details

#to_hash{ after: String, before: String }

Returns:

  • ({ after: String, before: String })


157
# File 'sig/telnyx/models/storage/cloudf_list_response.rbs', line 157

def to_hash: -> { after: String, before: String }