Documentation ¶
Index ¶
- Constants
- type AssociateSpaceWithSpaceQuotaDefinition
- type AssociateSpaceWithSpaceQuotaDefinitionCreated
- func (o *AssociateSpaceWithSpaceQuotaDefinitionCreated) SetPayload(payload *models.AssociateSpaceWithSpaceQuotaDefinitionResponseResource)
- func (o *AssociateSpaceWithSpaceQuotaDefinitionCreated) WithPayload(payload *models.AssociateSpaceWithSpaceQuotaDefinitionResponseResource) *AssociateSpaceWithSpaceQuotaDefinitionCreated
- func (o *AssociateSpaceWithSpaceQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AssociateSpaceWithSpaceQuotaDefinitionHandler
- type AssociateSpaceWithSpaceQuotaDefinitionHandlerFunc
- type AssociateSpaceWithSpaceQuotaDefinitionParams
- type AssociateSpaceWithSpaceQuotaDefinitionURL
- func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) SetBasePath(bp string)
- func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) String() string
- func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) WithBasePath(bp string) *AssociateSpaceWithSpaceQuotaDefinitionURL
- type CreateSpaceQuotaDefinition
- type CreateSpaceQuotaDefinitionCreated
- func (o *CreateSpaceQuotaDefinitionCreated) SetPayload(payload *models.CreateSpaceQuotaDefinitionResponseResource)
- func (o *CreateSpaceQuotaDefinitionCreated) WithPayload(payload *models.CreateSpaceQuotaDefinitionResponseResource) *CreateSpaceQuotaDefinitionCreated
- func (o *CreateSpaceQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateSpaceQuotaDefinitionHandler
- type CreateSpaceQuotaDefinitionHandlerFunc
- type CreateSpaceQuotaDefinitionParams
- type CreateSpaceQuotaDefinitionURL
- func (o *CreateSpaceQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *CreateSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateSpaceQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateSpaceQuotaDefinitionURL) SetBasePath(bp string)
- func (o *CreateSpaceQuotaDefinitionURL) String() string
- func (o *CreateSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *CreateSpaceQuotaDefinitionURL) WithBasePath(bp string) *CreateSpaceQuotaDefinitionURL
- type DeleteSpaceQuotaDefinition
- type DeleteSpaceQuotaDefinitionHandler
- type DeleteSpaceQuotaDefinitionHandlerFunc
- type DeleteSpaceQuotaDefinitionNoContent
- type DeleteSpaceQuotaDefinitionParams
- type DeleteSpaceQuotaDefinitionURL
- func (o *DeleteSpaceQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *DeleteSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteSpaceQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteSpaceQuotaDefinitionURL) SetBasePath(bp string)
- func (o *DeleteSpaceQuotaDefinitionURL) String() string
- func (o *DeleteSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *DeleteSpaceQuotaDefinitionURL) WithBasePath(bp string) *DeleteSpaceQuotaDefinitionURL
- type ListAllSpaceQuotaDefinitions
- type ListAllSpaceQuotaDefinitionsHandler
- type ListAllSpaceQuotaDefinitionsHandlerFunc
- type ListAllSpaceQuotaDefinitionsOK
- func (o *ListAllSpaceQuotaDefinitionsOK) SetPayload(payload *models.ListAllSpaceQuotaDefinitionsResponsePaged)
- func (o *ListAllSpaceQuotaDefinitionsOK) WithPayload(payload *models.ListAllSpaceQuotaDefinitionsResponsePaged) *ListAllSpaceQuotaDefinitionsOK
- func (o *ListAllSpaceQuotaDefinitionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllSpaceQuotaDefinitionsParams
- type ListAllSpaceQuotaDefinitionsURL
- func (o *ListAllSpaceQuotaDefinitionsURL) Build() (*url.URL, error)
- func (o *ListAllSpaceQuotaDefinitionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllSpaceQuotaDefinitionsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllSpaceQuotaDefinitionsURL) SetBasePath(bp string)
- func (o *ListAllSpaceQuotaDefinitionsURL) String() string
- func (o *ListAllSpaceQuotaDefinitionsURL) StringFull(scheme, host string) string
- func (o *ListAllSpaceQuotaDefinitionsURL) WithBasePath(bp string) *ListAllSpaceQuotaDefinitionsURL
- type ListAllSpacesForSpaceQuotaDefinition
- type ListAllSpacesForSpaceQuotaDefinitionHandler
- type ListAllSpacesForSpaceQuotaDefinitionHandlerFunc
- type ListAllSpacesForSpaceQuotaDefinitionOK
- func (o *ListAllSpacesForSpaceQuotaDefinitionOK) SetPayload(payload *models.ListAllSpacesForSpaceQuotaDefinitionResponsePaged)
- func (o *ListAllSpacesForSpaceQuotaDefinitionOK) WithPayload(payload *models.ListAllSpacesForSpaceQuotaDefinitionResponsePaged) *ListAllSpacesForSpaceQuotaDefinitionOK
- func (o *ListAllSpacesForSpaceQuotaDefinitionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllSpacesForSpaceQuotaDefinitionParams
- type ListAllSpacesForSpaceQuotaDefinitionURL
- func (o *ListAllSpacesForSpaceQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *ListAllSpacesForSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllSpacesForSpaceQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllSpacesForSpaceQuotaDefinitionURL) SetBasePath(bp string)
- func (o *ListAllSpacesForSpaceQuotaDefinitionURL) String() string
- func (o *ListAllSpacesForSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *ListAllSpacesForSpaceQuotaDefinitionURL) WithBasePath(bp string) *ListAllSpacesForSpaceQuotaDefinitionURL
- type RemoveSpaceFromSpaceQuotaDefinition
- type RemoveSpaceFromSpaceQuotaDefinitionCreated
- func (o *RemoveSpaceFromSpaceQuotaDefinitionCreated) SetPayload(payload *models.RemoveSpaceFromSpaceQuotaDefinitionResponseResource)
- func (o *RemoveSpaceFromSpaceQuotaDefinitionCreated) WithPayload(payload *models.RemoveSpaceFromSpaceQuotaDefinitionResponseResource) *RemoveSpaceFromSpaceQuotaDefinitionCreated
- func (o *RemoveSpaceFromSpaceQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RemoveSpaceFromSpaceQuotaDefinitionHandler
- type RemoveSpaceFromSpaceQuotaDefinitionHandlerFunc
- type RemoveSpaceFromSpaceQuotaDefinitionParams
- type RemoveSpaceFromSpaceQuotaDefinitionURL
- func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) SetBasePath(bp string)
- func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) String() string
- func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) WithBasePath(bp string) *RemoveSpaceFromSpaceQuotaDefinitionURL
- type RetrieveSpaceQuotaDefinition
- type RetrieveSpaceQuotaDefinitionHandler
- type RetrieveSpaceQuotaDefinitionHandlerFunc
- type RetrieveSpaceQuotaDefinitionOK
- func (o *RetrieveSpaceQuotaDefinitionOK) SetPayload(payload *models.RetrieveSpaceQuotaDefinitionResponseResource)
- func (o *RetrieveSpaceQuotaDefinitionOK) WithPayload(payload *models.RetrieveSpaceQuotaDefinitionResponseResource) *RetrieveSpaceQuotaDefinitionOK
- func (o *RetrieveSpaceQuotaDefinitionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrieveSpaceQuotaDefinitionParams
- type RetrieveSpaceQuotaDefinitionURL
- func (o *RetrieveSpaceQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *RetrieveSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveSpaceQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveSpaceQuotaDefinitionURL) SetBasePath(bp string)
- func (o *RetrieveSpaceQuotaDefinitionURL) String() string
- func (o *RetrieveSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *RetrieveSpaceQuotaDefinitionURL) WithBasePath(bp string) *RetrieveSpaceQuotaDefinitionURL
- type UpdateSpaceQuotaDefinition
- type UpdateSpaceQuotaDefinitionCreated
- func (o *UpdateSpaceQuotaDefinitionCreated) SetPayload(payload *models.UpdateSpaceQuotaDefinitionResponseResource)
- func (o *UpdateSpaceQuotaDefinitionCreated) WithPayload(payload *models.UpdateSpaceQuotaDefinitionResponseResource) *UpdateSpaceQuotaDefinitionCreated
- func (o *UpdateSpaceQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSpaceQuotaDefinitionHandler
- type UpdateSpaceQuotaDefinitionHandlerFunc
- type UpdateSpaceQuotaDefinitionParams
- type UpdateSpaceQuotaDefinitionURL
- func (o *UpdateSpaceQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *UpdateSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateSpaceQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateSpaceQuotaDefinitionURL) SetBasePath(bp string)
- func (o *UpdateSpaceQuotaDefinitionURL) String() string
- func (o *UpdateSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *UpdateSpaceQuotaDefinitionURL) WithBasePath(bp string) *UpdateSpaceQuotaDefinitionURL
Constants ¶
const AssociateSpaceWithSpaceQuotaDefinitionCreatedCode int = 201
AssociateSpaceWithSpaceQuotaDefinitionCreatedCode is the HTTP code returned for type AssociateSpaceWithSpaceQuotaDefinitionCreated
const CreateSpaceQuotaDefinitionCreatedCode int = 201
CreateSpaceQuotaDefinitionCreatedCode is the HTTP code returned for type CreateSpaceQuotaDefinitionCreated
const DeleteSpaceQuotaDefinitionNoContentCode int = 204
DeleteSpaceQuotaDefinitionNoContentCode is the HTTP code returned for type DeleteSpaceQuotaDefinitionNoContent
const ListAllSpaceQuotaDefinitionsOKCode int = 200
ListAllSpaceQuotaDefinitionsOKCode is the HTTP code returned for type ListAllSpaceQuotaDefinitionsOK
const ListAllSpacesForSpaceQuotaDefinitionOKCode int = 200
ListAllSpacesForSpaceQuotaDefinitionOKCode is the HTTP code returned for type ListAllSpacesForSpaceQuotaDefinitionOK
const RemoveSpaceFromSpaceQuotaDefinitionCreatedCode int = 201
RemoveSpaceFromSpaceQuotaDefinitionCreatedCode is the HTTP code returned for type RemoveSpaceFromSpaceQuotaDefinitionCreated
const RetrieveSpaceQuotaDefinitionOKCode int = 200
RetrieveSpaceQuotaDefinitionOKCode is the HTTP code returned for type RetrieveSpaceQuotaDefinitionOK
const UpdateSpaceQuotaDefinitionCreatedCode int = 201
UpdateSpaceQuotaDefinitionCreatedCode is the HTTP code returned for type UpdateSpaceQuotaDefinitionCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociateSpaceWithSpaceQuotaDefinition ¶
type AssociateSpaceWithSpaceQuotaDefinition struct { Context *middleware.Context Handler AssociateSpaceWithSpaceQuotaDefinitionHandler }
AssociateSpaceWithSpaceQuotaDefinition swagger:route PUT /space_quota_definitions/{guid}/spaces/{space_guid} spaceQuotaDefinitions associateSpaceWithSpaceQuotaDefinition
Associate Space with the Space Quota Definition ¶
curl --insecure -i %s/v2/space_quota_definitions/{guid}/spaces/{space_guid} -X PUT -H 'Authorization: %s'
func NewAssociateSpaceWithSpaceQuotaDefinition ¶
func NewAssociateSpaceWithSpaceQuotaDefinition(ctx *middleware.Context, handler AssociateSpaceWithSpaceQuotaDefinitionHandler) *AssociateSpaceWithSpaceQuotaDefinition
NewAssociateSpaceWithSpaceQuotaDefinition creates a new http.Handler for the associate space with space quota definition operation
func (*AssociateSpaceWithSpaceQuotaDefinition) ServeHTTP ¶
func (o *AssociateSpaceWithSpaceQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AssociateSpaceWithSpaceQuotaDefinitionCreated ¶
type AssociateSpaceWithSpaceQuotaDefinitionCreated struct { /* In: Body */ Payload *models.AssociateSpaceWithSpaceQuotaDefinitionResponseResource `json:"body,omitempty"` }
AssociateSpaceWithSpaceQuotaDefinitionCreated successful response
swagger:response associateSpaceWithSpaceQuotaDefinitionCreated
func NewAssociateSpaceWithSpaceQuotaDefinitionCreated ¶
func NewAssociateSpaceWithSpaceQuotaDefinitionCreated() *AssociateSpaceWithSpaceQuotaDefinitionCreated
NewAssociateSpaceWithSpaceQuotaDefinitionCreated creates AssociateSpaceWithSpaceQuotaDefinitionCreated with default headers values
func (*AssociateSpaceWithSpaceQuotaDefinitionCreated) SetPayload ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionCreated) SetPayload(payload *models.AssociateSpaceWithSpaceQuotaDefinitionResponseResource)
SetPayload sets the payload to the associate space with space quota definition created response
func (*AssociateSpaceWithSpaceQuotaDefinitionCreated) WithPayload ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionCreated) WithPayload(payload *models.AssociateSpaceWithSpaceQuotaDefinitionResponseResource) *AssociateSpaceWithSpaceQuotaDefinitionCreated
WithPayload adds the payload to the associate space with space quota definition created response
func (*AssociateSpaceWithSpaceQuotaDefinitionCreated) WriteResponse ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AssociateSpaceWithSpaceQuotaDefinitionHandler ¶
type AssociateSpaceWithSpaceQuotaDefinitionHandler interface {
Handle(AssociateSpaceWithSpaceQuotaDefinitionParams) middleware.Responder
}
AssociateSpaceWithSpaceQuotaDefinitionHandler interface for that can handle valid associate space with space quota definition params
type AssociateSpaceWithSpaceQuotaDefinitionHandlerFunc ¶
type AssociateSpaceWithSpaceQuotaDefinitionHandlerFunc func(AssociateSpaceWithSpaceQuotaDefinitionParams) middleware.Responder
AssociateSpaceWithSpaceQuotaDefinitionHandlerFunc turns a function with the right signature into a associate space with space quota definition handler
func (AssociateSpaceWithSpaceQuotaDefinitionHandlerFunc) Handle ¶
func (fn AssociateSpaceWithSpaceQuotaDefinitionHandlerFunc) Handle(params AssociateSpaceWithSpaceQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type AssociateSpaceWithSpaceQuotaDefinitionParams ¶
type AssociateSpaceWithSpaceQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/space_quota_definitions/:guid/spaces/:space_guid' Required: true In: path */ GUID string /*The space_guid parameter is used as a part of the request URL: '/v2/space_quota_definitions/:guid/spaces/:space_guid' Required: true In: path */ SpaceGUID string }
AssociateSpaceWithSpaceQuotaDefinitionParams contains all the bound params for the associate space with space quota definition operation typically these are obtained from a http.Request
swagger:parameters associateSpaceWithSpaceQuotaDefinition
func NewAssociateSpaceWithSpaceQuotaDefinitionParams ¶
func NewAssociateSpaceWithSpaceQuotaDefinitionParams() AssociateSpaceWithSpaceQuotaDefinitionParams
NewAssociateSpaceWithSpaceQuotaDefinitionParams creates a new AssociateSpaceWithSpaceQuotaDefinitionParams object no default values defined in spec.
func (*AssociateSpaceWithSpaceQuotaDefinitionParams) BindRequest ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionParams) 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 NewAssociateSpaceWithSpaceQuotaDefinitionParams() beforehand.
type AssociateSpaceWithSpaceQuotaDefinitionURL ¶
type AssociateSpaceWithSpaceQuotaDefinitionURL struct { GUID string SpaceGUID string // contains filtered or unexported fields }
AssociateSpaceWithSpaceQuotaDefinitionURL generates an URL for the associate space with space quota definition operation
func (*AssociateSpaceWithSpaceQuotaDefinitionURL) Build ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*AssociateSpaceWithSpaceQuotaDefinitionURL) BuildFull ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AssociateSpaceWithSpaceQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AssociateSpaceWithSpaceQuotaDefinitionURL) SetBasePath ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) 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 (*AssociateSpaceWithSpaceQuotaDefinitionURL) String ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*AssociateSpaceWithSpaceQuotaDefinitionURL) StringFull ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AssociateSpaceWithSpaceQuotaDefinitionURL) WithBasePath ¶
func (o *AssociateSpaceWithSpaceQuotaDefinitionURL) WithBasePath(bp string) *AssociateSpaceWithSpaceQuotaDefinitionURL
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 CreateSpaceQuotaDefinition ¶
type CreateSpaceQuotaDefinition struct { Context *middleware.Context Handler CreateSpaceQuotaDefinitionHandler }
CreateSpaceQuotaDefinition swagger:route POST /space_quota_definitions spaceQuotaDefinitions createSpaceQuotaDefinition
Creating a Space Quota Definition ¶
curl --insecure -i %s/v2/space_quota_definitions -X POST -H 'Authorization: %s' -d '%s'
func NewCreateSpaceQuotaDefinition ¶
func NewCreateSpaceQuotaDefinition(ctx *middleware.Context, handler CreateSpaceQuotaDefinitionHandler) *CreateSpaceQuotaDefinition
NewCreateSpaceQuotaDefinition creates a new http.Handler for the create space quota definition operation
func (*CreateSpaceQuotaDefinition) ServeHTTP ¶
func (o *CreateSpaceQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateSpaceQuotaDefinitionCreated ¶
type CreateSpaceQuotaDefinitionCreated struct { /* In: Body */ Payload *models.CreateSpaceQuotaDefinitionResponseResource `json:"body,omitempty"` }
CreateSpaceQuotaDefinitionCreated successful response
swagger:response createSpaceQuotaDefinitionCreated
func NewCreateSpaceQuotaDefinitionCreated ¶
func NewCreateSpaceQuotaDefinitionCreated() *CreateSpaceQuotaDefinitionCreated
NewCreateSpaceQuotaDefinitionCreated creates CreateSpaceQuotaDefinitionCreated with default headers values
func (*CreateSpaceQuotaDefinitionCreated) SetPayload ¶
func (o *CreateSpaceQuotaDefinitionCreated) SetPayload(payload *models.CreateSpaceQuotaDefinitionResponseResource)
SetPayload sets the payload to the create space quota definition created response
func (*CreateSpaceQuotaDefinitionCreated) WithPayload ¶
func (o *CreateSpaceQuotaDefinitionCreated) WithPayload(payload *models.CreateSpaceQuotaDefinitionResponseResource) *CreateSpaceQuotaDefinitionCreated
WithPayload adds the payload to the create space quota definition created response
func (*CreateSpaceQuotaDefinitionCreated) WriteResponse ¶
func (o *CreateSpaceQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateSpaceQuotaDefinitionHandler ¶
type CreateSpaceQuotaDefinitionHandler interface {
Handle(CreateSpaceQuotaDefinitionParams) middleware.Responder
}
CreateSpaceQuotaDefinitionHandler interface for that can handle valid create space quota definition params
type CreateSpaceQuotaDefinitionHandlerFunc ¶
type CreateSpaceQuotaDefinitionHandlerFunc func(CreateSpaceQuotaDefinitionParams) middleware.Responder
CreateSpaceQuotaDefinitionHandlerFunc turns a function with the right signature into a create space quota definition handler
func (CreateSpaceQuotaDefinitionHandlerFunc) Handle ¶
func (fn CreateSpaceQuotaDefinitionHandlerFunc) Handle(params CreateSpaceQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type CreateSpaceQuotaDefinitionParams ¶
type CreateSpaceQuotaDefinitionParams 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.CreateSpaceQuotaDefinitionRequest }
CreateSpaceQuotaDefinitionParams contains all the bound params for the create space quota definition operation typically these are obtained from a http.Request
swagger:parameters createSpaceQuotaDefinition
func NewCreateSpaceQuotaDefinitionParams ¶
func NewCreateSpaceQuotaDefinitionParams() CreateSpaceQuotaDefinitionParams
NewCreateSpaceQuotaDefinitionParams creates a new CreateSpaceQuotaDefinitionParams object no default values defined in spec.
func (*CreateSpaceQuotaDefinitionParams) BindRequest ¶
func (o *CreateSpaceQuotaDefinitionParams) 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 NewCreateSpaceQuotaDefinitionParams() beforehand.
type CreateSpaceQuotaDefinitionURL ¶
type CreateSpaceQuotaDefinitionURL struct {
// contains filtered or unexported fields
}
CreateSpaceQuotaDefinitionURL generates an URL for the create space quota definition operation
func (*CreateSpaceQuotaDefinitionURL) Build ¶
func (o *CreateSpaceQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateSpaceQuotaDefinitionURL) BuildFull ¶
func (o *CreateSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateSpaceQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateSpaceQuotaDefinitionURL) SetBasePath ¶
func (o *CreateSpaceQuotaDefinitionURL) 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 (*CreateSpaceQuotaDefinitionURL) String ¶
func (o *CreateSpaceQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*CreateSpaceQuotaDefinitionURL) StringFull ¶
func (o *CreateSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateSpaceQuotaDefinitionURL) WithBasePath ¶
func (o *CreateSpaceQuotaDefinitionURL) WithBasePath(bp string) *CreateSpaceQuotaDefinitionURL
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 DeleteSpaceQuotaDefinition ¶
type DeleteSpaceQuotaDefinition struct { Context *middleware.Context Handler DeleteSpaceQuotaDefinitionHandler }
DeleteSpaceQuotaDefinition swagger:route DELETE /space_quota_definitions/{guid} spaceQuotaDefinitions deleteSpaceQuotaDefinition
Delete a Particular Space Quota Definition ¶
curl --insecure -i %s/v2/space_quota_definitions/{guid} -X DELETE -H 'Authorization: %s'
func NewDeleteSpaceQuotaDefinition ¶
func NewDeleteSpaceQuotaDefinition(ctx *middleware.Context, handler DeleteSpaceQuotaDefinitionHandler) *DeleteSpaceQuotaDefinition
NewDeleteSpaceQuotaDefinition creates a new http.Handler for the delete space quota definition operation
func (*DeleteSpaceQuotaDefinition) ServeHTTP ¶
func (o *DeleteSpaceQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSpaceQuotaDefinitionHandler ¶
type DeleteSpaceQuotaDefinitionHandler interface {
Handle(DeleteSpaceQuotaDefinitionParams) middleware.Responder
}
DeleteSpaceQuotaDefinitionHandler interface for that can handle valid delete space quota definition params
type DeleteSpaceQuotaDefinitionHandlerFunc ¶
type DeleteSpaceQuotaDefinitionHandlerFunc func(DeleteSpaceQuotaDefinitionParams) middleware.Responder
DeleteSpaceQuotaDefinitionHandlerFunc turns a function with the right signature into a delete space quota definition handler
func (DeleteSpaceQuotaDefinitionHandlerFunc) Handle ¶
func (fn DeleteSpaceQuotaDefinitionHandlerFunc) Handle(params DeleteSpaceQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type DeleteSpaceQuotaDefinitionNoContent ¶
type DeleteSpaceQuotaDefinitionNoContent struct { }
DeleteSpaceQuotaDefinitionNoContent successful response
swagger:response deleteSpaceQuotaDefinitionNoContent
func NewDeleteSpaceQuotaDefinitionNoContent ¶
func NewDeleteSpaceQuotaDefinitionNoContent() *DeleteSpaceQuotaDefinitionNoContent
NewDeleteSpaceQuotaDefinitionNoContent creates DeleteSpaceQuotaDefinitionNoContent with default headers values
func (*DeleteSpaceQuotaDefinitionNoContent) WriteResponse ¶
func (o *DeleteSpaceQuotaDefinitionNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSpaceQuotaDefinitionParams ¶
type DeleteSpaceQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/space_quota_definitions/:guid' Required: true In: path */ GUID string }
DeleteSpaceQuotaDefinitionParams contains all the bound params for the delete space quota definition operation typically these are obtained from a http.Request
swagger:parameters deleteSpaceQuotaDefinition
func NewDeleteSpaceQuotaDefinitionParams ¶
func NewDeleteSpaceQuotaDefinitionParams() DeleteSpaceQuotaDefinitionParams
NewDeleteSpaceQuotaDefinitionParams creates a new DeleteSpaceQuotaDefinitionParams object no default values defined in spec.
func (*DeleteSpaceQuotaDefinitionParams) BindRequest ¶
func (o *DeleteSpaceQuotaDefinitionParams) 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 NewDeleteSpaceQuotaDefinitionParams() beforehand.
type DeleteSpaceQuotaDefinitionURL ¶
type DeleteSpaceQuotaDefinitionURL struct { GUID string // contains filtered or unexported fields }
DeleteSpaceQuotaDefinitionURL generates an URL for the delete space quota definition operation
func (*DeleteSpaceQuotaDefinitionURL) Build ¶
func (o *DeleteSpaceQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteSpaceQuotaDefinitionURL) BuildFull ¶
func (o *DeleteSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteSpaceQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteSpaceQuotaDefinitionURL) SetBasePath ¶
func (o *DeleteSpaceQuotaDefinitionURL) 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 (*DeleteSpaceQuotaDefinitionURL) String ¶
func (o *DeleteSpaceQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*DeleteSpaceQuotaDefinitionURL) StringFull ¶
func (o *DeleteSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteSpaceQuotaDefinitionURL) WithBasePath ¶
func (o *DeleteSpaceQuotaDefinitionURL) WithBasePath(bp string) *DeleteSpaceQuotaDefinitionURL
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 ListAllSpaceQuotaDefinitions ¶
type ListAllSpaceQuotaDefinitions struct { Context *middleware.Context Handler ListAllSpaceQuotaDefinitionsHandler }
ListAllSpaceQuotaDefinitions swagger:route GET /space_quota_definitions spaceQuotaDefinitions listAllSpaceQuotaDefinitions
List all Space Quota Definitions ¶
curl --insecure -i %s/v2/space_quota_definitions -X GET -H 'Authorization: %s'
func NewListAllSpaceQuotaDefinitions ¶
func NewListAllSpaceQuotaDefinitions(ctx *middleware.Context, handler ListAllSpaceQuotaDefinitionsHandler) *ListAllSpaceQuotaDefinitions
NewListAllSpaceQuotaDefinitions creates a new http.Handler for the list all space quota definitions operation
func (*ListAllSpaceQuotaDefinitions) ServeHTTP ¶
func (o *ListAllSpaceQuotaDefinitions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllSpaceQuotaDefinitionsHandler ¶
type ListAllSpaceQuotaDefinitionsHandler interface {
Handle(ListAllSpaceQuotaDefinitionsParams) middleware.Responder
}
ListAllSpaceQuotaDefinitionsHandler interface for that can handle valid list all space quota definitions params
type ListAllSpaceQuotaDefinitionsHandlerFunc ¶
type ListAllSpaceQuotaDefinitionsHandlerFunc func(ListAllSpaceQuotaDefinitionsParams) middleware.Responder
ListAllSpaceQuotaDefinitionsHandlerFunc turns a function with the right signature into a list all space quota definitions handler
func (ListAllSpaceQuotaDefinitionsHandlerFunc) Handle ¶
func (fn ListAllSpaceQuotaDefinitionsHandlerFunc) Handle(params ListAllSpaceQuotaDefinitionsParams) middleware.Responder
Handle executing the request and returning a response
type ListAllSpaceQuotaDefinitionsOK ¶
type ListAllSpaceQuotaDefinitionsOK struct { /* In: Body */ Payload *models.ListAllSpaceQuotaDefinitionsResponsePaged `json:"body,omitempty"` }
ListAllSpaceQuotaDefinitionsOK successful response
swagger:response listAllSpaceQuotaDefinitionsOK
func NewListAllSpaceQuotaDefinitionsOK ¶
func NewListAllSpaceQuotaDefinitionsOK() *ListAllSpaceQuotaDefinitionsOK
NewListAllSpaceQuotaDefinitionsOK creates ListAllSpaceQuotaDefinitionsOK with default headers values
func (*ListAllSpaceQuotaDefinitionsOK) SetPayload ¶
func (o *ListAllSpaceQuotaDefinitionsOK) SetPayload(payload *models.ListAllSpaceQuotaDefinitionsResponsePaged)
SetPayload sets the payload to the list all space quota definitions o k response
func (*ListAllSpaceQuotaDefinitionsOK) WithPayload ¶
func (o *ListAllSpaceQuotaDefinitionsOK) WithPayload(payload *models.ListAllSpaceQuotaDefinitionsResponsePaged) *ListAllSpaceQuotaDefinitionsOK
WithPayload adds the payload to the list all space quota definitions o k response
func (*ListAllSpaceQuotaDefinitionsOK) WriteResponse ¶
func (o *ListAllSpaceQuotaDefinitionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllSpaceQuotaDefinitionsParams ¶
type ListAllSpaceQuotaDefinitionsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ListAllSpaceQuotaDefinitionsParams contains all the bound params for the list all space quota definitions operation typically these are obtained from a http.Request
swagger:parameters listAllSpaceQuotaDefinitions
func NewListAllSpaceQuotaDefinitionsParams ¶
func NewListAllSpaceQuotaDefinitionsParams() ListAllSpaceQuotaDefinitionsParams
NewListAllSpaceQuotaDefinitionsParams creates a new ListAllSpaceQuotaDefinitionsParams object no default values defined in spec.
func (*ListAllSpaceQuotaDefinitionsParams) BindRequest ¶
func (o *ListAllSpaceQuotaDefinitionsParams) 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 NewListAllSpaceQuotaDefinitionsParams() beforehand.
type ListAllSpaceQuotaDefinitionsURL ¶
type ListAllSpaceQuotaDefinitionsURL struct {
// contains filtered or unexported fields
}
ListAllSpaceQuotaDefinitionsURL generates an URL for the list all space quota definitions operation
func (*ListAllSpaceQuotaDefinitionsURL) Build ¶
func (o *ListAllSpaceQuotaDefinitionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllSpaceQuotaDefinitionsURL) BuildFull ¶
func (o *ListAllSpaceQuotaDefinitionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllSpaceQuotaDefinitionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllSpaceQuotaDefinitionsURL) SetBasePath ¶
func (o *ListAllSpaceQuotaDefinitionsURL) 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 (*ListAllSpaceQuotaDefinitionsURL) String ¶
func (o *ListAllSpaceQuotaDefinitionsURL) String() string
String returns the string representation of the path with query string
func (*ListAllSpaceQuotaDefinitionsURL) StringFull ¶
func (o *ListAllSpaceQuotaDefinitionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllSpaceQuotaDefinitionsURL) WithBasePath ¶
func (o *ListAllSpaceQuotaDefinitionsURL) WithBasePath(bp string) *ListAllSpaceQuotaDefinitionsURL
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 ListAllSpacesForSpaceQuotaDefinition ¶
type ListAllSpacesForSpaceQuotaDefinition struct { Context *middleware.Context Handler ListAllSpacesForSpaceQuotaDefinitionHandler }
ListAllSpacesForSpaceQuotaDefinition swagger:route GET /space_quota_definitions/{guid}/spaces spaceQuotaDefinitions listAllSpacesForSpaceQuotaDefinition
List all Spaces for the Space Quota Definition ¶
curl --insecure -i %s/v2/space_quota_definitions/{guid}/spaces -X GET -H 'Authorization: %s'
func NewListAllSpacesForSpaceQuotaDefinition ¶
func NewListAllSpacesForSpaceQuotaDefinition(ctx *middleware.Context, handler ListAllSpacesForSpaceQuotaDefinitionHandler) *ListAllSpacesForSpaceQuotaDefinition
NewListAllSpacesForSpaceQuotaDefinition creates a new http.Handler for the list all spaces for space quota definition operation
func (*ListAllSpacesForSpaceQuotaDefinition) ServeHTTP ¶
func (o *ListAllSpacesForSpaceQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllSpacesForSpaceQuotaDefinitionHandler ¶
type ListAllSpacesForSpaceQuotaDefinitionHandler interface {
Handle(ListAllSpacesForSpaceQuotaDefinitionParams) middleware.Responder
}
ListAllSpacesForSpaceQuotaDefinitionHandler interface for that can handle valid list all spaces for space quota definition params
type ListAllSpacesForSpaceQuotaDefinitionHandlerFunc ¶
type ListAllSpacesForSpaceQuotaDefinitionHandlerFunc func(ListAllSpacesForSpaceQuotaDefinitionParams) middleware.Responder
ListAllSpacesForSpaceQuotaDefinitionHandlerFunc turns a function with the right signature into a list all spaces for space quota definition handler
func (ListAllSpacesForSpaceQuotaDefinitionHandlerFunc) Handle ¶
func (fn ListAllSpacesForSpaceQuotaDefinitionHandlerFunc) Handle(params ListAllSpacesForSpaceQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type ListAllSpacesForSpaceQuotaDefinitionOK ¶
type ListAllSpacesForSpaceQuotaDefinitionOK struct { /* In: Body */ Payload *models.ListAllSpacesForSpaceQuotaDefinitionResponsePaged `json:"body,omitempty"` }
ListAllSpacesForSpaceQuotaDefinitionOK successful response
swagger:response listAllSpacesForSpaceQuotaDefinitionOK
func NewListAllSpacesForSpaceQuotaDefinitionOK ¶
func NewListAllSpacesForSpaceQuotaDefinitionOK() *ListAllSpacesForSpaceQuotaDefinitionOK
NewListAllSpacesForSpaceQuotaDefinitionOK creates ListAllSpacesForSpaceQuotaDefinitionOK with default headers values
func (*ListAllSpacesForSpaceQuotaDefinitionOK) SetPayload ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionOK) SetPayload(payload *models.ListAllSpacesForSpaceQuotaDefinitionResponsePaged)
SetPayload sets the payload to the list all spaces for space quota definition o k response
func (*ListAllSpacesForSpaceQuotaDefinitionOK) WithPayload ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionOK) WithPayload(payload *models.ListAllSpacesForSpaceQuotaDefinitionResponsePaged) *ListAllSpacesForSpaceQuotaDefinitionOK
WithPayload adds the payload to the list all spaces for space quota definition o k response
func (*ListAllSpacesForSpaceQuotaDefinitionOK) WriteResponse ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllSpacesForSpaceQuotaDefinitionParams ¶
type ListAllSpacesForSpaceQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/space_quota_definitions/:guid/spaces' Required: true In: path */ GUID string }
ListAllSpacesForSpaceQuotaDefinitionParams contains all the bound params for the list all spaces for space quota definition operation typically these are obtained from a http.Request
swagger:parameters listAllSpacesForSpaceQuotaDefinition
func NewListAllSpacesForSpaceQuotaDefinitionParams ¶
func NewListAllSpacesForSpaceQuotaDefinitionParams() ListAllSpacesForSpaceQuotaDefinitionParams
NewListAllSpacesForSpaceQuotaDefinitionParams creates a new ListAllSpacesForSpaceQuotaDefinitionParams object no default values defined in spec.
func (*ListAllSpacesForSpaceQuotaDefinitionParams) BindRequest ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionParams) 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 NewListAllSpacesForSpaceQuotaDefinitionParams() beforehand.
type ListAllSpacesForSpaceQuotaDefinitionURL ¶
type ListAllSpacesForSpaceQuotaDefinitionURL struct { GUID string // contains filtered or unexported fields }
ListAllSpacesForSpaceQuotaDefinitionURL generates an URL for the list all spaces for space quota definition operation
func (*ListAllSpacesForSpaceQuotaDefinitionURL) Build ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllSpacesForSpaceQuotaDefinitionURL) BuildFull ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllSpacesForSpaceQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllSpacesForSpaceQuotaDefinitionURL) SetBasePath ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionURL) 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 (*ListAllSpacesForSpaceQuotaDefinitionURL) String ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*ListAllSpacesForSpaceQuotaDefinitionURL) StringFull ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllSpacesForSpaceQuotaDefinitionURL) WithBasePath ¶
func (o *ListAllSpacesForSpaceQuotaDefinitionURL) WithBasePath(bp string) *ListAllSpacesForSpaceQuotaDefinitionURL
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 RemoveSpaceFromSpaceQuotaDefinition ¶
type RemoveSpaceFromSpaceQuotaDefinition struct { Context *middleware.Context Handler RemoveSpaceFromSpaceQuotaDefinitionHandler }
RemoveSpaceFromSpaceQuotaDefinition swagger:route DELETE /space_quota_definitions/{guid}/spaces/{space_guid} spaceQuotaDefinitions removeSpaceFromSpaceQuotaDefinition
Remove Space from the Space Quota Definition ¶
curl --insecure -i %s/v2/space_quota_definitions/{guid}/spaces/{space_guid} -X DELETE -H 'Authorization: %s'
func NewRemoveSpaceFromSpaceQuotaDefinition ¶
func NewRemoveSpaceFromSpaceQuotaDefinition(ctx *middleware.Context, handler RemoveSpaceFromSpaceQuotaDefinitionHandler) *RemoveSpaceFromSpaceQuotaDefinition
NewRemoveSpaceFromSpaceQuotaDefinition creates a new http.Handler for the remove space from space quota definition operation
func (*RemoveSpaceFromSpaceQuotaDefinition) ServeHTTP ¶
func (o *RemoveSpaceFromSpaceQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RemoveSpaceFromSpaceQuotaDefinitionCreated ¶
type RemoveSpaceFromSpaceQuotaDefinitionCreated struct { /* In: Body */ Payload *models.RemoveSpaceFromSpaceQuotaDefinitionResponseResource `json:"body,omitempty"` }
RemoveSpaceFromSpaceQuotaDefinitionCreated successful response
swagger:response removeSpaceFromSpaceQuotaDefinitionCreated
func NewRemoveSpaceFromSpaceQuotaDefinitionCreated ¶
func NewRemoveSpaceFromSpaceQuotaDefinitionCreated() *RemoveSpaceFromSpaceQuotaDefinitionCreated
NewRemoveSpaceFromSpaceQuotaDefinitionCreated creates RemoveSpaceFromSpaceQuotaDefinitionCreated with default headers values
func (*RemoveSpaceFromSpaceQuotaDefinitionCreated) SetPayload ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionCreated) SetPayload(payload *models.RemoveSpaceFromSpaceQuotaDefinitionResponseResource)
SetPayload sets the payload to the remove space from space quota definition created response
func (*RemoveSpaceFromSpaceQuotaDefinitionCreated) WithPayload ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionCreated) WithPayload(payload *models.RemoveSpaceFromSpaceQuotaDefinitionResponseResource) *RemoveSpaceFromSpaceQuotaDefinitionCreated
WithPayload adds the payload to the remove space from space quota definition created response
func (*RemoveSpaceFromSpaceQuotaDefinitionCreated) WriteResponse ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoveSpaceFromSpaceQuotaDefinitionHandler ¶
type RemoveSpaceFromSpaceQuotaDefinitionHandler interface {
Handle(RemoveSpaceFromSpaceQuotaDefinitionParams) middleware.Responder
}
RemoveSpaceFromSpaceQuotaDefinitionHandler interface for that can handle valid remove space from space quota definition params
type RemoveSpaceFromSpaceQuotaDefinitionHandlerFunc ¶
type RemoveSpaceFromSpaceQuotaDefinitionHandlerFunc func(RemoveSpaceFromSpaceQuotaDefinitionParams) middleware.Responder
RemoveSpaceFromSpaceQuotaDefinitionHandlerFunc turns a function with the right signature into a remove space from space quota definition handler
func (RemoveSpaceFromSpaceQuotaDefinitionHandlerFunc) Handle ¶
func (fn RemoveSpaceFromSpaceQuotaDefinitionHandlerFunc) Handle(params RemoveSpaceFromSpaceQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type RemoveSpaceFromSpaceQuotaDefinitionParams ¶
type RemoveSpaceFromSpaceQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/space_quota_definitions/:guid/spaces/:space_guid' Required: true In: path */ GUID string /*The space_guid parameter is used as a part of the request URL: '/v2/space_quota_definitions/:guid/spaces/:space_guid' Required: true In: path */ SpaceGUID string }
RemoveSpaceFromSpaceQuotaDefinitionParams contains all the bound params for the remove space from space quota definition operation typically these are obtained from a http.Request
swagger:parameters removeSpaceFromSpaceQuotaDefinition
func NewRemoveSpaceFromSpaceQuotaDefinitionParams ¶
func NewRemoveSpaceFromSpaceQuotaDefinitionParams() RemoveSpaceFromSpaceQuotaDefinitionParams
NewRemoveSpaceFromSpaceQuotaDefinitionParams creates a new RemoveSpaceFromSpaceQuotaDefinitionParams object no default values defined in spec.
func (*RemoveSpaceFromSpaceQuotaDefinitionParams) BindRequest ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionParams) 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 NewRemoveSpaceFromSpaceQuotaDefinitionParams() beforehand.
type RemoveSpaceFromSpaceQuotaDefinitionURL ¶
type RemoveSpaceFromSpaceQuotaDefinitionURL struct { GUID string SpaceGUID string // contains filtered or unexported fields }
RemoveSpaceFromSpaceQuotaDefinitionURL generates an URL for the remove space from space quota definition operation
func (*RemoveSpaceFromSpaceQuotaDefinitionURL) Build ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*RemoveSpaceFromSpaceQuotaDefinitionURL) BuildFull ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RemoveSpaceFromSpaceQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RemoveSpaceFromSpaceQuotaDefinitionURL) SetBasePath ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) 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 (*RemoveSpaceFromSpaceQuotaDefinitionURL) String ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*RemoveSpaceFromSpaceQuotaDefinitionURL) StringFull ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RemoveSpaceFromSpaceQuotaDefinitionURL) WithBasePath ¶
func (o *RemoveSpaceFromSpaceQuotaDefinitionURL) WithBasePath(bp string) *RemoveSpaceFromSpaceQuotaDefinitionURL
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 RetrieveSpaceQuotaDefinition ¶
type RetrieveSpaceQuotaDefinition struct { Context *middleware.Context Handler RetrieveSpaceQuotaDefinitionHandler }
RetrieveSpaceQuotaDefinition swagger:route GET /space_quota_definitions/{guid} spaceQuotaDefinitions retrieveSpaceQuotaDefinition
Retrieve a Particular Space Quota Definition ¶
curl --insecure -i %s/v2/space_quota_definitions/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveSpaceQuotaDefinition ¶
func NewRetrieveSpaceQuotaDefinition(ctx *middleware.Context, handler RetrieveSpaceQuotaDefinitionHandler) *RetrieveSpaceQuotaDefinition
NewRetrieveSpaceQuotaDefinition creates a new http.Handler for the retrieve space quota definition operation
func (*RetrieveSpaceQuotaDefinition) ServeHTTP ¶
func (o *RetrieveSpaceQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveSpaceQuotaDefinitionHandler ¶
type RetrieveSpaceQuotaDefinitionHandler interface {
Handle(RetrieveSpaceQuotaDefinitionParams) middleware.Responder
}
RetrieveSpaceQuotaDefinitionHandler interface for that can handle valid retrieve space quota definition params
type RetrieveSpaceQuotaDefinitionHandlerFunc ¶
type RetrieveSpaceQuotaDefinitionHandlerFunc func(RetrieveSpaceQuotaDefinitionParams) middleware.Responder
RetrieveSpaceQuotaDefinitionHandlerFunc turns a function with the right signature into a retrieve space quota definition handler
func (RetrieveSpaceQuotaDefinitionHandlerFunc) Handle ¶
func (fn RetrieveSpaceQuotaDefinitionHandlerFunc) Handle(params RetrieveSpaceQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveSpaceQuotaDefinitionOK ¶
type RetrieveSpaceQuotaDefinitionOK struct { /* In: Body */ Payload *models.RetrieveSpaceQuotaDefinitionResponseResource `json:"body,omitempty"` }
RetrieveSpaceQuotaDefinitionOK successful response
swagger:response retrieveSpaceQuotaDefinitionOK
func NewRetrieveSpaceQuotaDefinitionOK ¶
func NewRetrieveSpaceQuotaDefinitionOK() *RetrieveSpaceQuotaDefinitionOK
NewRetrieveSpaceQuotaDefinitionOK creates RetrieveSpaceQuotaDefinitionOK with default headers values
func (*RetrieveSpaceQuotaDefinitionOK) SetPayload ¶
func (o *RetrieveSpaceQuotaDefinitionOK) SetPayload(payload *models.RetrieveSpaceQuotaDefinitionResponseResource)
SetPayload sets the payload to the retrieve space quota definition o k response
func (*RetrieveSpaceQuotaDefinitionOK) WithPayload ¶
func (o *RetrieveSpaceQuotaDefinitionOK) WithPayload(payload *models.RetrieveSpaceQuotaDefinitionResponseResource) *RetrieveSpaceQuotaDefinitionOK
WithPayload adds the payload to the retrieve space quota definition o k response
func (*RetrieveSpaceQuotaDefinitionOK) WriteResponse ¶
func (o *RetrieveSpaceQuotaDefinitionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveSpaceQuotaDefinitionParams ¶
type RetrieveSpaceQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/space_quota_definitions/:guid' Required: true In: path */ GUID string }
RetrieveSpaceQuotaDefinitionParams contains all the bound params for the retrieve space quota definition operation typically these are obtained from a http.Request
swagger:parameters retrieveSpaceQuotaDefinition
func NewRetrieveSpaceQuotaDefinitionParams ¶
func NewRetrieveSpaceQuotaDefinitionParams() RetrieveSpaceQuotaDefinitionParams
NewRetrieveSpaceQuotaDefinitionParams creates a new RetrieveSpaceQuotaDefinitionParams object no default values defined in spec.
func (*RetrieveSpaceQuotaDefinitionParams) BindRequest ¶
func (o *RetrieveSpaceQuotaDefinitionParams) 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 NewRetrieveSpaceQuotaDefinitionParams() beforehand.
type RetrieveSpaceQuotaDefinitionURL ¶
type RetrieveSpaceQuotaDefinitionURL struct { GUID string // contains filtered or unexported fields }
RetrieveSpaceQuotaDefinitionURL generates an URL for the retrieve space quota definition operation
func (*RetrieveSpaceQuotaDefinitionURL) Build ¶
func (o *RetrieveSpaceQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveSpaceQuotaDefinitionURL) BuildFull ¶
func (o *RetrieveSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveSpaceQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveSpaceQuotaDefinitionURL) SetBasePath ¶
func (o *RetrieveSpaceQuotaDefinitionURL) 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 (*RetrieveSpaceQuotaDefinitionURL) String ¶
func (o *RetrieveSpaceQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*RetrieveSpaceQuotaDefinitionURL) StringFull ¶
func (o *RetrieveSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveSpaceQuotaDefinitionURL) WithBasePath ¶
func (o *RetrieveSpaceQuotaDefinitionURL) WithBasePath(bp string) *RetrieveSpaceQuotaDefinitionURL
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 UpdateSpaceQuotaDefinition ¶
type UpdateSpaceQuotaDefinition struct { Context *middleware.Context Handler UpdateSpaceQuotaDefinitionHandler }
UpdateSpaceQuotaDefinition swagger:route PUT /space_quota_definitions/{guid} spaceQuotaDefinitions updateSpaceQuotaDefinition
Updating a Space Quota Definition ¶
curl --insecure -i %s/v2/space_quota_definitions/{guid} -X PUT -H 'Authorization: %s' -d '%s'
func NewUpdateSpaceQuotaDefinition ¶
func NewUpdateSpaceQuotaDefinition(ctx *middleware.Context, handler UpdateSpaceQuotaDefinitionHandler) *UpdateSpaceQuotaDefinition
NewUpdateSpaceQuotaDefinition creates a new http.Handler for the update space quota definition operation
func (*UpdateSpaceQuotaDefinition) ServeHTTP ¶
func (o *UpdateSpaceQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateSpaceQuotaDefinitionCreated ¶
type UpdateSpaceQuotaDefinitionCreated struct { /* In: Body */ Payload *models.UpdateSpaceQuotaDefinitionResponseResource `json:"body,omitempty"` }
UpdateSpaceQuotaDefinitionCreated successful response
swagger:response updateSpaceQuotaDefinitionCreated
func NewUpdateSpaceQuotaDefinitionCreated ¶
func NewUpdateSpaceQuotaDefinitionCreated() *UpdateSpaceQuotaDefinitionCreated
NewUpdateSpaceQuotaDefinitionCreated creates UpdateSpaceQuotaDefinitionCreated with default headers values
func (*UpdateSpaceQuotaDefinitionCreated) SetPayload ¶
func (o *UpdateSpaceQuotaDefinitionCreated) SetPayload(payload *models.UpdateSpaceQuotaDefinitionResponseResource)
SetPayload sets the payload to the update space quota definition created response
func (*UpdateSpaceQuotaDefinitionCreated) WithPayload ¶
func (o *UpdateSpaceQuotaDefinitionCreated) WithPayload(payload *models.UpdateSpaceQuotaDefinitionResponseResource) *UpdateSpaceQuotaDefinitionCreated
WithPayload adds the payload to the update space quota definition created response
func (*UpdateSpaceQuotaDefinitionCreated) WriteResponse ¶
func (o *UpdateSpaceQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSpaceQuotaDefinitionHandler ¶
type UpdateSpaceQuotaDefinitionHandler interface {
Handle(UpdateSpaceQuotaDefinitionParams) middleware.Responder
}
UpdateSpaceQuotaDefinitionHandler interface for that can handle valid update space quota definition params
type UpdateSpaceQuotaDefinitionHandlerFunc ¶
type UpdateSpaceQuotaDefinitionHandlerFunc func(UpdateSpaceQuotaDefinitionParams) middleware.Responder
UpdateSpaceQuotaDefinitionHandlerFunc turns a function with the right signature into a update space quota definition handler
func (UpdateSpaceQuotaDefinitionHandlerFunc) Handle ¶
func (fn UpdateSpaceQuotaDefinitionHandlerFunc) Handle(params UpdateSpaceQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type UpdateSpaceQuotaDefinitionParams ¶
type UpdateSpaceQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/space_quota_definitions/: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.UpdateSpaceQuotaDefinitionRequest }
UpdateSpaceQuotaDefinitionParams contains all the bound params for the update space quota definition operation typically these are obtained from a http.Request
swagger:parameters updateSpaceQuotaDefinition
func NewUpdateSpaceQuotaDefinitionParams ¶
func NewUpdateSpaceQuotaDefinitionParams() UpdateSpaceQuotaDefinitionParams
NewUpdateSpaceQuotaDefinitionParams creates a new UpdateSpaceQuotaDefinitionParams object no default values defined in spec.
func (*UpdateSpaceQuotaDefinitionParams) BindRequest ¶
func (o *UpdateSpaceQuotaDefinitionParams) 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 NewUpdateSpaceQuotaDefinitionParams() beforehand.
type UpdateSpaceQuotaDefinitionURL ¶
type UpdateSpaceQuotaDefinitionURL struct { GUID string // contains filtered or unexported fields }
UpdateSpaceQuotaDefinitionURL generates an URL for the update space quota definition operation
func (*UpdateSpaceQuotaDefinitionURL) Build ¶
func (o *UpdateSpaceQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateSpaceQuotaDefinitionURL) BuildFull ¶
func (o *UpdateSpaceQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateSpaceQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateSpaceQuotaDefinitionURL) SetBasePath ¶
func (o *UpdateSpaceQuotaDefinitionURL) 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 (*UpdateSpaceQuotaDefinitionURL) String ¶
func (o *UpdateSpaceQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*UpdateSpaceQuotaDefinitionURL) StringFull ¶
func (o *UpdateSpaceQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateSpaceQuotaDefinitionURL) WithBasePath ¶
func (o *UpdateSpaceQuotaDefinitionURL) WithBasePath(bp string) *UpdateSpaceQuotaDefinitionURL
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 ¶
- associate_space_with_space_quota_definition.go
- associate_space_with_space_quota_definition_parameters.go
- associate_space_with_space_quota_definition_responses.go
- associate_space_with_space_quota_definition_urlbuilder.go
- create_space_quota_definition.go
- create_space_quota_definition_parameters.go
- create_space_quota_definition_responses.go
- create_space_quota_definition_urlbuilder.go
- delete_space_quota_definition.go
- delete_space_quota_definition_parameters.go
- delete_space_quota_definition_responses.go
- delete_space_quota_definition_urlbuilder.go
- list_all_space_quota_definitions.go
- list_all_space_quota_definitions_parameters.go
- list_all_space_quota_definitions_responses.go
- list_all_space_quota_definitions_urlbuilder.go
- list_all_spaces_for_space_quota_definition.go
- list_all_spaces_for_space_quota_definition_parameters.go
- list_all_spaces_for_space_quota_definition_responses.go
- list_all_spaces_for_space_quota_definition_urlbuilder.go
- remove_space_from_space_quota_definition.go
- remove_space_from_space_quota_definition_parameters.go
- remove_space_from_space_quota_definition_responses.go
- remove_space_from_space_quota_definition_urlbuilder.go
- retrieve_space_quota_definition.go
- retrieve_space_quota_definition_parameters.go
- retrieve_space_quota_definition_responses.go
- retrieve_space_quota_definition_urlbuilder.go
- update_space_quota_definition.go
- update_space_quota_definition_parameters.go
- update_space_quota_definition_responses.go
- update_space_quota_definition_urlbuilder.go