Documentation ¶
Index ¶
- Constants
- type CreateServicePlanVisibility
- type CreateServicePlanVisibilityCreated
- func (o *CreateServicePlanVisibilityCreated) SetPayload(payload *models.CreateServicePlanVisibilityResponseResource)
- func (o *CreateServicePlanVisibilityCreated) WithPayload(payload *models.CreateServicePlanVisibilityResponseResource) *CreateServicePlanVisibilityCreated
- func (o *CreateServicePlanVisibilityCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServicePlanVisibilityHandler
- type CreateServicePlanVisibilityHandlerFunc
- type CreateServicePlanVisibilityParams
- type CreateServicePlanVisibilityURL
- func (o *CreateServicePlanVisibilityURL) Build() (*url.URL, error)
- func (o *CreateServicePlanVisibilityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServicePlanVisibilityURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServicePlanVisibilityURL) SetBasePath(bp string)
- func (o *CreateServicePlanVisibilityURL) String() string
- func (o *CreateServicePlanVisibilityURL) StringFull(scheme, host string) string
- func (o *CreateServicePlanVisibilityURL) WithBasePath(bp string) *CreateServicePlanVisibilityURL
- type DeleteServicePlanVisibilities
- type DeleteServicePlanVisibilitiesHandler
- type DeleteServicePlanVisibilitiesHandlerFunc
- type DeleteServicePlanVisibilitiesNoContent
- type DeleteServicePlanVisibilitiesParams
- type DeleteServicePlanVisibilitiesURL
- func (o *DeleteServicePlanVisibilitiesURL) Build() (*url.URL, error)
- func (o *DeleteServicePlanVisibilitiesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServicePlanVisibilitiesURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServicePlanVisibilitiesURL) SetBasePath(bp string)
- func (o *DeleteServicePlanVisibilitiesURL) String() string
- func (o *DeleteServicePlanVisibilitiesURL) StringFull(scheme, host string) string
- func (o *DeleteServicePlanVisibilitiesURL) WithBasePath(bp string) *DeleteServicePlanVisibilitiesURL
- type ListAllServicePlanVisibilities
- type ListAllServicePlanVisibilitiesHandler
- type ListAllServicePlanVisibilitiesHandlerFunc
- type ListAllServicePlanVisibilitiesOK
- func (o *ListAllServicePlanVisibilitiesOK) SetPayload(payload *models.ListAllServicePlanVisibilitiesResponsePaged)
- func (o *ListAllServicePlanVisibilitiesOK) WithPayload(payload *models.ListAllServicePlanVisibilitiesResponsePaged) *ListAllServicePlanVisibilitiesOK
- func (o *ListAllServicePlanVisibilitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllServicePlanVisibilitiesParams
- type ListAllServicePlanVisibilitiesURL
- func (o *ListAllServicePlanVisibilitiesURL) Build() (*url.URL, error)
- func (o *ListAllServicePlanVisibilitiesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllServicePlanVisibilitiesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllServicePlanVisibilitiesURL) SetBasePath(bp string)
- func (o *ListAllServicePlanVisibilitiesURL) String() string
- func (o *ListAllServicePlanVisibilitiesURL) StringFull(scheme, host string) string
- func (o *ListAllServicePlanVisibilitiesURL) WithBasePath(bp string) *ListAllServicePlanVisibilitiesURL
- type RetrieveServicePlanVisibility
- type RetrieveServicePlanVisibilityHandler
- type RetrieveServicePlanVisibilityHandlerFunc
- type RetrieveServicePlanVisibilityOK
- func (o *RetrieveServicePlanVisibilityOK) SetPayload(payload *models.RetrieveServicePlanVisibilityResponseResource)
- func (o *RetrieveServicePlanVisibilityOK) WithPayload(payload *models.RetrieveServicePlanVisibilityResponseResource) *RetrieveServicePlanVisibilityOK
- func (o *RetrieveServicePlanVisibilityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrieveServicePlanVisibilityParams
- type RetrieveServicePlanVisibilityURL
- func (o *RetrieveServicePlanVisibilityURL) Build() (*url.URL, error)
- func (o *RetrieveServicePlanVisibilityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveServicePlanVisibilityURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveServicePlanVisibilityURL) SetBasePath(bp string)
- func (o *RetrieveServicePlanVisibilityURL) String() string
- func (o *RetrieveServicePlanVisibilityURL) StringFull(scheme, host string) string
- func (o *RetrieveServicePlanVisibilityURL) WithBasePath(bp string) *RetrieveServicePlanVisibilityURL
- type UpdateServicePlanVisibility
- type UpdateServicePlanVisibilityCreated
- func (o *UpdateServicePlanVisibilityCreated) SetPayload(payload *models.UpdateServicePlanVisibilityResponseResource)
- func (o *UpdateServicePlanVisibilityCreated) WithPayload(payload *models.UpdateServicePlanVisibilityResponseResource) *UpdateServicePlanVisibilityCreated
- func (o *UpdateServicePlanVisibilityCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServicePlanVisibilityHandler
- type UpdateServicePlanVisibilityHandlerFunc
- type UpdateServicePlanVisibilityParams
- type UpdateServicePlanVisibilityURL
- func (o *UpdateServicePlanVisibilityURL) Build() (*url.URL, error)
- func (o *UpdateServicePlanVisibilityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServicePlanVisibilityURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServicePlanVisibilityURL) SetBasePath(bp string)
- func (o *UpdateServicePlanVisibilityURL) String() string
- func (o *UpdateServicePlanVisibilityURL) StringFull(scheme, host string) string
- func (o *UpdateServicePlanVisibilityURL) WithBasePath(bp string) *UpdateServicePlanVisibilityURL
Constants ¶
const CreateServicePlanVisibilityCreatedCode int = 201
CreateServicePlanVisibilityCreatedCode is the HTTP code returned for type CreateServicePlanVisibilityCreated
const DeleteServicePlanVisibilitiesNoContentCode int = 204
DeleteServicePlanVisibilitiesNoContentCode is the HTTP code returned for type DeleteServicePlanVisibilitiesNoContent
const ListAllServicePlanVisibilitiesOKCode int = 200
ListAllServicePlanVisibilitiesOKCode is the HTTP code returned for type ListAllServicePlanVisibilitiesOK
const RetrieveServicePlanVisibilityOKCode int = 200
RetrieveServicePlanVisibilityOKCode is the HTTP code returned for type RetrieveServicePlanVisibilityOK
const UpdateServicePlanVisibilityCreatedCode int = 201
UpdateServicePlanVisibilityCreatedCode is the HTTP code returned for type UpdateServicePlanVisibilityCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServicePlanVisibility ¶
type CreateServicePlanVisibility struct { Context *middleware.Context Handler CreateServicePlanVisibilityHandler }
CreateServicePlanVisibility swagger:route POST /service_plan_visibilities servicePlanVisibilities createServicePlanVisibility
Creating a Service Plan Visibility ¶
curl --insecure -i %s/v2/service_plan_visibilities -X POST -H 'Authorization: %s' -d '%s'
func NewCreateServicePlanVisibility ¶
func NewCreateServicePlanVisibility(ctx *middleware.Context, handler CreateServicePlanVisibilityHandler) *CreateServicePlanVisibility
NewCreateServicePlanVisibility creates a new http.Handler for the create service plan visibility operation
func (*CreateServicePlanVisibility) ServeHTTP ¶
func (o *CreateServicePlanVisibility) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServicePlanVisibilityCreated ¶
type CreateServicePlanVisibilityCreated struct { /* In: Body */ Payload *models.CreateServicePlanVisibilityResponseResource `json:"body,omitempty"` }
CreateServicePlanVisibilityCreated successful response
swagger:response createServicePlanVisibilityCreated
func NewCreateServicePlanVisibilityCreated ¶
func NewCreateServicePlanVisibilityCreated() *CreateServicePlanVisibilityCreated
NewCreateServicePlanVisibilityCreated creates CreateServicePlanVisibilityCreated with default headers values
func (*CreateServicePlanVisibilityCreated) SetPayload ¶
func (o *CreateServicePlanVisibilityCreated) SetPayload(payload *models.CreateServicePlanVisibilityResponseResource)
SetPayload sets the payload to the create service plan visibility created response
func (*CreateServicePlanVisibilityCreated) WithPayload ¶
func (o *CreateServicePlanVisibilityCreated) WithPayload(payload *models.CreateServicePlanVisibilityResponseResource) *CreateServicePlanVisibilityCreated
WithPayload adds the payload to the create service plan visibility created response
func (*CreateServicePlanVisibilityCreated) WriteResponse ¶
func (o *CreateServicePlanVisibilityCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServicePlanVisibilityHandler ¶
type CreateServicePlanVisibilityHandler interface {
Handle(CreateServicePlanVisibilityParams) middleware.Responder
}
CreateServicePlanVisibilityHandler interface for that can handle valid create service plan visibility params
type CreateServicePlanVisibilityHandlerFunc ¶
type CreateServicePlanVisibilityHandlerFunc func(CreateServicePlanVisibilityParams) middleware.Responder
CreateServicePlanVisibilityHandlerFunc turns a function with the right signature into a create service plan visibility handler
func (CreateServicePlanVisibilityHandlerFunc) Handle ¶
func (fn CreateServicePlanVisibilityHandlerFunc) Handle(params CreateServicePlanVisibilityParams) middleware.Responder
Handle executing the request and returning a response
type CreateServicePlanVisibilityParams ¶
type CreateServicePlanVisibilityParams 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.CreateServicePlanVisibilityRequest }
CreateServicePlanVisibilityParams contains all the bound params for the create service plan visibility operation typically these are obtained from a http.Request
swagger:parameters createServicePlanVisibility
func NewCreateServicePlanVisibilityParams ¶
func NewCreateServicePlanVisibilityParams() CreateServicePlanVisibilityParams
NewCreateServicePlanVisibilityParams creates a new CreateServicePlanVisibilityParams object no default values defined in spec.
func (*CreateServicePlanVisibilityParams) BindRequest ¶
func (o *CreateServicePlanVisibilityParams) 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 NewCreateServicePlanVisibilityParams() beforehand.
type CreateServicePlanVisibilityURL ¶
type CreateServicePlanVisibilityURL struct {
// contains filtered or unexported fields
}
CreateServicePlanVisibilityURL generates an URL for the create service plan visibility operation
func (*CreateServicePlanVisibilityURL) Build ¶
func (o *CreateServicePlanVisibilityURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServicePlanVisibilityURL) BuildFull ¶
func (o *CreateServicePlanVisibilityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServicePlanVisibilityURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServicePlanVisibilityURL) SetBasePath ¶
func (o *CreateServicePlanVisibilityURL) 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 (*CreateServicePlanVisibilityURL) String ¶
func (o *CreateServicePlanVisibilityURL) String() string
String returns the string representation of the path with query string
func (*CreateServicePlanVisibilityURL) StringFull ¶
func (o *CreateServicePlanVisibilityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServicePlanVisibilityURL) WithBasePath ¶
func (o *CreateServicePlanVisibilityURL) WithBasePath(bp string) *CreateServicePlanVisibilityURL
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 DeleteServicePlanVisibilities ¶
type DeleteServicePlanVisibilities struct { Context *middleware.Context Handler DeleteServicePlanVisibilitiesHandler }
DeleteServicePlanVisibilities swagger:route DELETE /service_plan_visibilities/{guid} servicePlanVisibilities deleteServicePlanVisibilities
Delete a Particular Service Plan Visibilities ¶
curl --insecure -i %s/v2/service_plan_visibilities/{guid} -X DELETE -H 'Authorization: %s'
func NewDeleteServicePlanVisibilities ¶
func NewDeleteServicePlanVisibilities(ctx *middleware.Context, handler DeleteServicePlanVisibilitiesHandler) *DeleteServicePlanVisibilities
NewDeleteServicePlanVisibilities creates a new http.Handler for the delete service plan visibilities operation
func (*DeleteServicePlanVisibilities) ServeHTTP ¶
func (o *DeleteServicePlanVisibilities) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServicePlanVisibilitiesHandler ¶
type DeleteServicePlanVisibilitiesHandler interface {
Handle(DeleteServicePlanVisibilitiesParams) middleware.Responder
}
DeleteServicePlanVisibilitiesHandler interface for that can handle valid delete service plan visibilities params
type DeleteServicePlanVisibilitiesHandlerFunc ¶
type DeleteServicePlanVisibilitiesHandlerFunc func(DeleteServicePlanVisibilitiesParams) middleware.Responder
DeleteServicePlanVisibilitiesHandlerFunc turns a function with the right signature into a delete service plan visibilities handler
func (DeleteServicePlanVisibilitiesHandlerFunc) Handle ¶
func (fn DeleteServicePlanVisibilitiesHandlerFunc) Handle(params DeleteServicePlanVisibilitiesParams) middleware.Responder
Handle executing the request and returning a response
type DeleteServicePlanVisibilitiesNoContent ¶
type DeleteServicePlanVisibilitiesNoContent struct { }
DeleteServicePlanVisibilitiesNoContent successful response
swagger:response deleteServicePlanVisibilitiesNoContent
func NewDeleteServicePlanVisibilitiesNoContent ¶
func NewDeleteServicePlanVisibilitiesNoContent() *DeleteServicePlanVisibilitiesNoContent
NewDeleteServicePlanVisibilitiesNoContent creates DeleteServicePlanVisibilitiesNoContent with default headers values
func (*DeleteServicePlanVisibilitiesNoContent) WriteResponse ¶
func (o *DeleteServicePlanVisibilitiesNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServicePlanVisibilitiesParams ¶
type DeleteServicePlanVisibilitiesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_plan_visibilities/:guid' Required: true In: path */ GUID string }
DeleteServicePlanVisibilitiesParams contains all the bound params for the delete service plan visibilities operation typically these are obtained from a http.Request
swagger:parameters deleteServicePlanVisibilities
func NewDeleteServicePlanVisibilitiesParams ¶
func NewDeleteServicePlanVisibilitiesParams() DeleteServicePlanVisibilitiesParams
NewDeleteServicePlanVisibilitiesParams creates a new DeleteServicePlanVisibilitiesParams object no default values defined in spec.
func (*DeleteServicePlanVisibilitiesParams) BindRequest ¶
func (o *DeleteServicePlanVisibilitiesParams) 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 NewDeleteServicePlanVisibilitiesParams() beforehand.
type DeleteServicePlanVisibilitiesURL ¶
type DeleteServicePlanVisibilitiesURL struct { GUID string // contains filtered or unexported fields }
DeleteServicePlanVisibilitiesURL generates an URL for the delete service plan visibilities operation
func (*DeleteServicePlanVisibilitiesURL) Build ¶
func (o *DeleteServicePlanVisibilitiesURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServicePlanVisibilitiesURL) BuildFull ¶
func (o *DeleteServicePlanVisibilitiesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServicePlanVisibilitiesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServicePlanVisibilitiesURL) SetBasePath ¶
func (o *DeleteServicePlanVisibilitiesURL) 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 (*DeleteServicePlanVisibilitiesURL) String ¶
func (o *DeleteServicePlanVisibilitiesURL) String() string
String returns the string representation of the path with query string
func (*DeleteServicePlanVisibilitiesURL) StringFull ¶
func (o *DeleteServicePlanVisibilitiesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServicePlanVisibilitiesURL) WithBasePath ¶
func (o *DeleteServicePlanVisibilitiesURL) WithBasePath(bp string) *DeleteServicePlanVisibilitiesURL
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 ListAllServicePlanVisibilities ¶
type ListAllServicePlanVisibilities struct { Context *middleware.Context Handler ListAllServicePlanVisibilitiesHandler }
ListAllServicePlanVisibilities swagger:route GET /service_plan_visibilities servicePlanVisibilities listAllServicePlanVisibilities
List all Service Plan Visibilities ¶
curl --insecure -i %s/v2/service_plan_visibilities -X GET -H 'Authorization: %s'
func NewListAllServicePlanVisibilities ¶
func NewListAllServicePlanVisibilities(ctx *middleware.Context, handler ListAllServicePlanVisibilitiesHandler) *ListAllServicePlanVisibilities
NewListAllServicePlanVisibilities creates a new http.Handler for the list all service plan visibilities operation
func (*ListAllServicePlanVisibilities) ServeHTTP ¶
func (o *ListAllServicePlanVisibilities) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllServicePlanVisibilitiesHandler ¶
type ListAllServicePlanVisibilitiesHandler interface {
Handle(ListAllServicePlanVisibilitiesParams) middleware.Responder
}
ListAllServicePlanVisibilitiesHandler interface for that can handle valid list all service plan visibilities params
type ListAllServicePlanVisibilitiesHandlerFunc ¶
type ListAllServicePlanVisibilitiesHandlerFunc func(ListAllServicePlanVisibilitiesParams) middleware.Responder
ListAllServicePlanVisibilitiesHandlerFunc turns a function with the right signature into a list all service plan visibilities handler
func (ListAllServicePlanVisibilitiesHandlerFunc) Handle ¶
func (fn ListAllServicePlanVisibilitiesHandlerFunc) Handle(params ListAllServicePlanVisibilitiesParams) middleware.Responder
Handle executing the request and returning a response
type ListAllServicePlanVisibilitiesOK ¶
type ListAllServicePlanVisibilitiesOK struct { /* In: Body */ Payload *models.ListAllServicePlanVisibilitiesResponsePaged `json:"body,omitempty"` }
ListAllServicePlanVisibilitiesOK successful response
swagger:response listAllServicePlanVisibilitiesOK
func NewListAllServicePlanVisibilitiesOK ¶
func NewListAllServicePlanVisibilitiesOK() *ListAllServicePlanVisibilitiesOK
NewListAllServicePlanVisibilitiesOK creates ListAllServicePlanVisibilitiesOK with default headers values
func (*ListAllServicePlanVisibilitiesOK) SetPayload ¶
func (o *ListAllServicePlanVisibilitiesOK) SetPayload(payload *models.ListAllServicePlanVisibilitiesResponsePaged)
SetPayload sets the payload to the list all service plan visibilities o k response
func (*ListAllServicePlanVisibilitiesOK) WithPayload ¶
func (o *ListAllServicePlanVisibilitiesOK) WithPayload(payload *models.ListAllServicePlanVisibilitiesResponsePaged) *ListAllServicePlanVisibilitiesOK
WithPayload adds the payload to the list all service plan visibilities o k response
func (*ListAllServicePlanVisibilitiesOK) WriteResponse ¶
func (o *ListAllServicePlanVisibilitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllServicePlanVisibilitiesParams ¶
type ListAllServicePlanVisibilitiesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ListAllServicePlanVisibilitiesParams contains all the bound params for the list all service plan visibilities operation typically these are obtained from a http.Request
swagger:parameters listAllServicePlanVisibilities
func NewListAllServicePlanVisibilitiesParams ¶
func NewListAllServicePlanVisibilitiesParams() ListAllServicePlanVisibilitiesParams
NewListAllServicePlanVisibilitiesParams creates a new ListAllServicePlanVisibilitiesParams object no default values defined in spec.
func (*ListAllServicePlanVisibilitiesParams) BindRequest ¶
func (o *ListAllServicePlanVisibilitiesParams) 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 NewListAllServicePlanVisibilitiesParams() beforehand.
type ListAllServicePlanVisibilitiesURL ¶
type ListAllServicePlanVisibilitiesURL struct {
// contains filtered or unexported fields
}
ListAllServicePlanVisibilitiesURL generates an URL for the list all service plan visibilities operation
func (*ListAllServicePlanVisibilitiesURL) Build ¶
func (o *ListAllServicePlanVisibilitiesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllServicePlanVisibilitiesURL) BuildFull ¶
func (o *ListAllServicePlanVisibilitiesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllServicePlanVisibilitiesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllServicePlanVisibilitiesURL) SetBasePath ¶
func (o *ListAllServicePlanVisibilitiesURL) 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 (*ListAllServicePlanVisibilitiesURL) String ¶
func (o *ListAllServicePlanVisibilitiesURL) String() string
String returns the string representation of the path with query string
func (*ListAllServicePlanVisibilitiesURL) StringFull ¶
func (o *ListAllServicePlanVisibilitiesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllServicePlanVisibilitiesURL) WithBasePath ¶
func (o *ListAllServicePlanVisibilitiesURL) WithBasePath(bp string) *ListAllServicePlanVisibilitiesURL
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 RetrieveServicePlanVisibility ¶
type RetrieveServicePlanVisibility struct { Context *middleware.Context Handler RetrieveServicePlanVisibilityHandler }
RetrieveServicePlanVisibility swagger:route GET /service_plan_visibilities/{guid} servicePlanVisibilities retrieveServicePlanVisibility
Retrieve a Particular Service Plan Visibility ¶
curl --insecure -i %s/v2/service_plan_visibilities/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveServicePlanVisibility ¶
func NewRetrieveServicePlanVisibility(ctx *middleware.Context, handler RetrieveServicePlanVisibilityHandler) *RetrieveServicePlanVisibility
NewRetrieveServicePlanVisibility creates a new http.Handler for the retrieve service plan visibility operation
func (*RetrieveServicePlanVisibility) ServeHTTP ¶
func (o *RetrieveServicePlanVisibility) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveServicePlanVisibilityHandler ¶
type RetrieveServicePlanVisibilityHandler interface {
Handle(RetrieveServicePlanVisibilityParams) middleware.Responder
}
RetrieveServicePlanVisibilityHandler interface for that can handle valid retrieve service plan visibility params
type RetrieveServicePlanVisibilityHandlerFunc ¶
type RetrieveServicePlanVisibilityHandlerFunc func(RetrieveServicePlanVisibilityParams) middleware.Responder
RetrieveServicePlanVisibilityHandlerFunc turns a function with the right signature into a retrieve service plan visibility handler
func (RetrieveServicePlanVisibilityHandlerFunc) Handle ¶
func (fn RetrieveServicePlanVisibilityHandlerFunc) Handle(params RetrieveServicePlanVisibilityParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveServicePlanVisibilityOK ¶
type RetrieveServicePlanVisibilityOK struct { /* In: Body */ Payload *models.RetrieveServicePlanVisibilityResponseResource `json:"body,omitempty"` }
RetrieveServicePlanVisibilityOK successful response
swagger:response retrieveServicePlanVisibilityOK
func NewRetrieveServicePlanVisibilityOK ¶
func NewRetrieveServicePlanVisibilityOK() *RetrieveServicePlanVisibilityOK
NewRetrieveServicePlanVisibilityOK creates RetrieveServicePlanVisibilityOK with default headers values
func (*RetrieveServicePlanVisibilityOK) SetPayload ¶
func (o *RetrieveServicePlanVisibilityOK) SetPayload(payload *models.RetrieveServicePlanVisibilityResponseResource)
SetPayload sets the payload to the retrieve service plan visibility o k response
func (*RetrieveServicePlanVisibilityOK) WithPayload ¶
func (o *RetrieveServicePlanVisibilityOK) WithPayload(payload *models.RetrieveServicePlanVisibilityResponseResource) *RetrieveServicePlanVisibilityOK
WithPayload adds the payload to the retrieve service plan visibility o k response
func (*RetrieveServicePlanVisibilityOK) WriteResponse ¶
func (o *RetrieveServicePlanVisibilityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveServicePlanVisibilityParams ¶
type RetrieveServicePlanVisibilityParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_plan_visibilities/:guid' Required: true In: path */ GUID string }
RetrieveServicePlanVisibilityParams contains all the bound params for the retrieve service plan visibility operation typically these are obtained from a http.Request
swagger:parameters retrieveServicePlanVisibility
func NewRetrieveServicePlanVisibilityParams ¶
func NewRetrieveServicePlanVisibilityParams() RetrieveServicePlanVisibilityParams
NewRetrieveServicePlanVisibilityParams creates a new RetrieveServicePlanVisibilityParams object no default values defined in spec.
func (*RetrieveServicePlanVisibilityParams) BindRequest ¶
func (o *RetrieveServicePlanVisibilityParams) 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 NewRetrieveServicePlanVisibilityParams() beforehand.
type RetrieveServicePlanVisibilityURL ¶
type RetrieveServicePlanVisibilityURL struct { GUID string // contains filtered or unexported fields }
RetrieveServicePlanVisibilityURL generates an URL for the retrieve service plan visibility operation
func (*RetrieveServicePlanVisibilityURL) Build ¶
func (o *RetrieveServicePlanVisibilityURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveServicePlanVisibilityURL) BuildFull ¶
func (o *RetrieveServicePlanVisibilityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveServicePlanVisibilityURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveServicePlanVisibilityURL) SetBasePath ¶
func (o *RetrieveServicePlanVisibilityURL) 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 (*RetrieveServicePlanVisibilityURL) String ¶
func (o *RetrieveServicePlanVisibilityURL) String() string
String returns the string representation of the path with query string
func (*RetrieveServicePlanVisibilityURL) StringFull ¶
func (o *RetrieveServicePlanVisibilityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveServicePlanVisibilityURL) WithBasePath ¶
func (o *RetrieveServicePlanVisibilityURL) WithBasePath(bp string) *RetrieveServicePlanVisibilityURL
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 UpdateServicePlanVisibility ¶
type UpdateServicePlanVisibility struct { Context *middleware.Context Handler UpdateServicePlanVisibilityHandler }
UpdateServicePlanVisibility swagger:route PUT /service_plan_visibilities/{guid} servicePlanVisibilities updateServicePlanVisibility
Updating a Service Plan Visibility ¶
curl --insecure -i %s/v2/service_plan_visibilities/{guid} -X PUT -H 'Authorization: %s' -d '%s'
func NewUpdateServicePlanVisibility ¶
func NewUpdateServicePlanVisibility(ctx *middleware.Context, handler UpdateServicePlanVisibilityHandler) *UpdateServicePlanVisibility
NewUpdateServicePlanVisibility creates a new http.Handler for the update service plan visibility operation
func (*UpdateServicePlanVisibility) ServeHTTP ¶
func (o *UpdateServicePlanVisibility) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServicePlanVisibilityCreated ¶
type UpdateServicePlanVisibilityCreated struct { /* In: Body */ Payload *models.UpdateServicePlanVisibilityResponseResource `json:"body,omitempty"` }
UpdateServicePlanVisibilityCreated successful response
swagger:response updateServicePlanVisibilityCreated
func NewUpdateServicePlanVisibilityCreated ¶
func NewUpdateServicePlanVisibilityCreated() *UpdateServicePlanVisibilityCreated
NewUpdateServicePlanVisibilityCreated creates UpdateServicePlanVisibilityCreated with default headers values
func (*UpdateServicePlanVisibilityCreated) SetPayload ¶
func (o *UpdateServicePlanVisibilityCreated) SetPayload(payload *models.UpdateServicePlanVisibilityResponseResource)
SetPayload sets the payload to the update service plan visibility created response
func (*UpdateServicePlanVisibilityCreated) WithPayload ¶
func (o *UpdateServicePlanVisibilityCreated) WithPayload(payload *models.UpdateServicePlanVisibilityResponseResource) *UpdateServicePlanVisibilityCreated
WithPayload adds the payload to the update service plan visibility created response
func (*UpdateServicePlanVisibilityCreated) WriteResponse ¶
func (o *UpdateServicePlanVisibilityCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServicePlanVisibilityHandler ¶
type UpdateServicePlanVisibilityHandler interface {
Handle(UpdateServicePlanVisibilityParams) middleware.Responder
}
UpdateServicePlanVisibilityHandler interface for that can handle valid update service plan visibility params
type UpdateServicePlanVisibilityHandlerFunc ¶
type UpdateServicePlanVisibilityHandlerFunc func(UpdateServicePlanVisibilityParams) middleware.Responder
UpdateServicePlanVisibilityHandlerFunc turns a function with the right signature into a update service plan visibility handler
func (UpdateServicePlanVisibilityHandlerFunc) Handle ¶
func (fn UpdateServicePlanVisibilityHandlerFunc) Handle(params UpdateServicePlanVisibilityParams) middleware.Responder
Handle executing the request and returning a response
type UpdateServicePlanVisibilityParams ¶
type UpdateServicePlanVisibilityParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_plan_visibilities/: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.UpdateServicePlanVisibilityRequest }
UpdateServicePlanVisibilityParams contains all the bound params for the update service plan visibility operation typically these are obtained from a http.Request
swagger:parameters updateServicePlanVisibility
func NewUpdateServicePlanVisibilityParams ¶
func NewUpdateServicePlanVisibilityParams() UpdateServicePlanVisibilityParams
NewUpdateServicePlanVisibilityParams creates a new UpdateServicePlanVisibilityParams object no default values defined in spec.
func (*UpdateServicePlanVisibilityParams) BindRequest ¶
func (o *UpdateServicePlanVisibilityParams) 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 NewUpdateServicePlanVisibilityParams() beforehand.
type UpdateServicePlanVisibilityURL ¶
type UpdateServicePlanVisibilityURL struct { GUID string // contains filtered or unexported fields }
UpdateServicePlanVisibilityURL generates an URL for the update service plan visibility operation
func (*UpdateServicePlanVisibilityURL) Build ¶
func (o *UpdateServicePlanVisibilityURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServicePlanVisibilityURL) BuildFull ¶
func (o *UpdateServicePlanVisibilityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServicePlanVisibilityURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServicePlanVisibilityURL) SetBasePath ¶
func (o *UpdateServicePlanVisibilityURL) 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 (*UpdateServicePlanVisibilityURL) String ¶
func (o *UpdateServicePlanVisibilityURL) String() string
String returns the string representation of the path with query string
func (*UpdateServicePlanVisibilityURL) StringFull ¶
func (o *UpdateServicePlanVisibilityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServicePlanVisibilityURL) WithBasePath ¶
func (o *UpdateServicePlanVisibilityURL) WithBasePath(bp string) *UpdateServicePlanVisibilityURL
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_visibility.go
- create_service_plan_visibility_parameters.go
- create_service_plan_visibility_responses.go
- create_service_plan_visibility_urlbuilder.go
- delete_service_plan_visibilities.go
- delete_service_plan_visibilities_parameters.go
- delete_service_plan_visibilities_responses.go
- delete_service_plan_visibilities_urlbuilder.go
- list_all_service_plan_visibilities.go
- list_all_service_plan_visibilities_parameters.go
- list_all_service_plan_visibilities_responses.go
- list_all_service_plan_visibilities_urlbuilder.go
- retrieve_service_plan_visibility.go
- retrieve_service_plan_visibility_parameters.go
- retrieve_service_plan_visibility_responses.go
- retrieve_service_plan_visibility_urlbuilder.go
- update_service_plan_visibility.go
- update_service_plan_visibility_parameters.go
- update_service_plan_visibility_responses.go
- update_service_plan_visibility_urlbuilder.go