# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Shared class Phone < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig # The phone number starting with a plus (+) followed by the country code (e.g +336676778890 for France) field :phone_number, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('phone_number') } } # The phone type. Authorized values are either MOBILE or WORK field :phone_type, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('phone_type') } } # The owner type of a phone number field :owner_type, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('owner_type') } } sig { params(phone_number: ::String, phone_type: ::String, owner_type: T.nilable(::String)).void } def initialize(phone_number: nil, phone_type: nil, owner_type: nil) @phone_number = phone_number @phone_type = phone_type @owner_type = owner_type end end end end