Class: Amocrm::Models::EntityNotesByParentCreateByParentParams::Body

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb,
sig/amocrm/models/entity_notes_by_parent_create_by_parent_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(note_type:, created_at: nil, created_by: nil, entity_id: nil, is_need_to_trigger_digital_pipeline: nil, params: nil, request_id: nil, responsible_user_id: nil, updated_by: nil) ⇒ Object

Parameters:

  • note_type (String)
  • created_at (Integer) (defaults to: nil)
  • created_by (Integer) (defaults to: nil)
  • entity_id (Integer) (defaults to: nil)
  • is_need_to_trigger_digital_pipeline (Boolean) (defaults to: nil)
  • params (Object) (defaults to: nil)
  • request_id (String) (defaults to: nil) —

    Client-side request id

  • responsible_user_id (Integer) (defaults to: nil)
  • updated_by (Integer) (defaults to: nil)


# File 'lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb', line 91

Instance Attribute Details

#created_at ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


53
# File 'lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb', line 53

optional :created_at, Integer

#created_by ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


58
# File 'lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb', line 58

optional :created_by, Integer

#entity_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


63
# File 'lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb', line 63

optional :entity_id, Integer

#is_need_to_trigger_digital_pipeline ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


68
# File 'lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb', line 68

optional :is_need_to_trigger_digital_pipeline, Amocrm::Internal::Type::Boolean

#note_type ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


48
# File 'lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb', line 48

required :note_type, String

#params ⇒ Object?

Parameters:

  • (top)

Returns:

  • (Object, nil)


73
# File 'lib/amocrm/models/entity_notes_by_parent_create_by_parent_params.rb', line 73

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

#request_id ⇒ String?

Client-side request id

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :request_id, String

#responsible_user_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :responsible_user_id, Integer

#updated_by ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :updated_by, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


108
# File 'sig/amocrm/models/entity_notes_by_parent_create_by_parent_params.rbs', line 108

def to_hash: -> {