Class: Cadenya::Models::WorkspaceMember

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/workspace_member.rb

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(actor_id:, profile_id:, added_at: nil, email: nil, name: nil) ⇒ Object

A member of a workspace: the profile granted access plus the actor row that links it to the workspace. Returned by member list/add operations.

Parameters:

  • actor_id (String)

    The actor row linking the profile to the workspace (the junction record).

  • profile_id (String)

    The account profile that has access to the workspace.

  • added_at (Time) (defaults to: nil)

    When the member was added to the workspace.

  • email (String) (defaults to: nil)

    Email address of the member’s profile.

  • name (String) (defaults to: nil)

    Display name of the member’s profile.



# File 'lib/cadenya/models/workspace_member.rb', line 38