Sha256: 611dbe456a4b0875d0537c661dbb1dbdd5714dd05aaaefa05e21e6c0ac59795d

Contents?: true

Size: 1.34 KB

Versions: 3

Compression:

Stored size: 1.34 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class User < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :email, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }

      field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }

      field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }

      field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }

      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }

      field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }


      sig { params(email: ::String, id: ::String, first_name: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String)).void }
      def initialize(email: nil, id: nil, first_name: nil, last_name: nil, name: nil, phone: nil)
        @email = email
        @id = id
        @first_name = first_name
        @last_name = last_name
        @name = name
        @phone = phone
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.2.4 lib/stack_one/models/shared/user.rb
stackone_client-0.2.3 lib/stack_one/models/shared/user.rb
stackone_client-0.2.2 lib/stack_one/models/shared/user.rb