Class: Amocrm::Models::LeadUpdateByIDParams::Embedded::Metadata

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

Overview

See Also:

Defined Under Namespace

Modules: Category, FormID

Instance Attribute Summary collapse

Class Method 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(category: nil, form_id: nil, form_name: nil, form_page: nil, form_sent_at: nil, form_type: nil, ip: nil, referer: nil, visitor_uid: nil) ⇒ Object

Parameters:

  • category (Symbol, Amocrm::Models::LeadUpdateByIDParams::Embedded::Metadata::Category) (defaults to: nil)

    Unsorted category

  • form_id (String, Integer) (defaults to: nil)

    Form id in your system (string or numeric)

  • form_name (String) (defaults to: nil)

    Form name (shown in amoCRM)

  • form_page (String) (defaults to: nil)

    Page URL where form lives

  • form_sent_at (Integer) (defaults to: nil)

    Unix timestamp (seconds) when the form was submitted

  • form_type (Integer) (defaults to: nil)

    Form type code from amoCRM, use only if you know it

  • ip (String) (defaults to: nil)

    IP address of the submitter

  • referer (String) (defaults to: nil)

    Referrer URL

  • visitor_uid (String) (defaults to: nil)

    Visitor uid from tracking, if you have it



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

Instance Attribute Details

#categorySymbol, ...

Unsorted category



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

optional :category, enum: -> { Amocrm::LeadUpdateByIDParams::Embedded::Metadata::Category }

#form_idString, ...

Form id in your system (string or numeric)

Returns:

  • (String, Integer, nil)


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

optional :form_id, union: -> { Amocrm::LeadUpdateByIDParams::Embedded::Metadata::FormID }

#form_nameString?

Form name (shown in amoCRM)

Returns:

  • (String, nil)


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

optional :form_name, String

#form_pageString?

Page URL where form lives

Returns:

  • (String, nil)


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

optional :form_page, String

#form_sent_atInteger?

Unix timestamp (seconds) when the form was submitted

Returns:

  • (Integer, nil)


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

optional :form_sent_at, Integer

#form_typeInteger?

Form type code from amoCRM, use only if you know it

Returns:

  • (Integer, nil)


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

optional :form_type, Integer

#ipString?

IP address of the submitter

Returns:

  • (String, nil)


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

optional :ip, String

#refererString?

Referrer URL

Returns:

  • (String, nil)


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

optional :referer, String

#visitor_uidString?

Visitor uid from tracking, if you have it

Returns:

  • (String, nil)


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

optional :visitor_uid, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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