Class: Sink::Models::PageCursorSharedRefPagination

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/sink/models/page_cursor_shared_ref_pagination.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#[], #deconstruct_keys, #inspect, #to_h, #to_s

Constructor Details

#initialize(data = {}) ⇒ PageCursorSharedRefPagination

Create a new instance of PageCursorSharedRefPagination from a Hash of raw data.

Parameters:

  • data (Hash{Symbol => Object}) (defaults to: {})

    . @option data [String] :cursor @option data [Object, nil] :prop_with_another_ref



6
# File 'lib/sink/models/page_cursor_shared_ref_pagination.rb', line 6

def initialize(data = {}) = super

Instance Attribute Details

#cursorString

Returns:

  • (String)


8
# File 'lib/sink/models/page_cursor_shared_ref_pagination.rb', line 8

required :cursor, String

#prop_with_another_refSink::Models::BasicSharedModelObject



12
# File 'lib/sink/models/page_cursor_shared_ref_pagination.rb', line 12

optional :prop_with_another_ref, -> { Sink::Models::BasicSharedModelObject }