administrative

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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 GetQuotasDefaultsOKCode int = 200

GetQuotasDefaultsOKCode is the HTTP code returned for type GetQuotasDefaultsOK

View Source
const GetQuotasOKCode int = 200

GetQuotasOKCode is the HTTP code returned for type GetQuotasOK

View Source
const GetQuotasProjectIDNotFoundCode int = 404

GetQuotasProjectIDNotFoundCode is the HTTP code returned for type GetQuotasProjectIDNotFound

View Source
const GetQuotasProjectIDOKCode int = 200

GetQuotasProjectIDOKCode is the HTTP code returned for type GetQuotasProjectIDOK

View Source
const GetServicesOKCode int = 200

GetServicesOKCode is the HTTP code returned for type GetServicesOK

View Source
const PostSyncAcceptedCode int = 202

PostSyncAcceptedCode is the HTTP code returned for type PostSyncAccepted

View Source
const PostSyncDomainIDAcceptedCode int = 202

PostSyncDomainIDAcceptedCode is the HTTP code returned for type PostSyncDomainIDAccepted

View Source
const PutQuotasProjectIDAcceptedCode int = 202

PutQuotasProjectIDAcceptedCode is the HTTP code returned for type PutQuotasProjectIDAccepted

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} Administrative 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 DeleteQuotasProjectIDDefault

type DeleteQuotasProjectIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteQuotasProjectIDDefault Unexpected Error

swagger:response deleteQuotasProjectIdDefault

func NewDeleteQuotasProjectIDDefault

func NewDeleteQuotasProjectIDDefault(code int) *DeleteQuotasProjectIDDefault

NewDeleteQuotasProjectIDDefault creates DeleteQuotasProjectIDDefault with default headers values

func (*DeleteQuotasProjectIDDefault) SetPayload

func (o *DeleteQuotasProjectIDDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete quotas project ID default response

func (*DeleteQuotasProjectIDDefault) SetStatusCode

func (o *DeleteQuotasProjectIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete quotas project ID default response

func (*DeleteQuotasProjectIDDefault) WithPayload

WithPayload adds the payload to the delete quotas project ID default response

func (*DeleteQuotasProjectIDDefault) WithStatusCode

WithStatusCode adds the status to the delete quotas project ID default response

func (*DeleteQuotasProjectIDDefault) WriteResponse

func (o *DeleteQuotasProjectIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteQuotasProjectIDHandler

type DeleteQuotasProjectIDHandler interface {
	Handle(DeleteQuotasProjectIDParams) middleware.Responder
}

DeleteQuotasProjectIDHandler interface for that can handle valid delete quotas project ID params

type DeleteQuotasProjectIDHandlerFunc

type DeleteQuotasProjectIDHandlerFunc func(DeleteQuotasProjectIDParams) middleware.Responder

DeleteQuotasProjectIDHandlerFunc turns a function with the right signature into a delete quotas project ID handler

func (DeleteQuotasProjectIDHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteQuotasProjectIDNoContent

type DeleteQuotasProjectIDNoContent struct {
}

DeleteQuotasProjectIDNoContent Resource successfully reseted.

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 GetQuotas

type GetQuotas struct {
	Context *middleware.Context
	Handler GetQuotasHandler
}
GetQuotas swagger:route GET /quotas Administrative 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 GetQuotasDefault

type GetQuotasDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetQuotasDefault Unexpected Error

swagger:response getQuotasDefault

func NewGetQuotasDefault

func NewGetQuotasDefault(code int) *GetQuotasDefault

NewGetQuotasDefault creates GetQuotasDefault with default headers values

func (*GetQuotasDefault) SetPayload

func (o *GetQuotasDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get quotas default response

func (*GetQuotasDefault) SetStatusCode

func (o *GetQuotasDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get quotas default response

func (*GetQuotasDefault) WithPayload

func (o *GetQuotasDefault) WithPayload(payload *models.Error) *GetQuotasDefault

WithPayload adds the payload to the get quotas default response

func (*GetQuotasDefault) WithStatusCode

func (o *GetQuotasDefault) WithStatusCode(code int) *GetQuotasDefault

WithStatusCode adds the status to the get quotas default response

func (*GetQuotasDefault) WriteResponse

func (o *GetQuotasDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetQuotasDefaults

type GetQuotasDefaults struct {
	Context *middleware.Context
	Handler GetQuotasDefaultsHandler
}
GetQuotasDefaults swagger:route GET /quotas/defaults Administrative 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 GetQuotasDefaultsDefault

type GetQuotasDefaultsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetQuotasDefaultsDefault Unexpected Error

swagger:response getQuotasDefaultsDefault

func NewGetQuotasDefaultsDefault

func NewGetQuotasDefaultsDefault(code int) *GetQuotasDefaultsDefault

NewGetQuotasDefaultsDefault creates GetQuotasDefaultsDefault with default headers values

func (*GetQuotasDefaultsDefault) SetPayload

func (o *GetQuotasDefaultsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get quotas defaults default response

func (*GetQuotasDefaultsDefault) SetStatusCode

func (o *GetQuotasDefaultsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get quotas defaults default response

func (*GetQuotasDefaultsDefault) WithPayload

WithPayload adds the payload to the get quotas defaults default response

func (*GetQuotasDefaultsDefault) WithStatusCode

func (o *GetQuotasDefaultsDefault) WithStatusCode(code int) *GetQuotasDefaultsDefault

WithStatusCode adds the status to the get quotas defaults default response

func (*GetQuotasDefaultsDefault) WriteResponse

func (o *GetQuotasDefaultsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetQuotasDefaultsHandler

type GetQuotasDefaultsHandler interface {
	Handle(GetQuotasDefaultsParams) middleware.Responder
}

GetQuotasDefaultsHandler interface for that can handle valid get quotas defaults params

type GetQuotasDefaultsHandlerFunc

type GetQuotasDefaultsHandlerFunc func(GetQuotasDefaultsParams) middleware.Responder

GetQuotasDefaultsHandlerFunc turns a function with the right signature into a get quotas defaults handler

func (GetQuotasDefaultsHandlerFunc) Handle

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 GetQuotasHandler

type GetQuotasHandler interface {
	Handle(GetQuotasParams) middleware.Responder
}

GetQuotasHandler interface for that can handle valid get quotas params

type GetQuotasHandlerFunc

type GetQuotasHandlerFunc func(GetQuotasParams) middleware.Responder

GetQuotasHandlerFunc turns a function with the right signature into a get quotas handler

func (GetQuotasHandlerFunc) Handle

Handle executing the request and returning a response

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 {

	// 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

	// The ID of the project owning this resource.
	// Example: fa84c217f361441986a220edf9b1e337
	// Max Length: 32
	// Min Length: 32
	ProjectID *string `json:"project_id,omitempty"`
}

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} Administrative 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 GetQuotasProjectIDDefault

type GetQuotasProjectIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetQuotasProjectIDDefault Unexpected Error

swagger:response getQuotasProjectIdDefault

func NewGetQuotasProjectIDDefault

func NewGetQuotasProjectIDDefault(code int) *GetQuotasProjectIDDefault

NewGetQuotasProjectIDDefault creates GetQuotasProjectIDDefault with default headers values

func (*GetQuotasProjectIDDefault) SetPayload

func (o *GetQuotasProjectIDDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get quotas project ID default response

func (*GetQuotasProjectIDDefault) SetStatusCode

func (o *GetQuotasProjectIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get quotas project ID default response

func (*GetQuotasProjectIDDefault) WithPayload

WithPayload adds the payload to the get quotas project ID default response

func (*GetQuotasProjectIDDefault) WithStatusCode

func (o *GetQuotasProjectIDDefault) WithStatusCode(code int) *GetQuotasProjectIDDefault

WithStatusCode adds the status to the get quotas project ID default response

func (*GetQuotasProjectIDDefault) WriteResponse

func (o *GetQuotasProjectIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetQuotasProjectIDHandler

type GetQuotasProjectIDHandler interface {
	Handle(GetQuotasProjectIDParams) middleware.Responder
}

GetQuotasProjectIDHandler interface for that can handle valid get quotas project ID params

type GetQuotasProjectIDHandlerFunc

type GetQuotasProjectIDHandlerFunc func(GetQuotasProjectIDParams) middleware.Responder

GetQuotasProjectIDHandlerFunc turns a function with the right signature into a get quotas project ID handler

func (GetQuotasProjectIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetQuotasProjectIDNotFound

type GetQuotasProjectIDNotFound struct {

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

GetQuotasProjectIDNotFound Not Found

swagger:response getQuotasProjectIdNotFound

func NewGetQuotasProjectIDNotFound

func NewGetQuotasProjectIDNotFound() *GetQuotasProjectIDNotFound

NewGetQuotasProjectIDNotFound creates GetQuotasProjectIDNotFound with default headers values

func (*GetQuotasProjectIDNotFound) SetPayload

func (o *GetQuotasProjectIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get quotas project Id not found response

func (*GetQuotasProjectIDNotFound) WithPayload

WithPayload adds the payload to the get quotas project Id not found response

func (*GetQuotasProjectIDNotFound) WriteResponse

func (o *GetQuotasProjectIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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 {

	// quota
	Quota struct {
		models.Quota

		models.QuotaUsage
	} `json:"quota,omitempty"`
}

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) UnmarshalBinary

func (o *GetQuotasProjectIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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 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 GetServices

type GetServices struct {
	Context *middleware.Context
	Handler GetServicesHandler
}
GetServices swagger:route GET /services Administrative getServices

List Services

func NewGetServices

func NewGetServices(ctx *middleware.Context, handler GetServicesHandler) *GetServices

NewGetServices creates a new http.Handler for the get services operation

func (*GetServices) ServeHTTP

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

type GetServicesDefault

type GetServicesDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetServicesDefault Unexpected Error

swagger:response getServicesDefault

func NewGetServicesDefault

func NewGetServicesDefault(code int) *GetServicesDefault

NewGetServicesDefault creates GetServicesDefault with default headers values

func (*GetServicesDefault) SetPayload

func (o *GetServicesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get services default response

func (*GetServicesDefault) SetStatusCode

func (o *GetServicesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get services default response

func (*GetServicesDefault) WithPayload

func (o *GetServicesDefault) WithPayload(payload *models.Error) *GetServicesDefault

WithPayload adds the payload to the get services default response

func (*GetServicesDefault) WithStatusCode

func (o *GetServicesDefault) WithStatusCode(code int) *GetServicesDefault

WithStatusCode adds the status to the get services default response

func (*GetServicesDefault) WriteResponse

func (o *GetServicesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetServicesHandler

type GetServicesHandler interface {
	Handle(GetServicesParams) middleware.Responder
}

GetServicesHandler interface for that can handle valid get services params

type GetServicesHandlerFunc

type GetServicesHandlerFunc func(GetServicesParams) middleware.Responder

GetServicesHandlerFunc turns a function with the right signature into a get services handler

func (GetServicesHandlerFunc) Handle

Handle executing the request and returning a response

type GetServicesOK

type GetServicesOK struct {

	/*
	  In: Body
	*/
	Payload *GetServicesOKBody `json:"body,omitempty"`
}

GetServicesOK A JSON array of services

swagger:response getServicesOK

func NewGetServicesOK

func NewGetServicesOK() *GetServicesOK

NewGetServicesOK creates GetServicesOK with default headers values

func (*GetServicesOK) SetPayload

func (o *GetServicesOK) SetPayload(payload *GetServicesOKBody)

SetPayload sets the payload to the get services o k response

func (*GetServicesOK) WithPayload

func (o *GetServicesOK) WithPayload(payload *GetServicesOKBody) *GetServicesOK

WithPayload adds the payload to the get services o k response

func (*GetServicesOK) WriteResponse

func (o *GetServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetServicesOKBody

type GetServicesOKBody struct {

	// services
	Services []*models.Service `json:"services"`
}

GetServicesOKBody get services o k body

swagger:model GetServicesOKBody

func (*GetServicesOKBody) ContextValidate

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

ContextValidate validate this get services o k body based on the context it is used

func (*GetServicesOKBody) MarshalBinary

func (o *GetServicesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetServicesOKBody) UnmarshalBinary

func (o *GetServicesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetServicesOKBody) Validate

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

Validate validates this get services o k body

type GetServicesParams

type GetServicesParams struct {

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

GetServicesParams contains all the bound params for the get services operation typically these are obtained from a http.Request

swagger:parameters GetServices

func NewGetServicesParams

func NewGetServicesParams() GetServicesParams

NewGetServicesParams creates a new GetServicesParams object

There are no default values defined in the spec.

func (*GetServicesParams) BindRequest

func (o *GetServicesParams) 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 NewGetServicesParams() beforehand.

type GetServicesURL

type GetServicesURL struct {
	// contains filtered or unexported fields
}

GetServicesURL generates an URL for the get services operation

func (*GetServicesURL) Build

func (o *GetServicesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetServicesURL) BuildFull

func (o *GetServicesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetServicesURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetServicesURL) SetBasePath

func (o *GetServicesURL) 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 (*GetServicesURL) String

func (o *GetServicesURL) String() string

String returns the string representation of the path with query string

func (*GetServicesURL) StringFull

func (o *GetServicesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetServicesURL) WithBasePath

func (o *GetServicesURL) WithBasePath(bp string) *GetServicesURL

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 PostSync

type PostSync struct {
	Context *middleware.Context
	Handler PostSyncHandler
}
PostSync swagger:route POST /sync Administrative postSync

Enqueue a full sync

func NewPostSync

func NewPostSync(ctx *middleware.Context, handler PostSyncHandler) *PostSync

NewPostSync creates a new http.Handler for the post sync operation

func (*PostSync) ServeHTTP

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

type PostSyncAccepted

type PostSyncAccepted struct {
}

PostSyncAccepted Full sync has been enqueued.

swagger:response postSyncAccepted

func NewPostSyncAccepted

func NewPostSyncAccepted() *PostSyncAccepted

NewPostSyncAccepted creates PostSyncAccepted with default headers values

func (*PostSyncAccepted) WriteResponse

func (o *PostSyncAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostSyncBody

type PostSyncBody struct {

	// domains
	// Required: true
	Domains []strfmt.UUID `json:"domains"`
}

PostSyncBody post sync body

swagger:model PostSyncBody

func (*PostSyncBody) ContextValidate

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

ContextValidate validates this post sync body based on context it is used

func (*PostSyncBody) MarshalBinary

func (o *PostSyncBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostSyncBody) UnmarshalBinary

func (o *PostSyncBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostSyncBody) Validate

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

Validate validates this post sync body

type PostSyncDefault

type PostSyncDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostSyncDefault Unexpected Error

swagger:response postSyncDefault

func NewPostSyncDefault

func NewPostSyncDefault(code int) *PostSyncDefault

NewPostSyncDefault creates PostSyncDefault with default headers values

func (*PostSyncDefault) SetPayload

func (o *PostSyncDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the post sync default response

func (*PostSyncDefault) SetStatusCode

func (o *PostSyncDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post sync default response

func (*PostSyncDefault) WithPayload

func (o *PostSyncDefault) WithPayload(payload *models.Error) *PostSyncDefault

WithPayload adds the payload to the post sync default response

func (*PostSyncDefault) WithStatusCode

func (o *PostSyncDefault) WithStatusCode(code int) *PostSyncDefault

WithStatusCode adds the status to the post sync default response

func (*PostSyncDefault) WriteResponse

func (o *PostSyncDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostSyncDomainID

type PostSyncDomainID struct {
	Context *middleware.Context
	Handler PostSyncDomainIDHandler
}
PostSyncDomainID swagger:route POST /sync/{domain_id} Administrative postSyncDomainId

Enqueue a force sync for a specific domain.

func NewPostSyncDomainID

func NewPostSyncDomainID(ctx *middleware.Context, handler PostSyncDomainIDHandler) *PostSyncDomainID

NewPostSyncDomainID creates a new http.Handler for the post sync domain ID operation

func (*PostSyncDomainID) ServeHTTP

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

type PostSyncDomainIDAccepted

type PostSyncDomainIDAccepted struct {
}

PostSyncDomainIDAccepted Full sync has been enqueued.

swagger:response postSyncDomainIdAccepted

func NewPostSyncDomainIDAccepted

func NewPostSyncDomainIDAccepted() *PostSyncDomainIDAccepted

NewPostSyncDomainIDAccepted creates PostSyncDomainIDAccepted with default headers values

func (*PostSyncDomainIDAccepted) WriteResponse

func (o *PostSyncDomainIDAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostSyncDomainIDDefault

type PostSyncDomainIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostSyncDomainIDDefault Unexpected Error

swagger:response postSyncDomainIdDefault

func NewPostSyncDomainIDDefault

func NewPostSyncDomainIDDefault(code int) *PostSyncDomainIDDefault

NewPostSyncDomainIDDefault creates PostSyncDomainIDDefault with default headers values

func (*PostSyncDomainIDDefault) SetPayload

func (o *PostSyncDomainIDDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the post sync domain ID default response

func (*PostSyncDomainIDDefault) SetStatusCode

func (o *PostSyncDomainIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post sync domain ID default response

func (*PostSyncDomainIDDefault) WithPayload

func (o *PostSyncDomainIDDefault) WithPayload(payload *models.Error) *PostSyncDomainIDDefault

WithPayload adds the payload to the post sync domain ID default response

func (*PostSyncDomainIDDefault) WithStatusCode

func (o *PostSyncDomainIDDefault) WithStatusCode(code int) *PostSyncDomainIDDefault

WithStatusCode adds the status to the post sync domain ID default response

func (*PostSyncDomainIDDefault) WriteResponse

func (o *PostSyncDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostSyncDomainIDHandler

type PostSyncDomainIDHandler interface {
	Handle(PostSyncDomainIDParams) middleware.Responder
}

PostSyncDomainIDHandler interface for that can handle valid post sync domain ID params

type PostSyncDomainIDHandlerFunc

type PostSyncDomainIDHandlerFunc func(PostSyncDomainIDParams) middleware.Responder

PostSyncDomainIDHandlerFunc turns a function with the right signature into a post sync domain ID handler

func (PostSyncDomainIDHandlerFunc) Handle

Handle executing the request and returning a response

type PostSyncDomainIDParams

type PostSyncDomainIDParams struct {

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

	/*The UUID of the domain to be synced.
	  Required: true
	  In: path
	*/
	DomainID strfmt.UUID
}

PostSyncDomainIDParams contains all the bound params for the post sync domain ID operation typically these are obtained from a http.Request

swagger:parameters PostSyncDomainID

func NewPostSyncDomainIDParams

func NewPostSyncDomainIDParams() PostSyncDomainIDParams

NewPostSyncDomainIDParams creates a new PostSyncDomainIDParams object

There are no default values defined in the spec.

func (*PostSyncDomainIDParams) BindRequest

func (o *PostSyncDomainIDParams) 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 NewPostSyncDomainIDParams() beforehand.

type PostSyncDomainIDURL

type PostSyncDomainIDURL struct {
	DomainID strfmt.UUID
	// contains filtered or unexported fields
}

PostSyncDomainIDURL generates an URL for the post sync domain ID operation

func (*PostSyncDomainIDURL) Build

func (o *PostSyncDomainIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostSyncDomainIDURL) BuildFull

func (o *PostSyncDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostSyncDomainIDURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*PostSyncDomainIDURL) SetBasePath

func (o *PostSyncDomainIDURL) 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 (*PostSyncDomainIDURL) String

func (o *PostSyncDomainIDURL) String() string

String returns the string representation of the path with query string

func (*PostSyncDomainIDURL) StringFull

func (o *PostSyncDomainIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostSyncDomainIDURL) WithBasePath

func (o *PostSyncDomainIDURL) WithBasePath(bp string) *PostSyncDomainIDURL

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 PostSyncHandler

type PostSyncHandler interface {
	Handle(PostSyncParams) middleware.Responder
}

PostSyncHandler interface for that can handle valid post sync params

type PostSyncHandlerFunc

type PostSyncHandlerFunc func(PostSyncParams) middleware.Responder

PostSyncHandlerFunc turns a function with the right signature into a post sync handler

func (PostSyncHandlerFunc) Handle

Handle executing the request and returning a response

type PostSyncParams

type PostSyncParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Domains PostSyncBody
}

PostSyncParams contains all the bound params for the post sync operation typically these are obtained from a http.Request

swagger:parameters PostSync

func NewPostSyncParams

func NewPostSyncParams() PostSyncParams

NewPostSyncParams creates a new PostSyncParams object

There are no default values defined in the spec.

func (*PostSyncParams) BindRequest

func (o *PostSyncParams) 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 NewPostSyncParams() beforehand.

type PostSyncURL

type PostSyncURL struct {
	// contains filtered or unexported fields
}

PostSyncURL generates an URL for the post sync operation

func (*PostSyncURL) Build

func (o *PostSyncURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostSyncURL) BuildFull

func (o *PostSyncURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostSyncURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*PostSyncURL) SetBasePath

func (o *PostSyncURL) 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 (*PostSyncURL) String

func (o *PostSyncURL) String() string

String returns the string representation of the path with query string

func (*PostSyncURL) StringFull

func (o *PostSyncURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostSyncURL) WithBasePath

func (o *PostSyncURL) WithBasePath(bp string) *PostSyncURL

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 PutQuotasProjectID

type PutQuotasProjectID struct {
	Context *middleware.Context
	Handler PutQuotasProjectIDHandler
}
PutQuotasProjectID swagger:route PUT /quotas/{project_id} Administrative 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 PutQuotasProjectIDAccepted

type PutQuotasProjectIDAccepted struct {

	/*
	  In: Body
	*/
	Payload *PutQuotasProjectIDAcceptedBody `json:"body,omitempty"`
}

PutQuotasProjectIDAccepted Updated quota for a project.

swagger:response putQuotasProjectIdAccepted

func NewPutQuotasProjectIDAccepted

func NewPutQuotasProjectIDAccepted() *PutQuotasProjectIDAccepted

NewPutQuotasProjectIDAccepted creates PutQuotasProjectIDAccepted with default headers values

func (*PutQuotasProjectIDAccepted) SetPayload

SetPayload sets the payload to the put quotas project Id accepted response

func (*PutQuotasProjectIDAccepted) WithPayload

WithPayload adds the payload to the put quotas project Id accepted response

func (*PutQuotasProjectIDAccepted) WriteResponse

func (o *PutQuotasProjectIDAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutQuotasProjectIDAcceptedBody

type PutQuotasProjectIDAcceptedBody struct {

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

PutQuotasProjectIDAcceptedBody put quotas project ID accepted body

swagger:model PutQuotasProjectIDAcceptedBody

func (*PutQuotasProjectIDAcceptedBody) ContextValidate

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

ContextValidate validate this put quotas project ID accepted body based on the context it is used

func (*PutQuotasProjectIDAcceptedBody) MarshalBinary

func (o *PutQuotasProjectIDAcceptedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutQuotasProjectIDAcceptedBody) UnmarshalBinary

func (o *PutQuotasProjectIDAcceptedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutQuotasProjectIDAcceptedBody) Validate

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

Validate validates this put quotas project ID accepted body

type PutQuotasProjectIDBody

type PutQuotasProjectIDBody struct {

	// quota
	// Required: true
	Quota *models.Quota `json:"quota"`
}

PutQuotasProjectIDBody put quotas project ID body

swagger:model PutQuotasProjectIDBody

func (*PutQuotasProjectIDBody) ContextValidate

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

ContextValidate validate this put quotas project ID body based on the context it is used

func (*PutQuotasProjectIDBody) MarshalBinary

func (o *PutQuotasProjectIDBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutQuotasProjectIDBody) UnmarshalBinary

func (o *PutQuotasProjectIDBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutQuotasProjectIDBody) Validate

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

Validate validates this put quotas project ID body

type PutQuotasProjectIDDefault

type PutQuotasProjectIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PutQuotasProjectIDDefault Unexpected Error

swagger:response putQuotasProjectIdDefault

func NewPutQuotasProjectIDDefault

func NewPutQuotasProjectIDDefault(code int) *PutQuotasProjectIDDefault

NewPutQuotasProjectIDDefault creates PutQuotasProjectIDDefault with default headers values

func (*PutQuotasProjectIDDefault) SetPayload

func (o *PutQuotasProjectIDDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the put quotas project ID default response

func (*PutQuotasProjectIDDefault) SetStatusCode

func (o *PutQuotasProjectIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put quotas project ID default response

func (*PutQuotasProjectIDDefault) WithPayload

WithPayload adds the payload to the put quotas project ID default response

func (*PutQuotasProjectIDDefault) WithStatusCode

func (o *PutQuotasProjectIDDefault) WithStatusCode(code int) *PutQuotasProjectIDDefault

WithStatusCode adds the status to the put quotas project ID default response

func (*PutQuotasProjectIDDefault) WriteResponse

func (o *PutQuotasProjectIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutQuotasProjectIDHandler

type PutQuotasProjectIDHandler interface {
	Handle(PutQuotasProjectIDParams) middleware.Responder
}

PutQuotasProjectIDHandler interface for that can handle valid put quotas project ID params

type PutQuotasProjectIDHandlerFunc

type PutQuotasProjectIDHandlerFunc func(PutQuotasProjectIDParams) middleware.Responder

PutQuotasProjectIDHandlerFunc turns a function with the right signature into a put quotas project ID handler

func (PutQuotasProjectIDHandlerFunc) Handle

Handle executing the request and returning a response

type PutQuotasProjectIDParams

type PutQuotasProjectIDParams struct {

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

	/*The ID of the project to query.
	  Required: true
	  In: path
	*/
	ProjectID string
	/*
	  Required: true
	  In: body
	*/
	Quota PutQuotasProjectIDBody
}

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

Jump to

Keyboard shortcuts

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