user_provided_service_instances

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 CreateUserProvidedServiceInstanceCreatedCode int = 201

CreateUserProvidedServiceInstanceCreatedCode is the HTTP code returned for type CreateUserProvidedServiceInstanceCreated

View Source
const DeleteUserProvidedServiceInstanceNoContentCode int = 204

DeleteUserProvidedServiceInstanceNoContentCode is the HTTP code returned for type DeleteUserProvidedServiceInstanceNoContent

View Source
const ListAllServiceBindingsForUserProvidedServiceInstanceOKCode int = 200

ListAllServiceBindingsForUserProvidedServiceInstanceOKCode is the HTTP code returned for type ListAllServiceBindingsForUserProvidedServiceInstanceOK

View Source
const ListAllUserProvidedServiceInstancesOKCode int = 200

ListAllUserProvidedServiceInstancesOKCode is the HTTP code returned for type ListAllUserProvidedServiceInstancesOK

View Source
const RetrieveUserProvidedServiceInstanceOKCode int = 200

RetrieveUserProvidedServiceInstanceOKCode is the HTTP code returned for type RetrieveUserProvidedServiceInstanceOK

View Source
const UpdateUserProvidedServiceInstanceCreatedCode int = 201

UpdateUserProvidedServiceInstanceCreatedCode is the HTTP code returned for type UpdateUserProvidedServiceInstanceCreated

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateUserProvidedServiceInstance

type CreateUserProvidedServiceInstance struct {
	Context *middleware.Context
	Handler CreateUserProvidedServiceInstanceHandler
}

CreateUserProvidedServiceInstance swagger:route POST /user_provided_service_instances userProvidedServiceInstances createUserProvidedServiceInstance

Creating a User Provided Service Instance

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

func NewCreateUserProvidedServiceInstance

func NewCreateUserProvidedServiceInstance(ctx *middleware.Context, handler CreateUserProvidedServiceInstanceHandler) *CreateUserProvidedServiceInstance

NewCreateUserProvidedServiceInstance creates a new http.Handler for the create user provided service instance operation

func (*CreateUserProvidedServiceInstance) ServeHTTP

type CreateUserProvidedServiceInstanceCreated

type CreateUserProvidedServiceInstanceCreated struct {

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

CreateUserProvidedServiceInstanceCreated successful response

swagger:response createUserProvidedServiceInstanceCreated

func NewCreateUserProvidedServiceInstanceCreated

func NewCreateUserProvidedServiceInstanceCreated() *CreateUserProvidedServiceInstanceCreated

NewCreateUserProvidedServiceInstanceCreated creates CreateUserProvidedServiceInstanceCreated with default headers values

func (*CreateUserProvidedServiceInstanceCreated) SetPayload

SetPayload sets the payload to the create user provided service instance created response

func (*CreateUserProvidedServiceInstanceCreated) WithPayload

WithPayload adds the payload to the create user provided service instance created response

func (*CreateUserProvidedServiceInstanceCreated) WriteResponse

WriteResponse to the client

type CreateUserProvidedServiceInstanceHandler

type CreateUserProvidedServiceInstanceHandler interface {
	Handle(CreateUserProvidedServiceInstanceParams) middleware.Responder
}

CreateUserProvidedServiceInstanceHandler interface for that can handle valid create user provided service instance params

type CreateUserProvidedServiceInstanceHandlerFunc

type CreateUserProvidedServiceInstanceHandlerFunc func(CreateUserProvidedServiceInstanceParams) middleware.Responder

CreateUserProvidedServiceInstanceHandlerFunc turns a function with the right signature into a create user provided service instance handler

func (CreateUserProvidedServiceInstanceHandlerFunc) Handle

Handle executing the request and returning a response

type CreateUserProvidedServiceInstanceParams

type CreateUserProvidedServiceInstanceParams 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.CreateUserProvidedServiceInstanceRequest
}

CreateUserProvidedServiceInstanceParams contains all the bound params for the create user provided service instance operation typically these are obtained from a http.Request

swagger:parameters createUserProvidedServiceInstance

func NewCreateUserProvidedServiceInstanceParams

func NewCreateUserProvidedServiceInstanceParams() CreateUserProvidedServiceInstanceParams

