services

package
v0.0.0-...-7977c27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const CreateServiceDeprecatedCreatedCode int = 201

CreateServiceDeprecatedCreatedCode is the HTTP code returned for type CreateServiceDeprecatedCreated

View Source
const DeleteServiceNoContentCode int = 204

DeleteServiceNoContentCode is the HTTP code returned for type DeleteServiceNoContent

View Source
const ListAllServicePlansForServiceOKCode int = 200

ListAllServicePlansForServiceOKCode is the HTTP code returned for type ListAllServicePlansForServiceOK

View Source
const ListAllServicesOKCode int = 200

ListAllServicesOKCode is the HTTP code returned for type ListAllServicesOK

View Source
const RetrieveServiceOKCode int = 200

RetrieveServiceOKCode is the HTTP code returned for type RetrieveServiceOK

View Source
const UpdateServiceDeprecatedCreatedCode int = 201

UpdateServiceDeprecatedCreatedCode is the HTTP code returned for type UpdateServiceDeprecatedCreated

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateServiceDeprecated

type CreateServiceDeprecated struct {
	Context *middleware.Context
	Handler CreateServiceDeprecatedHandler
}

CreateServiceDeprecated swagger:route POST /services services createServiceDeprecated

Creating a Service (deprecated)

curl --insecure -i %s/v2/services -X POST -H 'Authorization: %s' -d '%s'

func NewCreateServiceDeprecated

func NewCreateServiceDeprecated(ctx *middleware.Context, handler CreateServiceDeprecatedHandler) *CreateServiceDeprecated

NewCreateServiceDeprecated creates a new http.Handler for the create service deprecated operation

func (*CreateServiceDeprecated) ServeHTTP

type CreateServiceDeprecatedCreated

type CreateServiceDeprecatedCreated struct {

	/*
	  In: Body
	*/
	Payload *models.CreateServiceDeprecatedResponseResource `json:"body,omitempty"`
}

CreateServiceDeprecatedCreated successful response

swagger:response createServiceDeprecatedCreated

func NewCreateServiceDeprecatedCreated

func NewCreateServiceDeprecatedCreated() *CreateServiceDeprecatedCreated

NewCreateServiceDeprecatedCreated creates CreateServiceDeprecatedCreated with default headers values

func (*CreateServiceDeprecatedCreated) SetPayload

SetPayload sets the payload to the create service deprecated created response

func (*CreateServiceDeprecatedCreated) WithPayload

WithPayload adds the payload to the create service deprecated created response

func (*CreateServiceDeprecatedCreated) WriteResponse

func (o *CreateServiceDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateServiceDeprecatedHandler

type CreateServiceDeprecatedHandler interface {
	Handle(CreateServiceDeprecatedParams) middleware.Responder
}

CreateServiceDeprecatedHandler interface for that can handle valid create service deprecated params

type CreateServiceDeprecatedHandlerFunc

type CreateServiceDeprecatedHandlerFunc func(CreateServiceDeprecatedParams) middleware.Responder

CreateServiceDeprecatedHandlerFunc turns a function with the right signature into a create service deprecated handler

func (CreateServiceDeprecatedHandlerFunc) Handle

Handle executing the request and returning a response

type CreateServiceDeprecatedParams

type CreateServiceDeprecatedParams 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.CreateServiceDeprecatedRequest
}

CreateServiceDeprecatedParams contains all the bound params for the create service deprecated operation typically these are obtained from a http.Request

swagger:parameters createServiceDeprecated

func NewCreateServiceDeprecatedParams

func NewCreateServiceDeprecatedParams() CreateServiceDeprecatedParams

NewCreateServiceDeprecatedParams creates a new CreateServiceDeprecatedParams object no default values defined in spec.

func (*CreateServiceDeprecatedParams) BindRequest

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 NewCreateServiceDeprecatedParams() beforehand.

type CreateServiceDeprecatedURL

type CreateServiceDeprecatedURL struct {
	// contains filtered or unexported fields
}

CreateServiceDeprecatedURL generates an URL for the create service deprecated operation

func (*CreateServiceDeprecatedURL) Build

func (o *CreateServiceDeprecatedURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateServiceDeprecatedURL) BuildFull

