Class: Amocrm::Models::EntityNotesByParentListByParentResponse::NoteListResponse::Embedded::Note

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/entity_notes_by_parent_list_by_parent_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



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
126
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 46

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)


55
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 55

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

#account_idInteger?

Returns:

  • (Integer, nil)


60
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 60

optional :account_id, Integer

#created_atInteger?

Returns:

  • (Integer, nil)


65
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 65

optional :created_at, Integer

#created_byInteger?

Returns:

  • (Integer, nil)


70
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 70

optional :created_by, Integer

#entity_idInteger?

Returns:

  • (Integer, nil)


75
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 75

optional :entity_id, Integer

#group_idInteger?

Returns:

  • (Integer, nil)


80
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 80

optional :group_id, Integer

#idInteger?

Returns:

  • (Integer, nil)


50
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 50

optional :id, Integer

#is_pinnedBoolean?

Returns:

  • (Boolean, nil)


85
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 85

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

#note_typeString?

Returns:

  • (String, nil)


90
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 90

optional :note_type, String

#paramsObject?

Returns:

  • (Object, nil)


95
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 95

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

#responsible_user_idInteger?

Returns:

  • (Integer, nil)


100
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 100

optional :responsible_user_id, Integer

#updated_atInteger?

Returns:

  • (Integer, nil)


105
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 105

optional :updated_at, Integer

#updated_byInteger?

Returns:

  • (Integer, nil)


110
# File 'lib/amocrm/models/entity_notes_by_parent_list_by_parent_response.rb', line 110

optional :updated_by, Integer