Class: Amocrm::Models::PipelineCreateResponse::Problem

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/pipeline_create_response.rb,
sig/amocrm/models/pipeline_create_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(detail: nil, status: nil, title: nil, type: nil) ⇒ Object

Parameters:

  • detail (String) (defaults to: nil)
  • status (Integer) (defaults to: nil)
  • title (String) (defaults to: nil)
  • type (String) (defaults to: nil)


# File 'lib/amocrm/models/pipeline_create_response.rb', line 84

Instance Attribute Details

#detail ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :detail, String

#status ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :status, Integer

#title ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


77
# File 'lib/amocrm/models/pipeline_create_response.rb', line 77

optional :title, String

#type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


82
# File 'lib/amocrm/models/pipeline_create_response.rb', line 82

optional :type, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


110
# File 'sig/amocrm/models/pipeline_create_response.rbs', line 110

def to_hash: -> {