Sha256: 13d545e8cf29fa7a039376b5dbfab47c73ab034d4ebdc35a251a6f0173126341

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 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 :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

1 entries across 1 versions & 1 rubygems

Version Path
workos-0.11.0 lib/workos/types/directory_user_struct.rb