func (o *CreateServiceDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateServiceDeprecatedURL) Must

func (o *CreateServiceDeprecatedURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateServiceDeprecatedURL) SetBasePath

func (o *CreateServiceDeprecatedURL) 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 (*CreateServiceDeprecatedURL) String

func (o *CreateServiceDeprecatedURL) String() string

String returns the string representation of the path with query string

func (*CreateServiceDeprecatedURL) StringFull

func (o *CreateServiceDeprecatedURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateServiceDeprecatedURL) WithBasePath

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 DeleteService

type DeleteService struct {
	Context *middleware.Context
	Handler DeleteServiceHandler
}

DeleteService swagger:route DELETE /services/{guid} services deleteService

Delete a Particular Service

curl --insecure -i %s/v2/services/{guid} -X DELETE -H 'Authorization: %s'

func NewDeleteService

func NewDeleteService(ctx *middleware.Context, handler DeleteServiceHandler) *DeleteService

NewDeleteService creates a new http.Handler for the delete service operation

func (*DeleteService) ServeHTTP

func (o *DeleteService) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteServiceHandler

type DeleteServiceHandler interface {
	Handle(DeleteServiceParams) middleware.Responder
}

DeleteServiceHandler interface for that can handle valid delete service params

type DeleteServiceHandlerFunc

type DeleteServiceHandlerFunc func(DeleteServiceParams) middleware.Responder

DeleteServiceHandlerFunc turns a function with the right signature into a delete service handler

