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

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/widget_get_by_code_response.rb,
sig/amocrm/models/widget_get_by_code_response.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 ⇒ Object



132
# File 'sig/amocrm/models/widget_get_by_code_response.rbs', line 132

def initialize: (

Instance Attribute Details

#is_required ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

optional :is_required, Amocrm::Internal::Type::Boolean

#key ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :key, String

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :name, String

#type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :type, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


139
# File 'sig/amocrm/models/widget_get_by_code_response.rbs', line 139

def to_hash: -> {