Documentation ¶
Index ¶
- Constants
- type CreateServicePlanDeprecated
- type CreateServicePlanDeprecatedCreated
- func (o *CreateServicePlanDeprecatedCreated) SetPayload(payload *models.CreateServicePlanDeprecatedResponseResource)
- func (o *CreateServicePlanDeprecatedCreated) WithPayload(payload *models.CreateServicePlanDeprecatedResponseResource) *CreateServicePlanDeprecatedCreated
- func (o *CreateServicePlanDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServicePlanDeprecatedHandler
- type CreateServicePlanDeprecatedHandlerFunc
- type CreateServicePlanDeprecatedParams
- type CreateServicePlanDeprecatedURL
- func (o *CreateServicePlanDeprecatedURL) Build() (*url.URL, error)
- func (o *CreateServicePlanDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServicePlanDeprecatedURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServicePlanDeprecatedURL) SetBasePath(bp string)
- func (o *CreateServicePlanDeprecatedURL) String() string
- func (o *CreateServicePlanDeprecatedURL) StringFull(scheme, host string) string
- func (o *CreateServicePlanDeprecatedURL) WithBasePath(bp string) *CreateServicePlanDeprecatedURL
- type DeleteServicePlans
- type DeleteServicePlansHandler
- type DeleteServicePlansHandlerFunc
- type DeleteServicePlansNoContent
- type DeleteServicePlansParams
- type DeleteServicePlansURL
- func (o *DeleteServicePlansURL) Build() (*url.URL, error)
- func (o *DeleteServicePlansURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServicePlansURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServicePlansURL) SetBasePath(bp string)
- func (o *DeleteServicePlansURL) String() string
- func (o *DeleteServicePlansURL) StringFull(scheme, host string) string
- func (o *DeleteServicePlansURL) WithBasePath(bp string) *DeleteServicePlansURL
- type ListAllServicePlans
- type ListAllServicePlansHandler
- type ListAllServicePlansHandlerFunc
- type ListAllServicePlansOK
- func (o *ListAllServicePlansOK) SetPayload(payload *models.ListAllServicePlansResponsePaged)
- func (o *ListAllServicePlansOK) WithPayload(payload *models.ListAllServicePlansResponsePaged) *ListAllServicePlansOK
- func (o *ListAllServicePlansOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllServicePlansParams
- type ListAllServicePlansURL
- func (o *ListAllServicePlansURL) Build() (*url.URL, error)
- func (o *ListAllServicePlansURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllServicePlansURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllServicePlansURL) SetBasePath(bp string)
- func (o *ListAllServicePlansURL) String() string
- func (o *ListAllServicePlansURL) StringFull(scheme, host string) string
- func (o *ListAllServicePlansURL) WithBasePath(bp string) *ListAllServicePlansURL
- type RetrieveServicePlan
- type RetrieveServicePlanHandler
- type RetrieveServicePlanHandlerFunc
- type RetrieveServicePlanOK
- func (o *RetrieveServicePlanOK) SetPayload(payload *models.RetrieveServicePlanResponseResource)
- func (o *RetrieveServicePlanOK) WithPayload(payload *models.RetrieveServicePlanResponseResource) *RetrieveServicePlanOK
- func (o *RetrieveServicePlanOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrieveServicePlanParams
- type RetrieveServicePlanURL
- func (o *RetrieveServicePlanURL) Build() (*url.URL, error)
- func (o *RetrieveServicePlanURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveServicePlanURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveServicePlanURL) SetBasePath(bp string)
- func (o *RetrieveServicePlanURL) String() string
- func (o *RetrieveServicePlanURL) StringFull(scheme, host string) string
- func (o *RetrieveServicePlanURL) WithBasePath(bp string) *RetrieveServicePlanURL
- type UpdateServicePlanDeprecated
- type UpdateServicePlanDeprecatedCreated
- func (o *UpdateServicePlanDeprecatedCreated) SetPayload(payload *models.UpdateServicePlanDeprecatedResponseResource)
- func (o *UpdateServicePlanDeprecatedCreated) WithPayload(payload *models.UpdateServicePlanDeprecatedResponseResource) *UpdateServicePlanDeprecatedCreated
- func (o *UpdateServicePlanDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServicePlanDeprecatedHandler
- type UpdateServicePlanDeprecatedHandlerFunc
- type UpdateServicePlanDeprecatedParams
- type UpdateServicePlanDeprecatedURL
- func (o *UpdateServicePlanDeprecatedURL) Build() (*url.URL, error)
- func (o *UpdateServicePlanDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServicePlanDeprecatedURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServicePlanDeprecatedURL) SetBasePath(bp string)
- func (o *UpdateServicePlanDeprecatedURL) String() string
- func (o *UpdateServicePlanDeprecatedURL) StringFull(scheme, host string) string
- func (o *UpdateServicePlanDeprecatedURL) WithBasePath(bp string) *UpdateServicePlanDeprecatedURL
Constants ¶
const CreateServicePlanDeprecatedCreatedCode int = 201
CreateServicePlanDeprecatedCreatedCode is the HTTP code returned for type CreateServicePlanDeprecatedCreated
const DeleteServicePlansNoContentCode int = 204
DeleteServicePlansNoContentCode is the HTTP code returned for type DeleteServicePlansNoContent
const ListAllServicePlansOKCode int = 200
ListAllServicePlansOKCode is the HTTP code returned for type ListAllServicePlansOK
const RetrieveServicePlanOKCode int = 200
RetrieveServicePlanOKCode is the HTTP code returned for type RetrieveServicePlanOK
const UpdateServicePlanDeprecatedCreatedCode int = 201
UpdateServicePlanDeprecatedCreatedCode is the HTTP code returned for type UpdateServicePlanDeprecatedCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServicePlanDeprecated ¶
type CreateServicePlanDeprecated struct { Context *middleware.Context Handler CreateServicePlanDeprecatedHandler }
CreateServicePlanDeprecated swagger:route POST /service_plans servicePlans createServicePlanDeprecated
Creating a Service Plan (deprecated)
curl --insecure -i %s/v2/service_plans -X POST -H 'Authorization: %s' -d '%s'
func NewCreateServicePlanDeprecated ¶
func NewCreateServicePlanDeprecated(ctx *middleware.Context, handler CreateServicePlanDeprecatedHandler) *CreateServicePlanDeprecated
NewCreateServicePlanDeprecated creates a new http.Handler for the create service plan deprecated operation
func (*CreateServicePlanDeprecated) ServeHTTP ¶
func (o *CreateServicePlanDeprecated) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServicePlanDeprecatedCreated ¶
type CreateServicePlanDeprecatedCreated struct { /* In: Body */ Payload *models.CreateServicePlanDeprecatedResponseResource `json:"body,omitempty"` }
CreateServicePlanDeprecatedCreated successful response
swagger:response createServicePlanDeprecatedCreated
func NewCreateServicePlanDeprecatedCreated ¶
func NewCreateServicePlanDeprecatedCreated() *CreateServicePlanDeprecatedCreated
NewCreateServicePlanDeprecatedCreated creates CreateServicePlanDeprecatedCreated with default headers values
func (*CreateServicePlanDeprecatedCreated) SetPayload ¶
func (o *CreateServicePlanDeprecatedCreated) SetPayload(payload *models.CreateServicePlanDeprecatedResponseResource)
SetPayload sets the payload to the create service plan deprecated created response
func (*CreateServicePlanDeprecatedCreated) WithPayload ¶
func (o *CreateServicePlanDeprecatedCreated) WithPayload(payload *models.CreateServicePlanDeprecatedResponseResource) *CreateServicePlanDeprecatedCreated
WithPayload adds the payload to the create service plan deprecated created response
func (*CreateServicePlanDeprecatedCreated) WriteResponse ¶
func (o *CreateServicePlanDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServicePlanDeprecatedHandler ¶
type CreateServicePlanDeprecatedHandler interface {
Handle(CreateServicePlanDeprecatedParams) middleware.Responder
}
CreateServicePlanDeprecatedHandler interface for that can handle valid create service plan deprecated params
type CreateServicePlanDeprecatedHandlerFunc ¶
type CreateServicePlanDeprecatedHandlerFunc func(CreateServicePlanDeprecatedParams) middleware.Responder
CreateServicePlanDeprecatedHandlerFunc turns a function with the right signature into a create service plan deprecated handler
func (CreateServicePlanDeprecatedHandlerFunc) Handle ¶
func (fn CreateServicePlanDeprecatedHandlerFunc) Handle(params CreateServicePlanDeprecatedParams) middleware.Responder
Handle executing the request and returning a response
type CreateServicePlanDeprecatedParams ¶
type CreateServicePlanDeprecatedParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An object instance that is serialized and sent as the request body. Required: true In: body */ Value *models.CreateServicePlanDeprecatedRequest }
CreateServicePlanDeprecatedParams contains all the bound params for the create service plan deprecated operation typically these are obtained from a http.Request
swagger:parameters createServicePlanDeprecated
func NewCreateServicePlanDeprecatedParams ¶
func NewCreateServicePlanDeprecatedParams() CreateServicePlanDeprecatedParams
NewCreateServicePlanDeprecatedParams creates a new CreateServicePlanDeprecatedParams object no default values defined in spec.
func (*CreateServicePlanDeprecatedParams) BindRequest ¶
func (o *CreateServicePlanDeprecatedParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateServicePlanDeprecatedParams() beforehand.
type CreateServicePlanDeprecatedURL ¶
type CreateServicePlanDeprecatedURL struct {
// contains filtered or unexported fields
}
CreateServicePlanDeprecatedURL generates an URL for the create service plan deprecated operation
func (*CreateServicePlanDeprecatedURL) Build ¶
func (o *CreateServicePlanDeprecatedURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServicePlanDeprecatedURL) BuildFull ¶
func (o *CreateServicePlanDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServicePlanDeprecatedURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServicePlanDeprecatedURL) SetBasePath ¶
func (o *CreateServicePlanDeprecatedURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateServicePlanDeprecatedURL) String ¶
func (o *CreateServicePlanDeprecatedURL) String() string
String returns the string representation of the path with query string
func (*CreateServicePlanDeprecatedURL) StringFull ¶
func (o *CreateServicePlanDeprecatedURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServicePlanDeprecatedURL) WithBasePath ¶
func (o *CreateServicePlanDeprecatedURL) WithBasePath(bp string) *CreateServicePlanDeprecatedURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteServicePlans ¶
type DeleteServicePlans struct { Context *middleware.Context Handler DeleteServicePlansHandler }
DeleteServicePlans swagger:route DELETE /service_plans/{guid} servicePlans deleteServicePlans
Delete a Particular Service Plans ¶
curl --insecure -i %s/v2/service_plans/{guid} -X DELETE -H 'Authorization: %s'
func NewDeleteServicePlans ¶
func NewDeleteServicePlans(ctx *middleware.Context, handler DeleteServicePlansHandler) *DeleteServicePlans
NewDeleteServicePlans creates a new http.Handler for the delete service plans operation
func (*DeleteServicePlans) ServeHTTP ¶
func (o *DeleteServicePlans) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServicePlansHandler ¶
type DeleteServicePlansHandler interface {
Handle(DeleteServicePlansParams) middleware.Responder
}
DeleteServicePlansHandler interface for that can handle valid delete service plans params
type DeleteServicePlansHandlerFunc ¶
type DeleteServicePlansHandlerFunc func(DeleteServicePlansParams) middleware.Responder
DeleteServicePlansHandlerFunc turns a function with the right signature into a delete service plans handler
func (DeleteServicePlansHandlerFunc) Handle ¶
func (fn DeleteServicePlansHandlerFunc) Handle(params DeleteServicePlansParams) middleware.Responder
Handle executing the request and returning a response
type DeleteServicePlansNoContent ¶
type DeleteServicePlansNoContent struct { }
DeleteServicePlansNoContent successful response
swagger:response deleteServicePlansNoContent
func NewDeleteServicePlansNoContent ¶
func NewDeleteServicePlansNoContent() *DeleteServicePlansNoContent
NewDeleteServicePlansNoContent creates DeleteServicePlansNoContent with default headers values
func (*DeleteServicePlansNoContent) WriteResponse ¶
func (o *DeleteServicePlansNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServicePlansParams ¶
type DeleteServicePlansParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_plans/:guid' Required: true In: path */ GUID string }
DeleteServicePlansParams contains all the bound params for the delete service plans operation typically these are obtained from a http.Request
swagger:parameters deleteServicePlans
func NewDeleteServicePlansParams ¶
func NewDeleteServicePlansParams() DeleteServicePlansParams
NewDeleteServicePlansParams creates a new DeleteServicePlansParams object no default values defined in spec.
func (*DeleteServicePlansParams) BindRequest ¶
func (o *DeleteServicePlansParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteServicePlansParams() beforehand.
type DeleteServicePlansURL ¶
type DeleteServicePlansURL struct { GUID string // contains filtered or unexported fields }
DeleteServicePlansURL generates an URL for the delete service plans operation
func (*DeleteServicePlansURL) Build ¶
func (o *DeleteServicePlansURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServicePlansURL) BuildFull ¶
func (o *DeleteServicePlansURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServicePlansURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServicePlansURL) SetBasePath ¶
func (o *DeleteServicePlansURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteServicePlansURL) String ¶
func (o *DeleteServicePlansURL) String() string
String returns the string representation of the path with query string
func (*DeleteServicePlansURL) StringFull ¶
func (o *DeleteServicePlansURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServicePlansURL) WithBasePath ¶
func (o *DeleteServicePlansURL) WithBasePath(bp string) *DeleteServicePlansURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListAllServicePlans ¶
type ListAllServicePlans struct { Context *middleware.Context Handler ListAllServicePlansHandler }
ListAllServicePlans swagger:route GET /service_plans servicePlans listAllServicePlans
List all Service Plans ¶
curl --insecure -i %s/v2/service_plans -X GET -H 'Authorization: %s'
func NewListAllServicePlans ¶
func NewListAllServicePlans(ctx *middleware.Context, handler ListAllServicePlansHandler) *ListAllServicePlans
NewListAllServicePlans creates a new http.Handler for the list all service plans operation
func (*ListAllServicePlans) ServeHTTP ¶
func (o *ListAllServicePlans) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllServicePlansHandler ¶
type ListAllServicePlansHandler interface {
Handle(ListAllServicePlansParams) middleware.Responder
}
ListAllServicePlansHandler interface for that can handle valid list all service plans params
type ListAllServicePlansHandlerFunc ¶
type ListAllServicePlansHandlerFunc func(ListAllServicePlansParams) middleware.Responder
ListAllServicePlansHandlerFunc turns a function with the right signature into a list all service plans handler
func (ListAllServicePlansHandlerFunc) Handle ¶
func (fn ListAllServicePlansHandlerFunc) Handle(params ListAllServicePlansParams) middleware.Responder
Handle executing the request and returning a response
type ListAllServicePlansOK ¶
type ListAllServicePlansOK struct { /* In: Body */ Payload *models.ListAllServicePlansResponsePaged `json:"body,omitempty"` }
ListAllServicePlansOK successful response
swagger:response listAllServicePlansOK
func NewListAllServicePlansOK ¶
func NewListAllServicePlansOK() *ListAllServicePlansOK
NewListAllServicePlansOK creates ListAllServicePlansOK with default headers values
func (*ListAllServicePlansOK) SetPayload ¶
func (o *ListAllServicePlansOK) SetPayload(payload *models.ListAllServicePlansResponsePaged)
SetPayload sets the payload to the list all service plans o k response
func (*ListAllServicePlansOK) WithPayload ¶
func (o *ListAllServicePlansOK) WithPayload(payload *models.ListAllServicePlansResponsePaged) *ListAllServicePlansOK
WithPayload adds the payload to the list all service plans o k response
func (*ListAllServicePlansOK) WriteResponse ¶
func (o *ListAllServicePlansOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllServicePlansParams ¶
type ListAllServicePlansParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ListAllServicePlansParams contains all the bound params for the list all service plans operation typically these are obtained from a http.Request
swagger:parameters listAllServicePlans
func NewListAllServicePlansParams ¶
func NewListAllServicePlansParams() ListAllServicePlansParams
NewListAllServicePlansParams creates a new ListAllServicePlansParams object no default values defined in spec.
func (*ListAllServicePlansParams) BindRequest ¶
func (o *ListAllServicePlansParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListAllServicePlansParams() beforehand.
type ListAllServicePlansURL ¶
type ListAllServicePlansURL struct {
// contains filtered or unexported fields
}
ListAllServicePlansURL generates an URL for the list all service plans operation
func (*ListAllServicePlansURL) Build ¶
func (o *ListAllServicePlansURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllServicePlansURL) BuildFull ¶
func (o *ListAllServicePlansURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllServicePlansURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllServicePlansURL) SetBasePath ¶
func (o *ListAllServicePlansURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListAllServicePlansURL) String ¶
func (o *ListAllServicePlansURL) String() string
String returns the string representation of the path with query string
func (*ListAllServicePlansURL) StringFull ¶
func (o *ListAllServicePlansURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllServicePlansURL) WithBasePath ¶
func (o *ListAllServicePlansURL) WithBasePath(bp string) *ListAllServicePlansURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type RetrieveServicePlan ¶
type RetrieveServicePlan struct { Context *middleware.Context Handler RetrieveServicePlanHandler }
RetrieveServicePlan swagger:route GET /service_plans/{guid} servicePlans retrieveServicePlan
Retrieve a Particular Service Plan ¶
curl --insecure -i %s/v2/service_plans/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveServicePlan ¶
func NewRetrieveServicePlan(ctx *middleware.Context, handler RetrieveServicePlanHandler) *RetrieveServicePlan
NewRetrieveServicePlan creates a new http.Handler for the retrieve service plan operation
func (*RetrieveServicePlan) ServeHTTP ¶
func (o *RetrieveServicePlan) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveServicePlanHandler ¶
type RetrieveServicePlanHandler interface {
Handle(RetrieveServicePlanParams) middleware.Responder
}
RetrieveServicePlanHandler interface for that can handle valid retrieve service plan params
type RetrieveServicePlanHandlerFunc ¶
type RetrieveServicePlanHandlerFunc func(RetrieveServicePlanParams) middleware.Responder
RetrieveServicePlanHandlerFunc turns a function with the right signature into a retrieve service plan handler
func (RetrieveServicePlanHandlerFunc) Handle ¶
func (fn RetrieveServicePlanHandlerFunc) Handle(params RetrieveServicePlanParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveServicePlanOK ¶
type RetrieveServicePlanOK struct { /* In: Body */ Payload *models.RetrieveServicePlanResponseResource `json:"body,omitempty"` }
RetrieveServicePlanOK successful response
swagger:response retrieveServicePlanOK
func NewRetrieveServicePlanOK ¶
func NewRetrieveServicePlanOK() *RetrieveServicePlanOK
NewRetrieveServicePlanOK creates RetrieveServicePlanOK with default headers values
func (*RetrieveServicePlanOK) SetPayload ¶
func (o *RetrieveServicePlanOK) SetPayload(payload *models.RetrieveServicePlanResponseResource)
SetPayload sets the payload to the retrieve service plan o k response
func (*RetrieveServicePlanOK) WithPayload ¶
func (o *RetrieveServicePlanOK) WithPayload(payload *models.RetrieveServicePlanResponseResource) *RetrieveServicePlanOK
WithPayload adds the payload to the retrieve service plan o k response
func (*RetrieveServicePlanOK) WriteResponse ¶
func (o *RetrieveServicePlanOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveServicePlanParams ¶
type RetrieveServicePlanParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_plans/:guid' Required: true In: path */ GUID string }
RetrieveServicePlanParams contains all the bound params for the retrieve service plan operation typically these are obtained from a http.Request
swagger:parameters retrieveServicePlan
func NewRetrieveServicePlanParams ¶
func NewRetrieveServicePlanParams() RetrieveServicePlanParams
NewRetrieveServicePlanParams creates a new RetrieveServicePlanParams object no default values defined in spec.
func (*RetrieveServicePlanParams) BindRequest ¶
func (o *RetrieveServicePlanParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewRetrieveServicePlanParams() beforehand.
type RetrieveServicePlanURL ¶
type RetrieveServicePlanURL struct { GUID string // contains filtered or unexported fields }
RetrieveServicePlanURL generates an URL for the retrieve service plan operation
func (*RetrieveServicePlanURL) Build ¶
func (o *RetrieveServicePlanURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveServicePlanURL) BuildFull ¶
func (o *RetrieveServicePlanURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveServicePlanURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveServicePlanURL) SetBasePath ¶
func (o *RetrieveServicePlanURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*RetrieveServicePlanURL) String ¶
func (o *RetrieveServicePlanURL) String() string
String returns the string representation of the path with query string
func (*RetrieveServicePlanURL) StringFull ¶
func (o *RetrieveServicePlanURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveServicePlanURL) WithBasePath ¶
func (o *RetrieveServicePlanURL) WithBasePath(bp string) *RetrieveServicePlanURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateServicePlanDeprecated ¶
type UpdateServicePlanDeprecated struct { Context *middleware.Context Handler UpdateServicePlanDeprecatedHandler }
UpdateServicePlanDeprecated swagger:route PUT /service_plans servicePlans updateServicePlanDeprecated
Updating a Service Plan (deprecated)
curl --insecure -i %s/v2/service_plans -X PUT -H 'Authorization: %s' -d '%s'
func NewUpdateServicePlanDeprecated ¶
func NewUpdateServicePlanDeprecated(ctx *middleware.Context, handler UpdateServicePlanDeprecatedHandler) *UpdateServicePlanDeprecated
NewUpdateServicePlanDeprecated creates a new http.Handler for the update service plan deprecated operation
func (*UpdateServicePlanDeprecated) ServeHTTP ¶
func (o *UpdateServicePlanDeprecated) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServicePlanDeprecatedCreated ¶
type UpdateServicePlanDeprecatedCreated struct { /* In: Body */ Payload *models.UpdateServicePlanDeprecatedResponseResource `json:"body,omitempty"` }
UpdateServicePlanDeprecatedCreated successful response
swagger:response updateServicePlanDeprecatedCreated
func NewUpdateServicePlanDeprecatedCreated ¶
func NewUpdateServicePlanDeprecatedCreated() *UpdateServicePlanDeprecatedCreated
NewUpdateServicePlanDeprecatedCreated creates UpdateServicePlanDeprecatedCreated with default headers values
func (*UpdateServicePlanDeprecatedCreated) SetPayload ¶
func (o *UpdateServicePlanDeprecatedCreated) SetPayload(payload *models.UpdateServicePlanDeprecatedResponseResource)
SetPayload sets the payload to the update service plan deprecated created response
func (*UpdateServicePlanDeprecatedCreated) WithPayload ¶
func (o *UpdateServicePlanDeprecatedCreated) WithPayload(payload *models.UpdateServicePlanDeprecatedResponseResource) *UpdateServicePlanDeprecatedCreated
WithPayload adds the payload to the update service plan deprecated created response
func (*UpdateServicePlanDeprecatedCreated) WriteResponse ¶
func (o *UpdateServicePlanDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServicePlanDeprecatedHandler ¶
type UpdateServicePlanDeprecatedHandler interface {
Handle(UpdateServicePlanDeprecatedParams) middleware.Responder
}
UpdateServicePlanDeprecatedHandler interface for that can handle valid update service plan deprecated params
type UpdateServicePlanDeprecatedHandlerFunc ¶
type UpdateServicePlanDeprecatedHandlerFunc func(UpdateServicePlanDeprecatedParams) middleware.Responder
UpdateServicePlanDeprecatedHandlerFunc turns a function with the right signature into a update service plan deprecated handler
func (UpdateServicePlanDeprecatedHandlerFunc) Handle ¶
func (fn UpdateServicePlanDeprecatedHandlerFunc) Handle(params UpdateServicePlanDeprecatedParams) middleware.Responder
Handle executing the request and returning a response
type UpdateServicePlanDeprecatedParams ¶
type UpdateServicePlanDeprecatedParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An object instance that is serialized and sent as the request body. Required: true In: body */ Value *models.UpdateServicePlanDeprecatedRequest }
UpdateServicePlanDeprecatedParams contains all the bound params for the update service plan deprecated operation typically these are obtained from a http.Request
swagger:parameters updateServicePlanDeprecated
func NewUpdateServicePlanDeprecatedParams ¶
func NewUpdateServicePlanDeprecatedParams() UpdateServicePlanDeprecatedParams
NewUpdateServicePlanDeprecatedParams creates a new UpdateServicePlanDeprecatedParams object no default values defined in spec.
func (*UpdateServicePlanDeprecatedParams) BindRequest ¶
func (o *UpdateServicePlanDeprecatedParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateServicePlanDeprecatedParams() beforehand.
type UpdateServicePlanDeprecatedURL ¶
type UpdateServicePlanDeprecatedURL struct {
// contains filtered or unexported fields
}
UpdateServicePlanDeprecatedURL generates an URL for the update service plan deprecated operation
func (*UpdateServicePlanDeprecatedURL) Build ¶
func (o *UpdateServicePlanDeprecatedURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServicePlanDeprecatedURL) BuildFull ¶
func (o *UpdateServicePlanDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServicePlanDeprecatedURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServicePlanDeprecatedURL) SetBasePath ¶
func (o *UpdateServicePlanDeprecatedURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateServicePlanDeprecatedURL) String ¶
func (o *UpdateServicePlanDeprecatedURL) String() string
String returns the string representation of the path with query string
func (*UpdateServicePlanDeprecatedURL) StringFull ¶
func (o *UpdateServicePlanDeprecatedURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServicePlanDeprecatedURL) WithBasePath ¶
func (o *UpdateServicePlanDeprecatedURL) WithBasePath(bp string) *UpdateServicePlanDeprecatedURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- create_service_plan_deprecated.go
- create_service_plan_deprecated_parameters.go
- create_service_plan_deprecated_responses.go
- create_service_plan_deprecated_urlbuilder.go
- delete_service_plans.go
- delete_service_plans_parameters.go
- delete_service_plans_responses.go
- delete_service_plans_urlbuilder.go
- list_all_service_plans.go
- list_all_service_plans_parameters.go
- list_all_service_plans_responses.go
- list_all_service_plans_urlbuilder.go
- retrieve_service_plan.go
- retrieve_service_plan_parameters.go
- retrieve_service_plan_responses.go
- retrieve_service_plan_urlbuilder.go
- update_service_plan_deprecated.go
- update_service_plan_deprecated_parameters.go
- update_service_plan_deprecated_responses.go
- update_service_plan_deprecated_urlbuilder.go