service_plans

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

CreateServicePlanDeprecatedCreatedCode is the HTTP code returned for type CreateServicePlanDeprecatedCreated

View Source
const DeleteServicePlansNoContentCode int = 204

DeleteServicePlansNoContentCode is the HTTP code returned for type DeleteServicePlansNoContent

View Source
const ListAllServicePlansOKCode int = 200

ListAllServicePlansOKCode is the HTTP code returned for type ListAllServicePlansOK

View Source
const RetrieveServicePlanOKCode int = 200

RetrieveServicePlanOKCode is the HTTP code returned for type RetrieveServicePlanOK

View Source
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

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

SetPayload sets the payload to the create service plan deprecated created response

func (*CreateServicePlanDeprecatedCreated) WithPayload

WithPayload adds the payload to the create service plan deprecated created response

func (*CreateServicePlanDeprecatedCreated) WriteResponse

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*ListAllServicePlansOK) WithPayload

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

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

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

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

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

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

SetPayload sets the payload to the retrieve service plan o k response

func (*RetrieveServicePlanOK) WithPayload

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

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

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

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

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

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

SetPayload sets the payload to the update service plan deprecated created response

func (*UpdateServicePlanDeprecatedCreated) WithPayload

WithPayload adds the payload to the update service plan deprecated created response

func (*UpdateServicePlanDeprecatedCreated) WriteResponse

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

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

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

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

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

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

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

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