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.89.0 lib/cocina/models/access_role_member.rb
cocina-models-0.88.0 lib/cocina/models/access_role_member.rb
cocina-models-0.87.1 lib/cocina/models/access_role_member.rb
cocina-models-0.87.0 lib/cocina/models/access_role_member.rb
cocina-models-0.86.0 lib/cocina/models/access_role_member.rb
cocina-models-0.85.0 lib/cocina/models/access_role_member.rb
cocina-models-0.84.5 lib/cocina/models/access_role_member.rb
cocina-models-0.84.4 lib/cocina/models/access_role_member.rb
cocina-models-0.84.3 lib/cocina/models/access_role_member.rb
cocina-models-0.84.2 lib/cocina/models/access_role_member.rb
cocina-models-0.84.1 lib/cocina/models/access_role_member.rb
cocina-models-0.84.0 lib/cocina/models/access_role_member.rb
cocina-models-0.83.0 lib/cocina/models/access_role_member.rb
cocina-models-0.82.0 lib/cocina/models/access_role_member.rb
cocina-models-0.81.0 lib/cocina/models/access_role_member.rb
cocina-models-0.80.0 lib/cocina/models/access_role_member.rb