Class: Amocrm::Models::EventListResponse::EventListResponse::Embedded::Event

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/event_list_response.rb

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(events: nil) ⇒ Object

Parameters:



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'lib/amocrm/models/event_list_response.rb', line 45

class Event < Amocrm::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [Integer, nil]
  optional :id, Integer

  # @!attribute _links
  #
  #   @return [Object, nil]
  optional :_links, Amocrm::Internal::Type::Unknown

  # @!attribute created_at
  #
  #   @return [Integer, nil]
  optional :created_at, Integer

  # @!attribute created_by
  #
  #   @return [Integer, nil]
  optional :created_by, Integer

  # @!attribute entity_id
  #
  #   @return [Integer, nil]
  optional :entity_id, Integer

  # @!attribute entity_type
  #
  #   @return [String, nil]
  optional :entity_type, String

  # @!attribute type
  #
  #   @return [String, nil]
  optional :type, String

  # @!attribute value_after
  #
  #   @return [Object, nil]
  optional :value_after, Amocrm::Internal::Type::Unknown

  # @!attribute value_before
  #
  #   @return [Object, nil]
  optional :value_before, Amocrm::Internal::Type::Unknown

  # @!method 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)
  #   @param id [Integer]
  #   @param _links [Object]
  #   @param created_at [Integer]
  #   @param created_by [Integer]
  #   @param entity_id [Integer]
  #   @param entity_type [String]
  #   @param type [String]
  #   @param value_after [Object]
  #   @param value_before [Object]
end

Instance Attribute Details

Returns:

  • (Object, nil)


54
# File 'lib/amocrm/models/event_list_response.rb', line 54

optional :_links, Amocrm::Internal::Type::Unknown

#created_atInteger?

Returns:

  • (Integer, nil)


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

optional :created_at, Integer

#created_byInteger?

Returns:

  • (Integer, nil)


64
# File 'lib/amocrm/models/event_list_response.rb', line 64

optional :created_by, Integer

#entity_idInteger?

Returns:

  • (Integer, nil)


69
# File 'lib/amocrm/models/event_list_response.rb', line 69

optional :entity_id, Integer

#entity_typeString?

Returns:

  • (String, nil)


74
# File 'lib/amocrm/models/event_list_response.rb', line 74

optional :entity_type, String

#idInteger?

Returns:

  • (Integer, nil)


49
# File 'lib/amocrm/models/event_list_response.rb', line 49

optional :id, Integer

#typeString?

Returns:

  • (String, nil)


79
# File 'lib/amocrm/models/event_list_response.rb', line 79

optional :type, String

#value_afterObject?

Returns:

  • (Object, nil)


84
# File 'lib/amocrm/models/event_list_response.rb', line 84

optional :value_after, Amocrm::Internal::Type::Unknown

#value_beforeObject?

Returns:

  • (Object, nil)


89
# File 'lib/amocrm/models/event_list_response.rb', line 89

optional :value_before, Amocrm::Internal::Type::Unknown