Module: Amocrm::Models::UserCreateResponse

Extended by:
Internal::Type::Union
Defined in:
lib/amocrm/models/user_create_response.rb,
sig/amocrm/models/user_create_response.rbs

Overview

See Also:

  • Amocrm::Resources::Users#create

Defined Under Namespace

Classes: Problem, UserCreateResponse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variants ⇒ Array(Amocrm::Models::UserCreateResponse::UserCreateResponse, Amocrm::Models::UserCreateResponse::Problem)



# File 'lib/amocrm/models/user_create_response.rb', line 469

Instance Method Details

#initialize(entity_type: nil, pipeline_id: nil, rights: nil, status_id: nil) ⇒ Object

Parameters:

  • entity_type (String) (defaults to: nil)
  • pipeline_id (Integer) (defaults to: nil)
  • rights (Object) (defaults to: nil)
  • status_id (Integer) (defaults to: nil)


# File 'lib/amocrm/models/user_create_response.rb', line 430

#self?.variants ⇒ ::Array[Amocrm::Models::user_create_response]

Returns:

  • (::Array[Amocrm::Models::user_create_response])


591
# File 'sig/amocrm/models/user_create_response.rbs', line 591

def self?.variants: -> ::Array[Amocrm::Models::user_create_response]