Documentation ¶
Index ¶
- Constants
- type CreateOrganizationQuotaDefinition
- type CreateOrganizationQuotaDefinitionCreated
- func (o *CreateOrganizationQuotaDefinitionCreated) SetPayload(payload *models.CreateOrganizationQuotaDefinitionResponseResource)
- func (o *CreateOrganizationQuotaDefinitionCreated) WithPayload(payload *models.CreateOrganizationQuotaDefinitionResponseResource) *CreateOrganizationQuotaDefinitionCreated
- func (o *CreateOrganizationQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateOrganizationQuotaDefinitionHandler
- type CreateOrganizationQuotaDefinitionHandlerFunc
- type CreateOrganizationQuotaDefinitionParams
- type CreateOrganizationQuotaDefinitionURL
- func (o *CreateOrganizationQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *CreateOrganizationQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateOrganizationQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateOrganizationQuotaDefinitionURL) SetBasePath(bp string)
- func (o *CreateOrganizationQuotaDefinitionURL) String() string
- func (o *CreateOrganizationQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *CreateOrganizationQuotaDefinitionURL) WithBasePath(bp string) *CreateOrganizationQuotaDefinitionURL
- type DeleteOrganizationQuotaDefinition
- type DeleteOrganizationQuotaDefinitionHandler
- type DeleteOrganizationQuotaDefinitionHandlerFunc
- type DeleteOrganizationQuotaDefinitionNoContent
- type DeleteOrganizationQuotaDefinitionParams
- type DeleteOrganizationQuotaDefinitionURL
- func (o *DeleteOrganizationQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *DeleteOrganizationQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteOrganizationQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteOrganizationQuotaDefinitionURL) SetBasePath(bp string)
- func (o *DeleteOrganizationQuotaDefinitionURL) String() string
- func (o *DeleteOrganizationQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *DeleteOrganizationQuotaDefinitionURL) WithBasePath(bp string) *DeleteOrganizationQuotaDefinitionURL
- type ListAllOrganizationQuotaDefinitions
- type ListAllOrganizationQuotaDefinitionsHandler
- type ListAllOrganizationQuotaDefinitionsHandlerFunc
- type ListAllOrganizationQuotaDefinitionsOK
- func (o *ListAllOrganizationQuotaDefinitionsOK) SetPayload(payload *models.ListAllOrganizationQuotaDefinitionsResponsePaged)
- func (o *ListAllOrganizationQuotaDefinitionsOK) WithPayload(payload *models.ListAllOrganizationQuotaDefinitionsResponsePaged) *ListAllOrganizationQuotaDefinitionsOK
- func (o *ListAllOrganizationQuotaDefinitionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllOrganizationQuotaDefinitionsParams
- type ListAllOrganizationQuotaDefinitionsURL
- func (o *ListAllOrganizationQuotaDefinitionsURL) Build() (*url.URL, error)
- func (o *ListAllOrganizationQuotaDefinitionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllOrganizationQuotaDefinitionsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllOrganizationQuotaDefinitionsURL) SetBasePath(bp string)
- func (o *ListAllOrganizationQuotaDefinitionsURL) String() string
- func (o *ListAllOrganizationQuotaDefinitionsURL) StringFull(scheme, host string) string
- func (o *ListAllOrganizationQuotaDefinitionsURL) WithBasePath(bp string) *ListAllOrganizationQuotaDefinitionsURL
- type RetrieveOrganizationQuotaDefinition
- type RetrieveOrganizationQuotaDefinitionHandler
- type RetrieveOrganizationQuotaDefinitionHandlerFunc
- type RetrieveOrganizationQuotaDefinitionOK
- func (o *RetrieveOrganizationQuotaDefinitionOK) SetPayload(payload *models.RetrieveOrganizationQuotaDefinitionResponseResource)
- func (o *RetrieveOrganizationQuotaDefinitionOK) WithPayload(payload *models.RetrieveOrganizationQuotaDefinitionResponseResource) *RetrieveOrganizationQuotaDefinitionOK
- func (o *RetrieveOrganizationQuotaDefinitionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrieveOrganizationQuotaDefinitionParams
- type RetrieveOrganizationQuotaDefinitionURL
- func (o *RetrieveOrganizationQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *RetrieveOrganizationQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveOrganizationQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveOrganizationQuotaDefinitionURL) SetBasePath(bp string)
- func (o *RetrieveOrganizationQuotaDefinitionURL) String() string
- func (o *RetrieveOrganizationQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *RetrieveOrganizationQuotaDefinitionURL) WithBasePath(bp string) *RetrieveOrganizationQuotaDefinitionURL
- type UpdateOrganizationQuotaDefinition
- type UpdateOrganizationQuotaDefinitionCreated
- func (o *UpdateOrganizationQuotaDefinitionCreated) SetPayload(payload *models.UpdateOrganizationQuotaDefinitionResponseResource)
- func (o *UpdateOrganizationQuotaDefinitionCreated) WithPayload(payload *models.UpdateOrganizationQuotaDefinitionResponseResource) *UpdateOrganizationQuotaDefinitionCreated
- func (o *UpdateOrganizationQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateOrganizationQuotaDefinitionHandler
- type UpdateOrganizationQuotaDefinitionHandlerFunc
- type UpdateOrganizationQuotaDefinitionParams
- type UpdateOrganizationQuotaDefinitionURL
- func (o *UpdateOrganizationQuotaDefinitionURL) Build() (*url.URL, error)
- func (o *UpdateOrganizationQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateOrganizationQuotaDefinitionURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateOrganizationQuotaDefinitionURL) SetBasePath(bp string)
- func (o *UpdateOrganizationQuotaDefinitionURL) String() string
- func (o *UpdateOrganizationQuotaDefinitionURL) StringFull(scheme, host string) string
- func (o *UpdateOrganizationQuotaDefinitionURL) WithBasePath(bp string) *UpdateOrganizationQuotaDefinitionURL
Constants ¶
const CreateOrganizationQuotaDefinitionCreatedCode int = 201
CreateOrganizationQuotaDefinitionCreatedCode is the HTTP code returned for type CreateOrganizationQuotaDefinitionCreated
const DeleteOrganizationQuotaDefinitionNoContentCode int = 204
DeleteOrganizationQuotaDefinitionNoContentCode is the HTTP code returned for type DeleteOrganizationQuotaDefinitionNoContent
const ListAllOrganizationQuotaDefinitionsOKCode int = 200
ListAllOrganizationQuotaDefinitionsOKCode is the HTTP code returned for type ListAllOrganizationQuotaDefinitionsOK
const RetrieveOrganizationQuotaDefinitionOKCode int = 200
RetrieveOrganizationQuotaDefinitionOKCode is the HTTP code returned for type RetrieveOrganizationQuotaDefinitionOK
const UpdateOrganizationQuotaDefinitionCreatedCode int = 201
UpdateOrganizationQuotaDefinitionCreatedCode is the HTTP code returned for type UpdateOrganizationQuotaDefinitionCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrganizationQuotaDefinition ¶
type CreateOrganizationQuotaDefinition struct { Context *middleware.Context Handler CreateOrganizationQuotaDefinitionHandler }
CreateOrganizationQuotaDefinition swagger:route POST /quota_definitions organizationQuotaDefinitions createOrganizationQuotaDefinition
Creating a Organization Quota Definition ¶
curl --insecure -i %s/v2/quota_definitions -X POST -H 'Authorization: %s' -d '%s'
func NewCreateOrganizationQuotaDefinition ¶
func NewCreateOrganizationQuotaDefinition(ctx *middleware.Context, handler CreateOrganizationQuotaDefinitionHandler) *CreateOrganizationQuotaDefinition
NewCreateOrganizationQuotaDefinition creates a new http.Handler for the create organization quota definition operation
func (*CreateOrganizationQuotaDefinition) ServeHTTP ¶
func (o *CreateOrganizationQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateOrganizationQuotaDefinitionCreated ¶
type CreateOrganizationQuotaDefinitionCreated struct { /* In: Body */ Payload *models.CreateOrganizationQuotaDefinitionResponseResource `json:"body,omitempty"` }
CreateOrganizationQuotaDefinitionCreated successful response
swagger:response createOrganizationQuotaDefinitionCreated
func NewCreateOrganizationQuotaDefinitionCreated ¶
func NewCreateOrganizationQuotaDefinitionCreated() *CreateOrganizationQuotaDefinitionCreated
NewCreateOrganizationQuotaDefinitionCreated creates CreateOrganizationQuotaDefinitionCreated with default headers values
func (*CreateOrganizationQuotaDefinitionCreated) SetPayload ¶
func (o *CreateOrganizationQuotaDefinitionCreated) SetPayload(payload *models.CreateOrganizationQuotaDefinitionResponseResource)
SetPayload sets the payload to the create organization quota definition created response
func (*CreateOrganizationQuotaDefinitionCreated) WithPayload ¶
func (o *CreateOrganizationQuotaDefinitionCreated) WithPayload(payload *models.CreateOrganizationQuotaDefinitionResponseResource) *CreateOrganizationQuotaDefinitionCreated
WithPayload adds the payload to the create organization quota definition created response
func (*CreateOrganizationQuotaDefinitionCreated) WriteResponse ¶
func (o *CreateOrganizationQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrganizationQuotaDefinitionHandler ¶
type CreateOrganizationQuotaDefinitionHandler interface {
Handle(CreateOrganizationQuotaDefinitionParams) middleware.Responder
}
CreateOrganizationQuotaDefinitionHandler interface for that can handle valid create organization quota definition params
type CreateOrganizationQuotaDefinitionHandlerFunc ¶
type CreateOrganizationQuotaDefinitionHandlerFunc func(CreateOrganizationQuotaDefinitionParams) middleware.Responder
CreateOrganizationQuotaDefinitionHandlerFunc turns a function with the right signature into a create organization quota definition handler
func (CreateOrganizationQuotaDefinitionHandlerFunc) Handle ¶
func (fn CreateOrganizationQuotaDefinitionHandlerFunc) Handle(params CreateOrganizationQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type CreateOrganizationQuotaDefinitionParams ¶
type CreateOrganizationQuotaDefinitionParams 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.CreateOrganizationQuotaDefinitionRequest }
CreateOrganizationQuotaDefinitionParams contains all the bound params for the create organization quota definition operation typically these are obtained from a http.Request
swagger:parameters createOrganizationQuotaDefinition
func NewCreateOrganizationQuotaDefinitionParams ¶
func NewCreateOrganizationQuotaDefinitionParams() CreateOrganizationQuotaDefinitionParams
NewCreateOrganizationQuotaDefinitionParams creates a new CreateOrganizationQuotaDefinitionParams object no default values defined in spec.
func (*CreateOrganizationQuotaDefinitionParams) BindRequest ¶
func (o *CreateOrganizationQuotaDefinitionParams) 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 NewCreateOrganizationQuotaDefinitionParams() beforehand.
type CreateOrganizationQuotaDefinitionURL ¶
type CreateOrganizationQuotaDefinitionURL struct {
// contains filtered or unexported fields
}
CreateOrganizationQuotaDefinitionURL generates an URL for the create organization quota definition operation
func (*CreateOrganizationQuotaDefinitionURL) Build ¶
func (o *CreateOrganizationQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateOrganizationQuotaDefinitionURL) BuildFull ¶
func (o *CreateOrganizationQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateOrganizationQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateOrganizationQuotaDefinitionURL) SetBasePath ¶
func (o *CreateOrganizationQuotaDefinitionURL) 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 (*CreateOrganizationQuotaDefinitionURL) String ¶
func (o *CreateOrganizationQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*CreateOrganizationQuotaDefinitionURL) StringFull ¶
func (o *CreateOrganizationQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateOrganizationQuotaDefinitionURL) WithBasePath ¶
func (o *CreateOrganizationQuotaDefinitionURL) WithBasePath(bp string) *CreateOrganizationQuotaDefinitionURL
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 DeleteOrganizationQuotaDefinition ¶
type DeleteOrganizationQuotaDefinition struct { Context *middleware.Context Handler DeleteOrganizationQuotaDefinitionHandler }
DeleteOrganizationQuotaDefinition swagger:route DELETE /quota_definitions/{guid} organizationQuotaDefinitions deleteOrganizationQuotaDefinition
Delete a Particular Organization Quota Definition ¶
curl --insecure -i %s/v2/quota_definitions/{guid} -X DELETE -H 'Authorization: %s'
func NewDeleteOrganizationQuotaDefinition ¶
func NewDeleteOrganizationQuotaDefinition(ctx *middleware.Context, handler DeleteOrganizationQuotaDefinitionHandler) *DeleteOrganizationQuotaDefinition
NewDeleteOrganizationQuotaDefinition creates a new http.Handler for the delete organization quota definition operation
func (*DeleteOrganizationQuotaDefinition) ServeHTTP ¶
func (o *DeleteOrganizationQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteOrganizationQuotaDefinitionHandler ¶
type DeleteOrganizationQuotaDefinitionHandler interface {
Handle(DeleteOrganizationQuotaDefinitionParams) middleware.Responder
}
DeleteOrganizationQuotaDefinitionHandler interface for that can handle valid delete organization quota definition params
type DeleteOrganizationQuotaDefinitionHandlerFunc ¶
type DeleteOrganizationQuotaDefinitionHandlerFunc func(DeleteOrganizationQuotaDefinitionParams) middleware.Responder
DeleteOrganizationQuotaDefinitionHandlerFunc turns a function with the right signature into a delete organization quota definition handler
func (DeleteOrganizationQuotaDefinitionHandlerFunc) Handle ¶
func (fn DeleteOrganizationQuotaDefinitionHandlerFunc) Handle(params DeleteOrganizationQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type DeleteOrganizationQuotaDefinitionNoContent ¶
type DeleteOrganizationQuotaDefinitionNoContent struct { }
DeleteOrganizationQuotaDefinitionNoContent successful response
swagger:response deleteOrganizationQuotaDefinitionNoContent
func NewDeleteOrganizationQuotaDefinitionNoContent ¶
func NewDeleteOrganizationQuotaDefinitionNoContent() *DeleteOrganizationQuotaDefinitionNoContent
NewDeleteOrganizationQuotaDefinitionNoContent creates DeleteOrganizationQuotaDefinitionNoContent with default headers values
func (*DeleteOrganizationQuotaDefinitionNoContent) WriteResponse ¶
func (o *DeleteOrganizationQuotaDefinitionNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteOrganizationQuotaDefinitionParams ¶
type DeleteOrganizationQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/quota_definitions/:guid' Required: true In: path */ GUID string }
DeleteOrganizationQuotaDefinitionParams contains all the bound params for the delete organization quota definition operation typically these are obtained from a http.Request
swagger:parameters deleteOrganizationQuotaDefinition
func NewDeleteOrganizationQuotaDefinitionParams ¶
func NewDeleteOrganizationQuotaDefinitionParams() DeleteOrganizationQuotaDefinitionParams
NewDeleteOrganizationQuotaDefinitionParams creates a new DeleteOrganizationQuotaDefinitionParams object no default values defined in spec.
func (*DeleteOrganizationQuotaDefinitionParams) BindRequest ¶
func (o *DeleteOrganizationQuotaDefinitionParams) 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 NewDeleteOrganizationQuotaDefinitionParams() beforehand.
type DeleteOrganizationQuotaDefinitionURL ¶
type DeleteOrganizationQuotaDefinitionURL struct { GUID string // contains filtered or unexported fields }
DeleteOrganizationQuotaDefinitionURL generates an URL for the delete organization quota definition operation
func (*DeleteOrganizationQuotaDefinitionURL) Build ¶
func (o *DeleteOrganizationQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteOrganizationQuotaDefinitionURL) BuildFull ¶
func (o *DeleteOrganizationQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteOrganizationQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteOrganizationQuotaDefinitionURL) SetBasePath ¶
func (o *DeleteOrganizationQuotaDefinitionURL) 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 (*DeleteOrganizationQuotaDefinitionURL) String ¶
func (o *DeleteOrganizationQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*DeleteOrganizationQuotaDefinitionURL) StringFull ¶
func (o *DeleteOrganizationQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteOrganizationQuotaDefinitionURL) WithBasePath ¶
func (o *DeleteOrganizationQuotaDefinitionURL) WithBasePath(bp string) *DeleteOrganizationQuotaDefinitionURL
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 ListAllOrganizationQuotaDefinitions ¶
type ListAllOrganizationQuotaDefinitions struct { Context *middleware.Context Handler ListAllOrganizationQuotaDefinitionsHandler }
ListAllOrganizationQuotaDefinitions swagger:route GET /quota_definitions organizationQuotaDefinitions listAllOrganizationQuotaDefinitions
List all Organization Quota Definitions ¶
curl --insecure -i %s/v2/quota_definitions -X GET -H 'Authorization: %s'
func NewListAllOrganizationQuotaDefinitions ¶
func NewListAllOrganizationQuotaDefinitions(ctx *middleware.Context, handler ListAllOrganizationQuotaDefinitionsHandler) *ListAllOrganizationQuotaDefinitions
NewListAllOrganizationQuotaDefinitions creates a new http.Handler for the list all organization quota definitions operation
func (*ListAllOrganizationQuotaDefinitions) ServeHTTP ¶
func (o *ListAllOrganizationQuotaDefinitions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllOrganizationQuotaDefinitionsHandler ¶
type ListAllOrganizationQuotaDefinitionsHandler interface {
Handle(ListAllOrganizationQuotaDefinitionsParams) middleware.Responder
}
ListAllOrganizationQuotaDefinitionsHandler interface for that can handle valid list all organization quota definitions params
type ListAllOrganizationQuotaDefinitionsHandlerFunc ¶
type ListAllOrganizationQuotaDefinitionsHandlerFunc func(ListAllOrganizationQuotaDefinitionsParams) middleware.Responder
ListAllOrganizationQuotaDefinitionsHandlerFunc turns a function with the right signature into a list all organization quota definitions handler
func (ListAllOrganizationQuotaDefinitionsHandlerFunc) Handle ¶
func (fn ListAllOrganizationQuotaDefinitionsHandlerFunc) Handle(params ListAllOrganizationQuotaDefinitionsParams) middleware.Responder
Handle executing the request and returning a response
type ListAllOrganizationQuotaDefinitionsOK ¶
type ListAllOrganizationQuotaDefinitionsOK struct { /* In: Body */ Payload *models.ListAllOrganizationQuotaDefinitionsResponsePaged `json:"body,omitempty"` }
ListAllOrganizationQuotaDefinitionsOK successful response
swagger:response listAllOrganizationQuotaDefinitionsOK
func NewListAllOrganizationQuotaDefinitionsOK ¶
func NewListAllOrganizationQuotaDefinitionsOK() *ListAllOrganizationQuotaDefinitionsOK
NewListAllOrganizationQuotaDefinitionsOK creates ListAllOrganizationQuotaDefinitionsOK with default headers values
func (*ListAllOrganizationQuotaDefinitionsOK) SetPayload ¶
func (o *ListAllOrganizationQuotaDefinitionsOK) SetPayload(payload *models.ListAllOrganizationQuotaDefinitionsResponsePaged)
SetPayload sets the payload to the list all organization quota definitions o k response
func (*ListAllOrganizationQuotaDefinitionsOK) WithPayload ¶
func (o *ListAllOrganizationQuotaDefinitionsOK) WithPayload(payload *models.ListAllOrganizationQuotaDefinitionsResponsePaged) *ListAllOrganizationQuotaDefinitionsOK
WithPayload adds the payload to the list all organization quota definitions o k response
func (*ListAllOrganizationQuotaDefinitionsOK) WriteResponse ¶
func (o *ListAllOrganizationQuotaDefinitionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllOrganizationQuotaDefinitionsParams ¶
type ListAllOrganizationQuotaDefinitionsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ListAllOrganizationQuotaDefinitionsParams contains all the bound params for the list all organization quota definitions operation typically these are obtained from a http.Request
swagger:parameters listAllOrganizationQuotaDefinitions
func NewListAllOrganizationQuotaDefinitionsParams ¶
func NewListAllOrganizationQuotaDefinitionsParams() ListAllOrganizationQuotaDefinitionsParams
NewListAllOrganizationQuotaDefinitionsParams creates a new ListAllOrganizationQuotaDefinitionsParams object no default values defined in spec.
func (*ListAllOrganizationQuotaDefinitionsParams) BindRequest ¶
func (o *ListAllOrganizationQuotaDefinitionsParams) 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 NewListAllOrganizationQuotaDefinitionsParams() beforehand.
type ListAllOrganizationQuotaDefinitionsURL ¶
type ListAllOrganizationQuotaDefinitionsURL struct {
// contains filtered or unexported fields
}
ListAllOrganizationQuotaDefinitionsURL generates an URL for the list all organization quota definitions operation
func (*ListAllOrganizationQuotaDefinitionsURL) Build ¶
func (o *ListAllOrganizationQuotaDefinitionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllOrganizationQuotaDefinitionsURL) BuildFull ¶
func (o *ListAllOrganizationQuotaDefinitionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllOrganizationQuotaDefinitionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllOrganizationQuotaDefinitionsURL) SetBasePath ¶
func (o *ListAllOrganizationQuotaDefinitionsURL) 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 (*ListAllOrganizationQuotaDefinitionsURL) String ¶
func (o *ListAllOrganizationQuotaDefinitionsURL) String() string
String returns the string representation of the path with query string
func (*ListAllOrganizationQuotaDefinitionsURL) StringFull ¶
func (o *ListAllOrganizationQuotaDefinitionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllOrganizationQuotaDefinitionsURL) WithBasePath ¶
func (o *ListAllOrganizationQuotaDefinitionsURL) WithBasePath(bp string) *ListAllOrganizationQuotaDefinitionsURL
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 RetrieveOrganizationQuotaDefinition ¶
type RetrieveOrganizationQuotaDefinition struct { Context *middleware.Context Handler RetrieveOrganizationQuotaDefinitionHandler }
RetrieveOrganizationQuotaDefinition swagger:route GET /quota_definitions/{guid} organizationQuotaDefinitions retrieveOrganizationQuotaDefinition
Retrieve a Particular Organization Quota Definition ¶
curl --insecure -i %s/v2/quota_definitions/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveOrganizationQuotaDefinition ¶
func NewRetrieveOrganizationQuotaDefinition(ctx *middleware.Context, handler RetrieveOrganizationQuotaDefinitionHandler) *RetrieveOrganizationQuotaDefinition
NewRetrieveOrganizationQuotaDefinition creates a new http.Handler for the retrieve organization quota definition operation
func (*RetrieveOrganizationQuotaDefinition) ServeHTTP ¶
func (o *RetrieveOrganizationQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveOrganizationQuotaDefinitionHandler ¶
type RetrieveOrganizationQuotaDefinitionHandler interface {
Handle(RetrieveOrganizationQuotaDefinitionParams) middleware.Responder
}
RetrieveOrganizationQuotaDefinitionHandler interface for that can handle valid retrieve organization quota definition params
type RetrieveOrganizationQuotaDefinitionHandlerFunc ¶
type RetrieveOrganizationQuotaDefinitionHandlerFunc func(RetrieveOrganizationQuotaDefinitionParams) middleware.Responder
RetrieveOrganizationQuotaDefinitionHandlerFunc turns a function with the right signature into a retrieve organization quota definition handler
func (RetrieveOrganizationQuotaDefinitionHandlerFunc) Handle ¶
func (fn RetrieveOrganizationQuotaDefinitionHandlerFunc) Handle(params RetrieveOrganizationQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveOrganizationQuotaDefinitionOK ¶
type RetrieveOrganizationQuotaDefinitionOK struct { /* In: Body */ Payload *models.RetrieveOrganizationQuotaDefinitionResponseResource `json:"body,omitempty"` }
RetrieveOrganizationQuotaDefinitionOK successful response
swagger:response retrieveOrganizationQuotaDefinitionOK
func NewRetrieveOrganizationQuotaDefinitionOK ¶
func NewRetrieveOrganizationQuotaDefinitionOK() *RetrieveOrganizationQuotaDefinitionOK
NewRetrieveOrganizationQuotaDefinitionOK creates RetrieveOrganizationQuotaDefinitionOK with default headers values
func (*RetrieveOrganizationQuotaDefinitionOK) SetPayload ¶
func (o *RetrieveOrganizationQuotaDefinitionOK) SetPayload(payload *models.RetrieveOrganizationQuotaDefinitionResponseResource)
SetPayload sets the payload to the retrieve organization quota definition o k response
func (*RetrieveOrganizationQuotaDefinitionOK) WithPayload ¶
func (o *RetrieveOrganizationQuotaDefinitionOK) WithPayload(payload *models.RetrieveOrganizationQuotaDefinitionResponseResource) *RetrieveOrganizationQuotaDefinitionOK
WithPayload adds the payload to the retrieve organization quota definition o k response
func (*RetrieveOrganizationQuotaDefinitionOK) WriteResponse ¶
func (o *RetrieveOrganizationQuotaDefinitionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveOrganizationQuotaDefinitionParams ¶
type RetrieveOrganizationQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/quota_definitions/:guid' Required: true In: path */ GUID string }
RetrieveOrganizationQuotaDefinitionParams contains all the bound params for the retrieve organization quota definition operation typically these are obtained from a http.Request
swagger:parameters retrieveOrganizationQuotaDefinition
func NewRetrieveOrganizationQuotaDefinitionParams ¶
func NewRetrieveOrganizationQuotaDefinitionParams() RetrieveOrganizationQuotaDefinitionParams
NewRetrieveOrganizationQuotaDefinitionParams creates a new RetrieveOrganizationQuotaDefinitionParams object no default values defined in spec.
func (*RetrieveOrganizationQuotaDefinitionParams) BindRequest ¶
func (o *RetrieveOrganizationQuotaDefinitionParams) 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 NewRetrieveOrganizationQuotaDefinitionParams() beforehand.
type RetrieveOrganizationQuotaDefinitionURL ¶
type RetrieveOrganizationQuotaDefinitionURL struct { GUID string // contains filtered or unexported fields }
RetrieveOrganizationQuotaDefinitionURL generates an URL for the retrieve organization quota definition operation
func (*RetrieveOrganizationQuotaDefinitionURL) Build ¶
func (o *RetrieveOrganizationQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveOrganizationQuotaDefinitionURL) BuildFull ¶
func (o *RetrieveOrganizationQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveOrganizationQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveOrganizationQuotaDefinitionURL) SetBasePath ¶
func (o *RetrieveOrganizationQuotaDefinitionURL) 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 (*RetrieveOrganizationQuotaDefinitionURL) String ¶
func (o *RetrieveOrganizationQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*RetrieveOrganizationQuotaDefinitionURL) StringFull ¶
func (o *RetrieveOrganizationQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveOrganizationQuotaDefinitionURL) WithBasePath ¶
func (o *RetrieveOrganizationQuotaDefinitionURL) WithBasePath(bp string) *RetrieveOrganizationQuotaDefinitionURL
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 UpdateOrganizationQuotaDefinition ¶
type UpdateOrganizationQuotaDefinition struct { Context *middleware.Context Handler UpdateOrganizationQuotaDefinitionHandler }
UpdateOrganizationQuotaDefinition swagger:route PUT /quota_definitions/{guid} organizationQuotaDefinitions updateOrganizationQuotaDefinition
Updating a Organization Quota Definition ¶
curl --insecure -i %s/v2/quota_definitions/{guid} -X PUT -H 'Authorization: %s' -d '%s'
func NewUpdateOrganizationQuotaDefinition ¶
func NewUpdateOrganizationQuotaDefinition(ctx *middleware.Context, handler UpdateOrganizationQuotaDefinitionHandler) *UpdateOrganizationQuotaDefinition
NewUpdateOrganizationQuotaDefinition creates a new http.Handler for the update organization quota definition operation
func (*UpdateOrganizationQuotaDefinition) ServeHTTP ¶
func (o *UpdateOrganizationQuotaDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateOrganizationQuotaDefinitionCreated ¶
type UpdateOrganizationQuotaDefinitionCreated struct { /* In: Body */ Payload *models.UpdateOrganizationQuotaDefinitionResponseResource `json:"body,omitempty"` }
UpdateOrganizationQuotaDefinitionCreated successful response
swagger:response updateOrganizationQuotaDefinitionCreated
func NewUpdateOrganizationQuotaDefinitionCreated ¶
func NewUpdateOrganizationQuotaDefinitionCreated() *UpdateOrganizationQuotaDefinitionCreated
NewUpdateOrganizationQuotaDefinitionCreated creates UpdateOrganizationQuotaDefinitionCreated with default headers values
func (*UpdateOrganizationQuotaDefinitionCreated) SetPayload ¶
func (o *UpdateOrganizationQuotaDefinitionCreated) SetPayload(payload *models.UpdateOrganizationQuotaDefinitionResponseResource)
SetPayload sets the payload to the update organization quota definition created response
func (*UpdateOrganizationQuotaDefinitionCreated) WithPayload ¶
func (o *UpdateOrganizationQuotaDefinitionCreated) WithPayload(payload *models.UpdateOrganizationQuotaDefinitionResponseResource) *UpdateOrganizationQuotaDefinitionCreated
WithPayload adds the payload to the update organization quota definition created response
func (*UpdateOrganizationQuotaDefinitionCreated) WriteResponse ¶
func (o *UpdateOrganizationQuotaDefinitionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrganizationQuotaDefinitionHandler ¶
type UpdateOrganizationQuotaDefinitionHandler interface {
Handle(UpdateOrganizationQuotaDefinitionParams) middleware.Responder
}
UpdateOrganizationQuotaDefinitionHandler interface for that can handle valid update organization quota definition params
type UpdateOrganizationQuotaDefinitionHandlerFunc ¶
type UpdateOrganizationQuotaDefinitionHandlerFunc func(UpdateOrganizationQuotaDefinitionParams) middleware.Responder
UpdateOrganizationQuotaDefinitionHandlerFunc turns a function with the right signature into a update organization quota definition handler
func (UpdateOrganizationQuotaDefinitionHandlerFunc) Handle ¶
func (fn UpdateOrganizationQuotaDefinitionHandlerFunc) Handle(params UpdateOrganizationQuotaDefinitionParams) middleware.Responder
Handle executing the request and returning a response
type UpdateOrganizationQuotaDefinitionParams ¶
type UpdateOrganizationQuotaDefinitionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/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.UpdateOrganizationQuotaDefinitionRequest }
UpdateOrganizationQuotaDefinitionParams contains all the bound params for the update organization quota definition operation typically these are obtained from a http.Request
swagger:parameters updateOrganizationQuotaDefinition
func NewUpdateOrganizationQuotaDefinitionParams ¶
func NewUpdateOrganizationQuotaDefinitionParams() UpdateOrganizationQuotaDefinitionParams
NewUpdateOrganizationQuotaDefinitionParams creates a new UpdateOrganizationQuotaDefinitionParams object no default values defined in spec.
func (*UpdateOrganizationQuotaDefinitionParams) BindRequest ¶
func (o *UpdateOrganizationQuotaDefinitionParams) 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 NewUpdateOrganizationQuotaDefinitionParams() beforehand.
type UpdateOrganizationQuotaDefinitionURL ¶
type UpdateOrganizationQuotaDefinitionURL struct { GUID string // contains filtered or unexported fields }
UpdateOrganizationQuotaDefinitionURL generates an URL for the update organization quota definition operation
func (*UpdateOrganizationQuotaDefinitionURL) Build ¶
func (o *UpdateOrganizationQuotaDefinitionURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateOrganizationQuotaDefinitionURL) BuildFull ¶
func (o *UpdateOrganizationQuotaDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateOrganizationQuotaDefinitionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateOrganizationQuotaDefinitionURL) SetBasePath ¶
func (o *UpdateOrganizationQuotaDefinitionURL) 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 (*UpdateOrganizationQuotaDefinitionURL) String ¶
func (o *UpdateOrganizationQuotaDefinitionURL) String() string
String returns the string representation of the path with query string
func (*UpdateOrganizationQuotaDefinitionURL) StringFull ¶
func (o *UpdateOrganizationQuotaDefinitionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateOrganizationQuotaDefinitionURL) WithBasePath ¶
func (o *UpdateOrganizationQuotaDefinitionURL) WithBasePath(bp string) *UpdateOrganizationQuotaDefinitionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- create_organization_quota_definition.go
- create_organization_quota_definition_parameters.go
- create_organization_quota_definition_responses.go
- create_organization_quota_definition_urlbuilder.go
- delete_organization_quota_definition.go
- delete_organization_quota_definition_parameters.go
- delete_organization_quota_definition_responses.go
- delete_organization_quota_definition_urlbuilder.go
- list_all_organization_quota_definitions.go
- list_all_organization_quota_definitions_parameters.go
- list_all_organization_quota_definitions_responses.go
- list_all_organization_quota_definitions_urlbuilder.go
- retrieve_organization_quota_definition.go
- retrieve_organization_quota_definition_parameters.go
- retrieve_organization_quota_definition_responses.go
- retrieve_organization_quota_definition_urlbuilder.go
- update_organization_quota_definition.go
- update_organization_quota_definition_parameters.go
- update_organization_quota_definition_responses.go
- update_organization_quota_definition_urlbuilder.go