Sha256: af633ed891c4066f5b77c3db70bd91b37f521c13c95011f11b7c1b066add5d27

Contents?: true

Size: 536 Bytes

Versions: 6

Compression:

Stored size: 536 Bytes

Contents

# frozen_string_literal: true
# typed: strict

module WorkOS
  module Types
    # The DirectoryUserStruct acts as a typed interface
    # for the DirectoryUser class
    class DirectoryUserStruct < T::Struct
      const :id, String
      const :idp_id, String
      const :emails, T::Array[T.untyped]
      const :first_name, T.nilable(String)
      const :last_name, T.nilable(String)
      const :username, T.nilable(String)
      const :state, T.nilable(String)
      const :raw_attributes, T::Hash[Symbol, Object]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workos-1.2.1 lib/workos/types/directory_user_struct.rb
workos-1.2.0 lib/workos/types/directory_user_struct.rb
workos-1.1.0 lib/workos/types/directory_user_struct.rb
workos-1.0.0 lib/workos/types/directory_user_struct.rb
workos-0.11.2 lib/workos/types/directory_user_struct.rb
workos-0.11.1 lib/workos/types/directory_user_struct.rb