chronograf/models/routes.go

40 lines
747 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"
)
/*Routes routes
swagger:model Routes
*/
type Routes struct {
/* Location of the layouts endpoint
*/
Layouts string `json:"layouts,omitempty"`
/* Location of the sources endpoint
*/
Sources string `json:"sources,omitempty"`
/* Location of the users endpoint
*/
Users string `json:"users,omitempty"`
}
// Validate validates this routes
func (m *Routes) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}