Sha256: 2868d98193f3b5062a3a27904da42187d19b95bbf12e1dccb4c949d8d698557d

Contents?: true

Size: 824 Bytes

Versions: 9

Compression:

Stored size: 824 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]
      const :created_at, String
      const :updated_at, String
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
workos-4.1.0 lib/workos/types/directory_user_struct.rb
workos-4.0.0 lib/workos/types/directory_user_struct.rb
workos-3.1.0 lib/workos/types/directory_user_struct.rb
workos-3.0.0 lib/workos/types/directory_user_struct.rb
workos-2.17.0 lib/workos/types/directory_user_struct.rb
workos-2.16.0 lib/workos/types/directory_user_struct.rb
workos-2.15.0 lib/workos/types/directory_user_struct.rb
workos-2.14.0 lib/workos/types/directory_user_struct.rb
workos-2.13.0 lib/workos/types/directory_user_struct.rb