Class: Handinger::Models::Workers::WebhookExecutionList

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/handinger/models/workers/webhook_execution_list.rb

Overview

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(logs:, page:, page_count:, total_count:) ⇒ Object

Parameters:

  • logs (Array<Handinger::Models::Workers::WebhookExecution>)
  • page (Integer)

    Current page number.

  • page_count (Integer)

    Total number of pages available.

  • total_count (Integer)

    Total number of executions recorded.



# File 'lib/handinger/models/workers/webhook_execution_list.rb', line 31

Instance Attribute Details

#logsArray<Handinger::Models::Workers::WebhookExecution>



11
# File 'lib/handinger/models/workers/webhook_execution_list.rb', line 11

required :logs, -> { Handinger::Internal::Type::ArrayOf[Handinger::Workers::WebhookExecution] }

#pageInteger

Current page number.

Returns:

  • (Integer)


17
# File 'lib/handinger/models/workers/webhook_execution_list.rb', line 17

required :page, Integer

#page_countInteger

Total number of pages available.

Returns:

  • (Integer)


23
# File 'lib/handinger/models/workers/webhook_execution_list.rb', line 23

required :page_count, Integer, api_name: :pageCount

#total_countInteger

Total number of executions recorded.

Returns:

  • (Integer)


29
# File 'lib/handinger/models/workers/webhook_execution_list.rb', line 29

required :total_count, Integer, api_name: :totalCount