Sha256: c96814e7ee64a198d1398e036c0d5ff07d0a82ef6ccfb5241210461233ee0053

Contents?: true

Size: 1.61 KB

Versions: 7

Compression:

Stored size: 1.61 KB

Contents

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

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  

    class AccessTokenUser < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig


      field :admin, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('admin') } }

      field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }

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

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

      field :email_verified, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('email_verified') } }

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


      sig { params(admin: T.nilable(T::Boolean), created_at: T.nilable(::DateTime), display_name: T.nilable(::String), email: T.nilable(::String), email_verified: T.nilable(T::Boolean), id: T.nilable(::String)).void }
      def initialize(admin: nil, created_at: nil, display_name: nil, email: nil, email_verified: nil, id: nil)
        @admin = admin
        @created_at = created_at
        @display_name = display_name
        @email = email
        @email_verified = email_verified
        @id = id
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.22 lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb
speakeasy_client_sdk_ruby-4.2.21 lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb
speakeasy_client_sdk_ruby-4.2.20 lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb
speakeasy_client_sdk_ruby-4.2.19 lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb
speakeasy_client_sdk_ruby-4.2.18 lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb
speakeasy_client_sdk_ruby-4.2.17 lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb
speakeasy_client_sdk_ruby-4.2.16 lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb