chronograf/models/all_permissions.go

27 lines
562 B
Go

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 (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/errors"
)
/*AllPermissions All Possible permission strings
swagger:model AllPermissions
*/
type AllPermissions []Permission
// Validate validates this all permissions
func (m AllPermissions) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}