Class: FinchAPI::Models::HRIS::Individual::UnionMember0::PhoneNumber

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/hris/individual.rb

Defined Under Namespace

Modules: Type

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_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!

Constructor Details

#initialize(data: , type: ) ⇒ Object

Parameters:

  • data (String, nil) (defaults to: )
  • type (Symbol, FinchAPI::HRIS::Individual::UnionMember0::PhoneNumber::Type, nil) (defaults to: )


# File 'lib/finch_api/models/hris/individual.rb', line 179

Instance Attribute Details

#dataString?

Returns:

  • (String, nil)


168
# File 'lib/finch_api/models/hris/individual.rb', line 168

required :data, String, nil?: true

#typeSymbol, ...

Returns:

  • (Symbol, FinchAPI::HRIS::Individual::UnionMember0::PhoneNumber::Type, nil)


173
174
175
176
177
# File 'lib/finch_api/models/hris/individual.rb', line 173

required :type,
enum: -> {
  FinchAPI::HRIS::Individual::UnionMember0::PhoneNumber::Type
},
nil?: true