Class: Amocrm::Models::LeadUpdateByIDParams::Embedded::Source

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

Overview

See Also:

Defined Under Namespace

Modules: ExternalID

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(external_id: nil, type: nil) ⇒ Object

Parameters:

  • external_id (String, Integer, Boolean) (defaults to: nil)

    External id in your system

  • type (String) (defaults to: nil)

    Source type



# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 395

Instance Attribute Details

#external_idString, ...

External id in your system

Returns:

  • (String, Integer, Boolean, nil)


387
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 387

optional :external_id, union: -> { Amocrm::LeadUpdateByIDParams::Embedded::Source::ExternalID }

#typeString?

Source type

Returns:

  • (String, nil)


393
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 393

optional :type, String