Sha256: c8e14d85cf720ec9234afc8020b8fe0bd9da3540601653730dfc46ddfa95319a

Contents?: true

Size: 760 Bytes

Versions: 6

Compression:

Stored size: 760 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 :directory_id, String
      const :organization_id, T.nilable(String)
      const :idp_id, String
      const :emails, T::Array[T.untyped]
      const :first_name, T.nilable(String)
      const :last_name, T.nilable(String)
      const :job_title, T.nilable(String)
      const :username, T.nilable(String)
      const :state, T.nilable(String)
      const :groups, T::Array[T.untyped]
      const :custom_attributes, T::Hash[Symbol, T.untyped]
      const :raw_attributes, T::Hash[Symbol, Object]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workos-2.12.1 lib/workos/types/directory_user_struct.rb
workos-2.12.0 lib/workos/types/directory_user_struct.rb
workos-2.11.0 lib/workos/types/directory_user_struct.rb
workos-2.10.0 lib/workos/types/directory_user_struct.rb
workos-2.9.0 lib/workos/types/directory_user_struct.rb
workos-2.8.0 lib/workos/types/directory_user_struct.rb