space_quota_definitions

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

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

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

Documentation

Index

Constants

View Source
const AssociateSpaceWithSpaceQuotaDefinitionCreatedCode int = 201

AssociateSpaceWithSpaceQuotaDefinitionCreatedCode is the HTTP code returned for type AssociateSpaceWithSpaceQuotaDefinitionCreated

View Source
const CreateSpaceQuotaDefinitionCreatedCode int = 201

CreateSpaceQuotaDefinitionCreatedCode is the HTTP code returned for type CreateSpaceQuotaDefinitionCreated

View Source
const DeleteSpaceQuotaDefinitionNoContentCode int = 204

DeleteSpaceQuotaDefinitionNoContentCode is the HTTP code returned for type DeleteSpaceQuotaDefinitionNoContent

View Source
const ListAllSpaceQuotaDefinitionsOKCode int = 200

ListAllSpaceQuotaDefinitionsOKCode is the HTTP code returned for type ListAllSpaceQuotaDefinitionsOK

View Source
const ListAllSpacesForSpaceQuotaDefinitionOKCode int = 200

ListAllSpacesForSpaceQuotaDefinitionOKCode is the HTTP code returned for type ListAllSpacesForSpaceQuotaDefinitionOK

View Source
const RemoveSpaceFromSpaceQuotaDefinitionCreatedCode int = 201

RemoveSpaceFromSpaceQuotaDefinitionCreatedCode is the HTTP code returned for type RemoveSpaceFromSpaceQuotaDefinitionCreated

View Source
const RetrieveSpaceQuotaDefinitionOKCode int = 200

RetrieveSpaceQuotaDefinitionOKCode is the HTTP code returned for type RetrieveSpaceQuotaDefinitionOK

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

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

SetPayload sets the payload to the associate space with space quota definition created response

func (*AssociateSpaceWithSpaceQuotaDefinitionCreated) WithPayload

WithPayload adds the payload to the associate space with space quota definition created response

func (*AssociateSpaceWithSpaceQuotaDefinitionCreated) WriteResponse

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

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

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

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

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

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

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

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

SetPayload sets the payload to the create space quota definition created response

func (*CreateSpaceQuotaDefinitionCreated) WithPayload

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SetPayload sets the payload to the list all space quota definitions o k response

func (*ListAllSpaceQuotaDefinitionsOK) WithPayload

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

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

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

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

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

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

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

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

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

SetPayload sets the payload to the list all spaces for space quota definition o k response

func (*ListAllSpacesForSpaceQuotaDefinitionOK) WithPayload

WithPayload adds the payload to the list all spaces for space quota definition o k response

func (*ListAllSpacesForSpaceQuotaDefinitionOK) WriteResponse

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

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

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

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

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

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

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

SetPayload sets the payload to the remove space from space quota definition created response

func (*RemoveSpaceFromSpaceQuotaDefinitionCreated) WithPayload

WithPayload adds the payload to the remove space from space quota definition created response

func (*RemoveSpaceFromSpaceQuotaDefinitionCreated) WriteResponse

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

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

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

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

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

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

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

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

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

SetPayload sets the payload to the retrieve space quota definition o k response

func (*RetrieveSpaceQuotaDefinitionOK) WithPayload

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

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

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

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

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

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

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

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

SetPayload sets the payload to the update space quota definition created response

func (*UpdateSpaceQuotaDefinitionCreated) WithPayload

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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