Class: Revox::Models::PhoneNumberListResponse::PhoneNumber::CreatedBy

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

Overview

See Also:

  • Revox::Models::PhoneNumberListResponse::PhoneNumber#created_by

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



97
# File 'sig/revox/models/phone_number_list_response.rbs', line 97

def initialize: (

Instance Attribute Details

#emailString

Parameters:

  • value (String)

Returns:

  • (String)


109
# File 'lib/revox/models/phone_number_list_response.rb', line 109

required :email, String

#first_nameString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


114
# File 'lib/revox/models/phone_number_list_response.rb', line 114

required :first_name, String, nil?: true

#idString

The database user id (foreign key target on calls.assignee_id).

Parameters:

  • value (String)

Returns:

  • (String)


104
# File 'lib/revox/models/phone_number_list_response.rb', line 104

required :id, String

#last_nameString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


119
# File 'lib/revox/models/phone_number_list_response.rb', line 119

required :last_name, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


104
# File 'sig/revox/models/phone_number_list_response.rbs', line 104

def to_hash: -> {