Sha256: c290d3d3326c5d265f191c93794aa08001c190a88cc84729a6ad46371216d90b

Contents?: true

Size: 416 Bytes

Versions: 36

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    # Represents a user or group that is a member of an AccessRole
    class AccessRoleMember < Struct
      include Checkable

      TYPES = %w[sunetid
                 workgroup].freeze

      # Name of role
      attribute :type, Types::Strict::String.enum(*AccessRoleMember::TYPES)
      attribute :identifier, Types::Strict::String
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
cocina-models-0.99.1 lib/cocina/models/access_role_member.rb
cocina-models-0.99.0 lib/cocina/models/access_role_member.rb
cocina-models-0.98.1 lib/cocina/models/access_role_member.rb
cocina-models-0.98.0 lib/cocina/models/access_role_member.rb
cocina-models-0.96.0 lib/cocina/models/access_role_member.rb
cocina-models-0.95.1 lib/cocina/models/access_role_member.rb
cocina-models-0.95.0 lib/cocina/models/access_role_member.rb
cocina-models-0.94.2 lib/cocina/models/access_role_member.rb
cocina-models-0.94.1 lib/cocina/models/access_role_member.rb
cocina-models-0.94.0 lib/cocina/models/access_role_member.rb
cocina-models-0.93.1 lib/cocina/models/access_role_member.rb
cocina-models-0.93.0 lib/cocina/models/access_role_member.rb
cocina-models-0.92.0 lib/cocina/models/access_role_member.rb
cocina-models-0.91.4 lib/cocina/models/access_role_member.rb
cocina-models-0.91.3 lib/cocina/models/access_role_member.rb
cocina-models-0.91.2 lib/cocina/models/access_role_member.rb
cocina-models-0.91.1 lib/cocina/models/access_role_member.rb
cocina-models-0.91.0 lib/cocina/models/access_role_member.rb
cocina-models-0.90.0 lib/cocina/models/access_role_member.rb
cocina-models-0.89.1 lib/cocina/models/access_role_member.rb