Class: Amocrm::Models::WidgetGetByCodeResponse::Widget

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

Defined Under Namespace

Modules: Rating, Version Classes: SettingsTemplate

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

Parameters:

  • is_required (Boolean) (defaults to: nil)
  • key (String) (defaults to: nil)
  • name (String) (defaults to: nil)
  • type (String) (defaults to: nil)


# File 'lib/amocrm/models/widget_get_by_code_response.rb', line 80

Instance Attribute Details

Returns:

  • (Object, nil)


22
# File 'lib/amocrm/models/widget_get_by_code_response.rb', line 22

optional :_links, Amocrm::Internal::Type::Unknown

#client_uuidString?

Returns:

  • (String, nil)


27
# File 'lib/amocrm/models/widget_get_by_code_response.rb', line 27

optional :client_uuid, String, nil?: true

#codeString?

Returns:

  • (String, nil)


32
# File 'lib/amocrm/models/widget_get_by_code_response.rb', line 32

optional :code, String

#idInteger?

Returns:

  • (Integer, nil)


17
# File 'lib/amocrm/models/widget_get_by_code_response.rb', line 17

optional :id, Integer

#is_active_in_accountBoolean?

Returns:

  • (Boolean, nil)


37
# File 'lib/amocrm/models/widget_get_by_code_response.rb', line 37

optional :is_active_in_account, Amocrm::Internal::Type::Boolean

#is_crm_templateBoolean?

Returns:

  • (Boolean, nil)


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

optional :is_crm_template, Amocrm::Internal::Type::Boolean

#is_lead_sourceBoolean?

Returns:

  • (Boolean, nil)


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

optional :is_lead_source, Amocrm::Internal::Type::Boolean

#is_work_with_dpBoolean?

Returns:

  • (Boolean, nil)


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

optional :is_work_with_dp, Amocrm::Internal::Type::Boolean

#pipeline_idInteger?

Returns:

  • (Integer, nil)


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

optional :pipeline_id, Integer, nil?: true

#ratingString, ...

Returns:

  • (String, Float, nil)


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

optional :rating, union: -> { Amocrm::Models::WidgetGetByCodeResponse::Widget::Rating }, nil?: true

#settingsObject?

Returns:

  • (Object, nil)


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

optional :settings, Amocrm::Internal::Type::Unknown, nil?: true

#settings_templateArray<Amocrm::Models::WidgetGetByCodeResponse::Widget::SettingsTemplate>?



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

optional :settings_template,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::WidgetGetByCodeResponse::Widget::SettingsTemplate] }

#versionString, ...

Returns:

  • (String, Integer, nil)


78
# File 'lib/amocrm/models/widget_get_by_code_response.rb', line 78

optional :version, union: -> { Amocrm::Models::WidgetGetByCodeResponse::Widget::Version }, nil?: true

Class Method Details

.variantsArray(String, Float)

Returns:

  • (Array(String, Float))


# File 'lib/amocrm/models/widget_get_by_code_response.rb', line 103