func (DeleteServiceHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteServiceNoContent

type DeleteServiceNoContent struct {
}

DeleteServiceNoContent successful response

swagger:response deleteServiceNoContent

func NewDeleteServiceNoContent

func NewDeleteServiceNoContent() *DeleteServiceNoContent

NewDeleteServiceNoContent creates DeleteServiceNoContent with default headers values

func (*DeleteServiceNoContent) WriteResponse

func (o *DeleteServiceNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteServiceParams

type DeleteServiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/services/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

DeleteServiceParams contains all the bound params for the delete service operation typically these are obtained from a http.Request

swagger:parameters deleteService

func NewDeleteServiceParams

func NewDeleteServiceParams() DeleteServiceParams

NewDeleteServiceParams creates a new DeleteServiceParams object no default values defined in spec.

func (*DeleteServiceParams) BindRequest

func (o *DeleteServiceParams) 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 NewDeleteServiceParams() beforehand.

type DeleteServiceURL

type DeleteServiceURL struct {
	GUID string
	// contains filtered or unexported fields
}

DeleteServiceURL generates an URL for the delete service operation

func (*DeleteServiceURL) Build

func (o *DeleteServiceURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteServiceURL) BuildFull

func (o *DeleteServiceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteServiceURL) Must

func (o *DeleteServiceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteServiceURL) SetBasePath

func (o *DeleteServiceURL) 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 (*DeleteServiceURL) String

func (o *DeleteServiceURL) String() string

String returns the string representation of the path with query string

func (*DeleteServiceURL) StringFull

func (o *DeleteServiceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteServiceURL) WithBasePath

func (o *DeleteServiceURL) WithBasePath(bp string) *DeleteServiceURL

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 ListAllServicePlansForService

type ListAllServicePlansForService struct {
	Context *middleware.Context
	Handler ListAllServicePlansForServiceHandler
}

ListAllServicePlansForService swagger:route GET /services/{guid}/service_plans services listAllServicePlansForService

List all Service Plans for the Service

curl --insecure -i %s/v2/services/{guid}/service_plans -X GET -H 'Authorization: %s'

func NewListAllServicePlansForService

func NewListAllServicePlansForService(ctx *middleware.Context, handler ListAllServicePlansForServiceHandler) *ListAllServicePlansForService

NewListAllServicePlansForService creates a new http.Handler for the list all service plans for service operation

func (*ListAllServicePlansForService) ServeHTTP

type ListAllServicePlansForServiceHandler

type ListAllServicePlansForServiceHandler interface {
	Handle(ListAllServicePlansForServiceParams) middleware.Responder
}

ListAllServicePlansForServiceHandler interface for that can handle valid list all service plans for service params

type ListAllServicePlansForServiceHandlerFunc

type ListAllServicePlansForServiceHandlerFunc func(ListAllServicePlansForServiceParams) middleware.Responder

ListAllServicePlansForServiceHandlerFunc turns a function with the right signature into a list all service plans for service handler

func (ListAllServicePlansForServiceHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllServicePlansForServiceOK

type ListAllServicePlansForServiceOK struct {

	/*
	  In: Body
	*/
	Payload *models.ListAllServicePlansForServiceResponsePaged `json:"body,omitempty"`
}

ListAllServicePlansForServiceOK successful response

swagger:response listAllServicePlansForServiceOK

func NewListAllServicePlansForServiceOK

func NewListAllServicePlansForServiceOK() *ListAllServicePlansForServiceOK

NewListAllServicePlansForServiceOK creates ListAllServicePlansForServiceOK with default headers values

func (*ListAllServicePlansForServiceOK) SetPayload

SetPayload sets the payload to the list all service plans for service o k response

func (*ListAllServicePlansForServiceOK) WithPayload

WithPayload adds the payload to the list all service plans for service o k response

func (*ListAllServicePlansForServiceOK) WriteResponse

func (o *ListAllServicePlansForServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAllServicePlansForServiceParams

type ListAllServicePlansForServiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/services/:guid/service_plans'
	  Required: true
	  In: path
	*/
	GUID string
}

ListAllServicePlansForServiceParams contains all the bound params for the list all service plans for service operation typically these are obtained from a http.Request

swagger:parameters listAllServicePlansForService

func NewListAllServicePlansForServiceParams

func NewListAllServicePlansForServiceParams() ListAllServicePlansForServiceParams

NewListAllServicePlansForServiceParams creates a new ListAllServicePlansForServiceParams object no default values defined in spec.

func (*ListAllServicePlansForServiceParams) BindRequest

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 NewListAllServicePlansForServiceParams() beforehand.

type ListAllServicePlansForServiceURL

type ListAllServicePlansForServiceURL struct {
	GUID string
	// contains filtered or unexported fields
}

ListAllServicePlansForServiceURL generates an URL for the list all service plans for service operation

func (*ListAllServicePlansForServiceURL) Build

Build a url path and query string

func (*ListAllServicePlansForServiceURL) BuildFull

func (o *ListAllServicePlansForServiceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListAllServicePlansForServiceURL) Must

Must is a helper function to panic when the url builder returns an error

func (*ListAllServicePlansForServiceURL) SetBasePath

func (o *ListAllServicePlansForServiceURL) 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 (*ListAllServicePlansForServiceURL) String

String returns the string representation of the path with query string

func (*ListAllServicePlansForServiceURL) StringFull

func (o *ListAllServicePlansForServiceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListAllServicePlansForServiceURL) WithBasePath

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 ListAllServices

type ListAllServices struct {
	Context *middleware.Context
	Handler ListAllServicesHandler
}

ListAllServices swagger:route GET /services services listAllServices

List all Services

curl --insecure -i %s/v2/services -X GET -H 'Authorization: %s'

func NewListAllServices

func NewListAllServices(ctx *middleware.Context, handler ListAllServicesHandler) *ListAllServices

NewListAllServices creates a new http.Handler for the list all services operation

func (*ListAllServices) ServeHTTP

func (o *ListAllServices) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListAllServicesHandler

type ListAllServicesHandler interface {
	Handle(ListAllServicesParams) middleware.Responder
}

ListAllServicesHandler interface for that can handle valid list all services params

type ListAllServicesHandlerFunc

type ListAllServicesHandlerFunc func(ListAllServicesParams) middleware.Responder

ListAllServicesHandlerFunc turns a function with the right signature into a list all services handler

func (ListAllServicesHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllServicesOK

type ListAllServicesOK struct {

	/*
	  In: Body
	*/
	Payload *models.ListAllServicesResponsePaged `json:"body,omitempty"`
}

ListAllServicesOK successful response

swagger:response listAllServicesOK

func NewListAllServicesOK

func NewListAllServicesOK() *ListAllServicesOK

NewListAllServicesOK creates ListAllServicesOK with default headers values

func (*ListAllServicesOK) SetPayload

func (o *ListAllServicesOK) SetPayload(payload *models.ListAllServicesResponsePaged)

SetPayload sets the payload to the list all services o k response

func (*ListAllServicesOK) WithPayload

WithPayload adds the payload to the list all services o k response

func (*ListAllServicesOK) WriteResponse

func (o *ListAllServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAllServicesParams

type ListAllServicesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListAllServicesParams contains all the bound params for the list all services operation typically these are obtained from a http.Request

swagger:parameters listAllServices

func NewListAllServicesParams

func NewListAllServicesParams() ListAllServicesParams

NewListAllServicesParams creates a new ListAllServicesParams object no default values defined in spec.

func (*ListAllServicesParams) BindRequest

func (o *ListAllServicesParams) 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 NewListAllServicesParams() beforehand.

type ListAllServicesURL

type ListAllServicesURL struct {
	// contains filtered or unexported fields
}

ListAllServicesURL generates an URL for the list all services operation

func (*ListAllServicesURL) Build

func (o *ListAllServicesURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListAllServicesURL) BuildFull

func (o *ListAllServicesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListAllServicesURL) Must

func (o *ListAllServicesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListAllServicesURL) SetBasePath

func (o *ListAllServicesURL) 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 (*ListAllServicesURL) String

func (o *ListAllServicesURL) String() string

String returns the string representation of the path with query string

func (*ListAllServicesURL) StringFull

func (o *ListAllServicesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListAllServicesURL) WithBasePath

func (o *ListAllServicesURL) WithBasePath(bp string) *ListAllServicesURL

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 RetrieveService

type RetrieveService struct {
	Context *middleware.Context
	Handler RetrieveServiceHandler
}

RetrieveService swagger:route GET /services/{guid} services retrieveService

Retrieve a Particular Service

curl --insecure -i %s/v2/services/{guid} -X GET -H 'Authorization: %s'

func NewRetrieveService

func NewRetrieveService(ctx *middleware.Context, handler RetrieveServiceHandler) *RetrieveService

NewRetrieveService creates a new http.Handler for the retrieve service operation

func (*RetrieveService) ServeHTTP

func (o *RetrieveService) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RetrieveServiceHandler

type RetrieveServiceHandler interface {
	Handle(RetrieveServiceParams) middleware.Responder
}

RetrieveServiceHandler interface for that can handle valid retrieve service params

type RetrieveServiceHandlerFunc

type RetrieveServiceHandlerFunc func(RetrieveServiceParams) middleware.Responder

RetrieveServiceHandlerFunc turns a function with the right signature into a retrieve service handler

func (RetrieveServiceHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveServiceOK

type RetrieveServiceOK struct {

	/*
	  In: Body
	*/
	Payload *models.RetrieveServiceResponseResource `json:"body,omitempty"`
}

RetrieveServiceOK successful response

swagger:response retrieveServiceOK

func NewRetrieveServiceOK

func NewRetrieveServiceOK() *RetrieveServiceOK

NewRetrieveServiceOK creates RetrieveServiceOK with default headers values

func (*RetrieveServiceOK) SetPayload

SetPayload sets the payload to the retrieve service o k response

func (*RetrieveServiceOK) WithPayload

WithPayload adds the payload to the retrieve service o k response

func (*RetrieveServiceOK) WriteResponse

func (o *RetrieveServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RetrieveServiceParams

type RetrieveServiceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/services/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

RetrieveServiceParams contains all the bound params for the retrieve service operation typically these are obtained from a http.Request

swagger:parameters retrieveService

func NewRetrieveServiceParams

func NewRetrieveServiceParams() RetrieveServiceParams

NewRetrieveServiceParams creates a new RetrieveServiceParams object no default values defined in spec.

func (*RetrieveServiceParams) BindRequest

func (o *RetrieveServiceParams) 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 NewRetrieveServiceParams() beforehand.

type RetrieveServiceURL

type RetrieveServiceURL struct {
	GUID string
	// contains filtered or unexported fields
}

RetrieveServiceURL generates an URL for the retrieve service operation

func (*RetrieveServiceURL) Build

func (o *RetrieveServiceURL) Build() (*url.URL, error)

Build a url path and query string

func (*RetrieveServiceURL) BuildFull

func (o *RetrieveServiceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RetrieveServiceURL) Must

func (o *RetrieveServiceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*RetrieveServiceURL) SetBasePath

func (o *RetrieveServiceURL) 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 (*RetrieveServiceURL) String

func (o *RetrieveServiceURL) String() string

String returns the string representation of the path with query string

func (*RetrieveServiceURL) StringFull

func (o *RetrieveServiceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RetrieveServiceURL) WithBasePath

func (o *RetrieveServiceURL) WithBasePath(bp string) *RetrieveServiceURL

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 UpdateServiceDeprecated

type UpdateServiceDeprecated struct {
	Context *middleware.Context
	Handler UpdateServiceDeprecatedHandler
}

UpdateServiceDeprecated swagger:route PUT /services services updateServiceDeprecated

Updating a Service (deprecated)

curl --insecure -i %s/v2/services -X PUT -H 'Authorization: %s' -d '%s'

func NewUpdateServiceDeprecated

func NewUpdateServiceDeprecated(ctx *middleware.Context, handler UpdateServiceDeprecatedHandler) *UpdateServiceDeprecated

NewUpdateServiceDeprecated creates a new http.Handler for the update service deprecated operation

func (*UpdateServiceDeprecated) ServeHTTP

type UpdateServiceDeprecatedCreated

type UpdateServiceDeprecatedCreated struct {

	/*
	  In: Body
	*/
	Payload *models.UpdateServiceDeprecatedResponseResource `json:"body,omitempty"`
}

UpdateServiceDeprecatedCreated successful response

swagger:response updateServiceDeprecatedCreated

func NewUpdateServiceDeprecatedCreated

func NewUpdateServiceDeprecatedCreated() *UpdateServiceDeprecatedCreated

NewUpdateServiceDeprecatedCreated creates UpdateServiceDeprecatedCreated with default headers values

func (*UpdateServiceDeprecatedCreated) SetPayload

SetPayload sets the payload to the update service deprecated created response

func (*UpdateServiceDeprecatedCreated) WithPayload

WithPayload adds the payload to the update service deprecated created response

func (*UpdateServiceDeprecatedCreated) WriteResponse

func (o *UpdateServiceDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateServiceDeprecatedHandler

type UpdateServiceDeprecatedHandler interface {
	Handle(UpdateServiceDeprecatedParams) middleware.Responder
}

UpdateServiceDeprecatedHandler interface for that can handle valid update service deprecated params

type UpdateServiceDeprecatedHandlerFunc

type UpdateServiceDeprecatedHandlerFunc func(UpdateServiceDeprecatedParams) middleware.Responder

UpdateServiceDeprecatedHandlerFunc turns a function with the right signature into a update service deprecated handler

func (UpdateServiceDeprecatedHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateServiceDeprecatedParams

type UpdateServiceDeprecatedParams 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.UpdateServiceDeprecatedRequest
}

UpdateServiceDeprecatedParams contains all the bound params for the update service deprecated operation typically these are obtained from a http.Request

swagger:parameters updateServiceDeprecated

func NewUpdateServiceDeprecatedParams

func NewUpdateServiceDeprecatedParams() UpdateServiceDeprecatedParams

NewUpdateServiceDeprecatedParams creates a new UpdateServiceDeprecatedParams object no default values defined in spec.

func (*UpdateServiceDeprecatedParams) BindRequest

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 NewUpdateServiceDeprecatedParams() beforehand.

type UpdateServiceDeprecatedURL

type UpdateServiceDeprecatedURL struct {
	// contains filtered or unexported fields
}

UpdateServiceDeprecatedURL generates an URL for the update service deprecated operation

func (*UpdateServiceDeprecatedURL) Build

func (o *UpdateServiceDeprecatedURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateServiceDeprecatedURL) BuildFull

func (o *UpdateServiceDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateServiceDeprecatedURL) Must

func (o *UpdateServiceDeprecatedURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateServiceDeprecatedURL) SetBasePath

func (o *UpdateServiceDeprecatedURL) 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 (*UpdateServiceDeprecatedURL) String

func (o *UpdateServiceDeprecatedURL) String() string

String returns the string representation of the path with query string

func (*UpdateServiceDeprecatedURL) StringFull

func (o *UpdateServiceDeprecatedURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateServiceDeprecatedURL) WithBasePath

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL