quota

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteQuotasProjectIDForbiddenCode int = 403

DeleteQuotasProjectIDForbiddenCode is the HTTP code returned for type DeleteQuotasProjectIDForbidden

View Source
const DeleteQuotasProjectIDNoContentCode int = 204

DeleteQuotasProjectIDNoContentCode is the HTTP code returned for type DeleteQuotasProjectIDNoContent

View Source
const DeleteQuotasProjectIDNotFoundCode int = 404

DeleteQuotasProjectIDNotFoundCode is the HTTP code returned for type DeleteQuotasProjectIDNotFound

View Source
const DeleteQuotasProjectIDUnauthorizedCode int = 401

DeleteQuotasProjectIDUnauthorizedCode is the HTTP code returned for type DeleteQuotasProjectIDUnauthorized

View Source
const DeleteQuotasProjectIDUnprocessableEntityCode int = 422

DeleteQuotasProjectIDUnprocessableEntityCode is the HTTP code returned for type DeleteQuotasProjectIDUnprocessableEntity

View Source
const GetQuotasDefaultsForbiddenCode int = 403

GetQuotasDefaultsForbiddenCode is the HTTP code returned for type GetQuotasDefaultsForbidden

View Source
const GetQuotasDefaultsOKCode int = 200

GetQuotasDefaultsOKCode is the HTTP code returned for type GetQuotasDefaultsOK

View Source
const GetQuotasDefaultsUnauthorizedCode int = 401

GetQuotasDefaultsUnauthorizedCode is the HTTP code returned for type GetQuotasDefaultsUnauthorized

View Source
const GetQuotasDefaultsUnprocessableEntityCode int = 422

GetQuotasDefaultsUnprocessableEntityCode is the HTTP code returned for type GetQuotasDefaultsUnprocessableEntity

View Source
const GetQuotasForbiddenCode int = 403

GetQuotasForbiddenCode is the HTTP code returned for type GetQuotasForbidden

View Source
const GetQuotasNotFoundCode int = 404

GetQuotasNotFoundCode is the HTTP code returned for type GetQuotasNotFound

View Source
const GetQuotasOKCode int = 200

GetQuotasOKCode is the HTTP code returned for type GetQuotasOK

View Source
const GetQuotasProjectIDForbiddenCode int = 403

GetQuotasProjectIDForbiddenCode is the HTTP code returned for type GetQuotasProjectIDForbidden

View Source
const GetQuotasProjectIDOKCode int = 200

GetQuotasProjectIDOKCode is the HTTP code returned for type GetQuotasProjectIDOK

View Source
const GetQuotasProjectIDUnauthorizedCode int = 401

GetQuotasProjectIDUnauthorizedCode is the HTTP code returned for type GetQuotasProjectIDUnauthorized

View Source
const GetQuotasProjectIDUnprocessableEntityCode int = 422

GetQuotasProjectIDUnprocessableEntityCode is the HTTP code returned for type GetQuotasProjectIDUnprocessableEntity

View Source
const GetQuotasUnauthorizedCode int = 401

GetQuotasUnauthorizedCode is the HTTP code returned for type GetQuotasUnauthorized

View Source
const GetQuotasUnprocessableEntityCode int = 422

GetQuotasUnprocessableEntityCode is the HTTP code returned for type GetQuotasUnprocessableEntity

View Source
const PutQuotasProjectIDForbiddenCode int = 403

PutQuotasProjectIDForbiddenCode is the HTTP code returned for type PutQuotasProjectIDForbidden

View Source
const PutQuotasProjectIDNotFoundCode int = 404

PutQuotasProjectIDNotFoundCode is the HTTP code returned for type PutQuotasProjectIDNotFound

View Source
const PutQuotasProjectIDOKCode int = 200

PutQuotasProjectIDOKCode is the HTTP code returned for type PutQuotasProjectIDOK

View Source
const PutQuotasProjectIDUnauthorizedCode int = 401

PutQuotasProjectIDUnauthorizedCode is the HTTP code returned for type PutQuotasProjectIDUnauthorized

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

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

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

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

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

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

type DeleteQuotasProjectIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

WithPayload adds the payload to the delete quotas project Id unprocessable entity response

func (*DeleteQuotasProjectIDUnprocessableEntity) WriteResponse

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

func (*GetQuotas) ServeHTTP

func (o *GetQuotas) ServeHTTP(rw http.ResponseWriter, r *http.Request)

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

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

type GetQuotasDefaultsOKBody struct {

	// quota
	Quota *models.Quota `json:"quota,omitempty"`
}

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

func (*GetQuotasDefaultsOKBody) Validate

func (o *GetQuotasDefaultsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get quotas defaults o k body

type GetQuotasDefaultsParams

type GetQuotasDefaultsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

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

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

type GetQuotasDefaultsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

WithPayload adds the payload to the get quotas defaults unprocessable entity response

func (*GetQuotasDefaultsUnprocessableEntity) WriteResponse

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

type GetQuotasNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

func (o *GetQuotasOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetQuotasOKBody) Validate

func (o *GetQuotasOKBody) Validate(formats strfmt.Registry) error

Validate validates this get quotas o k body

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

func (*GetQuotasOKBodyQuotasItems0) Validate

func (o *GetQuotasOKBodyQuotasItems0) Validate(formats strfmt.Registry) error

Validate validates this get quotas o k body quotas items0

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

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

func (*GetQuotasProjectIDOKBody) Validate

func (o *GetQuotasProjectIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this get quotas project ID o k body

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

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

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

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

type GetQuotasProjectIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

WithPayload adds the payload to the get quotas project Id unprocessable entity response

func (*GetQuotasProjectIDUnprocessableEntity) WriteResponse

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

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

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

type GetQuotasUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

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

type PutQuotasProjectIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.Quota `json:"body,omitempty"`
}

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

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

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

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

type PutQuotasProjectIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

WithPayload adds the payload to the put quotas project Id unprocessable entity response

func (*PutQuotasProjectIDUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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