Class: Amocrm::Models::EntityNoteUpdateParams::Body

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/entity_note_update_params.rb,
sig/amocrm/models/entity_note_update_params.rbs

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(id:, entity_id: nil, note_type: nil, params: nil, updated_at: nil, updated_by: nil) ⇒ Object

Parameters:

  • id (Integer) —

    Note id

  • entity_id (Integer) (defaults to: nil)
  • note_type (String) (defaults to: nil)
  • params (Object) (defaults to: nil)
  • updated_at (Integer) (defaults to: nil)
  • updated_by (Integer) (defaults to: nil)


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

Instance Attribute Details

#entity_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


47
# File 'lib/amocrm/models/entity_note_update_params.rb', line 47

optional :entity_id, Integer

#id ⇒ Integer

Note id

Parameters:

  • value (Integer)

Returns:

  • (Integer)


42
# File 'lib/amocrm/models/entity_note_update_params.rb', line 42

required :id, Integer

#note_type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


52
# File 'lib/amocrm/models/entity_note_update_params.rb', line 52

optional :note_type, String

#params ⇒ Object?

Parameters:

  • (top)

Returns:

  • (Object, nil)


57
# File 'lib/amocrm/models/entity_note_update_params.rb', line 57

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

#updated_at ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


62
# File 'lib/amocrm/models/entity_note_update_params.rb', line 62

optional :updated_at, Integer

#updated_by ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


67
# File 'lib/amocrm/models/entity_note_update_params.rb', line 67

optional :updated_by, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


85
# File 'sig/amocrm/models/entity_note_update_params.rbs', line 85

def to_hash: -> {