Documentation ¶
Index ¶
- Constants
- type DeleteQuotasProjectID
- type DeleteQuotasProjectIDForbidden
- type DeleteQuotasProjectIDHandler
- type DeleteQuotasProjectIDHandlerFunc
- type DeleteQuotasProjectIDNoContent
- type DeleteQuotasProjectIDNotFound
- type DeleteQuotasProjectIDParams
- type DeleteQuotasProjectIDURL
- func (o *DeleteQuotasProjectIDURL) Build() (*url.URL, error)
- func (o *DeleteQuotasProjectIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteQuotasProjectIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteQuotasProjectIDURL) SetBasePath(bp string)
- func (o *DeleteQuotasProjectIDURL) String() string
- func (o *DeleteQuotasProjectIDURL) StringFull(scheme, host string) string
- func (o *DeleteQuotasProjectIDURL) WithBasePath(bp string) *DeleteQuotasProjectIDURL
- type DeleteQuotasProjectIDUnauthorized
- func (o *DeleteQuotasProjectIDUnauthorized) SetPayload(payload *models.Error)
- func (o *DeleteQuotasProjectIDUnauthorized) WithPayload(payload *models.Error) *DeleteQuotasProjectIDUnauthorized
- func (o *DeleteQuotasProjectIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteQuotasProjectIDUnprocessableEntity
- func (o *DeleteQuotasProjectIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *DeleteQuotasProjectIDUnprocessableEntity) WithPayload(payload *models.Error) *DeleteQuotasProjectIDUnprocessableEntity
- func (o *DeleteQuotasProjectIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetQuotas
- type GetQuotasDefaults
- type GetQuotasDefaultsForbidden
- type GetQuotasDefaultsHandler
- type GetQuotasDefaultsHandlerFunc
- type GetQuotasDefaultsOK
- type GetQuotasDefaultsOKBody
- func (o *GetQuotasDefaultsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetQuotasDefaultsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetQuotasDefaultsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetQuotasDefaultsOKBody) Validate(formats strfmt.Registry) error
- type GetQuotasDefaultsParams
- type GetQuotasDefaultsURL
- func (o *GetQuotasDefaultsURL) Build() (*url.URL, error)
- func (o *GetQuotasDefaultsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetQuotasDefaultsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetQuotasDefaultsURL) SetBasePath(bp string)
- func (o *GetQuotasDefaultsURL) String() string
- func (o *GetQuotasDefaultsURL) StringFull(scheme, host string) string
- func (o *GetQuotasDefaultsURL) WithBasePath(bp string) *GetQuotasDefaultsURL
- type GetQuotasDefaultsUnauthorized
- type GetQuotasDefaultsUnprocessableEntity
- func (o *GetQuotasDefaultsUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *GetQuotasDefaultsUnprocessableEntity) WithPayload(payload *models.Error) *GetQuotasDefaultsUnprocessableEntity
- func (o *GetQuotasDefaultsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetQuotasForbidden
- type GetQuotasHandler
- type GetQuotasHandlerFunc
- type GetQuotasNotFound
- type GetQuotasOK
- type GetQuotasOKBody
- type GetQuotasOKBodyQuotasItems0
- func (o *GetQuotasOKBodyQuotasItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetQuotasOKBodyQuotasItems0) MarshalBinary() ([]byte, error)
- func (o GetQuotasOKBodyQuotasItems0) MarshalJSON() ([]byte, error)
- func (o *GetQuotasOKBodyQuotasItems0) UnmarshalBinary(b []byte) error
- func (o *GetQuotasOKBodyQuotasItems0) UnmarshalJSON(raw []byte) error
- func (o *GetQuotasOKBodyQuotasItems0) Validate(formats strfmt.Registry) error
- type GetQuotasParams
- type GetQuotasProjectID
- type GetQuotasProjectIDForbidden
- type GetQuotasProjectIDHandler
- type GetQuotasProjectIDHandlerFunc
- type GetQuotasProjectIDOK
- type GetQuotasProjectIDOKBody
- func (o *GetQuotasProjectIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetQuotasProjectIDOKBody) MarshalBinary() ([]byte, error)
- func (o GetQuotasProjectIDOKBody) MarshalJSON() ([]byte, error)
- func (o *GetQuotasProjectIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetQuotasProjectIDOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetQuotasProjectIDOKBody) Validate(formats strfmt.Registry) error
- type GetQuotasProjectIDParams
- type GetQuotasProjectIDURL
- func (o *GetQuotasProjectIDURL) Build() (*url.URL, error)
- func (o *GetQuotasProjectIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetQuotasProjectIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetQuotasProjectIDURL) SetBasePath(bp string)
- func (o *GetQuotasProjectIDURL) String() string
- func (o *GetQuotasProjectIDURL) StringFull(scheme, host string) string
- func (o *GetQuotasProjectIDURL) WithBasePath(bp string) *GetQuotasProjectIDURL
- type GetQuotasProjectIDUnauthorized
- type GetQuotasProjectIDUnprocessableEntity
- func (o *GetQuotasProjectIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *GetQuotasProjectIDUnprocessableEntity) WithPayload(payload *models.Error) *GetQuotasProjectIDUnprocessableEntity
- func (o *GetQuotasProjectIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetQuotasURL
- func (o *GetQuotasURL) Build() (*url.URL, error)
- func (o *GetQuotasURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetQuotasURL) Must(u *url.URL, err error) *url.URL
- func (o *GetQuotasURL) SetBasePath(bp string)
- func (o *GetQuotasURL) String() string
- func (o *GetQuotasURL) StringFull(scheme, host string) string
- func (o *GetQuotasURL) WithBasePath(bp string) *GetQuotasURL
- type GetQuotasUnauthorized
- type GetQuotasUnprocessableEntity
- type PutQuotasProjectID
- type PutQuotasProjectIDForbidden
- type PutQuotasProjectIDHandler
- type PutQuotasProjectIDHandlerFunc
- type PutQuotasProjectIDNotFound
- type PutQuotasProjectIDOK
- type PutQuotasProjectIDParams
- type PutQuotasProjectIDURL
- func (o *PutQuotasProjectIDURL) Build() (*url.URL, error)
- func (o *PutQuotasProjectIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutQuotasProjectIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutQuotasProjectIDURL) SetBasePath(bp string)
- func (o *PutQuotasProjectIDURL) String() string
- func (o *PutQuotasProjectIDURL) StringFull(scheme, host string) string
- func (o *PutQuotasProjectIDURL) WithBasePath(bp string) *PutQuotasProjectIDURL
- type PutQuotasProjectIDUnauthorized
- type PutQuotasProjectIDUnprocessableEntity
- func (o *PutQuotasProjectIDUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *PutQuotasProjectIDUnprocessableEntity) WithPayload(payload *models.Error) *PutQuotasProjectIDUnprocessableEntity
- func (o *PutQuotasProjectIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const DeleteQuotasProjectIDForbiddenCode int = 403
DeleteQuotasProjectIDForbiddenCode is the HTTP code returned for type DeleteQuotasProjectIDForbidden
const DeleteQuotasProjectIDNoContentCode int = 204
DeleteQuotasProjectIDNoContentCode is the HTTP code returned for type DeleteQuotasProjectIDNoContent
const DeleteQuotasProjectIDNotFoundCode int = 404
DeleteQuotasProjectIDNotFoundCode is the HTTP code returned for type DeleteQuotasProjectIDNotFound
DeleteQuotasProjectIDUnauthorizedCode is the HTTP code returned for type DeleteQuotasProjectIDUnauthorized
const DeleteQuotasProjectIDUnprocessableEntityCode int = 422
DeleteQuotasProjectIDUnprocessableEntityCode is the HTTP code returned for type DeleteQuotasProjectIDUnprocessableEntity
const GetQuotasDefaultsForbiddenCode int = 403
GetQuotasDefaultsForbiddenCode is the HTTP code returned for type GetQuotasDefaultsForbidden
const GetQuotasDefaultsOKCode int = 200
GetQuotasDefaultsOKCode is the HTTP code returned for type GetQuotasDefaultsOK
GetQuotasDefaultsUnauthorizedCode is the HTTP code returned for type GetQuotasDefaultsUnauthorized
const GetQuotasDefaultsUnprocessableEntityCode int = 422
GetQuotasDefaultsUnprocessableEntityCode is the HTTP code returned for type GetQuotasDefaultsUnprocessableEntity
const GetQuotasForbiddenCode int = 403
GetQuotasForbiddenCode is the HTTP code returned for type GetQuotasForbidden
const GetQuotasNotFoundCode int = 404
GetQuotasNotFoundCode is the HTTP code returned for type GetQuotasNotFound
const GetQuotasOKCode int = 200
GetQuotasOKCode is the HTTP code returned for type GetQuotasOK
const GetQuotasProjectIDForbiddenCode int = 403
GetQuotasProjectIDForbiddenCode is the HTTP code returned for type GetQuotasProjectIDForbidden
const GetQuotasProjectIDOKCode int = 200
GetQuotasProjectIDOKCode is the HTTP code returned for type GetQuotasProjectIDOK
GetQuotasProjectIDUnauthorizedCode is the HTTP code returned for type GetQuotasProjectIDUnauthorized
const GetQuotasProjectIDUnprocessableEntityCode int = 422
GetQuotasProjectIDUnprocessableEntityCode is the HTTP code returned for type GetQuotasProjectIDUnprocessableEntity
GetQuotasUnauthorizedCode is the HTTP code returned for type GetQuotasUnauthorized
const GetQuotasUnprocessableEntityCode int = 422
GetQuotasUnprocessableEntityCode is the HTTP code returned for type GetQuotasUnprocessableEntity
const PutQuotasProjectIDForbiddenCode int = 403
PutQuotasProjectIDForbiddenCode is the HTTP code returned for type PutQuotasProjectIDForbidden
const PutQuotasProjectIDNotFoundCode int = 404
PutQuotasProjectIDNotFoundCode is the HTTP code returned for type PutQuotasProjectIDNotFound
const PutQuotasProjectIDOKCode int = 200
PutQuotasProjectIDOKCode is the HTTP code returned for type PutQuotasProjectIDOK
PutQuotasProjectIDUnauthorizedCode is the HTTP code returned for type PutQuotasProjectIDUnauthorized
const PutQuotasProjectIDUnprocessableEntityCode int = 422
PutQuotasProjectIDUnprocessableEntityCode is the HTTP code returned for type PutQuotasProjectIDUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteQuotasProjectID ¶
type DeleteQuotasProjectID struct { Context *middleware.Context Handler DeleteQuotasProjectIDHandler }
DeleteQuotasProjectID swagger:route DELETE /quotas/{project_id} Quota deleteQuotasProjectId
Reset all Quota of a project
func NewDeleteQuotasProjectID ¶
func NewDeleteQuotasProjectID(ctx *middleware.Context, handler DeleteQuotasProjectIDHandler) *DeleteQuotasProjectID
NewDeleteQuotasProjectID creates a new http.Handler for the delete quotas project ID operation
func (*DeleteQuotasProjectID) ServeHTTP ¶
func (o *DeleteQuotasProjectID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteQuotasProjectIDForbidden ¶
type DeleteQuotasProjectIDForbidden struct { }
DeleteQuotasProjectIDForbidden Forbidden
swagger:response deleteQuotasProjectIdForbidden
func NewDeleteQuotasProjectIDForbidden ¶
func NewDeleteQuotasProjectIDForbidden() *DeleteQuotasProjectIDForbidden
NewDeleteQuotasProjectIDForbidden creates DeleteQuotasProjectIDForbidden with default headers values
func (*DeleteQuotasProjectIDForbidden) WriteResponse ¶
func (o *DeleteQuotasProjectIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteQuotasProjectIDHandler ¶
type DeleteQuotasProjectIDHandler interface {
Handle(DeleteQuotasProjectIDParams, interface{}) middleware.Responder
}
DeleteQuotasProjectIDHandler interface for that can handle valid delete quotas project ID params
type DeleteQuotasProjectIDHandlerFunc ¶
type DeleteQuotasProjectIDHandlerFunc func(DeleteQuotasProjectIDParams, interface{}) middleware.Responder
DeleteQuotasProjectIDHandlerFunc turns a function with the right signature into a delete quotas project ID handler
func (DeleteQuotasProjectIDHandlerFunc) Handle ¶
func (fn DeleteQuotasProjectIDHandlerFunc) Handle(params DeleteQuotasProjectIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteQuotasProjectIDNoContent ¶
type DeleteQuotasProjectIDNoContent struct { }
DeleteQuotasProjectIDNoContent Resource successfully reset
swagger:response deleteQuotasProjectIdNoContent
func NewDeleteQuotasProjectIDNoContent ¶
func NewDeleteQuotasProjectIDNoContent() *DeleteQuotasProjectIDNoContent
NewDeleteQuotasProjectIDNoContent creates DeleteQuotasProjectIDNoContent with default headers values
func (*DeleteQuotasProjectIDNoContent) WriteResponse ¶
func (o *DeleteQuotasProjectIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteQuotasProjectIDNotFound ¶
type DeleteQuotasProjectIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteQuotasProjectIDNotFound Not Found
swagger:response deleteQuotasProjectIdNotFound
func NewDeleteQuotasProjectIDNotFound ¶
func NewDeleteQuotasProjectIDNotFound() *DeleteQuotasProjectIDNotFound
NewDeleteQuotasProjectIDNotFound creates DeleteQuotasProjectIDNotFound with default headers values
func (*DeleteQuotasProjectIDNotFound) SetPayload ¶
func (o *DeleteQuotasProjectIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete quotas project Id not found response
func (*DeleteQuotasProjectIDNotFound) WithPayload ¶
func (o *DeleteQuotasProjectIDNotFound) WithPayload(payload *models.Error) *DeleteQuotasProjectIDNotFound
WithPayload adds the payload to the delete quotas project Id not found response
func (*DeleteQuotasProjectIDNotFound) WriteResponse ¶
func (o *DeleteQuotasProjectIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteQuotasProjectIDParams ¶
type DeleteQuotasProjectIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The ID of the project to query. Required: true In: path */ ProjectID string }
DeleteQuotasProjectIDParams contains all the bound params for the delete quotas project ID operation typically these are obtained from a http.Request
swagger:parameters DeleteQuotasProjectID
func NewDeleteQuotasProjectIDParams ¶
func NewDeleteQuotasProjectIDParams() DeleteQuotasProjectIDParams
NewDeleteQuotasProjectIDParams creates a new DeleteQuotasProjectIDParams object
There are no default values defined in the spec.
func (*DeleteQuotasProjectIDParams) BindRequest ¶
func (o *DeleteQuotasProjectIDParams) 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 NewDeleteQuotasProjectIDParams() beforehand.
type DeleteQuotasProjectIDURL ¶
type DeleteQuotasProjectIDURL struct { ProjectID string // contains filtered or unexported fields }
DeleteQuotasProjectIDURL generates an URL for the delete quotas project ID operation
func (*DeleteQuotasProjectIDURL) Build ¶
func (o *DeleteQuotasProjectIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteQuotasProjectIDURL) BuildFull ¶
func (o *DeleteQuotasProjectIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteQuotasProjectIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteQuotasProjectIDURL) SetBasePath ¶
func (o *DeleteQuotasProjectIDURL) 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 (*DeleteQuotasProjectIDURL) String ¶
func (o *DeleteQuotasProjectIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteQuotasProjectIDURL) StringFull ¶
func (o *DeleteQuotasProjectIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteQuotasProjectIDURL) WithBasePath ¶
func (o *DeleteQuotasProjectIDURL) WithBasePath(bp string) *DeleteQuotasProjectIDURL
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 DeleteQuotasProjectIDUnauthorized ¶
DeleteQuotasProjectIDUnauthorized Unauthorized
swagger:response deleteQuotasProjectIdUnauthorized
func NewDeleteQuotasProjectIDUnauthorized ¶
func NewDeleteQuotasProjectIDUnauthorized() *DeleteQuotasProjectIDUnauthorized
NewDeleteQuotasProjectIDUnauthorized creates DeleteQuotasProjectIDUnauthorized with default headers values
func (*DeleteQuotasProjectIDUnauthorized) SetPayload ¶
func (o *DeleteQuotasProjectIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete quotas project Id unauthorized response
func (*DeleteQuotasProjectIDUnauthorized) WithPayload ¶
func (o *DeleteQuotasProjectIDUnauthorized) WithPayload(payload *models.Error) *DeleteQuotasProjectIDUnauthorized
WithPayload adds the payload to the delete quotas project Id unauthorized response
func (*DeleteQuotasProjectIDUnauthorized) WriteResponse ¶
func (o *DeleteQuotasProjectIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteQuotasProjectIDUnprocessableEntity ¶
type DeleteQuotasProjectIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteQuotasProjectIDUnprocessableEntity Unprocessable Content
swagger:response deleteQuotasProjectIdUnprocessableEntity
func NewDeleteQuotasProjectIDUnprocessableEntity ¶
func NewDeleteQuotasProjectIDUnprocessableEntity() *DeleteQuotasProjectIDUnprocessableEntity
NewDeleteQuotasProjectIDUnprocessableEntity creates DeleteQuotasProjectIDUnprocessableEntity with default headers values
func (*DeleteQuotasProjectIDUnprocessableEntity) SetPayload ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete quotas project Id unprocessable entity response
func (*DeleteQuotasProjectIDUnprocessableEntity) WithPayload ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) WithPayload(payload *models.Error) *DeleteQuotasProjectIDUnprocessableEntity
WithPayload adds the payload to the delete quotas project Id unprocessable entity response
func (*DeleteQuotasProjectIDUnprocessableEntity) WriteResponse ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotas ¶
type GetQuotas struct { Context *middleware.Context Handler GetQuotasHandler }
GetQuotas swagger:route GET /quotas Quota getQuotas
List Quotas
func NewGetQuotas ¶
func NewGetQuotas(ctx *middleware.Context, handler GetQuotasHandler) *GetQuotas
NewGetQuotas creates a new http.Handler for the get quotas operation
type GetQuotasDefaults ¶
type GetQuotasDefaults struct { Context *middleware.Context Handler GetQuotasDefaultsHandler }
GetQuotasDefaults swagger:route GET /quotas/defaults Quota getQuotasDefaults
Show Quota Defaults
func NewGetQuotasDefaults ¶
func NewGetQuotasDefaults(ctx *middleware.Context, handler GetQuotasDefaultsHandler) *GetQuotasDefaults
NewGetQuotasDefaults creates a new http.Handler for the get quotas defaults operation
func (*GetQuotasDefaults) ServeHTTP ¶
func (o *GetQuotasDefaults) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetQuotasDefaultsForbidden ¶
type GetQuotasDefaultsForbidden struct { }
GetQuotasDefaultsForbidden Forbidden
swagger:response getQuotasDefaultsForbidden
func NewGetQuotasDefaultsForbidden ¶
func NewGetQuotasDefaultsForbidden() *GetQuotasDefaultsForbidden
NewGetQuotasDefaultsForbidden creates GetQuotasDefaultsForbidden with default headers values
func (*GetQuotasDefaultsForbidden) WriteResponse ¶
func (o *GetQuotasDefaultsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasDefaultsHandler ¶
type GetQuotasDefaultsHandler interface {
Handle(GetQuotasDefaultsParams, interface{}) middleware.Responder
}
GetQuotasDefaultsHandler interface for that can handle valid get quotas defaults params
type GetQuotasDefaultsHandlerFunc ¶
type GetQuotasDefaultsHandlerFunc func(GetQuotasDefaultsParams, interface{}) middleware.Responder
GetQuotasDefaultsHandlerFunc turns a function with the right signature into a get quotas defaults handler
func (GetQuotasDefaultsHandlerFunc) Handle ¶
func (fn GetQuotasDefaultsHandlerFunc) Handle(params GetQuotasDefaultsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetQuotasDefaultsOK ¶
type GetQuotasDefaultsOK struct { /* In: Body */ Payload *GetQuotasDefaultsOKBody `json:"body,omitempty"` }
GetQuotasDefaultsOK Show the quota defaults configured for new projects.
swagger:response getQuotasDefaultsOK
func NewGetQuotasDefaultsOK ¶
func NewGetQuotasDefaultsOK() *GetQuotasDefaultsOK
NewGetQuotasDefaultsOK creates GetQuotasDefaultsOK with default headers values
func (*GetQuotasDefaultsOK) SetPayload ¶
func (o *GetQuotasDefaultsOK) SetPayload(payload *GetQuotasDefaultsOKBody)
SetPayload sets the payload to the get quotas defaults o k response
func (*GetQuotasDefaultsOK) WithPayload ¶
func (o *GetQuotasDefaultsOK) WithPayload(payload *GetQuotasDefaultsOKBody) *GetQuotasDefaultsOK
WithPayload adds the payload to the get quotas defaults o k response
func (*GetQuotasDefaultsOK) WriteResponse ¶
func (o *GetQuotasDefaultsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasDefaultsOKBody ¶
GetQuotasDefaultsOKBody get quotas defaults o k body
swagger:model GetQuotasDefaultsOKBody
func (*GetQuotasDefaultsOKBody) ContextValidate ¶
func (o *GetQuotasDefaultsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get quotas defaults o k body based on the context it is used
func (*GetQuotasDefaultsOKBody) MarshalBinary ¶
func (o *GetQuotasDefaultsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetQuotasDefaultsOKBody) UnmarshalBinary ¶
func (o *GetQuotasDefaultsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetQuotasDefaultsParams ¶
GetQuotasDefaultsParams contains all the bound params for the get quotas defaults operation typically these are obtained from a http.Request
swagger:parameters GetQuotasDefaults
func NewGetQuotasDefaultsParams ¶
func NewGetQuotasDefaultsParams() GetQuotasDefaultsParams
NewGetQuotasDefaultsParams creates a new GetQuotasDefaultsParams object
There are no default values defined in the spec.
func (*GetQuotasDefaultsParams) BindRequest ¶
func (o *GetQuotasDefaultsParams) 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 NewGetQuotasDefaultsParams() beforehand.
type GetQuotasDefaultsURL ¶
type GetQuotasDefaultsURL struct {
// contains filtered or unexported fields
}
GetQuotasDefaultsURL generates an URL for the get quotas defaults operation
func (*GetQuotasDefaultsURL) Build ¶
func (o *GetQuotasDefaultsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetQuotasDefaultsURL) BuildFull ¶
func (o *GetQuotasDefaultsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetQuotasDefaultsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetQuotasDefaultsURL) SetBasePath ¶
func (o *GetQuotasDefaultsURL) 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 (*GetQuotasDefaultsURL) String ¶
func (o *GetQuotasDefaultsURL) String() string
String returns the string representation of the path with query string
func (*GetQuotasDefaultsURL) StringFull ¶
func (o *GetQuotasDefaultsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetQuotasDefaultsURL) WithBasePath ¶
func (o *GetQuotasDefaultsURL) WithBasePath(bp string) *GetQuotasDefaultsURL
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 GetQuotasDefaultsUnauthorized ¶
GetQuotasDefaultsUnauthorized Unauthorized
swagger:response getQuotasDefaultsUnauthorized
func NewGetQuotasDefaultsUnauthorized ¶
func NewGetQuotasDefaultsUnauthorized() *GetQuotasDefaultsUnauthorized
NewGetQuotasDefaultsUnauthorized creates GetQuotasDefaultsUnauthorized with default headers values
func (*GetQuotasDefaultsUnauthorized) SetPayload ¶
func (o *GetQuotasDefaultsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get quotas defaults unauthorized response
func (*GetQuotasDefaultsUnauthorized) WithPayload ¶
func (o *GetQuotasDefaultsUnauthorized) WithPayload(payload *models.Error) *GetQuotasDefaultsUnauthorized
WithPayload adds the payload to the get quotas defaults unauthorized response
func (*GetQuotasDefaultsUnauthorized) WriteResponse ¶
func (o *GetQuotasDefaultsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasDefaultsUnprocessableEntity ¶
type GetQuotasDefaultsUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetQuotasDefaultsUnprocessableEntity Unprocessable Content
swagger:response getQuotasDefaultsUnprocessableEntity
func NewGetQuotasDefaultsUnprocessableEntity ¶
func NewGetQuotasDefaultsUnprocessableEntity() *GetQuotasDefaultsUnprocessableEntity
NewGetQuotasDefaultsUnprocessableEntity creates GetQuotasDefaultsUnprocessableEntity with default headers values
func (*GetQuotasDefaultsUnprocessableEntity) SetPayload ¶
func (o *GetQuotasDefaultsUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the get quotas defaults unprocessable entity response
func (*GetQuotasDefaultsUnprocessableEntity) WithPayload ¶
func (o *GetQuotasDefaultsUnprocessableEntity) WithPayload(payload *models.Error) *GetQuotasDefaultsUnprocessableEntity
WithPayload adds the payload to the get quotas defaults unprocessable entity response
func (*GetQuotasDefaultsUnprocessableEntity) WriteResponse ¶
func (o *GetQuotasDefaultsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasForbidden ¶
type GetQuotasForbidden struct { }
GetQuotasForbidden Forbidden
swagger:response getQuotasForbidden
func NewGetQuotasForbidden ¶
func NewGetQuotasForbidden() *GetQuotasForbidden
NewGetQuotasForbidden creates GetQuotasForbidden with default headers values
func (*GetQuotasForbidden) WriteResponse ¶
func (o *GetQuotasForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasHandler ¶
type GetQuotasHandler interface {
Handle(GetQuotasParams, interface{}) middleware.Responder
}
GetQuotasHandler interface for that can handle valid get quotas params
type GetQuotasHandlerFunc ¶
type GetQuotasHandlerFunc func(GetQuotasParams, interface{}) middleware.Responder
GetQuotasHandlerFunc turns a function with the right signature into a get quotas handler
func (GetQuotasHandlerFunc) Handle ¶
func (fn GetQuotasHandlerFunc) Handle(params GetQuotasParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetQuotasNotFound ¶
GetQuotasNotFound Not Found
swagger:response getQuotasNotFound
func NewGetQuotasNotFound ¶
func NewGetQuotasNotFound() *GetQuotasNotFound
NewGetQuotasNotFound creates GetQuotasNotFound with default headers values
func (*GetQuotasNotFound) SetPayload ¶
func (o *GetQuotasNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get quotas not found response
func (*GetQuotasNotFound) WithPayload ¶
func (o *GetQuotasNotFound) WithPayload(payload *models.Error) *GetQuotasNotFound
WithPayload adds the payload to the get quotas not found response
func (*GetQuotasNotFound) WriteResponse ¶
func (o *GetQuotasNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasOK ¶
type GetQuotasOK struct { /* In: Body */ Payload *GetQuotasOKBody `json:"body,omitempty"` }
GetQuotasOK A JSON array of quotas
swagger:response getQuotasOK
func NewGetQuotasOK ¶
func NewGetQuotasOK() *GetQuotasOK
NewGetQuotasOK creates GetQuotasOK with default headers values
func (*GetQuotasOK) SetPayload ¶
func (o *GetQuotasOK) SetPayload(payload *GetQuotasOKBody)
SetPayload sets the payload to the get quotas o k response
func (*GetQuotasOK) WithPayload ¶
func (o *GetQuotasOK) WithPayload(payload *GetQuotasOKBody) *GetQuotasOK
WithPayload adds the payload to the get quotas o k response
func (*GetQuotasOK) WriteResponse ¶
func (o *GetQuotasOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasOKBody ¶
type GetQuotasOKBody struct { // links Links []*models.Link `json:"links,omitempty"` // quotas Quotas []*GetQuotasOKBodyQuotasItems0 `json:"quotas"` }
GetQuotasOKBody get quotas o k body
swagger:model GetQuotasOKBody
func (*GetQuotasOKBody) ContextValidate ¶
ContextValidate validate this get quotas o k body based on the context it is used
func (*GetQuotasOKBody) MarshalBinary ¶
func (o *GetQuotasOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetQuotasOKBody) UnmarshalBinary ¶
func (o *GetQuotasOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetQuotasOKBodyQuotasItems0 ¶
type GetQuotasOKBodyQuotasItems0 struct { models.Quota models.QuotaUsage // project id ProjectID models.Project `json:"project_id"` }
GetQuotasOKBodyQuotasItems0 get quotas o k body quotas items0
swagger:model GetQuotasOKBodyQuotasItems0
func (*GetQuotasOKBodyQuotasItems0) ContextValidate ¶
func (o *GetQuotasOKBodyQuotasItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get quotas o k body quotas items0 based on the context it is used
func (*GetQuotasOKBodyQuotasItems0) MarshalBinary ¶
func (o *GetQuotasOKBodyQuotasItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetQuotasOKBodyQuotasItems0) MarshalJSON ¶
func (o GetQuotasOKBodyQuotasItems0) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetQuotasOKBodyQuotasItems0) UnmarshalBinary ¶
func (o *GetQuotasOKBodyQuotasItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetQuotasOKBodyQuotasItems0) UnmarshalJSON ¶
func (o *GetQuotasOKBodyQuotasItems0) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetQuotasParams ¶
type GetQuotasParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The ID of the project to query. Max Length: 32 Min Length: 32 In: query */ ProjectID *string }
GetQuotasParams contains all the bound params for the get quotas operation typically these are obtained from a http.Request
swagger:parameters GetQuotas
func NewGetQuotasParams ¶
func NewGetQuotasParams() GetQuotasParams
NewGetQuotasParams creates a new GetQuotasParams object
There are no default values defined in the spec.
func (*GetQuotasParams) BindRequest ¶
func (o *GetQuotasParams) 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 NewGetQuotasParams() beforehand.
type GetQuotasProjectID ¶
type GetQuotasProjectID struct { Context *middleware.Context Handler GetQuotasProjectIDHandler }
GetQuotasProjectID swagger:route GET /quotas/{project_id} Quota getQuotasProjectId
Show Quota detail
func NewGetQuotasProjectID ¶
func NewGetQuotasProjectID(ctx *middleware.Context, handler GetQuotasProjectIDHandler) *GetQuotasProjectID
NewGetQuotasProjectID creates a new http.Handler for the get quotas project ID operation
func (*GetQuotasProjectID) ServeHTTP ¶
func (o *GetQuotasProjectID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetQuotasProjectIDForbidden ¶
type GetQuotasProjectIDForbidden struct { }
GetQuotasProjectIDForbidden Forbidden
swagger:response getQuotasProjectIdForbidden
func NewGetQuotasProjectIDForbidden ¶
func NewGetQuotasProjectIDForbidden() *GetQuotasProjectIDForbidden
NewGetQuotasProjectIDForbidden creates GetQuotasProjectIDForbidden with default headers values
func (*GetQuotasProjectIDForbidden) WriteResponse ¶
func (o *GetQuotasProjectIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasProjectIDHandler ¶
type GetQuotasProjectIDHandler interface {
Handle(GetQuotasProjectIDParams, interface{}) middleware.Responder
}
GetQuotasProjectIDHandler interface for that can handle valid get quotas project ID params
type GetQuotasProjectIDHandlerFunc ¶
type GetQuotasProjectIDHandlerFunc func(GetQuotasProjectIDParams, interface{}) middleware.Responder
GetQuotasProjectIDHandlerFunc turns a function with the right signature into a get quotas project ID handler
func (GetQuotasProjectIDHandlerFunc) Handle ¶
func (fn GetQuotasProjectIDHandlerFunc) Handle(params GetQuotasProjectIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetQuotasProjectIDOK ¶
type GetQuotasProjectIDOK struct { /* In: Body */ Payload *GetQuotasProjectIDOKBody `json:"body,omitempty"` }
GetQuotasProjectIDOK Shows the details of a specific monitor.
swagger:response getQuotasProjectIdOK
func NewGetQuotasProjectIDOK ¶
func NewGetQuotasProjectIDOK() *GetQuotasProjectIDOK
NewGetQuotasProjectIDOK creates GetQuotasProjectIDOK with default headers values
func (*GetQuotasProjectIDOK) SetPayload ¶
func (o *GetQuotasProjectIDOK) SetPayload(payload *GetQuotasProjectIDOKBody)
SetPayload sets the payload to the get quotas project Id o k response
func (*GetQuotasProjectIDOK) WithPayload ¶
func (o *GetQuotasProjectIDOK) WithPayload(payload *GetQuotasProjectIDOKBody) *GetQuotasProjectIDOK
WithPayload adds the payload to the get quotas project Id o k response
func (*GetQuotasProjectIDOK) WriteResponse ¶
func (o *GetQuotasProjectIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasProjectIDOKBody ¶
type GetQuotasProjectIDOKBody struct { models.Quota models.QuotaUsage }
GetQuotasProjectIDOKBody get quotas project ID o k body
swagger:model GetQuotasProjectIDOKBody
func (*GetQuotasProjectIDOKBody) ContextValidate ¶
func (o *GetQuotasProjectIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get quotas project ID o k body based on the context it is used
func (*GetQuotasProjectIDOKBody) MarshalBinary ¶
func (o *GetQuotasProjectIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetQuotasProjectIDOKBody) MarshalJSON ¶
func (o GetQuotasProjectIDOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetQuotasProjectIDOKBody) UnmarshalBinary ¶
func (o *GetQuotasProjectIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetQuotasProjectIDOKBody) UnmarshalJSON ¶
func (o *GetQuotasProjectIDOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetQuotasProjectIDParams ¶
type GetQuotasProjectIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The ID of the project to query. Required: true In: path */ ProjectID string }
GetQuotasProjectIDParams contains all the bound params for the get quotas project ID operation typically these are obtained from a http.Request
swagger:parameters GetQuotasProjectID
func NewGetQuotasProjectIDParams ¶
func NewGetQuotasProjectIDParams() GetQuotasProjectIDParams
NewGetQuotasProjectIDParams creates a new GetQuotasProjectIDParams object
There are no default values defined in the spec.
func (*GetQuotasProjectIDParams) BindRequest ¶
func (o *GetQuotasProjectIDParams) 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 NewGetQuotasProjectIDParams() beforehand.
type GetQuotasProjectIDURL ¶
type GetQuotasProjectIDURL struct { ProjectID string // contains filtered or unexported fields }
GetQuotasProjectIDURL generates an URL for the get quotas project ID operation
func (*GetQuotasProjectIDURL) Build ¶
func (o *GetQuotasProjectIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetQuotasProjectIDURL) BuildFull ¶
func (o *GetQuotasProjectIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetQuotasProjectIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetQuotasProjectIDURL) SetBasePath ¶
func (o *GetQuotasProjectIDURL) 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 (*GetQuotasProjectIDURL) String ¶
func (o *GetQuotasProjectIDURL) String() string
String returns the string representation of the path with query string
func (*GetQuotasProjectIDURL) StringFull ¶
func (o *GetQuotasProjectIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetQuotasProjectIDURL) WithBasePath ¶
func (o *GetQuotasProjectIDURL) WithBasePath(bp string) *GetQuotasProjectIDURL
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 GetQuotasProjectIDUnauthorized ¶
GetQuotasProjectIDUnauthorized Unauthorized
swagger:response getQuotasProjectIdUnauthorized
func NewGetQuotasProjectIDUnauthorized ¶
func NewGetQuotasProjectIDUnauthorized() *GetQuotasProjectIDUnauthorized
NewGetQuotasProjectIDUnauthorized creates GetQuotasProjectIDUnauthorized with default headers values
func (*GetQuotasProjectIDUnauthorized) SetPayload ¶
func (o *GetQuotasProjectIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get quotas project Id unauthorized response
func (*GetQuotasProjectIDUnauthorized) WithPayload ¶
func (o *GetQuotasProjectIDUnauthorized) WithPayload(payload *models.Error) *GetQuotasProjectIDUnauthorized
WithPayload adds the payload to the get quotas project Id unauthorized response
func (*GetQuotasProjectIDUnauthorized) WriteResponse ¶
func (o *GetQuotasProjectIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasProjectIDUnprocessableEntity ¶
type GetQuotasProjectIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetQuotasProjectIDUnprocessableEntity Unprocessable Content
swagger:response getQuotasProjectIdUnprocessableEntity
func NewGetQuotasProjectIDUnprocessableEntity ¶
func NewGetQuotasProjectIDUnprocessableEntity() *GetQuotasProjectIDUnprocessableEntity
NewGetQuotasProjectIDUnprocessableEntity creates GetQuotasProjectIDUnprocessableEntity with default headers values
func (*GetQuotasProjectIDUnprocessableEntity) SetPayload ¶
func (o *GetQuotasProjectIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the get quotas project Id unprocessable entity response
func (*GetQuotasProjectIDUnprocessableEntity) WithPayload ¶
func (o *GetQuotasProjectIDUnprocessableEntity) WithPayload(payload *models.Error) *GetQuotasProjectIDUnprocessableEntity
WithPayload adds the payload to the get quotas project Id unprocessable entity response
func (*GetQuotasProjectIDUnprocessableEntity) WriteResponse ¶
func (o *GetQuotasProjectIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasURL ¶
type GetQuotasURL struct { ProjectID *string // contains filtered or unexported fields }
GetQuotasURL generates an URL for the get quotas operation
func (*GetQuotasURL) Build ¶
func (o *GetQuotasURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetQuotasURL) BuildFull ¶
func (o *GetQuotasURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetQuotasURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetQuotasURL) SetBasePath ¶
func (o *GetQuotasURL) 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 (*GetQuotasURL) String ¶
func (o *GetQuotasURL) String() string
String returns the string representation of the path with query string
func (*GetQuotasURL) StringFull ¶
func (o *GetQuotasURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetQuotasURL) WithBasePath ¶
func (o *GetQuotasURL) WithBasePath(bp string) *GetQuotasURL
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 GetQuotasUnauthorized ¶
GetQuotasUnauthorized Unauthorized
swagger:response getQuotasUnauthorized
func NewGetQuotasUnauthorized ¶
func NewGetQuotasUnauthorized() *GetQuotasUnauthorized
NewGetQuotasUnauthorized creates GetQuotasUnauthorized with default headers values
func (*GetQuotasUnauthorized) SetPayload ¶
func (o *GetQuotasUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get quotas unauthorized response
func (*GetQuotasUnauthorized) WithPayload ¶
func (o *GetQuotasUnauthorized) WithPayload(payload *models.Error) *GetQuotasUnauthorized
WithPayload adds the payload to the get quotas unauthorized response
func (*GetQuotasUnauthorized) WriteResponse ¶
func (o *GetQuotasUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetQuotasUnprocessableEntity ¶
type GetQuotasUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetQuotasUnprocessableEntity Unprocessable Content
swagger:response getQuotasUnprocessableEntity
func NewGetQuotasUnprocessableEntity ¶
func NewGetQuotasUnprocessableEntity() *GetQuotasUnprocessableEntity
NewGetQuotasUnprocessableEntity creates GetQuotasUnprocessableEntity with default headers values
func (*GetQuotasUnprocessableEntity) SetPayload ¶
func (o *GetQuotasUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the get quotas unprocessable entity response
func (*GetQuotasUnprocessableEntity) WithPayload ¶
func (o *GetQuotasUnprocessableEntity) WithPayload(payload *models.Error) *GetQuotasUnprocessableEntity
WithPayload adds the payload to the get quotas unprocessable entity response
func (*GetQuotasUnprocessableEntity) WriteResponse ¶
func (o *GetQuotasUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutQuotasProjectID ¶
type PutQuotasProjectID struct { Context *middleware.Context Handler PutQuotasProjectIDHandler }
PutQuotasProjectID swagger:route PUT /quotas/{project_id} Quota putQuotasProjectId
Update Quota
func NewPutQuotasProjectID ¶
func NewPutQuotasProjectID(ctx *middleware.Context, handler PutQuotasProjectIDHandler) *PutQuotasProjectID
NewPutQuotasProjectID creates a new http.Handler for the put quotas project ID operation
func (*PutQuotasProjectID) ServeHTTP ¶
func (o *PutQuotasProjectID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutQuotasProjectIDForbidden ¶
type PutQuotasProjectIDForbidden struct { }
PutQuotasProjectIDForbidden Forbidden
swagger:response putQuotasProjectIdForbidden
func NewPutQuotasProjectIDForbidden ¶
func NewPutQuotasProjectIDForbidden() *PutQuotasProjectIDForbidden
NewPutQuotasProjectIDForbidden creates PutQuotasProjectIDForbidden with default headers values
func (*PutQuotasProjectIDForbidden) WriteResponse ¶
func (o *PutQuotasProjectIDForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutQuotasProjectIDHandler ¶
type PutQuotasProjectIDHandler interface {
Handle(PutQuotasProjectIDParams, interface{}) middleware.Responder
}
PutQuotasProjectIDHandler interface for that can handle valid put quotas project ID params
type PutQuotasProjectIDHandlerFunc ¶
type PutQuotasProjectIDHandlerFunc func(PutQuotasProjectIDParams, interface{}) middleware.Responder
PutQuotasProjectIDHandlerFunc turns a function with the right signature into a put quotas project ID handler
func (PutQuotasProjectIDHandlerFunc) Handle ¶
func (fn PutQuotasProjectIDHandlerFunc) Handle(params PutQuotasProjectIDParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PutQuotasProjectIDNotFound ¶
type PutQuotasProjectIDNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutQuotasProjectIDNotFound Not found
swagger:response putQuotasProjectIdNotFound
func NewPutQuotasProjectIDNotFound ¶
func NewPutQuotasProjectIDNotFound() *PutQuotasProjectIDNotFound
NewPutQuotasProjectIDNotFound creates PutQuotasProjectIDNotFound with default headers values
func (*PutQuotasProjectIDNotFound) SetPayload ¶
func (o *PutQuotasProjectIDNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the put quotas project Id not found response
func (*PutQuotasProjectIDNotFound) WithPayload ¶
func (o *PutQuotasProjectIDNotFound) WithPayload(payload *models.Error) *PutQuotasProjectIDNotFound
WithPayload adds the payload to the put quotas project Id not found response
func (*PutQuotasProjectIDNotFound) WriteResponse ¶
func (o *PutQuotasProjectIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutQuotasProjectIDOK ¶
PutQuotasProjectIDOK Updated quota for a project.
swagger:response putQuotasProjectIdOK
func NewPutQuotasProjectIDOK ¶
func NewPutQuotasProjectIDOK() *PutQuotasProjectIDOK
NewPutQuotasProjectIDOK creates PutQuotasProjectIDOK with default headers values
func (*PutQuotasProjectIDOK) SetPayload ¶
func (o *PutQuotasProjectIDOK) SetPayload(payload *models.Quota)
SetPayload sets the payload to the put quotas project Id o k response
func (*PutQuotasProjectIDOK) WithPayload ¶
func (o *PutQuotasProjectIDOK) WithPayload(payload *models.Quota) *PutQuotasProjectIDOK
WithPayload adds the payload to the put quotas project Id o k response
func (*PutQuotasProjectIDOK) WriteResponse ¶
func (o *PutQuotasProjectIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutQuotasProjectIDParams ¶
type PutQuotasProjectIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.Quota /*The ID of the project to query. Required: true In: path */ ProjectID string }
PutQuotasProjectIDParams contains all the bound params for the put quotas project ID operation typically these are obtained from a http.Request
swagger:parameters PutQuotasProjectID
func NewPutQuotasProjectIDParams ¶
func NewPutQuotasProjectIDParams() PutQuotasProjectIDParams
NewPutQuotasProjectIDParams creates a new PutQuotasProjectIDParams object
There are no default values defined in the spec.
func (*PutQuotasProjectIDParams) BindRequest ¶
func (o *PutQuotasProjectIDParams) 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 NewPutQuotasProjectIDParams() beforehand.
type PutQuotasProjectIDURL ¶
type PutQuotasProjectIDURL struct { ProjectID string // contains filtered or unexported fields }
PutQuotasProjectIDURL generates an URL for the put quotas project ID operation
func (*PutQuotasProjectIDURL) Build ¶
func (o *PutQuotasProjectIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutQuotasProjectIDURL) BuildFull ¶
func (o *PutQuotasProjectIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutQuotasProjectIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutQuotasProjectIDURL) SetBasePath ¶
func (o *PutQuotasProjectIDURL) 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 (*PutQuotasProjectIDURL) String ¶
func (o *PutQuotasProjectIDURL) String() string
String returns the string representation of the path with query string
func (*PutQuotasProjectIDURL) StringFull ¶
func (o *PutQuotasProjectIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutQuotasProjectIDURL) WithBasePath ¶
func (o *PutQuotasProjectIDURL) WithBasePath(bp string) *PutQuotasProjectIDURL
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 PutQuotasProjectIDUnauthorized ¶
PutQuotasProjectIDUnauthorized Unauthorized
swagger:response putQuotasProjectIdUnauthorized
func NewPutQuotasProjectIDUnauthorized ¶
func NewPutQuotasProjectIDUnauthorized() *PutQuotasProjectIDUnauthorized
NewPutQuotasProjectIDUnauthorized creates PutQuotasProjectIDUnauthorized with default headers values
func (*PutQuotasProjectIDUnauthorized) SetPayload ¶
func (o *PutQuotasProjectIDUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the put quotas project Id unauthorized response
func (*PutQuotasProjectIDUnauthorized) WithPayload ¶
func (o *PutQuotasProjectIDUnauthorized) WithPayload(payload *models.Error) *PutQuotasProjectIDUnauthorized
WithPayload adds the payload to the put quotas project Id unauthorized response
func (*PutQuotasProjectIDUnauthorized) WriteResponse ¶
func (o *PutQuotasProjectIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutQuotasProjectIDUnprocessableEntity ¶
type PutQuotasProjectIDUnprocessableEntity struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PutQuotasProjectIDUnprocessableEntity Unprocessable Content
swagger:response putQuotasProjectIdUnprocessableEntity
func NewPutQuotasProjectIDUnprocessableEntity ¶
func NewPutQuotasProjectIDUnprocessableEntity() *PutQuotasProjectIDUnprocessableEntity
NewPutQuotasProjectIDUnprocessableEntity creates PutQuotasProjectIDUnprocessableEntity with default headers values
func (*PutQuotasProjectIDUnprocessableEntity) SetPayload ¶
func (o *PutQuotasProjectIDUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the put quotas project Id unprocessable entity response
func (*PutQuotasProjectIDUnprocessableEntity) WithPayload ¶
func (o *PutQuotasProjectIDUnprocessableEntity) WithPayload(payload *models.Error) *PutQuotasProjectIDUnprocessableEntity
WithPayload adds the payload to the put quotas project Id unprocessable entity response
func (*PutQuotasProjectIDUnprocessableEntity) WriteResponse ¶
func (o *PutQuotasProjectIDUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- delete_quotas_project_id.go
- delete_quotas_project_id_parameters.go
- delete_quotas_project_id_responses.go
- delete_quotas_project_id_urlbuilder.go
- get_quotas.go
- get_quotas_defaults.go
- get_quotas_defaults_parameters.go
- get_quotas_defaults_responses.go
- get_quotas_defaults_urlbuilder.go
- get_quotas_parameters.go
- get_quotas_project_id.go
- get_quotas_project_id_parameters.go
- get_quotas_project_id_responses.go
- get_quotas_project_id_urlbuilder.go
- get_quotas_responses.go
- get_quotas_urlbuilder.go
- put_quotas_project_id.go
- put_quotas_project_id_parameters.go
- put_quotas_project_id_responses.go
- put_quotas_project_id_urlbuilder.go