Sha256: ba5b4b1acf4cd8647125672a876935f4c6cfb2a35661e15a325f06ce6666ba5a

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

    class Email < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The email address
      field :email_address, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email_address') } }
      # The email address type. Authorized values are either PERSONAL or WORK.
      field :email_address_type, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email_address_type') } }
      # The owner type of an email
      field :owner_type, T.nilable(::OpenApiSDK::Shared::OwnerType), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('owner_type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::OwnerType, true) } }


      sig { params(email_address: ::String, email_address_type: ::String, owner_type: T.nilable(::OpenApiSDK::Shared::OwnerType)).void }
      def initialize(email_address: nil, email_address_type: nil, owner_type: nil)
        @email_address = email_address
        @email_address_type = email_address_type
        @owner_type = owner_type
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/shared/email.rb
panora-0.2.4 lib/open_api_sdk/models/shared/email.rb