Class: Amocrm::Models::WebsiteButtonUpdateResponse::WebsiteButton

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



51
# File 'sig/amocrm/models/website_button_update_response.rbs', line 51

def initialize: (

Instance Attribute Details

#account_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :account_id, Integer

#button_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :button_id, Integer

#creation_status ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :creation_status, String

#is_duplication_control_enabled ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

optional :is_duplication_control_enabled, Amocrm::Internal::Type::Boolean

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :name, String

#pipeline_id ⇒ Integer?

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


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

optional :pipeline_id, Integer, nil?: true

#script ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :script, String, nil?: true

#source_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :source_id, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


62
# File 'sig/amocrm/models/website_button_update_response.rbs', line 62

def to_hash: -> {