Module: Amocrm::Models::EventGetByIDResponse

Extended by:
Internal::Type::Union
Defined in:
lib/amocrm/models/event_get_by_id_response.rb,
sig/amocrm/models/event_get_by_id_response.rbs

Overview

See Also:

  • Amocrm::Resources::Events#get_by_id

Defined Under Namespace

Classes: Event, Problem

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Class Method Details

.variants ⇒ Array(Amocrm::Models::EventGetByIDResponse::Event, Amocrm::Models::EventGetByIDResponse::Problem)



# File 'lib/amocrm/models/event_get_by_id_response.rb', line 99

Instance Method Details

#initialize(id: nil, _links: nil, created_at: nil, created_by: nil, entity_id: nil, entity_type: nil, type: nil, value_after: nil, value_before: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • _links (Object) (defaults to: nil)
  • created_at (Integer) (defaults to: nil)
  • created_by (Integer) (defaults to: nil)
  • entity_id (Integer) (defaults to: nil)
  • entity_type (String) (defaults to: nil)
  • type (String) (defaults to: nil)
  • value_after (Object) (defaults to: nil)
  • value_before (Object) (defaults to: nil)


# File 'lib/amocrm/models/event_get_by_id_response.rb', line 59

#self?.variants ⇒ ::Array[Amocrm::Models::event_get_by_id_response]

Returns:

  • (::Array[Amocrm::Models::event_get_by_id_response])


120
# File 'sig/amocrm/models/event_get_by_id_response.rbs', line 120

def self?.variants: -> ::Array[Amocrm::Models::event_get_by_id_response]