func (m *RestCreatePeerFolderResponse) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateNode(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this rest create peer folder response
package models
import (
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
)
type RestCreatePeerFolderResponse struct {
	Node *TreeNode `json:"Node,omitempty"`
	Success bool `json:"Success,omitempty"`
}