Class: Amocrm::Models::UnsortedLeadCreateFormsParams::Body::Metadata

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

Overview

See Also:

Defined Under Namespace

Modules: FormID

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

Form metadata

Parameters:

  • 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/unsorted_lead_create_forms_params.rb', line 130

Instance Attribute Details

#form_idString, ...

Form id in your system (string or numeric)

Returns:

  • (String, Integer, nil)


86
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 86

optional :form_id, union: -> { Amocrm::UnsortedLeadCreateFormsParams::Body::Metadata::FormID }

#form_nameString?

Form name (shown in amoCRM)

Returns:

  • (String, nil)


92
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 92

optional :form_name, String

#form_pageString?

Page URL where form lives

Returns:

  • (String, nil)


98
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 98

optional :form_page, String

#form_sent_atInteger?

Unix timestamp (seconds) when the form was submitted

Returns:

  • (Integer, nil)


104
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 104

optional :form_sent_at, Integer

#form_typeInteger?

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

Returns:

  • (Integer, nil)


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

optional :form_type, Integer

#ipString?

IP address of the submitter

Returns:

  • (String, nil)


116
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 116

optional :ip, String

#refererString?

Referrer URL

Returns:

  • (String, nil)


122
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 122

optional :referer, String

#visitor_uidString?

Visitor uid from tracking, if you have it

Returns:

  • (String, nil)


128
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 128

optional :visitor_uid, String