1 // Code generated by go-swagger; DO NOT EDIT.
5 // This file was generated by the swagger tool.
6 // Editing this file might prove futile when you re-run the swagger generate command
11 "github.com/go-openapi/errors"
12 "github.com/go-openapi/runtime/middleware"
15 // NewGetAllSubscriptionsParams creates a new GetAllSubscriptionsParams object
16 // no default values defined in spec.
17 func NewGetAllSubscriptionsParams() GetAllSubscriptionsParams {
19 return GetAllSubscriptionsParams{}
22 // GetAllSubscriptionsParams contains all the bound params for the get all subscriptions operation
23 // typically these are obtained from a http.Request
25 // swagger:parameters getAllSubscriptions
26 type GetAllSubscriptionsParams struct {
28 // HTTP Request Object
29 HTTPRequest *http.Request `json:"-"`
32 // BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface
33 // for simple values it will use straight method calls.
35 // To ensure default values, the struct must have been initialized with NewGetAllSubscriptionsParams() beforehand.
36 func (o *GetAllSubscriptionsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error {
42 return errors.CompositeValidationError(res...)