Sha256: 06d2ed81c26426909cc0751ca73c66a2dc713442790d9a36519b2b8ae251903c

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

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 :first_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }

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

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

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

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


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.0.2 lib/stackone/models/shared/user.rb