NewCreateUserProvidedServiceInstanceParams creates a new CreateUserProvidedServiceInstanceParams object no default values defined in spec.

func (*CreateUserProvidedServiceInstanceParams) 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 NewCreateUserProvidedServiceInstanceParams() beforehand.

type CreateUserProvidedServiceInstanceURL

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

CreateUserProvidedServiceInstanceURL generates an URL for the create user provided service instance operation

func (*CreateUserProvidedServiceInstanceURL) Build

Build a url path and query string

func (*CreateUserProvidedServiceInstanceURL) BuildFull

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

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

func (*CreateUserProvidedServiceInstanceURL) Must

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

func (*CreateUserProvidedServiceInstanceURL) SetBasePath

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

String returns the string representation of the path with query string

func (*CreateUserProvidedServiceInstanceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateUserProvidedServiceInstanceURL) 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 DeleteUserProvidedServiceInstance

type DeleteUserProvidedServiceInstance struct {
	Context *middleware.Context
	Handler DeleteUserProvidedServiceInstanceHandler
}

DeleteUserProvidedServiceInstance swagger:route DELETE /user_provided_service_instances/{guid} userProvidedServiceInstances deleteUserProvidedServiceInstance

Delete a Particular User Provided Service Instance

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

func NewDeleteUserProvidedServiceInstance

func NewDeleteUserProvidedServiceInstance(ctx *middleware.Context, handler DeleteUserProvidedServiceInstanceHandler) *DeleteUserProvidedServiceInstance

NewDeleteUserProvidedServiceInstance creates a new http.Handler for the delete user provided service instance operation

func (*DeleteUserProvidedServiceInstance) ServeHTTP

type DeleteUserProvidedServiceInstanceHandler

type DeleteUserProvidedServiceInstanceHandler interface {
	Handle(DeleteUserProvidedServiceInstanceParams) middleware.Responder
}

DeleteUserProvidedServiceInstanceHandler interface for that can handle valid delete user provided service instance params

type DeleteUserProvidedServiceInstanceHandlerFunc

type DeleteUserProvidedServiceInstanceHandlerFunc func(DeleteUserProvidedServiceInstanceParams) middleware.Responder

DeleteUserProvidedServiceInstanceHandlerFunc turns a function with the right signature into a delete user provided service instance handler

func (DeleteUserProvidedServiceInstanceHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteUserProvidedServiceInstanceNoContent

type DeleteUserProvidedServiceInstanceNoContent struct {
}

DeleteUserProvidedServiceInstanceNoContent successful response

swagger:response deleteUserProvidedServiceInstanceNoContent

func NewDeleteUserProvidedServiceInstanceNoContent

func NewDeleteUserProvidedServiceInstanceNoContent() *DeleteUserProvidedServiceInstanceNoContent

NewDeleteUserProvidedServiceInstanceNoContent creates DeleteUserProvidedServiceInstanceNoContent with default headers values

func (*DeleteUserProvidedServiceInstanceNoContent) WriteResponse

WriteResponse to the client

type DeleteUserProvidedServiceInstanceParams

type DeleteUserProvidedServiceInstanceParams struct {

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

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

DeleteUserProvidedServiceInstanceParams contains all the bound params for the delete user provided service instance operation typically these are obtained from a http.Request

swagger:parameters deleteUserProvidedServiceInstance

func NewDeleteUserProvidedServiceInstanceParams

func NewDeleteUserProvidedServiceInstanceParams() DeleteUserProvidedServiceInstanceParams

NewDeleteUserProvidedServiceInstanceParams creates a new DeleteUserProvidedServiceInstanceParams object no default values defined in spec.

func (*DeleteUserProvidedServiceInstanceParams) 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 NewDeleteUserProvidedServiceInstanceParams() beforehand.

type DeleteUserProvidedServiceInstanceURL

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

DeleteUserProvidedServiceInstanceURL generates an URL for the delete user provided service instance operation

func (*DeleteUserProvidedServiceInstanceURL) Build

Build a url path and query string

func (*DeleteUserProvidedServiceInstanceURL) BuildFull

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

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

func (*DeleteUserProvidedServiceInstanceURL) Must

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

func (*DeleteUserProvidedServiceInstanceURL) SetBasePath

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

String returns the string representation of the path with query string

func (*DeleteUserProvidedServiceInstanceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteUserProvidedServiceInstanceURL) 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 ListAllServiceBindingsForUserProvidedServiceInstance

type ListAllServiceBindingsForUserProvidedServiceInstance struct {
	Context *middleware.Context
	Handler ListAllServiceBindingsForUserProvidedServiceInstanceHandler
}

ListAllServiceBindingsForUserProvidedServiceInstance swagger:route GET /user_provided_service_instances/{guid}/service_bindings userProvidedServiceInstances listAllServiceBindingsForUserProvidedServiceInstance

List all Service Bindings for the User Provided Service Instance

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

func NewListAllServiceBindingsForUserProvidedServiceInstance

NewListAllServiceBindingsForUserProvidedServiceInstance creates a new http.Handler for the list all service bindings for user provided service instance operation

func (*ListAllServiceBindingsForUserProvidedServiceInstance) ServeHTTP

type ListAllServiceBindingsForUserProvidedServiceInstanceHandler

type ListAllServiceBindingsForUserProvidedServiceInstanceHandler interface {
	Handle(ListAllServiceBindingsForUserProvidedServiceInstanceParams) middleware.Responder
}

ListAllServiceBindingsForUserProvidedServiceInstanceHandler interface for that can handle valid list all service bindings for user provided service instance params

type ListAllServiceBindingsForUserProvidedServiceInstanceHandlerFunc

type ListAllServiceBindingsForUserProvidedServiceInstanceHandlerFunc func(ListAllServiceBindingsForUserProvidedServiceInstanceParams) middleware.Responder

ListAllServiceBindingsForUserProvidedServiceInstanceHandlerFunc turns a function with the right signature into a list all service bindings for user provided service instance handler

func (ListAllServiceBindingsForUserProvidedServiceInstanceHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllServiceBindingsForUserProvidedServiceInstanceOK

type ListAllServiceBindingsForUserProvidedServiceInstanceOK struct {

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

ListAllServiceBindingsForUserProvidedServiceInstanceOK successful response

swagger:response listAllServiceBindingsForUserProvidedServiceInstanceOK

func NewListAllServiceBindingsForUserProvidedServiceInstanceOK

func NewListAllServiceBindingsForUserProvidedServiceInstanceOK() *ListAllServiceBindingsForUserProvidedServiceInstanceOK

NewListAllServiceBindingsForUserProvidedServiceInstanceOK creates ListAllServiceBindingsForUserProvidedServiceInstanceOK with default headers values

func (*ListAllServiceBindingsForUserProvidedServiceInstanceOK) SetPayload

SetPayload sets the payload to the list all service bindings for user provided service instance o k response

func (*ListAllServiceBindingsForUserProvidedServiceInstanceOK) WithPayload

WithPayload adds the payload to the list all service bindings for user provided service instance o k response

func (*ListAllServiceBindingsForUserProvidedServiceInstanceOK) WriteResponse

WriteResponse to the client

type ListAllServiceBindingsForUserProvidedServiceInstanceParams

type ListAllServiceBindingsForUserProvidedServiceInstanceParams struct {

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

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

ListAllServiceBindingsForUserProvidedServiceInstanceParams contains all the bound params for the list all service bindings for user provided service instance operation typically these are obtained from a http.Request

swagger:parameters listAllServiceBindingsForUserProvidedServiceInstance

func NewListAllServiceBindingsForUserProvidedServiceInstanceParams

func NewListAllServiceBindingsForUserProvidedServiceInstanceParams() ListAllServiceBindingsForUserProvidedServiceInstanceParams

NewListAllServiceBindingsForUserProvidedServiceInstanceParams creates a new ListAllServiceBindingsForUserProvidedServiceInstanceParams object no default values defined in spec.

func (*ListAllServiceBindingsForUserProvidedServiceInstanceParams) 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 NewListAllServiceBindingsForUserProvidedServiceInstanceParams() beforehand.

type ListAllServiceBindingsForUserProvidedServiceInstanceURL

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

ListAllServiceBindingsForUserProvidedServiceInstanceURL generates an URL for the list all service bindings for user provided service instance operation

func (*ListAllServiceBindingsForUserProvidedServiceInstanceURL) Build

Build a url path and query string

func (*ListAllServiceBindingsForUserProvidedServiceInstanceURL) BuildFull

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

func (*ListAllServiceBindingsForUserProvidedServiceInstanceURL) Must

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

func (*ListAllServiceBindingsForUserProvidedServiceInstanceURL) SetBasePath

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 (*ListAllServiceBindingsForUserProvidedServiceInstanceURL) String

String returns the string representation of the path with query string

func (*ListAllServiceBindingsForUserProvidedServiceInstanceURL) StringFull

StringFull returns the string representation of a complete url

func (*ListAllServiceBindingsForUserProvidedServiceInstanceURL) 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 ListAllUserProvidedServiceInstances

type ListAllUserProvidedServiceInstances struct {
	Context *middleware.Context
	Handler ListAllUserProvidedServiceInstancesHandler
}

ListAllUserProvidedServiceInstances swagger:route GET /user_provided_service_instances userProvidedServiceInstances listAllUserProvidedServiceInstances

List all User Provided Service Instances

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

func NewListAllUserProvidedServiceInstances

func NewListAllUserProvidedServiceInstances(ctx *middleware.Context, handler ListAllUserProvidedServiceInstancesHandler) *ListAllUserProvidedServiceInstances

NewListAllUserProvidedServiceInstances creates a new http.Handler for the list all user provided service instances operation

func (*ListAllUserProvidedServiceInstances) ServeHTTP

type ListAllUserProvidedServiceInstancesHandler

type ListAllUserProvidedServiceInstancesHandler interface {
	Handle(ListAllUserProvidedServiceInstancesParams) middleware.Responder
}

ListAllUserProvidedServiceInstancesHandler interface for that can handle valid list all user provided service instances params

type ListAllUserProvidedServiceInstancesHandlerFunc

type ListAllUserProvidedServiceInstancesHandlerFunc func(ListAllUserProvidedServiceInstancesParams) middleware.Responder

ListAllUserProvidedServiceInstancesHandlerFunc turns a function with the right signature into a list all user provided service instances handler

func (ListAllUserProvidedServiceInstancesHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllUserProvidedServiceInstancesOK

type ListAllUserProvidedServiceInstancesOK struct {

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

ListAllUserProvidedServiceInstancesOK successful response

swagger:response listAllUserProvidedServiceInstancesOK

func NewListAllUserProvidedServiceInstancesOK

func NewListAllUserProvidedServiceInstancesOK() *ListAllUserProvidedServiceInstancesOK

NewListAllUserProvidedServiceInstancesOK creates ListAllUserProvidedServiceInstancesOK with default headers values

func (*ListAllUserProvidedServiceInstancesOK) SetPayload

SetPayload sets the payload to the list all user provided service instances o k response

func (*ListAllUserProvidedServiceInstancesOK) WithPayload

WithPayload adds the payload to the list all user provided service instances o k response

func (*ListAllUserProvidedServiceInstancesOK) WriteResponse

WriteResponse to the client

type ListAllUserProvidedServiceInstancesParams

type ListAllUserProvidedServiceInstancesParams struct {

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

ListAllUserProvidedServiceInstancesParams contains all the bound params for the list all user provided service instances operation typically these are obtained from a http.Request

swagger:parameters listAllUserProvidedServiceInstances

func NewListAllUserProvidedServiceInstancesParams

func NewListAllUserProvidedServiceInstancesParams() ListAllUserProvidedServiceInstancesParams

NewListAllUserProvidedServiceInstancesParams creates a new ListAllUserProvidedServiceInstancesParams object no default values defined in spec.

func (*ListAllUserProvidedServiceInstancesParams) 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 NewListAllUserProvidedServiceInstancesParams() beforehand.

type ListAllUserProvidedServiceInstancesURL

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

ListAllUserProvidedServiceInstancesURL generates an URL for the list all user provided service instances operation

func (*ListAllUserProvidedServiceInstancesURL) Build

Build a url path and query string

func (*ListAllUserProvidedServiceInstancesURL) BuildFull

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

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

func (*ListAllUserProvidedServiceInstancesURL) Must

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

func (*ListAllUserProvidedServiceInstancesURL) SetBasePath

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 (*ListAllUserProvidedServiceInstancesURL) String

String returns the string representation of the path with query string

func (*ListAllUserProvidedServiceInstancesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListAllUserProvidedServiceInstancesURL) 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 RetrieveUserProvidedServiceInstance

type RetrieveUserProvidedServiceInstance struct {
	Context *middleware.Context
	Handler RetrieveUserProvidedServiceInstanceHandler
}

RetrieveUserProvidedServiceInstance swagger:route GET /user_provided_service_instances/{guid} userProvidedServiceInstances retrieveUserProvidedServiceInstance

Retrieve a Particular User Provided Service Instance

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

func NewRetrieveUserProvidedServiceInstance

func NewRetrieveUserProvidedServiceInstance(ctx *middleware.Context, handler RetrieveUserProvidedServiceInstanceHandler) *RetrieveUserProvidedServiceInstance

NewRetrieveUserProvidedServiceInstance creates a new http.Handler for the retrieve user provided service instance operation

func (*RetrieveUserProvidedServiceInstance) ServeHTTP

type RetrieveUserProvidedServiceInstanceHandler

type RetrieveUserProvidedServiceInstanceHandler interface {
	Handle(RetrieveUserProvidedServiceInstanceParams) middleware.Responder
}

RetrieveUserProvidedServiceInstanceHandler interface for that can handle valid retrieve user provided service instance params

type RetrieveUserProvidedServiceInstanceHandlerFunc

type RetrieveUserProvidedServiceInstanceHandlerFunc func(RetrieveUserProvidedServiceInstanceParams) middleware.Responder

RetrieveUserProvidedServiceInstanceHandlerFunc turns a function with the right signature into a retrieve user provided service instance handler

func (RetrieveUserProvidedServiceInstanceHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveUserProvidedServiceInstanceOK

type RetrieveUserProvidedServiceInstanceOK struct {

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

RetrieveUserProvidedServiceInstanceOK successful response

swagger:response retrieveUserProvidedServiceInstanceOK

func NewRetrieveUserProvidedServiceInstanceOK

func NewRetrieveUserProvidedServiceInstanceOK() *RetrieveUserProvidedServiceInstanceOK

NewRetrieveUserProvidedServiceInstanceOK creates RetrieveUserProvidedServiceInstanceOK with default headers values

func (*RetrieveUserProvidedServiceInstanceOK) SetPayload

SetPayload sets the payload to the retrieve user provided service instance o k response

func (*RetrieveUserProvidedServiceInstanceOK) WithPayload

WithPayload adds the payload to the retrieve user provided service instance o k response

func (*RetrieveUserProvidedServiceInstanceOK) WriteResponse

WriteResponse to the client

type RetrieveUserProvidedServiceInstanceParams

type RetrieveUserProvidedServiceInstanceParams struct {

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

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

RetrieveUserProvidedServiceInstanceParams contains all the bound params for the retrieve user provided service instance operation typically these are obtained from a http.Request

swagger:parameters retrieveUserProvidedServiceInstance

func NewRetrieveUserProvidedServiceInstanceParams

func NewRetrieveUserProvidedServiceInstanceParams() RetrieveUserProvidedServiceInstanceParams

NewRetrieveUserProvidedServiceInstanceParams creates a new RetrieveUserProvidedServiceInstanceParams object no default values defined in spec.

func (*RetrieveUserProvidedServiceInstanceParams) 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 NewRetrieveUserProvidedServiceInstanceParams() beforehand.

type RetrieveUserProvidedServiceInstanceURL

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

RetrieveUserProvidedServiceInstanceURL generates an URL for the retrieve user provided service instance operation

func (*RetrieveUserProvidedServiceInstanceURL) Build

Build a url path and query string

func (*RetrieveUserProvidedServiceInstanceURL) BuildFull

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

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

func (*RetrieveUserProvidedServiceInstanceURL) Must

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

func (*RetrieveUserProvidedServiceInstanceURL) SetBasePath

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 (*RetrieveUserProvidedServiceInstanceURL) String

String returns the string representation of the path with query string

func (*RetrieveUserProvidedServiceInstanceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RetrieveUserProvidedServiceInstanceURL) 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 UpdateUserProvidedServiceInstance

type UpdateUserProvidedServiceInstance struct {
	Context *middleware.Context
	Handler UpdateUserProvidedServiceInstanceHandler
}

UpdateUserProvidedServiceInstance swagger:route PUT /user_provided_service_instances/{guid} userProvidedServiceInstances updateUserProvidedServiceInstance

Updating a User Provided Service Instance

curl --insecure -i %s/v2/user_provided_service_instances/{guid} -X PUT -H 'Authorization: %s' -d '%s'

func NewUpdateUserProvidedServiceInstance

func NewUpdateUserProvidedServiceInstance(ctx *middleware.Context, handler UpdateUserProvidedServiceInstanceHandler) *UpdateUserProvidedServiceInstance

NewUpdateUserProvidedServiceInstance creates a new http.Handler for the update user provided service instance operation

func (*UpdateUserProvidedServiceInstance) ServeHTTP

type UpdateUserProvidedServiceInstanceCreated

type UpdateUserProvidedServiceInstanceCreated struct {

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

UpdateUserProvidedServiceInstanceCreated successful response

swagger:response updateUserProvidedServiceInstanceCreated

func NewUpdateUserProvidedServiceInstanceCreated

func NewUpdateUserProvidedServiceInstanceCreated() *UpdateUserProvidedServiceInstanceCreated

NewUpdateUserProvidedServiceInstanceCreated creates UpdateUserProvidedServiceInstanceCreated with default headers values

func (*UpdateUserProvidedServiceInstanceCreated) SetPayload

SetPayload sets the payload to the update user provided service instance created response

func (*UpdateUserProvidedServiceInstanceCreated) WithPayload

WithPayload adds the payload to the update user provided service instance created response

func (*UpdateUserProvidedServiceInstanceCreated) WriteResponse

WriteResponse to the client

type UpdateUserProvidedServiceInstanceHandler

type UpdateUserProvidedServiceInstanceHandler interface {
	Handle(UpdateUserProvidedServiceInstanceParams) middleware.Responder
}

UpdateUserProvidedServiceInstanceHandler interface for that can handle valid update user provided service instance params

type UpdateUserProvidedServiceInstanceHandlerFunc

type UpdateUserProvidedServiceInstanceHandlerFunc func(UpdateUserProvidedServiceInstanceParams) middleware.Responder

UpdateUserProvidedServiceInstanceHandlerFunc turns a function with the right signature into a update user provided service instance handler

func (UpdateUserProvidedServiceInstanceHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateUserProvidedServiceInstanceParams

type UpdateUserProvidedServiceInstanceParams struct {

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

	/*The guid parameter is used as a part of the request URL: '/v2/user_provided_service_instances/:guid'
	  Required: true
	  In: path
	*/
	GUID string
	/*An object instance that is serialized and sent as the request body.
	  Required: true
	  In: body
	*/
	Value *models.UpdateUserProvidedServiceInstanceRequest
}

UpdateUserProvidedServiceInstanceParams contains all the bound params for the update user provided service instance operation typically these are obtained from a http.Request

swagger:parameters updateUserProvidedServiceInstance

func NewUpdateUserProvidedServiceInstanceParams

func NewUpdateUserProvidedServiceInstanceParams() UpdateUserProvidedServiceInstanceParams

NewUpdateUserProvidedServiceInstanceParams creates a new UpdateUserProvidedServiceInstanceParams object no default values defined in spec.

func (*UpdateUserProvidedServiceInstanceParams) 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 NewUpdateUserProvidedServiceInstanceParams() beforehand.

type UpdateUserProvidedServiceInstanceURL

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

UpdateUserProvidedServiceInstanceURL generates an URL for the update user provided service instance operation

func (*UpdateUserProvidedServiceInstanceURL) Build

Build a url path and query string

func (*UpdateUserProvidedServiceInstanceURL) BuildFull

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

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

func (*UpdateUserProvidedServiceInstanceURL) Must

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

func (*UpdateUserProvidedServiceInstanceURL) SetBasePath

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

String returns the string representation of the path with query string

func (*UpdateUserProvidedServiceInstanceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateUserProvidedServiceInstanceURL) 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