// Code generated by go-swagger; DO NOT EDIT.

package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"context"

	"github.com/go-openapi/strfmt"
)

// Metadata Metadata contains user accesses for a given resource
// Ex: map[string]bool{"create":true, "delete": true}
//
// swagger:model Metadata
type Metadata map[string]bool

// Validate validates this metadata
func (m Metadata) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this metadata based on context it is used
func (m Metadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}
