Sha256: f03e984cd35c037cb685f587bffc02a25a79e285ca5a20c76aba8e15cc697c31
Contents?: true
Size: 850 Bytes
Versions: 16
Compression:
Stored size: 850 Bytes
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class PhoneNumber < ::StackOne::Utils::FieldAugmented extend T::Sig # Phone number string field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } } # Type of phone number field :type, T.nilable(::StackOne::Shared::PhoneNumberType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::StackOne::Shared::PhoneNumberType, true) } } sig { params(phone: T.nilable(::String), type: T.nilable(::StackOne::Shared::PhoneNumberType)).void } def initialize(phone: nil, type: nil) @phone = phone @type = type end end end end
Version data entries
16 entries across 16 versions & 1 rubygems