Class: Dataleon::Models::CompanyRegistration::Company::Contact

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dataleon/models/company_registration.rb,
sig/dataleon/models/company_registration.rbs

Overview

See Also:

  • Dataleon::Models::CompanyRegistration::Company#contact

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

#initializeObject



426
# File 'sig/dataleon/models/company_registration.rbs', line 426

def initialize: (

Instance Attribute Details

#departmentString?

Department of the contact person.

Parameters:

  • (String)

Returns:

  • (String, nil)


443
# File 'lib/dataleon/models/company_registration.rb', line 443

optional :department, String

#emailString?

Email address of the contact person.

Parameters:

  • (String)

Returns:

  • (String, nil)


449
# File 'lib/dataleon/models/company_registration.rb', line 449

optional :email, String

#first_nameString?

First name of the contact person.

Parameters:

  • (String)

Returns:

  • (String, nil)


455
# File 'lib/dataleon/models/company_registration.rb', line 455

optional :first_name, String

#last_nameString?

Last name of the contact person.

Parameters:

  • (String)

Returns:

  • (String, nil)


461
# File 'lib/dataleon/models/company_registration.rb', line 461

optional :last_name, String

#phone_numberString?

Phone number of the contact person.

Parameters:

  • (String)

Returns:

  • (String, nil)


467
# File 'lib/dataleon/models/company_registration.rb', line 467

optional :phone_number, String

Instance Method Details

#to_hash{

Returns:

  • ({)


434
# File 'sig/dataleon/models/company_registration.rbs', line 434

def to_hash: -> {