Class: Amocrm::Models::EntityNoteListResponse::NoteListResponse::Embedded::Note

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/entity_note_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(notes: 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# File 'lib/amocrm/models/entity_note_list_response.rb', line 45

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

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

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

  # @!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 group_id
  #
  #   @return [Integer, nil]
  optional :group_id, Integer

  # @!attribute is_pinned
  #
  #   @return [Boolean, nil]
  optional :is_pinned, Amocrm::Internal::Type::Boolean

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

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

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

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

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

  # @!method initialize(id: nil, _links: nil, account_id: nil, created_at: nil, created_by: nil, entity_id: nil, group_id: nil, is_pinned: nil, note_type: nil, params: nil, responsible_user_id: nil, updated_at: nil, updated_by: nil)
  #   @param id [Integer]
  #   @param _links [Object]
  #   @param account_id [Integer]
  #   @param created_at [Integer]
  #   @param created_by [Integer]
  #   @param entity_id [Integer]
  #   @param group_id [Integer]
  #   @param is_pinned [Boolean]
  #   @param note_type [String]
  #   @param params [Object]
  #   @param responsible_user_id [Integer]
  #   @param updated_at [Integer]
  #   @param updated_by [Integer]
end

Instance Attribute Details

Returns:

  • (Object, nil)


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

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

#account_idInteger?

Returns:

  • (Integer, nil)


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

optional :account_id, Integer

#created_atInteger?

Returns:

  • (Integer, nil)


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

optional :created_at, Integer

#created_byInteger?

Returns:

  • (Integer, nil)


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

optional :created_by, Integer

#entity_idInteger?

Returns:

  • (Integer, nil)


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

optional :entity_id, Integer

#group_idInteger?

Returns:

  • (Integer, nil)


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

optional :group_id, Integer

#idInteger?

Returns:

  • (Integer, nil)


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

optional :id, Integer

#is_pinnedBoolean?

Returns:

  • (Boolean, nil)


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

optional :is_pinned, Amocrm::Internal::Type::Boolean

#note_typeString?

Returns:

  • (String, nil)


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

optional :note_type, String

#paramsObject?

Returns:

  • (Object, nil)


94
# File 'lib/amocrm/models/entity_note_list_response.rb', line 94

optional :params, Amocrm::Internal::Type::Unknown

#responsible_user_idInteger?

Returns:

  • (Integer, nil)


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

optional :responsible_user_id, Integer

#updated_atInteger?

Returns:

  • (Integer, nil)


104
# File 'lib/amocrm/models/entity_note_list_response.rb', line 104

optional :updated_at, Integer

#updated_byInteger?

Returns:

  • (Integer, nil)


109
# File 'lib/amocrm/models/entity_note_list_response.rb', line 109

optional :updated_by, Integer