Sha256: 7aa38a926c3322ae600919e00ce17ba2a8d248d6443445532584236053ab05bc

Contents?: true

Size: 577 Bytes

Versions: 2

Compression:

Stored size: 577 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 :groups, T::Array[T.untyped]
      const :raw_attributes, T::Hash[Symbol, Object]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workos-1.4.0 lib/workos/types/directory_user_struct.rb
workos-1.3.0 lib/workos/types/directory_user_struct.rb